]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
a11df816996a459dbd49857af7adf1121509fa10
[thirdparty/glibc.git] / ChangeLog
1 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2
3 * debug/warning-nop.c: Add used atrribute.
4
5 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6
7 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8
9 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
12
13 2014-12-10 Joseph Myers <joseph@codesourcery.com>
14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 [BZ #17634]
17 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18 Undefine after defining function. Define as weak alias of
19 __wcschr. Use libc_hidden_weak.
20 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
21 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22 (libc_hidden_def): Also define __GI___wcschr alias.
23 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24 __wcschr and define as weak alias of __wcschr.
25 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26 __wcschr.
27 [!WCSCHR] (DEFAULT_WCSCHR): Define.
28 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
30 libc_hidden_weak. Do not use libc_hidden_def.
31 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
33 __GI___wcschr alias.
34 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35 [IS_IN (libc)] (wcschr): Define as macro expanding to
36 __redirect_wcschr.
37 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
38 [IS_IN (libc)] (__wcschr_power6): Likewise.
39 [IS_IN (libc)] (__wcschr_power7): Likewise.
40 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
41 instead of wcschr.
42 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
43 __libc_wcschr.
44 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
45 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
46 __wcschr and define as weak alias of __wcschr. Use
47 libc_hidden_builtin_def.
48 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
49 as weak alias of __wcschr. Use libc_hidden_weak.
50 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
51 wcschr.
52 * time/era.c (_nl_init_era_entries): Likewise.
53 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
54 variable.
55 (test-xfail-XPG3/time.h/linknamespace): Likewise.
56 (test-xfail-XPG4/time.h/linknamespace): Likewise.
57
58 2014-12-10 Joseph Myers <joseph@codesourcery.com>
59
60 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
61 format for long int variable.
62
63 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
64
65 [BZ #10672]
66 * manual/search.texi: (Array Sort Function): Remove claim how to make
67 qsort stable.
68
69 2014-12-10 Andreas Schwab <schwab@suse.de>
70
71 [BZ #12847]
72 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
73 user-controlled locks.
74
75 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
76
77 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
78 register.
79
80 2014-12-10 Joseph Myers <joseph@codesourcery.com>
81
82 * configure.ac (--disable-werror): New configure option.
83 (enable_werror): New AC_SUBST.
84 * configure: Regenerated.
85 * config.make.in (enable-werror): New variable.
86 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
87 -Wno-error=undef.
88 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
89 * manual/install.texi (Configuring and compiling): Document
90 --disable-werror.
91 * INSTALL: Regenerated.
92 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
93 (CFLAGS-tst-chk2.c): Likewise.
94 (CFLAGS-tst-chk3.c): Likewise.
95 (CFLAGS-tst-chk4.cc): Likewise.
96 (CFLAGS-tst-chk5.cc): Likewise.
97 (CFLAGS-tst-chk6.cc): Likewise.
98 (CFLAGS-tst-lfschk1.c): Likewise.
99 (CFLAGS-tst-lfschk2.c): Likewise.
100 (CFLAGS-tst-lfschk3.c): Likewise.
101 (CFLAGS-tst-lfschk4.cc): Likewise.
102 (CFLAGS-tst-lfschk5.cc): Likewise.
103 (CFLAGS-tst-lfschk6.cc): Likewise.
104
105 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
106 (main): Disable -Wdeprecated-declarations around calls to
107 register_printf_function.
108
109 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
110 (do_test): Disable -Wdiv-by-zero around some calls to
111 fwrite_unlocked and fread_unlocked.
112
113 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
114 (DIAG_POP_NEEDS_COMMENT): Likewise.
115 (_DIAG_STR1): Likewise.
116 (_DIAG_STR): Likewise.
117 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
118 * stdio-common/bug21.c: Include <libc-internal.h>.
119 (do_test): Disable -Wformat around call to sscanf.
120 * stdio-common/scanf14.c: Include <libc-internal.h>.
121 (main): Disable -Wformat around some calls to scanf functions.
122
123 2014-12-09 Torvald Riegel <triegel@redhat.com>
124
125 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
126
127 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
128
129 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
130 stack variable alignment.
131
132 2014-12-06 Joseph Myers <joseph@codesourcery.com>
133
134 [BZ #17682]
135 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
136 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
137 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
138 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
139 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
140 __getrlimit instead of getrlimit.
141 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
142 __gettimeofday instead of gettimeofday.
143 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
144 Likewise.
145 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
146 Likewise.
147 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
148 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
149 Remove variable.
150 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
151 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
152
153 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154
155 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
156 for wide-character tests.
157
158 2014-12-04 Roland McGrath <roland@hack.frob.com>
159
160 * io/openat64.c: #include <libc-internal.h>
161 (__openat64): Prototypify. Use ignore_value on MODE.
162 * io/openat.c: Likewise.
163 * misc/reboot.c: #include <libc-internal.h>
164 (reboot): Prototypify. Use ignore_value on HOWTO.
165 * misc/ptrace.c: #include <libc-internal.h>
166 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
167
168 2014-12-04 Joseph Myers <joseph@codesourcery.com>
169
170 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
171 XPG4, UNIX98 and XOPEN2K.
172 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
173 Remove variable.
174 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
175
176 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
177
178 * libio/fileops.c: Use ISO C style for function definitions.
179 * libio/iofopen.c: Likewise.
180 * libio/wfileops.c: Likewise.
181
182 [BZ #17653]
183 * libio/fileops.c (_IO_new_file_underflow): Unset cached
184 offset on EOF.
185 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
186 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
187 (fgets_func): Function pointer to fgets and fgetws.
188 (do_ftell_test): Add test to verify ftell value after read
189 EOF.
190 (do_test): Set fgets_func.
191
192 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
193 O_TRUNC flag for w and w+ modes.
194 (do_rewind_test): Likewise.
195 (do_ftell_test): Likewise.
196 (do_write_test): Likewise.
197
198 [BZ #17647]
199 * libio/fileops.c (do_ftell): Seek only when there are
200 unflushed writes.
201 * libio/wfileops.c (do_ftell_wide): Likewise.
202 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
203 test case.
204 (do_one_test): Call it.
205
206 2014-12-03 Joseph Myers <joseph@codesourcery.com>
207
208 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
209 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
210 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
211 Remove variable.
212 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
213 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
214 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
215
216 2014-12-02 Joseph Myers <joseph@codesourcery.com>
217
218 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
219 Remove variable.
220 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
221
222 [BZ #17668]
223 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
224 as weak alias of __getifaddrs. Use libc_hidden_weak.
225 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
226 __freeifaddrs. Use libc_hidden_weak.
227 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
228 define as weak alias of __getifaddrs. Use libc_hidden_weak.
229 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
230 __freeifaddrs. Use libc_hidden_weak.
231 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
232 __getifaddrs and define as weak alias of __getifaddrs. Use
233 libc_hidden_weak.
234 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
235 __freeifaddrs. Use libc_hidden_weak.
236 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
237 Remove variable.
238 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
239 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
240
241 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
242
243 [BZ #17601]
244 * sysdeps/mips/start.S (__start): Use indirect jump to call
245 __libc_start_main.
246
247 2014-12-02 Joseph Myers <joseph@codesourcery.com>
248
249 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
250
251 * nptl/tst-mutex1.c: Include <stdbool.h>.
252 [!ATTR] (ATTR_NULL): New macro.
253 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
254 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
255 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
256
257 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
258 to char *.
259
260 [BZ #17665]
261 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
262 Change conditional to [__USE_MISC].
263
264 [BZ #17664]
265 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
266 fgets_unlocked.
267 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
268 __fgets_unlocked.
269 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
270 fgets_unlocked.
271 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
272 Remove variable.
273 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
274 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
275 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
276 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
277 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
278 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
279 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
280 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
281 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
282
283 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
284
285 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
286
287 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
288 Remove strpbrk objects.
289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
290 (__libc_ifunc_impl_list): Remove strpbrk implementation.
291 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
292 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
293 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
294 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
295
296 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
297 Remove strcspn objects.
298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
299 (__libc_ifunc_impl_list): Remove strcspn implementation.
300 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
301 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
302 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
303 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
304
305 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
306 Remove strspn objetcs.
307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
308 (__libc_ifunc_impl_list): Remove strspn implementation.
309 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
310 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
311 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
312 * sysdeps/powerpc/powerpc64/strspn.S: New file.
313
314 2014-12-01 James Lemke <jwlemke@codesourcery.com>
315
316 [BZ #17581]
317 * malloc/hooks.c
318 (mem2mem_check): Add a terminator to the chain of checking blocks.
319 (malloc_check_get_size): Use it here.
320 (mem2chunk_check): Ditto.
321
322 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
323
324 * sysdeps/powerpc/powerpc64/strtok.S: New file.
325 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
326
327 2014-11-29 Carlos O'Donell <carlos@redhat.com>
328
329 * bits/ioctl-types.h: Indent preprocessor directives correctly.
330
331 * nptl/nptl-init.c: Include libc-internal.h.
332 (__pthread_initialize_minimal_internal): Use ROUND_UP.
333
334 * elf/ldconfig.c (search_dir): Expand comment.
335
336 2014-11-29 Joseph Myers <joseph@codesourcery.com>
337
338 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
339 variable.
340 (linknamespace-symlist-stdlibs-tests): Likewise.
341 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
342 instead of $(objpfx)symlist-stdlibs.
343 (linknamespace-libs-isoc): New variable.
344 (linknamespace-libs): Use $(linknamespace-libs-isoc).
345 (linknamespace-libs-ISO): New variable.
346 (linknamespace-libs-ISO99): Likewise.
347 (linknamespace-libs-ISO11): Likewise.
348 (linknamespace-libs-XPG3): Likewise.
349 (linknamespace-libs-XPG4): Likewise.
350 (linknamespace-libs-POSIX): Likewise.
351 (linknamespace-libs-UNIX98): Likewise.
352 (linknamespace-libs-XOPEN2K): Likewise.
353 (linknamespace-libs-POSIX2008): Likewise.
354 (linknamespace-libs-XOPEN2K8): Likewise.
355 ($(objpfx)symlist-stdlibs): Replace by
356 $(linknamespace-symlist-stdlibs-tests). Use
357 $(linknamespace-libs-$*) as set of libraries.
358 ($(linknamespace-header-tests)): Update dependencies. Use
359 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
360 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
361 * conform/linknamespace.pl: Remove comment about considering
362 definitions of symbols from irrelevant libraries.
363
364 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
365
366 [BZ #13862]
367 * elf/dl-tls.c: Include <atomic.h>.
368 (oom): Remove #ifdef SHARED/#endif.
369 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
370 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
371 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
372 big enough.
373 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
374 * nptl/Makefile (tests): Add tst-stack4.
375 (modules-names): Add tst-stack4mod.
376 ($(objpfx)tst-stack4): New.
377 (tst-stack4mod.sos): Likewise.
378 ($(objpfx)tst-stack4.out): Likewise.
379 ($(tst-stack4mod.sos)): Likewise.
380 (clean): Likewise.
381 * nptl/tst-stack4.c: New file.
382 * nptl/tst-stack4mod.c: Likewise.
383
384 2014-11-27 J. Brown <jb999@gmx.de>
385
386 * sysdeps/x86/bits/string.h: Add recent CPUs.
387
388 2014-11-27 Joseph Myers <joseph@codesourcery.com>
389
390 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
391 sigblock.
392
393 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
394 feof.
395
396 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
397 variable.
398
399 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
400
401 * nscd/connections.c: Include libc-internal.h because of macro
402 usage ignore_value.
403
404 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
405
406 * string/bits/string3.h (__warn_memset_zero_len): Don't
407 declare for gcc newer than 5.0.
408 (memset): Don't test for zero-length __LEN for gcc newer than
409 5.0.
410
411 2014-11-27 Joseph Myers <joseph@codesourcery.com>
412
413 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
414 size_t for %zu format.
415
416 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
417 difference, not %ju.
418
419 2014-11-26 Joseph Myers <joseph@codesourcery.com>
420
421 * include/libc-internal.h (ignore_value): New macro.
422 * nscd/connections.c (restart): Wrap calls to setuid and setgid
423 with ignore_value.
424
425 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
426 definition.
427
428 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
429 pthread_cleanup_push to void *.
430
431 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
432 Undefine.
433
434 [BZ #16619]
435 [BZ #16740]
436 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
437 instead of 1L << 52.
438
439 * libio/bug-rewind.c (do_test): Check fwscanf return values.
440 * libio/bug-rewind2.c (do_test): Likewise.
441
442 * debug/test-stpcpy_chk-ifunc.c: Remove file.
443 * debug/test-strcpy_chk-ifunc.c: Likewise.
444 * wcsmbs/test-wcschr-ifunc.c: Likewise.
445 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
446 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
447 * wcsmbs/test-wcslen-ifunc.c: Likewise.
448 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
449 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
450 * Rules [$(multi-arch) = no] (tests): Do not filter out
451 $(tests-ifunc).
452 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
453 * debug/Makefile (tests-ifunc): Remove variable.
454 (tests): Do not add $(tests-ifunc).
455 * wcsmbs/Makefile (tests-ifunc): Remove variable.
456 (tests): Do not add $(tests-ifunc).
457 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
458 [TEST_IFUNC]: Remove conditionals.
459 * string/test-string.h (TEST_IFUNC): Remove macro.
460 [TEST_IFUNC]: Remove conditionals.
461
462 * string/test-strchr.c [!WIDE] (L): New macro.
463 [WIDE] (L): Likewise.
464 (check1): Use CHAR instead of char. Use L on string and character
465 constants.
466
467 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
468
469 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
470 tests.
471 * sysdeps/powerpc/bits/atomic.h
472 (__arch_atomic_exchange_and_add_32_acq): Add definition.
473 (__arch_atomic_exchange_and_add_32_rel): Likewise.
474 (atomic_exchange_and_add_acq): Likewise.
475 (atomic_exchange_and_add_rel): Likewise.
476 * sysdeps/powerpc/powerpc32/bits/atomic.h
477 (__arch_atomic_exchange_and_add_64_acq): Add definition.
478 (__arch_atomic_exchange_and_add_64_rel): Likewise.
479 * sysdeps/powerpc/powerpc64/bits/atomic.h
480 (__arch_atomic_exchange_and_add_64_acq): Add definition.
481 (__arch_atomic_exchange_and_add_64_rel): Likewise.
482
483 2014-11-26 Torvald Riegel <triegel@redhat.com>
484
485 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
486 Change synchronization of __sched_fifo_min_prio and
487 __sched_fifo_max_prio.
488 * nptl/pthread_mutexattr_getprioceiling.c
489 (pthread_mutexattr_getprioceiling): Likewise.
490 * nptl/pthread_mutexattr_setprioceiling.c
491 (pthread_mutexattr_setprioceiling): Likewise.
492 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
493 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
494 Likewise.
495
496 2014-11-26 Joseph Myers <joseph@codesourcery.com>
497
498 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
499 void.
500
501 2014-11-25 Joseph Myers <joseph@codesourcery.com>
502
503 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
504 third argument const.
505
506 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
507
508 fnmatch: work around GCC compiler warning bug with uninit var
509 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
510 This works around a bug with x86-64 GCC 4.9.2 and earlier
511 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
512 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
513 used uninitialized in this function [-Wmaybe-uninitialized]".
514
515 2014-11-25 Joseph Myers <joseph@codesourcery.com>
516
517 * posix/bug-regex31.c (main): Return RES not 0.
518
519 2014-11-25 Anton Blanchard <anton@samba.org>
520
521 * sysdeps/powerpc/bits/atomic.h
522 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
523
524 2014-11-24 Sterling Augustine <saugustine@google.com>
525
526 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
527
528 2014-11-24 Ryan Cumming <etaoins@gmail.com>
529
530 [BZ #17608]
531 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
532
533 2014-11-24 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #17633]
536 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
537 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
538 variable.
539 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
540 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
541
542 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
543
544 * string/strncpy.c (strncpy): Improve performance by using memset.
545
546 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
547
548 * string/strcpy.c (strcpy):
549 Improve performance by using strlen and memcpy.
550
551 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
552
553 * string/strcoll_l.c (get_next_seq): __always_inline.
554 * string/strcoll_l.c (do_compare): __always_inline.
555
556 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
557
558 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
559 defined.
560 * include/mqueue.h: Likewise.
561 * include/stdlib.h: Likewise.
562
563 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
564 (get_null_defines): Adjust.
565 * sunrpc/Makefile: Adjust comment.
566 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
567 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
568 (CFLAGS-interp.c): Likewise.
569 (CFLAGS-ldconfig.c): Likewise.
570 (CPPFLAGS-.os): Likewise.
571 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
572 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
573 * extra-modules.mk (extra-modules.mk): Likewise.
574 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
575 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
576 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
577 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
578 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
579 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
580 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
581 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
582 * iconvdata/Makefile (CPPFLAGS): Likewise.
583 (cpp-srcs-left): Add libof for all iconvdata routines.
584 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
585 * include/assert.h: Likewise.
586 * include/ctype.h: Likewise.
587 * include/errno.h: Likewise.
588 * include/libc-symbols.h: Likewise.
589 * include/math.h: Likewise.
590 * include/netdb.h: Likewise.
591 * include/resolv.h: Likewise.
592 * include/stdio.h: Likewise.
593 * include/stdlib.h: Likewise.
594 * include/string.h: Likewise.
595 * include/sys/stat.h: Likewise.
596 * include/wctype.h: Likewise.
597 * intl/l10nflist.c: Likewise.
598 * libidn/idn-stub.c: Likewise.
599 * libio/libioP.h: Likewise.
600 * nptl/libc_multiple_threads.c: Likewise.
601 * nptl/pthreadP.h: Likewise.
602 * posix/regex_internal.h: Likewise.
603 * resolv/res_hconf.c: Likewise.
604 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
605 * sysdeps/arm/memmove.S: Likewise.
606 * sysdeps/arm/sysdep.h: Likewise.
607 * sysdeps/generic/_itoa.h: Likewise.
608 * sysdeps/generic/symbol-hacks.h: Likewise.
609 * sysdeps/gnu/errlist.awk: Likewise.
610 * sysdeps/gnu/errlist.c: Likewise.
611 * sysdeps/i386/i586/memcpy.S: Likewise.
612 * sysdeps/i386/i586/memset.S: Likewise.
613 * sysdeps/i386/i686/memcpy.S: Likewise.
614 * sysdeps/i386/i686/memmove.S: Likewise.
615 * sysdeps/i386/i686/mempcpy.S: Likewise.
616 * sysdeps/i386/i686/memset.S: Likewise.
617 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
618 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
619 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
620 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
621 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
622 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
623 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
624 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
625 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
627 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
628 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
629 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
630 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
631 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
632 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
633 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
634 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
635 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
636 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
637 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
638 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
639 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
640 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
641 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
643 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
644 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
645 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
646 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
647 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
648 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
649 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
650 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
651 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
653 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
654 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
655 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
656 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
657 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
658 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
659 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
661 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
662 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
663 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
664 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
665 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
666 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
667 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
668 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
669 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
670 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
671 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
672 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
673 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
674 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
675 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
676 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
677 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
678 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
679 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
680 * sysdeps/nptl/bits/libc-lock.h: Likewise.
681 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
682 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
683 * sysdeps/posix/closedir.c: Likewise.
684 * sysdeps/posix/opendir.c: Likewise.
685 * sysdeps/posix/readdir.c: Likewise.
686 * sysdeps/posix/rewinddir.c: Likewise.
687 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
688 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
689 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
690 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
691 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
692 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
693 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
695 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
698 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
699 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
702 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
703 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
704 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
705 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
707 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
708 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
709 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
710 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
711 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
713 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
714 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
715 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
720 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
722 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
723 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
724 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
725 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
726 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
727 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
729 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
731 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
732 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
733 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
734 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
735 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
736 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
737 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
738 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
739 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
740 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
741 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
742 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
743 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
744 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
745 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
747 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
748 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
749 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
750 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
751 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
752 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
753 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
754 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
755 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
756 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
757 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
758 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
759 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
760 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
761 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
762 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
763 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
764 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
765 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
766 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
767 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
768 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
769 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
771 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
773 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
774 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
775 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
777 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
778 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
779 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
780 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
782 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
783 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
785 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
786 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
788 * sysdeps/unix/alpha/sysdep.S: Likewise.
789 * sysdeps/unix/alpha/sysdep.h: Likewise.
790 * sysdeps/unix/make-syscalls.sh: Likewise.
791 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
792 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
793 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
794 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
795 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
796 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
797 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
798 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
799 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
800 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
801 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
802 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
803 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
804 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
805 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
806 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
807 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
808 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
809 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
810 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
811 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
812 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
813 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
814 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
815 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
816 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
820 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
821 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
825 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
829 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
830 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
831 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
832 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
833 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
834 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
835 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
838 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
841 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
842 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
843 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
844 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
845 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
846 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
847 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
849 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
850 * sysdeps/x86_64/memcpy.S: Likewise.
851 * sysdeps/x86_64/memmove.c: Likewise.
852 * sysdeps/x86_64/memset.S: Likewise.
853 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
855 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
856 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
857 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
860 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
861 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
862 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
863 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
864 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
865 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
866 * sysdeps/x86_64/multiarch/memset.S: Likewise.
867 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
868 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
869 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
870 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
871 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
872 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
873 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
874 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
875 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
876 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
877 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
878 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
879 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
880 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
882 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
883 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
884 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
885 * sysdeps/x86_64/strcmp.S: Likewise.
886
887 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
888
889 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
890 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
891 * elf/rtld-Rules: Likewise.
892 * elf/setup-vdso.h: Likewise.
893 * include/assert.h: Likewise.
894 * include/bits/stdlib-float.h: Likewise.
895 * include/errno.h: Likewise.
896 * include/sys/stat.h: Likewise.
897 * include/unistd.h: Likewise.
898 * sysdeps/aarch64/setjmp.S: Likewise.
899 * sysdeps/alpha/setjmp.S: Likewise.
900 * sysdeps/arm/__longjmp.S: Likewise.
901 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
902 * sysdeps/arm/setjmp.S: Likewise.
903 * sysdeps/arm/sysdep.h: Likewise.
904 * sysdeps/generic/_itoa.h: Likewise.
905 * sysdeps/generic/dl-sysdep.h: Likewise.
906 * sysdeps/generic/ldsodefs.h: Likewise.
907 * sysdeps/i386/dl-tls.h: Likewise.
908 * sysdeps/i386/setjmp.S: Likewise.
909 * sysdeps/m68k/setjmp.c: Likewise.
910 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
911 * sysdeps/mach/hurd/opendir.c: Likewise.
912 * sysdeps/posix/getcwd.c: Likewise.
913 * sysdeps/posix/opendir.c: Likewise.
914 * sysdeps/posix/profil.c: Likewise.
915 * sysdeps/powerpc/dl-procinfo.h: Likewise.
916 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
917 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
918 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
919 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
920 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
921 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
922 * sysdeps/s390/dl-tls.h: Likewise.
923 * sysdeps/s390/s390-32/setjmp.S: Likewise.
924 * sysdeps/s390/s390-64/setjmp.S: Likewise.
925 * sysdeps/sh/sh3/setjmp.S: Likewise.
926 * sysdeps/sh/sh4/setjmp.S: Likewise.
927 * sysdeps/unix/alpha/sysdep.h: Likewise.
928 * sysdeps/unix/arm/sysdep.S: Likewise.
929 * sysdeps/unix/i386/sysdep.S: Likewise.
930 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
931 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
932 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
933 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
935 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
936 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
937 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
938 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
939 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
940 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
941 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
942 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
945 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
948 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
949 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
950 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
953 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
954 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
955 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
957 * sysdeps/unix/x86_64/sysdep.S: Likewise.
958 * sysdeps/x86_64/setjmp.S: Likewise.
959
960 * include/math.h: Use IS_IN instead of IS_IN_libm.
961 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
962 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
963 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
964 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
965 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
966 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
967 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
968 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
970 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
971 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
972 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
973 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
974 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
975 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
976 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
977 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
978 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
979 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
980 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
981 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
982 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
983 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
984 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
985 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
986 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
987 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
988 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
989 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
990 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
991 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
992 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
993 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
995 Likewise.
996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
997 Likewise.
998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
999 Likewise.
1000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1001 Likewise.
1002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1003 Likewise.
1004 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1006 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1007 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1008 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1009 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1015 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1016 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1017 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1018 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1019 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1020 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1021 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1022 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1023 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1024 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1025 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1027 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1028 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1030 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1031
1032 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1033 * nptl/pthreadP.h: Likewise.
1034 * nptl_db/structs.def: Likewise.
1035 * sysdeps/arm/sysdep.h: Likewise.
1036 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1037 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1038 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1039 * sysdeps/unix/alpha/sysdep.h: Likewise.
1040 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1042 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1043 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1044 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1045 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1046 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1047 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1048 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1049 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1050 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1051 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1052 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1053 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1056 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1058 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1061 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1062 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1063 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1064 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1066
1067 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1068 * nptl/pthreadP.h: Likewise.
1069 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1070 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1071 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1072 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1073 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1074 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1075 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1076 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1077 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1078 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1079 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1080 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1086 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1087 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1090 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1091 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1093
1094 * dlfcn/dladdr.c: Use IS_IN.
1095 * dlfcn/dladdr1.c: Likewise.
1096 * dlfcn/dlclose.c: Likewise.
1097 * dlfcn/dlerror.c: Likewise.
1098 * dlfcn/dlinfo.c: Likewise.
1099 * dlfcn/dlmopen.c: Likewise.
1100 * dlfcn/dlopen.c: Likewise.
1101 * dlfcn/dlsym.c: Likewise.
1102 * dlfcn/dlvsym.c: Likewise.
1103
1104 * include/ifaddrs.h: Use IS_IN.
1105 * inet/check_pf.c: Likewise.
1106 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1107 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1108
1109 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1110 IS_IN_ldconfig.
1111 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1112 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1113
1114 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1115 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1116 IS_IN (libc).
1117
1118 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1119
1120 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1121 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1122 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1123 * include/libc-symbols.h (IS_IN_LIB): New macro.
1124 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1125 * include/netdb.h: Likewise.
1126 * include/stap-probe.h: Remove all uses of IN_LIB.
1127
1128 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1129 instead of IN_MODULE.
1130 * include/libc-symbols.h (IN_MODULE): Define using
1131 MODULE_NAME.
1132 (PASTE_NAME, PASTE_NAME1): New macros.
1133 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1134 of IN_LIB.
1135 (STAP_PROBE_ASM): Likewise.
1136
1137 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1138
1139 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1140 __mach_init in dlopened libc.
1141
1142 2014-11-22 Mike Frysinger <vapier@gentoo.org>
1143
1144 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1145 * sysdeps/arm/preconfigure: Regenerate.
1146
1147 2014-11-21 Roland McGrath <roland@hack.frob.com>
1148
1149 * nptl/pthread_create.c (__pthread_create_2_1): Set
1150 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1151 when copying values from IATTR into PD.
1152
1153 2014-11-21 Will Newton <will.newton@linaro.org>
1154 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1155
1156 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1157 Refactor inline-asm. Also add comment.
1158
1159 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1160 ElfW macro instead of hardcoded Elf64 types.
1161 (la_aarch64_gnu_pltenter): Likewise.
1162 * sysdeps/aarch64/dl-machine.h
1163 (elf_machine_runtime_setup): Use ElfW(Addr).
1164
1165 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1166 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1167 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1168 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1169 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1170 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1171 (R_AARCH64_TLS_DTPMOD): This.
1172 (R_AARCH64_TLS_DTPREL64): Rename to ...
1173 (R_AARCH64_TLS_DTPREL): This.
1174 (R_AARCH64_TLS_TPREL64): Rename to ...
1175 (R_AARCH64_TLS_TPREL): This.
1176 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1177 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1178 R_AARCH64_TLS_TPREL64.
1179 (elf_machine_rela): Likewise.
1180
1181 2014-11-21 Torvald Riegel <triegel@redhat.com>
1182
1183 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1184 by setting it to 0. 64b atomics are not supported currently.
1185
1186 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1187
1188 [BZ #16469]
1189 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1190 search domain names.
1191
1192 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1193
1194 [BZ #16469]
1195 * NEWS: Update.
1196 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1197 trailing dot.
1198 * posix/tst-getaddrinfo5.c: New.
1199 * posix/Makefile (tests): Add it.
1200
1201 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1202
1203 [BZ #14498]
1204 * NEWS: Fixed.
1205 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1206 after parsing line but before break_if_match.
1207 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1208 if there is a protocol mismatch.
1209
1210 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1211
1212 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1213 because the potential race is on the user-supplied stream.
1214
1215 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1216
1217 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1218 string literal if not passed a buffer.
1219 * manual/job.texi (ctermid): Update reasoning, note deviation
1220 from posix, suggest mtasurace when not passed a buffer, for
1221 future non-preliminary safety notes.
1222
1223 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1224
1225 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1226 of not passing it a buffer.
1227 Reported by Peng Haitao.
1228
1229 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
1230
1231 * manual/Makefile ($(objpfx)stamp-summary): Require
1232 check-safety.sh to pass.
1233 * manual/check-safety.sh: Wish for verification that every
1234 @deftypefn and @deftypefun is followed by a @safety remark.
1235
1236 2014-11-20 Roland McGrath <roland@hack.frob.com>
1237
1238 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1239
1240 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1241 PTHREAD_CANCEL_ASYNCHRONOUS.
1242 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1243 send SIGCANCEL.
1244
1245 * nptl/default-sched.h: New file.
1246 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1247 * nptl/pthread_create.c: Include it.
1248 (__pthread_create_2_1): Use collect_default_sched instead of making
1249 Linux syscalls here directly.
1250
1251 2014-11-20 Torvald Riegel <triegel@redhat.com>
1252
1253 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1254 __pthread_once): Use C11 atomics.
1255
1256 2014-11-20 Torvald Riegel <triegel@redhat.com>
1257
1258 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1259
1260 2014-11-20 Torvald Riegel <triegel@redhat.com>
1261
1262 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1263 atomic_thread_fence_acquire, atomic_thread_fence_release,
1264 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1265 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1266 atomic_compare_exchange_weak_relaxed,
1267 atomic_compare_exchange_weak_acquire,
1268 atomic_compare_exchange_weak_release,
1269 atomic_exchange_acquire, atomic_exchange_release,
1270 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1271 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1272 atomic_fetch_and_acquire,
1273 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1274
1275 2014-11-20 Torvald Riegel <triegel@redhat.com>
1276
1277 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1278 USE_ATOMIC_COMPILER_BUILTINS): Define.
1279 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1280 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1281 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1282 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1283 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1284 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1285 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1287 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1289 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1290 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1291 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1292 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1293 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1295 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1297 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1298 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1299 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1301 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1303 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1305 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1307 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1309 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1311 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1313 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1314 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1315 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1317 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1319
1320 2014-11-19 Roland McGrath <roland@hack.frob.com>
1321
1322 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1323 the sched_priority value here. It was already checked when the user
1324 called pthread_attr_setschedparam.
1325
1326 * nptl/tst-bad-schedattr.c: New file.
1327 * nptl/Makefile (tests): Add it.
1328
1329 2014-11-19 Carlos O'Donell <carlos@redhat.com>
1330 Florian Weimer <fweimer@redhat.com>
1331 Joseph Myers <joseph@codesourcery.com>
1332 Adam Conrad <adconrad@0c3.net>
1333 Andreas Schwab <schwab@suse.de>
1334 Brooks <bmoses@google.com>
1335
1336 [BZ #17625]
1337 * wordexp-test.c (__dso_handle): Add prototype.
1338 (__register_atfork): Likewise.
1339 (__app_register_atfork): New function.
1340 (registered_forks): New global.
1341 (register_fork): New function.
1342 (test_case): Add 3 new tests for WRDE_CMDSUB.
1343 (main): Call __app_register_atfork.
1344 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1345 fork count is non-zero fail the test.
1346 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1347 is set.
1348 (parse_dollars): Remove check for WRDE_NOCMD.
1349 (parse_dquote): Likewise.
1350
1351 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1352
1353 * Makeconfig (built-modules): List non-library modules to be
1354 built.
1355 (module-cppflags): Include libc-modules.h for
1356 everything except shlib-versions.v.i.
1357 (CPPFLAGS): Use it.
1358 (before-compile): Add libc-modules.h.
1359 ($(common-objpfx)libc-modules.h,
1360 $(common-objpfx)libc-modules.stmp): New targets.
1361 (common-generated): Add libc-modules.h and libc-modules.stmp.
1362 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1363 * include/libc-symbols.h: Don't include libc-modules.h.
1364 * include/libc-modules.h: Remove file.
1365 * scripts/gen-libc-modules.awk: New script to generate
1366 libc-modules.h.
1367 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1368 Depend on libc-modules.stmp.
1369
1370 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1371
1372 * Makeconfig (in-module): Get value of libof set for the
1373 translation unit.
1374 (CPPFLAGS): Use $(in-module).
1375 * Makerules: Don't suffix routine names for nonlib.
1376 * include/libc-modules.h: New file.
1377 * include/libc-symbols.h: Include libc-modules.h
1378 (IS_IN): New macro to replace IS_IN_* macros.
1379 * elf/Makefile: Set libof-* for each routine.
1380 * elf/rtld-Rules: Likewise.
1381 * extra-modules.mk: Likewise.
1382 * iconv/Makefile: Likewise.
1383 * iconvdata/Makefile: Likewise.
1384 * locale/Makefile: Likewise.
1385 * malloc/Makefile: Likewise.
1386 * nss/Makefile: Likewise.
1387 * sysdeps/gnu/Makefile: Likewise.
1388 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1389 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1390 * sysdeps/s390/s390-64/Makefile: Likewise.
1391 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1392 CPPFLAGS for nscd instead of nonlib.
1393
1394 2014-11-18 Roland McGrath <roland@hack.frob.com>
1395
1396 * nptl/createthread.c: New file.
1397
1398 * nptl/createthread.c: Moved ...
1399 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1400
1401 * nptl/createthread.c: Add proper top-line comment.
1402 (do_clone): Folded into ...
1403 (create_thread): ... here. Take new arguments STOPPED_START and
1404 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1405 increment __nptl_threads, do event-reporting logic, do
1406 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1407 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1408 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1409 just send SIGCANCEL.
1410 * nptl/pthread_create.c: Forward-declare create_thread before
1411 including createthread.c.
1412 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1413 declaration, and new macro START_THREAD_SELF to replace argument.
1414 Remove return statement.
1415 (report_thread_creation): New function.
1416 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1417 synchronization logic, and __nptl_nthreads increment here, around
1418 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1419 PD->parent_cancelhandling here, before create_thread. When
1420 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1421 __deallocate_stack, and ENOMEM translation here.
1422
1423 2014-11-18 Joseph Myers <joseph@codesourcery.com>
1424
1425 [BZ #17616]
1426 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1427 (mptwo): Rename to __mptwo.
1428 (__inv): Use __mptwo instead of mptwo.
1429 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1430 (mptwo): Rename to __mptwo.
1431 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1432 of mpone and __mptwo instead of mptwo.
1433 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1434 instead of mpone.
1435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1436 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1437 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1438 of mpone and __mptwo instead of mptwo.
1439 (__mpranred): Use __mpone instead of mpone.
1440 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1441 variable.
1442 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1443 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1444 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1445 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1446 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1447 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1448 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1449 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1450 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1451 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1452 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1453 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1454 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1455 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1456 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1457 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1458 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1459 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1460 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1461
1462 2014-11-18 Tom de Vries <tom@codesoucery.com>
1463
1464 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1465 replace BSD Handler xref with BSD Signal Handling.
1466
1467 2014-11-17 Richard Henderson <rth@redhat.com>
1468
1469 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1470 (_FP_PACK_RAW_2): Remove.
1471 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1472 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1473 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1474 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1475 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1476 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1477 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1478 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1479 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1480 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1481 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1482 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1483 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1484 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1485 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1486 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1487
1488 2014-11-14 Roland McGrath <roland@hack.frob.com>
1489
1490 * signal/signal.h [__USE_MISC]
1491 (struct sigvec): Remove type.
1492 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1493 (sigvec): Remove declaration.
1494 * sysdeps/posix/sigvec.c: Moved ...
1495 * signal/sigvec.c: ... here, replacing old file.
1496 (struct sigvec): New type, copied from old signal.h definition.
1497 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1498 (__sigvec): Convert definition to prototype.
1499 (sigvec): Replace weak_alias with compat_symbol.
1500 * signal/Versions (libc: GLIBC_2.21): New version set.
1501 * include/signal.h: Remove __sigvec declaration.
1502 * sysdeps/unix/bsd/sigvec.c: Remove file.
1503 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1504 * manual/signal.texi (BSD Handler): Remove subsection.
1505 Move siginterrupt up to ...
1506 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1507 (Blocking in BSD): Fold subsection into its parent.
1508 * NEWS: Mention sigvec removal.
1509
1510 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1511
1512 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1513 (DLA_FMS): Make definition conditional only on [__FMA4__].
1514 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1515 definition.
1516
1517 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1518 Make definition conditional only on [PROF].
1519 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1520 definition.
1521 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1522 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1523
1524 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1525 !__GNUC__].
1526 * include/signal.h (__sigpause): Move declaration above call to
1527 libc_hidden_proto.
1528 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1529 variable.
1530 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1531 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1532
1533 2014-11-14 David S. Miller <davem@davemloft.net>
1534
1535 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1536 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1537
1538 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1539
1540 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1541 * configure: Regenerated.
1542 * manual/install.texi (Tools for Compilation): Document a
1543 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1544 compiler verified to work.
1545 * INSTALL: Regenerated.
1546
1547 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1548 redeclare with asm name.
1549 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1550 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1551 including <string.h>.
1552 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1553 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1554 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1555 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1556 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1558 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1559
1560 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1561
1562 * stdlib/strtol.c (__strtol): Use prototype definition.
1563
1564 [BZ #17594]
1565 * stdlib/strtol.c (SYM__): New macro.
1566 (SYM__1): Likewise.
1567 (__strtol): Likewise.
1568 (strtol): Rename to __strtol and define as weak alias of
1569 __strtol. Use libc_hidden_weak.
1570
1571 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1572
1573 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1574 Use numbered labels in inline assembly.
1575
1576 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1577
1578 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1579 Add setjmp LIBC_PROBE.
1580 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1581 Likewise.
1582 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1583 Add longjmp, longjmp_target LIBC_PROBE.
1584 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1585 Likewise.
1586
1587 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1588
1589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1590 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1591 to get rid of unused variable warning.
1592
1593 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1594
1595 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1596 Check for unwind_backtrace == NULL only in SHARED case.
1597 (__backchain_backtrace): Compile only in SHARED case.
1598 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1599 Likewise.
1600 (__backchain_backtrace): Declare as static.
1601
1602 2014-11-12 Roland McGrath <roland@hack.frob.com>
1603
1604 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1605 (__libc_multiple_threads_ptr): Variable moved ...
1606 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1607
1608 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1609
1610 * conform/GlibcConform.pm: New file.
1611 * conform/conformtest.pl: Use GlibcConform module.
1612 * conform/linknamespace.pl: New file.
1613 * conform/list-header-symbols.pl: Likewise.
1614 * conform/Makefile (linknamespace-symlists-base): New variable.
1615 (linknamespace-symlists-tests): Likewise.
1616 (linknamespace-header-base): Likewise.
1617 (linknamespace-header-tests): Likewise.
1618 (tests-special): Add new tests.
1619 ($(linknamespace-symlists-tests)): New rule.
1620 (linknamespace-libs): New variable.
1621 ($(objpfx)symlist-stdlibs): New rule.
1622 ($(linknamespace-header-tests)): Likewise.
1623 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1624 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1625 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1626 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1627 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1628 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1629 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1630 (test-xfail-ISO/math.h/linknamespace): Likewise.
1631 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1632 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1633 (test-xfail-ISO/time.h/linknamespace): Likewise.
1634 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1635 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1636 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1637 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1638 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1639 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1640 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1641 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1642 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1643 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1644 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1645 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1646 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1647 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1648 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1649 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1650 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1651 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1652 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1653 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1654 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1655 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1656 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1657 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1658 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1659 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1660 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1661 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1662 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1663 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1664 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1665 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1666 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1667 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1668 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1669 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1670 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1671 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1672 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1673 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1674 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1675 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1676 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1677 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1678 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1679 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1680 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1681 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1682 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1683 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1684 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1685 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1686 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1687 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1688 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1689 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1690 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1691 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1692 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1693 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1694 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1695 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1696 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1697 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1698 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1699 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1700 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1701 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1702 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1703 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1704 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1705 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1706 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1707 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1708 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1709 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1710 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1711 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1712 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1713 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1714 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1715 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1716 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1717 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1718 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1719 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1720 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1721 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1722 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1723 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1724 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1725 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1726 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1727 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1728 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1729 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1730 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1731 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1732 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1733 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1734 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1735 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1736 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1737 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1738 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1739 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1740 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1741 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1742 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1743 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1744 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1745 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1746 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1747 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1748 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1749 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1750 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1751 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1752 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1753 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1754 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1755 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1756 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1757 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1758 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1759 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1760 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1761 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1762 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1763 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1764 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1765 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1766 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1767 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1768 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1769 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1770 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1771 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1772 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1773 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1774 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1775 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1776 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1777 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1778 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1779 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1780 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1781 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1782 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1783 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1784
1785 [BZ #17589]
1786 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1787 of fgets_unlocked.
1788
1789 [BZ #17585]
1790 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1791 (memmem): Rename to __memmem and define as weak alias of
1792 __memmem. Use libc_hidden_weak.
1793 (__memmem): Use libc_hidden_def.
1794 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1795 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1796 memmem.
1797
1798 [BZ #17582]
1799 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1800 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1801 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1802 and define as weak alias of __fgets_unlocked. Use
1803 libc_hidden_weak.
1804 (__fgets_unlocked): Use libc_hidden_def.
1805 * include/stdio.h (__fgets_unlocked): Declare. Use
1806 libc_hidden_proto.
1807 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1808 __fgets_unlocked instead of fgets_unlocked.
1809 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1810 (GET_NPROCS_CONF_PARSER): Likewise.
1811 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1812 (GET_NPROCS_CONF_PARSER): Likewise.
1813
1814 [BZ #17574]
1815 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1816 weak alias of __wmemset. Use libc_hidden_weak.
1817 (__wmemset): Use libc_hidden_def.
1818 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1819 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1820 of wmemset.
1821
1822 [BZ #17573]
1823 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1824 with asm name __mempcpy.
1825 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1826
1827 [BZ #17572]
1828 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1829 and define as weak alias of __rawmemchr.
1830 (__rawmemchr): Do not define as strong alias of rawmemchr.
1831
1832 [BZ #17571]
1833 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1834 alias of __qsort_r.
1835 (qsort): Call __qsort_r instead of qsort_r.
1836 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1837 (__qsort_r): Declare. Call libc_hidden_proto.
1838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1839 instead of qsort_r.
1840 * nscd/gai.c (__qsort_r): Define to qsort_r.
1841 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1842 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1843 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1844
1845 [BZ #17570]
1846 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1847 define as weak alias of __malloc_info.
1848
1849 [BZ #17584]
1850 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1851 as weak alias of __rewinddir. Don't use libc_hidden_def.
1852 (__rewinddir): Use libc_hidden_def.
1853 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1854 as weak alias of __rewinddir. Don't use libc_hidden_def.
1855 (__rewinddir): Use libc_hidden_def.
1856 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1857 weak alias of __rewinddir. Don't use libc_hidden_def.
1858 (__rewinddir): Use libc_hidden_def.
1859 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1860 (__rewinddir): Use libc_hidden_proto.
1861 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1862 rewinddir.
1863 (__getcwd): Use __rewinddir instead of rewinddir.
1864
1865 [BZ #17583]
1866 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1867 alias of __fileno. Use libc_hidden_weak.
1868 (__fileno): Use libc_hidden_def.
1869 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1870 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1871 alias of __ftello.
1872 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1873 __ftello.
1874 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1875 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1876 libc_hidden_def.
1877 (fread_unlocked): Don't use libc_hidden_ver.
1878 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1879 and define as weak alias of __fread_unlocked. Don't use
1880 libc_hidden_def.
1881 (__fread_unlocked): Use libc_hidden_def.
1882 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1883 (ftello): Don't use libc_hidden_proto.
1884 (__ftello): Declare. Use libc_hidden_proto.
1885 (fread_unlocked): Don't use libc_hidden_proto.
1886 (__fread_unlocked): Declare. Use libc_hidden_proto.
1887 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1888 and __ftello instead of fileno, fread_unlocked and ftello.
1889
1890 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1891
1892 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1893 GOT12.
1894 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1895 Likewise.
1896 (_dl_start_user): Likewise.
1897 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1898
1899 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1900 Siddhesh Poyarekar <siddhesh@redhat.com>
1901
1902 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1903 Move argv and envp down instead of moving argc up.
1904 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1905
1906 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1907
1908 [BZ #17506]
1909 * test-skeleton.c (main): Return successful if one of
1910 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1911 * string/tst-strcoll-overflow.c: Define expected status.
1912
1913 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1914
1915 [BZ #17475]
1916 * locale/iso-639.def: Define Bhili and Tulu language codes.
1917
1918 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1919
1920 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1921
1922 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1923
1924 [BZ #17555]
1925 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1926
1927 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1928
1929 * configure.ac: Updated check of minimal required version to
1930 2.22.
1931 * manual/install.texi (Tools for Compilation): Updated version
1932 number.
1933 * configure: Regenerated.
1934 * INSTALL: Likewise.
1935
1936 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1939 __tls_get_addr.
1940
1941 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1942
1943 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1944 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1945 (__waitpid): Don't define as alias. Use libc_hidden_def not
1946 libc_hidden_weak.
1947 (waitpid): Define as alias of __waitpid.
1948 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1949 __waitpid.
1950 (__waitpid): Don't define as alias. Use libc_hidden_def not
1951 libc_hidden_weak.
1952 (waitpid): Define as alias of __waitpid.
1953 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1954 __libc_waitpid alias.
1955 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1956 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1957 Likewise.
1958 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1960 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1961 alias.
1962 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1963 __waitpid.
1964 (__waitpid): Don't define as alias. Use libc_hidden_def not
1965 libc_hidden_weak.
1966 (waitpid): Define as alias of __waitpid.
1967
1968 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1969
1970 * manual/llio.texi: Add comment that write safety has been
1971 fixed in Linux.
1972
1973 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1974 (localplt-build-dso): Add elf/ld.so.
1975 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1976 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1977 and free for ld.so.
1978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1979 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1981 Likewise.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1983 Likewise.
1984 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1985 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1986 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1987 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1988 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1989 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1990 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1991 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1992 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1993 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1994 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1995
1996 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #14132]
1999 * include/libc-symbols.h (INTUSE): Remove macro.
2000 (INTDEF): Likewise.
2001 (INTVARDEF): Likewise.
2002 (_INTVARDEF): Likewise.
2003 (INTDEF2): Likewise.
2004 (INTVARDEF2): Likewise.
2005 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2006 rtld_hidden_def instead of INTVARDEF.
2007 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2008 (_dl_starting_up_internal): Remove declaration.
2009 (_dl_starting_up): Use rtld_hidden_proto.
2010 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2011 declaration.
2012 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2013 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2014 _dl_starting_up.
2015 * elf/dl-writev.h (_dl_writev): Likewise.
2016 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2017 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2018 _dl_starting_up_internal.
2019
2020 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2021
2022 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2023 test-skeleton.c.
2024
2025 2014-11-05 Will Newton <will.newton@linaro.org>
2026
2027 * benchtests/Makefile: (bench-malloc): Add malloc thread
2028 scalability benchmark.
2029 * benchtests/bench-malloc-threads.c: New file.
2030
2031 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
2032
2033 * sysdeps/aarch64/strchrnul.S: New file.
2034
2035 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2036
2037 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2038 definition.
2039 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2040 Likwise.
2041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2042 Likewise.
2043 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2044 Likewise.
2045 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2046 Likewise.
2047 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2048 Likewise.
2049
2050 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
2051
2052 * catgets/test-gencat.c: Use test-skeleton.c.
2053 * catgets/tst-catgets.c: Likewise.
2054 * csu/tst-empty.c: Likewise.
2055 * elf/tst-audit2.c: Likewise.
2056 * elf/tst-global1.c: Likewise.
2057 * elf/tst-pathopt.c: Likewise.
2058 * elf/tst-piemod1.c: Likewise.
2059 * elf/tst-tls10.c: Likewise.
2060 * elf/tst-tls11.c: Likewise.
2061 * elf/tst-tls12.c: Likewise.
2062 * gnulib/tst-gcc.c: Likewise.
2063 * iconvdata/tst-e2big.c: Likewise.
2064 * iconvdata/tst-loading.c: Likewise.
2065 * iconv/tst-iconv1.c: Likewise.
2066 * iconv/tst-iconv2.c: Likewise.
2067 * inet/test-inet6_opt.c: Likewise.
2068 * inet/tst-gethnm.c: Likewise.
2069 * inet/tst-network.c: Likewise.
2070 * inet/tst-ntoa.c: Likewise.
2071 * intl/tst-codeset.c: Likewise.
2072 * intl/tst-gettext2.c: Likewise.
2073 * intl/tst-gettext3.c: Likewise.
2074 * intl/tst-ngettext.c: Likewise.
2075 * intl/tst-translit.c: Likewise.
2076 * io/test-stat.c: Likewise.
2077 * libio/test-fmemopen.c: Likewise.
2078 * libio/tst-freopen.c: Likewise.
2079 * libio/tst-sscanf.c: Likewise.
2080 * libio/tst-ungetwc1.c: Likewise.
2081 * libio/tst-ungetwc2.c: Likewise.
2082 * libio/tst-widetext.c: Likewise.
2083 * localedata/tst-ctype.c: Likewise.
2084 * localedata/tst-digits.c: Likewise.
2085 * localedata/tst-leaks.c: Likewise.
2086 * localedata/tst-mbswcs1.c: Likewise.
2087 * localedata/tst-mbswcs2.c: Likewise.
2088 * localedata/tst-mbswcs3.c: Likewise.
2089 * localedata/tst-mbswcs4.c: Likewise.
2090 * localedata/tst-mbswcs5.c: Likewise.
2091 * localedata/tst-setlocale.c: Likewise.
2092 * localedata/tst-trans.c: Likewise.
2093 * localedata/tst-wctype.c: Likewise.
2094 * localedata/tst-xlocale1.c: Likewise.
2095 * login/tst-grantpt.c: Likewise.
2096 * malloc/tst-calloc.c: Likewise.
2097 * malloc/tst-malloc.c: Likewise.
2098 * malloc/tst-mallocstate.c: Likewise.
2099 * malloc/tst-mcheck.c: Likewise.
2100 * malloc/tst-mtrace.c: Likewise.
2101 * malloc/tst-obstack.c: Likewise.
2102 * math/atest-exp2.c: Likewise.
2103 * math/atest-exp.c: Likewise.
2104 * math/atest-sincos.c: Likewise.
2105 * math/test-matherr.c: Likewise.
2106 * math/test-misc.c: Likewise.
2107 * math/test-powl.c: Likewise.
2108 * math/tst-definitions.c: Likewise.
2109 * misc/tst-dirname.c: Likewise.
2110 * misc/tst-efgcvt.c: Likewise.
2111 * misc/tst-fdset.c: Likewise.
2112 * misc/tst-hsearch.c: Likewise.
2113 * misc/tst-mntent2.c: Likewise.
2114 * nptl/tst-sem7.c: Likewise.
2115 * nptl/tst-sem8.c: Likewise.
2116 * nptl/tst-sem9.c: Likewise.
2117 * nss/test-netdb.c: Likewise.
2118 * posix/tst-fnmatch.c: Likewise.
2119 * posix/tst-getlogin.c: Likewise.
2120 * posix/tst-gnuglob.c: Likewise.
2121 * posix/tst-mmap.c: Likewise.
2122 * pwd/tst-getpw.c: Likewise.
2123 * resolv/tst-inet_ntop.c: Likewise.
2124 * rt/tst-timer.c: Likewise.
2125 * stdio-common/test-fseek.c: Likewise.
2126 * stdio-common/test-popen.c: Likewise.
2127 * stdio-common/test-vfprintf.c: Likewise.
2128 * stdio-common/tst-cookie.c: Likewise.
2129 * stdio-common/tst-fileno.c: Likewise.
2130 * stdio-common/tst-gets.c: Likewise.
2131 * stdio-common/tst-obprintf.c: Likewise.
2132 * stdio-common/tst-perror.c: Likewise.
2133 * stdio-common/tst-sprintf2.c: Likewise.
2134 * stdio-common/tst-sprintf3.c: Likewise.
2135 * stdio-common/tst-sprintf.c: Likewise.
2136 * stdio-common/tst-swprintf.c: Likewise.
2137 * stdio-common/tst-tmpnam.c: Likewise.
2138 * stdio-common/tst-unbputc.c: Likewise.
2139 * stdio-common/tst-wc-printf.c: Likewise.
2140 * stdlib/tst-environ.c: Likewise.
2141 * stdlib/tst-fmtmsg.c: Likewise.
2142 * stdlib/tst-limits.c: Likewise.
2143 * stdlib/tst-rand48-2.c: Likewise.
2144 * stdlib/tst-rand48.c: Likewise.
2145 * stdlib/tst-random2.c: Likewise.
2146 * stdlib/tst-random.c: Likewise.
2147 * stdlib/tst-strtol.c: Likewise.
2148 * stdlib/tst-strtoll.c: Likewise.
2149 * stdlib/tst-tls-atexit.c: Likewise.
2150 * stdlib/tst-xpg-basename.c: Likewise.
2151 * string/test-ffs.c: Likewise.
2152 * string/tst-bswap.c: Likewise.
2153 * string/tst-inlcall.c: Likewise.
2154 * string/tst-strtok.c: Likewise.
2155 * string/tst-strxfrm.c: Likewise.
2156 * sysdeps/x86_64/tst-audit10.c: Likewise.
2157 * sysdeps/x86_64/tst-audit3.c: Likewise.
2158 * sysdeps/x86_64/tst-audit4.c: Likewise.
2159 * sysdeps/x86_64/tst-audit5.c: Likewise.
2160 * time/tst-ftime_l.c: Likewise.
2161 * time/tst-getdate.c: Likewise.
2162 * time/tst-mktime3.c: Likewise.
2163 * time/tst-mktime.c: Likewise.
2164 * time/tst-posixtz.c: Likewise.
2165 * time/tst-strptime2.c: Likewise.
2166 * time/tst-strptime3.c: Likewise.
2167 * wcsmbs/tst-btowc.c: Likewise.
2168 * wcsmbs/tst-mbrtowc.c: Likewise.
2169 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2170 * wcsmbs/tst-wchar-h.c: Likewise.
2171 * wcsmbs/tst-wcpncpy.c: Likewise.
2172 * wcsmbs/tst-wcrtomb.c: Likewise.
2173 * wcsmbs/tst-wcsnlen.c: Likewise.
2174 * wcsmbs/tst-wcstof.c: Likewise.
2175
2176 2014-11-04 Joseph Myers <joseph@codesourcery.com>
2177
2178 [BZ #14132]
2179 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2180 INTDEF.
2181 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2182 declaration.
2183 (_dl_mcount): Use rtld_hidden_proto.
2184 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2185 _dl_mcount.
2186 * elf/rtld.c (_rtld_global_ro): Likewise.
2187
2188 [BZ #14132]
2189 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2190 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2191 of _dl_init_internal.
2192 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2193 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2194 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2195 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2196 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2197 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2198 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2199 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2200 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2201 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2202 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2203 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2204 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2205 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2206 * sysdeps/tile/dl-start.S (_start): Likewise.
2207 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2208 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2209
2210 [BZ #14132]
2211 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2212 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2213 (rtld_progname): Make macro definition unconditional.
2214 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2215 INTDEF.
2216 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2217 (dl_main): Likewise.
2218 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2219 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2220 instead of _dl_argv_internal.
2221 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2222 __GI__dl_argv instead of INTUSE(_dl_argv).
2223 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2224 __GI__dl_argv instead of _dl_argv_internal.
2225
2226 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2227 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2228 macro.
2229 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2230 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2231 New macro.
2232 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2233 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2234 macro.
2235 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2236 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2237
2238 2014-11-04 Andreas Schwab <schwab@suse.de>
2239
2240 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2241
2242 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2243
2244 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2245 mtvsrd instruction in binary form.
2246
2247 2014-11-03 Andreas Schwab <schwab@suse.de>
2248
2249 [BZ #17522]
2250 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2251 for less than MB_LEN_MAX use a local buffer of that size.
2252 * libio/tst-fputws.c: New file.
2253 * libio/Makefile (tests): Add tst-fputws.
2254
2255 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2256
2257 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2258 the size of the fpu_fr.fpu_dregs[] array.
2259
2260 2014-11-01 Joseph Myers <joseph@codesourcery.com>
2261
2262 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2263 (__nanosleep): Do not define as alias.
2264 (nanosleep): Define as alias of __nanosleep.
2265 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2266 __libc_nanosleep name.
2267
2268 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2269
2270 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2271 install.texi in comment.
2272
2273 2014-10-31 Torvald Riegel <triegel@redhat.com>
2274
2275 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2276 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2277 ... add here and use lwsync or sync ...
2278 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2279 ... and add here using lwsync.
2280
2281 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2282
2283 * elf/dl-machine-reject-phdr.h: New file.
2284 * elf/dl-load.c: #include that.
2285 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2286 if that returned true.
2287
2288 2014-10-31 Roland McGrath <roland@hack.frob.com>
2289
2290 [BZ #17496]
2291 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2292 gen-as-const-headers chunk. Add a big scare comment after the last
2293 safe place to touch before-compile.
2294
2295 2014-10-31 Joseph Myers <joseph@codesourcery.com>
2296
2297 * manual/install.texi (Tools for Compilation): Update autoconf
2298 version requirements.
2299 * INSTALL: Regenerated.
2300
2301 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2302 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2303 (__libc_pselect): Likewise.
2304
2305 [BZ #14138]
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2310
2311 2014-10-31 Torvald Riegel <triegel@redhat.com>
2312
2313 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2314 correct barrier instruction.
2315 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2316 Likewise.
2317 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2318 Likewise.
2319
2320 2014-10-30 Roland McGrath <roland@hack.frob.com>
2321
2322 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2323 after defining inlines. Instead, just use parens to defeat macro
2324 expansion of __isctype in its declaration.
2325
2326 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2327
2328 * include/sys/uio.h (__libc_readv): Remove declaration.
2329 (__libc_writev): Likewise.
2330 * misc/readv.c (__libc_readv): Rename to __readv.
2331 (__readv): Do not define as alias.
2332 (readv): Define as alias of __readv.
2333 * misc/writev.c (__libc_writev): Rename to __writev.
2334 (__writev): Do not define as alias.
2335 (writev): Define as alias of __writev.
2336 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2337 (__readv): Do not define as alias.
2338 (readv): Define unconditionally as alias of __readv.
2339 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2340 (__writev): Do not define as alias.
2341 (writev): Define unconditionally as alias of __writev.
2342 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2343 name.
2344 (writev): Do not define __libc_writev name.
2345
2346 2014-10-30 Roland McGrath <roland@hack.frob.com>
2347
2348 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2349 (convert_charseq): New function, broken out of ...
2350 (use_from_charmap): ... here. Call it.
2351 (use_to_charmap): Use convert_charseq and free instead of duplicating
2352 its code with a variable-length stack struct.
2353
2354 2014-10-30 Joseph Myers <joseph@codesourcery.com>
2355
2356 * include/fcntl.h (__libc_creat): Remove declaration.
2357 * io/creat.c (__libc_creat): Rename to creat.
2358 (creat): Do not define as alias.
2359 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2360 of creat instead of __libc_creat.
2361 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2362 to creat.
2363 (creat): Do not define as alias.
2364 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2365 __libc_creat.
2366 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2367 __libc_creat name.
2368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2369 Likewise.
2370
2371 2014-10-29 Carlos O'Donell <carlos@redhat.com>
2372
2373 * manual/llio.texi: Add comments discussing why write() may be
2374 considered MT-unsafe on Linux.
2375
2376 2014-10-28 Carlos O'Donell <carlos@redhat.com>
2377
2378 * dl-load.c (local_strdup): Remove.
2379 (expand_dynamic_string_token): Use __strdup.
2380 (decompose_rpath): Likewise.
2381 (_dl_map_object): Likewise.
2382
2383 2014-10-28 Joseph Myers <joseph@codesourcery.com>
2384
2385 [BZ #14132]
2386 * sysdeps/generic/unwind-dw2-fde.c
2387 (__register_frame_info_bases_internal): Do not declare.
2388 (__register_frame_info_table_bases_internal): Likewise.
2389 (__deregister_frame_info_bases_internal): Likewise.
2390 (__register_frame_info_bases): Declare and use hidden_proto before
2391 definition. Use hidden_def instead of INTDEF.
2392 (__register_frame_info_table_bases): Likewise.
2393 (__deregister_frame_info_bases): Likewise.
2394 (__register_frame_info): Do not use INTUSE.
2395 (__register_frame): Likewise.
2396 (__register_frame_info_table): Likewise.
2397 (__register_frame_table): Likewise.
2398 (__deregister_frame_info): Likewise.
2399 (__deregister_frame): Likewise.
2400
2401 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2402
2403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2404 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2405 not undefine.
2406 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2407 Likewise.
2408 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2409 Likewise.
2410
2411 2014-10-27 Joseph Myers <joseph@codesourcery.com>
2412
2413 [BZ #14138]
2414 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2415 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2416 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2417 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2418 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2419 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2420 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2422 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2423 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2426 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2427 syscall.
2428 (setfsuid): Likewise.
2429 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2430 (setfsuid): Likewise.
2431 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2432 (setfsuid): Likewise.
2433 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2434 Likewise.
2435 (setfsuid): Likewise.
2436 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2437 (setfsuid): Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2439 Likewise.
2440 (setfsuid): Likewise.
2441
2442 2014-10-27 Andreas Schwab <schwab@suse.de>
2443
2444 [BZ #17501]
2445 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2446 check for Slow_SSE4_2 feature bit.
2447 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2448 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2449 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2450 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2451
2452 2014-10-24 Roland McGrath <roland@hack.frob.com>
2453
2454 * configure.ac: Validate compiler version with a empirical test of
2455 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2456 $CC -v output.
2457 * configure: Regenerated.
2458
2459 * inet/htons.c (htons): Prototypify.
2460 * inet/htonl.c (htonl): Likewise.
2461
2462 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2463
2464 * string/strncat.c (strncat): Improve performance by using strlen.
2465
2466 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2467
2468 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2469
2470 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2471
2472 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2473 Call libc_fetestexcept_aarch64.
2474
2475 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2476
2477 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2478 Call libc_feholdexcept_aarch64.
2479
2480 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2481
2482 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2483 Call get_rounding_mode.
2484
2485 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2486
2487 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2488 Simplify logic.
2489
2490 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2491
2492 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2493 Simplify logic.
2494
2495 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2496
2497 [BZ #14138]
2498 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2499 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2500 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2501 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2502 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2503 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2504 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2505 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2506 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2507 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2508 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2509 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2510 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2511 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2512 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2513 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2514 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2515 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2516 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2517 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2518 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2520 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2521 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2523 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2525 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2526 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2527 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2528 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2529 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2530 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2531 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2532 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2533 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2536 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2538 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2539 syscall.
2540 (geteuid): Likewise.
2541 (getgid): Likewise.
2542 (getuid): Likewise.
2543 (getresgid): Likewise.
2544 (getresuid): Likewise.
2545 (getgroups): Likewise.
2546 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2547 (geteuid): Likewise.
2548 (getgid): Likewise.
2549 (getuid): Likewise.
2550 (getresgid): Likewise.
2551 (getresuid): Likewise.
2552 (getgroups): Likewise.
2553 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2554 (geteuid): Likewise.
2555 (getgid): Likewise.
2556 (getuid): Likewise.
2557 (getresgid): Likewise.
2558 (getresuid): Likewise.
2559 (getgroups): Likewise.
2560 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2561 Likewise.
2562 (geteuid): Likewise.
2563 (getgid): Likewise.
2564 (getuid): Likewise.
2565 (getresgid): Likewise.
2566 (getresuid): Likewise.
2567 (getgroups): Likewise.
2568 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2569 (geteuid): Likewise.
2570 (getgid): Likewise.
2571 (getuid): Likewise.
2572 (getresgid): Likewise.
2573 (getresuid): Likewise.
2574 (getgroups): Likewise.
2575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2576 Likewise.
2577 (geteuid): Likewise.
2578 (getgid): Likewise.
2579 (getuid): Likewise.
2580 (getgroups): Likewise.
2581
2582 [BZ #14138]
2583 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2584 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2585 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2586 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2587 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2589 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2590 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2591 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2592 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2593 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2594 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2595 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2596 __chown.
2597 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2598 (lchown): Likewise.
2599 (fchown): Likewise.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2601 Likewise.
2602 (lchown): Likewise.
2603 (fchown): Likewise.
2604 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2605 (lchown): Likewise.
2606 (fchown): Likewise.
2607 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2608 Likewise.
2609 (lchown): Likewise.
2610 (fchown): Likewise.
2611
2612 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2613
2614 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2615 Simplify logic.
2616
2617 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2618
2619 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2620 Cleanup logic.
2621
2622 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2623
2624 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2625 Remove unused include.
2626
2627 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2628
2629 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2630 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2631 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2632 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2633
2634 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2635 Helge Deller <deller@gmx.de>
2636
2637 [BZ #17508]
2638 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2639 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2640 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2641
2642 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2643
2644 [BZ #14132]
2645 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2646 Remove macro definition.
2647 (__ashrdi3_v_glibc20): Likewise.
2648 (__lshrdi3_v_glibc20): Likewise.
2649 (__cmpdi2_v_glibc20): Likewise.
2650 (__ucmpdi2_v_glibc20): Likewise.
2651 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2652 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2653 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2654 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2655 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2656 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2657
2658 2014-10-22 Roland McGrath <roland@hack.frob.com>
2659
2660 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2661 old GNU extension [0] syntax.
2662 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2663 alloca rather than an array member with variable length.
2664 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2665 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2666 (parse_opt): ... here. Likewise use alloca there.
2667 Validate the -i argument before checking for rootness.
2668 (send_shutdown): New function, broken out of ...
2669 (parse_opt): ... here.
2670
2671 2014-10-22 Roland McGrath <roland@hack.frob.com>
2672
2673 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2674 macro to get at the _rt_local_ro field.
2675 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2676 ([PIC] case) or _dl_hwcap ([!PIC] case).
2677 * sysdeps/arm/setjmp.S: Likewise.
2678
2679 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2680 * sysdeps/arm/configure.ac: New check to define it.
2681 * sysdeps/arm/configure: Regenerated.
2682 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2683 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2684 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2685 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2686 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2687 Use move/movt pair instead of a load.
2688 (LDST_GLOBAL): Macro removed.
2689 (LDR_GLOBAL): New macro replaces it.
2690 (LDR_HIDDEN): New macro.
2691 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2692 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2693
2694 * setjmp/tst-setjmp-static.c: New file.
2695 * setjmp/Makefile (tests): Add it.
2696 (tests-static): New variable.
2697
2698 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2699
2700 [BZ #17485]
2701 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2702
2703 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2704
2705 [BZ #14132]
2706 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2707
2708 2014-10-21 Roland McGrath <roland@hack.frob.com>
2709
2710 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2711
2712 2014-10-20 Roland McGrath <roland@hack.frob.com>
2713
2714 * io/fts.c (dirent_not_directory): New function.
2715 (fts_build): Call it.
2716
2717 2014-10-20 Roland McGrath <roland@hack.frob.com>
2718
2719 * nptl/version.c (__nptl_main): Use normal __write rather than
2720 INTERNAL_SYSCALL.
2721 (banner): Update copyright years.
2722
2723 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2724 gettimeofday.
2725 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2726 * nptl/pthread_cond_timedwait.c: Likewise.
2727 * nptl/pthread_mutex_timedlock.c: Likewise.
2728 * nptl/sem_timedwait.c: Likewise.
2729
2730 * sysdeps/nptl/bits/libc-lock.h
2731 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2732 (__libc_lock_init_recursive): Return void, not 0.
2733 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2734 (__libc_rwlock_init): Likewise.
2735 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2736
2737 2014-10-20 Torvald Riegel <triegel@redhat.com>
2738
2739 [BZ #15215]
2740 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2741 (__pthread_once_slow): ... here.
2742 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2743 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2744
2745 2014-10-20 Torvald Riegel <triegel@redhat.com>
2746
2747 [BZ #15215]
2748 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2749 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2750 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2751 * nptl/pthread_once.c (__pthread_once): Likewise.
2752 Update comments.
2753
2754 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2755
2756 [BZ #14138]
2757 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2758 name.
2759 (writev): Use __libc_writev as strong name.
2760 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2761 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2762
2763 2014-10-17 Roland McGrath <roland@hack.frob.com>
2764
2765 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2766
2767 * sysdeps/i386/nptl/tls.h
2768 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2769 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2770 New macros.
2771 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2772 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2773 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2774 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2775 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2776 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2777
2778 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2779 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2780 on [__NR_futex].
2781 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2782 broken out of ...
2783 (__pthread_mutex_init): ... here. Call it.
2784 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2785 Conditionalize PI cases on [__NR_futex].
2786 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2787 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2788 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2789
2790 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2791 conditional on [SIGSETXID].
2792 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2793 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2794 is defined. Likewise for SIGSETXID.
2795 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2796 Conditionalize definitions on [SIGSETXID].
2797 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2798 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2799 unblocking on [SIGCANCEL].
2800
2801 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2802 [__NR_set_robust_list].
2803
2804 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2805
2806 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2807 (do_compare): Likewise.
2808
2809 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2810
2811 [BZ #15884]
2812 * string/strcoll_l.c: Don't include stdio.h.
2813 (coll_seq): Remove members idxarr and rulearr.
2814 (get_next_seq_cached): Remove function.
2815 (get_next_seq): Likewise.
2816 (get_next_seq_nocache): Rename to get_next_seq.
2817 (do_compare): Remove function.
2818 (do_compare_nocache): Rename to do_compare.
2819 (STRCOLL): Remove weight and rules cache.
2820
2821 2014-10-16 Roland McGrath <roland@hack.frob.com>
2822
2823 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2824 * sysdeps/arm/sfp-machine.h: ... to here.
2825 * sysdeps/arm/Implies: Remove arm/soft-fp.
2826
2827 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2828
2829 * conform/data/sys/utsname.h-data (*_t): Allow.
2830 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2831 [POSIX] (WEXITED): Do not expect constant.
2832 [POSIX] (WSTOPPED): Likewise.
2833 [POSIX] (WNOHANG): Likewise.
2834 [POSIX] (WNOWAIT): Likewise.
2835 [POSIX] (siginfo_t): Do not expect type or elements.
2836 [POSIX] (pid_t): Do not expect type.
2837 [POSIX] (signal.h): Do not allow header.
2838 [POSIX] (sys/resource.h): Likewise.
2839 [POSIX] (si_*): Do not allow pattern.
2840 [POSIX] (W*): Likewise.
2841 [POSIX] (P_*): Likewise.
2842 [POSIX] (BUS_*): Likewise.
2843 [POSIX] (CLD_*): Likewise.
2844 [POSIX] (FPE_*): Likewise.
2845 [POSIX] (ILL_*): Likewise.
2846 [POSIX] (POLL_*): Likewise.
2847 [POSIX] (SEGV_*): Likewise.
2848 [POSIX] (SI_*): Likewise.
2849 [POSIX] (TRAP_*): Likewise.
2850 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2851 variable.
2852
2853 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2854
2855 [BZ #12926]
2856 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2857 infinite loop when __recvmsg returns 0.
2858
2859 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2860
2861 * CANCEL-FCT-WAIVE: Remove file.
2862 * CANCEL-FILE-WAIVE: Likewise.
2863
2864 [BZ #14132]
2865 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2866 instead of INTVARDEF.
2867 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2868 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2869 rtld_hidden_data_def instead of INTVARDEF.
2870 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2871 * elf/dl-deps.c (expand_dst): Likewise.
2872 * elf/dl-load.c (_dl_dst_count): Likewise.
2873 (_dl_dst_substitute): Likewise.
2874 (decompose_rpath): Likewise.
2875 (_dl_init_paths): Likewise.
2876 (open_path): Likewise.
2877 (_dl_map_object): Likewise.
2878 * elf/rtld.c (dl_main): Likewise.
2879 (process_dl_audit): Likewise.
2880 (process_envvars): Likewise.
2881 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2882 Remove declaration.
2883 (__libc_enable_secure): Use rtld_hidden_proto.
2884
2885 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2886
2887 * elf/dl-load.c
2888 (add_path): New function broken out of _dl_rtld_di_serinfo.
2889 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2890
2891 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2892
2893 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2894 parentheses around macro arguments.
2895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2898 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2899 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2900 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2901 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2904 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2906 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2907 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2908 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2909 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2910 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2911 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2923 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2924 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2925 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2926 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2927 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2928 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2929 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2930 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2931 Likewise.
2932 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2933 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2934 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2935 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2939 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2940 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2941 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2942 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2943 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2944 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2945 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2947 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2948 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2949 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2950 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2951 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2952 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2953 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2954 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2955 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2956 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2957 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2958 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2959 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2960 (_FP_FRAC_SRS_1): Likewise.
2961 (_FP_FRAC_CLZ_1): Likewise.
2962 (_FP_MUL_MEAT_1_imm): Likewise.
2963 (_FP_MUL_MEAT_1_wide): Likewise.
2964 (_FP_MUL_MEAT_1_hard): Likewise.
2965 (_FP_SQRT_MEAT_1): Likewise.
2966 (_FP_FRAC_ASSEMBLE_1): Likewise.
2967 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2968 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2969 (__FP_CLZ_2): Likewise.
2970 (_FP_MUL_MEAT_2_wide): Likewise.
2971 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2972 (_FP_MUL_MEAT_2_gmp): Likewise.
2973 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2974 (_FP_SQRT_MEAT_2): Likewise.
2975 (_FP_FRAC_ASSEMBLE_2): Likewise.
2976 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2977 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2978 (_FP_FRAC_CLZ_4): Likewise.
2979 (_FP_MUL_MEAT_4_wide): Likewise.
2980 (_FP_MUL_MEAT_4_gmp): Likewise.
2981 (_FP_SQRT_MEAT_4): Likewise.
2982 (_FP_FRAC_ASSEMBLE_4): Likewise.
2983 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2984 * soft-fp/op-common.h (_FP_CMP): Likewise.
2985 (_FP_CMP_EQ): Likewise.
2986 (_FP_CMP_UNORD): Likewise.
2987 (_FP_TO_INT): Likewise.
2988 (_FP_FROM_INT): Likewise.
2989 [!__FP_CLZ] (__FP_CLZ): Likewise.
2990 (_FP_DIV_HELP_imm): Likewise.
2991 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2992 Likewise.
2993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2994 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2995 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2996 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2997 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2998 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2999 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3000 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3001 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3002 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3003 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3004 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3005 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3006 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3007 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3008 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3009 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3010 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3012 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3013 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3014 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3015 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3016 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3017 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3019 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3020 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3021 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3022 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3023 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3024 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3025 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3026 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3027 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3028 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3029 (FP_UNPACK_RAW_SP): Likewise.
3030 (FP_PACK_RAW_S): Likewise.
3031 (FP_PACK_RAW_SP): Likewise.
3032 (FP_UNPACK_S): Likewise.
3033 (FP_UNPACK_SP): Likewise.
3034 (FP_UNPACK_SEMIRAW_S): Likewise.
3035 (FP_UNPACK_SEMIRAW_SP): Likewise.
3036 (FP_PACK_S): Likewise.
3037 (FP_PACK_SP): Likewise.
3038 (FP_PACK_SEMIRAW_S): Likewise.
3039 (FP_PACK_SEMIRAW_SP): Likewise.
3040 (_FP_SQRT_MEAT_S): Likewise.
3041 (FP_CMP_S): Likewise.
3042 (FP_CMP_EQ_S): Likewise.
3043 (FP_CMP_UNORD_S): Likewise.
3044 (FP_TO_INT_S): Likewise.
3045 (FP_FROM_INT_S): Likewise.
3046
3047 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3048
3049 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3050 (FP_EX_INVALID_IMZ): Likewise.
3051 (FP_EX_INVALID_IMZ_FMA): Likewise.
3052 (FP_EX_INVALID_ISI): Likewise.
3053 (FP_EX_INVALID_ZDZ): Likewise.
3054 (FP_EX_INVALID_IDI): Likewise.
3055 (FP_EX_INVALID_SQRT): Likewise.
3056 (FP_EX_INVALID_CVI): Likewise.
3057 (FP_EX_INVALID_VC): Likewise.
3058 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3059 "invalid" exceptions.
3060 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3061 (_FP_ADD_INTERNAL): Likewise.
3062 (_FP_MUL): Likewise.
3063 (_FP_FMA): Likewise.
3064 (_FP_DIV): Likewise.
3065 (_FP_CMP_CHECK_NAN): Likewise.
3066 (_FP_SQRT): Likewise.
3067 (_FP_TO_INT): Likewise.
3068 (FP_EXTEND): Likewise.
3069
3070 2014-10-09 Allan McRae <allan@archlinux.org>
3071
3072 * po/fr.po: Update French translation from translation project.
3073
3074 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3075
3076 [BZ #14132]
3077 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3078 of INTDEF.
3079 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3080 (__cxa_atexit): Use libc_hidden_proto.
3081 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3082
3083 [BZ #14132]
3084 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3085 declaration.
3086 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3087 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3088 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3089 [!_ISOMAC] (__iswctype_internal): Likewise.
3090 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3091 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3092 alias.
3093 (fcntl): Remove __fcntl_internal alias.
3094 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3095 __connect_internal alias.
3096 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3097 Likewise.
3098
3099 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3100 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3101 FP_DENORM_ZERO.
3102 (_FP_CHECK_FLUSH_ZERO): New macro.
3103 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3104 (_FP_CMP): Likewise.
3105 (_FP_CMP_EQ): Likewise.
3106 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3107 FP_DENORM_ZERO.
3108 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3109 (FP_TRUNC): Likewise.
3110
3111 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3112 treated as invalid conversion, not as normal exponent.
3113
3114 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3115 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3116 (_FP_CMP_EQ): Likewise.
3117 (_FP_CMP_UNORD): Likewise.
3118 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3119 (FP_CMP_EQ_D): Likewise.
3120 (FP_CMP_UNORD_D): Likewise.
3121 * soft-fp/extended.h (FP_CMP_E): Likewise.
3122 (FP_CMP_EQ_E): Likewise.
3123 (FP_CMP_UNORD_E): Likewise.
3124 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3125 (FP_CMP_EQ_Q): Likewise.
3126 (FP_CMP_UNORD_Q): Likewise.
3127 * soft-fp/single.h (FP_CMP_S): Likewise.
3128 (FP_CMP_EQ_S): Likewise.
3129 (FP_CMP_UNORD_S): Likewise.
3130 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3131 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3132 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3133 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3134 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3135 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3136 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3137 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3138 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3139 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3140 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3141 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3142 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3143 to FP_CMP_Q.
3144 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3145 FP_CMP_Q.
3146 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3147 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3148 FP_CMP_EQ_Q.
3149 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3150 FP_CMP_Q.
3151 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3152 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3153 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3154 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3155 FP_CMP_EQ_Q.
3156 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3157 FP_CMP_Q.
3158 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3159 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3160 FP_CMP_EQ_Q.
3161 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3162 FP_CMP_Q.
3163 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3164 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3165 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3166 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3167 FP_CMP_EQ_Q.
3168
3169 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3170 a subnormal result, set the underflow exception if trapping on
3171 underflow is enabled.
3172 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3173 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3174 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3175 redefine to 0.
3176 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3177 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3178 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3179 * soft-fp/extendxftf2.c (__extendxftf2): Use
3180 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3181
3182 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3183 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3184 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3185 FP_HANDLE_EXCEPTIONS.
3186 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3187 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3188 FP_HANDLE_EXCEPTIONS.
3189 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3190 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3191 FP_HANDLE_EXCEPTIONS.
3192 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3193 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3194 FP_HANDLE_EXCEPTIONS.
3195
3196 2014-10-08 Joseph Myers <joseph@codesourcery.com>
3197
3198 [BZ #14132]
3199 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3200 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3201 use INTUSE.
3202 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3203 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3204 Remove alias.
3205 (__adjtimex): Define using libc_hidden_ver.
3206 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3207 Remove declaration.
3208 (ntp_gettime): Call __adjtimex directly.
3209 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3210 Remove declaration.
3211 (ntp_gettimex): Call __adjtimex directly.
3212 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3213 __adjtimex_internal alias.
3214
3215 2014-10-08 Roland McGrath <roland@hack.frob.com>
3216
3217 [BZ #17460]
3218 * nscd/nscd.c (more_help): Rewrite list of tables collection
3219 using xstrdup and asprintf.
3220
3221 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3222
3223 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3224 Roland McGrath <roland@hack.frob.com>
3225
3226 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3227 (do_lookup_unique): ... local function 'enter' here; update callers.
3228
3229 2014-10-06 Joseph Myers <joseph@codesourcery.com>
3230
3231 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3232 compat_symbol calls on [SHARED].
3233 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3234 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3235 Remove.
3236 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3237 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3238 (oldsetrlimit): Remove.
3239 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3241 (lchown): New syscall entry.
3242 (oldsetrlimit): Remove.
3243 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3245 (oldsetrlimit): Remove.
3246 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3247
3248 [BZ #14138]
3249 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3250 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3251 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3252 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3253 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3254 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3255 (fchown): Likewise.
3256 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3257 (fchown): Likewise.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3259 Likewise.
3260
3261 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3262
3263 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3264 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3265 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3266 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3267 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3268 Likewise.
3269 (__old_sem_post): Likewise.
3270
3271 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3272
3273 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3274 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3275 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3276 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3277 Use INLINE_VSYSCALL macro.
3278 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3279 __vdso_clock_gettime.
3280 * sysdeps/unix/sysv/linux/tile/init-first.c
3281 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3282 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3283 __vdso_clock_gettime.
3284
3285 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3286 to set up frame more cleanly.
3287
3288 * sysdeps/tile/memcmp.c: New file.
3289
3290 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3291
3292 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3293 * sysdeps/tile/tilegx/strcasestr.c: New file.
3294 * sysdeps/tile/tilegx/strnlen.c: New file.
3295 * sysdeps/tile/tilegx/strstr.c: New file.
3296
3297 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3298
3299 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
3300
3301 * nptl/tst-setuid3.c: Write errors to stdout.
3302
3303 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3304
3305 * elf/dl-deps.c
3306 (preload): New functions broken out of _dl_map_object_deps.
3307 (_dl_map_object_deps): Remove a nested function. Update call sites.
3308
3309 2014-10-01 Joseph Myers <joseph@codesourcery.com>
3310
3311 [BZ #14138]
3312 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3313 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3314
3315 2014-10-01 Steve Ellcey <sellcey@mips.com>
3316
3317 * sysdeps/mips/strcmp.S: New.
3318
3319 2014-09-30 Joseph Myers <joseph@codesourcery.com>
3320
3321 [BZ #14138]
3322 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3323 (linkat): Likewise.
3324 (mkdirat): Likewise.
3325 (readlinkat): Likewise.
3326 (renameat): Likewise.
3327 (symlinkat): Likewise.
3328 (unlinkat): Likewise.
3329 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3330 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3331 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3332 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3333 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3334 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3335 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3336
3337 2014-09-30 Will Newton <will.newton@linaro.org>
3338
3339 * math/math.h: Define long double math functions if
3340 _LIBC_TEST is defined.
3341 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3342
3343 * localedata/Makefile: Move assignment to tests-special
3344 into an ifdef testing run-built-tests.
3345 * timezone/Makefile: Likewise.
3346
3347 2014-09-29 Joseph Myers <joseph@codesourcery.com>
3348
3349 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3350 with $(BASH) not $(SHELL).
3351
3352 2014-09-29 Carlos O'Donell <carlos@redhat.com>
3353 Matthew LeGendre <legendre1@llnl.gov>
3354
3355 [BZ #17411]
3356 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3357 l_reloc_result.
3358
3359 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3360
3361 * stdio-common/printf_fp.c
3362 (hack_digit): New function, broken out of ...
3363 (__printf_fp): ... local function here. Update call sites.
3364 hack_digit now takes an additional parameter that is a pointer
3365 to a struct of the referenced locals. Those locals moved inside
3366 the struct and references updated.
3367
3368 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3369
3370 * aclocal.m4: Require autoconf 2.69.
3371 * configure: Regenerated.
3372 * sysdeps/aarch64/configure: Likewise.
3373 * sysdeps/alpha/configure: Likewise.
3374 * sysdeps/arm/armv7/configure: Likewise.
3375 * sysdeps/arm/configure: Likewise.
3376 * sysdeps/ia64/configure: Likewise.
3377 * sysdeps/mach/configure: Likewise.
3378 * sysdeps/mips/configure: Likewise.
3379 * sysdeps/s390/configure: Likewise.
3380 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3382
3383 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3384 file.
3385 * sysdeps/ia64/configure.ac: Likewise.
3386
3387 2014-09-26 Joseph Myers <joseph@codesourcery.com>
3388
3389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3390 specify symbol version for ld.so. Do not include entry for
3391 libpthread.
3392 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3393 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3394 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3395
3396 [BZ #14171]
3397 * Makeconfig [$(build-shared) = yes]
3398 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3399 makefiles.
3400 [$(build-shared) = yes && $(soversions.mk-done) = t]
3401 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3402 [$(build-shared) = yes && $(soversions.mk-done) = t]
3403 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3404 to Makerules.
3405 [$(build-shared) = yes && $(soversions.mk-done) = t]
3406 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3407 here.
3408 [$(build-shared) = yes && $(soversions.mk-done) = t]
3409 (common-generated): Don't append gnu/lib-names.h and
3410 gnu/lib-names.stmp here.
3411 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3412 (lib-names-h-abi): New variable.
3413 [$(build-shared) = yes && $(soversions.mk-done) = t]
3414 (lib-names-stmp-abi): Likewise.
3415 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3416 abi-variants] (before-compile): Append
3417 $(common-objpfx)$(lib-names-h-abi).
3418 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3419 abi-variants] (common-generated): Append gnu/lib-names.h.
3420 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3421 abi-variants] (install-others-nosubdir): Depend on
3422 $(inst_includedir)/$(lib-names-h-abi).
3423 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3424 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3425 [$(build-shared) = yes && $(soversions.mk-done) = t]
3426 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3427 [$(build-shared) = yes && $(soversions.mk-done) = t]
3428 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3429 [$(build-shared) = yes && $(soversions.mk-done) = t]
3430 (common-generated): Append $(lib-names-h-abi) and
3431 $(lib-names-stmp-abi).
3432 * scripts/lib-names.awk: Do not handle multi being set.
3433 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3434 Remove variable.
3435 (abi-lp64_be-ld-soname): Likewise.
3436 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3437 Likewise.
3438 (abi-hard-ld-soname): Likewise.
3439 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3440 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3441 Remove variable.
3442 (abi-o32_hard-ld-soname): Likewise.
3443 (abi-o32_soft_2008-ld-soname): Likewise.
3444 (abi-o32_hard_2008-ld-soname): Likewise.
3445 (abi-n32_soft-ld-soname): Likewise.
3446 (abi-n32_hard-ld-soname): Likewise.
3447 (abi-n32_soft_2008-ld-soname): Likewise.
3448 (abi-n32_hard_2008-ld-soname): Likewise.
3449 (abi-n64_soft-ld-soname): Likewise.
3450 (abi-n64_hard-ld-soname): Likewise.
3451 (abi-n64_soft_2008-ld-soname): Likewise.
3452 (abi-n64_hard_2008-ld-soname): Likewise.
3453 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3454 Likewise.
3455 (abi-64-v2-ld-soname): Likewise.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3457 ld.so entries.
3458 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3459 variable.
3460 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3461 entry.
3462 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3463 variable.
3464 (abi-64-ld-soname): Likewise.
3465 (abi-x32-ld-soname): Likewise.
3466 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3467 entry.
3468 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3469
3470 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3471
3472 [BZ #14138]
3473 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3474 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3475 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3476 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3477 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3478 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3479 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3480 syscall entry for GLIBC_2.2 symbol version.
3481 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3484 (setrlimit): Likewise.
3485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3486 Likewise.
3487
3488 2014-09-23 Will Newton <will.newton@linaro.org>
3489
3490 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3491 _LINUX_ARM_SYSDEP_H include guard too.
3492 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3493 define.
3494
3495 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3496
3497 * sysdeps/unix/sysv/linux/eventfd.c:
3498 Make first argument unsigned.
3499 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3500 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3501
3502 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3503
3504 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3505 * socket/sys/socket.h: Likewise
3506 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3507
3508 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3509
3510 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3511
3512 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3513
3514 * time/tst-ftime.c: New test.
3515 * time/Makefile (tests): Add tst-ftime.
3516
3517 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3518
3519 * soft-fp/extended.h: Fix comment formatting.
3520 * soft-fp/op-1.h: Likewise.
3521 * soft-fp/op-2.h: Likewise.
3522 * soft-fp/op-4.h: Likewise.
3523 * soft-fp/op-8.h: Likewise.
3524 * soft-fp/op-common.h: Likewise.
3525 * soft-fp/soft-fp.h: Likewise.
3526
3527 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3528
3529 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3530
3531 [BZ #6652]
3532 * Makeconfig (soversions-default-setname): Remove variable.
3533 ($(common-objpfx)soversions.i): Don't pass default_setname to
3534 soversions.awk.
3535 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3536 oldest_abi to abi-versions.awk.
3537 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3538 * config.make.in (oldest-abi): Remove variable.
3539 * configure.ac (--enable-oldest-abi): Remove configure option.
3540 * configure: Regenerated.
3541 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3542 text.
3543 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3544 * scripts/soversions.awk: Do not handle default_setname variable.
3545 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3546 variable.
3547 * sysdeps/mach/hurd/configure: Regenerated.
3548 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3549 variable.
3550 * sysdeps/unix/sysv/linux/configure: Regenerated.
3551
3552 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3553
3554 * elf/Makefile (CFLAGS-interp.c): Remove.
3555 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3556 path string.
3557 * elf/interp.c: Include generated runtime-linker.h
3558
3559 * Makerules (lib%.so): Don't include $(+interp) in
3560 prerequisites.
3561 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3562 * dlfcn/eval.c: Remove file.
3563
3564 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3565 macros.
3566
3567 [BZ #17266]
3568 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3569 4.2 and newer.
3570
3571 [BZ #17370]
3572 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3573
3574 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3575 Jakub Jelinek <jakub@redhat.com>
3576
3577 [BZ #17266]
3578 * libio/stdio.h: Check definition of __fortify_function
3579 instead of __extern_always_inline to include bits/stdio2.h.
3580 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3581 check if __extern_always_inline is defined.
3582 [__USE_MISC || __USE_XOPEN]: Likewise.
3583 [__USE_ISOC99] Likewise.
3584 * misc/sys/cdefs.h (__fortify_function): Define only if
3585 __extern_always_inline is defined.
3586 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3587 __extern_always_inline and __extern_inline only for g++-4.3
3588 and newer or a compatible gcc.
3589
3590 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3591
3592 [BZ #17371]
3593 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3594 last change to handle zero prefix length.
3595
3596 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3597
3598 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3599 _SC_REGEX_VERSION.
3600
3601 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3602 _POSIX_RAW_SOCKETS.
3603
3604 2014-09-13 Allan McRae <allan@archlinux.org>
3605
3606 * po/ru.po: Update Russian translation from translation project.
3607
3608 2014-09-12 Roland McGrath <roland@hack.frob.com>
3609
3610 * locale/programs/locale.c (show_locale_vars): Inline local function
3611 into its sole call site. Clean up some style nits.
3612 (print_item): New function, broken out of ...
3613 (show_info): ... local function here. Clean up style nits.
3614
3615 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3616 out of ...
3617 (set_class_defaults): ... local function set_default here.
3618 Define set_default as a macro locally to pass constant parameters.
3619 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3620 rather than a shared local.
3621
3622 * stdlib/rpmatch.c (try): New function, broken out of ...
3623 (rpmatch): ... local function here. Also, prototypify definition.
3624
3625 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3626
3627 * scripts/soversions.awk: Do not handle configuration names.
3628 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3629 vendor and os variables to soversions.awk.
3630 * configure.ac: Do not modify gnu-* host_os.
3631 * configure: Regenerated
3632 * shlib-versions: Remove first column with configuration names.
3633 * nptl/shlib-versions: Likewise.
3634 * nptl_db/shlib-versions: Likewise.
3635 * sysdeps/hppa/shlib-versions: Likewise.
3636 * sysdeps/m68k/shlib-versions: Likewise.
3637 * sysdeps/mach/hurd/shlib-versions: Likewise.
3638 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3639 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3640 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3641 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3642 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3643 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3644 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3645 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3647 Likewise.
3648 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3649 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3650 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3651 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3652 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3653 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3654 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3655 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3656
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3658 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3660 Regenerated.
3661 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3663 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3664
3665 * shlib-versions: Remove OS-specific entries. Moved to files in
3666 sysdeps.
3667 * sysdeps/mach/hurd/shlib-versions: New file.
3668 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3669
3670 * nptl/shlib-versions: Remove architecture-specific entries.
3671 Moved to files in sysdeps.
3672 * shlib-versions: Likewise.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3674 file.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3676 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3678 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3679
3680 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3681 (UDP_NO_CHECK6_RX): Likewise.
3682
3683 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3684
3685 * sysdeps/posix/sysconf.c (__sysconf): Spell
3686 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3687
3688 2014-08-12 Florian Weimer <fweimer@redhat.com>
3689
3690 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3691 loading.
3692 * iconv/Versions (__gconv_transliterate): Export for use from
3693 gconv modules.
3694 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3695 (struct __gconv_trans_data, __gconv_trans_fct,
3696 __gconv_trans_context_fct, __gconv_trans_query_fct,
3697 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3698 definitions.
3699 (struct __gconv_step_data): Remove __trans member.
3700 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3701 longer hidden. Remove unused trans_data argument.
3702 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3703 (__gconv_translit_find): Remove declaration.
3704 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3705 prototype.
3706 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3707 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3708 trans_data argument. Add hidden definition.
3709 (__gconv_translit_find): Remove.
3710 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3711 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3712 * iconv/skeleton.c: Remove transliteration initialization.
3713 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3714 __gconv_step_data initialization.
3715 * libio/iofwide.c (__libio_translit_): Remove.
3716 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3717 * wcsmbs/btowc.c (__btowc): Likewise.
3718 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3719 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3720 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3721 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3722 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3723 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3724 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3725 * wcsmbs/wctob.c (wctob): Likewise.
3726
3727 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3728
3729 [BZ #16194]
3730 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3731 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3732 register usage.
3733 * sysdeps/x86/Makefile: Adjust.
3734
3735 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3736 Roland McGrath <roland@hack.frob.com>
3737
3738 * locale/weight.h: Add include guard.
3739 (findidx): Make static rather than auto; take new parameters
3740 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3741 * locale/weightwc.h: Likewise.
3742 * posix/fnmatch_loop.c
3743 (FCT): Change type of EXTRA from int32_t to wint_t.
3744 Don't include either header inside the function.
3745 Call FINDIDX rather than findidx, and pass new arguments.
3746 #undef FINDIDX at the end of the file.
3747 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3748 FINDIDX before including fnmatch_loop.c for the non-wide version.
3749 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3750 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3751 for the wide version.
3752 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3753 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3754 Pass new arguments to findidx.
3755 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3756 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3757 Don't #include it inside the function. Pass new arguments to findidx.
3758 * posix/regex_internal.h
3759 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3760 (re_string_elem_size_at): Don't #include it inside the function.
3761 Pass new arguments to findidx.
3762 * string/strcoll_l.c: #include WEIGHT_H at top level.
3763 (get_next_seq): Don't #include it inside the function.
3764 Pass new arguments to findidx.
3765 (get_next_seq_nocache): Likewise.
3766 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3767 (STRXFRM): Don't #include it inside the function.
3768 Pass new arguments to findidx.
3769
3770 2014-09-11 Florian Weimer <fweimer@redhat.com>
3771
3772 [BZ #17344]
3773 * malloc/malloc.c (unlink): Turn asserts into a call to
3774 malloc_printerr.
3775
3776 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3777
3778 [BZ #17370]
3779 * libio/wfileops (do_ftell_wide): Free OUT.
3780
3781 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3782
3783 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3784
3785 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3786
3787 [BZ #17363]
3788 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3789 group if the current group is empty.
3790
3791 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3792
3793 * benchtests/bench-memset.c (test_main): Add more test from size
3794 from 32 to 512 bytes.
3795 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3796 Add POWER8 memset object.
3797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3798 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3799 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3800 implementation.
3801 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3802 Likewise.
3803 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3804 multiarch POWER8 memset optimization.
3805 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3806 POWER8 memset optimization.
3807
3808 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3809 Remove bzero multiarch objects.
3810 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3811 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3813 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3814 Remove define.
3815 [__bzero]: Redefine to specific name.
3816 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3817 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3818 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3819 define.
3820 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3822
3823 2014-09-10 Florian Weimer <fweimer@redhat.com>
3824
3825 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3826 warnings into errors.
3827
3828 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3829 __cxa_thread_atexit_impl prototype.
3830
3831 2014-09-09 Steve Ellcey <sellcey@mips.com>
3832
3833 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3834 Fix capitalization of error message.
3835
3836 2014-09-09 Steve Ellcey <sellcey@mips.com>
3837
3838 * sysdeps/mips/preconfigure: Modify ABI tests.
3839
3840 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3841
3842 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3843
3844 2014-09-07 Roland McGrath <roland@hack.frob.com>
3845 Carlos O'Donell <carlos@systemhalted.org>
3846
3847 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3848 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3849 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3850 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3851 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3852 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3853 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3854 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3855 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3856 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3857 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3858 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3859 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3860 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3861 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3862 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3863 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3864 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3865 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3866 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3867 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3868 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3869 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3870 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3871 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3872 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3873 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3874 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3875 Deconditionalize the code that was previously under [RESET_PID].
3876 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3877 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3878 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3879 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3880 include sysdep.h.
3881
3882 2014-09-08 Allan McRae <allan@archlinux.org>
3883
3884 * version.h (RELEASE): Set to "development".
3885 (VERSION): Set to "2.20.90"
3886
3887 2014-09-07 Allan McRae <allan@archlinux.org
3888
3889 * version.h (RELEASE): Set to "stable".
3890 (VERSION): Set to "2.20"
3891 * include/features.h (__GLIBC_MINOR__): Set to 20.
3892
3893 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3894 Liebler.
3895
3896 * po/ko.po: Update Korean translation from translation project.
3897
3898 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3899
3900 [BZ #17354]
3901 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3902 macro for handling signed relocations.
3903
3904 2014-09-03 Florian Weimer <fweimer@redhat.com>
3905
3906 [BZ #17325]
3907 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3908 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3909 assert.
3910 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3911 * iconvdata/ibm935.c (BODY): Likewise.
3912 * iconvdata/ibm937.c (BODY): Likewise.
3913 * iconvdata/ibm939.c (BODY): Likewise.
3914 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3915 assert.
3916 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3917 script.
3918 * iconvdata/run-iconv-test.sh: New test loop for checking for
3919 decoder crashers.
3920
3921 2014-09-02 Khem Raj <raj.khem@gmail.com>
3922
3923 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3924 libm_hidden_ver.
3925
3926 2014-09-01 Allan McRae <allan@archlinux.org>
3927
3928 * po/eo.po: Update Esperanto translation from translation project.
3929
3930 * po/ca.po: Update Catalan translation from translation project.
3931
3932 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3933
3934 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3935 __proc_dostop call.
3936
3937 2014-08-27 Mark Wielaard <mjw@redhat.com>
3938
3939 [BZ #17319]
3940 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3941 to call set_thread_area instead of hand written asm.
3942 (__NR_set_thread_area): Removed define.
3943 (TLS_FLAG_WRITABLE): Likewise.
3944 (__ASSUME_SET_THREAD_AREA): Remove check.
3945 (TLS_EBX_ARG): Remove define.
3946 (TLS_LOAD_EBX): Likewise.
3947
3948 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3949
3950 Simplify atomicity of socket creation in bind.
3951
3952 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3953 looking up the name after linking the file.
3954
3955 2014-08-27 Allan McRae <allan@archlinux.org>
3956
3957 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3958
3959 2014-08-26 Florian Weimer <fweimer@redhat.com>
3960
3961 [BZ #17187]
3962 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3963 trans_compare, open_translit, __gconv_translit_find):
3964 Remove module loading code.
3965
3966 2014-08-26 Allan McRae <allan@archlinux.org>
3967
3968 * po/vi.po: Update Vietnamese translation from translation project.
3969
3970 * po/uk.po: Update Ukrainian translation from translation project.
3971
3972 * po/fr.po: Update French translation from translation project.
3973
3974 * po/ru.po: Update Russian translation from translation project.
3975
3976 * po/pl.po: Update Polish translation from translation project.
3977
3978 * po/cs.po: Update Czech translation from translation project.
3979
3980 * po/de.po: Update German translation from translation project.
3981
3982 * po/bg.po: Update Bulgarian translation from translation project.
3983
3984 * po/sv.po: Update Sweedish translation from translation project.
3985
3986 * po/nl.po: Update Dutch translation from translation project.
3987
3988 * po/es.po: Update Spanish translation from translation project.
3989
3990 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3991
3992 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3993
3994 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3995 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3996 (CPPFLAGS-iconvconfig): Likewise.
3997 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3998
3999 * include/libc-symbols.h: Remove unnecessary check for
4000 NOT_IN_libc.
4001 * nptl/pthreadP.h: Likewise.
4002 * sysdeps/aarch64/setjmp.S: Likewise.
4003 * sysdeps/alpha/setjmp.S: Likewise.
4004 * sysdeps/arm/sysdep.h: Likewise.
4005 * sysdeps/i386/setjmp.S: Likewise.
4006 * sysdeps/m68k/setjmp.c: Likewise.
4007 * sysdeps/posix/getcwd.c: Likewise.
4008 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4010 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4011 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4012 * sysdeps/sh/sh3/setjmp.S: Likewise.
4013 * sysdeps/sh/sh4/setjmp.S: Likewise.
4014 * sysdeps/unix/alpha/sysdep.h: Likewise.
4015 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4017 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4018 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4021 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4022 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4023 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4026 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4028 * sysdeps/x86_64/setjmp.S: Likewise.
4029
4030 2014-08-13 Joseph Myers <joseph@codesourcery.com>
4031
4032 [BZ #17263]
4033 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4034 <stdint.h>.
4035 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4036 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4037
4038 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4039
4040 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4041
4042 [BZ #17262]
4043 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4044 and __x86_64__ when disabling x87 inline functions.
4045
4046 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4047
4048 [BZ #17259]
4049 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4050 asm statement with __cpuid_count.
4051
4052 2014-08-12 Mike Frysinger <vapier@gentoo.org>
4053
4054 * configure.ac: Change __ehdr_start code to dereference the struct.
4055 Run readelf on the output to look for relocations.
4056 * configure: Regenerated.
4057
4058 2014-08-12 Joseph Myers <joseph@codesourcery.com>
4059
4060 [BZ #17261]
4061 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4062 value to 0.
4063 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4064
4065 2014-08-12 Roland McGrath <roland@hack.frob.com>
4066
4067 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4068
4069 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4070
4071 [BZ #16892]
4072 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4073 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4074
4075 2014-08-12 Sean Anderson <seanga2@gmail.com>
4076
4077 * malloc/malloc.c: Fix typo in comment.
4078
4079 2014-08-09 Allan McRae <allan@archlinux.org>
4080
4081 * Regenerate libc.po.
4082
4083 2014-08-08 Mike Frysinger <vapier@gentoo.org>
4084
4085 * intl/tst-gettext2.sh: Check every lang file for creation.
4086
4087 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4088
4089 * sysdeps/aarch64/fpu/math_private.h
4090 (libc_feholdsetround_noex_aarch64_ctx): New function.
4091
4092 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4093
4094 * sysdeps/arm/armv6/strcpy.S (strcpy):
4095 Fix performance issue in misaligned cases.
4096
4097 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4098
4099 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4100 Move definition from termios.h.
4101 (struct termio): Likewise.
4102 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4103 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4104 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4105 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4106 Likewise.
4107 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4108 Move definition to ioctl-types.h
4109 (struct termio): Likewise.
4110 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4111 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4112 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4113 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4114 Likewise.
4115
4116 2014-08-05 Richard Henderson <rth@redhat.com>
4117
4118 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4119 exceptions.
4120 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4121 Add fraiseexcpt.
4122 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4123 Use __feraiseexcept.
4124 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4125 Protect libm symbols with IS_IN_libm.
4126
4127 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4128
4129 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4130
4131 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4132
4133 2014-08-04 Will Newton <will.newton@linaro.org>
4134
4135 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4136 file.
4137
4138 2014-08-04 Mike Frysinger <vapier@gentoo.org>
4139
4140 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4141 variants for each function.
4142
4143 2014-08-04 Roland McGrath <roland@hack.frob.com>
4144
4145 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4146 appended ...
4147 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4148 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4149 appended ...
4150 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4151 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4152 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4153 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4154 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4155 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4156 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4157 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4158 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4159 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4160 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4164 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4166 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4168 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4169 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4170 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4171 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4172 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4173 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4174 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4175 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4176 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4177 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4178 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4179 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4180 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4181 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4182 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4184 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4185 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4186 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4187 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4188 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4189 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4190 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4191 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4192 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4193 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4194 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4195 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4196 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4197 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4198 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4199 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4200 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4201 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4202 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4203 Update #include.
4204 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4205 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4206
4207 2014-08-04 Roland McGrath <roland@hack.frob.com>
4208
4209 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4210 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4211 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4212 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4213 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4214 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4215
4216 2014-08-04 Roland McGrath <roland@hack.frob.com>
4217
4218 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4219 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4220 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4221 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4222
4223 2014-08-04 Roland McGrath <roland@hack.frob.com>
4224
4225 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4226 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4227 (__libc_vfork): Define function under this name.
4228 (__vfork): Define as an alias.
4229 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4230 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4231
4232 2014-08-04 Roland McGrath <roland@hack.frob.com>
4233
4234 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4235 that was previously under [RESET_PID].
4236 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4237
4238 2014-08-04 Andreas Schwab <schwab@suse.de>
4239
4240 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4241
4242 2014-08-03 Mike Frysinger <vapier@gentoo.org>
4243
4244 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4245 (main): Likewise.
4246
4247 2014-08-01 Roland McGrath <roland@hack.frob.com>
4248
4249 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4250
4251 2014-08-01 Richard Henderon <rth@redhat.com>
4252
4253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4254 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4255 typo in exact zero test.
4256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4259
4260 2014-08-01 Roland McGrath <roland@hack.frob.com>
4261
4262 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4263 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4264 * sysdeps/arm/sysdep.h: ... here.
4265 [!__ASSEMBLER__]: Include <stdint.h>.
4266
4267 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
4269 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4270 (HAVE_WCTYPE_H): Likewise.
4271 (HAVE_ISWCTYPE): Likewise.
4272 (ENABLE_NLS): Likewise.
4273 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4274 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4275
4276 * posix/regex_internal.c: Check if DEBUG is defined and is
4277 set.
4278
4279 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4280 (HAVE_MBSRTOWCS): Likewise.
4281 * posix/fnmatch.c: Include string.h unconditionally.
4282
4283 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4284
4285 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4286 reversal.
4287
4288 2014-07-31 Roland McGrath <roland@hack.frob.com>
4289
4290 * sysdeps/generic/safe-fatal.h: New file.
4291 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4292 * nptl/forward.c: Include it.
4293 (__pthread_unwind): Use __safe_fatal as default action, rather
4294 than a bogus use of INTERNAL_SYSCALL that could never work.
4295
4296 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4297 * configure.ac (libc_cv_builtin_trap): New test.
4298 * configure: Regenerated.
4299 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4300 (ABORT_INSTRUCTION): Define using __builtin_trap.
4301
4302 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4303 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4304 * sysdeps/nptl/nptl-signals.h: New file.
4305 * nptl/pthreadP.h: Include <nptl-signals.h>.
4306
4307 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4308
4309 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4310 (ONE_DIRECTION): Define.
4311 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4312 (ONE_DIRECTION): Define.
4313 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4314 (ONE_DIRECTION): Define.
4315
4316 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4317
4318 * sysdeps/s390/Makefile: Delete file.
4319 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4320 * sysdeps/s390/__longjmp.c: Delete file.
4321 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4322 Remove fields __flags and __reserved.
4323 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4324 and add versioning.
4325 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4326 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4327 * sysdeps/s390/rtld-setjmp.S: Likewise.
4328 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4329 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4330 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4331 * sysdeps/s390/s390-32/setjmp.S: ... here.
4332 Add versioning.
4333 (__sigsetjmp): Remove setting __flags field.
4334 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4335 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4336 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4337 * sysdeps/s390/s390-64/setjmp.S: ... here.
4338 Add versioning.
4339 (__sigsetjmp): Remove setting __flags field.
4340 * sysdeps/s390/setjmp.S: Delete file.
4341 * sysdeps/s390/sigjmp.c: Likewise.
4342 * sysdeps/s390/v1-longjmp.c: Likewise.
4343 * sysdeps/s390/v1-setjmp.h: Likewise.
4344 * sysdeps/s390/v1-sigjmp.c: Likewise.
4345 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4346 Remove v1-longjmp_chk.
4347 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4348 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4349 Include debug/longjmp_chk.c and add versioning.
4350 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4351 Include nptl/pt-longjmp.c and add versioning.
4352 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4353 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4354 Include __longjmp.c.
4355 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4356 Move to ...
4357 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4358 (__getcontext): Remove setting __flags field.
4359 Add versioning.
4360 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4361 Don't restore upper high grps.
4362 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4363 Likewise.
4364 (__swapcontext): Remove setting uc_flags field.
4365 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4366 Delete file.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4368 Include __longjmp.c.
4369 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4370 Move to ...
4371 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4372 (__getcontext): Remove setting __flags field.
4373 Add versioning.
4374 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4375 (__swapcontext): Remove setting uc_flags field.
4376 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4377 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4378 Remove fields uc_high_gprs and __reserved.
4379 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4380 New file with reverted content.
4381 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4383 Regenerated.
4384 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4385 Regenerated.
4386
4387 2014-07-31 Andreas Schwab <schwab@suse.de>
4388
4389 * config.h.in (HAVE_IFUNC): Define to 0.
4390 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4391 definedness.
4392
4393 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4394
4395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4396 memmove-avx-unaligned, memcpy-avx-unaligned and
4397 mempcpy-avx-unaligned.
4398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4399 Add tests for AVX memcpy functions.
4400 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4401 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4402 memcpy_chk.
4403 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4404 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4405 memmove_chk.
4406 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4407 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4408 mempcpy_chk.
4409 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4410 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4411 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4412
4413 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4414
4415 [BZ #17213]
4416 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4417 powerpc64le.
4418
4419 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
4420
4421 [BZ #16839]
4422 * manual/llio.texi: Add section about open file description locks.
4423 * manual/examples/ofdlocks.c: Example of open file description
4424 lock usage.
4425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4426 F_OFD_SETLK, and F_OFD_SETLKW.
4427
4428 2014-07-23 Allan McRae <allan@archlinux.org>
4429
4430 * po/es.po: Update Spanish translation from translation project.
4431
4432 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4433
4434 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4435
4436 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4437
4438 [BZ #17078]
4439 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4440 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4441 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4442
4443 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4444
4445 [BZ #17088]
4446 * math/fesetenv.c (__fesetenv)
4447 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4448 * math/feupdateenv.c (__feupdateenv)
4449 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4450
4451 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4452 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4453 (__ASSUME_SOCKETCALL): Do not define.
4454
4455 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4456 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4457 (__ASSUME_SOCKETCALL): Do not define.
4458 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4459 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4460 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4461 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4462 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4463 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4464 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4465 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4466
4467 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4468 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4469 (__ASSUME_SOCKETCALL): Do not define.
4470 (__ASSUME_IPC64): Define unconditionally.
4471 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4472 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4473 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4474 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4475 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4476 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4477 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4478 Likewise.
4479
4480 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4481 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4482 (__ASSUME_SOCKETCALL): Do not define.
4483 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4484 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4485 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4486 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4487 (__ASSUME_REQUEUE_PI): Define unconditionally.
4488 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4489 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4490 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4491 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4492 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4493 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4494
4495 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4496 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4497 (__ASSUME_SOCKETCALL): Do not define.
4498 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4499 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4500 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4501 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4502 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4503 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4504
4505 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4506 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4507 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4508 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4509 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4510 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4511 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4512 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4513 (__ASSUME_GETCPU_SYSCALL): Likewise.
4514
4515 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4516 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4517 cases for individual architectures.
4518 * sysdeps/gnu/configure: Regenerated.
4519 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4520 LIBC_SLIBDIR_RTLDDIR.
4521 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4522 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4523 LIBC_SLIBDIR_RTLDDIR.
4524 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4526 LIBC_SLIBDIR_RTLDDIR.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4528 Regenerated.
4529 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4530 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4531 file.
4532 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4533 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4534 file.
4535 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4536 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4537 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4538 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4539
4540 * sysdeps/aarch64/shlib-versions: Move to ...
4541 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4542 * sysdeps/alpha/shlib-versions: Move to ...
4543 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4544 * sysdeps/arm/shlib-versions: Move to ...
4545 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4546 * sysdeps/hppa/shlib-versions: Move all contents except for
4547 libgcc_s entry to ...
4548 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4549 entry from ...
4550 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4551 * sysdeps/ia64/shlib-versions: Move to ...
4552 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4553 entry from ...
4554 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4555 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4556 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4557 * sysdeps/microblaze/shlib-versions: Move to ...
4558 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4559 * sysdeps/mips/shlib-versions: Move to ...
4560 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4561 entry from ...
4562 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4563 * sysdeps/tile/shlib-versions: Move to ...
4564 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4565 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4566 from ...
4567 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4568 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4569 entry from ...
4570 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4571
4572 2014-07-17 Will Newton <will.newton@linaro.org>
4573
4574 * sysdeps/arm/bits/atomic.h
4575 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4576 (__arch_compare_and_exchange_bool_16_int): Likewise.
4577 (__arch_compare_and_exchange_bool_64_int): Likewise.
4578
4579 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4580 into an #else block.
4581
4582 2014-07-16 Roland McGrath <roland@hack.frob.com>
4583
4584 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4585 just Linux configurations. Test empirically that the compiler sets
4586 __ARM_EABI__, rather than using the tuple to decide.
4587 * sysdeps/arm/preconfigure: Regenerated.
4588 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4589 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4590 contents appended ...
4591 * sysdeps/arm/configure.ac: ... here.
4592 * sysdeps/arm/configure: Regenerated.
4593
4594 2014-07-15 Roland McGrath <roland@hack.frob.com>
4595
4596 * nptl/pthread_kill.c: New file.
4597 * nptl/pthread_sigmask.c: New file.
4598 * nptl/pthread_sigqueue.c: New file.
4599
4600 * sysdeps/nptl/lowlevellock.h: New file.
4601 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4602 * sysdeps/nptl/lowlevellock-futex.h: New file.
4603
4604 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4605 Remove dead declarations.
4606
4607 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4608
4609 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4610 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4611 config-cflags-avx2.
4612 * sysdeps/x86_64/configure.ac: Likewise.
4613 * sysdeps/i386/configure: Regenerated.
4614 * sysdeps/x86_64/configure: Likewise.
4615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4616 memset-avx2 only if config-cflags-avx2 is yes.
4617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4618 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4619 defined.
4620 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4621 only if HAVE_AVX2_SUPPORT is defined.
4622 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4623
4624 2014-07-14 Alan Modra <amodra@gmail.com>
4625
4626 [BZ #17153]
4627 * elf/elf.h (DT_PPC64_NUM): Correct value.
4628 * NEWS: Add to fixed bug list.
4629
4630 2014-07-13 Jim Meyering <meyering@fb.com>
4631
4632 [BZ 17150]
4633 regex: don't deref NULL upon heap allocation failure
4634 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4635 failure in one more place.
4636 To trigger the segfault, configure grep -with-included-regex,
4637 build it, and run these commands:
4638 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4639
4640 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4641
4642 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4643
4644 2014-07-11 Richard Henderson <rth@redhat.com>
4645
4646 * sysdeps/aarch64/libm-test-ulps: Update.
4647
4648 2014-07-10 Florian Weimer <fweimer@redhat.com>
4649
4650 [BZ #17135]
4651 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4652 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4653 (__nptl_setxid): Initialize error member. Call
4654 __nptl_setxid_error.
4655 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4656 * nptl/descr.h (struct xid_command): Add error member.
4657 * nptl/tst-setuid3.c: New file.
4658 * nptl/Makefile (tests): Add it.
4659
4660 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661
4662 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4663 New define.
4664 (__lll_trylock): Use __lll_base_trylock.
4665 (__lll_cond_trylock): Likewise.
4666
4667 2014-07-10 Roland McGrath <roland@hack.frob.com>
4668
4669 * nptl/pthread_create.c (start_thread): Use atomic_or and
4670 lll_futex_wake directly rather than lll_robust_dead.
4671 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4672 (lll_robust_dead): Macro removed.
4673 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4674 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4675 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4676 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4677 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4678 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4679 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4680 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4681 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4682 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4683 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4684 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4685 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4686 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4687 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4688
4689 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4690 Use atomic_compare_and_exchange_val_acq directly rather than
4691 lll_robust_trylock.
4692 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4693 (__lll_robust_trylock, lll_robust_trylock): Removed.
4694 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4695 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4697 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4698 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4699 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4700 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4701 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4702 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4703 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4704 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4705 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4706 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4708
4709 2014-07-02 Florian Weimer <fweimer@redhat.com>
4710
4711 * manual/locale.texi (Locale Names): New section documenting
4712 locale name syntax. Adjust menu and node chaining accordingly.
4713 (Choosing Locale): Reference Locale Names, Locale Categories.
4714 Mention setting LC_ALL=C. Reflect that name syntax is now
4715 documented.
4716 (Locale Categories): New section title. Reference Locale Names.
4717 LC_ALL is an environment variable, but not a category.
4718 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4719 description, now in Locale Name. Reference that section. Locale
4720 name syntax is now documented.
4721
4722 2014-07-02 Florian Weimer <fweimer@redhat.com>
4723
4724 [BZ #17137]
4725 * locale/findlocale.c (name_present, valid_locale_name): New
4726 functions.
4727 (_nl_find_locale): Use the loc_name variable to store name
4728 candidates. Call name_present and valid_locale_name to check and
4729 validate locale names. Return an error if the locale is invalid.
4730
4731 2014-07-02 Florian Weimer <fweimer@redhat.com>
4732
4733 * locale/setlocale.c (setlocale): Use strdup for allocating
4734 composite name copy.
4735
4736 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4737
4738 Sync up with gnulib.
4739 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4740 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4741 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4742 and _GL_ARG_NONNULL.
4743 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4744 [!_LIBC]: Include code for Windows and Cygwin.
4745 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4746 Include prototype for int strerror_r.
4747 [!_LIBC] (is_open): New function.
4748 (flush_stdout): New function.
4749 (print_errno_message): Use it.
4750 (error): Likewise.
4751 (error_at_line): Likewise.
4752 (error_tail) Add function attribute macros. Use
4753 __builtin_expect.
4754
4755 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4756
4757 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4758
4759 * io/ftw.c: Include sys/param.h unconditionally.
4760
4761 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4762
4763 [BZ #17125]
4764 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4765 libc_freeres_ptr.
4766 (freecache): New function to free CACHE on exit.
4767
4768 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4769 initialization.
4770
4771 2014-07-09 David S. Miller <davem@davemloft.net>
4772
4773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4774
4775 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4776 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4777 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4778 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4779 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4780 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4781 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4782 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4783 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4784 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4785 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4786 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4787 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4788
4789 2014-07-09 Andreas Schwab <schwab@suse.de>
4790
4791 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4792 output.
4793 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4794 (do_test): Likewise.
4795
4796 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4797
4798 2014-07-09 Will Newton <will.newton@linaro.org>
4799
4800 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4801 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4802 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4803 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4804 * sysdeps/hppa/start.S (_start): Likewise.
4805
4806 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
4808 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4809
4810 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4811 defined.
4812
4813 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
4815 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4816 after checking that it is non-NULL.
4817
4818 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4819
4820 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821
4822 * sysdeps/powerpc/memmove.c: Remove file.
4823 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4824 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4825 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4826 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4827 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4828 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4829 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4830 string memmove instead of removed powerpc one.
4831
4832 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4833 [weak_alias]: Fix compiler warning due trailing data.
4834 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4835 [weak_alias]: Likewise.
4836 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4837 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4838
4839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4840 (__libc_ifunc_impl_list): Add memmove functions.
4841
4842 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4843
4844 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4845 Remove code.
4846 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4847 Likewise
4848 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4849 Likewise
4850 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4851 Likewise
4852 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4853 Likewise
4854 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4855 Likewise
4856 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4857 Likewise
4858 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4859 Likewise
4860 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4861 Likewise
4862 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4863 Likewise
4864 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4865 Likewise
4866 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4867 Likewise
4868 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4869 Likewise
4870 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4871 Likewise
4872 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4873 Likewise
4874 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4875 Likewise
4876 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4877 Likewise
4878
4879 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880
4881 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4882 to avoid alignment traps in non-cacheable memory.
4883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4884
4885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4886 multiarch objects.
4887 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4888 file: multiarch power7 memmove.
4889 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4890 multiarch default memmove.
4891 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4892 multiarch memove for powerpc32/power4.
4893
4894 * string/bcopy.c: Use full path to include memmove.c.
4895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4896 multiarch objects.
4897 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4898 bcopy for powerpc64.
4899 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4900 bcopy for powerpc64.
4901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4902 and memmove implementations.
4903 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4904 optimized multiarch memmove for POWER7/powerpc64.
4905 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4906 default multiarch memmove for powerpc64.
4907 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4908 multiarch for powerpc64.
4909 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4910 for POWER7/powerpc64.
4911 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4912 memmove for POWER7/powerpc64.
4913
4914 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4915 glibc default one.
4916
4917 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4918 __ELF_NATIVE_CLASS equal to 64.
4919
4920 2014-07-07 Roland McGrath <roland@hack.frob.com>
4921
4922 * sysdeps/nptl/lowlevellock.h: File removed.
4923
4924 * NEWS: NPTL is no longer an add-on!
4925 * nptl/internaltypes.h: Moved ...
4926 * sysdeps/nptl/internaltypes.h: ... here.
4927 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4928 * sysdeps/nptl/fork.c: Likewise.
4929 * sysdeps/nptl/gai_misc.h: Likewise.
4930 * sysdeps/nptl/librt-cancellation.c: Likewise.
4931 * sysdeps/nptl/jmp-unwind.c: Likewise.
4932 * sysdeps/nptl/setxid.h: Likewise.
4933 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4934 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4935 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4936 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4937 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4938 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4939 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4940 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4941 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4942 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4943 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4944 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4945 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4946 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4947 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4948 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4949 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4950 * nptl/Makeconfig: Moved ...
4951 * sysdeps/nptl/Makeconfig: ... here.
4952 * nptl/configure: File removed.
4953 * nptl/ANNOUNCE: File removed.
4954 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4955 * sysdeps/unix/sysv/linux/configure: Regenerated.
4956
4957 * nptl/Makefile (routines): Add libc_pthread_init,
4958 libc_multiple_threads, register-atfork and unregister-atfork.
4959 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4960 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4961 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4962 pthread-pi-defines.sym, structsem.sym.
4963 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4964 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4965 [$(subdir) = nptl] (tests): Add tst-setgetname.
4966 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4967 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4968 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4969 [!LIBC_SIGACTION]: Remove aliases.
4970 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4971 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4972 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4973 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4974 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4975 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4978 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4979 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4980 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4981 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4982 __libc_allocate_rtsig_private.
4983 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4984 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4985 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4986 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4987 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4988 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4989 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4990 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4991 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4992 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4993 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4994 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4995 * nptl/internaltypes.h: ... here.
4996 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4997 * sysdeps/nptl/jmp-unwind.c: ... here.
4998 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4999 * nptl/libc-lowlevellock.c: ... here.
5000 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5001 * nptl/libc_multiple_threads.c: ... here.
5002 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5003 * nptl/libc_pthread_init.c: ... here.
5004 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5005 * nptl/lowlevelbarrier.sym: ... here.
5006 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5007 * nptl/lowlevelcond.sym: ... here.
5008 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5009 * nptl/lowlevellock.c: ... here.
5010 * nptl/lowlevellock.h: Moved ...
5011 * sysdeps/nptl/lowlevellock.h: ... here.
5012 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5013 * nptl/lowlevelrobustlock.c: ... here.
5014 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5015 * nptl/lowlevelrobustlock.sym: ... here.
5016 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5017 * nptl/lowlevelrwlock.sym: ... here.
5018 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5019 * nptl/pt-fork.c: ... here.
5020 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5021 * nptl/pthread-pi-defines.sym: ... here.
5022 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5023 * nptl/pthread_attr_getaffinity.c: ... here.
5024 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5025 * nptl/pthread_attr_setaffinity.c: ... here.
5026 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5027 * nptl/pthread_mutex_cond_lock.c: ... here.
5028 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5029 Update #include.
5030 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5031 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5032 * nptl/pthread_once.c: ... here, replacing old file.
5033 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5034 * nptl/pthread_yield.c: ... here.
5035 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5036 * nptl/register-atfork.c: ... here.
5037 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5038 * nptl/sem_post.c: ... here.
5039 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5040 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5041 * nptl/sem_timedwait.c: ... here.
5042 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5043 * nptl/sem_trywait.c: ... here.
5044 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5045 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5046 * nptl/sem_wait.c: ... here.
5047 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5048 * nptl/structsem.sym: ... here.
5049 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5050 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5051 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5052 * nptl/unregister-atfork.c: ... here.
5053 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5054 * nptl/unwindbuf.sym: ... here.
5055 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5056 * sysdeps/nptl/fork.c: ... here.
5057 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5058 * sysdeps/nptl/fork.h: ... here.
5059 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5060 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5061 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5062 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5063 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5064 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5065 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5066 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5067 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5068 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5069 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5070 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5071 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5072 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5073 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5074 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5075 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5076 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5077 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5078 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5079 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5080 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5081 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5082 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5083 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5084 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5085 * sysdeps/unix/sysv/linux/raise.c: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5087 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5088 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5089 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5090 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5091 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5092 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5093 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5094 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5095 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5096 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5097 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5098 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5099 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5100 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5101
5102 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5103
5104 * sysdeps/generic/memcopy.h: Add comment for
5105 MEMCPY_OK_FOR_FWD_MEMMOVE.
5106
5107 2014-07-04 Will Newton <will.newton@linaro.org>
5108
5109 * string/memchr.c: Merge from gnulib.
5110 [_LIBC]: Remove conditionals.
5111 (__ptr_t): Remove define.
5112 (LONG_MAX_32_BITS): Likewise.
5113 (LONG_MAX): Likewise.
5114 (MEMCHR): Use ANSI prototype and optimize algorithm.
5115
5116 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5117
5118 2014-07-03 Roland McGrath <roland@hack.frob.com>
5119
5120 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5121 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5122
5123 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5124 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5125 in a bare environment with no <stdlib.h> installed.
5126 * sysdeps/nptl/configure: Regenerated.
5127
5128 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5129
5130 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5131 AC_EGREP_CPP for kernel header checks, so they only succeed if
5132 including <linux/version.h> actually works right.
5133 * sysdeps/unix/sysv/linux/configure: Regenerated.
5134
5135 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5136 value so it's not diagnosed as unused.
5137
5138 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5139 thing) with "ifeq ($(subdir),rt)".
5140
5141 2014-07-03 Richard Henderson <rth@redhat.com>
5142
5143 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5144 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5145 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5146
5147 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5148 (math_force_eval): New.
5149
5150 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5151 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5152
5153 * sysdeps/alpha/fpu/s_round.c: Remove file.
5154 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5155
5156 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5157 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5158 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5159 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5160 (_dl_start, print_statistics): Likewise.
5161 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5162 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5163
5164 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5165 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5166 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5167 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5168 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5169 (HP_SMALL_TIMING_AVAIL): Define.
5170 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5171 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5172 (HP_SMALL_TIMING_AVAIL): Define.
5173 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5174 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5175
5176 * sysdeps/aarch64/hp-timing.h: New file.
5177
5178 * sysdeps/generic/hp-timing.h: Remove dead comment.
5179 * sysdeps/generic/hp-timing-common.h: New file.
5180 * sysdeps/alpha/hp-timing.h: Include it.
5181 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5182 * sysdeps/i386/i686/hp-timing.h: Likewise.
5183 * sysdeps/ia64/hp-timing.h: Likewise.
5184 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5185 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5186 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5187 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5188 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5189 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5190 (hp_timing_t): New.
5191
5192 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5193 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5194 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5195 * elf/rtld.c (_dl_start_final): Likewise.
5196 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5197 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5198 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5199 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5200 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5201 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5202 (HP_TIMING_DIFF_INIT): Remove.
5203 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5204 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5205 (HP_TIMING_DIFF_INIT): Remove.
5206 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5207 * sysdeps/i386/i686/hp-timing.c: Remove file.
5208 * sysdeps/x86_64/hp-timing.c: Remove file.
5209 * sysdeps/ia64/hp-timing.c: Remove file.
5210 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5211 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5212 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5213 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5214
5215 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5216 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5217 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5218 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5219 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5220 (HP_TIMING_ACCUM): Remove.
5221 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5222 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5223 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5224
5225 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5226 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5227 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5228 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5230 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5231 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5232 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5233
5234 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5235
5236 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5237
5238 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5239
5240 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5241
5242 Sync up with gettext.
5243 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5244 [_MSC_VER]: Include malloc.h
5245 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5246 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5247 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5248 TEMP_FAILURE_RETRY. Cast return of alloca.
5249 [!_LIBC] Call gl_rwlock_init.
5250 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5251
5252 2014-07-02 Roland McGrath <roland@hack.frob.com>
5253
5254 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5255 before checking its value.
5256
5257 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
5259 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5260
5261 * debug/memcpy_chk.c: Don't include pagecopy.h.
5262 * debug/mempcpy_chk.c: Likewise.
5263 * string/memcpy.c: Likewise.
5264 * string/memmove.c: Likewise.
5265 * sysdeps/powerpc/memmove.c: Likewise.
5266 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5267 definition of PAGE_COPY_FWD_MAYBE here...
5268 * sysdeps/generic/pagecopy.h: ... from here.
5269 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5270
5271 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5272 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
5274 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5276 optimizations.
5277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5278 (__libc_ifunc_impl_list): Likewise.
5279 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5280 multiarch strcat for PPC64.
5281 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5282 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5283
5284 2014-07-02 Roland McGrath <roland@hack.frob.com>
5285
5286 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5287
5288 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5289
5290 * intl/loadmsgcat.c: Remove declaration of
5291 get_sysdep_segment_value.
5292 (get_sysdep_segment_value): Use ISO C style.
5293 (_nl_load_domain): Use ISO C style. Get rid of redundant
5294 semicolon. Fix typo and formatting in comment.
5295 (_nl_unload_domain): Use ISO C style.
5296
5297 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5298
5299 2014-07-02 Will Newton <will.newton@linaro.org>
5300
5301 * malloc/obstack.c: Merge from gnulib master.
5302 [HAVE_CONFIG_H]: Remove conditional code.
5303 [!_LIBC]: Include config.h.
5304 [!ELIDE_CODE]: Don't include inttypes.h, include
5305 stdint.h unconditionally.
5306 (print_and_abort): Mark as _Noreturn.
5307 (_obstack_allocated_p): Mark as __attribute_pure__.
5308 (obstack_free): Rename to __obstack_free.
5309 [!__attribute__]: Remove conditional code.
5310 * malloc/obstack.h: Merge from gnulib master.
5311 [__cplusplus]: Move conditional down.
5312 [!__attribute_pure__]: Define __attribute_pure__ here
5313 if it is not already defined.
5314 (_obstack_memory_used): Mark as __attribute_pure__.
5315 [!__obstack_free]: Define as obstack_free.
5316 [__GNUC__]: Remove check for ancient NeXT gcc.
5317
5318 2014-07-02 Will Newton <will.newton@linaro.org>
5319 Paul Eggert <eggert@cs.ucla.edu>
5320
5321 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5322
5323 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5324
5325 * resolv/gethnamaddr.c: Add comment warning that the file is
5326 not maintained.
5327
5328 2014-07-01 Carlos O'Donell <carlos@redhat.com>
5329
5330 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5331 entries.
5332
5333 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5334 entry for aio_cancel and aio_cancel64.
5335 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5336 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5337 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5338 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5339 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5340 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5341 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5342 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5343 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5344 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5345 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5346 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5347 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5348
5349 2014-07-01 Roland McGrath <roland@hack.frob.com>
5350
5351 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5352 * nptl/pthread_mutex_lock.c: Likewise.
5353 * nptl/pthread_mutex_timedlock.c: Likewise.
5354 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5355
5356 2014-07-01 Richard henderson <rth@redhat.com>
5357
5358 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5359 (__isnan, __isnanl): Remove.
5360 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5361
5362 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5363
5364 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5365
5366 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5367
5368 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
5370 * resolv/nss_dns/dns-host.c (getanswer_r)
5371 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5372
5373 2014-07-01 Joseph Myers <joseph@codesourcery.com>
5374
5375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5376 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5377 undefine.
5378 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5379 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5380
5381 2014-07-01 Roland McGrath <roland@hack.frob.com>
5382
5383 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5384 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5385
5386 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5387 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5388
5389 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5390 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5391 ... here.
5392 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5393 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5394
5395 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5396 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5397 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5398 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5399
5400 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5401 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5402 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5403 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5405 Moved ...
5406 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5407 ... here.
5408 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5409 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5410 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5411 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5413 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5423 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5428 ... here.
5429 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5430 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5432 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5433 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5434 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5435 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5436 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5437
5438 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5439
5440 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5441 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5442 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5443 Add sysdep.
5444
5445 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
5447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5448
5449 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5450
5451 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5452 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5453
5454 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5455
5456 * sysdeps/arm/libm-test-ulps: Regenerated.
5457
5458 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5459 Roland McGrath <roland@hack.frob.com>
5460
5461 * test-skeleton.c (signal_handler): Kill the whole process group
5462 before killing the child individually.
5463 (main): Report any failure on `setpgid'.
5464
5465 2014-06-30 Roland McGrath <roland@hack.frob.com>
5466
5467 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5468 from _TLS_H to _ARM_NPTL_TLS_H.
5469 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5470 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5471
5472 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5473
5474 [BZ #16539]
5475 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5476 (__expm1l): Return argument unchanged when small but not
5477 subnormal.
5478
5479 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5480 include macro name.
5481 (_FP_UNPACK_RAW_1_P): Likewise.
5482 (_FP_PACK_RAW_1): Likewise.
5483 (_FP_PACK_RAW_1_P): Likewise.
5484 (_FP_MUL_MEAT_1_wide): Likewise.
5485 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5486 (_FP_MUL_MEAT_1_hard): Likewise.
5487 (_FP_DIV_MEAT_1_imm): Likewise.
5488 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5489 (_FP_DIV_MEAT_1_udiv): Likewise.
5490 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5491 (_FP_UNPACK_RAW_2): Likewise.
5492 (_FP_UNPACK_RAW_2_P): Likewise.
5493 (_FP_PACK_RAW_2): Likewise.
5494 (_FP_PACK_RAW_2_P): Likewise.
5495 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5496 (_FP_MUL_MEAT_2_wide): Likewise.
5497 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5498 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5499 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5500 (_FP_MUL_MEAT_2_gmp): Likewise.
5501 (_FP_DIV_MEAT_2_udiv): Likewise.
5502 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5503 (_FP_FRAC_SRL_4): Likewise.
5504 (_FP_FRAC_SRST_4): Likewise.
5505 (_FP_FRAC_SRS_4): Likewise.
5506 (_FP_UNPACK_RAW_4): Likewise.
5507 (_FP_UNPACK_RAW_4_P): Likewise.
5508 (_FP_PACK_RAW_4): Likewise.
5509 (_FP_PACK_RAW_4_P): Likewise.
5510 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5511 (_FP_MUL_MEAT_4_wide): Likewise.
5512 (_FP_MUL_MEAT_4_gmp): Likewise.
5513 (umul_ppppmnnn): Likewise.
5514 (_FP_DIV_MEAT_4_udiv): Likewise.
5515 (__FP_FRAC_ADD_4): Likewise.
5516 (__FP_FRAC_SUB_3): Likewise.
5517 (__FP_FRAC_SUB_4): Likewise.
5518 (__FP_FRAC_DEC_3): Likewise.
5519 (__FP_FRAC_DEC_4): Likewise.
5520 (__FP_FRAC_ADDI_4): Likewise.
5521 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5522 (_FP_FRAC_SRL_8): Likewise.
5523 (_FP_FRAC_SRS_8): Likewise.
5524
5525 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5526 include macro name.
5527 (FP_UNPACK_RAW_EP): Likewise.
5528 (FP_PACK_RAW_E): Likewise.
5529 (FP_PACK_RAW_EP): Likewise.
5530 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5531 (_FP_ISSIGNAN): Likewise.
5532 (_FP_ADD_INTERNAL): Likewise.
5533 (_FP_FMA): Likewise.
5534 (_FP_CMP): Likewise.
5535 (_FP_SQRT): Likewise.
5536 (_FP_TO_INT): Likewise.
5537 (_FP_FROM_INT): Likewise.
5538 (FP_EXTEND): Likewise.
5539 (_FP_DIV_MEAT_N_loop): Likewise.
5540
5541 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5542
5543 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5544 throughout.
5545
5546 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5547
5548 [BZ #17097]
5549 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5550 result with correct sign in case of exponents that produce
5551 overflow except for X very close to 1.
5552
5553 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5554
5555 mktime: merge #if/#ifdef usage from glibc
5556 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5557 as that works with both Glibc's and Gnulib's style.
5558 See thread starting at Siddhesh Poyarekar's bug report at:
5559 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5560
5561 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5562
5563 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5564 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5565 * sysdeps/tile/tilegx/memmove.c: Remove file.
5566
5567 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5568
5569 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5570 abi-name definition.
5571 * scripts/soversions.awk: Do not handle or generate ABI lines.
5572 * shlib-versions: Remove ABI entries.
5573 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5574 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5575
5576 2014-06-27 Roland McGrath <roland@hack.frob.com>
5577
5578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5579 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5581 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5583 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5585 Moved ...
5586 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5587 ... here.
5588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5589 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5591 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5593 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5595 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5596 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5597 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5599 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5600 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5601 Moved ...
5602 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5604 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5606 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5608 Moved ...
5609 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5611 Moved ...
5612 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5614 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5616 Moved ...
5617 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5619 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5621 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5623 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5625 Moved ...
5626 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5628 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5629 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5630 Moved ...
5631 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5632 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5633 Moved ...
5634 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5635 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5636 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5637 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5638 Moved ...
5639 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5640 ... here.
5641 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5642 Identical file removed.
5643 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5644 Moved ...
5645 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5647 Identical file removed.
5648 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5649 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5651 Moved ...
5652 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5654 Identical file removed.
5655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5656 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5657 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5658 Identical file removed.
5659 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5662 Identical file removed.
5663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5664 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5666 Identical file removed.
5667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5668 Moved ...
5669 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5671 Identical file removed.
5672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5673 Moved ...
5674 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5676 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5678 Identical file removed.
5679 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5680 Moved ...
5681 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5682 ... here.
5683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5684 Identical file removed.
5685 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5686 Moved ...
5687 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5688 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5689 Identical file removed.
5690 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5691 Moved ...
5692 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5693 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5696 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5698 Moved ...
5699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5700 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5701 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5702
5703 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5704 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5705 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5706 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5707 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5708
5709 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5710
5711 [BZ #17092]
5712 * nscd/nscd.c (monitor_child): Return exit status of child
5713 instead of return value from wait syscall.
5714
5715 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5716
5717 * configure.ac (libc_commonpagesize): Remove variable.
5718 (libc_relro_required): Likewise.
5719 (libc_cv_z_relro): Remove configure test.
5720 * configure: Regenerated.
5721 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5722 variable.
5723 (libc_relro_required): Likewise.
5724 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5725 (libc_relro_required): Likewise.
5726 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5727 (libc_relro_required): Likewise.
5728 * sysdeps/arm/preconfigure: Regenerated.
5729 * sysdeps/ia64/preconfigure: Remove file.
5730 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5731 variable.
5732 (libc_relro_required): Likewise.
5733
5734 [BZ #16561]
5735 [BZ #16562]
5736 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5737 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5738 recompute overflowing results in original rounding mode.
5739 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5740 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5741 recompute overflowing results in original rounding mode.
5742 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5743 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5744 recompute overflowing results in original rounding mode.
5745 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5746 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5747 recompute overflowing results in original rounding mode.
5748 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5749 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5750 recompute overflowing results in original rounding mode.
5751 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5752 (libc_feholdsetround_ctx): New macro.
5753 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5754 * sysdeps/i386/fpu/libm-test-ulps: Update.
5755 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5756
5757 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5758
5759 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5760 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5761 corresponding .cpsetup call.
5762
5763 2014-06-26 Roland McGrath <roland@hack.frob.com>
5764
5765 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5766 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5767 * sysdeps/arm/Makefile [$(subdir) = csu]
5768 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5769 (static-only-routines): Add aeabi_read_tp here.
5770 (shared-only-routines): Add libc-aeabi_read_tp here.
5771 (CFLAGS-libc-start.c): Add -fexceptions here.
5772 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5773 (sysdep_routines, static-only-routines, shared-only-routines):
5774 Don't add to these here.
5775 (CFLAGS-libc-start.c): Likewise.
5776
5777 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5778 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5779 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5780 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5781 * sysdeps/arm/Makefile [$(subdir) = rt]
5782 (librt-sysdep_routines, librt-shared-only-routines):
5783 Append rt-aeabi_unwind_cpp_pr1 here.
5784 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5785 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5786 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5787 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5788 Append nptl-aeabi_unwind_cpp_pr1 here.
5789 (tests): Filter out tst-cleanupx4 here.
5790 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5791 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5792 Don't do those here.
5793
5794 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5795
5796 * scripts/list-sources.sh: Do not handle ports specially.
5797
5798 2014-06-26 Roland McGrath <roland@hack.frob.com>
5799
5800 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5801 * sysdeps/arm/feupdateenv.c: Likewise.
5802
5803 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5804
5805 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5806
5807 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5808 trailing whitespace removed.
5809 * scripts/config.guess: Update to version 2014-03-23.
5810 * scripts/config.sub: Update to version 2014-05-01
5811 * scripts/install-sh: Update to version 2013-12-25.23.
5812 * scripts/move-if-change: Update from gnulib.
5813
5814 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5815
5816 * debug/memmove_chk.c: Remove pagecopy.h include.
5817
5818 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5819
5820 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5821 identical to gnulib mktime.
5822
5823 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5824
5825 * configure.ac: Do not test for machine being rs6000. Do not test
5826 for powerpc*-*soft.
5827 * configure: Regenerated.
5828
5829 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5830 test.
5831 * configure: Regenerated.
5832 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5833 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5834 Remove configure test.
5835 * sysdeps/arm/configure: Regenerated.
5836 * sysdeps/nptl/configure.ac: Do not check
5837 libc_cv_asm_cfi_directives.
5838 * sysdeps/nptl/configure: Regenerated.
5839 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5840 * sysdeps/x86_64/nptl/configure: Remove generated file.
5841 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5842 unconditional.
5843 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5844
5845 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5846
5847 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5848 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5849 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5850 it is defined.
5851
5852 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5853 instead of whether it is defined.
5854 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5855 * sysdeps/hppa/dl-machine.h: Likewise.
5856 * sysdeps/ia64/dl-machine.h: Likewise.
5857 * sysdeps/m68k/dl-machine.h: Likewise.
5858 * sysdeps/microblaze/dl-machine.h: Likewise.
5859 * sysdeps/mips/dl-machine.: Likewise.
5860 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5861 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5862 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5863 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5864 * sysdeps/sh/dl-machine.h: Likewise.
5865 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5867 * sysdeps/tile/dl-machine.h: Likewise.
5868 * sysdeps/x86_64/dl-machine.h: Likewise.
5869
5870 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5871 code.
5872 (verify_persistent_db): Likewise.
5873
5874 2014-06-26 Roland McGrath <roland@hack.frob.com>
5875
5876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5877 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5881 Moved ...
5882 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5883 ... here.
5884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5887 Identical file removed.
5888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5893 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5895 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5897 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5899 Moved ...
5900 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5906 Moved ...
5907 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5909 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5911 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5913 Identical file removed.
5914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5915 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5917 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5919 Moved ...
5920 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5921 ... here.
5922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5923 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5925 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5927 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5931 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5933 Moved ...
5934 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5936 Moved ...
5937 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5939 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5941 Moved ...
5942 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5944 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5945
5946 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5947 folded into ...
5948 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5949 * sysdeps/unix/sysv/linux/s390/Versions
5950 (libpthread: GLIBC_2.19): New version set.
5951 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5952 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5953 (librt: GLIBC_2.3.3): New version set.
5954 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5956 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5958 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5959 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5960 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5961 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5962 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5963 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5964 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5966 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5967 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5968 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5969 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5970 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5972 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5973 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5974 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5975 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5976 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5977 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5978 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5979 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5980 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5982 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5984 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5990 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5992 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5994 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5996 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5998 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5999
6000 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6001 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6002 (__libc_vfork): Define the function under this name.
6003 [!NOT_IN_libc] (__vfork): Make this an alias.
6004 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6005 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6006 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6007 (__libc_vfork): Define the function under this name.
6008 [!NOT_IN_libc] (__vfork): Make this an alias.
6009 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6010 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6011 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6012 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6013 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6014 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6015
6016 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6017 code that was previously under [RESET_PID].
6018 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6019 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6021
6022 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6023 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6024 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6025 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6026 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6027 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6028 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6029 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6030 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6031 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6032 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6033 Moved ...
6034 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6042 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6043 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6044 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6045 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6046 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6047 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6048 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6049 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6050 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6052 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6053 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6054 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6055 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6056 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6057 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6058 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6059 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6060 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6061 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6062 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6063
6064 2014-06-25 Roland McGrath <roland@hack.frob.com>
6065
6066 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6067 that was previously under [RESET_PID].
6068 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6069
6070 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6071
6072 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6073 not undefine and redefine.
6074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6075 [O_CLOEXEC]: Make code unconditional.
6076 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6077 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6078 <kernel-features.h>.
6079 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6080 conditional variable definition.
6081 (shm_open) [O_CLOEXEC]: Make code unconditional.
6082 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6083 code.
6084
6085 * configure.ac (USE_REGPARMS): Don't define here.
6086 * configure: Regenerated.
6087 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6088 * sysdeps/i386/configure: Regenerated.
6089
6090 * nptl/createthread.c: Don't include kernel-features.h.
6091 * nptl/pthread_cancel.c: Likewise.
6092 * nptl/pthread_condattr_setclock.c: Likewise.
6093 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6094 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6095 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6096 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6097 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6098 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6099 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6101 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6102 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6103 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6104 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6105 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6106 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6107 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6108 * nscd/gai.c: Likewise.
6109 * nss/nss_db/db-open.c: Likewise.
6110 * sysdeps/generic/ldsodefs.h: Likewise.
6111 * sysdeps/sh/nptl/tls.h: Likewise.
6112 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6113 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6114 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6115 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6116 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6117 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6118 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6119 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6120 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6121 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6122 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6123 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6124 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6125 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6126 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6127 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6128 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6129 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6130 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6131 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6132 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6133 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6134 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6135 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6136 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6137 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6138 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6140 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6141 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6142 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6143 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6144 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6145 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6146 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6147 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6148 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6149 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6150 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6151 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6152 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6153 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6154 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6155 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6156 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6157 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6158 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6159 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6160 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6161 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6162 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6163 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6164 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6165 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6166 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6167 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6168 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6169 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6192 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6193 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6194 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6195 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6196 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6197 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6198 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6199 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6200 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6201 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6202 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6203 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6204 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6205 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6206 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6207 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6209 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6210 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6211 * sysdeps/unix/sysv/linux/system.c: Likewise.
6212 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6213 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6214 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6215 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6216 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6217 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6218 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6219
6220 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6221 * configure: Regenerated.
6222 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6223
6224 * configure.ac (base_machine): Do not set specially for particular
6225 machines here.
6226 * configure: Regenerated.
6227 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6228 settings from configure.ac.
6229 * sysdeps/i386/preconfigure: New file.
6230 * sysdeps/s390/preconfigure: Likewise.
6231 * sysdeps/sh/preconfigure: Likewise.
6232 * sysdeps/sparc/preconfigure: Likewise.
6233
6234 2014-06-25 Roland McGrath <roland@hack.frob.com>
6235
6236 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6237 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6238 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6239 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6240 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6241 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6242 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6243 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6244 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6245 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6246 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6247 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6248 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6249 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6250 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6251 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6252 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6253 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6254 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6255
6256 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6257 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6258 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6259 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6260 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6261 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6262 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6263 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6264 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6265 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6266 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6267 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6268 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6269 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6270 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6271 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6272 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6273 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6274 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6275 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6276 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6277 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6278 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6279 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6280 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6281 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6283 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6284 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6285 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6286 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6287 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6288 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6289 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6290 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6291 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6292 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6293 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6294
6295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6296 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6298 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6300 Moved ...
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6302 ... here.
6303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6304 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6306 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6308 Moved ...
6309 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6311 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6313 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6315 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6317 Moved ...
6318 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6320 Moved ...
6321 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6323 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6325 Moved ...
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6328 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6330 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6332 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6334 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6336 Moved ...
6337 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6338 ... here.
6339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6340 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6342 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6344 Moved ...
6345 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6349 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6351 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6353 Moved ...
6354 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6356 Moved ...
6357 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6359 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6361 Moved ...
6362 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6364 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6366 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6367
6368 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6369
6370 * timezone/checktab.awk: Update from tzcode 2014e.
6371 * timezone/private.h: Likewise.
6372 * timezone/tzfile.h: Likewise.
6373 * timezone/zdump.c: Likewise.
6374 * timezone/zic.c: Likewise.
6375
6376 * sysdeps/unix/sysv/linux/kernel-features.h
6377 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6378 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6379 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6380 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6381 Remove conditional code.
6382
6383 2014-06-25 Will Newton <will.newton@linaro.org>
6384
6385 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6386 (_dl_arm_cap_flags): Add HWCAP2 values.
6387 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6388 (_DL_HWCAP_COUNT): Increase to 37.
6389 (_DL_HWCAP_LAST): New define.
6390 (_DL_HWCAP2_LAST): New define.
6391 (_dl_procinfo): Add support for printing
6392 AT_HWCAP2 entries.
6393 (_dl_string_hwcap): Use _dl_hwcap_string.
6394
6395 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6398
6399 2014-06-25 Joseph Myers <joseph@codesourcery.com>
6400
6401 * README: Do not mention ports directory.
6402
6403 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6404 Remove macro.
6405 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6406 <kernel-features.h>.
6407 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6408 conditional variable definition.
6409 (__futimes): Update comment.
6410 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6411 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6412
6413 [BZ #16560]
6414 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6415 arguments close to 0.
6416 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6417 Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6419 Likewise.
6420 * math/auto-libm-test-in: Add more tests of exp10.
6421 * math/auto-libm-test-out: Regenerated.
6422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6423
6424 * sysdeps/unix/sysv/linux/kernel-features.h
6425 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6426 * sysdeps/unix/sysv/linux/readv.c: Do not include
6427 <kernel-features.h>.
6428 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6429 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6430 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6431 unconditional.
6432 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6433 conditional code.
6434 * sysdeps/unix/sysv/linux/writev.c: Do not include
6435 <kernel-features.h>.
6436 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6437 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6438 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6439 unconditional.
6440 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6441 conditional code.
6442
6443 2014-06-25 Will Newton <will.newton@linaro.org>
6444
6445 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6446 comment changes throughout the file. Remove checks
6447 for HAVE_*_H definitions that are not required.
6448 (__gen_tempname): Call abort if an unknown kind value is
6449 passed.
6450
6451 2014-06-25 Andreas Schwab <schwab@suse.de>
6452
6453 [BZ #17086]
6454 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6455 scalbln, scalblnf, scalblnl in libc.
6456
6457 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6458
6459 [BZ #17086]
6460 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6461 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6462 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6463
6464 2014-06-24 Roland McGrath <roland@hack.frob.com>
6465
6466 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6467 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6468 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6469 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6470 Update #include.
6471 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6472 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6473 Update #include.
6474 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6475 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6476 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6477 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6478 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6479 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6480 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6481 * sysdeps/x86/bits/semaphore.h: ... here.
6482 * sysdeps/x86/nptl/elide.h: Moved ...
6483 * sysdeps/x86/elide.h: ... here.
6484 * sysdeps/x86_64/nptl/Implies: File removed.
6485 * sysdeps/i386/nptl/Implies: File removed.
6486
6487 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6488
6489 [BZ #16539]
6490 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6491 return the argument for normal arguments with exponent below -64.
6492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6493 Likewise.
6494 * math/auto-libm-test-in: Add another test of expm1.
6495 * math/auto-libm-test-out: Regenerated.
6496
6497 [BZ #16287]
6498 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6499 calling __erfcl for arguments at least 16.
6500 * math/auto-libm-test-in: Add more tests of erf.
6501 * math/auto-libm-test-out: Regenerated.
6502
6503 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6504 individual architectures.
6505 * sysdeps/unix/sysv/linux/configure: Regenerated.
6506 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6507 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6508 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6509 (ldd_rewrite_script): Define variable.
6510 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6512 file.
6513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6514 generated file.
6515 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6516 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6517 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6518 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6519 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6520 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6521 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6522 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6523
6524 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6525
6526 [BZ #17084]
6527 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6528 Rename member __data.d to __data.__elision_data.
6529
6530 2014-06-24 Wilco <wdijkstr@arm.com>
6531
6532 * NEWS: Add 16918 to fixed bug list.
6533
6534 2014-06-24 Wilco <wdijkstr@arm.com>
6535
6536 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6537
6538 2014-06-24 Wilco <wdijkstr@arm.com>
6539
6540 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6541 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6542 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6543 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6544 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6545 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6546 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6547 Use _FPU_MASK_RM.
6548
6549 2014-06-24 Wilco <wdijkstr@arm.com>
6550
6551 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6552
6553 2014-06-24 Wilco <wdijkstr@arm.com>
6554
6555 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6556 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6557 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6558 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6559
6560 2014-06-24 Wilco <wdijkstr@arm.com>
6561
6562 [BZ #16918]
6563 * sysdeps/arm/feupdateenv.c (feupdateenv):
6564 Rewrite to reduce FPSCR accesses and fix return value.
6565
6566 2014-06-24 Wilco <wdijkstr@arm.com>
6567
6568 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6569 Optimize to avoid unnecessary FPSCR writes.
6570 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6571 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6572 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6573 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6574
6575 2014-06-24 Wilco <wdijkstr@arm.com>
6576
6577 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6578 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6579 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6580 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6581 Call libc_fetestexcept_vfp.
6582 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6583 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6584 __SOFTFP__ ifdef so that they can be built for softfp.
6585
6586 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6587
6588 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6589 argument type signed char.
6590
6591 * Makerules (check-abi): Dump diff of symlist if the test
6592 fails.
6593
6594 2014-06-23 Roland McGrath <roland@hack.frob.com>
6595
6596 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6597 using abort.
6598
6599 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6600 Remove unused variable ST.
6601
6602 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6603
6604 [BZ #16354]
6605 [BZ #17061]
6606 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6607 small arguments before calling __expm1.
6608 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6609 small arguments before calling __expm1f.
6610 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6611 small arguments before calling __expm1l.
6612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6613 Likewise.
6614 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6615 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6616 spurious underflow for some cosh tests.
6617 * math/auto-libm-test-out: Regenerated.
6618 * sysdeps/i386/fpu/libm-test-ulps: Update.
6619
6620 [BZ #17050]
6621 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6622 (__ieee754_y1): Set errno if return value overflows.
6623 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6624 (__ieee754_y1f): Set errno if return value overflows.
6625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6626 (__ieee754_y1l): Set errno if return value overflows.
6627 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6628 (__ieee754_y1l): Set errno if return value overflows.
6629 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6630 * math/auto-libm-test-out: Regenerated.
6631
6632 * math/gen-auto-libm-tests.c: Document use of
6633 ignore-zero-inf-sign.
6634 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6635 (input_flags): Add ignore-zero-inf-sign.
6636 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6637 * math/gen-libm-test.pl (generate_testfile): Handle
6638 ignore-zero-inf-sign.
6639 * math/auto-libm-test-in: Mark some cpow tests with
6640 ignore-zero-inf-sign and some with xfail-rounding.
6641 * math/auto-libm-test-out: Regenerated.
6642 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6643 * sysdeps/i386/fpu/libm-test-ulps: Update.
6644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6645
6646 [BZ #16315]
6647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6648 overflowing or underflowing operations take place with sign of
6649 result.
6650 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6651 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6652 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6653 (__ieee754_pow): Recompute overflowing and underflowing results in
6654 original rounding mode.
6655 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6656 (__powl_helper): Allow negative argument X and scale negated value
6657 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6659 overflowing or underflowing operations take place with sign of
6660 result.
6661 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6662 Include <math.h>.
6663 * math/auto-libm-test-in: Add more tests of pow.
6664 * math/auto-libm-test-out: Regenerated.
6665 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6666 (pow_tonearest_test_data): Remove.
6667 (pow_test_tonearest): Likewise.
6668 (pow_towardzero_test_data): Likewise.
6669 (pow_test_towardzero): Likewise.
6670 (pow_downward_test_data): Likewise.
6671 (pow_test_downward): Likewise.
6672 (pow_upward_test_data): Likewise.
6673 (pow_test_upward): Likewise.
6674 (main): Don't call removed functions.
6675 * sysdeps/i386/fpu/libm-test-ulps: Update.
6676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6677
6678 2014-06-23 Roland McGrath <roland@hack.frob.com>
6679
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6681 Moved ...
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6684 Moved ...
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6687 Moved ...
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6690 Moved ...
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6693 File removed.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6695 File removed.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6697 File removed.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6699 File removed.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6701 File removed.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6703 File removed.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6705 File removed.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6707 File removed.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6709 File removed.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6711 File removed.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6713 File removed.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6715 File removed.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6717 Moved ...
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6720 Moved ...
6721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6722 ... here.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6724 Moved ...
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6727 Moved ...
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6730 Moved ...
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6733 Moved ...
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6736 Moved ...
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6739 Moved ...
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6742 Moved ...
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6746 ... here.
6747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6748 Moved ...
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6751 Moved ...
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6753 ... here.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6755 Moved ...
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6757 ... here.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6759 Moved ...
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6761 ... here.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6763 Moved ...
6764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6766 Moved ...
6767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6771 Moved ...
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6773 ... here.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6775 Moved ...
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6777 ... here.
6778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6779 Moved ...
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6782 Moved ...
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6785 Moved ...
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6788 Moved ...
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6791 Moved ...
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6793 ... here.
6794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6795 Moved ...
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6798 Moved ...
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6801 Moved ...
6802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6804 Moved ...
6805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6809 Moved ...
6810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6812 Moved ...
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6815 Moved ...
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6817 ... here.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6819 Moved ...
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6821 ... here.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6823 Moved ...
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6825 ... here.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6827 Moved ...
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6830 Moved ...
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6833 Moved ...
6834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6836 Moved ...
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6838 ... here.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6840 Moved ...
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6842 ... here.
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6844 Moved ...
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6846 ... here.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6848 Moved ...
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6851 Moved ...
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6853
6854 2014-06-23 Will Newton <will.newton@linaro.org>
6855 Wilco <wdijkstr@arm.com>
6856
6857 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6858 implementation. Include get-rounding-mode.h.
6859 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6860 [!libc_feholdsetround_noex_ctx]: Define
6861 libc_feholdsetround_noex_ctx.
6862 [!libc_feholdsetround_noexf_ctx]: Define
6863 libc_feholdsetround_noexf_ctx.
6864 [!libc_feholdsetround_noexl_ctx]: Define
6865 libc_feholdsetround_noexl_ctx.
6866 (libc_feholdsetround_ctx): New function.
6867 (libc_feresetround_ctx): New function.
6868 (libc_feholdsetround_noex_ctx): New function.
6869 (libc_feresetround_noex_ctx): New function.
6870
6871 2014-06-23 Roland McGrath <roland@hack.frob.com>
6872
6873 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6874 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6875 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6876 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6877 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6878 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6879
6880 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6881 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6882 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6883 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6884 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6885 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6886 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6887 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6888 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6889 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6891 Moved ...
6892 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6893 ... here.
6894 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6897 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6899 Moved ...
6900 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6901 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6902 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6903 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6904 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6905 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6906 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6908 Moved ...
6909 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6911 Moved ...
6912 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6914 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6916 Moved ...
6917 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6919 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6920 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6921 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6922 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6923 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6924 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6925 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6926 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6927 Moved ...
6928 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6929 ... here.
6930 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6931 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6935 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6937 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6938 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6939 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6941 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6942 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6943 Moved ...
6944 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6945 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6946 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6947 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6948 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6950 Moved ...
6951 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6953 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6954 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6955 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6956
6957 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6958 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6959 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6960 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6962 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6963 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6964 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6965 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6966 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6968 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6970 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6971 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6972 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6973 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6974 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6975 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6976 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6977 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6978 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6979 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6980 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6981 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6982 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6983 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6984 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6985
6986 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6987
6988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6989 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6990 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6991 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6992 (IPV6_PMTUDISC_INTERFACE): Likewise.
6993 (IPV6_PMTUDISC_OMIT): Likewise.
6994
6995 2014-06-23 Andreas Schwab <schwab@suse.de>
6996
6997 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6998 Remove unused errout label.
6999
7000 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001
7002 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7003 macro: hardware supports Vector Crypto instructions.
7004
7005 2014-06-23 Will Newton <will.newton@linaro.org>
7006
7007 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7008 rather than __builtin_expect.
7009
7010 * elf/dl-lookup.c (undefined_msg): Remove variable.
7011 (_dl_lookup_symbol_x): Replace undefined_msg with string
7012 literal.
7013
7014 * elf/dl-lookup.c (do_lookup_unique): New function.
7015 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7016 to a separate function.
7017
7018 2014-06-23 Andreas Schwab <schwab@suse.de>
7019
7020 [BZ #17079]
7021 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7022 before reading the next line.
7023
7024 2014-06-23 Will Newton <will.newton@linaro.org>
7025
7026 * test-skeleton.c (signal_handler): Use printf and %m
7027 rather than perror. Use printf rather than fprintf to
7028 stderr. Use puts rather than fputs to stderr.
7029 (main): Likewise.
7030
7031 2014-06-22 Ludovic Courtès <ludo@gnu.org>
7032
7033 * nscd/nscd.c (thread_info_t): Remove typedef.
7034 (thread_info): Remove variable.
7035
7036 2014-06-21 Allan McRae <allan@archlinux.org>
7037
7038 * NEWS: Mention CVE-2014-4043.
7039
7040 2014-06-20 Roland McGrath <roland@hack.frob.com>
7041
7042 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7043 * nptl/smp.h: ... here.
7044
7045 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7046
7047 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7048 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7049 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7050 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7051
7052 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7053 * nptl/stack-aliasing.h: New file.
7054 * sysdeps/i386/i686/stack-aliasing.h: New file.
7055 * sysdeps/i386/i686/nptl/Makefile: File removed.
7056 * sysdeps/x86_64/stack-aliasing.h: New file.
7057 * sysdeps/x86_64/nptl/Makefile
7058 (CFLAGS-pthread_create.c): Variable removed.
7059
7060 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7061 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7062 old file.
7063 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7064 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7065 old file.
7066
7067 2014-06-21 Joseph Myers <joseph@codesourcery.com>
7068
7069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7070 (__ASSUME_SIGFRAME_V2): Remove macro.
7071 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7072 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7073 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7074 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7075 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7076 Declare as function. Remove conditional macro definitions.
7077 (__default_rt_sa_restorer): Likewise.
7078 (__default_sa_restorer_v1): Remove declaration.
7079 (__default_sa_restorer_v2): Likewise.
7080 (__default_rt_sa_restorer_v1): Likewise.
7081 (__default_rt_sa_restorer_v2): Likewise.
7082 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7083 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7084 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7085
7086 2014-06-20 Roland McGrath <roland@hack.frob.com>
7087
7088 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7089 (libpthread-routines): Add sysdep.
7090 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7091 * sysdeps/unix/sysv/linux/sparc/Versions
7092 (libpthread: GLIBC_2.3.3): New version set.
7093 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7094 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7095 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7096 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7097 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7098 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7099 Moved ...
7100 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7101 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7102 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7104 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7106 * sysdeps/sparc/nptl/sem_init.c: ... here.
7107 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7108 * sysdeps/sparc/nptl/sem_post.c: ... here.
7109 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7110 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7111 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7112 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7113 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7114 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7115 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7116 (libpthread-routines): Add cpu_relax.
7117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7118 File removed.
7119 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7120 (librt: GLIBC_2.3.3): New version set.
7121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7122 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7123 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7124 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7127 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7129 Moved ...
7130 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7132 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7134 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7136 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7138 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7140 Moved ...
7141 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7142 Update #include.
7143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7144 Moved ...
7145 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7146 Update #include.
7147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7148 Moved ...
7149 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7150 Update #include.
7151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7152 Moved ...
7153 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7154 Update #include.
7155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7156 Moved ...
7157 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7158 Update #include.
7159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7160 Moved ...
7161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7162 Update #include.
7163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7164 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7170 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7172 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7174 Moved ...
7175 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7177 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7179 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7180
7181 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7182
7183 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7184 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7185 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7186 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7187 * nscd/nscd.c: Likewise.
7188 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7189 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7190 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7191 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7192
7193 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7194 <kernel-features.h>.
7195 (init_mq_netlink): Remove conditional have_sock_cloexec
7196 definitions. Remove code conditional on have_sock_cloexec < 0.
7197 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7198 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7199 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7200 <kernel-features.h>.
7201 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7202 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7203
7204 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7205
7206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7207 Add tests for memset_chk and memset.
7208
7209 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7210 with AVX2_Usable.
7211
7212 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7213
7214 [BZ #16046]
7215 * elf/tst-dl-iter-static.c: New file.
7216 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7217
7218 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7219 error.
7220
7221 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7222
7223 * sysdeps/unix/sysv/linux/kernel-features.h
7224 (__ASSUME_F_GETOWN_EX): Remove macro.
7225 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7226 <kernel-features.h>.
7227 (miss_F_GETOWN_EX): Remove variable or macro.
7228 (do_fcntl): Do not check miss_F_GETOWN_EX.
7229 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7230
7231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7232 Remove macro.
7233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7234 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7235 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7236
7237 * sysdeps/unix/sysv/linux/kernel-features.h
7238 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7239 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7240 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7241 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7242
7243 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7244
7245 [BZ #17075]
7246 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7247 Fix calculation of the symbol's value.
7248 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7249 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7250 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7251 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7252 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7253 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7254 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7255 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7256 (modules-names): Add `tst-armtlsdescmod',
7257 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7258 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7259 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7260 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7261 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7262 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7263 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7264 ($(objpfx)tst-armtlsdescloc): New dependency.
7265 ($(objpfx)tst-armtlsdescextnow): Likewise.
7266 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7267 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7268 TLS scheme support.
7269 * sysdeps/arm/configure: Regenerate.
7270
7271 2014-06-20 Joseph Myers <joseph@codesourcery.com>
7272
7273 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7274 (__atfct_seterrno_2): Likewise.
7275 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7276 <kernel-features.h>.
7277 (__ASSUME_ATFCTS): Do not undefine and redefine.
7278 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7279 (__have_atfcts): Remove conditional definition.
7280 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7281 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7282 unreachable if [__ASSUME_ATFCTS].
7283 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7284 not undefine and redefine.
7285 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7286 <kernel-features.h>.
7287 (faccessat) [__NR_faccessat]: Make code unconditional.
7288 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7289 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7290 <kernel-features.h>.
7291 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7292 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7293 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7294 <kernel-features.h>.
7295 (fchownat) [__NR_fchownat]: Make code unconditional.
7296 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7297 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7298 <kernel-features.h>.
7299 (futimesat) [__NR_futimesat]: Make code unconditional.
7300 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7301 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7302 <kernel-features.h>.
7303 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7304 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7305 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7306 <kernel-features.h>.
7307 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7308 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7310 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7311 <kernel-features.h>.
7312 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7313 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7314 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7315 <kernel-features.h>.
7316 (linkat) [__NR_linkat]: Make code unconditional.
7317 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7318 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7319 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7320 <kernel-features.h>.
7321 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7322 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7323 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7324 <kernel-features.h>.
7325 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7326 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7327 * sysdeps/unix/sysv/linux/openat.c: Do not include
7328 <kernel-features.h>.
7329 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7330 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7331 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7332 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7333 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7334 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7335 <kernel-features.h>.
7336 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7337 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7338 result of INLINE_SYSCALL directly, not via int variable.
7339 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7340 <kernel-features.h>.
7341 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7342 (renameat) [__NR_renameat]: Make code unconditional.
7343 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7344 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7345 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7346 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7347 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7348 (__ASSUME_ATFCTS): Do not undefine and redefine.
7349 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7350 <kernel-features.h>.
7351 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7352 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7353 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7354 <kernel-features.h>.
7355 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7356 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7357 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7358 (__ASSUME_ATFCTS): Do not undefine and redefine.
7359 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7360 <kernel-features.h>.
7361 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7362 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7363 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7364 <kernel-features.h>.
7365 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7366 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7367
7368 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7369
7370 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7371
7372 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7373
7374 [BZ #17069]
7375 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7376 constructed tree before returning error.
7377 * posix/bug-regexp36.c: Expand test case.
7378
7379 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7380
7381 [BZ #6803]
7382 * math/libm-test.inc (scalbln_test_date):
7383 Add errno expectations.
7384 * math/w_scalblnf.c: New File.
7385 Add wrapper which checks for setting errno to ERANGE.
7386 Add weak_alias for corresponding scalbln function.
7387 * math/w_scalbln.c: Likewise.
7388 * math/w_scalblnl.c: Likewise.
7389 * math/Makefile (libm-calls): Add w_scalbln.
7390 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7391 Remove weak_alias for corresponding scalbln function.
7392 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7394 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7396 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7397 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7398 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7399 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7400 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7401 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7402 Remove long_double_symbol for scalblnl function in libm, libc.
7403 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7404 Add wrapper which checks for setting errno to ERANGE.
7405 Add long_double_symbol for scalblnl function in libm, libc.
7406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7407 Remove long_double_symbol for scalblnl in libm.
7408 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7409 Add wrapper which checks for setting errno to ERANGE.
7410 Add long_double_symbol for scalblnl function in libm.
7411 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7412 Do not use wrapper because of own implementation.
7413
7414 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7415
7416 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7417 3 bytes for __pad1 for x32.
7418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7419
7420 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7421 H.J. Lu <hongjiu.lu@intel.com>
7422
7423 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7424 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7425 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7426 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7427 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7428
7429 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7430
7431 [BZ #17069]
7432 * posix/regcomp.c (parse_expression): Deallocate partially
7433 constructed tree before returning error.
7434 * posix/Makefile.c (tests): Add bug-regex36.
7435 (generated): Add bug-regex36.mtrace.
7436 (tests-special): Add $(objpfx)bug-regex36-mem.out
7437 (bug-regex36-ENV): New variable.
7438 ($(objpfx)bug-regex36-mem.out): New rule.
7439 * posix/bug-regex36.c: New file.
7440
7441 2014-06-19 Will Newton <will.newton@linaro.org>
7442
7443 * malloc/malloc.c (systrim): If extra is zero then return
7444 early.
7445
7446 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7447
7448 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7449
7450 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7451
7452 * sysdeps/aarch64/strchr.S: New file.
7453
7454 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7455
7456 [BZ #17022]
7457 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7458 from arguments -2 or below.
7459 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7460 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7461
7462 2014-06-18 Andreas Schwab <schwab@suse.de>
7463
7464 [BZ #17062]
7465 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7466 of a bracket expr not to run off the end of the string.
7467 * posix/Makefile (tests): Add tst-fnmatch3.
7468 * posix/tst-fnmatch3.c: New file.
7469
7470 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7471
7472 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7473 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7474 [$(cross-compiling) = no]: Likewise.
7475 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7476 [$(cross-compiling) = no]: Likewise.
7477
7478 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7479
7480 [BZ #17031]
7481 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7482 double, adjusted for any remainder from the high double.
7483 * math/libm-test.inc (nearbyint): Add tests.
7484 (rint): Likewise.
7485
7486 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7487
7488 * nptl/sysdeps/powerpc/Makefile: Moved ...
7489 * sysdeps/powerpc/nptl/Makefile: ... here.
7490 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7491 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7492 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7493 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7494 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7495 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7496 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7497 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7498 * nptl/sysdeps/powerpc/tls.h: Moved ...
7499 * sysdeps/powerpc/nptl/tls.h: ... here.
7500
7501 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7502
7503 [BZ #16681]
7504 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7505 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7506 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7507 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7508 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7509 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7510 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7511 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7512 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7513
7514 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7515
7516 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7517
7518 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7519
7520 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7521 defined operator.
7522
7523 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7524 $TIMEOUTFACTOR.
7525
7526 2014-06-16 Florian Weimer <fweimer@redhat.com>
7527
7528 [BZ #17058]
7529 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7530 non-executed part of the test.
7531
7532 2014-06-16 Andreas Schwab <schwab@suse.de>
7533
7534 * string/bits/string2.h (strdup, strndup): Update feature guard.
7535
7536 2014-06-14 David S. Miller <davem@davemloft.net>
7537
7538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7539
7540 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7541
7542 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7543 that was previously under [RESET_PID].
7544 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7545
7546 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7547 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7548 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7549 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7550 (__libc_vfork): New strong alias.
7551 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7552
7553 2014-06-14 Andi Kleen <ak@linux.intel.com>
7554
7555 * sysdeps/generic/elide.h: New file.
7556
7557 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7558
7559 * Makefile (installed-headers): Adjust path of pthread.h header.
7560
7561 2014-06-13 Roland McGrath <roland@hack.frob.com>
7562
7563 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7564 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7565 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7566 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7567
7568 * nptl/sysdeps/s390/Makefile: Moved ...
7569 * sysdeps/s390/nptl/Makefile: ... here.
7570 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7571 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7572 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7573 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7574 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7575 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7576 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7577 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7578 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7579 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7580 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7581 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7582 * nptl/sysdeps/s390/tls.h: Moved ...
7583 * sysdeps/s390/nptl/tls.h: ... here.
7584
7585 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7586 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7587
7588 2014-06-13 David S. Miller <davem@davemloft.net>
7589
7590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7593 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7597 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7598 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7599 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7600 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7601 Remove RESET_PID cpp guards.
7602 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7603 Remove RESET_PID cpp guards.
7604 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7605
7606 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7607
7608 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7609 __sp to uintptr_t.
7610
7611 2014-06-13 Andi Kleen <ak@linux.intel.com>
7612
7613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7614 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7615 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7616 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7618 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7619 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7620 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7623 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7625 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7628 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7629 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7630 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7633
7634 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7635 (pthread_rwlock_rdlock): Add elision.
7636 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7637 (pthread_rwlock_wrlock): Add elision.
7638 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7639 (pthread_rwlock_trywrlock): Add elision.
7640 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7641 (pthread_rwlock_tryrdlock): Add elision.
7642 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7643 (pthread_rwlock_tryrdlock): Add elision unlock.
7644 * nptl/sysdeps/pthread/pthread.h:
7645 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7646 (PTHREAD_RWLOCK_INITIALIZER,
7647 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7648 Handle new elision field.
7649 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7650 * sysdeps/arm/nptl/bits/pthreadtypes.h
7651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7652 * sysdeps/sh/nptl/bits/pthreadtypes.h
7653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7654 * sysdeps/tile/nptl/bits/pthreadtypes.h
7655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7656 * sysdeps/a/nptl/bits/pthreadtypes.h
7657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7658 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7660 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7662 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7664 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7666 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7668 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7670 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7672 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7674 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7675 (elision_init): Set try_xbegin to zero when no RTM.
7676 * sysdeps/x86/nptl/bits/pthreadtypes.h
7677 (pthread_rwlock_t): Change __pad1 to __rwelision.
7678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7679
7680 2014-06-13 Andi Kleen <ak@linux.intel.com>
7681
7682 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7683 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7684 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7685 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7686
7687 2014-06-13 Meador Inge <meadori@codesourcery.com>
7688
7689 [BZ #16996]
7690 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7691 that the cached result has been set before returning it.
7692
7693 2014-06-12 Roland McGrath <roland@hack.frob.com>
7694
7695 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7696 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7698 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7699 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7700 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7701
7702 * nptl/sysdeps/sparc/Makefile: Moved ...
7703 * sysdeps/sparc/nptl/Makefile: ... here.
7704 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7705 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7706 * nptl/sysdeps/sparc/tls.h: Moved ...
7707 * sysdeps/sparc/nptl/tls.h: ... here.
7708 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7709 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7710 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7711 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7712 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7713 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7714 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7715 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7716 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7717 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7718 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7719 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7720 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7721 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7722 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7723 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7724 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7725 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7726 Update #include.
7727 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7728 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7729 Update #include.
7730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7732 Update #include.
7733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7735 Update #include.
7736
7737 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7738
7739 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7740 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7741
7742 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7743 (struct list_links): Type removed.
7744 (struct thread_node, struct timer_node): Replace struct list_links
7745 with struct list_head.
7746 (list_unlink_ip): Likewise.
7747 * sysdeps/pthread/timer_routines.c
7748 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7749 (list_append, list_insbefore): Likewise.
7750 (list_init): Function removed.
7751 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7752 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7753 * sysdeps/pthread/Makefile: ... here, new file.
7754
7755 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7756 * sysdeps/nptl/Implies: ... here.
7757 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7758 * nptl/sysdeps/pthread/list.h: Moved ...
7759 * include/list.h: ... here.
7760 * nptl/sysdeps/pthread/createthread.c: Moved ...
7761 * nptl/createthread.c: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7763 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7764 * nptl/pt-longjmp.c: ... here.
7765 * nptl/sysdeps/pthread/Makefile: Moved ...
7766 * sysdeps/nptl/Makefile: ... here.
7767 * nptl/sysdeps/pthread/Subdirs: Moved ...
7768 * sysdeps/nptl/Subdirs: ... here.
7769 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7770 * sysdeps/nptl/aio_misc.h: ... here.
7771 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7772 * sysdeps/nptl/bits/libc-lock.h: ... here.
7773 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7774 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7775 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7776 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7777 * nptl/sysdeps/pthread/configure: Moved ...
7778 * sysdeps/nptl/configure: ... here.
7779 * nptl/sysdeps/pthread/configure.ac: Moved ...
7780 * sysdeps/nptl/configure.ac: ... here.
7781 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7782 * sysdeps/nptl/gai_misc.h: ... here.
7783 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7784 * sysdeps/nptl/librt-cancellation.c: ... here.
7785 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7786 * sysdeps/nptl/malloc-machine.h: ... here.
7787 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7788 * sysdeps/nptl/pthread-functions.h: ... here.
7789 * nptl/sysdeps/pthread/pthread.h: Moved ...
7790 * sysdeps/nptl/pthread.h: ... here.
7791 * nptl/sysdeps/pthread/setxid.h: Moved ...
7792 * sysdeps/nptl/setxid.h: ... here.
7793 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7794 * sysdeps/nptl/sigfillset.c: ... here.
7795 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7796 * sysdeps/nptl/tcb-offsets.h: ... here.
7797 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7798 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7799 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7800 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7801 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7802 * sysdeps/pthread/allocalim.h: ... here.
7803 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7804 * sysdeps/pthread/bits/sigthread.h: ... here.
7805 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7806 * sysdeps/pthread/flockfile.c: ... here.
7807 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7808 * sysdeps/pthread/ftrylockfile.c: ... here.
7809 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7810 * sysdeps/pthread/funlockfile.c: ... here.
7811 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7812 * sysdeps/pthread/posix-timer.h: ... here.
7813 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7814 * sysdeps/pthread/timer_create.c: ... here.
7815 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7816 * sysdeps/pthread/timer_delete.c: ... here.
7817 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7818 * sysdeps/pthread/timer_getoverr.c: ... here.
7819 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7820 * sysdeps/pthread/timer_gettime.c: ... here.
7821 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7822 * sysdeps/pthread/timer_routines.c: ... here.
7823 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7824 * sysdeps/pthread/timer_settime.c: ... here.
7825 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7826 * sysdeps/pthread/tst-timer.c: ... here.
7827 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7828 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7829
7830 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7831 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7832
7833 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7834 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7835 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7836 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7837 Update #include target.
7838 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7839 * sysdeps/i386/i686/nptl/Makefile: ... here.
7840 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7841 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7842 Update #include target.
7843 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7844 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7845 * nptl/sysdeps/i386/Makefile: Moved ...
7846 * sysdeps/i386/nptl/Makefile: ... here.
7847 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7848 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7849 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7850 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7851 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7852 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7853 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7854 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7855 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7856 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7857 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7858 * nptl/sysdeps/i386/tls.h: Moved ...
7859 * sysdeps/i386/nptl/tls.h: ... here.
7860
7861 * sysdeps/sh/Makefile [$(subdir) = csu]
7862 (gen-as-const-headers): Add tcb-offsets.sym.
7863 * nptl/sysdeps/sh/Makefile: File removed.
7864 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7865 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7866 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7867 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7868 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7869 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7870 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7871 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7872 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7873 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7874 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7875 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7876 * nptl/sysdeps/sh/tls.h: Moved ...
7877 * sysdeps/sh/nptl/tls.h: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7879 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7880 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7881 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7882 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7883 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7884 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7885 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7886 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7887 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7888 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7889 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7890 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7891 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7892 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7893 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7895 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7897 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7899 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7901 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7903 Moved ...
7904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7905 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7906 Moved ...
7907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7909 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7911 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7913 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7915 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7917 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7919 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7921 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7923 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7925 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7926
7927 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7928
7929 * posix/spawn_faction_addopen.c: Include string.h.
7930
7931 2014-06-11 Roland McGrath <roland@hack.frob.com>
7932
7933 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7934 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7935 * nptl/sysdeps/x86_64/Makefile: Moved ...
7936 * sysdeps/x86_64/nptl/Makefile: ... here.
7937 * nptl/sysdeps/x86_64/configure: Moved ...
7938 * sysdeps/x86_64/nptl/configure: ... here.
7939 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7940 * sysdeps/x86_64/nptl/configure.ac: ... here.
7941 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7942 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7943 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7944 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7945 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7946 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7947 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7948 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7949 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7950 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7951 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7952 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7953 * nptl/sysdeps/x86_64/tls.h: Moved ...
7954 * sysdeps/x86_64/nptl/tls.h: ... here.
7955 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7956 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7957 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7958 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7959
7960 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7961
7962 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7963
7964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7965
7966 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7967
7968 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7969 type.
7970 [POSIX] (off_t): Likewise.
7971 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7972 [POSIX] (S_ISBLK): Require macro.
7973 [POSIX] (S_ISCHR): Likewise.
7974 [POSIX] (S_ISDIR): Likewise.
7975 [POSIX] (S_ISFIFO): Likewise.
7976 [POSIX] (S_ISREG): Likewise.
7977 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7978 optional-macro.
7979 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7980 type.
7981 [POSIX] (time_t): Likewise.
7982 [POSIX] (timer_t): Likewise.
7983
7984 2014-06-11 Florian Weimer <fweimer@redhat.com>
7985
7986 [BZ #17048]
7987 * posix/spawn_int.h (struct __spawn_action): Make the path string
7988 non-const to support deallocation.
7989 * posix/spawn_faction_addopen.c
7990 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7991 * posix/spawn_faction_destroy.c
7992 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7993 path in all spawn_do_open actions.
7994 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7995 posix_spawn_file_actions_addopen.
7996
7997 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7998
7999 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8000 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8001 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8002 conditional code always true.
8003 (__libc_vfork): New alias.
8004
8005 2014-06-11 Roland McGrath <roland@hack.frob.com>
8006
8007 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8008 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8009
8010 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8011
8012 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8013 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8014
8015 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8016 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8017
8018 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8019 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8020
8021 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8022
8023 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8024 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8025 multiarch strcmp for PPC64.
8026 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8027 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8029 multiarch optimizations.
8030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8031 (__libc_ifunc_impl_list): Likewise.
8032
8033 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8034
8035 * benchtests/scripts/validate_benchout.py: New script.
8036 * benchtests/Makefile (bench-func): Call it.
8037 * benchtests/scripts/benchout.schema.json: New file.
8038
8039 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8040
8041 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8042 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8043 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8044 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8045 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8046 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8047 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8048 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8049 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8050 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8051 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8052 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8053 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8054 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8055 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8056 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8058 Moved ...
8059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8060 ... here.
8061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8062 Moved ...
8063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8065 Moved ...
8066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8067 ... here.
8068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8069 Moved ...
8070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8071 ... here.
8072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8073 Moved ...
8074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8076 Moved ...
8077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8078 ... here.
8079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8080 Moved ...
8081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8082 ... here.
8083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8084 Moved ...
8085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8087 Moved ...
8088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8089 ... here.
8090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8091 Moved ...
8092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8093 ... here.
8094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8095 Moved ...
8096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8097 ... here.
8098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8099 Moved ...
8100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8102 Moved ...
8103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8104 ... here.
8105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8106 Moved ...
8107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8108 ... here.
8109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8110 Moved ...
8111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8112 ... here.
8113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8114 Moved ...
8115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8117 Moved ...
8118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8119 ... here.
8120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8121 Moved ...
8122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8123 ... here.
8124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8125 Moved ...
8126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8128 Moved ...
8129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8130 ... here.
8131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8132 Moved ...
8133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8135 Moved ...
8136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8138 Moved ...
8139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8140 ... here.
8141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8142 Moved ...
8143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8144 ... here.
8145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8146 Moved ...
8147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8148 ... here.
8149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8150 Moved ...
8151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8153 Moved ...
8154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8155 ... here.
8156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8157 Moved ...
8158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8159 ... here.
8160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8161 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8162 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8165 Moved ...
8166 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8167 ... here.
8168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8173 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8175 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8177 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8179 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8181 Moved ...
8182 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8184 Moved ...
8185 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8187 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8189 Moved ...
8190 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8194 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8195 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8196 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8197
8198 2014-06-10 Wilco <wdijkstr@arm.com>
8199
8200 * math/test-fenv-return.c: New file.
8201 * math/Makefile: Add new test test-fenv-return.
8202
8203 2014-06-10 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #17042]
8206 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8207 when x - 1 is zero.
8208 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8209 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8210 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8211 0.0L for an argument of 1.0L.
8212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8213 Likewise.
8214 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8215 value when x - 1 is zero.
8216 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8217 * sysdeps/i386/fpu/libm-test-ulps: Update.
8218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8219
8220 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8221
8222 [BZ #15119]
8223 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8224
8225 2014-06-09 Roland McGrath <roland@hack.frob.com>
8226
8227 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8228 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8229
8230 2014-06-09 Roland McGrath <roland@hack.frob.com>
8231
8232 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8233 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8234
8235 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8236 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8237
8238 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8239 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8240
8241 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8242 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8243
8244 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8245 if not already defined.
8246 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8247 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8248 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8249 (TLS_INIT_TP): Use it.
8250 (TLS_DEFINE_INIT_TP): New macro.
8251 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8252
8253 2014-06-09 Joseph Myers <joseph@codesourcery.com>
8254
8255 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8256 constant.
8257 [POSIX] (IXANY): Likewise.
8258 [POSIX] (OLCUC): Likewise.
8259 [POSIX || POSIX2008] (CBAUD): Do not allow.
8260 [POSIX || POSIX2008] (DEFECHO): Likewise.
8261 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8262 [POSIX || POSIX2008] (ECHOKE): Likewise.
8263 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8264 [POSIX || POSIX2008] (EXTA): Likewise.
8265 [POSIX || POSIX2008] (EXTB): Likewise.
8266 [POSIX || POSIX2008] (FLUSHO): Likewise.
8267 [POSIX || POSIX2008] (LOBLK): Likewise.
8268 [POSIX || POSIX2008] (PENDIN): Likewise.
8269 [POSIX || POSIX2008] (SWTCH): Likewise.
8270 [POSIX || POSIX2008] (VDISCARD): Likewise.
8271 [POSIX || POSIX2008] (VDSUSP): Likewise.
8272 [POSIX || POSIX2008] (VLNEXT): Likewise.
8273 [POSIX || POSIX2008] (VREPRINT): Likewise.
8274 [POSIX || POSIX2008] (VSTATUS): Likewise.
8275 [POSIX || POSIX2008] (VWERASE): Likewise.
8276 (B*): Change to B[0123456789]*.
8277 * conform/data/time.h-data [POSIX || UNIX98]
8278 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8279 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8280 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8281 [POSIX] (tm_*): Do not allow.
8282
8283 2014-06-07 Joseph Myers <joseph@codesourcery.com>
8284
8285 * Makefile (install): Don't set LANGUAGE.
8286 * Makefile.in (install): Likewise.
8287 * assert/Makefile (test-assert-ENV): Remove variable.
8288 (test-assert-perr-ENV): Likewise.
8289 * elf/Makefile (neededtest4-ENV): Likewise.
8290 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8291 [$(cross-compiling) = no]: Don't set LANGUAGE.
8292 * io/ftwtest-sh (LANG): Remove variable.
8293 * libio/Makefile (tst-widetext-ENV): Likewise.
8294 * manual/install.texi (Running make install): Don't refer to
8295 environment settings for make install.
8296 * INSTALL: Regenerated.
8297 * nptl/tst-tls6.sh: Don't set LANG.
8298 * posix/globtest.sh (LANG): Remove variable.
8299 * string/Makefile (tester-ENV): Likewise.
8300 (inl-tester-ENV): Likewise.
8301 (noinl-tester-ENV): Likewise.
8302 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8303 [$(cross-compiling) = no]: Don't set LANGUAGE.
8304 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8305 without explicit environment settings.
8306
8307 2014-06-06 Roland McGrath <roland@hack.frob.com>
8308
8309 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8310 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8311 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8312 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8313
8314 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8315
8316 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8317 other files in the crypt directory.
8318 * crypt/crypt.c: Remove duplicate includes.
8319 * crypt/crypt-entry.c: Likewise.
8320 * crypt/crypt_util.c: Likewise.
8321
8322 2014-06-06 Joseph Myers <joseph@codesourcery.com>
8323
8324 * Makeconfig (run-program-env): New variable.
8325 (run-program-prefix-before-env): Likewise.
8326 (run-program-prefix-after-env): Likewise.
8327 (run-program-prefix): Define in terms of new variables.
8328 (built-program-cmd-before-env): New variable.
8329 (built-program-cmd-after-env): Likewise.
8330 (built-program-cmd): Define in terms of new variables.
8331 (test-program-prefix-before-env): New variable.
8332 (test-program-prefix-after-env): Likewise.
8333 (test-program-prefix): Define in terms of new variables.
8334 (test-program-cmd-before-env): New variable.
8335 (test-program-cmd-after-env): Likewise.
8336 (test-program-cmd): Define in terms of new variables.
8337 * Rules (make-test-out): Use $(run-program-env).
8338 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8339 (help): Do not mention environment variables. Mention
8340 --timeoutfactor option.
8341 (timeoutfactor): New variable.
8342 (blacklist_exports): Remove function.
8343 (exports): Remove variable.
8344 (command): Do not include ${exports}.
8345 * manual/install.texi (Configuring and compiling): Do not mention
8346 test wrappers preserving environment variables. Mention that last
8347 assignment to a variable must take precedence.
8348 * INSTALL: Regenerated.
8349 * benchtests/Makefile (run-bench): Use $(run-program-env).
8350 * catgets/Makefile ($(objpfx)test1.cat): Use
8351 $(built-program-cmd-before-env), $(run-program-env) and
8352 $(built-program-cmd-after-env).
8353 ($(objpfx)test2.cat): Do not specify environment variables
8354 explicitly.
8355 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8356 $(run-program-env) and $(built-program-cmd-after-env).
8357 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8358 $(run-program-env) and $(test-program-cmd-after-env).
8359 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8360 explicitly.
8361 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8362 run_program_env and test_program_cmd_after_env arguments.
8363 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8364 * elf/tst-pathopt.sh: Use run_program_env argument.
8365 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8366 $(test-wrapper-env) and $(run-program-env).
8367 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8368 run_program_env arguments.
8369 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8370 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8371 $(test-program-prefix-before-env), $(run-program-env) and
8372 $(test-program-prefix-after-env).
8373 ($(objpfx)tst-gettext2.out): Likewise.
8374 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8375 run_program_env and test_program_prefix_after_env arguments.
8376 * intl/tst-gettext2.sh: Likewise.
8377 * intl/tst-gettext4.sh: Do not set environment variables
8378 explicitly.
8379 * intl/tst-gettext6.sh: Likewise.
8380 * intl/tst-translit.sh: Likewise.
8381 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8382 $(test-program-prefix-before-env), $(run-program-env) and
8383 $(test-program-prefix-after-env).
8384 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8385 run_program_env and test_program_prefix_after_env arguments.
8386 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8387 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8388 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8389 explicitly with each use of ${test_wrapper_env}.
8390 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8391 $(test-program-prefix-before-env), $(run-program-env) and
8392 $(test-program-prefix-after-env).
8393 * posix/tst-getconf.sh: Do not set environment variables
8394 explicitly.
8395 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8396 run_program_env and test_program_prefix_after_env arguments.
8397 * stdio-common/tst-printf.sh: Do not set environment variables
8398 explicitly.
8399 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8400 $(test-program-prefix-before-env), $(run-program-env) and
8401 $(test-program-prefix-after-env).
8402 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8403 run_program_env and test_program_prefix_after_env arguments.
8404 Split $test calls into $test_pre and $test.
8405 * timezone/Makefile (build-testdata): Use
8406 $(built-program-cmd-before-env), $(run-program-env) and
8407 $(built-program-cmd-after-env).
8408
8409 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8410
8411 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8412 strlen for non SHARED builds.
8413
8414 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8415
8416 * nptl/allocatestack.c (check_list): Inlined function...
8417 (__reclaim_stacks): ... here.
8418
8419 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8420
8421 [BZ #15698]
8422 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8423 memory overrun.
8424
8425 2014-06-05 Joseph Myers <joseph@codesourcery.com>
8426
8427 * Rules (make-test-out): Include
8428 LOCPATH=$(common-objpfx)localedata in default environment.
8429 * debug/Makefile (tst-chk1-ENV): Remove variable.
8430 (tst-chk2-ENV): Likewise.
8431 (tst-chk3-ENV): Likewise.
8432 (tst-chk4-ENV): Likewise.
8433 (tst-chk5-ENV): Likewise.
8434 (tst-chk6-ENV): Likewise.
8435 (tst-lfschk1-ENV): Likewise.
8436 (tst-lfschk2-ENV): Likewise.
8437 (tst-lfschk3-ENV): Likewise.
8438 (tst-lfschk4-ENV): Likewise.
8439 (tst-lfschk5-ENV): Likewise.
8440 (tst-lfschk6-ENV): Likewise.
8441 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8442 (tst-iconv7-ENV): Likewise.
8443 * intl/Makefile (LOCPATH-ENV): Likewise.
8444 (tst-codeset-ENV): Likewise.
8445 (tst-gettext3-ENV): Likewise.
8446 (tst-gettext5-ENV): Likewise.
8447 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8448 (tst-fopenloc-ENV): Likewise.
8449 (tst-fgetws-ENV): Remove variable.
8450 (tst-ungetwc1-ENV): Likewise.
8451 (tst-ungetwc2-ENV): Likewise.
8452 (bug-ungetwc2-ENV): Likewise.
8453 (tst-swscanf-ENV): Likewise.
8454 (bug-ftell-ENV): Likewise.
8455 (tst-fgetwc-ENV): Likewise.
8456 (tst-fseek-ENV): Likewise.
8457 (tst-ftell-partial-wide-ENV): Likewise.
8458 (tst-ftell-active-handler-ENV): Likewise.
8459 (tst-ftell-append-ENV): Likewise.
8460 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8461 (tst-regexloc-ENV): Likewise.
8462 (bug-regex1-ENV): Likewise.
8463 (tst-regex-ENV): Likewise.
8464 (tst-regex2-ENV): Likewise.
8465 (bug-regex5-ENV): Likewise.
8466 (bug-regex6-ENV): Likewise.
8467 (bug-regex17-ENV): Likewise.
8468 (bug-regex18-ENV): Likewise.
8469 (bug-regex19-ENV): Likewise.
8470 (bug-regex20-ENV): Likewise.
8471 (bug-regex22-ENV): Likewise.
8472 (bug-regex23-ENV): Likewise.
8473 (bug-regex25-ENV): Likewise.
8474 (bug-regex26-ENV): Likewise.
8475 (bug-regex30-ENV): Likewise.
8476 (bug-regex32-ENV): Likewise.
8477 (bug-regex33-ENV): Likewise.
8478 (bug-regex34-ENV): Likewise.
8479 (bug-regex35-ENV): Likewise.
8480 (tst-rxspencer-ENV): Likewise.
8481 (tst-rxspencer-no-utf8-ENV): Likewise.
8482 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8483 (tst-sscanf-ENV): Likewise.
8484 (tst-swprintf-ENV): Likewise.
8485 (tst-swscanf-ENV): Likewise.
8486 (test-vfprintf-ENV): Likewise.
8487 (scanf13-ENV): Likewise.
8488 (bug14-ENV): Likewise.
8489 (tst-grouping-ENV): Likewise.
8490 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8491 (tst-strtod3-ENV): Likewise.
8492 (tst-strtod4-ENV): Likewise.
8493 (tst-strtod5-ENV): Likewise.
8494 (testmb2-ENV): Likewise./
8495 * string/Makefile (tst-strxfrm-ENV): Likewise.
8496 (tst-strxfrm2-ENV): Likewise.
8497 (bug-strcoll1-ENV): Likewise.
8498 (test-strcasecmp-ENV): Likewise.
8499 (test-strncasecmp-ENV): Likewise.
8500 * time/Makefile (tst-strptime-ENV): Likewise.
8501 (tst-ftime_l-ENV): Likewise.
8502 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8503 (tst-mbrtowc-ENV): Likewise.
8504 (tst-wcrtomb-ENV): Likewise.
8505 (tst-mbrtowc2-ENV): Likewise.
8506 (tst-c16c32-1-ENV): Likewise.
8507 (tst-mbsnrtowcs-ENV): Likewise.
8508
8509 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8510
8511 * manual/resource.texi (How to get information about the memory
8512 subsystem?): Fix typo.
8513 Reported by Peon de la Parra Ivan <peon@keba.com>
8514
8515 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8516
8517 [BZ #16882]
8518 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8519 (pthread_spin_lock): Branch out of spin loop to proper location.
8520 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8521 (pthread_spin_lock): Likewise.
8522
8523 * nptl/tst-spin4.c: New test.
8524 * nptl/Makefile (tests): Add tst-spin4.
8525
8526 2014-06-03 Andreas Schwab <schwab@suse.de>
8527
8528 [BZ #15946]
8529 * resolv/res_send.c (send_dg): Reload file descriptor after
8530 calling reopen.
8531
8532 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8533
8534 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8535
8536 2014-06-03 Richard Henderson <rth@redhat.com>
8537
8538 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8539 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8540 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8541 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8542 in the SAVE_PID block.
8543 (__libc_vfork): New alias.
8544 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8545
8546 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8547 child in registers, not on the stack. Remove RESET_PID conditionals.
8548 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8549
8550 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8551
8552 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8553
8554 2014-06-03 Wilco <wdijkstr@arm.com>
8555
8556 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8557 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8558 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8559 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8560 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8561 Likewise.
8562
8563 2014-06-03 Wilco <wdijkstr@arm.com>
8564
8565 * sysdeps/aarch64/fpu/math_private.h
8566 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8567 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8568 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8569 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8570 Fix declarations.
8571
8572 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8573
8574 * crypt/crypt-private.h: Include ufc-crypt.h.
8575 (__b64_from_24bit): Declare extern.
8576 * crypt/crypt_util.c(__b64_from_24bit): New function.
8577 (b64t): New static const variable.
8578 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8579 (b64t): Remove variable.
8580 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8581 * crypt/sha256-crypt.c: Include crypt-private.h.
8582 (b64t): Remove variable.
8583 (__sha256_crypt_r): Remove b64_from_24bit and replace
8584 with __b64_from_24bit.
8585 * crypt/sha512-crypt.c: Likewise.
8586
8587 2014-06-02 Roland McGrath <roland@hack.frob.com>
8588
8589 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8590 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8591 Label the code __libc_vfork rather than __vfork.
8592 [!NOT_IN_libc] (vfork): Define as weak alias.
8593 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8594 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8595 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8596
8597 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8598
8599 * malloc/malloc.c (malloc_info): Fix format specifier for
8600 n_mmaps.
8601
8602 2014-06-02 Wilco <wdijkstr@arm.com>
8603
8604 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8605 FPCR write.
8606
8607 2014-06-02 Wilco <wdijkstr@arm.com>
8608
8609 [BZ #17009]
8610 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8611 Rewrite to reduce FPCR/FPSR accesses.
8612
8613 2014-06-01 David S. Miller <davem@davemloft.net>
8614
8615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8616
8617 2014-05-31 David S. Miller <davem@davemloft.net>
8618
8619 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8620 to occur in round to nearest mode when |x| >= 2.0
8621
8622 2014-05-30 Richard Henderson <rth@twiddle.net>
8623
8624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8625 (PSEUDO_RET_NOERRNO): Remove.
8626 (ret): Don't redefine.
8627 (ret_NOERRNO): Define in terms of ret.
8628 (ret_ERRVAL): Likewise.
8629
8630 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8631 use of PSEUDO_RET; perform the error check directly.
8632
8633 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8634
8635 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8636 with __int128_t.
8637
8638 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8639
8640 * malloc/malloc (malloc_info): Fix formatting.
8641
8642 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8643 Roland McGrath <roland@hack.frob.com>
8644
8645 * malloc/malloc (malloc_info): Also print mmapped statistics.
8646
8647 2014-05-30 Roland McGrath <roland@hack.frob.com>
8648
8649 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8650 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8651
8652 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8653
8654 * malloc/malloc.c (malloc_info): Inline mi_arena.
8655
8656 2014-05-29 Richard Henderson <rth@twiddle.net>
8657
8658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8659 Remove comma before expanding ASM_ARGS_##nr.
8660 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8661 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8662 of ASM_ARGS_##nr.
8663 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8664 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8665 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8666 (ASM_ARGS_1): Add leading comma.
8667
8668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8669 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8670 to __errno_location.
8671 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8672 Remove the expected plt for __errno_location.
8673
8674 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8675 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8676 call to __read_tp.
8677
8678 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8679 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8680 it and break it down.
8681 (DOCARGS_0, DOCARGS_1): Do nothing.
8682 (DOCARGS_2): Update to store into the new stack frame.
8683 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8684 (UNDOCARGS_1): Update to restore from the new stack frame.
8685 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8686 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8687
8688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8689 (SINGLE_THREAD_P): New parameter for result regno.
8690 (PSEUDO): Update to match; use cbz instead of beq.
8691
8692 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8693 Use ENTRY to define the _nocancel entry point. Share the syscall
8694 and syscall error check paths with the cancel path.
8695 (PSEUDO_END): New.
8696
8697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8698 whitespace; tabs before and after asm mnemonics.
8699
8700 2014-05-29 Eric Wong <normalperson@yhbt.net>
8701
8702 [BZ #15132]
8703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8704 Call fstat64 or stat64 internally, depending on arguments passed.
8705 Replace stat buffer argument with file descriptor argument.
8706 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8707 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8708 Pass fd to __internal_statvfs instead of calling fstat64.
8709 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8710 Pass fd to __internal_statvfs64 instead of calling fstat64.
8711 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8712 Pass -1 to __internal_statvfs instead of calling stat64.
8713 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8714 Pass -1 to __internal_statvfs64 instead of calling stat64.
8715
8716 2014-05-28 Roland McGrath <roland@hack.frob.com>
8717
8718 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8719 that was previously under [RESET_PID].
8720 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8721
8722 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8723 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8724
8725 2014-05-27 Roland McGrath <roland@hack.frob.com>
8726
8727 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8728
8729 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8730 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8731
8732 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8733
8734 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8735
8736 2014-05-27 Andreas Schwab <schwab@suse.de>
8737
8738 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8739 TLS_INIT_TP macro.
8740 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8741 * elf/rtld.c (init_tls, dl_main): Likewise.
8742 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8743 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8744 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8745 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8746 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8747 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8748 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8749 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8750 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8751 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8752 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8753 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8754 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8755 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8756 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8757 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8758 * sysdeps/generic/tls.h: Update description.
8759
8760 2014-05-27 Will Newton <will.newton@linaro.org>
8761
8762 [BZ #16990]
8763 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8764 and restore r2 rather than just restoring.
8765
8766 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8767
8768 [BZ #16724]
8769 * libio/tst-ftell-append.c: New test case.
8770 * libio/Makefile (tests): Add test case.
8771 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8772 append mode.
8773 * libio/wfileops.c (do_ftell_wide): Likewise.
8774
8775 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776
8777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8778
8779 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8780 ...
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8783 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8784 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8786 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8787 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8788 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8789 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8790 Moved ...
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8792 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8793 Moved ...
8794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8795 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8796 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8797 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8798 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8799 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8800 ...
8801 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8802 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8803 Moved ...
8804 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8805 here.
8806 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8807 ...
8808 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8809 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8810 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8811
8812 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8813 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8814 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8815 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8816
8817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8818 merge into ...
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8821 ...
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8824 ...
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8827 Moved ...
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8829 here.
8830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8831 Moved ...
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8834 Moved ...
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8836
8837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8838 conditional [RESET_PID].
8839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8841 removed.
8842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8843 removed.
8844
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8846 <tcb-offsets.h>.
8847 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8848 (__libc_vfork): New strong alias.
8849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8850 removed.
8851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8852 Removed.
8853
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8855 <tcb-offsets.h>.
8856 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8857 (__libc_vfork): New strong alias.
8858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8859 removed.
8860 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8861 removed.
8862
8863 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8864
8865 * malloc/malloc.c (mi_arena): New function.
8866 (malloc_info): Remove nested function mi_arena. Call non-nosted
8867 function mi_arena.
8868
8869 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8870
8871 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8872 by insrwi.
8873 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8874 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8875 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8876 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8877 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8878 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8879 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8880
8881 2014-05-26 Andreas Schwab <schwab@suse.de>
8882
8883 [BZ #16984]
8884 * locale/programs/repertoire.c (repertoire_read): Add slash
8885 between I18NPATH element and file name.
8886 * locale/programs/locfile.c (locfile_read): Likewise.
8887
8888 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8889
8890 * nptl/pthread_mutexattr_settype.c
8891 (__pthread_mutexattr_settype):
8892 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8893
8894 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8895
8896 * nptl/tst-mutex5 (do_test):
8897 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8898
8899 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8900
8901 * benchtests/README: Document 'init' directive.
8902 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8903 BENCH_INIT.
8904 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8905 (parse_file): Recognize 'init' directive.
8906
8907 2014-05-26 Kyle McMartin <kyle@redhat.com>
8908
8909 [BZ #16796]
8910 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8911 alignment of struct pthread.
8912
8913 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8914
8915 [BZ #16878]
8916 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8917 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8918 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8919 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8920
8921 2014-05-25 Richard Henderson <rth@twiddle.net>
8922
8923 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8924 (SINGLE_THREAD_P_PIC): Remove.
8925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8926 (SINGLE_THREAD_P_PIC): Remove.
8927
8928 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8929 branch to syscall error ...
8930 (PSEUDO): ... here.
8931 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8932 from __local_syscall_error to .Lsyscall_error.
8933 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8934 (SYSCALL_ERROR): Update label name.
8935
8936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8937 Do not use DOARGS/UNDOARGS.
8938 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8939 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8940 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8941 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8942 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8943
8944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8945 block comment.
8946
8947 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8948 define if !NOT_IN_libc.
8949 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8950 define with non-default symbol versions.
8951
8952 2014-05-23 Richard Henderson <rth@twiddle.net>
8953
8954 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8955 (vfork, __vfork): Define via compat_symbol.
8956
8957 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8958 [!HAVE_IFUNC] (vfork_compat): Remove.
8959 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8960
8961 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8962
8963 [BZ #16978]
8964 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8965 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8966 variable.
8967
8968 2014-05-23 Richard Henderson <rth@twiddle.net>
8969
8970 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8971 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8972 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8973 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8974
8975 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8976 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8977 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8978 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8979 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8980 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8981 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8982 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8983 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8984 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8985 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8986 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8987 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8988 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9002 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9004 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9005 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9006 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9007 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9008 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9009 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9010 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9012 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9014 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9015 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9016 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9017 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9018 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9019 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9020 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9021 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9022 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9023 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9024 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9025 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9026 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9028 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9030 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9031
9032 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9033 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9034 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9035 before exiting on error.
9036 (__libc_vfork): New strong alias.
9037 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9038 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9039
9040 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9041 that was previously under [RESET_PID].
9042 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9043
9044 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9045
9046 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9047
9048 [BZ #16977]
9049 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9050 value when x - 1 is zero.
9051 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9052 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9053 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9054 0.0L for an argument of 1.0L.
9055 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9056 Likewise.
9057 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9058 value when x - 1 is zero.
9059 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9060 * sysdeps/i386/fpu/libm-test-ulps: Update.
9061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9062
9063 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9064
9065 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9066 alphasort and versionsort.
9067
9068 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9069
9070 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9071 macro.
9072 [copysignf]: Likewise.
9073
9074 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9075
9076 * crypt/md5-crypt.c: Fix formatting.
9077
9078 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9079
9080 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9081 (b64_from_24bit): New function.
9082
9083 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9084
9085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9086 libc_hidden_builtin_def to ifunc.
9087 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9088 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9089
9090 2014-05-21 Roland McGrath <roland@hack.frob.com>
9091
9092 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9093 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9094
9095 2014-05-21 Joseph Myers <joseph@codesourcery.com>
9096
9097 * nscd/Depend (linuxthreads): Remove.
9098 (nptl): Add.
9099 * resolv/Depend (linuxthreads): Remove.
9100 * rt/Depend (linuxthreads): Remove.
9101
9102 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9103 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9104 $(common-objpfx)elf/.
9105 (link-libc-before-gnulib): Likewise.
9106 (elfobjdir): Remove variable.
9107 * Makefile (install): Use $(elf-objpfx) instead of
9108 $(common-objpfx)elf/.
9109 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9110 $(elfobjdir)/.
9111 (link-libc-deps): Likewise.
9112 ($(common-objpfx)libc.so): Likewise.
9113 ($(common-objpfx)linkobj/libc.so): Likewise.
9114 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9115 instead of $(common-objpfx)elf/.
9116 (symbolic-link-list): Likewise.
9117 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9118 [$(cross-compiling) = no]: Likewise.
9119 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9120 $(elfobjdir)/.
9121 (static-gnulib-arch): Likewise.
9122 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9123 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9124 $(common-objpfx)elf/.
9125
9126 2014-05-21 Richard Henderson <rth@redhat.com>
9127
9128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9129 (SINGLE_THREAD_P): Use the correct width load. Fold
9130 into the ldr offset.
9131
9132 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9133 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9134
9135 2014-05-20 Joseph Myers <joseph@codesourcery.com>
9136
9137 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9138 (libgcc_s_resume): Use __attribute_used__.
9139 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9140 Likewise.
9141
9142 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9143
9144 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9145 optimization when used with float constants.
9146
9147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9148
9149 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9150
9151 [BZ #16915]
9152 * locale/nl_langinfo_l.c: Make direct reference to every
9153 _nl_current_CATEGORY symbol.
9154 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9155 (tests-static): Add tst-langinfo-static.
9156 (tests-special): Add tst-langinfo-static.out.
9157 ($(objpfx)tst-langinfo.out): Redirect output.
9158 ($(objpfx)tst-langinfo-static.out): New.
9159 * localedata/tst-langinfo.sh: Send output to stdout.
9160 * localedata/tst-langinfo-static.c: New file.
9161
9162 [BZ #16965]
9163 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9164 when the shift amount is modulo the limb size.
9165
9166 2014-05-20 Richard Henderson <rth@redhat.com>
9167
9168 [BZ #16967]
9169 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9170 Change type of sa_flags from unsigned int to int.
9171
9172 [BZ #16966]
9173 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9174
9175 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9176
9177 2014-05-20 Will Newton <will.newton@linaro.org>
9178
9179 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9180 Test the return value of the system call in the nocancel case.
9181
9182 2014-05-20 Will Newton <will.newton@linaro.org>
9183 Yvan Roux <yvan.roux@linaro.org>
9184
9185 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9186 #include of asm/ptrace.h.
9187 (PTRACE_GET_THREAD_AREA): Remove #undef.
9188 (PTRACE_GETHBPREGS): Likewise.
9189 (PTRACE_SETHBPREGS): Likewise.
9190 (struct user_regs_struct): New structure.
9191 (struct user_fpsimd_struct): New structure.
9192 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9193 #include of asm/ptrace.h and second #include of sys/user.h.
9194 (PTRACE_GET_THREAD_AREA): Remove #undef.
9195 (PTRACE_GETHBPREGS): Likewise.
9196 (PTRACE_SETHBPREGS): Likewise.
9197 (ELF_NGREG): Use new struct user_regs_struct.
9198 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9199
9200 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9201
9202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9204
9205 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9206
9207 [BZ #16958]
9208 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9209 membar to avoid block loads/stores to overlap previous stores.
9210
9211 2014-05-17 Richard Henderson <rth@redhat.com>
9212
9213 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9214 Create the __##syscall_name##_nocancel entry point.
9215 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9216 Remove; let the sysdep-cancel.h code create it.
9217
9218 2014-05-17 David S. Miller <davem@davemloft.net>
9219
9220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9221 Protect with __USE_GNU.
9222 (TIOCSET_TEMPT): Likewise.
9223 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9224 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9225 these are already provided in bits/ioctl-types.h
9226
9227 2014-05-16 Roland McGrath <roland@hack.frob.com>
9228
9229 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9230 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9231
9232 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9233 Use wait4 regardless of [__NR_waitpid].
9234
9235 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9236
9237 PR libgcc/60166
9238 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9239 (_FP_NANSIGN_Q): Set the quiet bit.
9240
9241 2014-05-16 Joseph Myers <joseph@codesourcery.com>
9242
9243 * benchtests/Makefile
9244 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9245 not $(common-objpfx)math/libm.so.
9246 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9247 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9248 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9249 $(common-objpfx)dlfcn/libdl.so.
9250 ($(objpfx)tst-audit8): Depend on $(libm), not
9251 $(common-objpfx)math/libm.so.
9252 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9253 not $(common-objpfx)dlfcn/libdl.so.
9254 * math/Makefile
9255 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9256 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9257 [$(build-shared) = yes].
9258 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9259 $(common-objpfx)nptl/libpthread.so.
9260 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9261 $(common-objpfx)math/libm.so$(libm.so-version) or
9262 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9263 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9264 $(common-objpfx)dlfcn/libdl.so.
9265 * setjmp/Makefile (link-libm): Remove variable.
9266 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9267 * stdio-common/Makefile (link-libm): Remove variable.
9268 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9269 * stdlib/Makefile (link-libm): Remove variable.
9270 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9271 ($(objpfx)tst-strtod-round): Likewise.
9272 ($(objpfx)tst-tininess): Likewise.
9273 ($(objpfx)tst-strtod-underflow): Likewise.
9274 ($(objpfx)tst-strtod6): Likewise.
9275 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9276 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9277 $(common-objpfx)dlfcn/libdl.so.
9278
9279 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9280
9281 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9282 BSD terminal modes definitions.
9283
9284 2014-05-16 Roland McGrath <roland@hack.frob.com>
9285
9286 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9287 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9288
9289 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9290 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9291 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9292 Don't do #include_next.
9293 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9294 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9295 Don't do #include_next.
9296 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9297 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9298 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9299 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9300
9301 2014-05-16 Allan McRae <allan@archlinux.org>
9302
9303 * po/sv.po: Update Swedish translation from translation project.
9304
9305 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9306 in sed expression.
9307
9308 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9309
9310 [BZ #16917]
9311 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9312 errno if the TIOCGPTN ioctl fails with an error different than
9313 EINVAL.
9314 * login/tst-ptsname.c: New file.
9315 * login/Makefile (tests): Add tst-ptsname.
9316
9317 [BZ #16943]
9318 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9319 and prlimit64.
9320
9321 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9322
9323 [BZ #16849]
9324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9325 herrno to return EAI_AGAIN.
9326
9327 2014-05-14 Roland McGrath <roland@hack.frob.com>
9328
9329 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9330 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9331 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9338 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9339 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9340 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9342 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9344 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9345 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9346 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9348 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9349 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9350 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9352 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9353 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9354 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9355 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9356 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9357 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9358 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9360 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9362 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9364 Moved ...
9365 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9367 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9369 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9371 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9373 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9375 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9383 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9385 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9389 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9391 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9393 Moved ...
9394 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9396 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9398 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9400 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9402 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9404 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9406 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9408 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9410 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9412 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9414 Moved ...
9415 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9417 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9418
9419 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9420 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9421 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9422 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9423 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9425 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9426 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9427 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9428 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9429 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9430 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9431 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9432 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9433 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9434 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9435 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9436 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9437 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9438 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9439 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9440 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9441 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9442 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9443 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9444 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9445 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9447 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9448 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9449 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9450
9451 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9452 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9453
9454 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9455 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9456 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9458 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9460 Moved ...
9461 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9463 Moved ...
9464 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9466 Moved ...
9467 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9469 Moved ...
9470 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9471 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9472 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9474 Moved ...
9475 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9476 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9477 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9479 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9480 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9481 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9483 Moved ...
9484 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9486 Moved ...
9487 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9488 ... here.
9489 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9490 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9491 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9492 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9494 Moved ...
9495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9496 ... here.
9497 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9498 Moved ...
9499 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9500 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9501 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9502 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9503 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9504 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9505 Moved ...
9506 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9508 Moved ...
9509 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9511 Moved ...
9512 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9514 Moved ...
9515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9516 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9517 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9519 Moved ...
9520 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9522 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9524 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9525 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9526 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9528 Moved ...
9529 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9531 Moved ...
9532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9533 ... here.
9534 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9535 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9537 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9539 Moved ...
9540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9541 ... here.
9542 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9543 Moved ...
9544 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9545 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9546 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9547 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9548 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9549 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9550 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9551 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9552 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9553 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9554 Moved ...
9555 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9557 Moved ...
9558 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9560 Moved ...
9561 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9563 Moved ...
9564 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9566 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9567 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9568 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9569 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9570 Moved ...
9571 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9572 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9573 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9574 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9575 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9576 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9577 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9578 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9579 Moved ...
9580 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9581 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9582 Moved ...
9583 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9584 ... here.
9585 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9586 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9587 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9588 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9590 Moved ...
9591 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9592 ... here.
9593 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9594 Moved ...
9595 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9596 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9597 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9598 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9599 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9600 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9601 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9602 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9603 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9604 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9605 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9606
9607 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9608 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9609
9610 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9611 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9612
9613 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9614 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9615 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9616 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9617 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9618 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9619 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9620 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9621 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9622 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9624 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9625 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9626 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9627 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9629 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9630 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9631 Moved ...
9632 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9634 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9635 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9636 Moved ...
9637 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9639 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9641 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9643 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9645 Moved ...
9646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9648 Moved ...
9649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9651 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9653 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9655 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9656 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9657 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9658 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9659 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9660 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9661 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9662 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9663 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9665 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9666
9667 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9668 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9669 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9670 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9671 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9672
9673 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9674 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9675 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9676 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9677 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9678 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9679 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9680 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9681 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9682 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9683
9684 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9686
9687 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9688 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9690 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9692 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9693 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9694 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9695 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9696 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9697 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9698 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9699 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9700 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9702 Update #include.
9703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9704 Likewise.
9705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9706 Likewise.
9707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9708 Likewise.
9709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9710 Likewise.
9711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9712 Likewise.
9713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9714 Likewise.
9715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9716 Likewise.
9717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9718 Likewise.
9719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9720 Likewise.
9721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9726 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9728 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9731 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9732 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9733 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9736
9737 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9738 that was previously under [RESET_PID].
9739 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9740 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9741 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9742
9743 * sysdeps/i386/nptl/Implies: New file.
9744 * sysdeps/x86_64/nptl/Implies: New file.
9745 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9746 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9747 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9748 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9749
9750 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9751 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9752 (__libc_vfork): New strong alias.
9753 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9754 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9755
9756 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9757 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9758 (__libc_vfork): New strong alias.
9759 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9760 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9761
9762 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9764 (__libc_vfork): New strong alias.
9765 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9766 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9767 * nptl/pt-vfork.c: New file.
9768 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9769 (libpthread: GLIBC_2.20): New version set (empty).
9770
9771 2014-05-14 Will Newton <will.newton@linaro.org>
9772
9773 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9774 rather than #if.
9775
9776 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9777
9778 [BZ #16564]
9779 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9780 arguments with exponent 65 or above.
9781 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9782 arguments 0x1p113L or above.
9783 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9784 to arguments 0x1p107L or above.
9785 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9786 positive arguments with exponent 65 or above.
9787 * math/auto-libm-test-in: Add more tests of log1p.
9788 * math/auto-libm-test-out: Regenerated.
9789
9790 [BZ #16928]
9791 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9792 non-finite arguments is +0.
9793 * math/s_cacosf.c (__cacosf): Likewise.
9794 * math/s_cacosl.c (__cacosl): Likewise.
9795 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9796 * sysdeps/i386/fpu/libm-test-ulps: Update.
9797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9798
9799 [BZ #16927]
9800 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9801 value.
9802 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9803 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9804 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9805 for explicit high bit of mantissa when testing for argument equal
9806 to 1.
9807 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9808 * sysdeps/i386/fpu/libm-test-ulps: Update.
9809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9810
9811 [BZ #16516]
9812 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9813 (__erf): Scale by 16 instead of 8 in potentially underflowing
9814 case. Ensure exception if result actually underflows.
9815 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9816 (__erff): Scale by 16 instead of 8 in potentially underflowing
9817 case. Ensure exception if result actually underflows.
9818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9819 (efx8): Remove variable.
9820 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9821 case. Ensure exception if result actually underflows.
9822 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9823 (efx8): Remove variable.
9824 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9825 case. Ensure exception if result actually underflows.
9826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9827 (efx8): Remove variable.
9828 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9829 case. Ensure exception if result actually underflows.
9830 * math/auto-libm-test-in: Add more tests of erf.
9831 * math/auto-libm-test-out: Regenerated.
9832
9833 2014-05-14 Andreas Schwab <schwab@suse.de>
9834
9835 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9836 Remove code conditionalized on USE___THREAD.
9837
9838 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9839 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9840 not definedness.
9841
9842 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9843
9844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9845 Define unconditionally.
9846 (__ASSUME_O_CLOEXEC): Likewise.
9847 (__ASSUME_SOCK_CLOEXEC): Likewise.
9848 (__ASSUME_IN_NONBLOCK): Likewise.
9849 (__ASSUME_PIPE2): Likewise.
9850 (__ASSUME_EVENTFD2): Likewise.
9851 (__ASSUME_SIGNALFD4): Likewise.
9852 (__ASSUME_DUP3): Likewise.
9853 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9854 (__ASSUME_DUP3): Do not define.
9855 (__ASSUME_EVENTFD2): Likewise.
9856 (__ASSUME_IN_NONBLOCK): Likewise.
9857 (__ASSUME_O_CLOEXEC): Likewise.
9858 (__ASSUME_PIPE2): Likewise.
9859 (__ASSUME_SIGNALFD4): Likewise.
9860 (__ASSUME_SOCK_CLOEXEC): Likewise.
9861 (__ASSUME_UTIMES): Undefine.
9862 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9863 (__ASSUME_UTIMES): Do not define.
9864 (__ASSUME_O_CLOEXEC): Likewise.
9865 (__ASSUME_SOCK_CLOEXEC): Likewise.
9866 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9867 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9868 0x020621].
9869 (__ASSUME_PIPE2): Likewise.
9870 (__ASSUME_EVENTFD2): Likewise.
9871 (__ASSUME_SIGNALFD4): Likewise.
9872 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9873 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9874 Do not define.
9875 (__ASSUME_EVENTFD2): Likewise.
9876 (__ASSUME_SIGNALFD4): Likewise.
9877 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9878 (__ASSUME_32BITUIDS): Likewise.
9879 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9880 (__ASSUME_IPC64): Likewise.
9881 (__ASSUME_ST_INO_64_BIT): Likewise.
9882 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9883 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9884 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9885 (__ASSUME_UTIMES): Do not define.
9886 (__ASSUME_PSELECT): Likewise.
9887 (__ASSUME_PPOLL): Likewise.
9888 (__ASSUME_O_CLOEXEC): Likewise.
9889 (__ASSUME_SOCK_CLOEXEC): Likewise.
9890 (__ASSUME_IN_NONBLOCK): Likewise.
9891 (__ASSUME_PIPE2): Likewise.
9892 (__ASSUME_EVENTFD2): Likewise.
9893 (__ASSUME_SIGNALFD4): Likewise.
9894 (__ASSUME_DUP3): Likewise.
9895 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9896 (__ASSUME_UTIMES): Likewise.
9897 (__ASSUME_O_CLOEXEC): Likewise.
9898 (__ASSUME_SOCK_CLOEXEC): Likewise.
9899 (__ASSUME_IN_NONBLOCK): Likewise.
9900 (__ASSUME_PIPE2): Likewise.
9901 (__ASSUME_EVENTFD2): Likewise.
9902 (__ASSUME_SIGNALFD4): Likewise.
9903 (__ASSUME_DUP3): Likewise.
9904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9905 (__ASSUME_UTIMES): Likewise.
9906 (__ASSUME_O_CLOEXEC): Likewise.
9907 (__ASSUME_SOCK_CLOEXEC): Likewise.
9908 (__ASSUME_IN_NONBLOCK): Likewise.
9909 (__ASSUME_PIPE2): Likewise.
9910 (__ASSUME_EVENTFD2): Likewise.
9911 (__ASSUME_SIGNALFD4): Likewise.
9912 (__ASSUME_DUP3): Likewise.
9913 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9914 Likewise.
9915 (__ASSUME_UTIMES): Likewise.
9916 (__ASSUME_EVENTFD2): Likewise.
9917 (__ASSUME_SIGNALFD4): Likewise.
9918 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9919 (__ASSUME_O_CLOEXEC): Likewise.
9920 (__ASSUME_SOCK_CLOEXEC): Likewise.
9921 (__ASSUME_IN_NONBLOCK): Likewise.
9922 (__ASSUME_PIPE2): Likewise.
9923 (__ASSUME_EVENTFD2): Likewise.
9924 (__ASSUME_SIGNALFD4): Likewise.
9925 (__ASSUME_DUP3): Likewise.
9926 (__ASSUME_UTIMES): Undefine.
9927
9928 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9929 feclearexcept. Remove symbol versioning code.
9930 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9931 symbol versioning code.
9932 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9933 symbol versioning code.
9934 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9935 feupdateenv. Remove symbol versioning code.
9936 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9937 fegetexceptflag. Remove symbol versioning code.
9938 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9939 fesetexceptflag. Remove symbol versioning code.
9940 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9941 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9942 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9943 (__posix_fadvise64_l32): Remove prototype.
9944 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9945 code.
9946
9947 2014-05-13 Roland McGrath <roland@hack.frob.com>
9948
9949 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9950 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9951 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9952 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9953
9954 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9955
9956 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9957 current working directory
9958
9959 2014-05-13 Roland McGrath <roland@hack.frob.com>
9960
9961 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9962 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9963 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9964 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9965 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9966 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9967 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9978 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9979 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9986 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9987 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9988 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9989 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9990 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9991 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9994 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9995 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9996 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9997 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9998 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9999 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10000 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10001 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10002 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10003
10004 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10005 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10006
10007 * sysdeps/unix/sysv/linux/arm/Makefile
10008 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10009 Add rt-aeabi_unwind_cpp_pr1.
10010 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10011 Add nptl-aeabi_unwind_cpp_pr1.
10012 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10013 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10014 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10015 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10016 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10017 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10018
10019 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10020 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10021 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10022 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10023
10024 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10025 Deconditionalize the code that was previously under [RESET_PID].
10026 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10027
10028 * sysdeps/generic/exit-thread.h: New file.
10029 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10030 * include/unistd.h (__exit_thread): Remove declaration.
10031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10032 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10033 * csu/libc-start.c: Include <exit-thread.h>.
10034 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10035 * nptl/pthread_create.c: Include <exit-thread.h>.
10036 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10037 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10038 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10039 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10040 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10041 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10042 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10043 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10044 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10045 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10046 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10047 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10048 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10049 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10050 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10051 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10052 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10053
10054 2014-05-13 Andreas Schwab <schwab@suse.de>
10055
10056 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10057
10058 2014-05-12 Joseph Myers <joseph@codesourcery.com>
10059
10060 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10061 (__ASSUME_UTIMES): Do not condition on kernel version.
10062 (__ASSUME_PSELECT): Define unconditionally.
10063 (__ASSUME_PPOLL): Likewise.
10064 (__ASSUME_ATFCTS): Likewise.
10065 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10066 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10067 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10068 (__ASSUME_UTIMENSAT): Define unconditionally.
10069 (__ASSUME_PRIVATE_FUTEX): Likewise.
10070 (__ASSUME_FALLOCATE): Likewise.
10071 (__ASSUME_O_CLOEXEC): Likewise.
10072 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10073 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10074 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10075 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10076 (__ASSUME_IN_NONBLOCK): Likewise.
10077 (__ASSUME_PIPE2): Likewise.
10078 (__ASSUME_EVENTFD2): Likewise.
10079 (__ASSUME_SIGNALFD4): Likewise.
10080 (__ASSUME_DUP3): Likewise.
10081 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10082 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10083 (__ASSUME_AT_RANDOM): Likewise.
10084 (__ASSUME_PREADV): Likewise.
10085 (__ASSUME_PWRITEV): Likewise.
10086 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10087 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10088 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10089 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10090 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10091 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10092 (__ASSUME_O_CLOEXEC): Define unconditionally.
10093 (__ASSUME_PSELECT): Do not undefine conditionally.
10094 (__ASSUME_PPOLL): Likewise.
10095 (__ASSUME_ATFCTS): Likewise.
10096 (__ASSUME_SET_ROBUST_LIST): Likewise.
10097 (__ASSUME_UTIMENSAT): Likewise.
10098 (__ASSUME_FDATASYNC): Define unconditionally.
10099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10100 (__ASSUME_SIGFRAME_V2): Likewise.
10101 )__ASSUME_EVENTFD2): Likewise.
10102 (__ASSUME_SIGNALFD4): Likewise.
10103 (__ASSUME_PSELECT): Do not undefine conditionally.
10104 (__ASSUME_PPOLL): Likewise.
10105 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10106 (__ASSUME_PSELECT): Define unconditionally.
10107 (__ASSUME_PPOLL): Likewise.
10108 (__ASSUME_O_CLOEXEC): Likewise.
10109 (__ASSUME_SOCK_CLOEXEC): Likewise.
10110 (__ASSUME_IN_NONBLOCK): Likewise.
10111 (__ASSUME_PIPE2): Likewise.
10112 (__ASSUME_EVENTFD2): Likewise.
10113 (__ASSUME_SIGNALFD4): Likewise.
10114 (__ASSUME_DUP3): Likewise.
10115 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10116 (__ASSUME_O_CLOEXEC): Likewise.
10117 (__ASSUME_SOCK_CLOEXEC): Likewise.
10118 (__ASSUME_IN_NONBLOCK): Likewise.
10119 (__ASSUME_PIPE2): Likewise.
10120 (__ASSUME_EVENTFD2): Likewise.
10121 (__ASSUME_SIGNALFD4): Likewise.
10122 (__ASSUME_DUP3): Likewise.
10123 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10124 (__ASSUME_EVENTFD2): Likewise.
10125 (__ASSUME_SIGNALFD4): Likewise.
10126 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10127
10128 2014-05-12 Andreas Schwab <schwab@suse.de>
10129
10130 [BZ #16932]
10131 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10132 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10133 than maximum RPC packet size.
10134 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10135 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10136 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10137 (_nss_nis_getservbyport_r): Likewise.
10138
10139 2014-05-12 Will Newton <will.newton@linaro.org>
10140
10141 * malloc/Makefile (tests): Add tst-mallopt.
10142 * malloc/tst-mallopt.c: New file.
10143
10144 2014-05-09 Roland McGrath <roland@hack.frob.com>
10145
10146 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10147 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10148
10149 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10150
10151 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10152 (tst-tlsmod6.so): Likewise.
10153
10154 2014-05-09 Roland McGrath <roland@hack.frob.com>
10155
10156 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10157
10158 2014-05-09 Joseph Myers <joseph@codesourcery.com>
10159
10160 [BZ #16064]
10161 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10162 and <dl-procinfo.h>.
10163 (__fegetenv): Save SSE state in envp->__eip if supported.
10164 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10165 envp->__eip if supported.
10166 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10167 and <dl-procinfo.h>.
10168 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10169 __data_offset and __data_selector in environment to 0. Set SSE
10170 state if supported.
10171 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10172 test-fenv-sse.
10173 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10174 -mfpmath=sse.
10175 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10176
10177 2014-05-09 Will Newton <will.newton@linaro.org>
10178
10179 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10180 and libc_relro_required for ARM.
10181 * sysdeps/arm/preconfigure: Regenerate.
10182
10183 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10184 Stefan Liebler <stli@linux.vnet.ibm.com>
10185
10186 * config.make.in (enable-lock-elision): New Makefile variable.
10187 * configure.ac: Likewise.
10188 * configure: Regenerate.
10189 * sysdeps/s390/configure.ac:
10190 Add check for gcc transactions support.
10191 * sysdeps/s390/configure: Regenerate.
10192 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10193 Build elision files if enabled.
10194 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10195 Add lock elision support for s390.
10196 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10197 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10198 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10199 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10200 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10201 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10203 Likewise.
10204 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10205 Likewise.
10206 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10207 Likewise.
10208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10209 Likewise.
10210 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10211 (__lll_timedlock_elision, __lll_lock_elision)
10212 (__lll_unlock_elision, __lll_trylock_elision)
10213 (lll_timedlock_elision, lll_lock_elision)
10214 (lll_unlock_elision, lll_trylock_elision): Add.
10215 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10216 (pthread_mutex_t): Add lock elision support for s390.
10217
10218 2014-05-14 Wilco <wdijkstr@arm.com>
10219
10220 * sysdeps/arm/fclrexcpt.c: Cleanup.
10221 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10222 * sysdeps/arm/feenablxcpt.c: Cleanup.
10223 * sysdeps/arm/fegetenv.c: Cleanup.
10224 * sysdeps/arm/fegetexcept.c: Cleanup.
10225 * sysdeps/arm/fegetround.c: Cleanup.
10226 * sysdeps/arm/feholdexcpt.c: Cleanup.
10227 * sysdeps/arm/fesetenv.c: Cleanup.
10228 * sysdeps/arm/fesetround.c: Cleanup.
10229 * sysdeps/arm/feupdateenv.c: Cleanup.
10230 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10231 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10232 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10233 * sysdeps/arm/ftestexcept.c: Cleanup.
10234 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10235 * sysdeps/arm/setfpucw.c: Cleanup.
10236
10237 2014-05-09 Will Newton <will.newton@linaro.org>
10238
10239 * sysdeps/arm/armv7/strcmp.S: New file.
10240 * NEWS: Mention addition of ARMv7 optimized strcmp.
10241
10242 2014-05-08 Roland McGrath <roland@hack.frob.com>
10243
10244 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10245 look for %.ac rather than %.in.
10246
10247 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10248 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10249 * sysdeps/mach/hurd/configure: Regenerated.
10250 * sysdeps/unix/sysv/linux/configure: Regenerated.
10251
10252 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10253
10254 2014-05-07 Steve Ellcey <sellcey@mips.com>
10255
10256 [BZ# 16922]
10257 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10258 (LONG_SUB): Ditto.
10259 (PTR_SUB): Ditto.
10260
10261 2014-05-07 Andreas Schwab <schwab@suse.de>
10262
10263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10264 when skipping over non-matching result from nscd.
10265
10266 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
10267
10268 [BZ #16876]
10269 * nptl/sockperf.c (client): Check socket return value.
10270
10271 [BZ #16877]
10272 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10273 nscd security class.
10274
10275 2014-05-06 Roland McGrath <roland@hack.frob.com>
10276
10277 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10278 * sysdeps/arm/unwind.h: ... here.
10279
10280 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10281
10282 [BZ# 16916]
10283 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10284 Define.
10285
10286 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10287
10288 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10289 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10290 multiarch strncpy for PPC64.
10291 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10292 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10294 multiarch optimizations.
10295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10296 (__libc_ifunc_impl_list): Likewise.
10297 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10298 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10299 multiarch stpncpy for PPC64.
10300 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10302
10303 2014-05-06 Andreas Schwab <schwab@suse.de>
10304
10305 [BZ #16912]
10306 * gmon/mcount.c (_MCOUNT_DECL): Use
10307 atomic_compare_and_exchange_bool_acq instead of
10308 catomic_compare_and_exchange_bool_acq.
10309
10310 2014-05-05 Roland McGrath <roland@hack.frob.com>
10311
10312 * elf/Makefile (others, install-bin): Remove pldd.
10313 (pldd-modules): Variable removed.
10314 ($(objpfx)pldd): Target removed.
10315 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10316 (others, install-bin): Append pldd here.
10317 ($(objpfx)pldd): New target.
10318
10319 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10320 to 0, so the first #if test emitted later doesn't see it undefined.
10321 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10322 * sysdeps/gnu/errlist.c: Regenerated.
10323
10324 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10325
10326 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10327 [libc_hidden_builtin_def]: Define to empty value.
10328 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10329 [libc_hidden_builtin_def]: Likewise.
10330 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10331 [libc_hidden_builtin_def]: Likewise.
10332 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10333 [libc_hidden_builtin_def]: Likewise.
10334 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10335 __redirect_memcpy and define ifunc as default hidden symbol.
10336 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10337 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10338
10339 2014-05-04 Adam Conrad <adconrad@0c3.net>
10340
10341 * locale/iso-4217.def: Reintroduce XDR currency.
10342
10343 2014-05-04 Allan McRae <allan@archlinux.org>
10344
10345 * po/eo.po: Update Esperanto translation from translation project.
10346
10347 2014-05-02 Carlos O'Donell <carlos@redhat.com>
10348
10349 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10350 and FEATURE_INDEX_MAX to 1.
10351 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10352
10353 2014-05-01 Steve Ellcey <sellcey@mips.com>
10354
10355 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10356 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10357 * iconvdata/big5.c (ONE_DIRECTION): Define.
10358 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10359 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10360 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10361 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10362 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10363 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10364 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10365 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10366 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10367 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10368 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10369 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10370 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10371 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10372 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10373 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10374 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10375 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10376 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10377 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10378 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10379 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10380 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10381 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10382 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10383 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10384 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10385 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10386 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10387 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10388 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10389 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10390 * iconvdata/johab.c (ONE_DIRECTION): Define.
10391 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10392 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10393 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10394 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10395 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10396 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10397 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10398 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10399 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10400 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10401
10402 2014-05-01 Roland McGrath <roland@hack.frob.com>
10403
10404 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10405 (_IO_JUMPS_OFFSET): Define to 0.
10406
10407 * nptl/sysdeps/pthread/bits/libc-lock.h
10408 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10409 (__libc_lock_define_initialized_recursive): Always define using
10410 initializer. Modern compilers treat uninitialized (implicit zero) and
10411 explicit zero initializers the same (i.e. put the datum in bss).
10412
10413 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10414
10415 * nscd/nscd-client.h: Include <string.h>.
10416
10417 2014-05-01 David S. Miller <davem@davemloft.net>
10418
10419 [BZ #16885]
10420 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10421 multiple zero bytes exist at the end of a string.
10422 Reported by Aurelien Jarno <aurelien@aurel32.net>
10423
10424 * string/test-strcmp.c (check): Add explicit test for situations where
10425 there are multiple zero bytes after the first.
10426
10427 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10428
10429 [BZ #16890]
10430 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10431 when compiling wprintf.
10432 * stdio-common/tstdiomisc.c (t3): New function.
10433 (main): Call it.
10434
10435 2014-05-01 Steve Ellcey <sellcey@mips.com>
10436
10437 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10438 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10439 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10440 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10441
10442 2014-05-01 Steve Ellcey <sellcey@mips.com>
10443
10444 * stdlib/longlong.h: Updated from GCC.
10445
10446 2014-05-01 Will Newton <will.newton@linaro.org>
10447 Bernard Ogden <bernie.ogden@linaro.org>
10448
10449 * NEWS: Update fixed bug list.
10450
10451 [BZ #15119]
10452 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10453
10454 2014-04-30 David S. Miller <davem@davemloft.net>
10455
10456 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10457 (libc_feholdexcept_setround_sparc_ctx): New function.
10458 (libc_fesetenv_sparc_ctx): Likewise.
10459 (libc_feupdateenv_sparc_ctx): Likewise.
10460 (libc_feholdsetround_sparc_ctx): Likewise.
10461 (libc_feholdexcept_setround_ctx): Define.
10462 (libc_feholdexcept_setroundf_ctx): Likewise.
10463 (libc_feholdexcept_setroundl_ctx): Likewise.
10464 (libc_fesetenv_ctx): Likewise.
10465 (libc_fesetenvf_ctx): Likewise.
10466 (libc_fesetenvl_ctx): Likewise.
10467 (libc_feupdateenv_ctx): Likewise.
10468 (libc_feupdateenvf_ctx): Likewise.
10469 (libc_feupdateenvl_ctx): Likewise.
10470 (libc_feresetround_ctx): Likewise.
10471 (libc_feresetroundf_ctx): Likewise.
10472 (libc_feresetroundl_ctx): Likewise.
10473 (libc_feholdsetround_ctx): Likewise.
10474 (libc_feholdsetroundf_ctx): Likewise.
10475 (libc_feholdsetroundl_ctx): Likewise.
10476
10477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10478 with __USE_GNU instead of XOPEN cpp guards.
10479
10480 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10481 0.
10482
10483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10484 with XOPEN cpp guards.
10485
10486 2014-04-30 Julian Brown <julian@codesourcery.com>
10487
10488 [BZ #16888]
10489 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10490 handling.
10491
10492 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10493
10494 [BZ #9894]
10495 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10496 Change to 2.6.32.
10497 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10498 * sysdeps/unix/sysv/linux/configure: Regenerated.
10499 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10500 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10501 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10502 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10503 * README: Update reference to required Linux kernel version.
10504 * manual/install.texi (Linux): Update reference to required Linux
10505 kernel headers version.
10506 * INSTALL: Regenerated.
10507
10508 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10509 header inclusion.
10510 [POSIX] (limits.h): Likewise.
10511 [POSIX] (math.h): Likewise.
10512 [POSIX] (sys/wait.h): Likewise.
10513 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10514 function.
10515 [POSIX] (stddef.h): Do not allow header inclusion.
10516
10517 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10518
10519 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10520
10521 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10522
10523 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10524 Return immediately after lll_futex_wake.
10525
10526 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10527
10528 [BZ #16791]
10529 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10530 structure.
10531 (datahead_init_pos): Call datahead_init_common early.
10532 (datahead_init_neg): Likewise.
10533
10534 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10535 datahead_init_neg): New functions.
10536 * nscd/aicache.c (addhstaiX): Use them.
10537 * nscd/grpcache.c (cache_addgr): Likewise.
10538 * nscd/hstcache.c (cache_addhst): Likewise.
10539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10540 * nscd/netgroupcache.c (do_notfound): Likewise.
10541 (addgetnetgrentX): Likewise.
10542 (addinnetgrX): Likewise.
10543 * nscd/pwdcache.c (cache_addpw): Likewise.
10544 * nscd/servicescache.c (cache_addserv): Likewise.
10545
10546 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10547 Atsushi Onoe <atsushi@onoe.org>
10548
10549 [BZ #14308]
10550 [BZ #12994]
10551 [BZ #13651]
10552 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10553 one response is valid.
10554 * resolv/res_send.c (send_dg): Check for validity of other
10555 response if the current response is a referral.
10556
10557 2014-04-29 Steve Ellcey <sellcey@mips.com>
10558
10559 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10560
10561 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10562
10563 [BZ #16823]
10564 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10565 Always divide by positive zero when computing -Inf result.
10566 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10567 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10568
10569 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10570
10571 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10572 FPSCR if value do not change.
10573 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10574 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10575 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10576 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10577 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10578 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10579 function.
10580
10581 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10582
10583 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10584 * sysdeps/unix/sysv/linux/hppa: Move directory from
10585 ports/systeps/unix/sysv/linux/hppa.
10586 * README: Update listing for hppa-*-linux-gnu.
10587
10588 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10589
10590 [BZ #16754]
10591 * manual/stdio.texi (Hook functions): Fix types of stream hook
10592 functions.
10593 [BZ #16854]
10594 * socket/sys/socket.h: Fix typo in comment.
10595
10596 2014-04-28 Wilco <wdijkstr@arm.com>
10597
10598 * sysdeps/arm/fenv_private.h: New file.
10599 * sysdeps/arm/math_private.h: New file.
10600 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10601
10602 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10605 with __int128_t.
10606 (La_x86_64_retval): Likewise.
10607
10608 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10609
10610 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10611 fpsr if value didn't change.
10612 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10613 to fpcr if value didn't change.
10614 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10615 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10616 fpsr or fpcr if value didn't change.
10617 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10618 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10619 fpcr if value didn't change.
10620 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10621 to fpsr if value didn't change.
10622
10623 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10624
10625 * nptl/tst-sem3.c: Use test-skeleton.c
10626 (main): Rename to do_test. Use return instead of
10627 exit.
10628 * nptl/tst-sem4.c: Use test-skeleton.c
10629 (main): Rename to do_test.
10630
10631 2014-04-22 David S. Miller <davem@davemloft.net>
10632
10633 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10634 (struct sigaction): New struct member __glibc_reserved0, change
10635 type of sa_flags to int.
10636
10637 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10638
10639 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10640 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10641
10642 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10643
10644 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10645 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10646
10647 2014-04-22 Will Newton <will.newton@linaro.org>
10648 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10649
10650 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10651 (__longjmp): Add longjmp and longjmp_target SystemTap
10652 probes.
10653 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10654 (__sigsetjmp): Add setjmp SystemTap probe.
10655
10656 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10657
10658 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10659 match manual order.
10660
10661 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10662
10663 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10664
10665 * sysdeps/powerpc/fpu/fenv_private.h
10666 (libc_feholdexcept_setroundl_ctx): Define to
10667 libc_feholdexcept_setround_ppc_ctx.
10668 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10669 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10670 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10671 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10672
10673 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10674
10675 * sysdeps/aarch64/math-tests.h: New file.
10676
10677 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10678
10679 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10680 New.
10681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10682 Check and set bit_AVX2_Usable.
10683 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10684 macro.
10685 (bit_AVX2): Likewise.
10686 (index_AVX2_Usable): Likewise.
10687 (CPUID_AVX2): Likewise.
10688 (HAS_AVX2): Likewise.
10689
10690 2014-04-17 Will Newton <will.newton@linaro.org>
10691
10692 * manual/setjmp.texi (System V contexts): Add note that
10693 calling setcontext on a context created by a call to a
10694 signal handler is undefined. Update text to note that
10695 setcontext from a signal handler is possible but not
10696 recommended.
10697
10698 [BZ #16629]
10699 * stdlib/tst-setcontext.c: Include signal.h.
10700 (main): Check that the signal stack before and
10701 after swapcontext is the same.
10702
10703 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10704 Re-implement to restore registers in user code and avoid
10705 rt_sigreturn system call.
10706
10707 2014-04-17 Wilco <wdijkstr@arm.com>
10708
10709 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10710 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10711 * math/test-fenv.c: Skip exception trap tests on targets which only
10712 support non-stop mode.
10713
10714 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10715 Wilco Dijkstra <wilco.dijkstra@arm.com>
10716
10717 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10718 (libc_feholdsetround_aarch64_ctx)
10719 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10720 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10721 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10722 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10723 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10724 (libc_feresetround_noexl_ctx): Define.
10725
10726 2014-04-16 Richard Henderson <rth@redhat.com>
10727
10728 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10729
10730 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10731 unwind tables.
10732
10733 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10734 const from the non-libc, non-ldso copy.
10735
10736 * sysdeps/alpha/libm-test-ulps: Regenerate.
10737
10738 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10739 Wilco Dijkstra <wilco.dijkstra@arm.com>
10740
10741 * sysdeps/aarch64/fpu/math_private.h: New file.
10742
10743 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10744
10745 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10746
10747 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10748
10749 [BZ #16275]
10750 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10751 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10753 Intel MPX bound registers before _dl_profile_fixup.
10754 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10755 registers after _dl_profile_fixup. Save and restore bound
10756 registers bnd0/bnd1 when calling _dl_call_pltexit.
10757 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10758 (LR_BND_OFFSET): Likewise.
10759 (LRV_BND0_OFFSET): Likewise.
10760 (LRV_BND1_OFFSET): Likewise.
10761
10762 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10763
10764 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10765 to...
10766 * sysdeps/mach/hurd/i386/tls.h: ... here.
10767 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10768 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10769 fields.
10770
10771 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10772
10773 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10774
10775 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10776
10777 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10778
10779 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10780
10781 [BZ #14770]
10782 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10783 * sysdeps/s390/configure: Regenerate.
10784
10785 [BZ #16824]
10786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10787 Set round-to-nearest internally to reduce error accumulation.
10788
10789 2014-04-16 Alan Modra <amodra@gmail.com>
10790
10791 [BZ #16740]
10792 [BZ #16619]
10793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10794 * math/libm-test.inc (frexp_test_data): Add tests.
10795 * NEWS: Update fixed bug list.
10796
10797 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 * benchtests/Makefile: Depend on libraries in build directory.
10800 (bench-math): Separate out math tests.
10801 (bench-pthread): Separate out pthread tests.
10802 (bench): Include math and pthread tests.
10803
10804 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10805
10806 [BZ #16831]
10807 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10808 _dl_debug_initialize.
10809
10810 * configure.ac: Remove SELinux header check.
10811 * configure: Regenerate.
10812 * nscd/selinux.c (perms): Array of const char* to permission names.
10813 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10814 default policy. Call string_to_security_class and string_to_av_perm to
10815 translate strings. Enforce default policy and call avs_has_perm with
10816 results of translated strings.
10817
10818 2014-04-13 David S. Miller <davem@davemloft.net>
10819
10820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10821
10822 2014-04-12 Allan McRae <allan@archlinux.org>
10823
10824 [BZ #16838]
10825 * manual/string.texi (Collation Functions): Fix qsort argument
10826 order in example.
10827 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10828
10829 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10830
10831 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10832 Make the test a no-op if there are no exceptions defined.
10833
10834 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10835
10836 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10837 enable-hardcoded-path-in-tests
10838
10839 2014-04-11 Will Newton <will.newton@linaro.org>
10840
10841 * benchtests/Makefile (extra-objs): Add json-lib.o.
10842 (bench-func): Tidy up JSON output.
10843 * benchtests/bench-skeleton.c: Include json-lib.h.
10844 (main): Use JSON library functions to do output of
10845 benchmark results.
10846 * benchtests/bench-timing-type.c (main): Output the
10847 timing type simply, leaving formatting to the user.
10848 * benchtests/json-lib.c: New file.
10849 * benchtests/json-lib.h: Likewise.
10850
10851 2014-04-11 Torvald Riegel <triegel@redhat.com>
10852
10853 [BZ #15215]
10854 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10855 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10856 memory barriers. Add comments.
10857 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10858 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10859 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10860 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10861 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10862 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10863
10864 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10865
10866 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10867 * sysdeps/s390/s390-64/configure.ac: ... this ...
10868 * sysdeps/s390/configure.ac: ... to here.
10869 * sysdeps/s390/s390-32/configure: Delete file.
10870 * sysdeps/s390/s390-64/configure: Delete file.
10871 * sysdeps/s390/configure: Regenerate.
10872
10873 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10874
10875 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10876
10877 2014-04-11 Will Newton <will.newton@linaro.org>
10878
10879 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10880 to zero if it is not defined elsewhere. (mtrim): Test
10881 the value of MALLOC_DEBUG with #if rather than #ifdef.
10882
10883 2014-04-10 Torvald Riegel <triegel@redhat.com>
10884
10885 * benchtests/pthread_once-inputs: New file.
10886 * benchtests/pthread_once-source.c: New file.
10887 * benchtests/README: Update documentation.
10888
10889 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10890 H.J. Lu <hongjiu.lu@intel.com>
10891
10892 [BZ #16275]
10893 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10894 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10895 * sysdeps/x86_64/configure: Regenerated.
10896 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10897 macro.
10898 (REGISTER_SAVE_RAX): Likewise.
10899 (REGISTER_SAVE_RCX): Likewise.
10900 (REGISTER_SAVE_RDX): Likewise.
10901 (REGISTER_SAVE_RSI): Likewise.
10902 (REGISTER_SAVE_RDI): Likewise.
10903 (REGISTER_SAVE_R8): Likewise.
10904 (REGISTER_SAVE_R9): Likewise.
10905 (REGISTER_SAVE_BND0): Likewise.
10906 (REGISTER_SAVE_BND1): Likewise.
10907 (REGISTER_SAVE_BND2): Likewise.
10908 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10909 bound registers when calling _dl_fixup.
10910
10911 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10912
10913 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10914 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10915 of its definition.
10916 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10917 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10918 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10919 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10920 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10921 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10922 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10923
10924 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10925
10926 [BZ #15514]
10927 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10928 pathconf(_PC_NAME_MAX).
10929
10930 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10931
10932 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10933 Remove macro usage.
10934 (__PTHREAD_SPINS): Move definition to ...
10935 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10936 (__PTHREAD_SPINS): ... here.
10937 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10938 (__PTHREAD_SPIN): Likewise.
10939 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10940 (__PTHREAD_SPIN): Likewise.
10941 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10942 (__PTHREAD_SPIN): Likewise.
10943 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10944 (__PTHREAD_SPIN): Likewise.
10945 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10946 (__PTHREAD_SPIN): Likewise.
10947 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10948 (__PTHREAD_SPIN): Likewise.
10949 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10950 (__PTHREAD_SPIN): Likewise.
10951 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10952 (__PTHREAD_SPIN): Likewise.
10953 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10954 (__PTHREAD_SPIN): Likewise.
10955 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10956 (__PTHREAD_SPIN): Likewise.
10957 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10958 (__PTHREAD_SPIN): Likewise.
10959 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10960 (__PTHREAD_SPIN): Likewise.
10961
10962 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10963 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10964 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10965 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10966 imply folder.
10967 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10968 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10969 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10970 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10971 correct imply path.
10972 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10973 strlen symbol for non multi-arch builds.
10974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10975 missing hidden_def and weak_alias.
10976
10977 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10978
10979 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10980
10981 2014-04-07 Will Newton <will.newton@linaro.org>
10982
10983 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10984 and contents. [!_LIBC] Remove #ifndef and contents.
10985 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10986 * string/memccpy.c (__memccpy): Use ANSI prototype.
10987 * string/memfrob.c (memfrob): Likewise.
10988 * string/strcoll.c (STRCOLL): Likewise.
10989 * string/strlen.c (strlen): Likewise.
10990 * string/strtok.c (STRTOK): Likewise.
10991 * string/strcat.c: Remove unused #include of memcopy.h.
10992 (strcat): Use ANSI prototype.
10993 * string/strchr.c: Remove unused #include of memcopy.h.
10994 (strchr): Use ANSI prototype.
10995 * string/strcmp.c: Remove unused #include of memcopy.h.
10996 (strcmp): Use ANSI prototype.
10997 * string/strcpy.c: Remove unused #include of memcopy.h.
10998 (strcpy): Use ANSI prototype.
10999
11000 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11001
11002 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11003 * config.make.in (config-extra-cppflags): Set it from
11004 libc_extra_cppflags.
11005 * configure.ac (libc_extra_cflags): Make it accumulate over
11006 configure fragments.
11007 (libc_extra_cppflags): New flag.
11008 * configure. Regenerate.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11010 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11011 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11013
11014 [BZ #16815]
11015 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11016 result for FE_DOWNWARD rounding mode.
11017 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11018 Likewise.
11019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11020
11021 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11022
11023 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11024 in function argument name.
11025
11026 2014-04-03 David Svoboda <svoboda@cert.org>
11027
11028 [BZ #5666]
11029 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11030 explicitly.
11031
11032 2014-04-03 Roland McGrath <roland@hack.frob.com>
11033
11034 * elf/dl-unmap-segments.h: New file.
11035 * sysdeps/generic/ldsodefs.h
11036 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11037 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11038 * elf/dl-fptr.c: Likewise.
11039 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11040 * sysdeps/aarch64/tlsdesc.c: Likewise.
11041 * sysdeps/arm/tlsdesc.c: Likewise.
11042 * sysdeps/i386/tlsdesc.c: Likewise.
11043 * sysdeps/tile/dl-runtime.c: Likewise.
11044 * sysdeps/x86_64/tlsdesc.c: Likewise.
11045 * elf/dl-load.h: New file.
11046 * elf/dl-load.c: Include it.
11047 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11048 Macros moved to dl-load.h.
11049 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11050 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11051 Use _dl_unmap_segments in place of __munmap.
11052 Break out segment-mapping loop into ...
11053 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11054
11055 2014-04-03 Will Newton <will.newton@linaro.org>
11056
11057 * elf/dl-lookup.c (do_lookup_x): Remove comment
11058 referring to nested function and move variable
11059 declarations down to before first use.
11060
11061 2014-04-02 Joseph Myers <joseph@codesourcery.com>
11062
11063 [BZ #16799]
11064 [BZ #16800]
11065 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11066 with 0 numerator.
11067 * math/s_catanf.c (__catanf): Likewise.
11068 * math/s_catanh.c (__catanh): Likewise.
11069 * math/s_catanhf.c (__catanhf): Likewise.
11070 * math/s_catanhl.c (__catanhl): Likewise.
11071 * math/s_catanl.c (__catanl): Likewise.
11072 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11073 by positive zero when computing -Inf result.
11074 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11075 (catanh_test): Likewise.
11076 * sysdeps/i386/fpu/libm-test-ulps: Update.
11077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11078
11079 [BZ #16789]
11080 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11081 instead of using underflowing value in computing result.
11082 * math/s_clog10.c (__clog10): Likewise.
11083 * math/s_clog10f.c (__clog10f): Likewise.
11084 * math/s_clog10l.c (__clog10l): Likewise.
11085 * math/s_clogf.c (__clogf): Likewise.
11086 * math/s_clogl.c (__clogl): Likewise.
11087 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11088 (clog10_test): Likewise.
11089 * sysdeps/i386/fpu/libm-test-ulps: Update.
11090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11091
11092 2014-04-02 Alan Modra <amodra@gmail.com>
11093
11094 [BZ #16739]
11095 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11096 output when value is near a power of two. Use int64_t for lx and
11097 remove casts. Use decimal rather than hex exponent constants.
11098 Don't use long double multiplication when double will suffice.
11099 * math/libm-test.inc (nextafter_test_data): Add tests.
11100 * NEWS: Add 16739 and 16786 to bug list.
11101
11102 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11103
11104 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11105
11106 2014-04-01 Will Newton <will.newton@linaro.org>
11107
11108 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11109 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11110
11111 2014-04-01 Florian Weimer <fweimer@redhat.com>
11112
11113 [BZ #13347]
11114 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11115 * nptl/tst-setuid2.c: New file.
11116 * nptl/Makefile (xtests): Add tst-setuid2.
11117
11118 2014-04-01 Alan Modra <amodra@gmail.com>
11119
11120 [BZ #16786]
11121 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11122
11123 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11124
11125 [BZ #6803]
11126 [BZ #6804]
11127 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11128 set errno as appropriate.
11129 * math/w_scalbf.c (__scalbf): Likewise.
11130 * math/w_scalbl.c (__scalbl): Likewise.
11131 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11132 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11133 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11134 Add more NaN tests.
11135
11136 [BZ #16349]
11137 * math/w_atan2.c: Include <errno.h>.
11138 (__atan2): Set errno for result underflowing to zero.
11139 * math/w_atan2f.c: Include <errno.h>.
11140 (__atan2f): Set errno for result underflowing to zero.
11141 * math/w_atan2l.c: Include <errno.h>.
11142 (__atan2l): Set errno for result underflowing to zero.
11143 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11144 tests.
11145 * math/auto-libm-test-out: Regenerated.
11146
11147 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11148
11149 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11150 Encode instruction correctly in little endian.
11151 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11152 Likewise.
11153 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11154 Likewise.
11155 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11156 Likewise.
11157 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11158 Likewise.
11159
11160 2014-03-31 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #9894]
11163 * sysdeps/unix/sysv/linux/kernel-features.h
11164 [__sparc__ && !__arch64__ && !__sparc_v9__]
11165 (__ASSUME_SET_ROBUST_LIST): Do not define.
11166 [__sparc__ && !__arch64__ && !__sparc_v9__]
11167 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11168 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11169 Likewise.
11170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11171 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11172 (__ASSUME_REQUEUE_PI): Likewise.
11173 (__ASSUME_SET_ROBUST_LIST): Likewise.
11174 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11175 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11176 Undefine.
11177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11178 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11179 Likewise.
11180 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11181 Likewise.
11182 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11183 Likewise.
11184 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11185 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11186 Undefine.
11187 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11188 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11189 Likewise.
11190
11191 [BZ #16648]
11192 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11193 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11194 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11195
11196 2014-03-31 Will Newton <will.newton@linaro.org>
11197
11198 * benchtests/Makefile (bench): Add ffs and ffsll to list
11199 of tests.
11200 * benchtests/ffs-inputs: New file.
11201 * benchtests/ffsll-inputs: Likewise.
11202
11203 2014-03-29 Joseph Myers <joseph@codesourcery.com>
11204
11205 [BZ #16770]
11206 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11207 too large before casting to int.
11208 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11209 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11210 * math/libm-test.inc (scalb_test_data): Add more tests.
11211
11212 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11213
11214 * benchtests/Makefile (DETAILED_OPT): New make option.
11215 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11216 set.
11217 * benchtests/bench-skeleton.c: Include stdbool.h.
11218 (main): Store and print timings per input.
11219 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11220 member to each argument value.
11221 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11222 (_print_arg_data): Initialize per-input timing to 0.
11223
11224 * benchtests/Makefile (timing-type): New binary.
11225 (bench-clean): Also remove bench-timing-type.
11226 (bench): New target for timing-type.
11227 (bench-func): Print output in JSON format.
11228 * benchtests/bench-skeleton.c (main): Print output in JSON
11229 format.
11230 * benchtests/bench-timing-type.c: New file.
11231 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11232 (TIMING_PRINT_STATS): Remove.
11233 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11234 name separately.
11235
11236 * benchtests/bench-modf.c: Remove.
11237 * benchtests/modf-inputs: New inputs file.
11238
11239 2014-03-28 Joseph Myers <joseph@codesourcery.com>
11240
11241 [BZ #16362]
11242 * math/s_clog10.c (M_PI_LOG10E): New macro.
11243 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11244 imaginary parts are 0.
11245 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11246 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11247 imaginary parts are 0.
11248 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11249 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11250 imaginary parts are 0.
11251 * math/libm-test.inc (clog10_test_data): Update expected results
11252 for when real and imaginary parts are 0.
11253
11254 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11255
11256 * elf/dl-load.c: Finish conversion of __builtin_expect into
11257 __glibc_{un}likely.
11258
11259 2014-03-27 Joseph Myers <joseph@codesourcery.com>
11260
11261 [BZ #16348]
11262 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11263 1+x for argument with exponent below -67.
11264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11265 Likewise.
11266 * math/auto-libm-test-in: Add more tests of exp.
11267 * math/auto-libm-test-out: Regenerated.
11268
11269 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11270
11271 [BZ #16759]
11272 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11273 (nscd_getnetgrent): Use it.
11274
11275 [BZ #16760]
11276 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11277 of stpcpy.
11278
11279 2014-03-27 Andi Kleen <ak@linux.intel.com>
11280
11281 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11282 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11283 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11284 (lll_robust_unlock): Remove out of line section. Use cfi
11285 intrinsics.
11286 (LLL_STUB_UNWIND_INFO*): Remove.
11287 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11288 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11289 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11290 (lll_robust_unlock): Remove out of line section. Use cfi
11291 intrinsics.
11292 (LLL_STUB_UNWIND_INFO*): Remove.
11293
11294 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11295
11296 [BZ #16758]
11297 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11298 blank values.
11299
11300 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11301
11302 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11303
11304 2014-03-26 Joseph Myers <joseph@codesourcery.com>
11305
11306 [BZ #16198]
11307 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11308 fnstenv.
11309 * math/test-fenv-preserve.c: New file.
11310 * math/Makefile (tests): Add test-fenv-preserve.
11311
11312 2014-03-26 Will Newton <will.newton@linaro.org>
11313
11314 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11315
11316 2014-03-25 Roland McGrath <roland@hack.frob.com>
11317
11318 * scripts/versionlist.awk: Partition the version sets and emit all
11319 GLIBC_* (sorted) before all others (sorted).
11320
11321 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11322
11323 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11324 GLIBC_2.2.5 version.
11325
11326 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11327
11328 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11329 calls.
11330
11331 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11332 previous change.
11333
11334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11335
11336 2014-03-25 Andreas Schwab <schwab@suse.de>
11337
11338 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11339 label to be used after in6ailist is initialized.
11340
11341 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11342
11343 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11344 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11345
11346 2014-03-25 Joseph Myers <joseph@codesourcery.com>
11347
11348 [BZ #16357]
11349 [BZ #16599]
11350 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11351 min_plus_half.
11352 (fp_formats): Update initializers.
11353 (init_fp_formats): Initialize new field.
11354 (output_for_one_input_case): Allow underflow for results up to
11355 min_plus_half.
11356 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11357 * math/auto-libm-test-in: Don't mark some underflows from asin and
11358 atanh as spurious.
11359 * math/auto-libm-test-out: Regenerated.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362
11363 2014-03-25 Andreas Schwab <schwab@suse.de>
11364
11365 * libio/Makefile (tst-ftell-partial-wide-ENV)
11366 (tst-ftell-active-handler-ENV): Define.
11367
11368 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11369
11370 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11371
11372 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11373
11374 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11375
11376 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11377
11378 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11379 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11380 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11381
11382 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11383
11384 [BZ #16634]
11385 * elf/dl-load.c (open_verify): Add mode parameter.
11386 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11387 (open_path): Change from boolean 'secure' to complete flag 'mode'
11388 (_dl_map_object): Adjust.
11389 * elf/Makefile (tests): Add tst-dlopen-aout.
11390 * elf/tst-dlopen-aout.c: New test.
11391
11392 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11393
11394 [BZ #16714]
11395 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11396 (struct stat): Rename member pad0 to __glibc_reserved0.
11397
11398 [BZ #16712]
11399 * sysdeps/s390/s390-32/bits/wordsize.h
11400 (__WORDSIZE32_SIZE_ULONG): New define.
11401 * sysdeps/s390/s390-64/bits/wordsize.h
11402 (__WORDSIZE32_SIZE_ULONG): Likewise.
11403 * sysdeps/generic/stdint.h (SIZE_MAX):
11404 Define as UL if __WORDSIZE32_SIZE_ULONG.
11405
11406 [BZ #16713]
11407 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11408 (__glibc_reserved0): New variable.
11409 (sa_flags): Change type to int.
11410
11411 * posix/Makefile (before-compile): Use += before-compile instead
11412 of a :=.
11413
11414 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11415 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11416
11417 2014-03-20 Andreas Schwab <schwab@suse.de>
11418
11419 [BZ #16743]
11420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11421 non-matching result from nscd.
11422
11423 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11424
11425 * scripts/bench.py: Moved to ...
11426 * benchtests/scripts/bench.py: ... here.
11427 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11428
11429 2014-03-24 Andreas Schwab <schwab@suse.de>
11430
11431 [BZ #16002]
11432 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11433 alloca_account and account alloca use for struct in6ailist.
11434
11435 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11436
11437 [BZ #16284]
11438 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11439 rounding mode to recompute results that overflow to infinity or
11440 underflow to zero.
11441 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11442 bug 16284.
11443 * math/auto-libm-test-out: Regenerated.
11444 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11445 (ccosh_test): Likewise.
11446 (csin_test_data): Use plus_oflow.
11447 (csin_test): Use ALL_RM_TEST.
11448 (csinh_test_data): Use plus_oflow.
11449 (csinh_test): Use ALL_RM_TEST.
11450 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11452
11453 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11454
11455 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11456 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11457 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11458
11459 [BZ #16731]
11460 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11461 when x - 1 is zero.
11462 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11463 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11464 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11466 argument is 1.
11467 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11468 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11469 zero.
11470 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11471 * sysdeps/i386/fpu/libm-test-ulps: Update.
11472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11473
11474 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11475
11476 * scripts/bench.pl: Remove file.
11477 * scripts/bench.py: New benchmark script.
11478 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11479 * benchtests/README: Mention python dependency.
11480 * scripts/pylintrc: New file.
11481 * scripts/pylint: New file.
11482
11483 * bits/mathdef.h: Use #ifdef instead of #if.
11484 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11485 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11486 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11487 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11488 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11489 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11490
11491 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11492 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11493
11494 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11496 and strpbrk-ppc64 objects.
11497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11498 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11499 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11500 multiarch strpbrk for POWER7.
11501 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11502 multiarch strpbrk for PPC64.
11503 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11504 ifunc selector.
11505 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11506 strpbrk for POWER7.
11507
11508 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11509
11510 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11511 (atan_test): Likewise.
11512 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11513 (atanh_test): Use ALL_RM_TEST.
11514 (atan2_test_data): Likewise.
11515 (cabs_test): Likewise.
11516 (cacosh_test): Likewise.
11517 (carg_test): Likewise.
11518 (casin_test): Likewise.
11519 (casinh_test): Likewise.
11520 (cbrt_test): Likewise.
11521 (csqrt_test): Likewise.
11522 (erf_test): Likewise.
11523 (erfc_test): Likewise.
11524 (pow10_test): Likewise.
11525 (exp2_test): Likewise.
11526 (hypot_test): Likewise.
11527 (j0_test): Likewise.
11528 (j1_test): Likewise.
11529 (lgamma_test): Likewise.
11530 (gamma_test): Likewise.
11531 (sincos_test): Likewise.
11532 (tanh_test): Likewise.
11533 (y0_test): Likewise.
11534 (y1_test): Likewise.
11535 * sysdeps/i386/fpu/libm-test-ulps: Update.
11536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11537
11538 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11539
11540 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11542 and strcspn-ppc64 objects.
11543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11544 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11545 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11546 multiarch strcspn for POWER7.
11547 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11548 multiarch strcspn for PPC64.
11549 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11550 ifunc selector.
11551 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11552 strcspn for POWER7.
11553
11554 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11555
11556 * math/gen-libm-test.pl (generate_testfile): Expect only function
11557 name as argument to AUTO_TESTS_* and pass results for all rounding
11558 modes to parse_args.
11559 (parse_auto_input): Separate inputs of automatic tests from
11560 outputs before storing in %auto_tests.
11561 * math/libm-test.inc (acos_test_data): Update call to
11562 AUTO_TESTS_f_f.
11563 (acos_test): Use ALL_RM_TEST.
11564 (acos_tonearest_test_data): Remove.
11565 (acos_test_tonearest): Likewise.
11566 (acos_towardzero_test_data): Likewise.
11567 (acos_test_towardzero): Likewise.
11568 (acos_downward_test_data): Likewise.
11569 (acos_test_downward): Likewise.
11570 (acos_upward_test_data): Likewise.
11571 (acos_test_upward): Likewise.
11572 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11573 (asin_test_data): Likewise.
11574 (asin_test): Use ALL_RM_TEST.
11575 (asin_tonearest_test_data): Remove.
11576 (asin_test_tonearest): Likewise.
11577 (asin_towardzero_test_data): Likewise.
11578 (asin_test_towardzero): Likewise.
11579 (asin_downward_test_data): Likewise.
11580 (asin_test_downward): Likewise.
11581 (asin_upward_test_data): Likewise.
11582 (asin_test_upward): Likewise.
11583 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11584 (atan_test_data): Likewise.
11585 (atanh_test_data): Likewise.
11586 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11587 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11588 (carg_test_data): Likewise.
11589 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11590 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11591 (ccosh_test_data): Likewise.
11592 (cexp_test_data): Likewise.
11593 (clog_test_data): Likewise.
11594 (clog10_test_data): Likewise.
11595 (cos_test_data): Update call to AUTO_TESTS_f_f.
11596 (cos_test): Use ALL_RM_TEST.
11597 (cos_tonearest_test_data): Remove.
11598 (cos_test_tonearest): Likewise.
11599 (cos_towardzero_test_data): Likewise.
11600 (cos_test_towardzero): Likewise.
11601 (cos_downward_test_data): Likewise.
11602 (cos_test_downward): Likewise.
11603 (cos_upward_test_data): Likewise.
11604 (cos_test_upward): Likewise.
11605 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11606 (cosh_test): Use ALL_RM_TEST.
11607 (cosh_tonearest_test_data): Remove.
11608 (cosh_test_tonearest): Likewise.
11609 (cosh_towardzero_test_data): Likewise.
11610 (cosh_test_towardzero): Likewise.
11611 (cosh_downward_test_data): Likewise.
11612 (cosh_test_downward): Likewise.
11613 (cosh_upward_test_data): Likewise.
11614 (cosh_test_upward): Likewise.
11615 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11616 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11617 (ctan_test_data): Likewise.
11618 (ctan_test): Use ALL_RM_TEST.
11619 (ctan_tonearest_test_data): Remove.
11620 (ctan_test_tonearest): Likewise.
11621 (ctan_towardzero_test_data): Likewise.
11622 (ctan_test_towardzero): Likewise.
11623 (ctan_downward_test_data): Likewise.
11624 (ctan_test_downward): Likewise.
11625 (ctan_upward_test_data): Likewise.
11626 (ctan_test_upward): Likewise.
11627 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11628 (ctanh_test): Use ALL_RM_TEST.
11629 (ctanh_tonearest_test_data): Remove.
11630 (ctanh_test_tonearest): Likewise.
11631 (ctanh_towardzero_test_data): Likewise.
11632 (ctanh_test_towardzero): Likewise.
11633 (ctanh_downward_test_data): Likewise.
11634 (ctanh_test_downward): Likewise.
11635 (ctanh_upward_test_data): Likewise.
11636 (ctanh_test_upward): Likewise.
11637 (erf_test_data): Update call to AUTO_TESTS_f_f.
11638 (erfc_test_data): Likewise.
11639 (exp_test_data): Likewise.
11640 (exp_test): Use ALL_RM_TEST.
11641 (exp_tonearest_test_data): Remove.
11642 (exp_test_tonearest): Likewise.
11643 (exp_towardzero_test_data): Likewise.
11644 (exp_test_towardzero): Likewise.
11645 (exp_downward_test_data): Likewise.
11646 (exp_test_downward): Likewise.
11647 (exp_upward_test_data): Likewise.
11648 (exp_test_upward): Likewise.
11649 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11650 (exp10_test): Use ALL_RM_TEST.
11651 (exp10_tonearest_test_data): Remove.
11652 (exp10_test_tonearest): Likewise.
11653 (exp10_towardzero_test_data): Likewise.
11654 (exp10_test_towardzero): Likewise.
11655 (exp10_downward_test_data): Likewise.
11656 (exp10_test_downward): Likewise.
11657 (exp10_upward_test_data): Likewise.
11658 (exp10_test_upward): Likewise.
11659 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11660 (expm1_test_data): Likewise.
11661 (expm1_test): Use ALL_RM_TEST.
11662 (expm1_tonearest_test_data): Remove.
11663 (expm1_test_tonearest): Likewise.
11664 (expm1_towardzero_test_data): Likewise.
11665 (expm1_test_towardzero): Likewise.
11666 (expm1_downward_test_data): Likewise.
11667 (expm1_test_downward): Likewise.
11668 (expm1_upward_test_data): Likewise.
11669 (expm1_test_upward): Likewise.
11670 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11671 (fma_test): Use ALL_RM_TEST.
11672 (fma_towardzero_test_data): Remove.
11673 (fma_test_towardzero): Likewise.
11674 (fma_downward_test_data): Likewise.
11675 (fma_test_downward): Likewise.
11676 (fma_upward_test_data): Likewise.
11677 (fma_test_upward): Likewise.
11678 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11679 (j0_test_data): Update call to AUTO_TESTS_f_f.
11680 (j1_test_data): Likewise.
11681 (jn_test_data): Update call to AUTO_TESTS_if_f.
11682 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11683 (log_test_data): Update call to AUTO_TESTS_f_f.
11684 (log10_test_data): Likewise.
11685 (log1p_test_data): Likewise.
11686 (log2_test_data): Likewise.
11687 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11688 (pow_tonearest_test_data): Likewise.
11689 (sin_test_data): Update call to AUTO_TESTS_f_f.
11690 (sin_test): Use ALL_RM_TEST.
11691 (sin_tonearest_test_data): Remove.
11692 (sin_test_tonearest): Likewise.
11693 (sin_towardzero_test_data): Likewise.
11694 (sin_test_towardzero): Likewise.
11695 (sin_downward_test_data): Likewise.
11696 (sin_test_downward): Likewise.
11697 (sin_upward_test_data): Likewise.
11698 (sin_test_upward): Likewise.
11699 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11700 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11701 (sinh_test): Use ALL_RM_TEST.
11702 (sinh_tonearest_test_data): Remove.
11703 (sinh_test_tonearest): Likewise.
11704 (sinh_towardzero_test_data): Likewise.
11705 (sinh_test_towardzero): Likewise.
11706 (sinh_downward_test_data): Likewise.
11707 (sinh_test_downward): Likewise.
11708 (sinh_upward_test_data): Likewise.
11709 (sinh_test_upward): Likewise.
11710 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11711 (sqrt_test): Use ALL_RM_TEST.
11712 (sqrt_tonearest_test_data): Remove.
11713 (sqrt_test_tonearest): Likewise.
11714 (sqrt_towardzero_test_data): Likewise.
11715 (sqrt_test_towardzero): Likewise.
11716 (sqrt_downward_test_data): Likewise.
11717 (sqrt_test_downward): Likewise.
11718 (sqrt_upward_test_data): Likewise.
11719 (sqrt_test_upward): Likewise.
11720 (tan_test_data): Update call to AUTO_TESTS_f_f.
11721 (tan_test): Use ALL_RM_TEST.
11722 (tan_tonearest_test_data): Remove.
11723 (tan_test_tonearest): Likewise.
11724 (tan_towardzero_test_data): Likewise.
11725 (tan_test_towardzero): Likewise.
11726 (tan_downward_test_data): Likewise.
11727 (tan_test_downward): Likewise.
11728 (tan_upward_test_data): Likewise.
11729 (tan_test_upward): Likewise.
11730 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11731 (tgamma_test_data): Likewise.
11732 (y0_test_data): Likewise.
11733 (y1_test_data): Likewise.
11734 (yn_test_data): Update call to AUTO_TESTS_if_f.
11735 (main): Do not call removed functions.
11736
11737 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11738
11739 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11740 (ldexp_test_data): Remove.
11741 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11742 scalbn_test_data.
11743 (scalb_test): Use ALL_RM_TEST.
11744
11745 2014-03-19 Andreas Schwab <schwab@suse.de>
11746
11747 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11748
11749 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11750
11751 [BZ #16649]
11752 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11753 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11754 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11755 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11756 (__ASSUME_PREADV): Undefine.
11757 (__ASSUME_PWRITEV): Likewise.
11758
11759 2014-03-18 Roland McGrath <roland@hack.frob.com>
11760
11761 * bits/mman-linux.h: Add comment about non-Linux use.
11762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11763 bits/mman-linux.h resting place.
11764
11765 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11766 * bits/mman-linux.h: ... here.
11767
11768 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
11770 * conform/conformtest.pl: Add standard definition when calling C
11771 preprocessor on data files.
11772 (checknamespace): Remove unused variable.
11773
11774 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11775
11776 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11777 minus_oflow, plus_uflow and minus_uflow in expected results.
11778 * math/libm-test.inc (scalbn_test_data): Add more tests of
11779 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11780 minus_uflow.
11781 (scalbn_test): Use ALL_RM_TEST.
11782 (scalbln_test_data): Add more tests of negative arguments. Use
11783 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11784 (scalbln_test): Use ALL_RM_TEST.
11785
11786 2014-03-18 Roland McGrath <roland@hack.frob.com>
11787
11788 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11789
11790 2014-03-18 Will Newton <will.newton@linaro.org>
11791
11792 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11793 inaccurate comment.
11794
11795 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11796
11797 * Makerules [!subdir] (check-abi): Exit with error status if a
11798 test failed.
11799
11800 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11801
11802 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11803 for rint. Include results for all rounding modes.
11804 (nearbyint_test): Use ALL_RM_TEST.
11805 (rint_test_data): Include all tests used for nearbyint.
11806
11807 2014-03-17 Will Newton <will.newton@linaro.org>
11808
11809 * nptl/sysdeps/pthread/pthread.h: Revert previous
11810 change.
11811
11812 * sysdeps/generic/ldsodefs.h: Revert previous
11813 change.
11814
11815 * libio/genops.c: Revert previous change.
11816 * libio/libioP.h: Likewise.
11817 * stdio-common/vfprintf.c: Likewise.
11818
11819 * sysdeps/generic/math_private.h: Revert previous
11820 change.
11821
11822 * sysdeps/generic/math_private.h: Check whether
11823 HAVE_RM_CTX is defined with #ifdef rather
11824 than #if.
11825
11826 * argp/argp-fmtstream.h: Check whether
11827 __STRICT_ANSI__ is defined with #ifdef rather
11828 than #if.
11829 * argp/argp.h: Likewise.
11830
11831 * libio/genops.c: Check whether
11832 _IO_JUMPS_OFFSET is defined with #ifdef rather
11833 than #if.
11834 * libio/libioP.h: Likewise.
11835 * stdio-common/vfprintf.c: Likewise.
11836
11837 * sysdeps/generic/ldsodefs.h: Check whether
11838 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11839 than #if.
11840
11841 * nptl/sysdeps/pthread/pthread.h: Check
11842 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11843 its value.
11844
11845 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
11847 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11848 setting O_APPEND.
11849 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11850 test case.
11851
11852 [BZ #16680]
11853 * libio/fileops.c (_IO_file_open): Seek to end of file but
11854 don't cache the offset.
11855 (get_file_offset): Remove function.
11856 (do_ftell): Use cached offset when available.
11857 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11858 don't cache the offset.
11859 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11860 case.
11861 (do_one_test): Call it.
11862 (do_ftell_test): Fix up expected old offset for a+ mode.
11863 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11864 available.
11865
11866 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11867 up test status with function return status.
11868 (do_write_test): Likewise.
11869 (do_append_test): Likewise.
11870
11871 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11872 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11873 Remove.
11874
11875 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11876
11877 * math/gen-libm-test.pl (parse_args): Handle results specified for
11878 each rounding mode separately.
11879 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11880 tests and results from lrint_tonearest_test_data,
11881 lrint_towardzero_test_data, lrint_downward_test_data and
11882 lrint_upward_test_data.
11883 (lrint_test): Use ALL_RM_TEST.
11884 (lrint_tonearest_test_data): Remove.
11885 (lrint_test_tonearest): Likewise.
11886 (lrint_towardzero_test_data): Likewise.
11887 (lrint_test_towardzero): Likewise.
11888 (lrint_downward_test_data): Likewise.
11889 (lrint_test_downward): Likewise.
11890 (lrint_upward_test_data): Likewise.
11891 (lrint_test_upward): Likewise.
11892 (llrint_test_data): Merge in per-rounding-mode tests and results
11893 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11894 llrint_downward_test_data and llrint_upward_test_data.
11895 (llrint_test): Use ALL_RM_TEST.
11896 (llrint_tonearest_test_data): Remove.
11897 (llrint_test_tonearest): Likewise.
11898 (llrint_towardzero_test_data): Likewise.
11899 (llrint_test_towardzero): Likewise.
11900 (llrint_downward_test_data): Likewise.
11901 (llrint_test_downward): Likewise.
11902 (llrint_upward_test_data): Likewise.
11903 (llrint_test_upward): Likewise.
11904 (rint_test_data): Merge in per-rounding-mode tests and results
11905 from rint_tonearest_test_data, rint_towardzero_test_data,
11906 rint_downward_test_data and rint_upward_test_data. Add
11907 per-rounding-mode results for tests not in those arrays.
11908 (rint_test): Use ALL_RM_TEST.
11909 (rint_tonearest_test_data): Remove.
11910 (rint_test_tonearest): Likewise.
11911 (rint_towardzero_test_data): Likewise.
11912 (rint_test_towardzero): Likewise.
11913 (rint_downward_test_data): Likewise.
11914 (rint_test_downward): Likewise.
11915 (rint_upward_test_data): Likewise.
11916 (rint_test_upward): Likewise.
11917 (main): Don't call removed functions.
11918
11919 2014-03-14 Roland McGrath <roland@hack.frob.com>
11920
11921 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11922 "Compiled on ..." crapola. It is anti-useful.
11923
11924 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11925
11926 * scripts/evaluate-test.sh: Handle fourth argument to determine
11927 whether test run should stop on failure.
11928 * Makeconfig (stop-on-test-failure): New variable.
11929 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11930 $(stop-on-test-failure).
11931 * Makefile (tests): Give a summary of results from testing and
11932 exit with failure status if they include an ERROR or FAIL.
11933 (xtests): Likewise.
11934 * manual/install.texi (Configuring and compiling): Mention
11935 stop-on-test-failure=y.
11936 * INSTALL: Regenerated.
11937
11938 2014-03-14 Roland McGrath <roland@hack.frob.com>
11939
11940 * scripts/versionlist.awk: New file.
11941 * Makerules [$(build-shared) = yes]
11942 (postclean-generated): Add Versions.def, not Versions.def.v and
11943 Versions.def.v.i.
11944 ($(common-objpfx)Versions.def.v.i): Target removed.
11945 ($(common-objpfx)Versions.def): New target.
11946 ($(common-objpfx)Versions.all): Depend on that rather that
11947 $(common-objpfx)Versions.def.v.
11948 * Versions.def: File removed.
11949
11950 * Makeconfig (+gccwarn): Add -Wundef.
11951 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11952 a dl-sysdep.h breaking its contract.
11953 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11954 * include/stackinfo.h: New file.
11955 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11956 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11957 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11958 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11959 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11960 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11961 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11962 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11963 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11964 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11965 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11966 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11967 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11968 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11969 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11970
11971 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972
11973 [BZ #16707]
11974 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11975 implementation.
11976 * math/libm-test.inc (round_test_data): Add more tests.
11977
11978 [BZ #16706]
11979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11980 implementation.
11981 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11982
11983 [BZ #16701]
11984 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11985 implementation.
11986 * math/libm-test.inc (ceil_test_data): Add more tests.
11987
11988 * math/libm-test.inc (trunc_test_data): Add more tests related to
11989 BZ#16414.
11990
11991 2014-03-14 Roland McGrath <roland@hack.frob.com>
11992
11993 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11994 with #if rather than #ifdef.
11995 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11996
11997 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12000 first. Disable AVX-512 GCC support if assembler doesn't support
12001 it.
12002 * sysdeps/x86_64/configure: Regenerated.
12003
12004 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12005
12006 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12007 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12008 (__old_pthread_attr_setstack): Likewise.
12009 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12010 [!_STACK_GROWS_DOWN]: Likewise.
12011
12012 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12013
12014 * config.make.in (have-bash2): Delete.
12015 * configure.ac (libc_cv_have_bash2): Delete.
12016 * configure: Regenerate.
12017 * elf/Makefile (common-ldd-rewrite): Rename to ...
12018 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12019 (sh-ldd-rewrite): Delete.
12020 (bash-ldd-rewrite): Delete.
12021 (have-bash2): Delete checks.
12022 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12023 ldd-rewrite.
12024
12025 * config.make.in (have-ksh): Delete.
12026 (KSH): Delete.
12027 * configure.ac (libc_cv_have_ksh): Delete.
12028 * configure: Regenerate.
12029
12030 * elf/Makefile: Delete $(have-ksh) check.
12031 ($(objpfx)sotruss): Change KSH to BASH.
12032 * elf/sotruss.ksh: Rename to ...
12033 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12034 function style to match POSIX. Drop ksh vim mode setting.
12035
12036 * manual/time.texi (Specifying the Time Zone with TZ): Change
12037 Tuesday to Thursday.
12038
12039 * debug/tst-longjmp_chk2.c: Update header comment.
12040 (stackoverflow_handler): Add comment. Call assert on pass value.
12041
12042 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12043
12044 [BZ #16194]
12045 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12046 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12047 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12048 (La_x86_64_vector): Add zmm.
12049 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12050 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12051 ($(objpfx)tst-audit10): New target.
12052 ($(objpfx)tst-audit10.out): Likewise.
12053 (tst-audit10-ENV): New.
12054 (AVX512-CFLAGS): Likewise.
12055 (CFLAGS-tst-audit10.c): Likewise.
12056 (CFLAGS-tst-auditmod10a.c): Likewise.
12057 (CFLAGS-tst-auditmod10b.c): Likewise.
12058 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12059 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12060 * sysdeps/x86_64/configure: Regenerated.
12061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12062 AVX-512 zmm register support.
12063 (_dl_x86_64_save_sse): Likewise.
12064 (_dl_x86_64_restore_sse): Likewise.
12065 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12066 size vector registers.
12067 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12068 (ZMM_SIZE): Likewise.
12069 * sysdeps/x86_64/tst-audit10.c: New file.
12070 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12071 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12072
12073 2014-03-13 Roland McGrath <roland@hack.frob.com>
12074
12075 * configure.ac (HAVE_EHDR_START): New check.
12076 * configure: Regenerated.
12077 * config.h.in (HAVE_EHDR_START): New #undef.
12078 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12079 assuming the lowest-addressed segment maps the start of the file.
12080
12081 2014-03-13 Joseph Myers <joseph@codesourcery.com>
12082
12083 * INSTALL: Regenerated.
12084
12085 2014-03-13 Will Newton <will.newton@linaro.org>
12086
12087 * manual/setjmp.texi (System V contexts): Improve
12088 clarity and grammar of documentation.
12089
12090 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12091
12092 [BZ #16381]
12093 * elf/Makefile (tests): Add tst-pie2.
12094 (tests-pie): Add tst-pie2.
12095 * elf/tst-pie2.c: New file.
12096 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12097 for ET_EXEC.
12098 * elf/rtld.c (map_doit): Load executable as lt_executable.
12099 (dl_main): Likewise.
12100
12101 2014-03-12 Joseph Myers <joseph@codesourcery.com>
12102
12103 [BZ #16642]
12104 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12105 (__ASSUME_PSELECT): Undefine.
12106
12107 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12108
12109 [BZ #16689]
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12111 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12112 static build.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12114 selector for static builds.
12115
12116 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12117
12118 [BZ #16695]
12119 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12120 key in the buffer.
12121
12122 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12123
12124 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12125 IFUNC selector for static builds.
12126
12127 2014-03-11 Joseph Myers <joseph@codesourcery.com>
12128
12129 * sysdeps/mips/math_private.h [__mips_hard_float]
12130 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12131 libc_feresetround_mips_ctx.
12132 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12133 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12134 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12135
12136 [BZ #16677]
12137 * math/s_nextafter.c (__nextafter): Do not return value from
12138 overflowing computation.
12139 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12140 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12141 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12142 Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12144 Likewise.
12145 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12146 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12147
12148 2014-03-11 Roland McGrath <roland@hack.frob.com>
12149
12150 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12151 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12152 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12153 the new mov targetting sp.
12154
12155 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156
12157 [BZ #16683]
12158 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12159 Define it for static builds as well.
12160 (NO_BZERO_IMPL): Likewise.
12161
12162 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12163
12164 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12165 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12166 multiarch strspn for PPC64.
12167 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12168 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12170 (__libc_ifunc_impl_list): Likewise.
12171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12172 multiarch optimizations
12173 * string/strspn.c (strspn): Using macro to redefine symbol name.
12174
12175 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12176 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12177
12178 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12179 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12180 multiarch strncat for PPC64.
12181 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12182 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12184 (__libc_ifunc_impl_list): Likewise.
12185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12186 multiarch optimizations
12187
12188 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12189
12190 [BZ #16639]
12191 * nscd/nscd.service: Make service type forking.
12192
12193 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12194
12195 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12196 sign in non default rounding modes.
12197 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12198
12199 2014-03-08 Joseph Myers <joseph@codesourcery.com>
12200
12201 * math/libm-test.inc (ALL_RM_TEST): New macro.
12202 (ceil_test): Use ALL_RM_TEST.
12203 (cimag_test): Likewise.
12204 (conj_test): Likewise.
12205 (copysign_test): Likewise.
12206 (cproj_test): Likewise.
12207 (creal_test): Likewise.
12208 (fabs_test): Likewise.
12209 (floor_test): Likewise.
12210 (fmax_test): Likewise.
12211 (fmin_test): Likewise.
12212 (fmod_test): Likewise.
12213 (fpclassify_test): Likewise.
12214 (frexp_test): Likewise.
12215 (ilogb_test): Likewise.
12216 (isfinite_test): Likewise.
12217 (finite_test): Likewise.
12218 (isgreater_test): Likewise.
12219 (isgreaterequal_test): Likewise.
12220 (isinf_test): Likewise.
12221 (isless_test): Likewise.
12222 (islessequal_test): Likewise.
12223 (islessgreater_test): Likewise.
12224 (isnan_test): Likewise.
12225 (isnormal_test): Likewise.
12226 (issignaling_test): Likewise.
12227 (isunordered_test): Likewise.
12228 (logb_test): Likewise.
12229 (logb_downward_test_data): Remove.
12230 (logb_test_downward): Likewise.
12231 (lround_test): Use ALL_RM_TEST.
12232 (llround_test): Likewise.
12233 (modf_test): Likewise.
12234 (nexttoward_test): Likewise.
12235 (remainder_test): Likewise.
12236 (drem_test): Likewise.
12237 (remainder_tonearest_test_data): Likewise.
12238 (remainder_test_tonearest): Likewise.
12239 (drem_test_tonearest): Likewise.
12240 (remainder_towardzero_test_data): Likewise.
12241 (remainder_test_towardzero): Likewise.
12242 (drem_test_towardzero): Likewise.
12243 (remainder_downward_test_data): Likewise.
12244 (remainder_test_downward): Likewise.
12245 (drem_test_downward): Likewise.
12246 (remainder_upward_test_data): Likewise.
12247 (remainder_test_upward): Likewise.
12248 (drem_test_upward): Likewise.
12249 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12250 (round_test): Use ALL_RM_TEST.
12251 (signbit_test): Likewise.
12252 (trunc_test): Likewise.
12253 (significand_test): Likewise.
12254 (main): Don't call removed functions.
12255
12256 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12257
12258 [BZ #16674]
12259 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12260 || __USE_XOPEN2K8].
12261 (ILL_ILLOPN): Likewise.
12262 (ILL_ILLADR): Likewise.
12263 (ILL_ILLTRP): Likewise.
12264 (ILL_PRVOPC): Likewise.
12265 (ILL_PRVREG): Likewise.
12266 (ILL_COPROC): Likewise.
12267 (ILL_BADSTK): Likewise.
12268 (FPE_INTDIV): Likewise.
12269 (FPE_INTOVF): Likewise.
12270 (FPE_FLTDIV): Likewise.
12271 (FPE_FLTOVF): Likewise.
12272 (FPE_FLTUND): Likewise.
12273 (FPE_FLTRES): Likewise.
12274 (FPE_FLTINV): Likewise.
12275 (FPE_FLTSUB): Likewise.
12276 (SEGV_MAPERR): Likewise.
12277 (SEGV_ACCERR): Likewise.
12278 (BUS_ADRALN): Likewise.
12279 (BUS_ADRERR): Likewise.
12280 (BUS_OBJERR): Likewise.
12281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12282 (TRAP_TRACE): Likewise.
12283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12284 __USE_XOPEN2K8].
12285 (CLD_KILLED): Likewise.
12286 (CLD_DUMPED): Likewise.
12287 (CLD_TRAPPED): Likewise.
12288 (CLD_STOPPED): Likewise.
12289 (CLD_CONTINUED): Likewise.
12290 (POLL_IN): Likewise.
12291 (POLL_OUT): Likewise.
12292 (POLL_MSG): Likewise.
12293 (POLL_ERR): Likewise.
12294 (POLL_PRI): Likewise.
12295 (POLL_HUP): Likewise.
12296 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12297 Likewise.
12298 (ILL_ILLOPN): Likewise.
12299 (ILL_ILLADR): Likewise.
12300 (ILL_ILLTRP): Likewise.
12301 (ILL_PRVOPC): Likewise.
12302 (ILL_PRVREG): Likewise.
12303 (ILL_COPROC): Likewise.
12304 (ILL_BADSTK): Likewise.
12305 (FPE_INTDIV): Likewise.
12306 (FPE_INTOVF): Likewise.
12307 (FPE_FLTDIV): Likewise.
12308 (FPE_FLTOVF): Likewise.
12309 (FPE_FLTUND): Likewise.
12310 (FPE_FLTRES): Likewise.
12311 (FPE_FLTINV): Likewise.
12312 (FPE_FLTSUB): Likewise.
12313 (SEGV_MAPERR): Likewise.
12314 (SEGV_ACCERR): Likewise.
12315 (BUS_ADRALN): Likewise.
12316 (BUS_ADRERR): Likewise.
12317 (BUS_OBJERR): Likewise.
12318 (BUS_MCEERR_AR): Likewise.
12319 (BUS_MCEERR_AO): Likewise.
12320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12321 (TRAP_TRACE): Likewise.
12322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12323 __USE_XOPEN2K8].
12324 (CLD_KILLED): Likewise.
12325 (CLD_DUMPED): Likewise.
12326 (CLD_TRAPPED): Likewise.
12327 (CLD_STOPPED): Likewise.
12328 (CLD_CONTINUED): Likewise.
12329 (POLL_IN): Likewise.
12330 (POLL_OUT): Likewise.
12331 (POLL_MSG): Likewise.
12332 (POLL_ERR): Likewise.
12333 (POLL_PRI): Likewise.
12334 (POLL_HUP): Likewise.
12335 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12336 (ILL_ILLOPN): Likewise.
12337 (ILL_ILLADR): Likewise.
12338 (ILL_ILLTRP): Likewise.
12339 (ILL_PRVOPC): Likewise.
12340 (ILL_PRVREG): Likewise.
12341 (ILL_COPROC): Likewise.
12342 (ILL_BADSTK): Likewise.
12343 (FPE_INTDIV): Likewise.
12344 (FPE_INTOVF): Likewise.
12345 (FPE_FLTDIV): Likewise.
12346 (FPE_FLTOVF): Likewise.
12347 (FPE_FLTUND): Likewise.
12348 (FPE_FLTRES): Likewise.
12349 (FPE_FLTINV): Likewise.
12350 (FPE_FLTSUB): Likewise.
12351 (SEGV_MAPERR): Likewise.
12352 (SEGV_ACCERR): Likewise.
12353 (BUS_ADRALN): Likewise.
12354 (BUS_ADRERR): Likewise.
12355 (BUS_OBJERR): Likewise.
12356 (BUS_MCEERR_AR): Likewise.
12357 (BUS_MCEERR_AO): Likewise.
12358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12359 (TRAP_TRACE): Likewise.
12360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12361 __USE_XOPEN2K8].
12362 (CLD_KILLED): Likewise.
12363 (CLD_DUMPED): Likewise.
12364 (CLD_TRAPPED): Likewise.
12365 (CLD_STOPPED): Likewise.
12366 (CLD_CONTINUED): Likewise.
12367 (POLL_IN): Likewise.
12368 (POLL_OUT): Likewise.
12369 (POLL_MSG): Likewise.
12370 (POLL_ERR): Likewise.
12371 (POLL_PRI): Likewise.
12372 (POLL_HUP): Likewise.
12373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12374 Likewise.
12375 (ILL_ILLOPN): Likewise.
12376 (ILL_ILLADR): Likewise.
12377 (ILL_ILLTRP): Likewise.
12378 (ILL_PRVOPC): Likewise.
12379 (ILL_PRVREG): Likewise.
12380 (ILL_COPROC): Likewise.
12381 (ILL_BADSTK): Likewise.
12382 (ILL_BADIADDR): Likewise.
12383 (ILL_BREAK): Likewise.
12384 (FPE_INTDIV): Likewise.
12385 (FPE_INTOVF): Likewise.
12386 (FPE_FLTDIV): Likewise.
12387 (FPE_FLTOVF): Likewise.
12388 (FPE_FLTUND): Likewise.
12389 (FPE_FLTRES): Likewise.
12390 (FPE_FLTINV): Likewise.
12391 (FPE_FLTSUB): Likewise.
12392 (FPE_DECOVF): Likewise.
12393 (FPE_DECDIV): Likewise.
12394 (FPE_DECERR): Likewise.
12395 (FPE_INVASC): Likewise.
12396 (FPE_INVDEC): Likewise.
12397 (SEGV_MAPERR): Likewise.
12398 (SEGV_ACCERR): Likewise.
12399 (SEGV_PSTKOVF): Likewise.
12400 (BUS_ADRALN): Likewise.
12401 (BUS_ADRERR): Likewise.
12402 (BUS_OBJERR): Likewise.
12403 (BUS_MCEERR_AR): Likewise.
12404 (BUS_MCEERR_AO): Likewise.
12405 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12406 (TRAP_TRACE): Likewise.
12407 (TRAP_BRANCH): Likewise.
12408 (TRAP_HWBKPT): Likewise.
12409 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12410 __USE_XOPEN2K8].
12411 (CLD_KILLED): Likewise.
12412 (CLD_DUMPED): Likewise.
12413 (CLD_TRAPPED): Likewise.
12414 (CLD_STOPPED): Likewise.
12415 (CLD_CONTINUED): Likewise.
12416 (POLL_IN): Likewise.
12417 (POLL_OUT): Likewise.
12418 (POLL_MSG): Likewise.
12419 (POLL_ERR): Likewise.
12420 (POLL_PRI): Likewise.
12421 (POLL_HUP): Likewise.
12422 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12423 (ILL_ILLOPN): Likewise.
12424 (ILL_ILLADR): Likewise.
12425 (ILL_ILLTRP): Likewise.
12426 (ILL_PRVOPC): Likewise.
12427 (ILL_PRVREG): Likewise.
12428 (ILL_COPROC): Likewise.
12429 (ILL_BADSTK): Likewise.
12430 (FPE_INTDIV): Likewise.
12431 (FPE_INTOVF): Likewise.
12432 (FPE_FLTDIV): Likewise.
12433 (FPE_FLTOVF): Likewise.
12434 (FPE_FLTUND): Likewise.
12435 (FPE_FLTRES): Likewise.
12436 (FPE_FLTINV): Likewise.
12437 (FPE_FLTSUB): Likewise.
12438 (SEGV_MAPERR): Likewise.
12439 (SEGV_ACCERR): Likewise.
12440 (BUS_ADRALN): Likewise.
12441 (BUS_ADRERR): Likewise.
12442 (BUS_OBJERR): Likewise.
12443 (BUS_MCEERR_AR): Likewise.
12444 (BUS_MCEERR_AO): Likewise.
12445 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12446 (TRAP_TRACE): Likewise.
12447 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12448 __USE_XOPEN2K8].
12449 (CLD_KILLED): Likewise.
12450 (CLD_DUMPED): Likewise.
12451 (CLD_TRAPPED): Likewise.
12452 (CLD_STOPPED): Likewise.
12453 (CLD_CONTINUED): Likewise.
12454 (POLL_IN): Likewise.
12455 (POLL_OUT): Likewise.
12456 (POLL_MSG): Likewise.
12457 (POLL_ERR): Likewise.
12458 (POLL_PRI): Likewise.
12459 (POLL_HUP): Likewise.
12460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12461 (ILL_ILLOPN): Likewise.
12462 (ILL_ILLADR): Likewise.
12463 (ILL_ILLTRP): Likewise.
12464 (ILL_PRVOPC): Likewise.
12465 (ILL_PRVREG): Likewise.
12466 (ILL_COPROC): Likewise.
12467 (ILL_BADSTK): Likewise.
12468 (FPE_INTDIV): Likewise.
12469 (FPE_INTOVF): Likewise.
12470 (FPE_FLTDIV): Likewise.
12471 (FPE_FLTOVF): Likewise.
12472 (FPE_FLTUND): Likewise.
12473 (FPE_FLTRES): Likewise.
12474 (FPE_FLTINV): Likewise.
12475 (FPE_FLTSUB): Likewise.
12476 (SEGV_MAPERR): Likewise.
12477 (SEGV_ACCERR): Likewise.
12478 (BUS_ADRALN): Likewise.
12479 (BUS_ADRERR): Likewise.
12480 (BUS_OBJERR): Likewise.
12481 (BUS_MCEERR_AR): Likewise.
12482 (BUS_MCEERR_AO): Likewise.
12483 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12484 (TRAP_TRACE): Likewise.
12485 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12486 __USE_XOPEN2K8].
12487 (CLD_KILLED): Likewise.
12488 (CLD_DUMPED): Likewise.
12489 (CLD_TRAPPED): Likewise.
12490 (CLD_STOPPED): Likewise.
12491 (CLD_CONTINUED): Likewise.
12492 (POLL_IN): Likewise.
12493 (POLL_OUT): Likewise.
12494 (POLL_MSG): Likewise.
12495 (POLL_ERR): Likewise.
12496 (POLL_PRI): Likewise.
12497 (POLL_HUP): Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12499 (ILL_ILLOPN): Likewise.
12500 (ILL_ILLADR): Likewise.
12501 (ILL_ILLTRP): Likewise.
12502 (ILL_PRVOPC): Likewise.
12503 (ILL_PRVREG): Likewise.
12504 (ILL_COPROC): Likewise.
12505 (ILL_BADSTK): Likewise.
12506 (FPE_INTDIV): Likewise.
12507 (FPE_INTOVF): Likewise.
12508 (FPE_FLTDIV): Likewise.
12509 (FPE_FLTOVF): Likewise.
12510 (FPE_FLTUND): Likewise.
12511 (FPE_FLTRES): Likewise.
12512 (FPE_FLTINV): Likewise.
12513 (FPE_FLTSUB): Likewise.
12514 (SEGV_MAPERR): Likewise.
12515 (SEGV_ACCERR): Likewise.
12516 (BUS_ADRALN): Likewise.
12517 (BUS_ADRERR): Likewise.
12518 (BUS_OBJERR): Likewise.
12519 (BUS_MCEERR_AR): Likewise.
12520 (BUS_MCEERR_AO): Likewise.
12521 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12522 (TRAP_TRACE): Likewise.
12523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12524 __USE_XOPEN2K8].
12525 (CLD_KILLED): Likewise.
12526 (CLD_DUMPED): Likewise.
12527 (CLD_TRAPPED): Likewise.
12528 (CLD_STOPPED): Likewise.
12529 (CLD_CONTINUED): Likewise.
12530 (POLL_IN): Likewise.
12531 (POLL_OUT): Likewise.
12532 (POLL_MSG): Likewise.
12533 (POLL_ERR): Likewise.
12534 (POLL_PRI): Likewise.
12535 (POLL_HUP): Likewise.
12536 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12537 (ILL_ILLOPN): Likewise.
12538 (ILL_ILLADR): Likewise.
12539 (ILL_ILLTRP): Likewise.
12540 (ILL_PRVOPC): Likewise.
12541 (ILL_PRVREG): Likewise.
12542 (ILL_COPROC): Likewise.
12543 (ILL_BADSTK): Likewise.
12544 (ILL_DBLFLT): Likewise.
12545 (ILL_HARDWALL): Likewise.
12546 (FPE_INTDIV): Likewise.
12547 (FPE_INTOVF): Likewise.
12548 (FPE_FLTDIV): Likewise.
12549 (FPE_FLTOVF): Likewise.
12550 (FPE_FLTUND): Likewise.
12551 (FPE_FLTRES): Likewise.
12552 (FPE_FLTINV): Likewise.
12553 (FPE_FLTSUB): Likewise.
12554 (SEGV_MAPERR): Likewise.
12555 (SEGV_ACCERR): Likewise.
12556 (BUS_ADRALN): Likewise.
12557 (BUS_ADRERR): Likewise.
12558 (BUS_OBJERR): Likewise.
12559 (BUS_MCEERR_AR): Likewise.
12560 (BUS_MCEERR_AO): Likewise.
12561 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12562 (TRAP_TRACE): Likewise.
12563 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12564 __USE_XOPEN2K8].
12565 (CLD_KILLED): Likewise.
12566 (CLD_DUMPED): Likewise.
12567 (CLD_TRAPPED): Likewise.
12568 (CLD_STOPPED): Likewise.
12569 (CLD_CONTINUED): Likewise.
12570 (POLL_IN): Likewise.
12571 (POLL_OUT): Likewise.
12572 (POLL_MSG): Likewise.
12573 (POLL_ERR): Likewise.
12574 (POLL_PRI): Likewise.
12575 (POLL_HUP): Likewise.
12576 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12577 (ILL_ILLOPN): Likewise.
12578 (ILL_ILLADR): Likewise.
12579 (ILL_ILLTRP): Likewise.
12580 (ILL_PRVOPC): Likewise.
12581 (ILL_PRVREG): Likewise.
12582 (ILL_COPROC): Likewise.
12583 (ILL_BADSTK): Likewise.
12584 (FPE_INTDIV): Likewise.
12585 (FPE_INTOVF): Likewise.
12586 (FPE_FLTDIV): Likewise.
12587 (FPE_FLTOVF): Likewise.
12588 (FPE_FLTUND): Likewise.
12589 (FPE_FLTRES): Likewise.
12590 (FPE_FLTINV): Likewise.
12591 (FPE_FLTSUB): Likewise.
12592 (SEGV_MAPERR): Likewise.
12593 (SEGV_ACCERR): Likewise.
12594 (BUS_ADRALN): Likewise.
12595 (BUS_ADRERR): Likewise.
12596 (BUS_OBJERR): Likewise.
12597 (BUS_MCEERR_AR): Likewise.
12598 (BUS_MCEERR_AO): Likewise.
12599 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12600 (TRAP_TRACE): Likewise.
12601 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12602 __USE_XOPEN2K8].
12603 (CLD_KILLED): Likewise.
12604 (CLD_DUMPED): Likewise.
12605 (CLD_TRAPPED): Likewise.
12606 (CLD_STOPPED): Likewise.
12607 (CLD_CONTINUED): Likewise.
12608 (POLL_IN): Likewise.
12609 (POLL_OUT): Likewise.
12610 (POLL_MSG): Likewise.
12611 (POLL_ERR): Likewise.
12612 (POLL_PRI): Likewise.
12613 (POLL_HUP): Likewise.
12614 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12615 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12616
12617 [BZ #16670]
12618 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12619 before #include of <time.h>.
12620 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12621 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12622 (test-xfail-UNIX98/sched.h/conform): Likewise.
12623
12624 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12625
12626 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12627 error absence of trapping exception support.
12628 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12629
12630 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12631
12632 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12633 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12634 * timezone/Makefile (testdata): Move definition above include of
12635 Rules.
12636 (test-zones): New variable.
12637 (tests-special): Add zone files.
12638 (build-testdata): Use $(evaluate-test).
12639
12640 * elf/Makefile (tests-special): Rename tests to end with .out.
12641 ($(objpfx)noload-mem): Likewise.
12642 ($(objpfx)tst-leaks1-mem): Likewise.
12643 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12644 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12645 $(objpfx)test-iconvconfig.out.
12646 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12647 set -e inside subshell and redirect output to file.
12648 * iconvdata/Makefile (generated): Rename tests to end with .out.
12649 Correct type.
12650 (tests-special): Rename tests to end with .out.
12651 ($(objpfx)mtrace-tst-loading): Likewise.
12652 * intl/Makefile (generated): Likewise.
12653 (tests-special): Likewise.
12654 ($(objpfx)mtrace-tst-gettext): Likewise.
12655 * misc/Makefile (generated): Likewise.
12656 (tests-special): Likewise.
12657 ($(objpfx)tst-error1-mem): Likewise.
12658 * nptl/Makefile (tests-special): Likewise.
12659 ($(objpfx)tst-stack3-mem): Likewise.
12660 (generated): Likewise.
12661 * posix/Makefile (generated): Likewise.
12662 (tests-special): Likewise.
12663 (xtests-special): Likewise.
12664 ($(objpfx)tst-fnmatch-mem): Likewise.
12665 ($(objpfx)bug-regex2-mem): Likewise.
12666 ($(objpfx)bug-regex14-mem): Likewise.
12667 ($(objpfx)bug-regex21-mem): Likewise.
12668 ($(objpfx)bug-regex31-mem): Likewise.
12669 ($(objpfx)tst-vfork3-mem): Likewise.
12670 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12671 ($(objpfx)tst-pcre-mem): Likewise.
12672 ($(objpfx)tst-boost-mem): Likewise.
12673 ($(objpfx)bug-ga2-mem): Likewise.
12674 ($(objpfx)bug-glob2-mem): Likewise.
12675 * resolv/Makefile (generate): Likewise.
12676 (tests-special): Likewise.
12677 (xtests-special): Likewise.
12678 (generated): Likewise.
12679 ($(objpfx)mtrace-tst-leaks): Likewise.
12680 ($(objpfx)mtrace-tst-leaks2): Likewise.
12681
12682 * scripts/merge-test-results.sh: New file.
12683 * Makefile (tests-special-notdir): New variable.
12684 (tests): Run merge-test-results.sh.
12685 (xtests): Likewise.
12686 * Rules (tests-special-notdir): New variable.
12687 (xtests-special-notdir): Likewise.
12688 (tests): Run merge-test-results.sh
12689 (xtests): Likewise.
12690
12691 * Makeconfig (test-xfail-name): New variable.
12692 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12693 compute variable name for expected failures.
12694 * conform/Makefile (conformtest-headers-data): New variable.
12695 (conformtest-standards): Likewise.
12696 (conformtest-headers-ISO): Likewise.
12697 (conformtest-headers-ISO99): Likewise.
12698 (conformtest-headers-ISO11): Likewise.
12699 (conformtest-headers-POSIX): Likewise.
12700 (conformtest-headers-XPG3): Likewise.
12701 (conformtest-headers-XPG4): Likewise.
12702 (conformtest-headers-UNIX98): Likewise.
12703 (conformtest-headers-XOPEN2K): Likewise.
12704 (conformtest-headers-POSIX2008): Likewise.
12705 (conformtest-headers-XOPEN2K8): Likewise.
12706 (conformtest-header-list-base): Likewise.
12707 (conformtest-header-list-tests): Likewise.
12708 (conformtest-header-base): Likewise.
12709 (conformtest-header-tests): Likewise.
12710 (tests-special): Add $(conformtest-header-list-tests). If
12711 [$(fast-check) && !$(cross-compiling)], add
12712 $(conformtest-header-tests) instead of
12713 $(objpfx)run-conformtest.out.
12714 (generated): Add $(conformtest-header-list-base). If
12715 [$(fast-check) && !$(cross-compiling)], add
12716 $(conformtest-header-base). Remove previous setting.
12717 ($(conformtest-header-list-tests)): New target.
12718 (test-xfail-run-conformtest): Remove variable.
12719 ($(objpfx)run-conformtest.out): Remove target.
12720 (test-xfail-ISO11/complex.h/conform): New variable.
12721 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12722 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12723 (test-xfail-XPG3/varargs.h/conform): Likewise.
12724 (test-xfail-XPG4/varargs.h/conform): Likewise.
12725 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12726 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12727 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12728 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12729 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12730 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12731 (test-xfail-XPG3/ftw.h/conform): Likewise.
12732 (test-xfail-XPG3/grp.h/conform): Likewise.
12733 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12734 (test-xfail-XPG3/limits.h/conform): Likewise.
12735 (test-xfail-XPG3/pwd.h/conform): Likewise.
12736 (test-xfail-XPG3/search.h/conform): Likewise.
12737 (test-xfail-XPG3/signal.h/conform): Likewise.
12738 (test-xfail-XPG3/stdio.h/conform): Likewise.
12739 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12740 (test-xfail-XPG3/string.h/conform): Likewise.
12741 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12742 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12743 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12744 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12745 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12746 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12747 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12748 (test-xfail-XPG3/termios.h/conform): Likewise.
12749 (test-xfail-XPG3/time.h/conform): Likewise.
12750 (test-xfail-XPG3/unistd.h/conform): Likewise.
12751 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12752 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12753 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12754 (test-xfail-XPG4/netdb.h/conform): Likewise.
12755 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12756 (test-xfail-XPG4/signal.h/conform): Likewise.
12757 (test-xfail-XPG4/stdio.h/conform): Likewise.
12758 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12759 (test-xfail-XPG4/stropts.h/conform): Likewise.
12760 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12761 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12762 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12763 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12764 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12765 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12766 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12767 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12768 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12769 (test-xfail-XPG4/termios.h/conform): Likewise.
12770 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12771 (test-xfail-XPG4/unistd.h/conform): Likewise.
12772 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12773 (test-xfail-POSIX/sched.h/conform): Likewise.
12774 (test-xfail-POSIX/signal.h/conform): Likewise.
12775 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12776 (test-xfail-POSIX/tar.h/conform): Likewise.
12777 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12778 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12779 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12780 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12781 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12782 (test-xfail-UNIX98/sched.h/conform): Likewise.
12783 (test-xfail-UNIX98/signal.h/conform): Likewise.
12784 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12785 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12786 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12787 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12788 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12789 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12790 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12791 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12792 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12793 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12794 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12795 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12796 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12797 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12798 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12799 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12800 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12801 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12802 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12803 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12804 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12805 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12806 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12807 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12808 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12809 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12810 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12811 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12812 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12813 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12814 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12815 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12816 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12817 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12818 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12819 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12820 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12821 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12822 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12823 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12824 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12825 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12826 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12827 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12828 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12829 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12830 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12831 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12832 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12833 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12834 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12835 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12836 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12837 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12838 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12839 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12840 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12841 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12842 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12843 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12844 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12845 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12846 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12847 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12848 (conformtest-cc-flags): Likewise.
12849 ($(conformtest-header-tests): New target.
12850 * conform/check-header-lists.sh: New file.
12851 * conform/run-conformtest.sh: Remove.
12852
12853 * conform/conformtest.pl: Allow ' and \ in values given for
12854 constants.
12855 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12856 inclusion.
12857 [POSIX] (sys/types.h): Likewise.
12858 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12859 inclusion.
12860 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12861 inclusion.
12862 * conform/data/signal.h-data (SIGIO): Remove expectation.
12863 [XPG3] (SIGBUS): Do not expect.
12864 [POSIX || XPG3] (SIGPOLL): Likewise.
12865 [POSIX || XPG3] (SIGPROF): Likewise.
12866 [POSIX || XPG3] (SIGSYS): Likewise.
12867 [XPG3] (SIGTRAP): Likewise.
12868 [POSIX || XPG3] (SIGURG): Likewise.
12869 [POSIX || XPG3] (SIGVTALRM): Likewise.
12870 [POSIX || XPG3] (SIGXCPU): Likewise.
12871 [POSIX || XPG3] (SIGXFSZ): Likewise.
12872 [POSIX] (SA_SIGINFO): Expect.
12873 [XPG3] (siginfo_t): Do not expect type or contents.
12874 [POSIX] (si_pid): Do not expect element.
12875 [POSIX] (si_uid): Likewise.
12876 [POSIX] (si_addr): Likewise.
12877 [POSIX] (si_status): Likewise.
12878 [POSIX] (si_band): Likewise.
12879 [XPG4] (si_value): Likewise.
12880 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12881 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12882 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12883 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12884 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12885 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12886 [POSIX || XPG3] (ILL_COPROC): Likewise.
12887 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12888 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12889 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12890 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12891 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12892 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12893 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12894 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12895 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12896 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12897 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12898 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12899 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12900 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12901 [POSIX || XPG3] (CLD_EXITED): Likewise.
12902 [POSIX || XPG3] (CLD_KILLED): Likewise.
12903 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12904 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12905 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12906 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12907 [POSIX || XPG3] (POLL_IN): Likewise.
12908 [POSIX || XPG3] (POLL_OUT): Likewise.
12909 [POSIX || XPG3] (POLL_MSG): Likewise.
12910 [POSIX || XPG3] (POLL_ERR): Likewise.
12911 [POSIX || XPG3] (POLL_PRI): Likewise.
12912 [POSIX || XPG3] (POLL_HUP): Likewise.
12913 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12914 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12915 (SIG*): Do not allow.
12916 [XPG3] (si_*): Likewise.
12917 [XPG3] (SI_*): Likewise.
12918 [XPG3 || XPG4] (sigev_*): Likewise.
12919 [XPG3 || XPG4] (SIGEV_*): Likewise.
12920 [XPG3 || XPG4] (sival_*): Likewise.
12921 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12922 [POSIX || XPG3] (BUS_*): Likewise.
12923 [POSIX || XPG3] (CLD_*): Likewise.
12924 [POSIX || XPG3] (FPE_*): Likewise.
12925 [POSIX || XPG3] (ILL_*): Likewise.
12926 [POSIX || XPG3] (POLL_*): Likewise.
12927 [POSIX || XPG3] (SEGV_*): Likewise.
12928 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12929 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12930 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12931 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12932 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12933 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12934 Specify type and value.
12935 (TVERSLEN): Likewise.
12936 (REGTYPE): Likewise.
12937 (AREGTYPE): Likewise.
12938 (LNKTYPE): Likewise.
12939 (SYMTYPE): Likewise.
12940 (CHRTYPE): Likewise.
12941 (BLKTYPE): Likewise.
12942 (DIRTYPE): Likewise.
12943 (FIFOTYPE): Likewise.
12944 (CONTTYPE): Likewise.
12945 (TSUID): Likewise.
12946 (TSGID): Likewise.
12947 (TSVTX): Likewise.
12948 (TUREAD): Likewise.
12949 (TUWRITE): Likewise.
12950 (TUEXEC): Likewise.
12951 (TGREAD): Likewise.
12952 (TGWRITE): Likewise.
12953 (TGEXEC): Likewise.
12954 (TOREAD): Likewise.
12955 (TOWRITE): Likewise.
12956 (TOEXEC): Likewise.
12957 [POSIX] (TSVTX): Expect constant.
12958
12959 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12960
12961 * Makefile (tests): Change dependencies to ....
12962 (tests-special): ... additions to this variable.
12963 (tests): Depend on $(tests-special).
12964 * Makerules (check-abi-list): New variable.
12965 (check-abi): Depend on $(check-abi-list).
12966 [$(subdir) = elf] (tests-special): Add
12967 $(objpfx)check-abi-libc.out.
12968 [$(build-shared) = yes && subdir] (tests-special): Add
12969 $(check-abi-list).
12970 [$(build-shared) = yes && subdir] (tests): Do not depend on
12971 check-abi.
12972 * Rules (tests): Depend on $(tests-special).
12973 (xtests): Depend on $(xtests-special).
12974 * catgets/Makefile (tests): Change dependencies to ....
12975 (tests-special): ... additions to this variable.
12976 * conform/Makefile (tests): Change dependencies to ....
12977 (tests-special): ... additions to this variable.
12978 * elf/Makefile (tests): Change dependencies to ....
12979 (tests-special): ... additions to this variable.
12980 * grp/Makefile (tests): Change dependencies to ....
12981 (tests-special): ... additions to this variable.
12982 * iconv/Makefile (xtests): Change dependencies to ....
12983 (xtests-special): ... additions to this variable.
12984 * iconvdata/Makefile (tests): Change dependencies to ....
12985 (tests-special): ... additions to this variable.
12986 * intl/Makefile (tests): Change dependencies to ....
12987 (tests-special): ... additions to this variable. Also add
12988 $(objpfx)tst-gettext.out.
12989 * io/Makefile (tests): Change dependencies to ....
12990 (tests-special): ... additions to this variable.
12991 * libio/Makefile (tests): Change dependencies to ....
12992 (tests-special): ... additions to this variable.
12993 * malloc/Makefile (tests): Change dependencies to ....
12994 (tests-special): ... additions to this variable.
12995 * misc/Makefile (tests): Change dependencies to ....
12996 (tests-special): ... additions to this variable.
12997 * nptl/Makefile (tests): Change dependencies to ....
12998 (tests-special): ... additions to this variable.
12999 * nptl_db/Makefile (tests): Change dependencies to ....
13000 (tests-special): ... additions to this variable.
13001 * posix/Makefile (tests): Change dependencies to ....
13002 (tests-special): ... additions to this variable.
13003 (xtests): Change dependencies to ....
13004 (xtests-special): ... additions to this variable.
13005 * resolv/Makefile (tests): Change dependencies to ....
13006 (tests-special): ... additions to this variable.
13007 (xtests): Change dependencies to ....
13008 (xtests-special): ... additions to this variable.
13009 * stdio-common/Makefile (tests): Change dependencies to ....
13010 (tests-special): ... additions to this variable.
13011 (do-tst-unbputc): Remove target.
13012 (do-tst-printf): Likewise.
13013 * stdlib/Makefile (tests): Change dependencies to ....
13014 (tests-special): ... additions to this variable.
13015 * string/Makefile (tests): Change dependencies to ....
13016 (tests-special): ... additions to this variable.
13017 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13018 (tests-special): ... additions to this variable.
13019
13020 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13021 whole file.
13022 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13023 whole file.
13024 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13025 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13026
13027 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13028 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13029 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13030 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13031 * conform/data/libgen.h-data [XPG3]: Likewise.
13032 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13033 * conform/data/ndbm.h-data [XPG3]: Likewise.
13034 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13035 * conform/data/netdb.h-data [XPG3]: Likewise.
13036 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13037 * conform/data/poll.h-data [XPG3]: Likewise.
13038 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13039 * conform/data/strings.h-data [XPG3]: Likewise.
13040 * conform/data/stropts.h-data [XPG3]: Likewise.
13041 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13042 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13043 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13044 Likewise.
13045 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13046 * conform/data/sys/time.h-data [XPG3]: Likewise.
13047 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13048 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13049 * conform/data/sys/un.h-data [XPG3]: Likewise.
13050 * conform/data/syslog.h-data [XPG3]: Likewise.
13051 * conform/data/ucontext.h-data [XPG3]: Likewise.
13052 * conform/data/utmpx.h-data [XPG3]: Likewise.
13053 * conform/data/varargs.h-data [UNIX98]: Enable file.
13054
13055 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13056
13057 * math/libm-test.inc (struct test_f_f_data): Move expected results
13058 into structure for each rounding mode.
13059 (struct test_ff_f_data): Likewise.
13060 (struct test_ff_f_data_nexttoward): Likewise.
13061 (struct test_fi_f_data): Likewise.
13062 (struct test_fl_f_data): Likewise.
13063 (struct test_if_f_data): Likewise.
13064 (struct test_fff_f_data): Likewise.
13065 (struct test_c_f_data): Likewise.
13066 (struct test_f_f1_data): Likewise.
13067 (struct test_fF_f1_data): Likewise.
13068 (struct test_ffI_f1_data): Likewise.
13069 (struct test_c_c_data): Likewise.
13070 (struct test_cc_c_data): Likewise.
13071 (struct test_f_i_data): Likewise.
13072 (struct test_ff_i_data): Likewise.
13073 (struct test_f_l_data): Likewise.
13074 (struct test_f_L_data): Likewise.
13075 (struct test_fFF_11_data): Likewise.
13076 (RM_): New macro.
13077 (RM_FE_DOWNWARD): Likewise.
13078 (RM_FE_TONEAREST): Likewise.
13079 (RM_FE_TOWARDZERO): Likewise.
13080 (RM_FE_UPWARD): Likewise.
13081 (RUN_TEST_LOOP_f_f): Update references to expected results.
13082 (RUN_TEST_LOOP_2_f): Likewise.
13083 (RUN_TEST_LOOP_fff_f): Likewise.
13084 (RUN_TEST_LOOP_c_f): Likewise.
13085 (RUN_TEST_LOOP_f_f1): Likewise.
13086 (RUN_TEST_LOOP_fF_f1): Likewise.
13087 (RUN_TEST_LOOP_fI_f1): Likewise.
13088 (RUN_TEST_LOOP_ffI_f1): Likewise.
13089 (RUN_TEST_LOOP_c_c): Likewise.
13090 (RUN_TEST_LOOP_cc_c): Likewise.
13091 (RUN_TEST_LOOP_f_i): Likewise.
13092 (RUN_TEST_LOOP_f_i_tg): Likewise.
13093 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13094 (RUN_TEST_LOOP_f_b): Likewise.
13095 (RUN_TEST_LOOP_f_b_tg): Likewise.
13096 (RUN_TEST_LOOP_f_l): Likewise.
13097 (RUN_TEST_LOOP_f_L): Likewise.
13098 (RUN_TEST_LOOP_fFF_11): Likewise.
13099 * math/gen-libm-test.pl (parse_args): Output four copies of
13100 expected results for each test.
13101
13102 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13103 (__ASSUME_UTIMES): Remove.
13104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13105 (__ASSUME_UTIMES): Likewise.
13106
13107 * math/gen-auto-libm-tests.c: Update comment on output format.
13108 (output_for_one_input_case): Generate before-rounding and
13109 after-rounding information as conditions on output flags not
13110 floating-point format.
13111 * math/auto-libm-test-out: Regenerated.
13112 * math/gen-libm-test.pl (cond_value): New function.
13113 (or_cond_value): Use cond_value.
13114 (generate_testfile): Handle conditional exceptions.
13115
13116 2014-03-05 Joseph Myers <joseph@codesourcery.com>
13117
13118 * math/libm-test.inc (max_valid_error): New variable.
13119 (init_max_error): Take new argument specifying whether function
13120 results are exactly determined. Set max_valid_error and bound
13121 other variables for errors based on this argument.
13122 (set_max_error): Do not record results above max_valid_error.
13123 (check_float_internal): Only accept errors of up to 0.5ulps if
13124 also at most max_valid_error.
13125 (START): Take new argument EXACT and pass it to init_max_error.
13126 (acos_test): Update call to START.
13127 (acos_test_tonearest): Likewise.
13128 (acos_test_towardzero): Likewise.
13129 (acos_test_downward): Likewise.
13130 (acos_test_upward): Likewise.
13131 (acosh_test): Likewise.
13132 (asin_test): Likewise.
13133 (asin_test_tonearest): Likewise.
13134 (asin_test_towardzero): Likewise.
13135 (asin_test_downward): Likewise.
13136 (asin_test_upward): Likewise.
13137 (asinh_test): Likewise.
13138 (atan_test): Likewise.
13139 (atanh_test): Likewise.
13140 (atan2_test): Likewise.
13141 (cabs_test): Likewise.
13142 (cacos_test): Likewise.
13143 (cacosh_test): Likewise.
13144 (carg_test): Likewise.
13145 (casin_test): Likewise.
13146 (casinh_test): Likewise.
13147 (catan_test): Likewise.
13148 (catanh_test): Likewise.
13149 (cbrt_test): Likewise.
13150 (ccos_test): Likewise.
13151 (ccosh_test): Likewise.
13152 (ceil_test): Likewise.
13153 (cexp_test): Likewise.
13154 (cimag_test): Likewise.
13155 (clog_test): Likewise.
13156 (clog10_test): Likewise.
13157 (conj_test): Likewise.
13158 (copysign_test): Likewise.
13159 (cos_test): Likewise.
13160 (cos_test_tonearest): Likewise.
13161 (cos_test_towardzero): Likewise.
13162 (cos_test_downward): Likewise.
13163 (cos_test_upward): Likewise.
13164 (cosh_test): Likewise.
13165 (cosh_test_tonearest): Likewise.
13166 (cosh_test_towardzero): Likewise.
13167 (cosh_test_downward): Likewise.
13168 (cosh_test_upward): Likewise.
13169 (cpow_test): Likewise.
13170 (cproj_test): Likewise.
13171 (creal_test): Likewise.
13172 (csin_test): Likewise.
13173 (csinh_test): Likewise.
13174 (csqrt_test): Likewise.
13175 (ctan_test): Likewise.
13176 (ctan_test_tonearest): Likewise.
13177 (ctan_test_towardzero): Likewise.
13178 (ctan_test_downward): Likewise.
13179 (ctan_test_upward): Likewise.
13180 (ctanh_test): Likewise.
13181 (ctanh_test_tonearest): Likewise.
13182 (ctanh_test_towardzero): Likewise.
13183 (ctanh_test_downward): Likewise.
13184 (ctanh_test_upward): Likewise.
13185 (erf_test): Likewise.
13186 (erfc_test): Likewise.
13187 (exp_test): Likewise.
13188 (exp_test_tonearest): Likewise.
13189 (exp_test_towardzero): Likewise.
13190 (exp_test_downward): Likewise.
13191 (exp_test_upward): Likewise.
13192 (exp10_test): Likewise.
13193 (exp10_test_tonearest): Likewise.
13194 (exp10_test_towardzero): Likewise.
13195 (exp10_test_downward): Likewise.
13196 (exp10_test_upward): Likewise.
13197 (pow10_test): Likewise.
13198 (exp2_test): Likewise.
13199 (expm1_test): Likewise.
13200 (expm1_test_tonearest): Likewise.
13201 (expm1_test_towardzero): Likewise.
13202 (expm1_test_downward): Likewise.
13203 (expm1_test_upward): Likewise.
13204 (fabs_test): Likewise.
13205 (fdim_test): Likewise.
13206 (floor_test): Likewise.
13207 (fma_test): Likewise.
13208 (fma_test_towardzero): Likewise.
13209 (fma_test_downward): Likewise.
13210 (fma_test_upward): Likewise.
13211 (fmax_test): Likewise.
13212 (fmin_test): Likewise.
13213 (fmod_test): Likewise.
13214 (fpclassify_test): Likewise.
13215 (frexp_test): Likewise.
13216 (hypot_test): Likewise.
13217 (ilogb_test): Likewise.
13218 (isfinite_test): Likewise.
13219 (finite_test): Likewise.
13220 (isgreater_test): Likewise.
13221 (isgreaterequal_test): Likewise.
13222 (isinf_test): Likewise.
13223 (isless_test): Likewise.
13224 (islessequal_test): Likewise.
13225 (islessgreater_test): Likewise.
13226 (isnan_test): Likewise.
13227 (isnormal_test): Likewise.
13228 (issignaling_test): Likewise.
13229 (isunordered_test): Likewise.
13230 (j0_test): Likewise.
13231 (j1_test): Likewise.
13232 (jn_test): Likewise.
13233 (ldexp_test): Likewise.
13234 (lgamma_test): Likewise.
13235 (gamma_test): Likewise.
13236 (lrint_test): Likewise.
13237 (lrint_test_tonearest): Likewise.
13238 (lrint_test_towardzero): Likewise.
13239 (lrint_test_downward): Likewise.
13240 (lrint_test_upward): Likewise.
13241 (llrint_test): Likewise.
13242 (llrint_test_tonearest): Likewise.
13243 (llrint_test_towardzero): Likewise.
13244 (llrint_test_downward): Likewise.
13245 (llrint_test_upward): Likewise.
13246 (log_test): Likewise.
13247 (log10_test): Likewise.
13248 (log1p_test): Likewise.
13249 (log2_test): Likewise.
13250 (logb_test): Likewise.
13251 (logb_test_downward): Likewise.
13252 (lround_test): Likewise.
13253 (llround_test): Likewise.
13254 (modf_test): Likewise.
13255 (nearbyint_test): Likewise.
13256 (nextafter_test): Likewise.
13257 (nexttoward_test): Likewise.
13258 (pow_test): Likewise.
13259 (pow_test_tonearest): Likewise.
13260 (pow_test_towardzero): Likewise.
13261 (pow_test_downward): Likewise.
13262 (pow_test_upward): Likewise.
13263 (remainder_test): Likewise.
13264 (drem_test): Likewise.
13265 (remainder_test_tonearest): Likewise.
13266 (drem_test_tonearest): Likewise.
13267 (remainder_test_towardzero): Likewise.
13268 (drem_test_towardzero): Likewise.
13269 (remainder_test_downward): Likewise.
13270 (drem_test_downward): Likewise.
13271 (remainder_test_upward): Likewise.
13272 (drem_test_upward): Likewise.
13273 (remquo_test): Likewise.
13274 (rint_test): Likewise.
13275 (rint_test_tonearest): Likewise.
13276 (rint_test_towardzero): Likewise.
13277 (rint_test_downward): Likewise.
13278 (rint_test_upward): Likewise.
13279 (round_test): Likewise.
13280 (scalb_test): Likewise.
13281 (scalbn_test): Likewise.
13282 (scalbln_test): Likewise.
13283 (signbit_test): Likewise.
13284 (sin_test): Likewise.
13285 (sin_test_tonearest): Likewise.
13286 (sin_test_towardzero): Likewise.
13287 (sin_test_downward): Likewise.
13288 (sin_test_upward): Likewise.
13289 (sincos_test): Likewise.
13290 (sinh_test): Likewise.
13291 (sinh_test_tonearest): Likewise.
13292 (sinh_test_towardzero): Likewise.
13293 (sinh_test_downward): Likewise.
13294 (sinh_test_upward): Likewise.
13295 (sqrt_test): Likewise.
13296 (sqrt_test_tonearest): Likewise.
13297 (sqrt_test_towardzero): Likewise.
13298 (sqrt_test_downward): Likewise.
13299 (sqrt_test_upward): Likewise.
13300 (tan_test): Likewise.
13301 (tan_test_tonearest): Likewise.
13302 (tan_test_towardzero): Likewise.
13303 (tan_test_downward): Likewise.
13304 (tan_test_upward): Likewise.
13305 (tanh_test): Likewise.
13306 (tgamma_test): Likewise.
13307 (trunc_test): Likewise.
13308 (y0_test): Likewise.
13309 (y1_test): Likewise.
13310 (yn_test): Likewise.
13311 (significand_test): Likewise.
13312
13313 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13314 individual tests in comment.
13315 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13316 (prev_max_error): New variable.
13317 (prev_real_max_error): Likewise.
13318 (prev_imag_max_error): Likewise.
13319 (compare_ulp_data): Don't refer to test names in comment.
13320 (find_test_ulps): Remove function.
13321 (find_function_ulps): Likewise.
13322 (find_complex_function_ulps): Likewise.
13323 (init_max_error): Take function name as argument. Look up ulps
13324 for that function.
13325 (print_ulps): Remove function.
13326 (print_max_error): Use prev_max_error instead of calling
13327 find_function_ulps.
13328 (print_complex_max_error): Use prev_real_max_error and
13329 prev_imag_max_error instead of calling find_complex_function_ulps.
13330 (check_float_internal): Take max_ulp parameter instead of calling
13331 find_test_ulps. Don't call print_ulps.
13332 (check_float): Update call to check_float_internal.
13333 (check_complex): Update calls to check_float_internal.
13334 (START): Pass argument to init_max_error.
13335 * math/gen-libm-test.pl (%results): Don't include "kind"
13336 information.
13337 (parse_ulps): Don't handle ulps of individual tests.
13338 (print_ulps_file): Likewise.
13339 (output_ulps): Likewise.
13340 * math/README.libm-test: Update.
13341 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13342 individual tests.
13343 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13344 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13345 * sysdeps/arm/libm-test-ulps: Likewise.
13346 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13347 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13348 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13349 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13350 * sysdeps/microblaze/libm-test-ulps: Likewise.
13351 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13352 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13354 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13355 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13356 * sysdeps/sh/libm-test-ulps: Likewise.
13357 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13358 * sysdeps/tile/libm-test-ulps: Likewise.
13359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13360
13361 2014-03-04 Joseph Myers <joseph@codesourcery.com>
13362
13363 * math/libm-test.inc (print_complex_max_error): Check separately
13364 whether real and imaginary errors are within allowed range and
13365 pass 0 to print_complex_function_ulps instead of value within
13366 allowed range.
13367
13368 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13369
13370 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13371 formatting.
13372 (get_handles_fopen): Likewise.
13373 (do_write_test): Likewise.
13374
13375 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13376
13377 * libio/fileops.c (do_ftell): Use cached offset when
13378 available.
13379 * libio/iofwide.c (do_ftell_wide): Likewise.
13380 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13381 _IO_file_attach.
13382 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13383
13384 [BZ #16532]
13385 * libio/libioP.h (get_file_offset): New function.
13386 * libio/fileops.c (get_file_offset): Likewise.
13387 (do_ftell): Likewise.
13388 (_IO_new_file_seekoff): Split out ftell logic.
13389 * libio/wfileops.c (do_ftell_wide): Likewise.
13390 (_IO_wfile_seekoff): Split out ftell logic.
13391 * libio/tst-ftell-active-handler.c: New test case.
13392 * libio/Makefile (tests): Add it.
13393
13394 2014-03-03 Roland McGrath <roland@hack.frob.com>
13395
13396 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13397 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13398
13399 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13400
13401 [BZ #16639]
13402 * nscd/connections.c (nscd_init): Call do_exit.
13403 (start_threads): Call do_exit and notify_parent.
13404 (begin_drop_privileges): Call do_exit.
13405 (finish_drop_privileges): Likewise.
13406 * nscd/selinux.c (preserve_capabilities): Likewise.
13407 (install_real_capabilities): Likewise.
13408 (nscd_selinux_enabled): Likewise.
13409 (avc_create_thread): Likewise.
13410 (avc_alloc_lock): Likewise.
13411 (nscd_avc_init): Likewise.
13412 * nscd/nscd.c (parent_fd): New static variable.
13413 (main): Create a pipe between parent and child processes.
13414 Skip closing parent_fd.
13415 (monitor_child): New function.
13416 (do_exit): Likewise.
13417 (notify_parent): Likewise.
13418 * nscd/nscd.h (notify_parent): Likewise.
13419 (do_exit): Likewise.
13420
13421 2014-03-03 Carlos O'Donell <carlos@redhat.com>
13422
13423 * malloc/malloc.c (__libc_calloc): Revert last change.
13424
13425 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426
13427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13428
13429 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13430
13431 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13433 implementation.
13434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13435 (__libc_ifunc_impl_list): Likewise.
13436 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13437 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13438 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13439 * string/strrchr.c: Define STRRCHR.
13440
13441 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13442
13443 * benchtest/bench-strtok.c (simple_strtok): Delete.
13444 (strtok_string): Use as benchmark.
13445 * string/strtok (STRTOK): New macro.
13446
13447 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13448
13449 * manual/threads.texi: Add header and standard comments to all
13450 functions.
13451
13452 * elf/dl-lookup.c (check_match): New function.
13453 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13454 (do_lookup_x): Remove nested function check_match. Use non-nested
13455 function check_match.
13456
13457 2014-02-28 Roland McGrath <roland@hack.frob.com>
13458
13459 * csu/Makefile (generated, before-compile): Use += rather than =.
13460 * catgets/Makefile (generated, generated-dirs): Likewise.
13461 * debug/Makefile (generated): Likewise.
13462 * dlfcn/Makefile (generated): Likewise.
13463 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13464 * iconvdata/Makefile (before-compile, generated): Likewise.
13465 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13466 * libio/Makefile (generated): Likewise.
13467 * malloc/Makefile (generated): Likewise.
13468 * manual/Makefile (generated, generated-dirs): Likewise.
13469 * misc/Makefile (generated): Likewise.
13470 * posix/Makefile (generated): Likewise.
13471 * resolv/Makefile (generated): Likewise.
13472 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13473 * timezone/Makefile (generated, generated-dirs): Likewise.
13474
13475 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13476
13477 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13478
13479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13480 power8 implementation.
13481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13482 file: POWER8 llround ifunc implementation.
13483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13484 (__lllround): Add POWER8 implementation.
13485 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13486 POWER8 llround implementation.
13487
13488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13489 power8 implementation.
13490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13491 file: POWER8 llrint ifunc implementation.
13492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13493 Add POWER8 implementation.
13494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13495 POWER8 llrint implementation.
13496
13497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13498 power8 implementation.
13499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13500 file: POWER8 finite ifunc implementation.
13501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13502 Add POWER8 implementation.
13503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13504 Likewise.
13505 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13506 POWER8 finite implementation.
13507 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13508
13509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13510 power8 implementation.
13511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13512 file: POWER8 isinf ifunc implementation.
13513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13514 POWER8 implementation.
13515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13516 Likewise.
13517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13518 isinf implementation.
13519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13520
13521 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13522 (INIT_ARCH): Add hwcap2 initialization.
13523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13524 power8 implementation.
13525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13526 file: POWER8 isnan ifunc implementation.
13527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13528 POWER8 implementation.
13529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13530 Likewise.
13531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13532 isnan implementation.
13533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13534
13535 2014-02-27 Joey Ye <joey.ye@arm.com>
13536
13537 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13538 (_FP_NANFRAC_Q): Set to zero.
13539
13540 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13541
13542 [BZ #16623]
13543 * math/auto-libm-test-in: New test inputs.
13544 * math/auto-libm-test-out: Regenerate.
13545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13546 and DA.
13547 (__cos): Likewise.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13549
13550 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13551
13552 * scripts/evaluate-test.sh: Take new argument indicating whether
13553 failure is expected.
13554 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13555 indicating whether failure is expected.
13556 * conform/Makefile (test-xfail-run-conformtest): New variable.
13557 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13558 level.
13559 * posix/Makefile (test-xfail-annexc): New variable.
13560 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13561
13562 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13563
13564 * argp/Makefile: Include Makeconfig immediately after defining
13565 subdir.
13566 * assert/Makefile: Likewise.
13567 * benchtests/Makefile: Likewise.
13568 * catgets/Makefile: Likewise.
13569 * conform/Makefile: Likewise.
13570 * crypt/Makefile: Likewise.
13571 * csu/Makefile: Likewise.
13572 (all): Remove target.
13573 * ctype/Makefile: Include Makeconfig immediately after defining
13574 subdir.
13575 * debug/Makefile: Likewise.
13576 * dirent/Makefile: Likewise.
13577 * dlfcn/Makefile: Likewise.
13578 * gmon/Makefile: Likewise.
13579 * gnulib/Makefile: Likewise.
13580 * grp/Makefile: Likewise.
13581 * gshadow/Makefile: Likewise.
13582 * hesiod/Makefile: Likewise.
13583 * hurd/Makefile: Likewise.
13584 (all): Remove target.
13585 * iconvdata/Makefile: Include Makeconfig immediately after
13586 defining subdir.
13587 * inet/Makefile: Likewise.
13588 * intl/Makefile: Likewise.
13589 * io/Makefile: Likewise.
13590 * libio/Makefile: Likewise.
13591 (all): Remove target.
13592 * locale/Makefile: Include Makeconfig immediately after defining
13593 subdir.
13594 * login/Makefile: Likewise.
13595 * mach/Makefile: Likewise.
13596 (all): Remove target.
13597 * malloc/Makefile: Include Makeconfig immediately after defining
13598 subdir.
13599 (all): Remove target.
13600 * manual/Makefile: Include Makeconfig immediately after defining
13601 subdir.
13602 * math/Makefile: Likewise.
13603 * misc/Makefile: Likewise.
13604 * nis/Makefile: Likewise.
13605 * nss/Makefile: Likewise.
13606 * po/Makefile: Likewise.
13607 (all): Remove target.
13608 * posix/Makefile: Include Makeconfig immediately after defining
13609 subdir.
13610 * pwd/Makefile: Likewise.
13611 * resolv/Makefile: Likewise.
13612 * resource/Makefile: Likewise.
13613 * rt/Makefile: Likewise.
13614 * setjmp/Makefile: Likewise.
13615 * shadow/Makefile: Likewise.
13616 * signal/Makefile: Likewise.
13617 * socket/Makefile: Likewise.
13618 * soft-fp/Makefile: Likewise.
13619 * stdio-common/Makefile: Likewise.
13620 * stdlib/Makefile: Likewise.
13621 * streams/Makefile: Likewise.
13622 * string/Makefile: Likewise.
13623 * sunrpc/Makefile: Likewise.
13624 (all): Remove target.
13625 * sysvipc/Makefile: Include Makeconfig immediately after defining
13626 subdir.
13627 * termios/Makefile: Likewise.
13628 * time/Makefile: Likewise.
13629 * timezone/Makefile: Likewise.
13630 (all): Remove target.
13631 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13632 subdir.
13633 * wctype/Makefile: Likewise.
13634
13635 2014-02-26 Steve Ellcey <sellcey@mips.com>
13636
13637 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13638 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13639 (libc_feholdexcept_setround_mips): Ditto.
13640 (libc_feholdsetround): New.
13641 (libc_feholdsetroundf): New.
13642 (libc_feholdsetroundl): New.
13643 (libc_feupdateenv_test_mips): New.
13644 (libc_feupdateenv_test): New.
13645 (libc_feupdateenv_testf): New.
13646 (libc_feupdateenv_testl): New.
13647 (libc_feresetround): New.
13648 (libc_feresetroundf): New.
13649 (libc_feresetroundl): New.
13650 (libc_fetestexcept_mips): New.
13651 (libc_fetestexcept): New.
13652 (libc_fetestexceptf): New.
13653 (libc_fetestexceptl): New.
13654 (HAVE_RM_CTX): New.
13655 (libc_feholdexcept_setround_mips_ctx): New.
13656 (libc_feholdexcept_setround_ctx): New.
13657 (libc_feholdexcept_setroundf_ctx): New.
13658 (libc_feholdexcept_setroundl_ctx): New.
13659 (libc_fesetenv_mips_ctx): New.
13660 (libc_fesetenv_ctx): New.
13661 (libc_fesetenv_ctxf): New.
13662 (libc_fesetenv_ctxl): New.
13663 (libc_feupdateenv_mips_ctx): New.
13664 (libc_feupdateenv_ctx): New.
13665 (libc_feupdateenvf_ctx): New.
13666 (libc_feupdateenvl_ctx): New.
13667 (libc_feholdsetround_mips_ctx): New.
13668 (libc_feholdsetround_ctx): New.
13669 (libc_feholdsetroundf_ctx): New.
13670 (libc_feholdsetroundl_ctx): New.
13671 (libc_feresetround_mips_ctx): New.
13672 (libc_feresetround_ctx): New.
13673 (libc_feresetroundf_ctx): New.
13674 (libc_feresetroundl_ctx): New.
13675
13676 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13677
13678 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13679
13680 * manual/ipc.texi: New file.
13681 * manual/Makefile (chapters): Add ipc.
13682 * manual/job.texi: Add "Inter-Process Communication" to next.
13683 * manual/process.texi: Add "Inter-Process Communication" to prev.
13684
13685 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13686
13687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13688
13689 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13690
13691 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13692
13693 * manual/arith.texi: Fix spaces after sentences.
13694 * manual/charset.texi: Likewise.
13695 * manual/errno.texi: Likewise.
13696 * manual/install.texi: Likewise.
13697 * manual/llio.texi: Likewise.
13698 * manual/locale.texi: Likewise.
13699 * manual/maint.texi: Likewise.
13700 * manual/math.texi: Likewise.
13701 * manual/memory.texi: Likewise.
13702 * manual/message.texi: Likewise.
13703 * manual/probes.texi: Likewise.
13704 * manual/resource.texi: Likewise.
13705 * manual/signal.texi: Likewise.
13706 * manual/socket.texi: Likewise.
13707 * manual/stdio.texi: Likewise.
13708 * manual/string.texi: Likewise.
13709 * manual/time.texi: Likewise.
13710 * manual/users.texi: Likewise.
13711
13712 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13713
13714 [BZ #16632]
13715 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13716 _DEFAULT_SOURCE is defined.
13717
13718 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13719 Carlos O'Donell <carlos@redhat.com>
13720
13721 [BZ #16613]
13722 * elf/dl-tls.c (_dl_count_modids): New function.
13723 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13724 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13725 audit library and increment generation counter.
13726 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13727 * elf/tst-audit9.c: New file.
13728 * elf/tst-auditmod9a.c: New file.
13729 * elf/tst-auditmod9b.c: New file.
13730 * elf/Makefile: Add rules to build and run tst-audit9.
13731
13732 2014-02-25 Florian Weimer <fweimer@redhat.com>
13733
13734 [BZ #15347]
13735 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13736
13737 2014-02-25 Will Newton <will.newton@linaro.org>
13738
13739 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13740 (__longjmp): Restore sp and lr before restoring callee
13741 saved registers. Add longjmp and longjmp_target
13742 SystemTap probe point.
13743 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13744 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13745 Define to zero to match jmpbuf layout.
13746 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13747 (__sigsetjmp): Save sp and lr before saving callee
13748 saved registers. Add setjmp SystemTap probe point.
13749
13750 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13751
13752 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13753
13754 2014-02-24 Andreas Schwab <schwab@suse.de>
13755
13756 [BZ #15804]
13757 * elf/pldd.c (wait_for_ptrace_stop): New function.
13758 (main): Call it after attaching.
13759
13760 2014-02-22 Roland McGrath <roland@hack.frob.com>
13761
13762 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13763 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13764 Versions files is now verboten.
13765 * hurd/Versions (libc: GLIBC_2.0):
13766 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13767 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13768 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13769 * mach/Versions: Likewise.
13770
13771 * csu/Versions: Remove unused %include.
13772 * resolv/Versions: Likewise.
13773
13774 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13775
13776 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13777 ($(objpfx)check-local-headers.out): Likewise.
13778 ($(objpfx)begin-end-check.out): Likewise.
13779 * Makerules (check-abi-%.out): Likewise.
13780 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13781 ($(objpfx)test2.cat): Likewise.
13782 ($(objpfx)de/libc.cat): Likewise.
13783 ($(objpfx)test-gencat.out): Likewise.
13784 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13785 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13786 ($(objpfx)noload-mem): Likewise.
13787 ($(objpfx)tst-pathopt.out): Likewise.
13788 ($(objpfx)tst-rtld-load-self.out): Likewise.
13789 ($(objpfx)tst-array1-cmp.out): Likewise.
13790 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13791 ($(objpfx)tst-array2-cmp.out): Likewise.
13792 ($(objpfx)tst-array3-cmp.out): Likewise.
13793 ($(objpfx)tst-array4-cmp.out): Likewise.
13794 ($(objpfx)tst-array5-cmp.out): Likewise.
13795 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13796 ($(objpfx)check-textrel.out): Likewise.
13797 ($(objpfx)check-execstack.out): Likewise.
13798 ($(objpfx)check-localplt.out): Likewise.
13799 ($(objpfx)order2-cmp.out): Likewise.
13800 ($(objpfx)tst-leaks1-mem): Likewise.
13801 ($(objpfx)tst-leaks1-static-mem): Likewise.
13802 ($(objpfx)tst-initorder-cmp.out): Likewise.
13803 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13804 ($(objpfx)tst-unused-dep.out): Likewise.
13805 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13806 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13807 * iconv/Makefile (test-iconvconfig): Likewise.
13808 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13809 ($(objpfx)iconv-test.out): Likewise.
13810 ($(objpfx)tst-tables.out): Likewise.
13811 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13812 ($(objpfx)tst-gettext.out): Likewise.
13813 ($(objpfx)tst-translit.out): Likewise.
13814 ($(objpfx)tst-gettext2.out): Likewise.
13815 ($(objpfx)tst-gettext4.out): Likewise.
13816 ($(objpfx)tst-gettext6.out): Likewise.
13817 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13818 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13819 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13820 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13822 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13823 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13824 ($(objpfx)wordexp-tst.out): Likewise.
13825 ($(objpfx)annexc.out): Likewise.
13826 ($(objpfx)tst-fnmatch-mem): Likewise.
13827 ($(objpfx)bug-regex2-mem): Likewise.
13828 ($(objpfx)bug-regex14-mem): Likewise.
13829 ($(objpfx)bug-regex21-mem): Likewise.
13830 ($(objpfx)bug-regex31-mem): Likewise.
13831 ($(objpfx)tst-vfork3-mem): Likewise.
13832 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13833 ($(objpfx)tst-pcre-mem): Likewise.
13834 ($(objpfx)tst-boost-mem): Likewise.
13835 ($(objpfx)tst-getconf.out): Likewise.
13836 ($(objpfx)bug-ga2-mem): Likewise.
13837 ($(objpfx)bug-glob2-mem): Likewise.
13838 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13839 ($(objpfx)mtrace-tst-leaks2): Likewise.
13840 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13841 ($(objpfx)tst-printf.out): Likewise.
13842 ($(objpfx)tst-setvbuf1.out): Likewise.
13843 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13844 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13845 ($(objpfx)tst-fmtmsg.out): Likewise.
13846 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13847 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13848
13849 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13850 * bits/sigaction.h [__USE_MISC]: Likewise.
13851 * bits/waitstatus.h: Update #endif comments.
13852 * ctype/ctype.h: Likewise.
13853 * dirent/dirent.h: Likewise.
13854 [__USE_MISC]: Remove redundant conditionals.
13855 * grp/grp.h: Update #endif comments.
13856 [__USE_GNU]: Remove redundant conditionals.
13857 [__USE_MISC]: Likewise.
13858 * inet/netinet/in.h [__USE_GNU]: Likewise.
13859 * io/sys/stat.h [__USE_MISC]: Likewise.
13860 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13861 * libio/bits/stdio.h: Update #endif comments.
13862 [__USE_MISC]: Remove redundant conditionals.
13863 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13864 * libio/stdio.h: Update #endif comments.
13865 [__USE_MISC]: Remove redundant conditionals.
13866 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13867 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13868 * math/math.h: Update #else and #endif comments.
13869 [__USE_MISC]: Remove redundant conditionals.
13870 * misc/sys/uio.h: Update #endif comments.
13871 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13872 * posix/glob.h [__USE_MISC]: Likewise.
13873 * posix/sys/types.h: Update #endif comments.
13874 [__USE_MISC]: Remove redundant conditionals.
13875 * posix/sys/wait.h: Update #endif comments.
13876 [__USE_MISC]: Remove redundant conditionals.
13877 * posix/unistd.h: Update #endif comments.
13878 [__USE_MISC]: Remove redundant conditionals.
13879 * pwd/pwd.h [__USE_GNU]: Likewise.
13880 [__USE_MISC]: Likewise.
13881 * resolv/netdb.h [__USE_GNU]: Likewise.
13882 * signal/signal.h: Update #endif comments.
13883 [__USE_MISC]: Remove redundant conditionals.
13884 * stdlib/stdlib.h: Update #else and #endif comments.
13885 [__USE_MISC]: Remove redundant conditionals.
13886 [__USE_GNU]: Likewise.
13887 * string/bits/string2.h [__USE_MISC]: Likewise.
13888 * string/string.h: Update #endif comments.
13889 [__USE_MISC]: Remove redundant conditionals.
13890 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13891 Likewise.
13892 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13893 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13894 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13895 Likewise.
13896 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13897 Likewise.
13898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13899 comments.
13900 [__USE_MISC]: Remove redundant conditionals.
13901 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13902 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13903 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13904 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13905 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13906 Likewise.
13907 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13908 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13909 Likewise.
13910 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13912 Likewise.
13913 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13914 Likewise.
13915 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13917 Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13919 Likewise.
13920 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13921 * sysdeps/x86/bits/string.h: Update #endif comments.
13922 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13923 conditionals.
13924 * time/sys/time.h: Update #endif comments.
13925 * time/time.h: Likewise.
13926 [__USE_MISC]: Remove redundant conditionals.
13927
13928 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13929
13930 [BZ #16600]
13931 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13932
13933 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13934
13935 * Versions.def (librt): Add GLIBC_2.17.
13936
13937 2014-02-21 Adam Conrad <adconrad@0c3.net>
13938
13939 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13940 synonym for _SYS_AUXV_H to allow direct inclusion.
13941 * sysdeps/sparc/bits/hwcap.h: Likewise.
13942 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13943 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13944 * sysdeps/sparc/sysdep.h: Likewise.
13945
13946 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13947
13948 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13949
13950 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13951
13952 * benchtests/bench-strrchr.c: Print length instead of position.
13953
13954 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13955
13956 [BZ #16611]
13957 * sysdeps/unix/sysv/linux/kernel-features.h
13958 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13959 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13960 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13961 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13962 Likewise.
13963 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13964 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13965 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13966 (__ASSUME_SENDMMSG): Define instead of using previous
13967 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13968 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13969 (__ASSUME_SENDMMSG_SYSCALL): Define.
13970 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13971 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13972 Likewise.
13973 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13974 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13975 Likewise.
13976 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13977 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13978 Likewise.
13979 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13980 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13981 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13982 [__ASSUME_SENDMMSG]: Change conditionals to
13983 [__ASSUME_SENDMMSG_SOCKETCALL].
13984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13985 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13986 Define.
13987 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13988 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13989 Likewise.
13990 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13991 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13992 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13993 [!__ASSUME_SENDMMSG]: Change conditional to
13994 [!__ASSUME_SENDMMSG_SOCKETCALL].
13995 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13996 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13997 Define.
13998
13999 [BZ #16610]
14000 * sysdeps/unix/sysv/linux/kernel-features.h
14001 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14002 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14003 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14004 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14005 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14006 [__i386__ || __sparc__]
14007 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14008 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14009 (__ASSUME_RECVMMSG): Define instead of using previous
14010 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14012 (__ASSUME_RECVMMSG_SYSCALL): Define.
14013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14014 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14015 Likewise.
14016 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14017 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14018 Likewise.
14019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14021 Likewise.
14022 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14023 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14024 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14025 [__ASSUME_RECVMMSG]: Change condition to
14026 [__ASSUME_RECVMMSG_SOCKETCALL].
14027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14029 Define.
14030 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14031 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14032 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14033 Likewise.
14034 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14035 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14036 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14037 [!__ASSUME_RECVMMSG]: Change condition to
14038 [!__ASSUME_RECVMMSG_SOCKETCALL].
14039 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14040 (__ASSUME_RECVMMSG_SYSCALL): Define.
14041
14042 [BZ #16609]
14043 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14044 __powerpc__ || __s390__ || __sh__ || __sparc__]
14045 (__ASSUME_SOCKETCALL): Define.
14046 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14047 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14048 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14049 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14050 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14051 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14052 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14053 (__ASSUME_ACCEPT4): Define instead of using previous
14054 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14055 __powerpc__ || __sparc__ || __s390__)] condition.
14056 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14057 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14058 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14059 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14060 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14061 [!__ASSUME_ACCEPT4]: Change condition to
14062 [!__ASSUME_ACCEPT4_SOCKETCALL].
14063 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14064 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14065 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14066 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14067 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14068 __ASSUME_ACCEPT4_SYSCALL.
14069 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14070 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14071 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14072 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14073 __ASSUME_ACCEPT4_SYSCALL.
14074 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14075 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14076 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14077 [__ASSUME_ACCEPT4]: Change condition to
14078 [__ASSUME_ACCEPT4_SOCKETCALL].
14079 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14080 (__ASSUME_SOCKETCALL): Define.
14081 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14083 (__ASSUME_SOCKETCALL): Define.
14084 (__ASSUME_ACCEPT4): Remove.
14085 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14086 Define.
14087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14088 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14089 Likewise.
14090 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14091 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14092
14093 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14094 macro.
14095 (HWCAP_ARM_LPAE): Likewise.
14096 (HWCAP_ARM_EVTSTRM): Likewise.
14097 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14098 Add vpfd32, lpae and evtstrm.
14099 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14100 Increase to 22.
14101
14102 2014-02-19 Joseph Myers <joseph@codesourcery.com>
14103
14104 * math/auto-libm-test-in: Add tests of clog10.
14105 * math/auto-libm-test-out: Regenerated.
14106 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14107 * sysdeps/i386/fpu/libm-test-ulps: Update.
14108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14109
14110 2014-02-18 Andreas Schwab <schwab@suse.de>
14111
14112 [BZ #16574]
14113 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14114 Store non-zero if the second buffer was newly allocated.
14115 (send_dg): Likewise.
14116 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14117 to send_vc and send_dg.
14118 (res_nsend): Pass NULL for ansp2_malloced.
14119 * resolv/res_query.c (__libc_res_nquery): Add parameter
14120 answerp2_malloced and pass it down to __libc_res_nsend.
14121 (res_nquery): Pass additional NULL to __libc_res_nquery.
14122 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14123 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14124 second answer buffer if answerp2_malloced was set.
14125 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14126 (__libc_res_nquerydomain): Add parameter
14127 answerp2_malloced and pass it down to __libc_res_nquery.
14128 (res_nquerydomain): Pass additional NULL to
14129 __libc_res_nquerydomain.
14130 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14131 additional NULL to __libc_res_nsend and __libc_res_nquery.
14132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14133 additional NULL to __libc_res_nsearch.
14134 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14135 parameter of __libc_res_nsearch to check for separately allocated
14136 second buffer.
14137 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14138 __libc_res_nquery.
14139 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14140 additional NULL to __libc_res_nquery.
14141 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14142 __libc_res_nsearch.
14143 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14144 * include/resolv.h: Update prototypes of __libc_res_nquery,
14145 __libc_res_nsearch, __libc_res_nsend.
14146
14147 2014-02-18 Joseph Myers <joseph@codesourcery.com>
14148
14149 * math/auto-libm-test-in: Add tests of fma.
14150 * math/auto-libm-test-out: Regenerated.
14151 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14152 (fma_towardzero_test_data): Likewise.
14153 (fma_downward_test_data): Likewise.
14154 (fma_upward_test_data): Likewise.
14155 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14156 mpc_mode.
14157 (rounding_modes): Add values for new field.
14158 (func_calc_method): Add value mpfr_fff_f.
14159 (func_calc_desc): Add mpfr_fff_f union field.
14160 (test_function): Add field exact_args.
14161 (FUNC): Add macro argument EXACT_ARGS.
14162 (FUNC_mpfr_f_f): Update call to FUNC.
14163 (FUNC_mpfr_f_f): Likewise.
14164 (FUNC_mpfr_ff_f): Likewise.
14165 (FUNC_mpfr_if_f): Likewise.
14166 (FUNC_mpc_c_f): Likewise.
14167 (FUNC_mpc_c_c): Likewise.
14168 (test_functions): Add fma. Update calls to FUNC.
14169 (handle_input_arg): Add argument exact_args.
14170 (add_test): Update call to handle_input_arg.
14171 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14172 (output_for_one_input_case): Update call to calc_generic_results.
14173 Recalculate exact zero results in each rounding mode.
14174
14175 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14176 non-negative before setting low bit.
14177 * math/auto-libm-test-in: Mark one asin test possibly having
14178 spurious underflow.
14179 * math/auto-libm-test-out: Regenerated.
14180 * sysdeps/i386/fpu/libm-test-ulps: Update.
14181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14182
14183 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14184
14185 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14186 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14187 ports/sysdeps/unix/sysv/linux/microblaze.
14188 * README: Add missing listing for microblaze*-*-linux-gnu.
14189
14190 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
14191
14192 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14193 duplicate code
14194
14195 2014-02-16 Mike Frysinger <vapier@gentoo.org>
14196
14197 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14198 * sysdeps/unix/sysv/linux/ia64: Move directory from
14199 ports/sysdeps/unix/sysv/linux/ia64.
14200 * README: Update listing for ia64-*-linux-gnu.
14201
14202 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14203 Joseph Myers <joseph@codesourcery.com>
14204
14205 * Makeconfig (test-name): New variable.
14206 (evaluate-test): Likewise.
14207 * Makerules (do-test-clean): Remove .test-result files.
14208 (common-mostlyclean): Likewise.
14209 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14210 * scripts/evaluate-test.sh: New file.
14211
14212 2014-02-14 Joseph Myers <joseph@codesourcery.com>
14213
14214 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14215 separate $(objpfx)tst-fopenloc-cmp.out and
14216 $(objpfx)tst-fopenloc-mem.out targets.
14217 (tests): Update dependencies.
14218 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14219 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14220 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14221 (tst-rxspencer-no-utf8-ARGS): New variable.
14222 (tst-rxspencer-no-utf8-ENV): Likewise.
14223 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14224 instead of $(objpfx)tst-rxspencer-mem.
14225 ($(objpfx)tst-rxspencer-mem): Change target to
14226 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14227 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14228 * posix/tst-rxspencer-no-utf8.c: New file.
14229
14230 * elf/Makefile ($(objpfx)order.out): Remove rule.
14231 [$(run-built-tests) = yes] (tests): Depend on
14232 $(objpfx)order-cmp.out.
14233 ($(objpfx)order-cmp.out): New rule.
14234 [$(run-built-tests) = yes] (tests): Depend on
14235 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14236 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14237 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14238 $(objpfx)tst-array5-static-cmp.out.
14239 ($(objpfx)tst-array1.out): Remove rule.
14240 ($(objpfx)tst-array1-cmp.out): New rule.
14241 ($(objpfx)tst-array1-static.out): Remove rule.
14242 ($(objpfx)tst-array1-static-cmp.out): New rule.
14243 ($(objpfx)tst-array2.out): Remove rule.
14244 ($(objpfx)tst-array2-cmp.out): New rule.
14245 ($(objpfx)tst-array3.out): Remove rule.
14246 ($(objpfx)tst-array3-cmp.out): New rule.
14247 ($(objpfx)tst-array4.out): Remove rule.
14248 ($(objpfx)tst-array4-cmp.out): New rule.
14249 ($(objpfx)tst-array5.out): Remove rule.
14250 ($(objpfx)tst-array5-cmp.out): New rule.
14251 ($(objpfx)tst-array5-static.out): Remove rule.
14252 ($(objpfx)tst-array5-static-cmp.out): New rule.
14253 [$(run-built-tests) = yes] (tests): Depend on
14254 $(objpfx)order2-cmp.out.
14255 ($(objpfx)order2.out): Remove rule.
14256 ($(objpfx)order2-cmp.out): New rule.
14257 ($(objpfx)tst-initorder.out): Remove rule.
14258 [$(run-built-tests) = yes] (tests): Depend on
14259 $(objpfx)tst-initorder-cmp.out.
14260 ($(objpfx)tst-initorder-cmp.out): New rule.
14261 ($(objpfx)tst-initorder2.out): Remove rule.
14262 [$(run-built-tests) = yes] (tests): Depend on
14263 $(objpfx)tst-initorder2-cmp.out.
14264 ($(objpfx)tst-initorder2-cmp.out): New rule.
14265 [$(run-built-tests) = yes] (tests): Depend on
14266 $(objpfx)tst-unused-dep-cmp.out.
14267 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14268 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14269 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14270 on $(objpfx)tst-setvbuf1-cmp.out.
14271 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14272 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14273 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14274 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14275 ($(objpfx)tst-svc.out): Remove rule.
14276 ($(objpfx)tst-svc-cmp.out): New rule.
14277
14278 2014-02-13 Joseph Myers <joseph@codesourcery.com>
14279
14280 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14281 * ctype/ctype.h [__USE_MISC]: Likewise.
14282 * dirent/dirent.h [__USE_MISC]: Likewise.
14283 * grp/grp.h [__USE_MISC]: Likewise.
14284 * io/fcntl.h [__USE_MISC]: Likewise.
14285 * io/sys/stat.h [__USE_MISC]: Likewise.
14286 * libio/stdio.h [__USE_MISC]: Likewise.
14287 * posix/unistd.h [__USE_MISC]: Likewise.
14288 * pwd/pwd.h [__USE_MISC]: Likewise.
14289 * stdlib.h [__USE_MISC]: Likewise.
14290 * string/bits/string2.h [__USE_MISC]: Likewise.
14291 * string/string.h [__USE_MISC]: Likewise.
14292 * time/time.h [__USE_MISC]: Likewise.
14293
14294 2014-02-13 Andreas Schwab <schwab@suse.de>
14295
14296 [BZ #16574]
14297 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14298 second answer buffer if it was separately allocated.
14299
14300 2014-02-12 Joseph Myers <joseph@codesourcery.com>
14301
14302 * sysdeps/mips/math-tests.h: Include <features.h>.
14303 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14304 (ROUNDING_TESTS_long_double): Do not define.
14305 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14306 (EXCEPTION_TESTS_long_double): Likewise.
14307 * sysdeps/mips/mips64/libm-test-ulps: Update.
14308
14309 * include/features.h (__USE_BSD): Remove macro definitions.
14310 (__USE_SVID): Likewise.
14311 (_BSD_SOURCE): Likewise.
14312 (_SVID_SOURCE): Likewise.
14313 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14314 from definition of _DEFAULT_SOURCE.
14315 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14316 [_DEFAULT_SOURCE].
14317 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14318 * bits/mman.h [__USE_BSD]: Likewise.
14319 * bits/termios.h [__USE_BSD]: Likewise.
14320 * bits/waitstatus.h [__USE_BSD]: Likewise.
14321 * ctype/ctype.h [__USE_SVID]: Likewise.
14322 * dirent/dirent.h [__USE_BSD]: Likewise.
14323 * grp/grp.h [__USE_SVID]: Likewise.
14324 [__USE_BSD]: Likewise.
14325 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14326 * io/fcntl.h [__USE_BSD]: Likewise.
14327 * io/ftw.h [__USE_BSD]: Likewise.
14328 * io/sys/stat.h [__USE_BSD]: Likewise.
14329 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14330 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14331 * libio/stdio.h [__USE_SVID]: Likewise.
14332 [__USE_BSD]: Likewise.
14333 * math/math.h [__USE_SVID]: Likewise.
14334 [__USE_BSD]: Likewise.
14335 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14336 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14337 * misc/search.h [__USE_SVID]: Likewise.
14338 * misc/sys/mman.h [__USE_BSD]: Likewise.
14339 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14340 * misc/sys/uio.h [__USE_BSD]: Likewise.
14341 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14342 * posix/glob.h [__USE_BSD]: Likewise.
14343 * posix/regex.h [__USE_BSD]: Likewise.
14344 * posix/sys/types.h [__USE_BSD]: Likewise.
14345 [__USE_SVID]: Likewise.
14346 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14347 * posix/sys/wait.h [__USE_BSD]: Likewise.
14348 [__USE_SVID]: Likewise.
14349 * posix/unistd.h [__USE_BSD]: Likewise.
14350 [__USE_SVID]: Likewise.
14351 * pwd/pwd.h [__USE_SVID]: Likewise.
14352 * resolv/netdb.h [__USE_BSD]: Likewise.
14353 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14354 * signal/signal.h [__USE_BSD]: Likewise.
14355 [__USE_SVID]: Likewise.
14356 * socket/sys/socket.h [__USE_BSD]: Likewise.
14357 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14358 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14359 [__USE_SVID]: Likewise.
14360 * string/bits/string2.h [__USE_BSD]: Likewise.
14361 [__USE_SVID]: Likewise.
14362 * string/bits/string3.h [__USE_BSD]: Likewise.
14363 * string/endian.h [__USE_BSD]: Likewise.
14364 * string/string.h [__USE_SVID]: Likewise.
14365 [__USE_BSD]: Likewise.
14366 * string/strings.h [__USE_BSD]: Likewise.
14367 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14368 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14369 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14370 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14371 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14372 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14373 Likewise.
14374 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14375 Likewise.
14376 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14377 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14378 Likewise.
14379 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14380 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14381 Likewise.
14382 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14383 Likewise.
14384 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14385 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14386 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14387 Likewise.
14388 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14389 Likewise.
14390 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14391 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14392 * termios/termios.h [__USE_BSD]: Likewise.
14393 * time/sys/time.h [__USE_BSD]: Likewise.
14394 * time/time.h [__USE_BSD]: Likewise.
14395 [__USE_SVID]: Likewise.
14396
14397 * Makefile (subdir_targets): Remove subdir_lint.out.
14398
14399 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14400 (do-tst-printf): Likewise.
14401 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14402 $(objpfx)tst-printf.out.
14403
14404 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14405
14406 * Makerules (check-abi-%): Change target to
14407 $(objpfx)check-abi-%.out.
14408 (check-abi target): Update dependencies.
14409 (check-abi-pattern variable): Redirect output of diff to $@.
14410 (check-abi variable): Likewise.
14411 * elf/Makefile (check-abi): Update dependencies.
14412
14413 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14414 unused.
14415 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14416 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14417 subnormal range.
14418 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14419 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14420 value has largest subnormal exponent.
14421 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14422 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14423 * sysdeps/aarch64/soft-fp/sfp-machine.h
14424 (_FP_TININESS_AFTER_ROUNDING): New macro.
14425 * sysdeps/alpha/soft-fp/sfp-machine.h
14426 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14427 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14428 Likewise.
14429 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14430 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14431 * sysdeps/mips/soft-fp/sfp-machine.h
14432 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14433 * sysdeps/powerpc/soft-fp/sfp-machine.h
14434 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14435 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14436 Likewise.
14437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14438 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14440 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14441 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14442 Likewise.
14443
14444 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14445
14446 [BZ #16545]
14447 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14448 model 1.
14449
14450 2014-02-12 Richard Henderson <rth@redhat.com>
14451
14452 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14453 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14454 * sysdeps/unix/sysv/linux/alpha: Move directory from
14455 ports/sysdeps/unix/sysv/linux/alpha.
14456 * README: Update listing for alpha-*-linux-gnu.
14457
14458 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14459
14460 * include/features.h: Update comment documenting feature test
14461 macros.
14462 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14463 _DEFAULT_SOURCE.
14464 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14465 (_SVID_SOURCE): Likewise.
14466 (_DEFAULT_SOURCE): Update description of default features.
14467 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14468 with _GNU_SOURCE.
14469 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14470 (S_ISVTX): Likewise.
14471 * manual/math.texi (Mathematical Constants): Likewise.
14472 * manual/signal.texi (Interrupted Primitives): Likewise.
14473 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14474 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14475 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14476 Don't refer to _SVID_SOURCE in warning text.
14477
14478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14479
14480 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14481 already defined.
14482 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14483 * sysdeps/mips/dl-lookup.c: Remove.
14484 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14485
14486 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14487
14488 [BZ #16447]
14489 * math/auto-libm-test-in: Add testcase for expl.
14490 * math/auto-libm-test-out: Regenerate.
14491 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14492 calculation of unsafe.
14493 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14494
14495 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14496
14497 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14498 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14499 ports/sysdeps/unix/sysv/linux/aarch64.
14500 * README: Update listing for aarch64*-*-linux-gnu.
14501
14502 2014-02-11 Will Newton <will.newton@linaro.org>
14503
14504 * manual/probes.texi (Mathematical Function Probes): Use
14505 "triggered" instead of "hit".
14506
14507 * manual/probes.texi (Internal Probes): Add documentation
14508 of setjmp, longjmp and longjmp_target probes.
14509
14510 * include/stap-probe.h: Add comment about probe argument
14511 format.
14512
14513 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14514 definition. (tr_where, tr_freehook, tr_mallochook,
14515 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14516
14517 2014-02-11 David S. Miller <davem@davemloft.net>
14518
14519 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14520 processing int_tests.
14521
14522 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14523
14524 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14525 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14526 * sysdeps/unix/sysv/linux/mips: Move directory from
14527 ports/sysdeps/unix/sysv/linux/mips.
14528 * README: Update listing for mips-*-linux-gnu and
14529 mips64-*-linux-gnu.
14530
14531 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14532
14533 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14534 * sysdeps/unix/sysv/linux/m68k: Move directory from
14535 ports/sysdeps/unix/sysv/linux/m68k.
14536 * README: Update listing for m68k-*-linux-gnu.
14537
14538 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14539
14540 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14541 * sysdeps/unix/sysv/linux/generic: Move directory from
14542 ports/sysdeps/unix/sysv/linux/generic.
14543 * sysdeps/unix/sysv/linux/tile: Move directory from
14544 ports/sysdeps/unix/sysv/linux/tile.
14545 * README: Update listing for tile*-*-linux-gnu.
14546
14547 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14548
14549 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14550 __builtin_expect.
14551 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14552 * catgets/open_catalog.c (__open_catalog): Likewise.
14553 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14554 * debug/confstr_chk.c: Likewise.
14555 * debug/fread_chk.c (__fread_chk): Likewise.
14556 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14557 * debug/getgroups_chk.c: Likewise.
14558 * debug/mbsnrtowcs_chk.c: Likewise.
14559 * debug/mbsrtowcs_chk.c: Likewise.
14560 * debug/mbstowcs_chk.c: Likewise.
14561 * debug/memcpy_chk.c: Likewise.
14562 * debug/memmove_chk.c: Likewise.
14563 * debug/mempcpy_chk.c: Likewise.
14564 * debug/memset_chk.c: Likewise.
14565 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14566 * debug/strcat_chk.c (__strcat_chk): Likewise.
14567 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14568 * debug/strncat_chk.c (__strncat_chk): Likewise.
14569 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14570 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14571 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14572 * debug/wcpncpy_chk.c: Likewise.
14573 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14574 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14575 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14576 * debug/wcsncpy_chk.c: Likewise.
14577 * debug/wcsnrtombs_chk.c: Likewise.
14578 * debug/wcsrtombs_chk.c: Likewise.
14579 * debug/wcstombs_chk.c: Likewise.
14580 * debug/wmemcpy_chk.c: Likewise.
14581 * debug/wmemmove_chk.c: Likewise.
14582 * debug/wmempcpy_chk.c: Likewise.
14583 * debug/wmemset_chk.c: Likewise.
14584 * dirent/scandirat.c (SCANDIRAT): Likewise.
14585 * dlfcn/dladdr1.c (dladdr1): Likewise.
14586 * dlfcn/dladdr.c (dladdr): Likewise.
14587 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14588 * dlfcn/dlerror.c (__dlerror): Likewise.
14589 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14590 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14591 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14592 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14593 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14594 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14595 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14596 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14597 Likewise.
14598 * elf/dl-conflict.c: Likewise.
14599 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14600 * elf/dl-dst.h: Likewise.
14601 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14602 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14603 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14604 * elf/dl-init.c (call_init, _dl_init): Likewise.
14605 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14606 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14607 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14608 Likewise.
14609 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14610 Likewise.
14611 * elf/dl-minimal.c (__libc_memalign): Likewise.
14612 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14613 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14614 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14615 * elf/dl-sym.c (do_sym): Likewise.
14616 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14617 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14618 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14619 * elf/dl-writev.h (_dl_writev): Likewise.
14620 * elf/ldconfig.c (search_dir): Likewise.
14621 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14622 (dl_main): Likewise.
14623 * elf/setup-vdso.h (setup_vdso): Likewise.
14624 * grp/compat-initgroups.c (compat_call): Likewise.
14625 * grp/fgetgrent.c (fgetgrent): Likewise.
14626 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14627 * grp/putgrent.c (putgrent): Likewise.
14628 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14629 Likewise.
14630 * hurd/hurdinit.c: Likewise.
14631 * iconvdata/8bit-gap.c (struct): Likewise.
14632 * iconvdata/ansi_x3.110.c : Likewise.
14633 * iconvdata/big5.c : Likewise.
14634 * iconvdata/big5hkscs.c : Likewise.
14635 * iconvdata/cp1255.c: Likewise.
14636 * iconvdata/cp1258.c : Likewise.
14637 * iconvdata/cp932.c : Likewise.
14638 * iconvdata/euc-cn.c: Likewise.
14639 * iconvdata/euc-jisx0213.c : Likewise.
14640 * iconvdata/euc-jp.c: Likewise.
14641 * iconvdata/euc-jp-ms.c : Likewise.
14642 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14643 * iconvdata/gb18030.c : Likewise.
14644 * iconvdata/gbbig5.c (const): Likewise.
14645 * iconvdata/gbgbk.c: Likewise.
14646 * iconvdata/gbk.c : Likewise.
14647 * iconvdata/ibm1364.c : Likewise.
14648 * iconvdata/ibm930.c : Likewise.
14649 * iconvdata/ibm932.c: Likewise.
14650 * iconvdata/ibm933.c : Likewise.
14651 * iconvdata/ibm935.c : Likewise.
14652 * iconvdata/ibm937.c : Likewise.
14653 * iconvdata/ibm939.c : Likewise.
14654 * iconvdata/ibm943.c: Likewise.
14655 * iconvdata/iso_11548-1.c: Likewise.
14656 * iconvdata/iso-2022-cn.c : Likewise.
14657 * iconvdata/iso-2022-cn-ext.c : Likewise.
14658 * iconvdata/iso-2022-jp-3.c: Likewise.
14659 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14660 * iconvdata/iso-2022-kr.c : Likewise.
14661 * iconvdata/iso646.c (gconv_end): Likewise.
14662 * iconvdata/iso_6937-2.c : Likewise.
14663 * iconvdata/iso_6937.c : Likewise.
14664 * iconvdata/iso8859-1.c: Likewise.
14665 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14666 * iconvdata/shift_jisx0213.c : Likewise.
14667 * iconvdata/sjis.c : Likewise.
14668 * iconvdata/t.61.c : Likewise.
14669 * iconvdata/tcvn5712-1.c : Likewise.
14670 * iconvdata/tscii.c: Likewise.
14671 * iconvdata/uhc.c : Likewise.
14672 * iconvdata/unicode.c (gconv_end): Likewise.
14673 * iconvdata/utf-16.c (gconv_end): Likewise.
14674 * iconvdata/utf-32.c (gconv_end): Likewise.
14675 * iconvdata/utf-7.c (base64): Likewise.
14676 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14677 * iconv/gconv_close.c (__gconv_close): Likewise.
14678 * iconv/gconv_open.c (__gconv_open): Likewise.
14679 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14680 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14681 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14682 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14683 (ucs4le_internal_loop_single): Likewise.
14684 * iconv/iconv.c (iconv): Likewise.
14685 * iconv/iconv_close.c: Likewise.
14686 * iconv/loop.c (SINGLE): Likewise.
14687 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14688 * include/atomic.h: Likewise.
14689 * inet/inet6_option.c (option_alloc): Likewise.
14690 * intl/bindtextdom.c (set_binding_values): Likewise.
14691 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14692 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14693 * intl/localealias.c (read_alias_file): Likewise.
14694 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14695 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14696 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14697 * libio/fmemopen.c (fmemopen): Likewise.
14698 * libio/iofgets.c (_IO_fgets): Likewise.
14699 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14700 * libio/iofgetws.c (fgetws): Likewise.
14701 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14702 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14703 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14704 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14705 * locale/findlocale.c (_nl_find_locale): Likewise.
14706 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14707 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14708 Likewise.
14709 * locale/setlocale.c (setlocale): Likewise.
14710 * login/programs/pt_chown.c (main): Likewise.
14711 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14712 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14713 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14714 (mmap, mmap64, mremap, munmap): Likewise.
14715 * math/e_exp2l.c: Likewise.
14716 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14717 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14718 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14719 * math/s_catan.c (__catan): Likewise.
14720 * math/s_catanf.c (__catanf): Likewise.
14721 * math/s_catanh.c (__catanh): Likewise.
14722 * math/s_catanhf.c (__catanhf): Likewise.
14723 * math/s_catanhl.c (__catanhl): Likewise.
14724 * math/s_catanl.c (__catanl): Likewise.
14725 * math/s_ccosh.c (__ccosh): Likewise.
14726 * math/s_ccoshf.c (__ccoshf): Likewise.
14727 * math/s_ccoshl.c (__ccoshl): Likewise.
14728 * math/s_cexp.c (__cexp): Likewise.
14729 * math/s_cexpf.c (__cexpf): Likewise.
14730 * math/s_cexpl.c (__cexpl): Likewise.
14731 * math/s_clog10.c (__clog10): Likewise.
14732 * math/s_clog10f.c (__clog10f): Likewise.
14733 * math/s_clog10l.c (__clog10l): Likewise.
14734 * math/s_clog.c (__clog): Likewise.
14735 * math/s_clogf.c (__clogf): Likewise.
14736 * math/s_clogl.c (__clogl): Likewise.
14737 * math/s_csin.c (__csin): Likewise.
14738 * math/s_csinf.c (__csinf): Likewise.
14739 * math/s_csinh.c (__csinh): Likewise.
14740 * math/s_csinhf.c (__csinhf): Likewise.
14741 * math/s_csinhl.c (__csinhl): Likewise.
14742 * math/s_csinl.c (__csinl): Likewise.
14743 * math/s_csqrt.c (__csqrt): Likewise.
14744 * math/s_csqrtf.c (__csqrtf): Likewise.
14745 * math/s_csqrtl.c (__csqrtl): Likewise.
14746 * math/s_ctan.c (__ctan): Likewise.
14747 * math/s_ctanf.c (__ctanf): Likewise.
14748 * math/s_ctanh.c (__ctanh): Likewise.
14749 * math/s_ctanhf.c (__ctanhf): Likewise.
14750 * math/s_ctanhl.c (__ctanhl): Likewise.
14751 * math/s_ctanl.c (__ctanl): Likewise.
14752 * math/w_pow.c: Likewise.
14753 * math/w_powf.c: Likewise.
14754 * math/w_powl.c: Likewise.
14755 * math/w_scalb.c (sysv_scalb): Likewise.
14756 * math/w_scalbf.c (sysv_scalbf): Likewise.
14757 * math/w_scalbl.c (sysv_scalbl): Likewise.
14758 * misc/error.c (error_tail): Likewise.
14759 * misc/pselect.c (__pselect): Likewise.
14760 * nis/nis_callback.c (__nis_create_callback): Likewise.
14761 * nis/nis_call.c (__nisfind_server): Likewise.
14762 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14763 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14764 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14765 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14766 * nis/nis_lookup.c (nis_lookup): Likewise.
14767 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14768 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14769 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14770 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14771 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14772 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14773 * nis/nss_compat/compat-initgroups.c (add_group)
14774 (internal_getgrent_r): Likewise.
14775 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14776 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14777 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14778 (internal_getspnam_r): Likewise.
14779 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14780 (_nss_nis_getaliasbyname_r): Likewise.
14781 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14782 (_nss_nis_getntohost_r): Likewise.
14783 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14784 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14785 (_nss_nis_getgrgid_r): Likewise.
14786 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14787 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14788 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14789 (_nss_nis_gethostbyname4_r): Likewise.
14790 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14791 (initgroups_netid): Likewise.
14792 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14793 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14794 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14795 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14796 (_nss_nis_getprotobynumber_r): Likewise.
14797 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14798 (_nss_nis_getsecretkey): Likewise.
14799 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14800 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14801 (_nss_nis_getpwuid_r): Likewise.
14802 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14803 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14804 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14805 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14806 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14807 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14808 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14809 Likewise.
14810 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14811 (_nss_nisplus_getntohost_r): Likewise.
14812 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14813 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14814 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14815 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14816 Likewise.
14817 * nis/nss_nisplus/nisplus-initgroups.c
14818 (_nss_nisplus_initgroups_dyn): Likewise.
14819 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14820 (_nss_nisplus_getnetbyaddr_r): Likewise.
14821 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14822 (_nss_nisplus_getprotobynumber_r): Likewise.
14823 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14824 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14825 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14826 Likewise.
14827 * nis/nss_nisplus/nisplus-service.c
14828 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14829 (_nss_nisplus_getservbyport_r): Likewise.
14830 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14831 (_nss_nisplus_getspnam_r): Likewise.
14832 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14833 Likewise.
14834 * nscd/aicache.c (addhstaiX): Likewise.
14835 * nscd/cache.c (cache_search, prune_cache): Likewise.
14836 * nscd/connections.c (register_traced_file, send_ro_fd)
14837 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14838 (main_loop_epoll): Likewise.
14839 * nscd/grpcache.c (addgrbyX): Likewise.
14840 * nscd/hstcache.c (addhstbyX): Likewise.
14841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14842 * nscd/mem.c (gc, mempool_alloc): Likewise.
14843 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14844 (addinnetgrX): Likewise.
14845 * nscd/nscd-client.h (__nscd_acquire_maplock)
14846 (__nscd_drop_map_ref): Likewise.
14847 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14848 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14849 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14850 Likewise.
14851 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14852 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14853 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14854 (__nscd_get_map_ref): Likewise.
14855 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14856 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14857 Likewise.
14858 * nscd/pwdcache.c (addpwbyX): Likewise.
14859 * nscd/selinux.c (preserve_capabilities): Likewise.
14860 * nscd/servicescache.c (addservbyX): Likewise.
14861 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14862 * posix/fnmatch.c (fnmatch): Likewise.
14863 * posix/getopt.c (_getopt_internal_r): Likewise.
14864 * posix/glob.c (glob, glob_in_dir): Likewise.
14865 * posix/wordexp.c (exec_comm_child): Likewise.
14866 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14867 (getanswer_r, gaih_getanswer_slice): Likewise.
14868 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14869 * resolv/res_init.c: Likewise.
14870 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14871 * resolv/res_query.c (__libc_res_nquery): Likewise.
14872 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14873 Likewise.
14874 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14875 * stdio-common/perror.c (perror): Likewise.
14876 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14877 * stdio-common/tmpnam.c (tmpnam): Likewise.
14878 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14879 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14880 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14881 Likewise.
14882 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14883 * stdlib/putenv.c (putenv): Likewise.
14884 * stdlib/setenv.c (__add_to_environ): Likewise.
14885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14886 * stdlib/strtol_l.c (INTERNAL): Likewise.
14887 * string/memmem.c (memmem): Likewise.
14888 * string/strerror.c (strerror): Likewise.
14889 * string/strnlen.c (__strnlen): Likewise.
14890 * string/test-memmem.c (simple_memmem): Likewise.
14891 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14892 * sunrpc/pm_getport.c (__get_socket): Likewise.
14893 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14894 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14895 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14896 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14897 Likewise.
14898 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14899 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14900 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14901 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14902 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14903 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14904 Likewise.
14905 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14906 Likewise.
14907 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14908 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14909 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14910 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14911 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14913 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14914 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14915 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14916 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14917 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14919 Likewise.
14920 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14921 Likewise.
14922 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14923 Likewise.
14924 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14927 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14928 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14929 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14930 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14939 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14940 Likewise.
14941 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14942 Likewise.
14943 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14944 Likewise.
14945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14946 Likewise.
14947 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14949 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14950 Likewise.
14951 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14952 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14953 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14954 * sysdeps/posix/sleep.c: Likewise.
14955 * sysdeps/posix/tempname.c: Likewise.
14956 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14957 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14958 Likewise.
14959 * sysdeps/powerpc/powerpc32/dl-machine.h
14960 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14961 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14963 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14964 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14965 Likewise.
14966 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14967 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14968 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14970 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14971 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14972 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14973 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14974 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14975 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14977 (elf_machine_lazy_rel): Likewise.
14978 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14980 (elf_machine_lazy_rel): Likewise.
14981 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14982 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14983 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14984 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14985 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14986 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14987 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14988 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14989 Likewise.
14990 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14991 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14992 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14993 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14994 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14995 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14996 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14997 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14998 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15000 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15001 Likewise.
15002 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15003 (__posix_fallocate64_l64): Likewise.
15004 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15005 (posix_fallocate): Likewise.
15006 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15007 Likewise.
15008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15009 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15010 (getifaddrs_internal): Likewise.
15011 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15012 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15013 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15014 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15015 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15016 (__posix_fallocate64_l64): Likewise.
15017 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15018 Likewise.
15019 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15020 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15021 (__get_clockfreq): Likewise.
15022 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15023 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15024 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15026 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15027 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15028 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15029 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15030 Likewise.
15031 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15032 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15033 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15034 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15035 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15036 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15037 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15038 Likewise.
15039 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15040 (posix_fallocate): Likewise.
15041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15042 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15043 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15044 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15045 (elf_machine_rela, elf_machine_rela_relative)
15046 (elf_machine_lazy_rel): Likewise.
15047 * time/asctime.c (asctime_internal): Likewise.
15048 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15049 * time/tzset.c (__tzset_parse_tz): Likewise.
15050 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15051 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15052 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15053 * wcsmbs/wcsmbsload.h: Likewise.
15054
15055 [BZ #15894]
15056 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15057
15058 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15059 (arena_get2): Remove THREAD_STATS conditionals.
15060 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15061 (__malloc_stats, int): Likewise.
15062
15063 2014-02-08 Mike Frysinger <vapier@gentoo.org>
15064
15065 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15066 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15067
15068 * manual/setjmp.texi: Fix typos/grammar errors.
15069
15070 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15071 Only return early when n is <= 0. Delete unused return statement.
15072
15073 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15074 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15075 * debug/tst-longjmp_chk3.c: New file.
15076
15077 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15078 (test_main): Replace code with set_fortify_handler call.
15079 * debug/test-strcpy_chk.c: Likewise.
15080 * debug/tst-chk1.c: Likewise.
15081 * debug/tst-longjmp_chk.c: Likewise.
15082 * test-skeleton.c: Include fcntl.h & paths.h
15083 (set_fortify_handler): Define.
15084
15085 * debug/tst-longjmp_chk.c: Add header comment and include
15086 ../test-skeleton.c.
15087 (do_test): Mark static.
15088 (TEST_FUNCTION): Define.
15089
15090 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15091 (IP_PMTUDISC_INTERFACE): Likewise.
15092 (IP_MULTICAST_IF): Likewise.
15093 (IP_MULTICAST_TTL): Likewise.
15094 (IP_MULTICAST_LOOP): Likewise.
15095 (IP_ADD_MEMBERSHIP): Likewise.
15096 (IP_DROP_MEMBERSHIP): Likewise.
15097 (IP_UNBLOCK_SOURCE): Likewise.
15098 (IP_BLOCK_SOURCE): Likewise.
15099 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15100 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15101 (IP_MSFILTER): Likewise.
15102 (MCAST_JOIN_GROUP): Likewise.
15103 (MCAST_BLOCK_SOURCE): Likewise.
15104 (MCAST_UNBLOCK_SOURCE): Likewise.
15105 (MCAST_LEAVE_GROUP): Likewise.
15106 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15107 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15108 (MCAST_MSFILTER): Likewise.
15109 (IP_MULTICAST_ALL): Likewise.
15110 (IP_UNICAST_IF): Likewise.
15111
15112 * timezone/Makefile: Delete $(have-ksh) check.
15113 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15114 * timezone/tzselect.ksh: Add +x mode bits.
15115
15116 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15117 (ANON_INODE_FS_MAGIC): Likewise.
15118 (BDEVFS_MAGIC): Likewise.
15119 (BINFMTFS_MAGIC): Likewise.
15120 (BTRFS_TEST_MAGIC): Likewise.
15121 (CRAMFS_MAGIC_WEND): Likewise.
15122 (DEBUGFS_MAGIC): Likewise.
15123 (ECRYPTFS_SUPER_MAGIC): Likewise.
15124 (EXT3_SUPER_MAGIC): Likewise.
15125 (EXT4_SUPER_MAGIC): Likewise.
15126 (FUTEXFS_SUPER_MAGIC): Likewise.
15127 (HOSTFS_SUPER_MAGIC): Likewise.
15128 (HUGETLBFS_MAGIC): Likewise.
15129 (MINIX3_SUPER_MAGIC): Likewise.
15130 (MTD_INODE_FS_MAGIC): Likewise.
15131 (NILFS_SUPER_MAGIC): Likewise.
15132 (OPENPROM_SUPER_MAGIC): Likewise.
15133 (PIPEFS_MAGIC): Likewise.
15134 (PSTOREFS_MAGIC): Likewise.
15135 (QNX6_SUPER_MAGIC): Likewise.
15136 (RAMFS_MAGIC): Likewise.
15137 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15138 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15139 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15140 (SECURITYFS_MAGIC): Likewise.
15141 (SELINUX_MAGIC): Likewise.
15142 (SMACK_MAGIC): Likewise.
15143 (SOCKFS_MAGIC): Likewise.
15144 (SQUASHFS_MAGIC): Likewise.
15145 (STACK_END_MAGIC): Likewise.
15146 (TMPFS_MAGIC): Likewise.
15147 (USBDEVICE_SUPER_MAGIC): Likewise.
15148 (V9FS_MAGIC): Likewise.
15149 (XENFS_SUPER_MAGIC): Likewise.
15150 (CRAMFS_MAGIC): Fix typo in comment.
15151 (EXT2_SUPER_MAGIC): Update comment.
15152 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15153
15154 2014-02-08 Joseph Myers <joseph@codesourcery.com>
15155
15156 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15157 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15158 * sysdeps/unix/sysv/linux/arm: Move directory from
15159 ports/sysdeps/unix/sysv/linux/arm.
15160 * README: Update listing for arm-*-linux-gnueabi.
15161
15162 * README: Remove mention of am33.
15163
15164 2014-02-07 Roland McGrath <roland@hack.frob.com>
15165
15166 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15167 than the comma operator, to avoid "rhs of comma has no effect"
15168 compiler warnings.
15169 (__sigfillset, __sigandset, __sigorset): Likewise.
15170 * include/signal.h (__sigemptyset): Likewise.
15171 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15172
15173 2014-02-07 Allan McRae <allan@archlinux.org>
15174
15175 * version.h (RELEASE): Set to "development".
15176 (VERSION): Set to "2.19.90"
15177 * NEWS: Add 2.20 section.
15178
15179 2014-02-06 Carlos O'Donell <carlos@redhat.com>
15180
15181 [BZ #16529]
15182 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15183
15184 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15185
15186 * manual/contrib.texi: Update entry for Carlos O'Donell,
15187 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15188
15189 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
15190
15191 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15192
15193 * sysdeps/unix/sysv/linux/kernel-features.h
15194 [__LINUX_KERNEL_VERSION >= 0x020621]
15195 (__ASSUME_PROC_PID_TASK_COMM): Define.
15196
15197 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
15199 [BZ #16398]
15200 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15201 conversion when destination buffer does not have enough space.
15202 * libio/tst-ftell-partial-wide.c: New test case.
15203 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15204
15205 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15206 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15207 Leonard and Allan McRae.
15208
15209 2014-02-04 David S. Miller <davem@davemloft.net>
15210
15211 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15212 32-bit.
15213
15214 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15215
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15217 New file
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15219 New file
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15221 New file.
15222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15223 New file.
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15225 New file.
15226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15227 New file.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15229 New file.
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15231 New file.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15233 New file.
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15235 New file.
15236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15237 New file.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15239 New file.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15241 New file.
15242
15243 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15244
15245 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15246 * shlib-versions: Likewise.
15247
15248 2014-02-04 Roland McGrath <roland@hack.frob.com>
15249 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15250
15251 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15252 (abilist-pattern): New variable, set to %-le.abilist.
15253
15254 * Makerules (abilist-pattern): New variable.
15255 (vpath): Use $(abilist-pattern) in place of %.abilist.
15256 (check-abi-% pattern rule): Likewise.
15257 (check-abi, update-abi): Likewise.
15258
15259 2014-02-04 Eric Wong <normalperson@yhbt.net>
15260
15261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15262
15263 2014-02-03 Carlos O'Donell <carlos@redhat.com>
15264
15265 * manual/startup.texi: Add next, previous, and top entries for
15266 the `Program Arguments' and `Environment Variables' nodes.
15267
15268 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
15269
15270 * manual/macros.texi: Add comments before MTASC-safety macros.
15271
15272 * manual/users.texi: Document MTASC-safety properties.
15273
15274 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15275 (pthread_getspecific, pthread_setspecific): Format with
15276 @deftypefun, and add @safety note.
15277 * manual/signal.texi: Move comments that analyze the above
15278 functions to their home place.
15279
15280 2014-02-03 Allan McRae <allan@archlinux.org>
15281
15282 * po/sl.po: Update Slovenian translation from translation project.
15283
15284 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
15285
15286 * manual/time.texi (timegm): Add missing blank after @c.
15287 Reported by Joseph Myers <joseph@codesourcery.com>.
15288
15289 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
15290
15291 * manual/check-safety.sh: New.
15292 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15293
15294 * manual/terminal.texi: Document MTASC-safety properties.
15295
15296 * manual/filesys.texi: Document MTASC-safety properties.
15297
15298 * manual/errno.texi: Document MTASC-safety properties.
15299
15300 * manual/intro.texi: Document safety identifiers and
15301 conditionals.
15302
15303 * manual/string.texi (wcstok): Fix prototype.
15304 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15305
15306 * manual/time.texi: Document MTASC-safety properties.
15307
15308 * manual/string.texi: Document MTASC-safety properties.
15309
15310 * manual/threads.texi: Document MTASC-safety properties.
15311
15312 * manual/stdio.texi: Document MTASC-safety properties.
15313
15314 * manual/syslog.texi: Document MTASC-safety properties.
15315
15316 * manual/sysinfo.texi: Document MTASC-safety properties.
15317
15318 * manual/startup.texi: Document MTASC-safety properties.
15319
15320 * manual/socket.texi: Document MTASC-safety properties.
15321
15322 * manual/signal.texi: Document MTASC-safety properties.
15323
15324 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
15325
15326 * manual/setjmp.texi: Document MTASC-safety properties.
15327
15328 * manual/search.texi: Document MTASC-safety properties.
15329
15330 * manual/resource.texi: Document MTASC-safety properties.
15331
15332 * manual/process.texi: Document MTASC-safety properties.
15333
15334 * manual/platform.texi: Document MTASC-safety properties.
15335
15336 * manual/pipe.texi: Document MTASC-safety properties.
15337
15338 * manual/pattern.texi: Document MTASC-safety properties.
15339
15340 * manual/message.texi: Document MTASC-safety properties.
15341
15342 [BZ #12751]
15343 * manual/memory.texi: Document MTASC-safety properties.
15344
15345 * manual/math.texi: Document MTASC-safety properties.
15346
15347 * manual/locale.texi: Document MTASC-safety properties.
15348
15349 * manual/llio.texi: Document MTASC-safety properties.
15350
15351 * manual/libdl.texi: New.
15352
15353 * manual/lang.texi: Document MTASC-safety properties.
15354
15355 * manual/job.texi: Document MTASC-safety properties.
15356
15357 * manual/getopt.texi: Document MTASC-safety properties.
15358
15359 * manual/ctype.texi: Document MTASC-safety properties.
15360
15361 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15362
15363 [BZ #16046]
15364 * csu/libc-tls.c (static_map): Remove variable.
15365 (__libc_setup_tls): Use main executable's link map for TLS data.
15366 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15367 casing for LM_ID_BASE and GL(dl_nns).
15368 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15369 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15370 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15371 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15372 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15373 member.
15374 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15375 l_phnum members.
15376
15377 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
15378
15379 * manual/debug.texi: Document MTASC-safety properties.
15380
15381 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15382
15383 [BZ #16510]
15384 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15385 of __x86_64__ when disabling x87 inline functions.
15386
15387 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
15388
15389 * manual/charset.texi: Document MTASC-safety properties.
15390
15391 * manual/crypt.texi: Document MTASC-safety properties.
15392
15393 * manual/conf.texi: Document MTASC-safety properties.
15394
15395 * manual/arith.texi: Document MTASC-safety properties.
15396
15397 * manual/argp.texi: Document MTASC-safety properties.
15398
15399 * manual/macros.texi: Introduce macros to document multi
15400 thread, asynchronous signal and asynchronous cancellation
15401 safety properties.
15402 * manual/intro.texi: Introduce the properties themselves.
15403
15404 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15405
15406 * sysdeps/sh/sh4/Makefile: New file.
15407
15408 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15409
15410 * math/gen-libm-test.pl ($srcdir): New variable.
15411 ($auto_input): Use it.
15412
15413 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15414
15415 [BZ #16506]
15416 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15417 access beyond array bounds when parsing netgroups file.
15418
15419 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15420 the old buffer before realloc.
15421
15422 2014-01-27 Allan McRae <allan@archlinux.org>
15423
15424 * po/fr.po: Update French translation from translation project.
15425
15426 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15427
15428 * sysdeps/sh/libm-test-ulps: Regenerate.
15429
15430 2014-01-24 David S. Miller <davem@davemloft.net>
15431
15432 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15433
15434 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15435
15436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15437 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15438
15439 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15440
15441 [BZ #16474]
15442 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15443 string pointers after reallocation.
15444
15445 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15446
15447 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15448 __SH4A__ instead of __SH_FPU_ANY__.
15449
15450 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15451
15452 * sysdeps/sh/fpu_control.h: New file.
15453 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15454 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15455 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15456 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15457 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15458 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15459 * sysdeps/sh/sys/ucontext.h: Remove.
15460 * sysdeps/sh/sys: Remove directory.
15461
15462 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15463
15464 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15465 s390/sys/ucontext.h.
15466 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15468
15469 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15470
15471 [BZ #15605]
15472 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15473
15474 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15475
15476 [BZ#16431]
15477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15478 Adjust the vDSO correctly for internal calls.
15479 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15480
15481 2014-01-20 Allan McRae <allan@archlinux.org>
15482
15483 * po/ca.po: Update Catalan translation from translation project.
15484
15485 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15486
15487 * sysdeps/s390/sotruss-lib.c: New file.
15488
15489 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15490
15491 [BZ#16430]
15492 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15493 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15494 local calls issues by not having a PLT stub required for IFUNC calls.
15495 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15496
15497 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15498
15499 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15500 * math/test-fpucw-static.c: Likewise.
15501
15502 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15503
15504 [BZ #16453]
15505 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15506
15507 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15508
15509 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15510 implementation for powerpc.
15511
15512 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15513
15514 [BZ #14782]
15515 * sysdeps/posix/system.c (__libc_system): Do not enable
15516 asynchronous cancellation.
15517
15518 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15519
15520 [BZ #16427]
15521 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15522 handling only for numbers special also in the IEEE case.
15523
15524 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15525
15526 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15527
15528 2014-01-11 Allan McRae <allan@archlinux.org>
15529
15530 * po/bg.po: Update Bulgarian translation from translation project.
15531
15532 * po/de.po: Update German translation from translation project.
15533
15534 2014-01-10 Roland McGrath <roland@hack.frob.com>
15535
15536 * sysdeps/generic/gcc-compat.h: New file.
15537
15538 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15539
15540 * benchtests/asin-inputs: Correct slow inputs.
15541 * benchtests/acos-inputs: Likewise.
15542
15543 2014-01-10 Allan McRae <allan@archlinux.org>
15544
15545 * po:sv.po: Update Swedish translation from translation project.
15546
15547 * po/vi.po: Update Vietnamese translation from translation project.
15548
15549 * po/eo.po: Update Esperanto translation from translation project.
15550
15551 * po/cs.po: Update Czech translation from translation project.
15552
15553 * po/nl.po: Update Dutch translation from translation project.
15554
15555 * po/pl.po: Update Polish translation from translation project.
15556
15557 * po/ru.po: Update Russian translation from translation project.
15558
15559 * po/uk.po: Update Ukrainian translation from translation project.
15560
15561 2014-01-08 Brooks Moses <bmoses@google.com>
15562
15563 * elf/dl-load.c: Fix comment typo.
15564
15565 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15566
15567 * po/header.pot: Rename to...
15568 * po/pot.header: ... this.
15569 * po/Makefile: Use pot.header.
15570
15571 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15572 Maxim Kuvyrkov <maxim@kugelworks.com>
15573
15574 [BZ #16394]
15575 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15576 SRC and DEST against LEN.
15577
15578 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15579
15580 [BZ #16414]
15581 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15582 implementation.
15583 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15584
15585 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15586
15587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15588
15589 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15590
15591 [BZ #16408]
15592 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15593 for large positive arguments.
15594
15595 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15596
15597 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15598
15599 * math/auto-libm-test-in: Mark various tests with
15600 xfail-rounding:ldbl-128ibm.
15601 * math/auto-libm-test-out: Regenerated.
15602
15603 [BZ #16407]
15604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15605 Increase overflow threshold.
15606
15607 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15608
15609 [BZ #14286]
15610 * stdio-common/vfprintf.c: Check for integer overflow.
15611
15612 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15613
15614 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15615 the first argument and return value of __tls_get_addr_internal.
15616
15617 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15618
15619 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15620 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15621
15622 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15623
15624 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15625 * sysdeps/s390/rtld-global-offsets.sym: New file.
15626 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15627 GLIBC_2.19 symbol.
15628 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15629 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15630 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15631 ... this.
15632 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15633 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15634 ... this.
15635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15636 Regenerate.
15637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15638 Regenerate.
15639 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15640 halfs of GPRs for high_gprs contexts.
15641 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15642 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15643 field.
15644 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15645 uc_flags field.
15646 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15647 64 bit versions:
15648 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15649 for high GPRs (uc_high_gprs) and for future extensions
15650 (__reserved).
15651 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15652 for future extensions (__reserved).
15653 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15654 64 bit versions:
15655 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15656 SC_HIGHGPRS offset definition.
15657 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15658 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15659
15660 * Versions.def: Add GLIBC_2.19 for libpthread.
15661 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15662 siglongjmp for libpthread with GLIBC_2.19 symver.
15663 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15664 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15665 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15666 * sysdeps/s390/__longjmp.c: New file.
15667 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15668 * sysdeps/s390/longjmp.c: New file.
15669 * sysdeps/s390/setjmp.S: New file.
15670 * sysdeps/s390/sigjmp.S: New file.
15671 * sysdeps/s390/v1-longjmp.c: New file.
15672 * sysdeps/s390/v1-setjmp.h: New file.
15673 * sysdeps/s390/v1-sigjmp.c: New file.
15674 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15675 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15676 GLIBC_2.19 version.
15677 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15678 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15679 versioned symbols for ____longjmp_chk.
15680 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15681 Likewise.
15682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15683 Regenerate.
15684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15685 Regenerate.
15686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15687 Regenerate.
15688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15689 Regenerate.
15690 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15691 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15692 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15693 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15694 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15695 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15696 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15697 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15698 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15699 * sysdeps/s390/rtld-__longjmp.c: New file.
15700 * sysdeps/s390/rtld-setjmp.S: New file.
15701
15702 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15703
15704 [BZ #16400]
15705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15706 Return -__logl (x) for small positive arguments without evaluating
15707 a polynomial.
15708
15709 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15710
15711 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15712 Rename to ...
15713 (__ptrace_peeksiginfo_args): ... this.
15714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15717
15718 2014-01-06 Allan McRae <allan@archlinux.org>
15719
15720 * inet/netinet/in.h: Fix typo in comment.
15721
15722 2014-01-05 Andreas Jaeger <aj@suse.de>
15723
15724 * sysdeps/i386/fpu/libm-test-ulps: Update.
15725
15726 2014-01-05 Allan McRae <allan@archlinux.org>
15727
15728 * po/libc.pot: Regenerated.
15729
15730 * malloc/memusagestat.c: Fix gettext call formatting.
15731
15732 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15733
15734 * nscd/nscd.c: Improve usage() output.
15735
15736 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15737
15738 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15739 * sysdeps/unix/sysv/linux/configure: Regenerated.
15740 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15741 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15742
15743 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15744
15745 [BZ #16390]
15746 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15747 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15748
15749 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15750
15751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15752 extra tokens at end of #undef directive.
15753 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15754 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15755 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15756
15757 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15758
15759 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15760
15761 * math/auto-libm-test-in: Mark various tests with
15762 xfail-rounding:ldbl-128ibm.
15763 * math/auto-libm-test-out: Regenerated.
15764
15765 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15766
15767 [BZ #16386]
15768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15769 numbers with subnormal high part when calculating exponent.
15770
15771 [BZ #16385]
15772 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15773 fabs.
15774
15775 [BZ #16384]
15776 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15777 M_LN2l.
15778 (__ieee754_acoshl): Use __log1pl not __log1p.
15779
15780 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15781
15782 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15783 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15784 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15785 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15786 (reused_arena, arena_get2): Convert to GNU style.
15787 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15788 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15789 (memalign_check, __malloc_set_state): Likewise.
15790 * malloc/mallocbug.c (main): Likewise.
15791 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15792 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15793 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15794 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15795 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15796 (__posix_memalign, malloc_info): Likewise.
15797 * malloc/malloc.h: Likewise.
15798 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15799 (mallochook, memalignhook, reallochook, mabort): Likewise.
15800 * malloc/mcheck.h: Likewise.
15801 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15802 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15803 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15804 * malloc/morecore.c (__default_morecore): Likewise.
15805 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15806 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15807 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15808 (print_and_abort): Likewise.
15809 * malloc/obstack.h: Likewise.
15810 * malloc/set-freeres.c (__libc_freeres): Likewise.
15811 * malloc/tst-mallocstate.c (main): Likewise.
15812 * malloc/tst-mtrace.c (main): Likewise.
15813 * malloc/tst-realloc.c (do_test): Likewise.
15814
15815 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15816
15817 [BZ #16366]
15818 * nscd/netgroupcache.c (do_notfound): New function.
15819 (addgetnetgrentX): Use it.
15820
15821 [BZ # 16365]
15822 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15823 NSS_STATUS_NOTFOUND.
15824
15825 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15826
15827 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15829
15830 2014-01-01 Allan McRae <allan@archlinux.org>
15831
15832 * scripts/update-copyrights: Update configure input file suffix.
15833
15834 * NEWS: Update copyright year.
15835 * catgets/gencat.c: Likewise.
15836 * csu/version.c: Likewise.
15837 * debug/catchsegv.sh: Likewise.
15838 * debug/pcprofiledump.c: Likewise.
15839 * debug/xtrace.sh: Likewise.
15840 * elf/ldconfig.c: Likewise.
15841 * elf/ldd.bash.in: Likewise.
15842 * elf/pldd.c: Likewise.
15843 * elf/sotruss.ksh: Likewise.
15844 * elf/sprof.c: Likewise.
15845 * iconv/iconv_prog.c: Likewise.
15846 * iconv/iconvconfig.c: Likewise.
15847 * locale/programs/locale.c: Likewise.
15848 * locale/programs/localedef.c: Likewise.
15849 * login/programs/pt_chown.c: Likewise.
15850 * malloc/memusage.sh: Likewise.
15851 * malloc/memusagestat.c: Likewise.
15852 * malloc/mtrace.pl: Likewise.
15853 * manual/libc.texinfo: Likewise.
15854 * nscd/nscd.c: Likewise.
15855 * nss/getent.c: Likewise.
15856 * nss/makedb.c: Likewise.
15857 * posix/getconf.c: Likewise.
15858 * scripts/test-installation.pl: Likewise.
15859
15860 * All files with FSF copyright notices: Update copyright dates
15861 using scripts/update-copyrights.
15862 * intl/plural.c: Regenerated.
15863 * locale/programs/charmap-kw.h: Likewise.
15864 * locale/programs/locfile-kw.h: Likewise.
15865
15866 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15867
15868 * sysdeps/unix/sysv/linux/configure: Regenerated.
15869 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15870 the linux/fanotify.h header.
15871 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15872 HAVE_LINUX_FANOTIFY_H is defined.
15873
15874 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15875
15876 * benchtests/cos-inputs: New inputs.
15877 * benchtests/sin-inputs: Likewise.
15878
15879 * benchtests/atan-inputs: New inputs. Fix name of multiple
15880 precision fallback inputs.
15881
15882 * benchtests/atanh-inputs: New inputs.
15883 * benchtests/tanh-inputs: Likewise.
15884
15885 * benchtests/acosh-inputs: New inputs.
15886 * benchtests/asinh-inputs: Likewise.
15887
15888 * benchtests/cosh-inputs: New inputs.
15889 * benchtests/sinh-inputs: Likewise.
15890
15891 * benchtests/acos-inputs: Add more inputs.
15892 * benchtests/asin-inputs: Likewise.
15893
15894 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15895
15896 [BZ #16375]
15897 * manual/arith.texi: Fix spelling.
15898 * manual/charset.texi: Likewise.
15899 * manual/errno.texi: Likewise.
15900 * manual/filesys.texi: Likewise.
15901 * manual/lang.texi: Likewise.
15902 * manual/llio.texi: Likewise.
15903 * manual/locale.texi: Likewise.
15904 * manual/message.texi: Likewise.
15905 * manual/resource.texi: Likewise.
15906 * manual/search.texi: Likewise.
15907 * manual/setjmp.texi: Likewise.
15908 * manual/stdio.texi: Likewise.
15909 * manual/string.texi: Likewise.
15910 * manual/sysinfo.texi: Likewise.
15911 * manual/time.texi: Likewise.
15912
15913 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15914
15915 * po/sl.po: New file.
15916
15917 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15918
15919 * .gitignore: Add core/.gdbinit/.gdb_history.
15920
15921 2013-12-27 Allan McRae <allan@archlinux.org>
15922
15923 [BZ #16369]
15924 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15925 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15926
15927 2013-12-24 Brooks Moses <bmoses@google.com>
15928
15929 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15930 all compilers that claim C++98 compliance, not just GCC.
15931 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15932 Likewise.
15933
15934 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15935
15936 * NEWS: Restore accidentally deleted bug-fix entries.
15937
15938 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15939 Ondřej Bílka <neleai@seznam.cz>
15940
15941 [BZ #15073]
15942 * malloc/malloc.c (_int_free): Perform sanity check only if we
15943 have_lock.
15944
15945 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15946
15947 [BZ #12986]
15948 * manual/stdio.texi (String Input Conversions): Clarify that character
15949 classes are not supported.
15950
15951 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15952
15953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15954
15955 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15956
15957 [BZ #16337]
15958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15959 Calculate results for small negative arguments directly rather
15960 than using reflection formula with special underflow handling.
15961
15962 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15963 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15964 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15965 (fchflags): Likewise.
15966 (revoke): Likewise.
15967 (setlogin): Likewise.
15968 (sigaltstack): Likewise.
15969 (wait4): Likewise.
15970 (sigblock): Remove.
15971 (sigsetmask): Likewise.
15972 (wait3): Likewise.
15973 (waitpid): Likewise.
15974 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15975 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15976 file.
15977 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15978 * sysdeps/unix/bsd/Makefile: ... here.
15979 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15980 * sysdeps/unix/bsd/Versions: ... here.
15981 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15982 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15983 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15984 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15985 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15986 * sysdeps/unix/bsd/sigblock.c: ... here.
15987 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15988 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15989 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15990 * sysdeps/unix/bsd/sigvec.c: ... here.
15991 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15992 * sysdeps/unix/bsd/tcdrain.c: ... here.
15993 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15994 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15995 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15996 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15997 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15998 * sysdeps/unix/bsd/wait.c: ... here.
15999 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16000 * sysdeps/unix/bsd/wait3.c: ... here.
16001 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16002 * sysdeps/unix/bsd/waitpid.c: ... here.
16003
16004 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16005
16006 [BZ #16356]
16007 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16008 round-to-nearest for [!USE_AS_EXPM1L].
16009 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16010 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16011 more tests of exp and exp10. Expect some exp10 tests to miss
16012 exceptions or fail in directed rounding modes.
16013 * math/auto-libm-test-out: Regenerated.
16014 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16015 (exp10_test_tonearest): New function.
16016 (exp10_towardzero_test_data): New array.
16017 (exp10_test_towardzero): New function.
16018 (exp10_downward_test_data): New array.
16019 (exp10_test_downward): New function.
16020 (exp10_upward_test_data): New array.
16021 (exp10_test_upward): New function.
16022 (main): Call the new functions.
16023 * sysdeps/i386/fpu/libm-test-ulps: Update.
16024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16025
16026 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16027
16028 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16029 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16030 * math/auto-libm-test-out: Regenerated.
16031 * math/libm-test.inc (acosh_test_data): Add more tests.
16032 (atanh_test_data): Likewise.
16033 (ceil_test_data): Likewise.
16034 (copysign_test_data): Likewise.
16035 * sysdeps/i386/fpu/libm-test-ulps: Update.
16036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16037
16038 * timezone/checktab.awk: Update from tzcode 2013i.
16039 * timezone/private.h: Likewise.
16040 * timezone/scheck.c: Likewise.
16041 * timezone/tzfile.h: Likewise.
16042 * timezone/tzselect.ksh: Likewise.
16043 * timezone/zdump.c: Likewise.
16044 * timezone/zic.c: Likewise.
16045
16046 * math/auto-libm-test-in: Add tests of cpow.
16047 * math/auto-libm-test-out: Regenerated.
16048 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16049 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16050 mpc_cc_c.
16051 (func_calc_desc): Add mpc_cc_c union field.
16052 (test_functions): Add cpow.
16053 (special_fill_2pi): New function.
16054 (special_real_inputs): Add 2pi.
16055 (calc_generic_results): Handle mpc_cc_c.
16056 * sysdeps/i386/fpu/libm-test-ulps: Update.
16057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16058
16059 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16060 csqrt, ctan and ctanh.
16061 * math/auto-libm-test-out: Regenerated.
16062 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16063 (TEST_COND_x86): Likewise.
16064 (ccos_test_data): Use AUTO_TESTS_c_c.
16065 (ccosh_test_data): Likewise.
16066 (cexp_test_data): Likewise.
16067 (clog_test_data): Likewise.
16068 (csqrt_test_data): Likewise.
16069 (ctan_test_data): Likewise.
16070 (ctan_tonearest_test_data): Likewise.
16071 (ctan_towardzero_test_data): Likewise.
16072 (ctan_downward_test_data): Likewise.
16073 (ctan_upward_test_data): Likewise.
16074 (ctanh_test_data): Likewise.
16075 (ctanh_tonearest_test_data): Likewise.
16076 (ctanh_towardzero_test_data): Likewise.
16077 (ctanh_downward_test_data): Likewise.
16078 (ctanh_upward_test_data): Likewise.
16079 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16080 mpc_c_c.
16081 (func_calc_desc): Add mpc_c_c union field.
16082 (FUNC_mpc_c_c): New macro.
16083 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16084 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16085 ctanh.
16086 (special_fill_min_subnorm_p120): New function.
16087 (special_real_inputs): Add min_subnorm_p120.
16088 (calc_generic_results): Handle mpc_c_c.
16089 * sysdeps/i386/fpu/libm-test-ulps: Update.
16090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16091
16092 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16093
16094 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16095 (do_sin_slow): New functions.
16096 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16097 (cslow2, csloww1, csloww2): Use the new functions.
16098
16099 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16100 Use M to change sign of result instead of X. Assume X is
16101 positive.
16102 (csloww1): Likewise.
16103 (__sin): Adjust.
16104 (__cos): Adjust.
16105
16106 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16107 arguments A and DA.
16108 (__sin): Adjust.
16109 (__cos): Likewise.
16110
16111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16112 (__cos): Likewise.
16113 (sloww1): Don't adjust sign of DX.
16114 (csloww1): Likewise.
16115 (sloww2): Use X directly and don't adjust sign of DX.
16116 (csloww2): Likewise.
16117
16118 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16119
16120 * math/auto-libm-test-in: Add tests of cabs and carg.
16121 * math/auto-libm-test-out: Regenerated.
16122 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16123 (carg_test_data): Likewise.
16124 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16125 mpc_c_f.
16126 (func_calc_desc): Add mpc_c_f union field.
16127 (test_functions): Add cabs and carg.
16128 (calc_generic_results): Handle mpc_c_f.
16129
16130 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16131 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16132 as a macro and a compat symbol.
16133 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16134 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16135 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16136 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16137 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16138 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16139 not use .hidden.
16140 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16141 Likewise.
16142 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16143 Likewise.
16144 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16145 Likewise.
16146 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16147 Likewise.
16148 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16149 Likewise.
16150 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16151 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16152 from GLIBC_2.3.2.
16153
16154 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16155
16156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16157
16158 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16159
16160 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16161 trailing whitespace removed.
16162 * scripts/config.guess: Update to version 2013-11-29.
16163 * scripts/config.sub: Update to version 2013-10-01.
16164
16165 * math/auto-libm-test-in: Add tests of sincos.
16166 * math/auto-libm-test-out: Regenerated.
16167 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16168 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16169 mpfr_f_11.
16170 (func_calc_desc): Add mpfr_f_11 union field.
16171 (test_functions): Add sincos.
16172 (calc_generic_results): Handle mpfr_f_11.
16173 * sysdeps/i386/fpu/libm-test-ulps: Update.
16174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16175
16176 2013-12-19 Andreas Schwab <schwab@suse.de>
16177
16178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16179 CALL_MCOUNT.
16180 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16181 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16182 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16183
16184 2013-12-19 Joseph Myers <joseph@codesourcery.com>
16185
16186 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16187 * sysdeps/i386/fpu/libm-test-ulps: Update.
16188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16189
16190 [BZ #16293]
16191 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16192 round-to-nearest mode when using frndint.
16193 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16194 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16196 Likewise.
16197 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16198 sinh test to fail.
16199 * math/auto-libm-test-out: Regenerated.
16200 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16201 (TEST_COND_x86): Likewise.
16202 (expm1_tonearest_test_data): New array.
16203 (expm1_test_tonearest): New function.
16204 (expm1_towardzero_test_data): New array.
16205 (expm1_test_towardzero): New function.
16206 (expm1_downward_test_data): New array.
16207 (expm1_test_downward): New function.
16208 (expm1_upward_test_data): New array.
16209 (expm1_test_upward): New function.
16210 (main): Run the new test functions.
16211 * sysdeps/i386/fpu/libm-test-ulps: Update.
16212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16213
16214 * include/features.h: Update comment documenting feature test
16215 macros. Mention _DEFAULT_SOURCE in comment.
16216 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16217 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16218 _BSD_SOURCE and _SVID_SOURCE.
16219 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16220 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16221 !_SVID_SOURCE]: Likewise.
16222 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16223 (__USE_POSIX_IMPLICITLY): Define.
16224 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16225 (_POSIX_SOURCE): Undefine and redefine.
16226 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16227 (_POSIX_C_SOURCE): Likewise.
16228 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16229 (Feature Test Macros): Update documentation of default features.
16230
16231 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16232
16233 * benchtests/Makefile: Add bench-strtok.
16234 * benchtests/bench-strtok.c: New file: strtok benchtest.
16235
16236 2013-12-19 Allan McRae <allan@archlinux.org>
16237
16238 * manual/install.texi: Suppress menu for plain text output.
16239 * INSTALL: Regenerated.
16240
16241 2013-12-18 Brooks Moses <bmoses@google.com>
16242
16243 [BZ #15846]
16244 * misc/getauxval.c: Include errno.h.
16245 (__getauxval): Set errno to ENOENT if the requested type is not
16246 found.
16247 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16248 don't declare with __attribute_const__.
16249 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16250 * manual/startup.texi: Document that getauxval sets errno.
16251
16252 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16253
16254 * math/auto-libm-test-in: Add tests of jn and yn.
16255 * math/auto-libm-test-out: Regenerated.
16256 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16257 (yn_test_data): Likewise.
16258 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16259 mpfr_if_f.
16260 (func_calc_desc): Add mpfr_if_f union field.
16261 (FUNC_mpfr_if_f): New macro.
16262 (test_functions): Add jn and yn.
16263 (calc_generic_results): Assert type of second input for
16264 mpfr_ff_f. Handle mpfr_if_f.
16265 (output_for_one_input_case): Disable all checking for arguments
16266 fitting floating-point types in case of an integer argument.
16267 * sysdeps/i386/fpu/libm-test-ulps: Update.
16268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16269
16270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16271 Don't expect fegetround reference in libm.so.
16272
16273 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16274
16275 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16276 $(config-cflags-nofma).
16277
16278 2013-12-18 Joseph Myers <joseph@codesourcery.com>
16279
16280 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16281 * math/auto-libm-test-out: Regenerated.
16282
16283 [BZ #16338]
16284 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16285 to determine exponent and adjust argument to have exponent of -1.
16286 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16287 log2.
16288 * math/auto-libm-test-out: Regenerated.
16289 * sysdeps/i386/fpu/libm-test-ulps: Update.
16290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16291
16292 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
16293
16294 * manual/probes.texi: Remove cases when per-thread arenas are
16295 disabled.
16296
16297 2013-12-18 Andreas Schwab <schwab@suse.de>
16298
16299 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16300 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16301 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16302 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16303 * sysdeps/i386/i686/multiarch/Makefile: Update.
16304 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16305
16306 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16307
16308 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16309 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16310
16311 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16312
16313 [BZ #15968]
16314 Support TZ transition times < 00:00:00.
16315 This is needed for version-3 tz-format files; it supports time
16316 stamps past 2037 for America/Godthab (the only entry in the tz
16317 database for which this change is relevant).
16318 * manual/time.texi (TZ Variable): Document transition times
16319 from -167:59:59 through -00:00:01.
16320 * time/tzset.c (tz_rule): Time of day is now signed.
16321 (__tzset_parse_tz): Parse negative time of day.
16322
16323 Document TZ transition times >= 25:00:00.
16324 * manual/time.texi (TZ Variable): Document transition times from
16325 25:00:00 through 167:59:59. These are already supported, and this
16326 support will help with version-3 tz-format files.
16327
16328 * manual/time.texi (TZ Variable): Modernize North America example
16329 to reflect current (i.e., 2007-and-later) daylight saving rules.
16330
16331 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16332
16333 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16334
16335 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16336 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16339 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16340 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16341 * sysdeps/unix/bsd/clock.c: Likewise.
16342 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16343 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16344 * sysdeps/unix/bsd/init-posix.c: Likewise.
16345 * sysdeps/unix/bsd/poll.c: Likewise.
16346 * sysdeps/unix/bsd/ptsname.c: Likewise.
16347 * sysdeps/unix/bsd/seekdir.c: Likewise.
16348 * sysdeps/unix/bsd/setegid.c: Likewise.
16349 * sysdeps/unix/bsd/seteuid.c: Likewise.
16350 * sysdeps/unix/bsd/setgid.c: Likewise.
16351 * sysdeps/unix/bsd/setrgid.c: Likewise.
16352 * sysdeps/unix/bsd/setruid.c: Likewise.
16353 * sysdeps/unix/bsd/setsid.c: Likewise.
16354 * sysdeps/unix/bsd/setuid.c: Likewise.
16355 * sysdeps/unix/bsd/sigaction.c: Likewise.
16356 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16357 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16358 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16359 * sysdeps/unix/bsd/telldir.c: Likewise.
16360 * sysdeps/unix/bsd/times.c: Likewise.
16361 * sysdeps/unix/bsd/usleep.c: Likewise.
16362
16363 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16364 ($(objpfx)libbsd-compat.a): Remove rule.
16365
16366 * include/features.h (__FAVOR_BSD): Do not define.
16367 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16368 features conflicting with POSIX.
16369 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16370 (_BSD_SOURCE): Remove description of not being a subset of other
16371 feature test macros.
16372 * manual/job.texi (getpgrp): Do not document BSD version.
16373 (getpgid): Do not document by reference to BSD getpgrp.
16374 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16375 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16376 * signal/signal.h [__FAVOR_BSD]: Likewise.
16377 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16378 instead of making contents conditional on [__FAVOR_BSD].
16379 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16380
16381 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16382
16383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16384
16385 2013-12-17 Joseph Myers <joseph@codesourcery.com>
16386
16387 [BZ #16314]
16388 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16389 values below 2**-450, not 2**-500.
16390 * math/auto-libm-test-in: Don't allow spurious underflow from
16391 hypot.
16392 * math/auto-libm-test-out: Regenerated.
16393
16394 [BZ #16316]
16395 [BZ #16330]
16396 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16397 values of ha and hb and sort them after adjusting subnormal
16398 arguments.
16399 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16400 Likewise.
16401 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16402 values of ea and eb and sort them after adjusting subnormal
16403 arguments.
16404 * math/auto-libm-test-in: Do not expect some hypot tests of
16405 subnormals to fail. Add more hypot tests.
16406 * math/auto-libm-test-out: Regenerated.
16407
16408 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16409
16410 [BZ #13304]
16411 * sysdeps/sh/s_fma.c: New file.
16412 * sysdeps/sh/s_fmaf.c: New file.
16413 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16414 version.
16415 * sysdeps/sh/Implies: Add sh/soft-fp.
16416
16417 2013-12-16 Roland McGrath <roland@hack.frob.com>
16418
16419 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16420 level of indirection to members `objname', `errstring', `malloced'.
16421 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16422 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16423 it as the __longjmp argument (just pass 1 instead).
16424 (_dl_catch_error): Initialize C with argument pointers and address of
16425 volatile local ERRCODE rather than copying values out of C at return.
16426
16427 2013-12-16 Joseph Myers <joseph@codesourcery.com>
16428
16429 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16430 * math/auto-libm-test-out: Regenerated.
16431 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16432 (hypot_test_data): Likewise.
16433 (pow_test_data): Likewise.
16434 (pow_tonearest_test_data): Likewise.
16435 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16436 mpfr_ff_f.
16437 (func_calc_desc): Add mpfr_ff_f union field.
16438 (FUNC_mpfr_ff_f): New macro.
16439 (test_functions): Add atan2, hypot and pow.
16440 (special_fill_min): New function.
16441 (special_fill_minus_min): Likewise.
16442 (special_fill_min_subnorm): Likewise.
16443 (special_fill_minus_min_subnorm): Likewise.
16444 (special_real_inputs): Add min, -min, min_subnorm and
16445 -min_subnorm.
16446 (calc_generic_results): Handle mpfr_ff_f.
16447 * sysdeps/i386/fpu/libm-test-ulps: Update.
16448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16449
16450 2013-12-16 Will Newton <will.newton@linaro.org>
16451
16452 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16453 (Aligned Memory Blocks): Add documentation for aligned_alloc
16454 and suggest it as an alternative to posix_memalign.
16455 (Hooks for Malloc): Document __memalign_hook is also called
16456 for aligned_alloc. (Summary of Malloc): Add summary for
16457 aligned alloc. Document __memalign_hook is also called
16458 for aligned_alloc.
16459
16460 2013-12-16 Will Newton <will.newton@linaro.org>
16461
16462 * manual/memory.texi (Malloc Examples): Clarify default
16463 alignment documentation. Suggest posix_memalign rather
16464 than memalign or valloc.
16465 (Aligned Memory Blocks): Remove suggestion to use memalign
16466 or valloc. Remove obsolete comment about BSD.
16467 Document memalign errno values and mark the function obsolete.
16468 Document posix_memalign returned error codes. Mark valloc
16469 as obsolete. (Hooks for Malloc): __memalign_hook is also
16470 called for posix_memalign and valloc.
16471 (Summary of Malloc): Add posix_memalign to function summary.
16472 __memalign_hook is also called for posix_memalign and valloc.
16473
16474 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16475
16476 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16477 TAYLOR_SIN.
16478 (__sin): Adjust.
16479 (__cos): Likewise.
16480 (sloww): Use mynumber union. Expand ternary operator into
16481 if-else statements.
16482 (cslow): use mynumber union.
16483
16484 2013-12-16 Allan McRae <allan@archlinux.org>
16485
16486 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16487 * configure: Regenerated.
16488
16489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16490
16491 [BZ #14120]
16492 * configure.ac: Added --enable-maintainer-mode. Check for
16493 autoconf when enabled.
16494 * configure: Regenerated.
16495
16496 * nscd/nscd.service: New file.
16497 * nscd/nscd.tmpfiles: New file.
16498
16499 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16500
16501 [BZ #12100]
16502 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16503 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16504 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16505 (strstr): Add __strstr_sse2_unaligned ifunc.
16506 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16507 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16508 (strcasestr): Remove __strcasestr_sse42 ifunc.
16509 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16512
16513 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16514
16515 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16516 * sysdeps/sh/bits/fenv.h: ... here.
16517 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16518
16519 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16520
16521 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16522
16523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16524 hypotf multiarch implementations.
16525 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16526 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16527 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16528 multiarch hypot for PPC64.
16529 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16530 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16531 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16532 multiarch hypotf for PPC64.
16533
16534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16535 modff multiarch implementations.
16536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16539 multiarch modf for PPC64.
16540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16543 multiarch modff for PPC64.
16544
16545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16546 and logl multiarch implementations.
16547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16550 multiarch logb for PPC64.
16551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16554 multiarch logb for PPC64.
16555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16558 multiarch logb for PPC64.
16559
16560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16561 isinff multiarch implementation.
16562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16563 file.
16564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16566 multiarch isinf for PPC64.
16567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16568 file.
16569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16570 multiarch isinff for PPC64.
16571
16572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16573 finitef multiarch implementation.
16574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16575 file.
16576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16578 multiarch finite for PPC64.
16579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16580 file.
16581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16582 multiarch finitef for PPC64.
16583
16584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16585 lrint multiarch implementation.
16586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16587 file.
16588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16590 multiarch llrint for PPC64.
16591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16592 multiarch lrint for PPC64.
16593
16594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16595 copysignf multiarch implementation.
16596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16597 file.
16598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16599 file.
16600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16601 multiarch copysign for PPC64.
16602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16603 multiarch copysignf for PPC64.
16604
16605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16606 multiarch implementation.
16607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16608 file.
16609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16610 file.
16611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16612 file.
16613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16614 file.
16615 multiarch llround for PPC64.
16616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16617 multiarch trunc for PPC64.
16618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16619 multiarch truncf for PPC64.
16620
16621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16622 multiarch implementation.
16623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16624 file.
16625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16626 file.
16627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16628 file.
16629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16630 file.
16631 multiarch llround for PPC64.
16632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16633 multiarch round for PPC64.
16634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16635 multiarch roundf for PPC64.
16636
16637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16638 multiarch implementation.
16639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16640 file.
16641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16642 file.
16643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16644 file.
16645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16646 file.
16647 multiarch llround for PPC64.
16648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16649 multiarch floor for PPC64.
16650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16651 multiarch floorf for PPC64.
16652
16653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16654 multiarch implementation.
16655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16656 file.
16657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16658 file.
16659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16660 file.
16661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16662 file.
16663 multiarch llround for PPC64.
16664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16665 multiarch ceil for PPC64.
16666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16667 multiarch ceilf for PPC64.
16668
16669 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16670 multiarch implementation.
16671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16672 file.
16673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16674 file.
16675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16676 file.
16677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16678 multiarch llround for PPC64.
16679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16680 multiarch lround for PPC64.
16681
16682 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16683 multiarch implementation.
16684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16687 file.
16688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16691 multiarch isnan for PPC64.
16692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16693 multiarch isnanf for PPC64.
16694
16695 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16696 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16697 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16698 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16699 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16701
16702 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16703 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16704 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16706
16707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16708 multiarch implementations.
16709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16710 (__libc_ifunc_impl_list): Likewise.
16711 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16712 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16713 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16714 multiarch stpcpy for PPC64.
16715
16716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16717 multiarch implementations.
16718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16719 (__libc_ifunc_impl_list): Likewise.
16720 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16721 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16722 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16723 multiarch strcpy for PPC64.
16724
16725 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16726 redefine function name.
16727 (_wordcopy_fwd_dest_aligned): Likewise.
16728 (_wordcopy_bwd_aligned): Likewise.
16729 (_wordcopy_bwd_dest_aligned): Likewise.
16730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16731 multiarch implementations.
16732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16733 (__libc_ifunc_impl_list): Likewise.
16734 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16735 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16736 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16737 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16738 multiarch wcscpy for PPC64.
16739
16740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16741 multiarch implementations.
16742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16743 (__libc_ifunc_impl_list): Likewise.
16744 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16745 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16746 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16747 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16748 multiarch wcscpy for PPC64.
16749
16750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16751 multiarch implementations.
16752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16753 (__libc_ifunc_impl_list): Likewise.
16754 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16755 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16756 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16757 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16758 multiarch wcsrchr for PPC64.
16759
16760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16761 multiarch implementations.
16762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16763 (__libc_ifunc_impl_list): Likewise.
16764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16765 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16766 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16767 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16768 multiarch wcschr for PPC64.
16769
16770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16771 multiarch implementations.
16772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16773 (__libc_ifunc_impl_list): Likewise.
16774 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16775 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16776 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16777 multiarch strchrnul for PPC64.
16778
16779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16780 implementations.
16781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16782 (__libc_ifunc_impl_list): Likewise.
16783 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16784 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16785 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16786 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16787 strchr for PPC64.
16788
16789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16790 implementations.
16791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16792 (__libc_ifunc_impl_list): Likewise.
16793 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16794 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16795 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16796 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16797 strncmp for PPC64.
16798
16799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16800 multiarch implementations.
16801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16802 (__libc_ifunc_impl_list): Likewise.
16803 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16804 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16805 strncasecmp for PPC64.
16806 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16807 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16808 multiarch strncasecmp_l for PPC64.
16809
16810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16811 multiarch implementations.
16812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16813 (__libc_ifunc_impl_list): Likewise.
16814 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16816 multiarch strcasecmp for PPC64.
16817 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16818 file.
16819 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16820 multiarch strcasecmp_l for PPC64.
16821
16822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16823 implementations.
16824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16825 (__libc_ifunc_impl_list): Likewise.
16826 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16827 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16828 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16829 strnlen for PPC64.
16830
16831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16832 implementations.
16833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16834 (__libc_ifunc_impl_list): Likewise.
16835 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16836 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16837 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16838 strlen for PPC64.
16839
16840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16841 implementations.
16842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16843 (__libc_ifunc_impl_list): Likewise.
16844 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16845 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16846 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16847 rawmemrchr for PPC64.
16848
16849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16850 implementation.
16851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16852 (__libc_ifunc_impl_list): Likewise.
16853 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16854 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16855 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16856 memrchr for PPC64.
16857
16858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16859 implementation.
16860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16861 (__libc_ifunc_impl_list): Likewise.
16862 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16863 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16864 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16865 memchr for PPC64.
16866
16867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16868 implementation.
16869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16870 (__libc_ifunc_impl_list): Likewise.
16871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16872 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16873 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16874 mempcpy for PPC64.
16875
16876 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16877 avoid cretion of __bzero symbol.
16878 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16879 Likewise.
16880 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16881 Likewise.
16882 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16883 Likewise.
16884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16885 multiarch implementations.
16886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16887 (__libc_ifunc_impl_list): Likewise.
16888 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16889 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16890 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16891 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16892 bzero for PPC32.
16893 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16894 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16895 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16896 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16897 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16898 memset for PPC64.
16899 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16900
16901 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16903 implementations.
16904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16905 (__libc_ifunc_impl_list): Likewise.
16906 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16907 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16908 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16909 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16910 memcmp for PPC64.
16911
16912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16913 multiarch for POWER/PPC64.
16914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16915 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16916 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16917 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16918 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16919 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16920 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16921 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16922 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16923 memcpy for PPC64.
16924
16925 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16926 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16927 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16928 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16929 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16930 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16931 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16932 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16933 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16934 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16935 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16936 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16937 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16938 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16939 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16947
16948 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16949
16950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16951
16952 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16953
16954 * benchtests/Makefile (bench): Add exp2 and log2.
16955 (LDLIBS-bench-exp2): Add -lm.
16956 (LDLIBS-bench-log2): Likewise.
16957 * benchtests/exp2-inputs: New inputs file.
16958 * benchtests/log2-inputs: New inputs file.
16959 * benchtests/log-inputs: Add new inputs.
16960 * benchtests/tan-inputs: Likewise.
16961
16962 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16963
16964 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16965 definition...
16966 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16967 (csloww2): ... from here.
16968
16969 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16970 instead of structures.
16971 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16972 (POLYNOMIAL): Likewise.
16973 (TAYLOR_SLOW): Likewise.
16974 (__sin): Likewise.
16975 (__cos): Likewise.
16976 (slow1): Likewise.
16977 (slow2): Likewise.
16978 (sloww): Likewise.
16979 (sloww1); Likewise.
16980 (sloww2): Likewise.
16981 (bsloww1): Likewise.
16982 (bsloww2): Likewise.
16983 (cslow2): Likewise.
16984 (csloww): Likewise.
16985 (csloww1): Likewise.
16986 (csloww2): Likewise.
16987
16988 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16989
16990 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16991 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16992 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16993 * malloc/hooks.c (realloc_check): Likewise.
16994
16995 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16996 * malloc/arena.c: Remove PER_THREAD conditional.
16997 [!PER_THREAD]: Remove code.
16998 (ptmalloc_unlock_all2): Likewise.
16999 (ptmalloc_init): Likewise.
17000 (_int_new_arena): Likewise.
17001 (arena_get2): Likewise.
17002 * malloc/hooks.c (__malloc_get_state): Likewise.
17003 (__malloc_set_state): Likewise.
17004 * malloc/malloc.c: Likewise.
17005 (struct malloc_state): Likewise.
17006 (struct malloc_par): Likewise.
17007 (__libc_realloc): Likewise.
17008 (__libc_mallopt): Likewise.
17009
17010 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17011
17012 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17013
17014 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17015
17016 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17017 macro to a function. Check for zero perturb_byte.
17018 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17019
17020 * malloc/malloc.c: (force_reg): Remove.
17021 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17022 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17023 force_reg by atomic_forced_read.
17024 * malloc/arena.c (ptmalloc_init): Likewise.
17025 * malloc/hooks.c (top_check): Likewise.
17026
17027 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17028
17029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17030
17031 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17032
17033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17034
17035 2013-12-08 Joseph Myers <joseph@codesourcery.com>
17036
17037 * math/auto-libm-test-in: Add tests of lgamma.
17038 * math/auto-libm-test-out: Regenerated.
17039 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17040 (M_LOG_2_SQRT_PIl): Likewise.
17041 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17043 mpfr_f_f1.
17044 (func_calc_desc): Add mpfr_f_f1 union field.
17045 (ARGS1): New macro.
17046 (ARGS2): Likewise.
17047 (ARGS3): Likewise.
17048 (ARGS4): Likewise.
17049 (RET1): Likewise.
17050 (RET2): Likewise.
17051 (CALC): Likewise.
17052 (FUNC): Likewise.
17053 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17054 (test_functions): Add lgamma.
17055 (calc_generic_results): Handle mpfr_f_f1.
17056 * sysdeps/i386/fpu/libm-test-ulps: Update.
17057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17058
17059 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17060
17061 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17062 __mpn_add_n for PowerPC64/POWER7.
17063 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17064 __mpn_sub_n for PowerPC64/POWER7.
17065
17066 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17067 __mpn_addmul_1 for PowerPC64.
17068 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17069 __mpn_submul_1 for PowerPC64.
17070 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17071 for PowerPC64.
17072 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17073 for PowerPC64.
17074
17075 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17076
17077 [BZ #15089]
17078 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17079
17080 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17081
17082 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17083
17084 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17085 add multiarch folders.
17086 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17087 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17088 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17089 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17090 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17091 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17092 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17093 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17094 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17095 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17096 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17103
17104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17105 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17107 New file.
17108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17109 New file.
17110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17111 multiarch __ieee754_hypot for PowerPC32.
17112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17113 New file.
17114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17115 New file.
17116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17117 multiarch __ieee754_hypotf for PowerPC32.
17118
17119 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17120 long_double_symbol only if __logbl is defined.
17121 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17122 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17123 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17124 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17126 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17127 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17128 path for implementation.
17129 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17132 logb, and logbl multiarch implementations for PowerPC32.
17133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17134 file.
17135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17136 file.
17137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17138 multiarch logb for PowerPC32.
17139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17140 file.
17141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17142 file.
17143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17144 multiarch logbf for PowerPC32.
17145 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17147 file.
17148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17149 multiarch logbl implementation for PowerPC32.
17150
17151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17152 and modff multiarch implementations.
17153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17154 New file.
17155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17156 New file.
17157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17158 multiarch modf for PowerPC32.
17159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17160 New file.
17161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17162 New file.
17163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17164 multiarch modff for PowerPC32.
17165
17166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17167 and lrintf multiarch implementations.
17168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17169 New file.
17170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17171 New file.
17172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17173 multiarch lrint for PowerPC32.
17174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17175 file: multiarch lrintf for PowerPC32.
17176
17177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17178 and lroundf multiarch implementations.
17179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17180 New file.
17181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17182 New file.
17183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17184 New file.
17185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17186 multiarch lround for PowerPC32.
17187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17188 file: multiarch lroundf for PowerPC32.
17189
17190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17191 copysign and copysignf multiarch implementations.
17192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17193 New file.
17194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17195 New file.
17196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17197 file: multiarch copysign for PowerPC32.
17198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17199 file: multiarch copysignf for PowerPC32.
17200
17201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17202 and truncf multiarch implementations.
17203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17204 New file.
17205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17206 file.
17207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17208 multiarch trunc for PowerPC32.
17209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17210 New file.
17211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17212 New file.
17213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17214 multiarch truncf for PowerPC32.
17215
17216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17217 and roundf multiarch implementations.
17218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17219 New file.
17220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17221 file.
17222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17223 multiarch round for PowerPC32.
17224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17225 New file.
17226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17227 New file.
17228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17229 multiarch roundf for PowerPC32.
17230
17231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17232 and floorf multiarch implementations.
17233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17234 New file.
17235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17236 file.
17237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17238 multiarch floor for PowerPC32.
17239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17240 New file.
17241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17242 New file.
17243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17244 multiarch floorf for PowerPC32.
17245
17246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17247 and ceilf multiarch implementations.
17248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17249 New file.
17250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17251 file.
17252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17253 multiarch ceil for PowerPC32.
17254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17255 New file.
17256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17257 file.
17258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17259 multiarch ceilf for PowerPC32.
17260
17261 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17262 is defined.
17263 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17264 FINITEF is defined.
17265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17266 and finitef multiarch implementations.
17267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17268 New file.
17269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17270 file.
17271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17272 multiarch finite for PowerPC32.
17273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17274 New file.
17275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17276 file: multiarch finitef for PowerPC32.
17277
17278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17279 and isinff multiarch implementations.
17280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17281 file.
17282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17283 file.
17284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17285 multiarch isinf for PowerPC32.
17286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17287 New file.
17288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17289 multiarch isinff for PowerPC32.
17290
17291 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17292 alias when __isnan is defined.
17293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17294 and isnanf multiarch implementations.
17295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17296 file.
17297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17298 file.
17299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17300 file.
17301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17302 file.
17303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17304 multiarch isnan for PowerPC32.
17305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17306 New file.
17307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17308 New file.
17309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17310 multiarch isnanf for PowerPC32.
17311
17312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17313 and sqrtf multiarch implementations.
17314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17315 file.
17316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17317 file.
17318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17319 multiarch sqrt for PowerPC32.
17320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17321 file.
17322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17323 file.
17324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17325 multiarch sqrtf for PowerPC32.
17326
17327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17328 and llroundf multiarch implementations.
17329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17330 New file.
17331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17332 New file.
17333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17334 New file.
17335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17336 file: multiarch llround for PowerPC32.
17337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17338 file: multiarch llroundf for PowerPC32.
17339
17340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17341 multiarch PowerPC32 fpu implementations.
17342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17343 New file.
17344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17345 New file.
17346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17347 multiarch llrint for PowerPC32.
17348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17349 New file.
17350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17351 New file.
17352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17353 file.
17354
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17356
17357 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17358 file.
17359 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17360 file.
17361 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17362 file.
17363 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17364 multiarch wordcopy for PPC32.
17365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17366 wordcopy objects.
17367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17368 (__libc_ifunc_impl_list): Likewise.
17369 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17370 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17371 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17372 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17373 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17374 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17375
17376 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17378 file.
17379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17380 file.
17381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17382 file.
17383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17384 multiarch wcscpy for PPC32.
17385 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17386 multiarch objects.
17387 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17388 (__libc_ifunc_impl_list): Likewise.
17389 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17390 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17391 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17392 sysdeps/powerpc/power6/wcscpy.c.
17393
17394 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17396 file.
17397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17398 file.
17399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17400 file.
17401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17402 multiarch wcsrchr for PPC32.
17403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17404 multiarch objects.
17405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17406 (__libc_ifunc_impl_list): Likewise.
17407 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17408 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17409 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17410 sysdeps/powerpc/power6/wcsrchr.c.
17411
17412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17413 file.
17414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17415 file.
17416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17418 multiarch wcschr for PPc32.
17419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17420 multiarch objects.
17421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17422 (__libc_ifunc_impl_list): Likewise.
17423 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17424 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17425 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17426 sysdeps/powerpc/power6/wcschr.c.
17427
17428 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17429 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17430 file.
17431 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17432 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17433 file: multiarch strchr for PPC32.
17434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17435 multiarch objects.
17436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17437 (__libc_ifunc_impl_list): Likewise.
17438
17439 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17440 name.
17441 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17442 file.
17443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17444 file.
17445 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17446 multiarch strchrnul for PPC32.
17447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17448 multiarch objects.
17449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17450 (__libc_ifunc_impl_list): Likewise.
17451
17452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17453 file.
17454 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17455 multiarch strncasecmp for PPC32.
17456 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17457 file.
17458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17459 multiarch strncasecmp_l for PPC32.
17460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17461 strncasecmp multiarch objects.
17462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17463 (__libc_ifunc_impl_list): Likewise.
17464
17465 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17466 file.
17467 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17468 multiarch strncasecmp for PPC32.
17469 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17470 New file.
17471 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17472 multiarch strcasecmp_l for PPC32.
17473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17474 multiarch objects.
17475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17476 (__libc_ifunc_impl_list): Likewise.
17477
17478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17479 file.
17480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17481 file.
17482 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17483 multiarch strncmp for PPC32.
17484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17485 multiarch objects.
17486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17487 (__libc_ifunc_impl_list): Likewise.
17488
17489 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17490 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17491 file.
17492 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17493 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17495 multiarch objects.
17496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17497 (__libc_ifunc_impl_list): Likewise.
17498
17499 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17500 file.
17501 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17502 file.
17503 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17505 multiarch objects.
17506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17507 (__libc_ifunc_impl_list): Likewise.
17508
17509 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17510 file.
17511 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17512 file.
17513 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17514 multiarch rawmemchr for PPC32.
17515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17516 multiarch objects.
17517 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17518 (__libc_ifunc_impl_list): Likewise.
17519
17520 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17521 file.
17522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17523 file.
17524 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17525 file: memrchr multiarch for PPC32.
17526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17527 multiarch objects.
17528 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17529 (__libc_ifunc_impl_list): Likewise.
17530
17531 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17533 file.
17534 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17535 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17536 multiarch memchr for PPC32.
17537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17538 multiarch objects.
17539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17540 (__libc_ifunc_impl_list): Likewise.
17541
17542 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17543 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17544 file.
17545 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17546 file.
17547 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17548 file: multiarch mempcpy for PPC32.
17549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17550 multiarch objects.
17551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17552 (__libc_ifunc_impl_list): Likewise.
17553
17554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17556 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17557 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17558 multiarch bzero for PPC32.
17559 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17560 file.
17561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17562 file.
17563 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17564 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17565 file: multiarch memset for PPC32.
17566 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17568 memset multiarch objects.
17569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17570 (__libc_ifunc_impl_list): Likewise.
17571
17572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17573 file.
17574 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17576 memcmp for PPC32.
17577 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17579 multiarch objects.
17580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17581 (__libc_ifunc_impl_list): Likewise.
17582
17583 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17586 file.
17587 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17588 file.
17589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17590 file.
17591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17592 multiarch memcpy for PPC32.
17593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17594 multiarch objects.
17595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17596 (__libc_ifunc_impl_list): Likewise.
17597
17598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17599 support multiarch for POWER/PPC32.
17600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17601 Likewise.
17602 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17604 Implies file to make multiarch folder appers before the fpu and
17605 default folder for power4 configuration.
17606
17607 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17608
17609 * scripts/bench.pl: Append volatile keyword to type.
17610
17611 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17612
17613 * sysdeps/sh/sotruss-lib.c: New file.
17614 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17615
17616 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17617
17618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17619
17620 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17621
17622 [BZ #6810]
17623 * math/w_tgamma.c: Include <errno.h>.
17624 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17625 * math/w_tgammaf.c: Include <errno.h>.
17626 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17627 * math/w_tgammal.c: Include <errno.h>.
17628 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17629 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17630 underflow. Add more tgamma tests.
17631 * math/auto-libm-test-out: Regenerated.
17632 * sysdeps/i386/fpu/libm-test-ulps: Update.
17633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17634
17635 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17636 sin, sinh, tan, tanh, tgamma, y0 and y1.
17637 * math/auto-libm-test-out: Regenerated.
17638 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17639 (TEST_COND_x86): Likewise.
17640 (M_E2l): Remove macro.
17641 (M_E3l): Likewise.
17642 (M_2_SQRT_PIl): Likewise.
17643 (M_SQRT_PIl): Likewise.
17644 (M_1_DIV_El): Likewise.
17645 (log_test_data): Use AUTO_TESTS_f_f.
17646 (log10_test_data): Likewise.
17647 (log1p_test_data): Likewise.
17648 (log2_test_data): Likewise.
17649 (sin_test_data): Likewise.
17650 (sin_tonearest_test_data): Likewise.
17651 (sin_towardzero_test_data): Likewise.
17652 (sin_downward_test_data): Likewise.
17653 (sin_upward_test_data): Likewise.
17654 (sinh_test_data): Likewise.
17655 (sinh_tonearest_test_data): Likewise.
17656 (sinh_towardzero_test_data): Likewise.
17657 (sinh_downward_test_data): Likewise.
17658 (sinh_upward_test_data): Likewise.
17659 (tan_test_data): Likewise.
17660 (tan_tonearest_test_data): Likewise.
17661 (tan_towardzero_test_data): Likewise.
17662 (tan_downward_test_data): Likewise.
17663 (tan_upward_test_data): Likewise.
17664 (tanh_test_data): Likewise.
17665 (tgamma_test_data): Likewise.
17666 (y0_test_data): Likewise.
17667 (y1_test_data): Likewise.
17668 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17669 (special_real_inputs): Add pi/4.
17670 * sysdeps/i386/fpu/libm-test-ulps: Update.
17671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17672
17673 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17674
17675 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17676 "longjmp_target" static probes.
17677 (__longjmp): Rename to __longjmp_symbol.
17678 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17679 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17680 on which longjmp to generate.
17681 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17682 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17683 probe.
17684 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17685 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17687 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17688 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17691 __longjmp_symbol based on which __longjmp to generate.
17692 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17693 probe.
17694 (setjmp): Rename to setjmp_symbol.
17695 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17696 (_setjmp): Rename to _setjmp_symbol.
17697 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17698 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17699 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17700 which setjmp to generate.
17701 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17702 "longjmp_target" static probes.
17703
17704 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17705
17706 * benchtests/README: Add note about output arguments.
17707 * benchtests/bench-sincos.c: Remove file.
17708 * benchtests/sincos-inputs: New file.
17709 * scripts/bench.pl: Identify output arguments and define
17710 static variables for them.
17711
17712 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17713
17714 [BZ #15941]
17715 * Makefile (INSTALL): Add install-plain.texi as the primary
17716 dependency.
17717 * manual/install-plain.texi: New file.
17718 * manual/install.texi: Include node directive only for
17719 non-plaintext output.
17720
17721 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17722
17723 * stdlib/longlong.h: Update from GCC.
17724
17725 [BZ #6807]
17726 [BZ #15901]
17727 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17728 * math/w_j0f.c (y0f): Likewise.
17729 * math/w_j0l.c (__y0l): Likewise.
17730 * math/w_j1.c (y1): Likewise.
17731 * math/w_j1f.c (y1f): Likewise.
17732 * math/w_j1l.c (__y1l): Likewise
17733 * math/w_jn.c (yn): Likewise.
17734 * math/w_jnf.c (ynf): Likewise.
17735 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17736 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17737 value for Bessel function domain errors outside _SVID_ mode.
17738 Adjust sign of return value for yn (negative integer, 0).
17739 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17740 by zero in return for negative x and set sign appropriately for
17741 negative n.
17742 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17743 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17744 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17745 expectations in error cases.
17746 (y1_test_data): Likewise.
17747 (yn_test_data): Likewise.
17748 * sysdeps/i386/fpu/libm-test-ulps: Update.
17749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17750
17751 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17752
17753 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17754 "64" to "64-v1". Add "64-v2".
17755 (abi-64-options): Rename to ...
17756 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17757 (abi-64-condition): Rename to ...
17758 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17759 (abi-64-ld-soname): Rename to ...
17760 (abi-64-v1-ld-soname): ... this.
17761 (abi-64-v2-options): Define.
17762 (abi-64-v2-condition): Likewise.
17763 (abi-64-v2-ld-soname): Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17765 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17769
17770 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17771 Alan Modra <amodra@gmail.com>
17772
17773 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17774 New versions for use with the ELFv2 ABI.
17775 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17776 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17777 declaration.
17778 (struct La_ppc64v2_retval): Likewise.
17779 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17780 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17781 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17782 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17783 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17785 Do not save or restore CR.
17786 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17787 (_dl_profile_resolve): Do no save or restore CR. Support extended
17788 return values for ELFv2 ABI. Fix location of FPR return registers.
17789 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17790 updated values for _CALL_ELF == 2.
17791 (La_regs, La_retval, int_retval): Likewise.
17792
17793 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17794
17795 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17796 (FRAME_MIN_SIZE_PARM): Likewise.
17797 (FRAME_BACKCHAIN): Likewise.
17798 (FRAME_CR_SAVE): Likewise.
17799 (FRAME_LR_SAVE): Likewise.
17800 (FRAME_TOC_SAVE): Likewise.
17801 (FRAME_PARM_SAVE): Likewise.
17802 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17803 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17804 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17805 (call_mcount_parm_offset): New macro.
17806 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17807 (PROF): Use symbolic stack frame offsets.
17808 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17810 Redefine in terms of FRAME_MIN_SIZE.
17811 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17812 (_dl_profile_resolve): Likewise. Update comment.
17813 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17814 symbols stack frame offsets.
17815 (__sigsetjmp): Likewise.
17816 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17817 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17818 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17819 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17820
17821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17822 (FRAME_BACKCHAIN): Remove.
17823 (FRAME_CR_SAVE): Likewise.
17824 (FRAME_LR_SAVE): Likewise.
17825 (FRAME_COMPILER_DW): Likewise.
17826 (FRAME_LINKER_DW): Likewise.
17827 (FRAME_TOC_SAVE): Likewise.
17828 (FRAME_PARM_SAVE): Likewise.
17829 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17830 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17831 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17833 (CHECK_SP): Use symbolic stack frame offsets.
17834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17835 zone" instead of caller's parameter save area for temp storage.
17836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17837 Likewise. Also, use symbolic stack frame offsets.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17839 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17840 our own stack frame instead of the caller's.
17841 (__socket): Use symbolic stack frame offsets.
17842
17843 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17844 Alan Modra <amodra@gmail.com>
17845
17846 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17847 Define.
17848 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17849 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17850 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17851 New function.
17852 (elf_machine_fixup_plt): Call it.
17853 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17854 reloc arguments.
17855 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17856 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17857 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17858 r2 before calling target.
17859
17860 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17861 Alan Modra <amodra@gmail.com>
17862
17863 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17864 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17865 versions of macros to support ELFv2 ABI.
17866 (LOCALENTRY): New macro.
17867 (ENTRY, EALIGN): Use it.
17868 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17869 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17870 fall through into ENTRY entry point.
17871 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17872 Only define if _CALL_ELF != 2.
17873
17874 (elf_machine_matches_host): Verify ABI version matches.
17875 (RTLD_START): Use LOCALENTRY.
17876 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17877 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17878 (PLT_ENTRY_WORDS): New macro.
17879 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17880 (elf_machine_runtime_setup): Support ELFv2 ABI.
17881 (elf_machine_fixup_plt): Likewise.
17882 (elf_machine_plt_conflict): Likewise.
17883 (resolve_ifunc): Likewise.
17884 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17885 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17886 Likewise.
17887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17888 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17890 (makecontext): Support ELFv2 ABI.
17891 * elf/elf.h (EF_PPC64_ABI): Define.
17892
17893 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17894
17895 * sysdeps/powerpc/powerpc64/sysdep.h
17896 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17897 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17898 (ENTRY) [ASSEMBLER]: ... but instead here ...
17899 (EALIGN) [ASSEMBLER]: ... and here.
17900 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17901 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17902 (ENTRY_2) [!ASSEMBLER]: Use it.
17903 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17904 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17905 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17906 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17907 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17909 Use PPC64_LOAD_FUNCPTR.
17910
17911 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17912
17913 2013-12-04 Alan Modra <amodra@gmail.com>
17914
17915 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17916 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17917 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17918 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17919
17920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17921 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17922 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17923 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17924 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17925 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17926
17927 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17928
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17930 (__makecontext): Fix incorrect CFI when backtracing out of
17931 context created via makecontext.
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17933 (__setcontext): Fix incorrect CFI during switch to new context.
17934 (__novec_setcontext): Likewise.
17935
17936 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17937
17938 [BZ #4772]
17939 * time/strptime_l.c (__strptime_internal): Allow modifiers
17940 in strptime.
17941 * time/tst-strptime.c (day_tests): Add testcase.
17942
17943 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17944
17945 * scripts/bench.pl: Skip over blank lines.
17946
17947 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17948
17949 [BZ #926]
17950 * manual/time.texi (Calendar Time): Clarify what timezone functions
17951 use.
17952
17953 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17954
17955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17956
17957 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17958
17959 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17960 implementation.
17961 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17962 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17963 * debug/memset_chk.c (__memset_chk): Likewise.
17964 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17965 * debug/strncpy_chk.c: Likewise.
17966
17967 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17968
17969 [BZ #15268]
17970 [BZ #15425]
17971 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17972 (__ieee754_exp): For possibly underflowing results, check size of
17973 result and force underflow exception if required.
17974 * math/auto-libm-test-in: Add more tests of exp.
17975 * math/auto-libm-test-out: Regenerated.
17976 * sysdeps/i386/fpu/libm-test-ulps: Update.
17977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17978
17979 [BZ #16283]
17980 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17981 * math/w_exp2f.c (__exp2f): Likewise.
17982 * math/w_exp2l.c (__exp2l): Likewise.
17983 * math/auto-libm-test-in: Do not allow missing errno on exp2
17984 underflow.
17985 * math/auto-libm-test-out: Regenerated.
17986
17987 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17988
17989 [BZ #16274]
17990 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17991 handle filename validation.
17992 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17993 (do_open): Delete.
17994
17995 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17996
17997 [BZ #6786]
17998 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17999 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18000 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18001 <float.h>.
18002 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18003 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18004 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18006 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18007 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18008 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18009 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18010 Add more erfc tests.
18011 * math/auto-libm-test-out: Regenerated.
18012 * sysdeps/i386/fpu/libm-test-ulps: Update.
18013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18014
18015 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18016 exp2, expm1, j0 and j1.
18017 * math/auto-libm-test-out: Regenerated.
18018 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18019 (erfc_test_data): Likewise.
18020 (exp_test_data): Likewise.
18021 (exp_tonearest_test_data): Likewise.
18022 (exp_towardzero_test_data): Likewise.
18023 (exp_downward_test_data): Likewise.
18024 (exp_upward_test_data): Likewise.
18025 (exp10_test_data): Likewise.
18026 (exp2_test_data): Likewise.
18027 (expm1_test_data): Likewise.
18028 (j0_test_data): Likewise.
18029 (j1_test_data): Likewise.
18030 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18031 (input_flag_type): Add flag_xfail_rounding.
18032 (input_flags): Add xfail-rounding.
18033 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18034 (output_for_one_input_case): Handle flag_xfail_rounding.
18035 * sysdeps/i386/fpu/libm-test-ulps: Update.
18036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037
18038 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18039
18040 [BZ #16289]
18041 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18042 division by 0.
18043
18044 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18045
18046 [BZ #16195]
18047 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18048 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18049 (STAP_PROBE0): New macro.
18050 (STAP_PROBE1): Likewise.
18051 (STAP_PROBE2): Likewise.
18052 (STAP_PROBE3): Likewise.
18053 (STAP_PROBE4): Likewise.
18054
18055 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
18056
18057 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18058
18059 2013-12-02 Steve Ellcey <sellcey@mips.com>
18060
18061 * benchtests/Makefile (bench): Add sqrt.
18062 (LDLIBS-bench-sqrt): New.
18063 * benchtests/sqrt-input: New.
18064
18065 2013-12-02 Pavel Simerda <psimerda@redhat.com>
18066
18067 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18068 (GAIH_EAI): Likewise.
18069 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18070 (gaih_inet): Likewise.
18071 (getaddrinfo): Don't use GAIH_EAI.
18072
18073 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18074 (struct gaih): Remove definition.
18075
18076 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18077
18078 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18079 Use HERRNOP directly.
18080
18081 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18082
18083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18084
18085 2013-11-30 Joseph Myers <joseph@codesourcery.com>
18086
18087 * math/gen-auto-libm-tests.c (test_functions): Add more
18088 single-argument functions.
18089 (special_fill_pi_2): New function.
18090 (special_fill_minus_pi_2): Likewise.
18091 (special_fill_pi_6): Likewise.
18092 (special_fill_minus_pi_6): Likewise.
18093 (special_fill_pi_3): Likewise.
18094 (special_fill_2pi_3): Likewise.
18095 (special_fill_e): Likewise.
18096 (special_fill_1_e): Likewise.
18097 (special_fill_e_minus_1): Likewise.
18098 (special_real_inputs): Add more special inputs.
18099 (output_for_one_input_case): Do not require ERANGE on underflow to
18100 zero if round-to-nearest result does not underflow to zero, unless
18101 exact results required.
18102 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18103 atan, atanh, cbrt, cos and cosh.
18104 * math/auto-libm-test-out: Regenerated.
18105 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18106 (acos_tonearest_test_data): Likewise.
18107 (acos_towardzero_test_data): Likewise.
18108 (acos_downward_test_data): Likewise.
18109 (acos_upward_test_data): Likewise.
18110 (acosh_test_data): Likewise.
18111 (asin_test_data): Likewise.
18112 (asin_tonearest_test_data): Likewise.
18113 (asin_towardzero_test_data): Likewise.
18114 (asin_upward_test_data): Likewise.
18115 (asinh_test_data): Likewise.
18116 (atan_test_data): Likewise.
18117 (atanh_test_data): Likewise.
18118 (cbrt_test_data): Likewise.
18119 (cos_test_data): Likewise.
18120 (cos_tonearest_test_data): Likewise.
18121 (cos_towardzero_test_data): Likewise.
18122 (cos_downward_test_data): Likewise.
18123 (cos_upward_test_data): Likewise.
18124 (cosh_test_data): Likewise.
18125 (cosh_tonearest_test_data): Likewise.
18126 (cosh_towardzero_test_data): Likewise.
18127 (cosh_downward_test_data): Likewise.
18128 (cosh_upward_test_data): Likewise.
18129 * sysdeps/i386/fpu/libm-test-ulps: Update.
18130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18131
18132 2013-11-29 Joseph Myers <joseph@codesourcery.com>
18133
18134 [BZ #6787]
18135 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18136 * math/w_exp10f.c (__exp10f): Likewise.
18137 * math/w_exp10l.c (__exp10l): Likewise.
18138 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18139 errno settings in existing tests.
18140
18141 [BZ #14032]
18142 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18143 precision control set to double precision.
18144 * sysdeps/i386/fpu/w_sqrt.c: New file.
18145 * math/auto-libm-test-in: Add more tests.
18146 * math/auto-libm-test-out: Update.
18147
18148 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18149 (sqrt_test_tonearest): New function.
18150 (sqrt_towardzero_test_data): New variable.
18151 (sqrt_test_towardzero): New function.
18152 (sqrt_downward_test_data): New variable.
18153 (sqrt_test_downward): New function.
18154 (sqrt_upward_test_data): New variable.
18155 (sqrt_test_upward): New function.
18156 (main): Call the new functions.
18157
18158 * math/gen-auto-libm-tests.c: New file.
18159 * math/auto-libm-test-in: Likewise.
18160 * math/auto-libm-test-out: New generated file.
18161 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18162 variables.
18163 (%beautify): Add generated representations of zero.
18164 (top level): Set $auto_input and call parse_auto_input.
18165 (beautify): Remove trailing "f" from hex float constants.
18166 (parse_args): Handle XFAIL_TEST.
18167 (convert_condition): New function.
18168 (or_value): Likewise.
18169 (or_cond_value): Likewise.
18170 (generate_testfile): Handle AUTO_TESTS_* lines.
18171 (parse_auto_input): New function.
18172 * math/libm-test.inc (XFAIL_TEST): New macro.
18173 (ERRNO_UNCHANGED): Update value.
18174 (ERRNO_EDOM): Likewise.
18175 (ERRNO_ERANGE): Likewise.
18176 (IGNORE_RESULT): Likewise.
18177 (TEST_COND_flt_32): New macro.
18178 (TEST_COND_dbl_64): Likewise.
18179 (TEST_COND_ldbl_96_intel): Likewise.
18180 (TEST_COND_ldbl_96_m68k): Likewise.
18181 (TEST_COND_ldbl_128): Likewise.
18182 (TEST_COND_ldbl_128ibm): Likewise.
18183 (TEST_COND_long32): Likewise.
18184 (TEST_COND_long64): Likewise.
18185 (TEST_COND_before_rounding): Likewise.
18186 (TEST_COND_after_rounding): Likewise.
18187 (enable_test): Handle XFAIL_TEST flag.
18188 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18189 with finite results.
18190 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18191 auto-libm-test-out.
18192
18193 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18194 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18195
18196 [BZ #16214]
18197 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18198 __tls_get_addr_internal instead of __tls_get_offset in order to
18199 avoid GOT pointer dependency. Make rtld export
18200 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18201 __tls_get_addr since we are a __tls_get_offset platform.
18202 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18203 GOT pointer being set up before.
18204 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18205
18206 2013-11-28 Joseph Myers <joseph@codesourcery.com>
18207
18208 * manual/math.texi (Errors in Math Functions): Document accuracy
18209 goals.
18210
18211 [BZ #15004]
18212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18213 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18216 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18228
18229 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18230 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18231 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18232 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18233 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18234 Likewise.
18235 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18236 Likewise.
18237 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18238 Likewise.
18239 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18240 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18241 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18242 atomic-feupdateenv and flt-rounds.
18243 * sysdeps/powerpc/nofpu/Versions (libc): Add
18244 __atomic_feholdexcept, __atomic_feclearexcept,
18245 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18246 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18247 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18248 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18249 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18250 here.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18252 Update.
18253
18254 * manual/arith.texi (FP Exceptions): Document that exceptions may
18255 not be raised when matherr is used.
18256 (Math Error Reporting): Document overflow in directed rounding
18257 modes. Document that errno may not be set when finite values are
18258 returned on overflow. Document intent to set errno on underflow
18259 only for underflow to zero.
18260
18261 [BZ #16271]
18262 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18263 round-to-nearest then adjust result for other rounding modes.
18264 * include/fenv.h (fegetround): Use libm_hidden_proto.
18265 * math/fegetround.c (fegetround): Use libm_hidden_def.
18266 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18267 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18268 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18269 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18270 Likewise.
18271 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18272 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18273 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18274 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18275
18276 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18277
18278 [BZ #16077]
18279 * nss/Versions (libnss_files): Add
18280 _nss_files_gethostbyname3_r.
18281 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18282 New function.
18283 (HOST_DB_LOOKUP): Remove macro.
18284 (_nss_files_gethostbyname_r): Implement function without the
18285 HOST_DB_LOOKUP macro.
18286 (_nss_files_gethostbyname2_r): Likewise.
18287
18288 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
18289
18290 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18291
18292 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
18293
18294 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18295 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18296 warning.
18297
18298 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18299
18300 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18301 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18302 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18303 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18304 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18305 __fe_nomask_env_priv and attribute_hidden.
18306 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18307 (libc_feupdateenv_test_ppc): Likewise.
18308 (libc_feresetround_ppc): Likewise.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18310 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18311 compat_symbol macro.
18312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18313 (__fe_nomask_env): Likewise.
18314 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18315
18316 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18317
18318 * string/Makefile: Remove ifunc tests.
18319 * string/test-string.h: Define TEST_IFUNC.
18320 * string/test-bcopy-ifunc.c: Remove.
18321 * string/test-bzero-ifunc.c: Likewise.
18322 * string/test-memccpy-ifunc.c: Likewise.
18323 * string/test-memchr-ifunc.c: Likewise.
18324 * string/test-memcmp-ifunc.c: Likewise.
18325 * string/test-memcpy-ifunc.c: Likewise.
18326 * string/test-memmem-ifunc.c: Likewise.
18327 * string/test-memmove-ifunc.c: Likewise.
18328 * string/test-mempcpy-ifunc.c: Likewise.
18329 * string/test-memrchr-ifunc.c: Likewise.
18330 * string/test-memset-ifunc.c: Likewise.
18331 * string/test-rawmemchr-ifunc.c: Likewise.
18332 * string/test-stpcpy-ifunc.c: Likewise.
18333 * string/test-stpncpy-ifunc.c: Likewise.
18334 * string/test-strcasecmp-ifunc.c: Likewise.
18335 * string/test-strcasestr-ifunc.c: Likewise.
18336 * string/test-strcat-ifunc.c: Likewise.
18337 * string/test-strchr-ifunc.c: Likewise.
18338 * string/test-strchrnul-ifunc.c: Likewise.
18339 * string/test-strcmp-ifunc.c: Likewise.
18340 * string/test-strcpy-ifunc.c: Likewise.
18341 * string/test-strcspn-ifunc.c: Likewise.
18342 * string/test-strlen-ifunc.c: Likewise.
18343 * string/test-strncasecmp-ifunc.c: Likewise.
18344 * string/test-strncat-ifunc.c: Likewise.
18345 * string/test-strncmp-ifunc.c: Likewise.
18346 * string/test-strncpy-ifunc.c: Likewise.
18347 * string/test-strnlen-ifunc.c: Likewise.
18348 * string/test-strpbrk-ifunc.c: Likewise.
18349 * string/test-strrchr-ifunc.c: Likewise.
18350 * string/test-strspn-ifunc.c: Likewise.
18351 * string/test-strstr-ifunc.c: Likewise.
18352
18353 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18354
18355 * benchtests/Makefile: Remove ifunc tests.
18356 * benchtests/bench-string.h: Define TEST_IFUNC.
18357 * benchtests/bench-bcopy-ifunc.c: Remove.
18358 * benchtests/bench-bzero-ifunc.c: Likewise.
18359 * benchtests/bench-memccpy-ifunc.c: Likewise.
18360 * benchtests/bench-memchr-ifunc.c: Likewise.
18361 * benchtests/bench-memcmp-ifunc.c: Likewise.
18362 * benchtests/bench-memcpy-ifunc.c: Likewise.
18363 * benchtests/bench-memmem-ifunc.c: Likewise.
18364 * benchtests/bench-memmove-ifunc.c: Likewise.
18365 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18366 * benchtests/bench-memrchr-ifunc.c: Likewise.
18367 * benchtests/bench-memset-ifunc.c: Likewise.
18368 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18369 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18370 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18371 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18372 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18373 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18374 * benchtests/bench-strcat-ifunc.c: Likewise.
18375 * benchtests/bench-strchr-ifunc.c: Likewise.
18376 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18377 * benchtests/bench-strcmp-ifunc.c: Likewise.
18378 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18379 * benchtests/bench-strcpy-ifunc.c: Likewise.
18380 * benchtests/bench-strcspn-ifunc.c: Likewise.
18381 * benchtests/bench-strlen-ifunc.c: Likewise.
18382 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18383 * benchtests/bench-strncat-ifunc.c: Likewise.
18384 * benchtests/bench-strncmp-ifunc.c: Likewise.
18385 * benchtests/bench-strncpy-ifunc.c: Likewise.
18386 * benchtests/bench-strnlen-ifunc.c: Likewise.
18387 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18388 * benchtests/bench-strrchr-ifunc.c: Likewise.
18389 * benchtests/bench-strsep-ifunc.c: Likewise.
18390 * benchtests/bench-strspn-ifunc.c: Likewise.
18391 * benchtests/bench-strstr-ifunc.c: Likewise.
18392
18393 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18394
18395 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18396
18397 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
18398
18399 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18400 * rt/aio.h: Likewise.
18401 * sysdeps/gnu/bits/utmp.h: Likewise.
18402 * sysdeps/gnu/bits/utmpx.h: Likewise.
18403 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18404 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18405 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18406 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18407 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18408 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18409 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18410 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18411 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18412 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18413 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18414 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18415 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18417 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18418 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18419 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18420 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18421 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18422 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18423 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18424 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18426 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18427 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18429 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18430 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18431 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18432 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18433 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18436 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18438 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18439 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18440 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18441 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18442 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18443 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18444 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18445
18446 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18447
18448 [BZ #16245]
18449 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18450 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18451
18452 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18453
18454 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18455 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18456 Likewise.
18457
18458 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18459
18460 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18461 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18462 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18463 (__fesetround): Remove define.
18464 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18465 rounding and exceptions handling.
18466 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18467 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18468 (__fe_nomask_env): Likewise.
18469 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18470 __fegetround instead of fegetround.
18471 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18472 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18473
18474 2013-11-21 Roland McGrath <roland@hack.frob.com>
18475
18476 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18477 it's there.
18478
18479 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18480
18481 2013-11-21 Meador Inge <meadori@codesourcery.com>
18482
18483 [BZ #11157]
18484 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18485 (encrypt_r): Likewise.
18486 * malloc/obstack.h (obstack_free): Likewise.
18487 * posix/unistd.h (encrypt): Likewise.
18488
18489 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18490
18491 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18492 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18493 DL_CALL_DT_FINI() that call the functions directly.
18494 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18495 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18496 * elf/dl-fini.c: Likewise.
18497
18498 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18499
18500 * malloc/hooks.c (memalign_check): Add alignment rounding.
18501 * malloc/malloc.c (_mid_memalign): New function.
18502 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18503 Implement by calling _mid_memalign.
18504 * manual/probes.texi (Memory Allocation Probes): Remove
18505 memory_valloc_retry and memory_pvalloc_retry.
18506
18507 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18508
18509 * locale/programs/locarchive.c (open_archive): Add const
18510 qualifier to ARCHIVEFNAME and copy default fname to
18511 DEFAULT_FNAME.
18512
18513 [BZ #15601]
18514 * libio/tst-widetext.input: Rename Oriya to Odia.
18515 * locale/iso-639.def: Likewise.
18516
18517 * manual/probes.texi (Mathematical Function Probes): Add
18518 documentation for sin, cos, asin and acos probes.
18519 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18520 (__sin32): Add slowasin probe.
18521 (__cos32): Add slowacos probe.
18522 (__mpsin): Add slowsin probe.
18523 (__mpcos): Add slowcos probe.
18524
18525 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18526
18527 [BZ #15483]
18528 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18529 thread-local __sim_exceptions_thread and global
18530 __sim_exceptions_global.
18531 (__sim_disabled_exceptions): Change to thread-local
18532 __sim_disabled_exceptions_thread and global
18533 __sim_disabled_exceptions_global.
18534 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18535 and global __sim_round_mode_global.
18536 (__simulate_exceptions): Use thread-local floating-point state and
18537 set global state from it as needed.
18538 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18539 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18540 __sim_round_mode_thread.
18541 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18542 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18543 and global __sim_exceptions_global.
18544 (__sim_disabled_exceptions): Change to thread-local
18545 __sim_disabled_exceptions_thread and global
18546 __sim_disabled_exceptions_global.
18547 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18548 and global __sim_round_mode_global.
18549 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18550 (SIM_SET_GLOBAL): Likewise.
18551 * sysdeps/powerpc/soft-fp/sfp-machine.h
18552 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18553 __sim_round_mode_thread.
18554 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18555 __sim_disabled_exceptions_thread.
18556 (__sim_exceptions): Change to __sim_exceptions_thread.
18557 (__sim_disabled_exceptions): Change to
18558 __sim_disabled_exceptions_thread.
18559 (__sim_round_mode): Change to __sim_round_mode_thread.
18560 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18561 thread-local floating-point state and set global state from it as
18562 needed.
18563 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18564 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18565 (__sim_disabled_exceptions): Remove extern declaration.
18566 (feenableexcept): Use thread-local floating-point state and set
18567 global state from it as needed.
18568 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18569 extern declaration.
18570 (__sim_disabled_exceptions): Likewise.
18571 (__sim_round_mode): Likewise.
18572 (__fegetenv): Use thread-local floating-point state.
18573 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18574 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18575 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18576 floating-point state and set global state from it as needed.
18577 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18578 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18579 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18580 Likewise.
18581 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18582 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18583 Likewise.
18584 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18585 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18586 Use __sim_round_mode_thread.
18587 * math/test-fenv-tls.c: New file.
18588 * math/Makefile (tests): Add test-fenv-tls.
18589 ($(objpfx)test-fenv-tls): Depend on
18590 $(common-objpfx)nptl/libpthread.so.
18591
18592 2013-11-19 Andreas Schwab <schwab@suse.de>
18593
18594 * locale/programs/locale.c (show_info): Decode wordarray elements.
18595 * locale/categories.def (LC_MONETARY): Add element for
18596 _NL_MONETARY_CRNCYSTR.
18597 * locale/C-monetary.c (conversion_rate): New variable.
18598 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18599 element.
18600
18601 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18602
18603 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18604 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18605
18606 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18607
18608 * elf/Makefile (tst-auxv): New test.
18609 * elf/tst-auxv.c: New
18610 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18611
18612 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18613
18614 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18615 (hidden_proto): Caller changed.
18616 (hidden_tls_proto): New macro.
18617 (libc_hidden_tls_proto): Likewise.
18618 (rtld_hidden_tls_proto): Likewise.
18619 (libm_hidden_tls_proto): Likewise.
18620 (libresolv_hidden_tls_proto): Likewise.
18621 (librt_hidden_tls_proto): Likewise.
18622 (libdl_hidden_tls_proto): Likewise.
18623 (libnss_files_hidden_tls_proto): Likewise.
18624 (libnsl_hidden_tls_proto): Likewise.
18625 (libnss_nisplus_hidden_tls_proto): Likewise.
18626 (libutil_hidden_tls_proto): Likewise.
18627
18628 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18629
18630 [BZ #10253]
18631 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18632 (decompose_rpath): Defer expansion to fillin_rpath.
18633 (_dl_init_paths): Pass linkmap to fillin_rpath.
18634
18635 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18636
18637 * benchtests/Makefile: Add strsep.
18638 * benchtests/bench-strsep.c: New file: strsep benchtest.
18639 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18640
18641 2013-11-18 Andreas Schwab <schwab@suse.de>
18642
18643 * locale/programs/locale.c (show_info) [case byte]: Check for
18644 '\377' instead of '\177'.
18645 * locale/C-monetary.c (not_available): Always use "\377".
18646 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18647 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18648 detect unavailable sign_posn locale elements.
18649 * locale/localeconv.c (__localeconv): For grouping and
18650 mon_grouping handle "\177" and "\377" like no grouping.
18651 (INT_ELEM): New macro. Use it to set all numeric members.
18652 * locale/programs/ld-monetary.c (monetary_read)
18653 <tok_mon_grouping>: Normalize single -1 to the empty string.
18654 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18655 Likewise.
18656
18657 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18658
18659 [BZ #16055]
18660 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18661 when we match (nil).
18662 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18663
18664 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18665
18666 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18667 (NO_TEST_INLINE): Update value.
18668 (ERRNO_UNCHANGED): Likewise.
18669 (ERRNO_EDOM): Likewise.
18670 (ERRNO_ERANGE): Likewise.
18671 (IGNORE_RESULT): Likewise.
18672 (check_float_internal): Check signs of NaN results if
18673 TEST_NAN_SIGN used.
18674 (check_complex): Pass TEST_NAN_SIGN flag through to second
18675 check_float_internal call.
18676 (copysign_test_data): Add tests with quiet NaNs as second
18677 argument. Use TEST_NAN_SIGN.
18678 (fabs_test_data): Add test of negative quiet NaN argument. Use
18679 TEST_NAN_SIGN.
18680 (signbit_test_data): Add tests of quiet NaN argument.
18681 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18682
18683 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18684 $ignore_result.
18685 (parse_args): Handle function results specified as IGNORE.
18686 * math/libm-test.inc (IGNORE_RESULT): New macro.
18687 (check_float_internal): Do not check numerical result if flag
18688 IGNORE_RESULT set.
18689 (check_complex): Pass through IGNORE_RESULT to second
18690 check_float_internal call.
18691 (check_int): Do not check numerical result if flag IGNORE_RESULT
18692 set.
18693 (check_long): Likewise.
18694 (check_bool): Likewise.
18695 (check_longlong): Likewise.
18696 (lrint_test_data): Add tests of infinite and NaN arguments.
18697 (lrint_tonearest_test_data): Likewise.
18698 (lrint_towardzero_test_data): Likewise.
18699 (lrint_downward_test_data): Likewise.
18700 (lrint_upward_test_data): Likewise.
18701 (llrint_test_data): Likewise.
18702 (llrint_tonearest_test_data): Likewise.
18703 (llrint_towardzero_test_data): Likewise.
18704 (llrint_downward_test_data): Likewise.
18705 (llrint_upward_test_data): Likewise.
18706 (lround_test_data): Likewise.
18707 (llround_test_data): Likewise.
18708
18709 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18710 (ERRNO_UNCHANGED): Update value.
18711 (ERRNO_EDOM): Likewise.
18712 (ERRNO_ERANGE): Likewise.
18713 (NO_TEST_INLINE_FLOAT): New macro.
18714 (NO_TEST_INLINE_DOUBLE): Likewise.
18715 (enable_test): New function.
18716 (RUN_TEST_f_f): Check enable_test before running test.
18717 (RUN_TEST_2_f): Likewise.
18718 (RUN_TEST_fff_f): Likewise.
18719 (RUN_TEST_c_f): Likewise.
18720 (RUN_TEST_f_f1): Likewise.
18721 (RUN_TEST_fF_f1): Likewise.
18722 (RUN_TEST_fI_f1): Likewise.
18723 (RUN_TEST_ffI_f1): Likewise.
18724 (RUN_TEST_c_c): Likewise.
18725 (RUN_TEST_cc_c): Likewise.
18726 (RUN_TEST_f_i): Likewise.
18727 (RUN_TEST_f_i_tg): Likewise.
18728 (RUN_TEST_ff_i_tg): Likewise.
18729 (RUN_TEST_f_b): Likewise.
18730 (RUN_TEST_f_b_tg): Likewise.
18731 (RUN_TEST_f_l): Likewise.
18732 (RUN_TEST_f_L): Likewise.
18733 (RUN_TEST_fFF_11): Likewise.
18734 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18735 conditionals.
18736 (cosh_test_data): Likewise.
18737 (exp_test_data): Likewise.
18738 (expm1_test_data): Likewise.
18739 (hypot_test_data): Likewise.
18740 (pow_test_data): Likewise.
18741 (sinh_test_data): Likewise.
18742 (tanh_test_data): Likewise.
18743 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18744 flags argument.
18745
18746 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18747 tests with quiet NaN input and output.
18748 (acosh_test_data): Likewise.
18749 (asin_test_data): Likewise.
18750 (asinh_test_data): Likewise.
18751 (atan_test_data): Likewise.
18752 (atanh_test_data): Likewise.
18753 (atan2_test_data): Likewise.
18754 (cbrt_test_data): Likewise.
18755 (cos_test_data): Likewise.
18756 (cosh_test_data): Likewise.
18757 (erf_test_data): Likewise.
18758 (erfc_test_data): Likewise.
18759 (exp_test_data): Likewise.
18760 (exp10_test_data): Likewise.
18761 (exp2_test_data): Likewise.
18762 (expm1_test_data): Likewise.
18763 (hypot_test_data): Likewise.
18764 (j0_test_data): Likewise.
18765 (j1_test_data): Likewise.
18766 (jn_test_data): Likewise.
18767 (lgamma_test_data): Likewise.
18768 (log_test_data): Likewise.
18769 (log10_test_data): Likewise.
18770 (log1p_test_data): Likewise.
18771 (log2_test_data): Likewise.
18772 (pow_test_data): Likewise.
18773 (scalb_test_data): Likewise.
18774 (sin_test_data): Likewise.
18775 (sincos_test_data): Likewise.
18776 (sinh_test_data): Likewise.
18777 (tan_test_data): Likewise.
18778 (tanh_test_data): Likewise.
18779 (tgamma_test_data): Likewise.
18780 (y0_test_data): Likewise.
18781 (y1_test_data): Likewise.
18782 (yn_test_data): Likewise.
18783
18784 [BZ #16167]
18785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18786 argument being NaN and avoid computations with second argument in
18787 that case.
18788 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18789 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18790 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18791
18792 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18793
18794 * locale/iso-639.def: Add Chitwani Tharu (the).
18795
18796 2013-11-14 Andreas Schwab <schwab@suse.de>
18797
18798 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18799 word instead of empty string.
18800
18801 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18802
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18804 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18806 (__fe_nomask_env): Likewise.
18807
18808 2013-11-13 Steve Ellcey <sellcey@mips.com>
18809
18810 * benchtests/bench-timing.h: Include time.h.
18811
18812 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18813
18814 [BZ #15997]
18815 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18816 to 3.4.0 for x32.
18817 * sysdeps/unix/sysv/linux/configure: Regenerated.
18818
18819 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18820
18821 [BZ #16151]
18822 * stdlib/strtod_l.c (round_and_return): Do not consider
18823 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18824 exponent one less than half the least subnormal exponent.
18825 * stdlib/test-strtod-round-data: Add more tests.
18826 * stdlib/tst-strtod-round.c (tests): Regenerated.
18827
18828 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18829
18830 [BZ #14143]
18831 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18832 (__fe_mask_env): Likewise.
18833 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18834 libm_hidden_proto and add function prototype.
18835 (__fe_mask_env): Add function prototype.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18837 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18839 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18841 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18842
18843 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18844
18845 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18846 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18847
18848 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18849
18850 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18851 of htab_find_slot().
18852
18853 2013-11-11 David S. Miller <davem@davemloft.net>
18854
18855 [BZ #16150]
18856 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18857 symbol in the non-vis3 case in static builds.
18858 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18859 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18860 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18861 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18862
18863 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18864
18865 [BZ #387]
18866 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18867 it is empty.
18868
18869 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18870
18871 * benchtests/Makefile: Add bench-strtod.
18872 * benchtests/bench-strtod.c: New file: strtod benchtest
18873
18874 2013-11-11 Andreas Schwab <schwab@suse.de>
18875
18876 [BZ #16153]
18877 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18878 terminating NUL in key length.
18879
18880 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18881
18882 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18883 Add artificial ODP entry for vDSO symbol for PPC64.
18884 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18885 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18886
18887 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18888
18889 [BZ #15374]
18890 * nss/getent.c (services_keys): Recognize services starting with digit.
18891
18892 2013-11-06 David S. Miller <davem@davemloft.net>
18893
18894 [BZ #15985]
18895 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18896 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18897
18898 2013-11-06 Will Newton <will.newton@linaro.org>
18899
18900 * manual/memory.texi (Malloc Examples): Remove register
18901 keyword from examples.
18902
18903 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18904
18905 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18906
18907 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18908
18909 [BZ #6981]
18910 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18911 depending on [__GCC_IEC_559 > 0].
18912 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18913 depending on [__GCC_IEC_559_COMPLEX > 0].
18914
18915 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18916
18917 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18918 to iso-639.def.
18919
18920 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18921
18922 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18923
18924 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18925
18926 [BZ #16112]
18927 * malloc/malloc (malloc_info): Do not handle first bin as
18928 special case.
18929
18930 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18931
18932 * locale/iso-639.def: Add Central Nahuatl (nhn).
18933
18934 2013-11-01 Bruno Haible <bruno@clisp.org>
18935
18936 [BZ #7003]
18937 * manual/math.texi (BSD Random): Specify range upper bound as
18938 in POSIX.
18939
18940 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18941
18942 * locale/iso-639.def: Add Meadow Mari (mhr).
18943
18944 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18945
18946 [BZ #14752], [BZ #15763]
18947 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18948 Validate name.
18949 * rt/tst_shm.c: Add test for escaping directory.
18950
18951 2013-10-31 Andreas Schwab <schwab@suse.de>
18952
18953 [BZ #15917]
18954 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18955 followed by 'x' as part of digit sequence.
18956 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18957
18958 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18959
18960 [BZ #16037]
18961 * configure.ac: allow GNU Make 4.0 and greater.
18962 * configure: Regenerated.
18963
18964 2013-10-30 Will Newton <will.newton@linaro.org>
18965
18966 [BZ #16038]
18967 * malloc/hooks.c (memalign_check): Limit alignment to the
18968 maximum representable power of two.
18969 * malloc/malloc.c (__libc_memalign): Likewise.
18970 * malloc/tst-memalign.c (do_test): Add test for very
18971 large alignment values.
18972 * malloc/tst-posix_memalign.c (do_test): Likewise.
18973
18974 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18975
18976 [BZ #11087]
18977 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18978 (munmap_chunk): Likewise.
18979 (mremap_chunk): Likewise.
18980
18981 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18982
18983 [BZ #15799]
18984 * stdlib/div.c (div): Remove obsolete code.
18985 * stdlib/ldiv.c (ldiv): Likewise.
18986 * stdlib/lldiv.c (lldiv): Likewise.
18987
18988 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18989
18990 [BZ #16071]
18991 * nss/nss_files/files-XXX.c (get_contents_ret): New
18992 enumerator.
18993 (get_contents): New function.
18994 (internal_getent): Use it. Expand size of LINEBUFLEN.
18995
18996 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18997
18998 * configure.in: Moved to ...
18999 * configure.ac: ... here. Change reference to configure.in
19000 to configure.ac.
19001 * sysdeps/arm/preconfigure.ac: ... here.
19002 configure.in to configure.ac.
19003 * sysdeps/gnu/configure.in: Moved to ...
19004 * sysdeps/gnu/configure.ac: ... here.
19005 * sysdeps/i386/configure.in: Moved to ...
19006 * sysdeps/i386/configure.ac: ... here.
19007 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19008 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19009 * sysdeps/mach/configure.in: Moved to ...
19010 * sysdeps/mach/configure.ac: ... here.
19011 * sysdeps/mach/hurd/configure.in: Moved to ...
19012 * sysdeps/mach/hurd/configure.ac: ... here.
19013 * sysdeps/powerpc/configure.in: Moved to ...
19014 * sysdeps/powerpc/configure.ac: ... here.
19015 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19016 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19017 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19018 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19019 * sysdeps/s390/s390-32/configure.in: Moved to ...
19020 * sysdeps/s390/s390-32/configure.ac: ... here.
19021 * sysdeps/s390/s390-64/configure.in: Moved to ...
19022 * sysdeps/s390/s390-64/configure.ac: ... here.
19023 * sysdeps/sh/configure.in: Moved to ...
19024 * sysdeps/sh/configure.ac: ... here.
19025 * sysdeps/sparc/configure.in: Moved to ...
19026 * sysdeps/sparc/configure.ac: ... here.
19027 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19028 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19029 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19030 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19031 * sysdeps/x86_64/configure.in: Moved to ...
19032 * sysdeps/x86_64/configure.ac: ... here.
19033 * sysdeps/x86_64/preconfigure.in: Moved to ...
19034 * sysdeps/x86_64/preconfigure.ac: ... here.
19035 * aclocal.m4: Change reference to configure.in to configure.ac.
19036 * config.h.in: Likewise.
19037 * manual/install.texi: Likewise.
19038 * manual/maint.texi: Likewise.
19039 * Makefile: Likewise.
19040 * malloc/Makefile: Likewise.
19041 * nscd/Makefile: Likewise.
19042 * Makeconfig: Change reference to configure.in and
19043 preconfigure.in to configure.ac and preconfigure.ac
19044 respectively.
19045 * INSTALL: Regenerated.
19046 * configure: Likewise.
19047 * sysdeps/gnu/configure: Likewise.
19048 * sysdeps/i386/configure: Likewise.
19049 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19050 * sysdeps/mach/configure: Likewise.
19051 * sysdeps/mach/hurd/configure: Likewise.
19052 * sysdeps/powerpc/configure: Likewise.
19053 * sysdeps/powerpc/powerpc32/configure: Likewise.
19054 * sysdeps/powerpc/powerpc64/configure: Likewise.
19055 * sysdeps/s390/s390-32/configure: Likewise.
19056 * sysdeps/s390/s390-64/configure: Likewise.
19057 * sysdeps/sh/configure: Likewise.
19058 * sysdeps/sparc/configure: Likewise.
19059 * sysdeps/unix/sysv/linux/configure: Likewise.
19060 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19061 * sysdeps/x86_64/configure: Likewise.
19062 * sysdeps/x86_64/preconfigure: Likewise.
19063
19064 2013-10-29 Andreas Schwab <schwab@suse.de>
19065
19066 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19067
19068 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19069
19070 * benchtests/pow-inputs: Add new inputs.
19071
19072 * benchtests/exp-inputs: Add new inputs.
19073
19074 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19075 conditional check for return value.
19076 (__cos32): Likewise.
19077
19078 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19079
19080 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19081 to provide a boost for large inputs with word alignment.
19082 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19083 implementation based on optimized PPC64 strcpy.
19084 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19085 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19086 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19087 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19088
19089 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19090
19091 [BZ #2801]
19092 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19093
19094 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19095
19096 [BZ #14876]
19097 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19098 * time/tst-strptime.c (day_tests): Add testcase.
19099
19100 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
19101
19102 [BZ #14029]
19103 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19104
19105 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19106
19107 [BZ #16074]
19108 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19109 MAP_FAILED on error.
19110
19111 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19112
19113 [BZ #16072]
19114 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19115 heap for large requests.
19116
19117 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19118
19119 [BZ #9954]
19120 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19121 result if the result has no associated interface.
19122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19123 interface for all 127.X.Y.Z addresses.
19124
19125 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
19126
19127 * locale/iso-639.def: Add Ligurian (lij)
19128
19129 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
19130
19131 [BZ #15825]
19132 * sunrpc/rpc_main.c: Document rpcgen -5.
19133
19134 2013-10-19 Michael Stahl <mstahl@redhat.com>
19135
19136 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19137
19138 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19139
19140 [BZ #10278]
19141 * posix/glob.c: Match only directories when trailing slash is present.
19142 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19143 (main): Add testcase.
19144
19145 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
19146
19147 [BZ #15670]
19148 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19149
19150 2013-10-18 Carlos O'Donell <carlos@redhat.com>
19151
19152 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19153 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19154 AUTH_DES and cindex for FIPS 140-2.
19155 (DES Encryption): Add cindex FIPS 46-3.
19156
19157 * locale/locarchive.h (struct locarhandle): Add fname.
19158 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19159 if an optional argument was specified to --list-archive,
19160 otherwise NULL.
19161 * locale/programs/locarchive.c (show_archive_content): Take new
19162 argument fname and pass it via ah.fname to open_archive.
19163 * locale/programs/localedef.h: Update decl.
19164 (open_archive): If AH->fname is non-null, open that file
19165 rather than the default file name, and don't ignore ENOENT.
19166 (create_archive): Set AH.fname to NULL.
19167 (delete_locales_from_archive): Likewise.
19168 (add_locales_to_archive): Likewise.
19169 * locale/programs/locfile.c (write_all_categories): Likewise.
19170
19171 2013-10-18 Joseph Myers <joseph@codesourcery.com>
19172 Aldy Hernandez <aldyh@redhat.com>
19173
19174 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19175 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19176 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19177 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19178 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19179 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19180 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19181 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19182 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19183 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19184 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19185 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19186 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19187 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19188 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19189 Likewise.
19190 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19191 Likewise.
19192 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19193 Likewise.
19194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19195 Likewise.
19196 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19197 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19198 Likewise.
19199 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19200 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19201 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19202 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19203 Likewise.
19204 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19205 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19206 * sysdeps/powerpc/preconfigure: Likewise.
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19208 Likewise.
19209 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19210 Replace contents of file by #include of <fenv_libc.h>.
19211 * sysdeps/powerpc/soft-fp/sfp-machine.h
19212 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19213 and <sys/prctl.h>.
19214 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19219 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19227 Allow copysignl PLT reference to be missing.
19228
19229 2013-10-18 Richard Sandiford <richard@codesourcery.com>
19230 Joseph Myers <joseph@codesourcery.com
19231
19232 [BZ #15948]
19233 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19234 single character.
19235 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19236
19237 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
19239 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19240 * elf/tst-tls1.c: Likewise.
19241 * elf/tst-tls10.h: Likewise.
19242 * elf/tst-tls14.c: Likewise.
19243 * elf/tst-tls2.c: Likewise.
19244 * elf/tst-tls3.c: Likewise.
19245 * elf/tst-tls4.c: Likewise.
19246 * elf/tst-tls5.c: Likewise.
19247 * elf/tst-tls6.c: Likewise.
19248 * elf/tst-tls7.c: Likewise.
19249 * elf/tst-tls8.c: Likewise.
19250 * elf/tst-tls9.c: Likewise.
19251 * elf/tst-tlsmod1.c: Likewise.
19252 * elf/tst-tlsmod13.c: Likewise.
19253 * elf/tst-tlsmod13a.c: Likewise.
19254 * elf/tst-tlsmod14a.c: Likewise.
19255 * elf/tst-tlsmod16a.c: Likewise.
19256 * elf/tst-tlsmod16b.c: Likewise.
19257 * elf/tst-tlsmod2.c: Likewise.
19258 * elf/tst-tlsmod3.c: Likewise.
19259 * elf/tst-tlsmod4.c: Likewise.
19260 * elf/tst-tlsmod5.c: Likewise.
19261 * elf/tst-tlsmod6.c: Likewise.
19262
19263 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
19264
19265 [BZ #12486]
19266 * malloc/malloc.c: remove checks for statistics.
19267
19268 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19269
19270 [BZ #15277]
19271 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19272 * inet/tst-network.c: Add testcase.
19273
19274 2013-10-17 Andreas Schwab <schwab@suse.de>
19275
19276 [BZ #15218]
19277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19278 to determine canonical name.
19279
19280 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
19281
19282 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19283 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19306 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19310 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19311 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19312 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19314 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19316 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19319 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19320 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19321 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19340
19341 2013-10-17 Joseph Myers <joseph@codesourcery.com>
19342
19343 [BZ #16041]
19344 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19345 make result into a quiet NaN.
19346
19347 2013-10-16 Joseph Myers <joseph@codesourcery.com>
19348
19349 * soft-fp/adddf3.c: Fix horizontal whitespace.
19350 * soft-fp/addsf3.c: Likewise.
19351 * soft-fp/addtf3.c: Likewise.
19352 * soft-fp/divdf3.c: Likewise.
19353 * soft-fp/divsf3.c: Likewise.
19354 * soft-fp/divtf3.c: Likewise.
19355 * soft-fp/double.h: Likewise.
19356 * soft-fp/eqdf2.c: Likewise.
19357 * soft-fp/eqsf2.c: Likewise.
19358 * soft-fp/eqtf2.c: Likewise.
19359 * soft-fp/extenddftf2.c: Likewise.
19360 * soft-fp/extended.h: Likewise.
19361 * soft-fp/extendsfdf2.c: Likewise.
19362 * soft-fp/extendsftf2.c: Likewise.
19363 * soft-fp/extendxftf2.c: Likewise.
19364 * soft-fp/fixdfdi.c: Likewise.
19365 * soft-fp/fixdfsi.c: Likewise.
19366 * soft-fp/fixdfti.c: Likewise.
19367 * soft-fp/fixsfdi.c: Likewise.
19368 * soft-fp/fixsfsi.c: Likewise.
19369 * soft-fp/fixsfti.c: Likewise.
19370 * soft-fp/fixtfdi.c: Likewise.
19371 * soft-fp/fixtfsi.c: Likewise.
19372 * soft-fp/fixtfti.c: Likewise.
19373 * soft-fp/fixunsdfdi.c: Likewise.
19374 * soft-fp/fixunsdfsi.c: Likewise.
19375 * soft-fp/fixunsdfti.c: Likewise.
19376 * soft-fp/fixunssfdi.c: Likewise.
19377 * soft-fp/fixunssfsi.c: Likewise.
19378 * soft-fp/fixunssfti.c: Likewise.
19379 * soft-fp/fixunstfdi.c: Likewise.
19380 * soft-fp/fixunstfsi.c: Likewise.
19381 * soft-fp/fixunstfti.c: Likewise.
19382 * soft-fp/floatdidf.c: Likewise.
19383 * soft-fp/floatdisf.c: Likewise.
19384 * soft-fp/floatditf.c: Likewise.
19385 * soft-fp/floatsidf.c: Likewise.
19386 * soft-fp/floatsisf.c: Likewise.
19387 * soft-fp/floatsitf.c: Likewise.
19388 * soft-fp/floattidf.c: Likewise.
19389 * soft-fp/floattisf.c: Likewise.
19390 * soft-fp/floattitf.c: Likewise.
19391 * soft-fp/floatundidf.c: Likewise.
19392 * soft-fp/floatundisf.c: Likewise.
19393 * soft-fp/floatunditf.c: Likewise.
19394 * soft-fp/floatunsidf.c: Likewise.
19395 * soft-fp/floatunsisf.c: Likewise.
19396 * soft-fp/floatunsitf.c: Likewise.
19397 * soft-fp/floatuntidf.c: Likewise.
19398 * soft-fp/floatuntisf.c: Likewise.
19399 * soft-fp/floatuntitf.c: Likewise.
19400 * soft-fp/fmadf4.c: Likewise.
19401 * soft-fp/fmasf4.c: Likewise.
19402 * soft-fp/fmatf4.c: Likewise.
19403 * soft-fp/gedf2.c: Likewise.
19404 * soft-fp/gesf2.c: Likewise.
19405 * soft-fp/getf2.c: Likewise.
19406 * soft-fp/ledf2.c: Likewise.
19407 * soft-fp/lesf2.c: Likewise.
19408 * soft-fp/letf2.c: Likewise.
19409 * soft-fp/muldf3.c: Likewise.
19410 * soft-fp/mulsf3.c: Likewise.
19411 * soft-fp/multf3.c: Likewise.
19412 * soft-fp/negdf2.c: Likewise.
19413 * soft-fp/negsf2.c: Likewise.
19414 * soft-fp/negtf2.c: Likewise.
19415 * soft-fp/op-1.h: Likewise.
19416 * soft-fp/op-2.h: Likewise.
19417 * soft-fp/op-4.h: Likewise.
19418 * soft-fp/op-8.h: Likewise.
19419 * soft-fp/op-common.h: Likewise.
19420 * soft-fp/quad.h: Likewise.
19421 * soft-fp/single.h: Likewise.
19422 * soft-fp/soft-fp.h: Likewise.
19423 * soft-fp/sqrtdf2.c: Likewise.
19424 * soft-fp/sqrtsf2.c: Likewise.
19425 * soft-fp/sqrttf2.c: Likewise.
19426 * soft-fp/subdf3.c: Likewise.
19427 * soft-fp/subsf3.c: Likewise.
19428 * soft-fp/subtf3.c: Likewise.
19429 * soft-fp/truncdfsf2.c: Likewise.
19430 * soft-fp/trunctfdf2.c: Likewise.
19431 * soft-fp/trunctfsf2.c: Likewise.
19432 * soft-fp/trunctfxf2.c: Likewise.
19433 * soft-fp/unorddf2.c: Likewise.
19434 * soft-fp/unordsf2.c: Likewise.
19435 * soft-fp/unordtf2.c: Likewise.
19436
19437 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19438
19439 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19440 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19441
19442 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19443
19444 * elf/dl-libc.c: Clear initfini list after freeing.
19445
19446 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19447
19448 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19449 * soft-fp/addsf3.c: Likewise.
19450 * soft-fp/addtf3.c: Likewise.
19451 * soft-fp/divdf3.c: Likewise.
19452 * soft-fp/divsf3.c: Likewise.
19453 * soft-fp/divtf3.c: Likewise.
19454 * soft-fp/double.h: Likewise.
19455 * soft-fp/eqdf2.c: Likewise.
19456 * soft-fp/eqsf2.c: Likewise.
19457 * soft-fp/eqtf2.c: Likewise.
19458 * soft-fp/extenddftf2.c: Likewise.
19459 * soft-fp/extended.h: Likewise.
19460 * soft-fp/extendsfdf2.c: Likewise.
19461 * soft-fp/extendsftf2.c: Likewise.
19462 * soft-fp/extendxftf2.c: Likewise.
19463 * soft-fp/fixdfdi.c: Likewise.
19464 * soft-fp/fixdfsi.c: Likewise.
19465 * soft-fp/fixdfti.c: Likewise.
19466 * soft-fp/fixsfdi.c: Likewise.
19467 * soft-fp/fixsfsi.c: Likewise.
19468 * soft-fp/fixsfti.c: Likewise.
19469 * soft-fp/fixtfdi.c: Likewise.
19470 * soft-fp/fixtfsi.c: Likewise.
19471 * soft-fp/fixtfti.c: Likewise.
19472 * soft-fp/fixunsdfdi.c: Likewise.
19473 * soft-fp/fixunsdfsi.c: Likewise.
19474 * soft-fp/fixunsdfti.c: Likewise.
19475 * soft-fp/fixunssfdi.c: Likewise.
19476 * soft-fp/fixunssfsi.c: Likewise.
19477 * soft-fp/fixunssfti.c: Likewise.
19478 * soft-fp/fixunstfdi.c: Likewise.
19479 * soft-fp/fixunstfsi.c: Likewise.
19480 * soft-fp/fixunstfti.c: Likewise.
19481 * soft-fp/floatdidf.c: Likewise.
19482 * soft-fp/floatdisf.c: Likewise.
19483 * soft-fp/floatditf.c: Likewise.
19484 * soft-fp/floatsidf.c: Likewise.
19485 * soft-fp/floatsisf.c: Likewise.
19486 * soft-fp/floatsitf.c: Likewise.
19487 * soft-fp/floattidf.c: Likewise.
19488 * soft-fp/floattisf.c: Likewise.
19489 * soft-fp/floattitf.c: Likewise.
19490 * soft-fp/floatundidf.c: Likewise.
19491 * soft-fp/floatundisf.c: Likewise.
19492 * soft-fp/floatunsidf.c: Likewise.
19493 * soft-fp/floatunsisf.c: Likewise.
19494 * soft-fp/floatuntidf.c: Likewise.
19495 * soft-fp/floatuntisf.c: Likewise.
19496 * soft-fp/floatuntitf.c: Likewise.
19497 * soft-fp/fmadf4.c: Likewise.
19498 * soft-fp/fmasf4.c: Likewise.
19499 * soft-fp/fmatf4.c: Likewise.
19500 * soft-fp/gedf2.c: Likewise.
19501 * soft-fp/gesf2.c: Likewise.
19502 * soft-fp/getf2.c: Likewise.
19503 * soft-fp/ledf2.c: Likewise.
19504 * soft-fp/lesf2.c: Likewise.
19505 * soft-fp/letf2.c: Likewise.
19506 * soft-fp/muldf3.c: Likewise.
19507 * soft-fp/mulsf3.c: Likewise.
19508 * soft-fp/multf3.c: Likewise.
19509 * soft-fp/negdf2.c: Likewise.
19510 * soft-fp/negsf2.c: Likewise.
19511 * soft-fp/negtf2.c: Likewise.
19512 * soft-fp/op-1.h: Likewise.
19513 * soft-fp/op-2.h: Likewise.
19514 * soft-fp/op-4.h: Likewise.
19515 * soft-fp/op-8.h: Likewise.
19516 * soft-fp/op-common.h: Likewise.
19517 * soft-fp/quad.h: Likewise.
19518 * soft-fp/single.h: Likewise.
19519 * soft-fp/soft-fp.h: Likewise.
19520 * soft-fp/sqrtdf2.c: Likewise.
19521 * soft-fp/sqrtsf2.c: Likewise.
19522 * soft-fp/sqrttf2.c: Likewise.
19523 * soft-fp/subdf3.c: Likewise.
19524 * soft-fp/subsf3.c: Likewise.
19525 * soft-fp/subtf3.c: Likewise.
19526 * soft-fp/truncdfsf2.c: Likewise.
19527 * soft-fp/trunctfdf2.c: Likewise.
19528 * soft-fp/trunctfsf2.c: Likewise.
19529 * soft-fp/trunctfxf2.c: Likewise.
19530 * soft-fp/unorddf2.c: Likewise.
19531 * soft-fp/unordsf2.c: Likewise.
19532 * soft-fp/unordtf2.c: Likewise.
19533
19534 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19535
19536 [BZ #15672]
19537 * misc/error.c (error_tail): Fix possible buffer overflow.
19538
19539 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19540
19541 [BZ #13028]
19542 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19543 address.
19544
19545 2013-10-14 P. J. McDermott <pj@pehjota.net>
19546
19547 [BZ #832]
19548 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19549 testing pipefail option.
19550
19551 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19552
19553 * soft-fp/double.h: Indent preprocessor directives inside #if.
19554 * soft-fp/extended.h: Likewise.
19555 * soft-fp/op-2.h: Likewise.
19556 * soft-fp/op-4.h: Likewise.
19557 * soft-fp/op-common.h: Likewise.
19558 * soft-fp/quad.h: Likewise.
19559 * soft-fp/single.h: Likewise.
19560 * soft-fp/soft-fp.h: Likewise.
19561
19562 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19563
19564 * iconv/iconv_prog.c: Fix typos.
19565 * stdio-common/psiginfo-data.h: Likewise.
19566
19567 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19568
19569 [BZ #15764]
19570 * locale/setlocale.c: Fix typo.
19571
19572 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19573
19574 [BZ #16036]
19575 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19576 signaling NaN arguments.
19577 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19578 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19579
19580 [BZ #14910]
19581 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19582 unordered operands.
19583 * soft-fp/gesf2.c (__gesf2): Likewise.
19584 * soft-fp/getf2.c (__getf2): Likewise.
19585 * soft-fp/ledf2.c (__ledf2): Likewise.
19586 * soft-fp/lesf2.c (__lesf2): Likewise.
19587 * soft-fp/letf2.c (__letf2): Likewise.
19588
19589 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19590 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19591 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19592 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19593 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19594 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19595 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19596 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19597 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19598 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19599 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19600 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19601 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19602 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19603 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19604 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19605 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19606 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19607 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19608 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19609 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19610 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19611 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19612 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19613 * soft-fp/floattidf.c (__floattidf): Likewise.
19614 * soft-fp/floattisf.c (__floattisf): Likewise.
19615 * soft-fp/floattitf.c (__floattitf): Likewise.
19616 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19617 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19618 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19619 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19620 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19621 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19622 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19623 * soft-fp/gesf2.c (__gesf2): Likewise.
19624 * soft-fp/getf2.c (__getf2): Likewise.
19625 * soft-fp/ledf2.c (__ledf2): Likewise.
19626 * soft-fp/lesf2.c (__lesf2): Likewise.
19627 * soft-fp/letf2.c (__letf2): Likewise.
19628
19629 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19630 Undefine and redefine.
19631 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19632 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19633 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19634 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19635 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19636 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19637 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19638 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19639 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19640 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19641 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19642 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19643 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19644 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19645 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19646
19647 [BZ #16032]
19648 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19649 without decrementing exponent if mantissa >= that for the
19650 denominator, not >.
19651 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19652 denominator, not >. Decrement exponent in < case instead of
19653 incrementing in >= case.
19654 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19655 without decrementing exponent if mantissa >= that for the
19656 denominator, not >.
19657
19658 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19659 computing saturated result for unsigned overflow.
19660
19661 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19662 Jeff Law <law@redhat.com>
19663
19664 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19665 (atan2Mp): Add systemtap probe marker.
19666 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19667 (__ieee754_log): Add systemtap probe marker.
19668 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19669 (atanMp): Add systemtap probe marker.
19670 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19671 (tanMp): Add systemtap probe marker.
19672 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19673 (__slowexp): Add systemtap probe marker.
19674 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19675 (__slowpow): Add systemtap probe marker.
19676 * manual/probes.texi: Document probes.
19677
19678 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19679
19680 [BZ #15362]
19681 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19682 written.
19683 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19684 written.
19685 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19686 written to buffer but not flushed.
19687 * libio/iofwrite_u.c: Likewise.
19688 * libio/iopadn.c: Return bytes returned even if EOF was
19689 encountered.
19690 * libio/iowpadn.c: Likewise.
19691 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19692 if _IO_padn does not write the whole buffer.
19693 [!COMPILE_WPRINTF] (PAD): Likewise.
19694
19695 2013-10-10 David S. Miller <davem@davemloft.net>
19696
19697 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19698 directory block.
19699
19700 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19701
19702 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19703 instead of FSF address.
19704 * soft-fp/fixdfti.c: Likewise.
19705 * soft-fp/fixsfti.c: Likewise.
19706 * soft-fp/fixtfti.c: Likewise.
19707 * soft-fp/fixunsdfti.c: Likewise.
19708 * soft-fp/fixunssfti.c: Likewise.
19709 * soft-fp/fixunstfti.c: Likewise.
19710 * soft-fp/floattidf.c: Likewise.
19711 * soft-fp/floattisf.c: Likewise.
19712 * soft-fp/floattitf.c: Likewise.
19713 * soft-fp/floatuntidf.c: Likewise.
19714 * soft-fp/floatuntisf.c: Likewise.
19715 * soft-fp/floatuntitf.c: Likewise.
19716 * soft-fp/trunctfxf2.c: Likewise.
19717
19718 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19719 * soft-fp/fixdfti.c: Likewise.
19720 * soft-fp/fixsfti.c: Likewise.
19721 * soft-fp/fixtfti.c: Likewise.
19722 * soft-fp/fixunsdfti.c: Likewise.
19723 * soft-fp/fixunssfti.c: Likewise.
19724 * soft-fp/fixunstfti.c: Likewise.
19725 * soft-fp/floattidf.c: Likewise.
19726 * soft-fp/floattisf.c: Likewise.
19727 * soft-fp/floattitf.c: Likewise.
19728 * soft-fp/floatuntidf.c: Likewise.
19729 * soft-fp/floatuntisf.c: Likewise.
19730 * soft-fp/floatuntitf.c: Likewise.
19731 * soft-fp/trunctfxf2.c: Likewise.
19732
19733 2013-10-10 David S. Miller <davem@davemloft.net>
19734
19735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19736
19737 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19738
19739 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19740 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19741 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19742 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19743 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19744 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19745 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19746
19747 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19748 for NaNs before doing comparisons on argument.
19749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19750 Likewise.
19751
19752 2013-10-10 Will Newton <will.newton@linaro.org>
19753
19754 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19755 passed to _int_memalign does not overflow.
19756
19757 2013-10-10 Torvald Riegel <triegel@redhat.com>
19758
19759 * scripts/bench.pl: Add include-sources directive.
19760 * benchtests/README: Update documentation.
19761
19762 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19763
19764 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19765 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19766 instead of FP_INIT_ROUNDMODE.
19767 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19768 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19769
19770 [BZ #16034]
19771 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19772 copy class of input value.
19773 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19774 not handle exceptions.
19775 * soft-fp/negsf2.c (__negsf2): Likewise.
19776 * soft-fp/negtf2.c (__negtf2): Likewise.
19777 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19778
19779 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19780
19781 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19782 semicolon. From Linux kernel.
19783
19784 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19785
19786 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19787
19788 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19789
19790 [BZ #156]
19791 * manual/socket.texi: Added statement about buffer
19792 for gethostbyname2_r.
19793
19794 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19795
19796 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19797 Use .p2align directive instead, throughout.
19798 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19799 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19800 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19803 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19804 * sysdeps/x86_64/strchr.S: Likewise.
19805 * sysdeps/x86_64/strrchr.S: Likewise.
19806
19807 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19808
19809 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19810
19811 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19812
19813 * sysdeps/generic/math_private.h (__mpsin1): Remove
19814 declaration.
19815 (__mpcos1): Likewise.
19816 (__mpsin): New argument __range_reduce.
19817 (__mpcos): Likewise.
19818 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19819 (slow): Use __mpsin and __mpcos.
19820 (slow1): Likewise.
19821 (slow2): Likewise.
19822 (sloww): Likewise.
19823 (sloww1): Likewise.
19824 (sloww2): Likewise.
19825 (bsloww): Likewise.
19826 (bsloww1): Likewise.
19827 (bsloww2): Likewise.
19828 (cslow2): Likewise.
19829 (csloww): Likewise.
19830 (csloww1): Likewise.
19831 (csloww2): Likewise.
19832 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19833 range_reduce. Merge in __mpsin1.
19834 (__mpcos): Likewise.
19835 (__mpsin1): Remove.
19836 (__mpcos1): Likewise.
19837
19838 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19839
19840 * locale/loadlocale.c (_nl_intern_locale_data): Use
19841 LOCFILE_ALIGNED_P.
19842 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19843 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19844 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19845 obstack data is appropriately aligned.
19846 (obstack_int32_grow_fast): Likewise.
19847 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19848 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19849 (add_locale_uint32_array): Likewise.
19850
19851 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19852
19853 * benchtests/Makefile: Remove ARGLIST and RET variables.
19854 ($(objpfx)bench-%.c): Pass only function name to the script.
19855 * benchtests/README: Update documentation.
19856 * benchtests/acos-inputs: Add new directives.
19857 * benchtests/acosh-inputs: Likewise.
19858 * benchtests/asin-inputs: Likewise.
19859 * benchtests/asinh-inputs: Likewise.
19860 * benchtests/atan-inputs: Likewise.
19861 * benchtests/atanh-inputs: Likewise.
19862 * benchtests/cos-inputs: Likewise.
19863 * benchtests/cosh-inputs: Likewise.
19864 * benchtests/exp-inputs: Likewise.
19865 * benchtests/log-inputs: Likewise.
19866 * benchtests/pow-inputs: Likewise.
19867 * benchtests/rint-inputs: Likewise.
19868 * benchtests/sin-inputs: Likewise.
19869 * benchtests/sinh-inputs: Likewise.
19870 * benchtests/tan-inputs: Likewise.
19871 * benchtests/tanh-inputs: Likewise.
19872 * scripts/bench.pl: Add support for new directives.
19873
19874 2013-10-07 Alan Modra <amodra@gmail.com>
19875
19876 * README: Fix careless merge.
19877
19878 2013-10-05 Alan Modra <amodra@gmail.com>
19879
19880 * NEWS: Mention powerpc64le support and bugs fixed.
19881 * README: Both big-endian and little-endian powerpc64 supported.
19882
19883 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19884
19885 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19886 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19887 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19888 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19889
19890 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19891
19892 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19893 match prototype.
19894
19895 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19896
19897 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19898 Move -mhard-float appending from
19899 ports/sysdeps/powerpc/powerpc32/Makefile.
19900 [$(with-fp) = yes] (ASFLAGS): Likewise.
19901 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19902 * sysdeps/powerpc/nofpu: Move directory from
19903 ports/sysdeps/powerpc/nofpu.
19904 * sysdeps/powerpc/soft-fp: Move directory from
19905 ports/sysdeps/powerpc/soft-fp.
19906 * sysdeps/powerpc/powerpc32/405: Move directory from
19907 ports/sysdeps/powerpc/powerpc32/405.
19908 * sysdeps/powerpc/powerpc32/440: Move directory from
19909 ports/sysdeps/powerpc/powerpc32/440.
19910 * sysdeps/powerpc/powerpc32/464: Move directory from
19911 ports/sysdeps/powerpc/powerpc32/464.
19912 * sysdeps/powerpc/powerpc32/476: Move directory from
19913 ports/sysdeps/powerpc/powerpc32/476.
19914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19915 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19917 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19919 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19924 * README: Update for powerpc-*-linux-gnu software floating point
19925 support in libc.
19926
19927 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19928 case to powerpc/powerpc32*.
19929 * sysdeps/unix/sysv/linux/configure: Regenerated.
19930
19931 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19932 (_FPU_MASK_OM): Define as 0x04.
19933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19935 0x00c10080.
19936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19937 0x0000003c.
19938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19939
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19941 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19942 getcontext_e500.
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19944 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19945 setcontext_e500.
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19947 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19948 and setcontext_e500.
19949
19950 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19951
19952 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19953
19954 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19955
19956 * manual/threads.texi (Default Thread Attributes): Fix typo.
19957
19958 2013-10-04 Will Newton <will.newton@linaro.org>
19959
19960 * malloc/Makefile: Add tst-memalign.
19961 * malloc/tst-memalign.c: New file.
19962
19963 * malloc/tst-posix_memalign.c: Add comments.
19964 (do_test): Add comments and call free on all potentially
19965 allocated pointers. Add space after cast.
19966
19967 * malloc/tst-pvalloc.c: Add comments.
19968 (do_test): Add comments and call free on all potentially
19969 allocated pointers. Remove duplicate check for NULL pointer.
19970 Add space after cast.
19971
19972 * malloc/tst-valloc.c: Add comments.
19973 (do_test): Add comments and call free on all potentially
19974 allocated pointers. Remove duplicate check for NULL pointer.
19975 Add space after cast.
19976
19977 2013-10-04 Alan Modra <amodra@gmail.com>
19978
19979 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19980 Use stdint types in rather than __attribute__((mode())).
19981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19982
19983 2013-10-04 Alan Modra <amodra@gmail.com>
19984
19985 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19986 Correct handling of unaligned relocs for little-endian.
19987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19988
19989 2013-10-04 Alan Modra <amodra@gmail.com>
19990
19991 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19992 * configure: Regenerate.
19993 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19994 * shlib-versions: Likewise.
19995
19996 2013-10-04 Alan Modra <amodra@gmail.com>
19997
19998 * string/tester.c (test_memrchr): Increment reported test cycle.
19999
20000 2013-10-04 Alan Modra <amodra@gmail.com>
20001
20002 * string/test-memcpy.c (do_one_test): When reporting errors, print
20003 string address and don't overrun end of string.
20004
20005 2013-10-04 Alan Modra <amodra@gmail.com>
20006
20007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20008 insrdi. Make better use of reg selection to speed exit slightly.
20009 Schedule entry path a little better. Remove useless "are we done"
20010 checks on entry to main loop. Handle wrapping around zero address.
20011 Correct main loop count. Handle single left-over word from main
20012 loop inline rather than by using loop_small. Remove extra word
20013 case in loop_small caused by wrong loop count. Add little-endian
20014 support.
20015 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20017 cache hint.
20018 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20019 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20020 support. Avoid rlwimi.
20021 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20022
20023 2013-10-04 Alan Modra <amodra@gmail.com>
20024
20025 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20026 insrdi. Formatting.
20027 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20028 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20029 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20030 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20031 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20032 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20033
20034 2013-10-04 Alan Modra <amodra@gmail.com>
20035
20036 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20037 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20038 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20039 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20040 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20041 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20042 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20043 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20045 use of regs. Use power7 mtocrf. Tidy function tails.
20046
20047 2013-10-04 Alan Modra <amodra@gmail.com>
20048
20049 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20050 Formatting. Consistently use rXXX register defines or rN defines.
20051 Use early exit labels that avoid restoring unused non-volatile regs.
20052 Make cr field use more consistent with rWORDn compares. Rename
20053 regs used as shift registers for unaligned loop, using rN defines
20054 for short lifetime/multiple use regs.
20055 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20056 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20057 addi 1,1,64 to pop stack frame. Simplify return value code.
20058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20059
20060 2013-10-04 Alan Modra <amodra@gmail.com>
20061
20062 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20063 support. Correct typos, formatting. Optimize tail. Use insrdi
20064 rather than rlwimi.
20065 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20066 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20067 little-endian support. Correct typos.
20068 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20069 rather than rlwimi.
20070 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20071 in loop and entry code to keep "and." results.
20072 (strchr): Add little-endian support. Comment. Move cntlzd
20073 earlier in tail.
20074 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20075
20076 2013-10-04 Alan Modra <amodra@gmail.com>
20077
20078 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20079 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20080 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20081 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20082
20083 2013-10-04 Alan Modra <amodra@gmail.com>
20084
20085 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20086 (rTMP): Define as r11.
20087 (strcmp): Add little-endian support. Optimise tail.
20088 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20089 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20090 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20091 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20092 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20095
20096 2013-10-04 Alan Modra <amodra@gmail.com>
20097
20098 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20099 little-endian support. Remove unnecessary "are we done" tests.
20100 Handle "s" wrapping around zero and extremely large "size".
20101 Correct main loop count. Handle single left-over word from main
20102 loop inline rather than by using small_loop. Correct comments.
20103 Delete "zero" tail, use "end_max" instead.
20104 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20105
20106 2013-10-04 Alan Modra <amodra@gmail.com>
20107
20108 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20109 support. Don't branch over align.
20110 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20111 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20112 support. Rearrange tmp reg use to suit. Comment.
20113 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20114
20115 2013-10-04 Alan Modra <amodra@gmail.com>
20116
20117 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20118
20119 2013-10-04 Alan Modra <amodra@gmail.com>
20120
20121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20122 conditional form of branch and link when obtaining pc.
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20124
20125 2013-10-04 Alan Modra <amodra@gmail.com>
20126
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20128 HIWORD/LOWORD.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20131
20132 2013-10-04 Alan Modra <amodra@gmail.com>
20133
20134 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20135 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20136 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20137 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20138 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20139 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20140 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20141 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20142 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20143 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20144
20145 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20146 Alistair Popple <alistair@ozlabs.au.ibm.com>
20147 Alan Modra <amodra@gmail.com>
20148
20149 [BZ #15723]
20150 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20151 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20152 _dl_hwcap access for little-endian.
20153 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20154 destroy vmx regs when saving unaligned.
20155 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20156 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20157 destroy vmx regs when saving unaligned.
20158
20159 2013-10-04 Alan Modra <amodra@gmail.com>
20160
20161 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20162 Don't use a union to pack hi/low value.
20163
20164 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20165
20166 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20167 for little-endian.
20168 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20170 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20171 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20172 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20173
20174 2013-10-04 Alan Modra <amodra@gmail.com>
20175
20176 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20177 constants to usual value for .cst8 section, and remove redundant
20178 high address load.
20179 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20180 constant for 0x1p52. Load little-endian words of double from
20181 correct stack offsets.
20182
20183 2013-10-04 Alan Modra <amodra@gmail.com>
20184
20185 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20186 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20187 words of double from correct stack offsets.
20188 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20189 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20190 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20192 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20194 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20195 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20196 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20198 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20199 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20200 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20201 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20202 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20204 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20205
20206 2013-10-04 Alan Modra <amodra@gmail.com>
20207
20208 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20209 64-bit int/double union.
20210 (_FPU_SETCW): Likewise.
20211 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20212 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20213
20214 2013-10-04 Alan Modra <amodra@gmail.com>
20215
20216 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20217 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20218
20219 2013-10-04 Alan Modra <amodra@gmail.com>
20220
20221 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20222 use vector int constants.
20223 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20224
20225 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20226
20227 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20228 array with long long.
20229 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20230 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20231 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20232 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20233 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20234 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20235 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20236 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20237 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20238 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20239 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20240 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20241 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20242
20243 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
20244
20245 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20246 (__signbit): Likewise. Correct for little-endian.
20247 (__signbitl): Call __signbit.
20248 (lrint): Correct for little-endian.
20249 (lrintf): Call lrint.
20250
20251 2013-10-04 Alan Modra <amodra@gmail.com>
20252
20253 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20254 union 32-bit int array member with 64-bit int array.
20255 (t515, tm256): Double rather than long double.
20256 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20257
20258 2013-10-04 Alan Modra <amodra@gmail.com>
20259
20260 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20261 Delete.
20262 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20264 version of math_ldbl.h.
20265
20266 2013-10-04 Alan Modra <amodra@gmail.com>
20267
20268 [BZ #15734], [BZ #15735]
20269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20270 all uses of ieee875 long double macros and unions. Simplify test
20271 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20272 ldbl_extract_mantissa value for ix,iy exponents. Properly
20273 normalize after ldbl_extract_mantissa, and don't add hidden bit
20274 already handled. Don't treat low word of ieee854 mantissa like
20275 low word of IBM long double and mask off bit when testing for
20276 zero.
20277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20278 all uses of ieee875 long double macros and unions. Simplify tests
20279 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20280 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20281 two1022, instead use their values. Recognise that tests for large
20282 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20284 Rewrite all uses of ieee875 long double macros and unions. Simplify
20285 test for 0.0L and nan. Correct negation.
20286 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20287 ieee875 long double macros and unions. Correct output for large
20288 magnitude x. Correct absolute value calculation.
20289 (__erfcl): Likewise.
20290 * math/libm-test.inc: Add tests for errors discovered in IBM long
20291 double versions of fmodl, remainderl, erfl and erfcl.
20292
20293 2013-10-04 Alan Modra <amodra@gmail.com>
20294
20295 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20296 all uses of ieee854 long double macros and unions. Simplify tests
20297 for long doubles that are fully specified by the high double.
20298 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20299 Likewise.
20300 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20301 Remove dead code too.
20302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20303 (__ieee754_ynl): Likewise.
20304 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20305 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20306 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20307 Remove dead code too.
20308 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20309 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20310 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20311 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20312 Simplify.
20313 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20314 Simplify.
20315 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20316 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20318 Comment on variable precision.
20319 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20320 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20321 Likewise.
20322 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20323 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20324 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20325 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20326 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20327
20328 2013-10-04 Alan Modra <amodra@gmail.com>
20329
20330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20331 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20332 all uses of ieee854 long double macros and unions.
20333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20335 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20336 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20338 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20339 Likewise.
20340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20341 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20342 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20343 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20346 Simplify sign and nan test too.
20347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20349 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20350 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20351 Likewise.
20352 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20353 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20354 Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20356 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20357 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20358 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20359 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20361
20362 2013-10-04 Alan Modra <amodra@gmail.com>
20363
20364 * stdio-common/printf_size.c (__printf_size): Don't use
20365 union ieee854_long_double in fpnum union.
20366 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20367 signbit macro to retrieve sign from long double.
20368 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20369 retrieve sign from long double.
20370 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20371 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20372 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20373 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20374 * math/test-misc.c (main): Don't use union ieee854_long_double.
20375
20376 2013-10-04 Alan Modra <amodra@gmail.com>
20377
20378 [BZ #15680]
20379 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20380 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20381 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20382 calculation. Remove unnecessary test for denormal exponent.
20383 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20384 Correct handling of denormals. Avoid undefined shift behaviour.
20385 Correct normalisation of low mantissa when low double is denormal.
20386 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20387 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20388 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20389 Correct normalisation of low mantissa. Test for overflow of high
20390 mantissa and normalise.
20391 (ldbl_nearbyint): Use more readable constant for two52.
20392 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20393 (__mpn_construct_long_double): Fix test for overflow of high
20394 mantissa and correct normalisation. Avoid undefined shift.
20395
20396 2013-10-04 Alan Modra <amodra@gmail.com>
20397
20398 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20399 (union ibm_extended_long_double): Define as an array of ieee754_double.
20400 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20401 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20402 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20403 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20407 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20409 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20410 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20411
20412 2013-10-03 Joseph Myers <joseph@codesourcery.com>
20413
20414 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20415 page size instead of calling getpagesize.
20416
20417 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20418 (LOCFILE_ALIGN_MASK): Likewise.
20419 (LOCFILE_ALIGN_UP): Likewise.
20420 (LOCFILE_ALIGNED_P): Likewise.
20421 * locale/programs/ld-collate.c (collate_output): Use the new
20422 macros instead of __alignof__ (int32_t).
20423 * locale/weight.h (findidx): Likewise.
20424
20425 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
20426
20427 [BZ #431]
20428 * manual/string.texi: Fix strncat and wcsncat.
20429
20430 2013-10-03 Brooks Moses <bmoses@google.com>
20431
20432 [BZ #15915]
20433 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20434 * Makerules: ...here, and adjust associated comments.
20435
20436 2013-10-02 Will Newton <will.newton@linaro.org>
20437
20438 * malloc/Makefile: Add tst-pvalloc.
20439 * malloc/tst-pvalloc.c: New file.
20440
20441 2013-10-02 Will Newton <will.newton@linaro.org>
20442
20443 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20444 improve test coverage.
20445
20446 2013-10-02 Will Newton <will.newton@linaro.org>
20447
20448 * malloc/Makefile: Add tst-posix_memalign.
20449 * malloc/tst-posix_memalign.c: New file.
20450
20451 2013-10-01 Eric Blake <eblake@redhat.com>
20452
20453 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20454 Use __THROWNL rather than __THROW on static functions.
20455
20456 2013-09-30 Petr Machata <pmachata@redhat.com>
20457
20458 * elf/elf.h (R_AARCH64_ABS16): New macro.
20459 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20460 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20461 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20462 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20463 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20464 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20465 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20466 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20467 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20468 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20469 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20470 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20471 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20472 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20473 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20474 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20475 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20476 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20477 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20478 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20479 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20480 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20481 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20482 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20483 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20484 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20485 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20486 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20487 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20488 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20489 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20490 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20491 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20492 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20493 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20494 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20495 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20496 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20497 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20498 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20499 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20500 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20501 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20502 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20503 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20504 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20505 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20506 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20507 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20508 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20509 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20510 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20511 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20512 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20513 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20514 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20515 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20516 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20517 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20518 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20519 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20520 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20521 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20522 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20523 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20524 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20525 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20526 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20527 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20528 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20529 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20530 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20531 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20532 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20533 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20534 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20535 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20536 (R_AARCH64_TLSDESC_LDR): Likewise.
20537 (R_AARCH64_TLSDESC_ADD): Likewise.
20538 (R_AARCH64_TLSDESC_CALL): Likewise.
20539
20540 2013-09-30 Andreas Schwab <schwab@suse.de>
20541
20542 [BZ #15048]
20543 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20544 the nss database lookup.
20545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20547
20548 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20549
20550 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20551
20552 2013-09-28 P. J. McDermott <pj@pehjota.net>
20553
20554 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20555 ${Bash-specific parameter/pattern/string} parameter expansion.
20556 * sysdeps/unix/make-syscalls.sh: Likewise.
20557
20558 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20559
20560 * sysdeps/sh/stackguard-macros.h: New file.
20561
20562 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20563
20564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20566 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20567 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20568 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20569 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20570
20571 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20572
20573 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20574 Fix thread ID register.
20575
20576 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20577
20578 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20579 [POSIX || UNIX98]: Require rather than permitting all symbols from
20580 <time.h>.
20581 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20582 element of struct sched_param.
20583 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20584 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20585 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20586 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20587 constant.
20588
20589 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20590
20591 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20592 argument calculation.
20593
20594 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20595
20596 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20597 Expect macro.
20598 [POSIX] (pthread_attr_t): Do not require type.
20599 [POSIX] (pthread_cond_t): Likewise.
20600 [POSIX] (pthread_condattr_t): Likewise.
20601 [POSIX] (pthread_key_t): Likewise.
20602 [POSIX] (pthread_mutex_t): Likewise.
20603 [POSIX] (pthread_mutexattr_t): Likewise.
20604 [POSIX] (pthread_once_t): Likewise.
20605 [POSIX] (pthread_t): Likewise.
20606 [POSIX-based standards] (pthread_atfork): Expect function.
20607
20608 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20609 Richard Sandiford <richard@codesourcery.com>
20610
20611 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20612 (swap_endianness_p): New extern variable.
20613 (set_big_endian): New inline function.
20614 (maybe_swap_uint32): Likewise.
20615 (maybe_swap_uint32_array): Likewise.
20616 (maybe_swap_uint32_obstack): Likewise.
20617 * locale/programs/locfile.c: Include <stdbool.h>.
20618 (swap_endianness_p): New variable.
20619 (add_locale_uint32): Call maybe_swap_uint32.
20620 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20621 (write_locale_data): Call maybe_swap_uint32_array.
20622 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20623 maybe_swap_uint32.
20624 (obstack_int32_grow_fast): Likewise.
20625 (output_weightwc): Call maybe_swap_uint32_obstack.
20626 (collate_output): Likewise.
20627 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20628 (OPT_LITTLE_ENDIAN): Likewise.
20629 (options): Add --little-endian and --big-endian options.
20630 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20631 * locale/programs/locarchive.c: Include "locfile.h".
20632 (GET): New macro.
20633 (SET): Likewise.
20634 (INC): Likewise.
20635 (create_archive): Use the new macros to access fields of
20636 structures directly mapped from or written to locale archives.
20637 (oldlocrecentcmp): Likewise.
20638 (enlarge_archive): Likewise.
20639 (insert_name): Likewise.
20640 (add_alias): Likewise.
20641 (add_locale): Likewise.
20642 (delete_locales_from_archive): Likewise.
20643 (show_archive_content): Likewise.
20644 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20645 locale data.
20646
20647 2013-09-24 Roland McGrath <roland@hack.frob.com>
20648
20649 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20650 http://www.gnu.org/doc/freemanuals.texi.
20651 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20652
20653 2013-09-24 Will Newton <will.newton@linaro.org>
20654
20655 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20656 macro.
20657
20658 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20659
20660 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20661 unsigned char.
20662
20663 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20664
20665 * manual/threads.texi (POSIX Threads): Fix a typo.
20666
20667 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20668
20669 [BZ #14547]
20670 * string/tst-strcoll-overflow.c: New test case.
20671 * string/Makefile (xtests): Add tst-strcoll-overflow.
20672 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20673 cache if string sizes may cause integer overflow.
20674
20675 [BZ #14547]
20676 * string/strcoll_l.c (coll_seq): New members rule, idx,
20677 save_idx and back_us.
20678 (get_next_seq_nocache): New function.
20679 (do_compare_nocache): New function.
20680 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20681 when malloc fails.
20682
20683 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20684
20685 [BZ #15754]
20686 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20687 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20688 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20689
20690 [BZ #15754]
20691 * elf/Makefile (tests): Add tst-ptrguard1.
20692 (tests-static): Add tst-ptrguard1-static.
20693 (tst-ptrguard1-ARGS): Define.
20694 (tst-ptrguard1-static-ARGS): Define.
20695 * elf/tst-ptrguard1.c: New file.
20696 * elf/tst-ptrguard1-static.c: New file.
20697 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20698 * sysdeps/i386/stackguard-macros.h: Likewise.
20699 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20700 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20701 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20702 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20703 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20704 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20705
20706 2013-09-23 Hector Marco <hecmargi@upv.es>
20707 Ismael Ripoll <iripoll@disca.upv.es>
20708 Carlos O'Donell <carlos@redhat.com>
20709
20710 [BZ #15754]
20711 * sysdeps/generic/stackguard-macros.h: Define
20712 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20713 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20714 Define __pointer_chk_guard_local.
20715 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20716 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20717
20718 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20719
20720 [BZ #15859]
20721 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20722
20723 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20724
20725 * include/string.h (__ffs): Declare as hidden.
20726 * string/ffs.c (__ffs): Define as hidden.
20727 * sysdeps/i386/ffs.c (__ffs): Likewise.
20728 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20729 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20730 * sysdeps/s390/ffs.c (__ffs): Likewise.
20731 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20732
20733 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20734
20735 * NEWS: Mention malloc probes.
20736
20737 * malloc/arena.c (new_heap): New memory_heap_new probe.
20738 (grow_heap): New memory_heap_more probe.
20739 (shrink_heap): New memory_heap_less probe.
20740 (heap_trim): New memory_heap_free probe.
20741 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20742 (systrim): New memory_sbrk_less probe.
20743 * manual/probes.texi: Document them.
20744
20745 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20746 * manual/probes.texi: Document it.
20747
20748 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20749 (__libc_realloc): Add memory_realloc_retry probe.
20750 (__libc_memalign): Add memory_memalign_retry probe.
20751 (__libc_valloc): Add memory_valloc_retry probe.
20752 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20753 (__libc_calloc): Add memory_calloc_retry probe.
20754 * manual/probes.texi: Document them.
20755
20756 * malloc/arena.c (get_free_list): Add probe
20757 memory_arena_reuse_free_list.
20758 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20759 and memory_arena_reuse.
20760 (arena_get2) [!PER_THREAD]: Likewise.
20761 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20762 memory_arena_reuse_realloc.
20763 * manual/probes.texi: Document them.
20764
20765 * malloc/malloc.c (__libc_free): Add
20766 memory_mallopt_free_dyn_thresholds probe.
20767 (__libc_mallopt): Add multiple memory_mallopt probes.
20768 * manual/probes.texi: Document them.
20769
20770 * malloc/malloc.c: Include stap-probe.h.
20771 (__libc_mallopt): Add memory_mallopt probe.
20772 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20773 * manual/probes.texi: New.
20774 * manual/Makefile (chapters): Add probes.
20775 * manual/threads.texi: Set next node.
20776
20777 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20778
20779 [BZ #15963, #13985]
20780 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20781 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20782 Add `Chinese' to `nan' entry name.
20783
20784 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20785
20786 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20787 (POLYNOMIAL): Likewise.
20788 (TAYLOR_SINCOS): Likewise.
20789 (TAYLOR_SLOW): Likewise.
20790 (__sin): Use TAYLOR_SINCOS.
20791 (__cos): Likewise.
20792 (slow): Use TAYLOR_SLOW.
20793 (sloww): Likewise.
20794 (bsloww): Likewise.
20795 (csloww): Likewise.
20796
20797 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20798
20799 * stdlib/strtod_l.c: Fix buffer overrun.
20800
20801 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20802
20803 * benchtests/Makefile (bench): Add sincos.
20804 * benchtests/bench-sincos.c: New file.
20805
20806 * math/libm-test.inc (cos_test_data): New test inputs.
20807 (sin_test_data): Likewise.
20808
20809 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20810 macro.
20811 (__sin): Use it.
20812 (__cos): Likewise.
20813 (slow1): Likewise.
20814 (slow2): Likewise.
20815 (sloww1): Likewise.
20816 (sloww2): Likewise.
20817 (bsloww1): Likewise.
20818 (bsloww2): Likewise.
20819 (cslow2): Likewise.
20820 (csloww1): Likewise.
20821 (csloww2): Likewise.
20822
20823 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20824 function.
20825 (__sin): Use it.
20826 (__cos): Likewise.
20827
20828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20829 gotos.
20830 (__cos): Likewise.
20831
20832 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20833
20834 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20835 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20836 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20837 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20838 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20839 * elf/cache.c (print_entry): Handle the new cache flags.
20840
20841 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20842 Aldy Hernandez <aldyh@redhat.com>
20843
20844 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20845 Change condition to [_SOFT_FLOAT].
20846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20858 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20861 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20862 declaration.
20863
20864 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20865
20866 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20867 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20868 (__longjmp): Use LOAD_GP to load saved GPRs.
20869 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20870 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20871 (__sigsetjmp): Use SAVE_GP to save GPRs.
20872
20873 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20874 Do not append -msoft-float.
20875 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20876
20877 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20878
20879 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20880
20881 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20882
20883 [BZ #15966]
20884 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20885 (_FPU_GETCW): Use initial "__" on variable and field names but not
20886 on macro parameter name.
20887 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20888 parentheses around reference to macro parameter.
20889
20890 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20891
20892 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20893 prototype.
20894 (ctype_startup): Use uint32_t in cast and sizeof for
20895 ctype->charnames.
20896
20897 2013-09-11 Jia Liu <proljc@gmail.com>
20898
20899 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20900 __daddr_t_defined.
20901 [__FreeBSD__]: Likewise.
20902
20903 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20904
20905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20906 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20907 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20908 (strchr): Remove __strchr_sse42 ifunc selection.
20909 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20910 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20911
20912 2013-09-11 Will Newton <will.newton@linaro.org>
20913
20914 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20915 parameter to RES. Remove hardcoded 1000 value.
20916 * benchtests/bench-skeleton.c (main): Pass RES parameter
20917 to TIMING_INIT and multiply result by 1000.
20918
20919 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20920
20921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20922
20923 2013-09-11 Andreas Schwab <schwab@suse.de>
20924
20925 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20926 if not defined.
20927 (O_TMPFILE) [__USE_GNU]: Define.
20928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20929 Define.
20930
20931 2013-09-11 Will Newton <will.newton@linaro.org>
20932
20933 [BZ #15857]
20934 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20935 does not overflow.
20936
20937 2013-09-11 Will Newton <will.newton@linaro.org>
20938
20939 [BZ #15856]
20940 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20941 does not overflow.
20942
20943 2013-09-11 Will Newton <will.newton@linaro.org>
20944
20945 [BZ #15855]
20946 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20947 does not overflow.
20948
20949 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20950
20951 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20956
20957 2013-09-10 Allan McRae <allan@archlinux.org>
20958
20959 [BZ #15748]
20960 * manual/arith.texi (Parsing of Floats): Clarify
20961 cross-reference.
20962
20963 [BZ #15849]
20964 * manual/install.texi (Running make install): Mention
20965 --enable-pt-chown.
20966 * INSTALL: Regenerated.
20967
20968 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20969
20970 * csu/init-first.c (_init): Remove the !SHARED condition around
20971 FPU control word initialization.
20972 * elf/dl-support.c (_dl_fpu_control): New variable.
20973 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20974 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20975 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20976 * math/test-fpucw-static.c: New file.
20977 * math/test-fpucw-ieee.c: New file.
20978 * math/test-fpucw-ieee-static.c: New file.
20979 * math/Makefile (tests): Add `test-fpucw-ieee' and
20980 `$(tests-static)'.
20981 (tests-static): New variable.
20982 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20983 dependency to...
20984 [($(build-shared),yes)]
20985 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20986 ... this.
20987 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20988 New dependency.
20989
20990 2013-09-09 Allan McRae <allan@archlinux.org>
20991
20992 [BZ #15939]
20993 * manual/string.texi (Collation Functions): Fix typo in
20994 strcoll example.
20995 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20996
20997 [BZ #15893]
20998 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20999
21000 [BZ #15892]
21001 * libio/memstream.c (open_memstream): Fix memory leak.
21002 * libio/wmemstream.c (open_wmemstream): Likewise.
21003
21004 [BZ #15895]
21005 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21006
21007 2013-09-09 Will Newton <will.newton@linaro.org>
21008
21009 * malloc/Makefile: Add tst-realloc to tests.
21010 * malloc/tst-realloc.c: New file.
21011
21012 2013-09-09 Allan McRae <allan@archlinux.org>
21013
21014 [BZ #15844]
21015 * COPYING: Update from GNU website to fix FSF address.
21016 * COPYING.LIB: Likewise.
21017
21018 2013-09-06 David S. Miller <davem@davemloft.net>
21019
21020 * po/zh_TW.po: Update Chinese (traditional) translation from
21021 translation project.
21022
21023 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21024 Joseph Myers <joseph@codesourcery.com>
21025
21026 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21027 "localeinfo.h".
21028 (obstack_chunk_alloc): New macro.
21029 (obstack_chunk_free): Likewise.
21030 (record_offset): New function.
21031 (init_locale_data): Likewise.
21032 (align_locale_data): Likewise.
21033 (add_locale_empty): Likewise.
21034 (add_locale_raw_data): Likewise.
21035 (add_locale_raw_obstack): Likewise.
21036 (add_locale_string): Likewise.
21037 (add_locale_wstring): Likewise.
21038 (add_locale_uint32): Likewise.
21039 (add_locale_uint32_array): Likewise.
21040 (add_locale_char): Likewise.
21041 (start_locale_structure): Likewise.
21042 (end_locale_structure): Likewise.
21043 (start_locale_prelude): Likewise.
21044 (end_locale_prelude): Likewise.
21045 (write_locale_data): Take locale_file structure rather than an
21046 iovec.
21047 * locale/programs/locfile.h: Include "obstack.h".
21048 (struct locale_file): Change to store locale file contents instead
21049 of header.
21050 (init_locale_data): New prototype.
21051 (align_locale_data): Likewise.
21052 (add_locale_empty): Likewise.
21053 (add_locale_raw_data): Likewise.
21054 (add_locale_raw_obstack): Likewise.
21055 (add_locale_string): Likewise.
21056 (add_locale_wstring): Likewise.
21057 (add_locale_uint32): Likewise.
21058 (add_locale_uint32_array): Likewise.
21059 (add_locale_char): Likewise.
21060 (start_locale_structure): Likewise.
21061 (end_locale_structure): Likewise.
21062 (start_locale_prelude): Likewise.
21063 (end_locale_prelude): Likewise.
21064 (write_locale_data): Update prototype.
21065 * locale/programs/3level.h (struct TABLE): Remove result field.
21066 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21067 Use new locale_file interface.
21068 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21069 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21070 * locale/programs/ld-address.c (address_output): Use new
21071 locale_file interface.
21072 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21073 NO_ADD_LOCALE.
21074 (collate_finish): Don't call collseq_table_finalize.
21075 (collate_output): Use new locale_file interface.
21076 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21077 in file.
21078 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21079 (TABLE): Move defines earlier in file.
21080 (ELEMENT): Likewise.
21081 (DEFAULT): Likewise.
21082 (wctrans_table_add): Move macro and inline function earlier in
21083 file.
21084 (struct wctype_table): Move type earlier in file.
21085 (add_locale_wctype_table): New static prototype.
21086 (struct locale_ctype_t): Use logical types instead of struct iovec
21087 pointers for members.
21088 (ctype_output): Use new locale_file interface.
21089 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21090 new locale_file interface.
21091 (allocate_arrays): Update for use of new locale_file interface.
21092 * locale/programs/ld-identification.c (identification_output): Use
21093 new locale_file interface.
21094 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21095 * locale/programs/ld-messages.c (messages_output): Likewise.
21096 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21097 * locale/programs/ld-name.c (name_output): Likewise.
21098 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21099 * locale/programs/ld-paper.c (paper_output): Likewise.
21100 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21101 * locale/programs/ld-time.c (time_output): Likewise.
21102
21103 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21104
21105 * benchtests/Makefile: Add memrchr benchmark.
21106 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21107 benchmark as memrchr.
21108 * benchtests/bench-memrchr-ifunc.c: New file.
21109 * benchtests/bench-memrchr.c: New file.
21110
21111 2013-09-06 Will Newton <will.newton@linaro.org>
21112
21113 * benchtests/Makefile (string-bench): Add memcpy.
21114
21115 2013-09-05 Carlos O'Donell <carlos@redhat.com>
21116 Cong Wang <amwang@redhat.com>
21117
21118 [BZ #15850]
21119 * sysdeps/unix/sysv/linux/bits/in.h
21120 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21121 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21122 before __USE_KERNEL_IPV6_DEFS uses.
21123 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21124 IPPROTO_BEETPH.
21125 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21126 sockaddr_in6, or ipv6_mreq.
21127
21128 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21129
21130 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21131 memory access for final bytes in some large inputs.
21132 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21133
21134 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21135
21136 * string/test-memrchr.c: New file.
21137 * string/test-memrchr-ifunc.c: New file.
21138 * string/Makefile: Add new memrchr testcase.
21139
21140 2013-09-05 Mike Frysinger <vapier@gentoo.org>
21141
21142 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21143 fanotify_init returns EPERM.
21144
21145 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21146
21147 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21148 errors.
21149 (top level): Treat second token from macro or constant entries for
21150 allowed headers as allowed.
21151 * include/complex.h: Condition internal declarations on
21152 [!_ISOMAC].
21153 * include/fenv.h: Condition include of <stdbool.h> and internal
21154 declarations on [!_ISOMAC].
21155
21156 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21157
21158 [BZ #15923]
21159 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21160
21161 2013-09-04 Joseph Myers <joseph@codesourcery.com>
21162
21163 * configure.in (--enable-versioning): Remove configure option.
21164 (libc_cv_asm_symver_directive): Remove configure test.
21165 (libc_cv_ld_version_script_option): Likewise.
21166 (VERSIONING): Remove variable and AC_SUBST.
21167 (DO_VERSIONING): Remove AC_DEFINE.
21168 * configure: Regenerated.
21169 * config.h.in (DO_VERSIONING): Remove macro.
21170 * Makerules [$(versioning) = yes]: Change conditionals to
21171 [$(build-shared) = yes].
21172 * config.make.in (versioning): Remove variable.
21173 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21174 [$(build-shared) = yes].
21175 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21176 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21177 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21178 [$(build-shared) = yes].
21179 * extra-lib.mk [$(versioning) = yes]: Likewise.
21180 * hurd/Makefile [$(versioning) = yes]: Likewise.
21181 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21182 [SHARED].
21183 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21184 [SHARED].
21185 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21186 [SHARED && !NO_HIDDEN].
21187 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21188 [SHARED].
21189 [SHARED && DO_VERSIONING]: Likewise..
21190 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21191 [$(build-shared) = yes].
21192 * manual/install.texi (--disable-versioning): Remove
21193 documentation.
21194 * INSTALL: Regenerated.
21195 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21196 to [SHARED].
21197 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21198 [$(build-shared) = yes].
21199 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21200 * sysdeps/i386/i686/multiarch/strstr-c.c
21201 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21202 [SHARED && !NO_HIDDEN].
21203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21204 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21205 * sysdeps/powerpc/powerpc32/dl-machine.c
21206 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21207 * sysdeps/powerpc/powerpc32/sysdep.h
21208 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21209 to [SHARED && PIC && !NO_HIDDEN].
21210 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21211 conditional to [SHARED].
21212
21213 2013-09-04 Will Newton <will.newton@linaro.org>
21214
21215 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21216 * benchtests/bench-string.h: Include bench-timing.h instead
21217 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21218 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21219 call to HP_TIMING_DIFF_INIT.
21220 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21221 instead of hp-timing.h macros.
21222 * benchtests/bench-memchr.c: Likewise.
21223 * benchtests/bench-memcmp.c: Likewise.
21224 * benchtests/bench-memcpy.c: Likewise.
21225 * benchtests/bench-memmem.c: Likewise.
21226 * benchtests/bench-memmove.c: Likewise.
21227 * benchtests/bench-memset.c: Likewise.
21228 * benchtests/bench-rawmemchr.c: Likewise.
21229 * benchtests/bench-strcasecmp.c: Likewise.
21230 * benchtests/bench-strcasestr.c: Likewise.
21231 * benchtests/bench-strcat.c: Likewise.
21232 * benchtests/bench-strchr.c: Likewise.
21233 * benchtests/bench-strcmp.c: Likewise.
21234 * benchtests/bench-strcpy.c: Likewise.
21235 * benchtests/bench-strcpy_chk.c: Likewise.
21236 * benchtests/bench-strlen.c: Likewise.
21237 * benchtests/bench-strncasecmp.c: Likewise.
21238 * benchtests/bench-strncat.c: Likewise.
21239 * benchtests/bench-strncmp.c: Likewise.
21240 * benchtests/bench-strncpy.c: Likewise.
21241 * benchtests/bench-strnlen.c: Likewise.
21242 * benchtests/bench-strpbrk.c: Likewise.
21243 * benchtests/bench-strrchr.c: Likewise.
21244 * benchtests/bench-strspn.c: Likewise.
21245 * benchtests/bench-strstr.c: Likewise.
21246
21247 2013-09-04 Will Newton <will.newton@linaro.org>
21248
21249 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21250
21251 2013-09-03 Joseph Myers <joseph@codesourcery.com>
21252
21253 [BZ #15427]
21254 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21255 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21256 * math/libm-test.inc (lgamma_test_data): Add more tests.
21257 * sysdeps/i386/fpu/libm-test-ulps: Update.
21258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21259
21260 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
21261
21262 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21264 Add ifunc.
21265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21266 Add strcmp-sse2-unaligned
21267 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21268
21269 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21270
21271 * Versions.def (libc): Add GLIBC_2.19.
21272
21273 2013-09-02 Mike Frysinger <vapier@gentoo.org>
21274
21275 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21276 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21277
21278 2013-09-02 Joseph Myers <joseph@codesourcery.com>
21279
21280 [BZ #14155]
21281 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21282 intermediate calculations in recurrence.
21283 (__ieee754_ynf): Likewise.
21284 * math/libm-test.inc (jn_test_data): Do not allow spurious
21285 underflow exception. Add more tests.
21286 (yn_test_data): Add more tests.
21287 * sysdeps/i386/fpu/libm-test-ulps: Update.
21288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21289
21290 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
21291
21292 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21293
21294 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21295
21296 * csu/init-first.c: Fix then/than typos.
21297 * locale/programs/ld-collate.c: Likewise.
21298 * locale/programs/linereader.h: Likewise.
21299 * manual/charset.texi: Likewise.
21300 * manual/filesys.texi: Likewise.
21301 * manual/stdio.texi: Likewise.
21302 * manual/string.texi: Likewise.
21303 * stdlib/fmtmsg.c: Likewise.
21304 * sysdeps/i386/stpncpy.S: Likewise.
21305 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21306 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21307 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21308 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21309
21310 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21311
21312 * elf/dl-open.c: Fix typos.
21313 * iconvdata/gbbig5.c: Likewise.
21314 * iconvdata/iso-2022-jp.c: Likewise.
21315 * iconv/gconv_int.h: Likewise.
21316 * iconv/loop.c: Likewise.
21317 * nis/rpcsvc/nis.h: Likewise.
21318 * resolv/ns_name.c: Likewise.
21319 * stdio-common/vfscanf.c: Likewise.
21320 * streams/stropts.h: Likewise.
21321 * sunrpc/rpc_thread.c: Likewise.
21322 * sysdeps/i386/strpbrk.S: Likewise.
21323 * sysdeps/ieee754/k_standard.c: Likewise.
21324 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21326 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21327 * sysdeps/mach/hurd/profil.c: Likewise.
21328 * sysdeps/s390/dl-procinfo.h: Likewise.
21329 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21330 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21332 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21334
21335 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
21336
21337 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21339
21340 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21341
21342 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21343 aix specific files.
21344 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21345 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21346 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21347 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21348 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21349 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21350 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21351 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21352
21353 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21354 Roland McGrath <roland@hack.frob.com>
21355
21356 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21357 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21358
21359 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21360
21361 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21362 __executable_start symbol instead of _start.
21363
21364 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21365
21366 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21367 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21368 Move macros to...
21369 * sysdeps/gnu/ldsodefs.h: ... this new file.
21370
21371 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21372 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21373 instead of ELFOSABI_LINUX.
21374
21375 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21376 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21377 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21378 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21379 Likewise.
21380 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21381 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21382 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21383 Likewise.
21384 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21385 (ibm_extended_long_double): Add ieee_nan member.
21386 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21387 (do_test): New function.
21388
21389 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21390 TEST_TRUNC.
21391 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21392 functions, renamed from truncdfsf_test, trunctfsf_test,
21393 trunctfdf_test.
21394 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21395 functions.
21396 (do_test): Run all these.
21397
21398 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
21399
21400 * argp/argp-help.c: Fix typos.
21401 * argp/argp-parse.c: Likewise.
21402 * debug/backtracesyms.c: Likewise.
21403 * elf/elf.h: Likewise.
21404 * malloc/malloc.c: Likewise.
21405 * nis/nis_print.c: Likewise.
21406 * resolv/res_comp.c: Likewise.
21407 * stdlib/stdlib.h: Likewise.
21408 * sunrpc/clnt_tcp.c: Likewise.
21409 * sunrpc/clnt_udp.c: Likewise.
21410 * sunrpc/clnt_unix.c: Likewise.
21411 * sysdeps/unix/bsd/ptsname.c: Likewise.
21412 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21413 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21415 Likewise.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21417 Likewise.
21418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21419 Likewise.
21420 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21421
21422 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21423
21424 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21426
21427 2013-08-27 Mike Frysinger <vapier@gentoo.org>
21428
21429 [BZ #15897]
21430 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21431 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21432 ($(objpfx)bug-dl-leaf): New rule.
21433 ($(objpfx)bug-dl-leaf.so): Likewise.
21434 ($(objpfx)bug-dl-leaf.out): Likewise.
21435 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21436 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21437 * dlfcn/bug-dl-leaf.c: New test.
21438 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21439 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21440 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21441 (dlclose): Likewise.
21442 (dlmopen): Likewise.
21443
21444 2013-08-27 Roland McGrath <roland@hack.frob.com>
21445
21446 * include/netdb.h [!_ISOMAC]:
21447 Don't include <tls.h>.
21448 (h_errno, __libc_h_errno): Move declaration and macros out of
21449 [_LIBC_REENTRANT].
21450
21451 * include/resolv.h [_RESOLV_H_]:
21452 Don't include <tls.h>.
21453 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21454 * resolv/res_libc.c: Don't include <tls.h>.
21455 (_res): Use __attribute__ ((nocommon)) in place of
21456 __attribute__ ((section (".bss"))).
21457
21458 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21459 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21460
21461 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21462
21463 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21464 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21465
21466 * resolv/res_mkquery.c: Include <sys/time.h>.
21467
21468 * inet/ifreq.c: Moved to ...
21469 * sysdeps/unix/ifreq.c: ... here.
21470 * inet/ifreq.c: New file, true stub version.
21471
21472 * socket/sa_len.c: New file.
21473 * socket/Makefile (aux): Add it.
21474 * sysdeps/unix/sysv/linux/Makefile
21475 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21476 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21477 and #include <socket/sa_len.c>.
21478 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21479 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21480
21481 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21482 * bits/socket.h: ... here.
21483
21484 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21485 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21486 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21487
21488 2013-08-27 Andreas Schwab <schwab@suse.de>
21489
21490 [BZ #15736]
21491 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21492 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21493 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21494 * string/test-strcasecmp.c (test_main): Run tests in several
21495 locales.
21496 * string/test-strncasecmp.c (test_main): Likewise.
21497
21498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21499 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21500 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21502 (__strncasecmp_ssse3) [PIC]: Likewise.
21503
21504 2013-08-26 Roland McGrath <roland@hack.frob.com>
21505
21506 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21507
21508 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21509 instead of explicitly declaring xdecrypt.
21510 * nis/nss_nis/nis-publickey.c: Likewise.
21511
21512 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21513
21514 [BZ #15890]
21515 * nscd/aicache.c: Include res_hconf.h.
21516 (addhstaiX): Initialize res_hconf.
21517
21518 2013-08-26 Andreas Schwab <schwab@suse.de>
21519
21520 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21521 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21522
21523 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21524
21525 * nscd/aicache.c (addhstaiX): Fix indentation.
21526
21527 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21528
21529 * configure.ac: Quote $build_pt_chown test.
21530 * configure: Regenerated.
21531
21532 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21533
21534 [BZ #15532]
21535 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21536 * math/s_cexpf.c (__cexpf): Likewise.
21537 * math/s_cexpl.c (__cexpl): Likewise.
21538 * math/libm-test.inc (cexp_test_data): Correct expected return
21539 value for NaN + i0. Add another test.
21540
21541 2013-08-22 David S. Miller <davem@davemloft.net>
21542
21543 * po/ca.po: Update Catalan translation from translation project.
21544 * po/uk.po: Add Ukrainian translations from translation project.
21545
21546 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21547
21548 [BZ #15797]
21549 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21550 is infinite, not alongside NaN test.
21551 * math/s_fdimf.c (__fdimf): Likewise.
21552 * math/s_fdiml.c (__fdiml): Likewise.
21553 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21554 errno is unchanged.
21555
21556 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21557
21558 * argp/argp-help.c: Fix typos.
21559 * crypt/speeds.c: Likewise.
21560 * csu/check_fds.c: Likewise.
21561 * elf/dl-load.c: Likewise.
21562 * elf/dl-open.c: Likewise.
21563 * elf/reldep3.c: Likewise.
21564 * elf/reldep.c: Likewise.
21565 * elf/sprof.c: Likewise.
21566 * iconv/iconv_charmap.c: Likewise.
21567 * iconv/skeleton.c: Likewise.
21568 * iconv/strtab.c: Likewise.
21569 * io/lockf64.c: Likewise.
21570 * libio/libioP.h: Likewise.
21571 * resolv/gai_notify.c: Likewise.
21572 * resolv/ns_name.c: Likewise.
21573 * resolv/ns_samedomain.c: Likewise.
21574 * resolv/res_send.c: Likewise.
21575 * stdlib/random.c: Likewise.
21576 * sunrpc/rpc/xdr.h: Likewise.
21577 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21578 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21579 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21580 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21581 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21585 * sysdeps/mach/hurd/check_fds.c: Likewise.
21586 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21587 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21588 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21589 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21590 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21591 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21592 * sysdeps/pthread/aio_notify.c: Likewise.
21593 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21594 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21595 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21597 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21598
21599 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21600
21601 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21602 version if bit_Slow_SSE4_2 is set.
21603 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21604 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21605
21606 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21607
21608 [BZ #15867]
21609 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21610 trampoline stack frame information.
21611 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21613 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21614 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21615 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21616 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21617 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21618 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21619 sa_flags value.
21620 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21621 interrupting a syscall and set with option SA_SIGINFO.
21622
21623 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21624
21625 [BZ #15531]
21626 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21627 argument is infinite.
21628 * math/s_cprojf.c (__cprojf): Likewise.
21629 * math/s_cprojl.c (__cprojl): Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21631 * math/libm-test.inc (cproj_test_data): Add more tests.
21632
21633 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21634
21635 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21636 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21637 size. Use __ffs to determine corresponding shift.
21638
21639 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21640 Roland McGrath <roland@hack.frob.com>
21641
21642 * Makefile (INSTALL): Remove trailing blank lines from output of
21643 makeinfo.
21644
21645 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21646
21647 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21648 Align 32 bit compat elf_greg to 8 bytes.
21649
21650 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21651
21652 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21653
21654 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21655
21656 * string/strcoll_l.c (coll_seq): New structure.
21657 (get_next_seq_cached): New function.
21658 (get_next_seq): New function.
21659 (do_compare): New function.
21660 (STRCOLL): Use GNU style definition. Simplify implementation
21661 by using get_next_seq, get_next_seq_cached and do_compare.
21662
21663 2013-08-16 Florian Weimer <fweimer@redhat.com>
21664
21665 [BZ #14699]
21666 CVE-2013-4237
21667 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21668 member.
21669 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21670 member.
21671 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21672 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21673 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21674 conditional.
21675 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21676 GETDENTS_64BIT_ALIGNED.
21677 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21678 * manual/filesys.texi (Reading/Closing Directory): Document
21679 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21680 strongly.
21681 * manual/conf.texi (Limits for Files): Add portability note to
21682 NAME_MAX, PATH_MAX.
21683 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21684
21685 2013-08-13 Andreas Schwab <schwab@suse.de>
21686
21687 [BZ #15749]
21688 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21689 of fabs.
21690 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21691 LDBL_MAX_EXP >= 16384]: Add tests for it.
21692
21693 2013-08-12 David S. Miller <davem@davemloft.net>
21694
21695 * version.h (RELEASE): Set to "development".
21696 (VERSION): Set to "2.18.90".
21697 * NEWS: Add 2.19 section.
21698
21699 2013-08-03 David S. Miller <davem@davemloft.net>
21700
21701 * po/ko.po: Update Korean translation from translation project.
21702
21703 2013-08-01 David S. Miller <davem@davemloft.net>
21704
21705 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21706 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21707 Bilka.
21708
21709 2013-07-30 David S. Miller <davem@davemloft.net>
21710
21711 * po/fr.po: Update French translation from translation project.
21712
21713 2013-07-28 David S. Miller <davem@davemloft.net>
21714
21715 * po/cs.po: Update Czech translation from translation project.
21716
21717 * po/sv.po: Update Swedish translation from translation project.
21718
21719 2013-07-27 David S. Miller <davem@davemloft.net>
21720
21721 * po/eo.po: Update Esperanto translation from translation project.
21722
21723 * po/vi.po: Update Vietnamese translation from translation project.
21724
21725 * po/de.po: Update German translation from translation project.
21726
21727 2013-07-26 David S. Miller <davem@davemloft.net>
21728
21729 * po/bg.po: Update Bulgarian translation from translation project.
21730
21731 * po/nl.po: Update Dutch translation from translation project.
21732 * po/pl.po: Update Polish translation from translation project.
21733 * po/ru.po: Update Russian translation from translation project.
21734
21735 2013-07-24 David S. Miller <davem@davemloft.net>
21736
21737 * po/libc.pot: Update.
21738
21739 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21740
21741 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21742 variable page size.
21743 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21744 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21745 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21746
21747 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21748
21749 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21750
21751 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21752 Andreas Schwab <schwab@suse.de>
21753 Roland McGrath <roland@hack.frob.com>
21754 Joseph Myers <joseph@codesourcery.com>
21755 Carlos O'Donell <carlos@redhat.com>
21756
21757 [BZ #15755]
21758 * config.h.in: Define HAVE_PT_CHOWN.
21759 * config.make.in (build-pt-chown): New variable.
21760 * configure.in (--enable-pt_chown): New configure option.
21761 * configure: Regenerate.
21762 * login/Makefile: Include Makeconfig. Build pt_chown only if
21763 build-pt-chown is enabled.
21764 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21765 pt_chown to fix pty ownership.
21766 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21767 CLOSE_ALL_FDS.
21768 * manual/install.texi (Configuring and compiling): Mention
21769 --enable-pt_chown. Add @findex for grantpt.
21770 * INSTALL: Regenerate.
21771
21772 2013-07-20 David S. Miller <davem@davemloft.net>
21773
21774 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21775 difference between 32-bit and 64-bit.
21776
21777 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21778
21779 [BZ #15711]
21780 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21781 Avoid system header dependency with -ffreestanding.
21782 ($(objpfx)bits/syscall%d): Likewise.
21783
21784 2013-07-13 David S. Miller <davem@davemloft.net>
21785
21786 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21787 underflows from atanl/atan2l due to bug 15319.
21788 (casinh_test_data): Likewise.
21789
21790 2013-07-07 David S. Miller <davem@davemloft.net>
21791
21792 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21793
21794 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21795
21796 * sysdeps/i386/fpu/libm-test-ulps: Update.
21797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21798
21799 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21800
21801 * configure.in (--enable-lock-elision): Fix message text.
21802 * INSTALL: Regenerate.
21803 * configure: Regenerate.
21804
21805 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21806
21807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21808
21809 2013-07-03 Andreas Jaeger <aj@suse.de>
21810
21811 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21812 define.
21813 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21814 (ptrace_peeksiginfo_args): Add.
21815 (__ptrace_peeksiginfo_flags): Add.
21816 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21818 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21819
21820 2013-07-03 Allan McRae <allan@archlinux.org>
21821
21822 * sysdeps/i386/fpu/libm-test-ulps: Update.
21823
21824 2013-07-02 David S. Miller <davem@davemloft.net>
21825
21826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21827
21828 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21829
21830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21831
21832 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21833
21834 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836
21837 2013-07-02 Andi Kleen <ak@linux.intel.com>
21838
21839 * config.h.in (ENABLE_LOCK_ELISION): Add.
21840 * configure.in (--enable-lock-elision): Add option.
21841 * manual/install.texi: Document --enable lock elision.
21842 * configure: Regenerate
21843 * INSTALL: Regenerate.
21844
21845 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21846
21847 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21848 SSE4.2 strcasecmp for libc.a.
21849 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21850
21851 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21852
21853 [BZ #13304]
21854 * soft-fp/op-common.h (_FP_FMA): New macro.
21855 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21856 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21857 (_FP_MUL_MEAT_1_imm): ... here.
21858 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21859 (_FP_MUL_MEAT_1_wide): ... here.
21860 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21861 (_FP_MUL_MEAT_1_hard): ... here.
21862 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21863 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21864 (_FP_MUL_MEAT_2_wide): ... here.
21865 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21866 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21867 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21868 (_FP_MUL_MEAT_2_gmp): ... here.
21869 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21870 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21871 (_FP_MUL_MEAT_4_wide): ... here.
21872 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21873 (_FP_MUL_MEAT_4_gmp): ... here.
21874 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21875 (_FP_WFRACBITS_DW_S): Likewise.
21876 (_FP_WFRACXBITS_DW_S): Likewise.
21877 (_FP_HIGHBIT_DW_S): Likewise.
21878 (FP_FMA_S): Likewise.
21879 (_FP_FRAC_HIGH_DW_S): Likewise.
21880 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21881 (_FP_WFRACBITS_DW_D): Likewise.
21882 (_FP_WFRACXBITS_DW_D): Likewise.
21883 (_FP_HIGHBIT_DW_D): Likewise.
21884 (FP_FMA_D): Likewise.
21885 (_FP_FRAC_HIGH_DW_D): Likewise.
21886 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21887 (_FP_WFRACBITS_DW_E): Likewise.
21888 (_FP_WFRACXBITS_DW_E): Likewise.
21889 (_FP_HIGHBIT_DW_E): Likewise.
21890 (FP_FMA_E): Likewise.
21891 (_FP_FRAC_HIGH_DW_E): Likewise.
21892 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21893 (_FP_WFRACBITS_DW_Q): Likewise.
21894 (_FP_WFRACXBITS_DW_Q): Likewise.
21895 (_FP_HIGHBIT_DW_Q): Likewise.
21896 (FP_FMA_Q): Likewise.
21897 (_FP_FRAC_HIGH_DW_Q): Likewise.
21898 * soft-fp/fmasf4.c: New file.
21899 * soft-fp/fmadf4.c: Likewise.
21900 * soft-fp/fmatf4.c: Likewise.
21901
21902 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21903
21904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21905 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21906 Silvermont.
21907 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21908 macro.
21909 (index_Slow_SSE4_2): Likewise.
21910 (index_Prefer_PMINUB_for_stringop): Likewise.
21911 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21912 bit_Slow_SSE4_2 is set.
21913 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21914 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21915
21916 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21917
21918 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21919 rtld_global._dl_hwcap2.
21920 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21921 POWER8.
21922 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21923 POWER8 feature descriptions defined in _dl_hwcap2.
21924 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21925 string handling for POWER8 feature bits.
21926 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21927 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21928 _dl_powerpc_cap_flags.
21929 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21930 * sysdeps/powerpc/rtld-global-offsets.sym
21931 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21932 _dl_hwcap2 in the rtld_global_ro structure.
21933
21934 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21935
21936 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21937 hardware capabilities in support of AT_HWCAP2.
21938 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21939 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21940 GLRO(dl_hwcap2).
21941 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21942 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21943 explicitly the unknown a_type display mechanism is used.
21944 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21945 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21946 struct member.
21947 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21948 to macro prototype for AT_HWCAP2 support.
21949 * sysdeps/i386/dl-procinfo.h: Likewise.
21950 * sysdeps/s390/dl-procinfo.h: Likewise.
21951 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21952 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21953 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21954 return -1 for unknown a_type display fallback.
21955 * sysdeps/sparc/dl-procinfo.h: Likewise.
21956 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21957 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21958
21959 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21960
21961 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21962 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21963
21964 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21965
21966 [BZ #12492]
21967 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21968 mprotect making __stack_prot writable.
21969
21970 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21971 Joseph Myers <joseph@codesourcery.com>
21972
21973 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21974 as being properly aligned.
21975
21976 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21977
21978 * dlfcn/modstatic5.c: New file.
21979 * dlfcn/tststatic5.c: New file.
21980 * dlfcn/Makefile (tests): Add tststatic5.
21981 (tests-static): Likewise.
21982 (modules-names): Add modstatic5.
21983 (tststatic5-ENV): New variable.
21984 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21985
21986 [BZ #15022]
21987 * elf/dl-support.c (_dl_main_map): New variable.
21988 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21989 (_dl_nns, _dl_load_adds): Set to 1.
21990 (_dl_initial_searchlist): Refer to _dl_main_map.
21991 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21992 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21993 call to _dl_get_origin.
21994 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21995 around call_map.
21996 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21997 * dlfcn/modstatic3.c: New file.
21998 * dlfcn/tststatic3.c: New file.
21999 * dlfcn/tststatic4.c: New file.
22000 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22001 (tests-static): Likewise.
22002 (modules-names): Add modstatic3.
22003 (tststatic3-ENV, tststatic4-ENV): New variables.
22004 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22005 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22006
22007 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22008
22009 * configure.in (CC): Require GCC version 4.4 or later.
22010 * configure: Regenerated.
22011 * manual/install.texi (Tools for Compilation): Update GCC version
22012 requirement.
22013 * INSTALL: Regenerated.
22014
22015 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22016
22017 [BZ #15674]
22018 * string/test-memcmp.c (check2): New.
22019 (main): Call check2.
22020
22021 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22022
22023 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22024
22025 [BZ #15022]
22026 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22027 over to...
22028 (dl_open_worker) [!SHARED]: ... here.
22029
22030 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22031
22032 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22033
22034 2013-06-25 Richard Henderson <rth@redhat.com>
22035
22036 * locale/programs/locarchive.c: Include <libc-internal.h>
22037
22038 2013-06-25 Joseph Myers <joseph@codesourcery.com>
22039
22040 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22041 trailing whitespace removed.
22042
22043 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22044
22045 [BZ #10283]
22046 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22047 * locale/programs/locarchive.c: Include libc-mmap.h.
22048 (prepare_address_space): Take two new outputs (the mmap base and len).
22049 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22050 values.
22051 (create_archive): Declare new mmap base and len values for
22052 prepare_address_space, and store the result in ah.
22053 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22054 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22055 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22056 Declare new mmap base and len values for
22057 prepare_address_space, and store the result in new_ah.
22058 (open_archive): Declare new mmap base and len values for
22059 prepare_address_space, and store the result in ah.
22060 (close_archive): If ah->mmap_base is not NULL, use that and
22061 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22062 * sysdeps/generic/libc-mmap.h: New file.
22063
22064 2013-06-24 Mike Frysinger <vapier@gentoo.org>
22065
22066 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22067 (ALIGN_UP): Likewise.
22068 (PTR_ALIGN_DOWN): Likewise.
22069 (PTR_ALIGN_UP): Likewise.
22070
22071 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22072
22073 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22074 entry mapped to PPC_PLATFORM_POWER8.
22075 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22076 POWER8.
22077 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22078 (_dl_string_platform): Add case for exporting platform position for
22079 POWER8.
22080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22081 search path to sysdeps/powerpc/powerpc32/power8 directory.
22082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22083 search path to sysdeps/powerpc/powerpc64/power8 directory.
22084 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22085 power7 directories.
22086 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22087 power7 directories.
22088
22089 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22090
22091 * INSTALL: Regenerate.
22092
22093 * nscd/connections.c (nscd_init): Fix comment.
22094
22095 2013-06-22 Joseph Myers <joseph@codesourcery.com>
22096
22097 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22098
22099 [BZ #15667]
22100 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22101 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22102
22103 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22104
22105 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22106 DL_DST_REQ_STATIC.
22107 (DL_DST_REQ_STATIC): Remove macro.
22108
22109 2013-06-21 Joseph Myers <joseph@codesourcery.com>
22110
22111 [BZ #7006]
22112 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22113 with a shift of 0 bits.
22114
22115 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22116
22117 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22118 $(tststatic-ENV).
22119
22120 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22121
22122 [BZ #15655]
22123 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22124
22125 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22126
22127 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22128 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22129 accepts -fno-tree-loop-distribute-patterns.
22130 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22131 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22132 recursive call.
22133 * string/memset.c (memset): Likewise.
22134 * string/test-memmove.c (simple_memmove): Disable loop transformation
22135 to library calls.
22136 * string/test-memset.c (simple_memset): Likewise.
22137 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22138 * benchtests/bench-memset.c (simple_memset): Likewise.
22139 * configure: Regenerated.
22140
22141 2013-06-20 Joseph Myers <joseph@codesourcery.com>
22142
22143 * math/test-misc.c (main): Ignore fesetround failure when failures
22144 of subsequent rounding tests would be ignored.
22145
22146 [BZ #15654]
22147 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22148 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22149 * math/fegetenv.c (__fegetenv): Return 0.
22150 * math/fegetexcept.c (fegetexcept): Return 0.
22151 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22152 FE_TONEAREST.
22153 * math/feholdexcpt.c (feholdexcept): Return 0.
22154 * math/fesetenv.c (__fesetenv): Return 0.
22155 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22156 argument FE_TONEAREST.
22157 * math/feupdateenv.c (__feupdateenv): Return 0.
22158 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22159
22160 2013-06-18 Roland McGrath <roland@hack.frob.com>
22161
22162 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22163 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22164 ($(objpfx)rtld-%.os rules): Use them.
22165
22166 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22167
22168 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22169 fields.
22170
22171 2013-06-17 Roland McGrath <roland@hack.frob.com>
22172
22173 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22174 length of target pattern, then descending length of dependency pattern.
22175 * configure.in (AWK): Require gawk 3.1.2 or newer.
22176 * manual/install.texi (Tools for Compilation): Say that we do.
22177 * configure: Regenerated.
22178
22179 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22180 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22181 * scripts/sysd-rules.awk: ... this new script.
22182 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22183 than a glob-style pattern.
22184
22185 2013-06-17 Joseph Myers <joseph@codesourcery.com>
22186
22187 * math/test-misc.c (main): Do not treat incorrectly rounded
22188 conversions as failure unless ROUNDING_TESTS passes.
22189
22190 2013-06-15 Joseph Myers <joseph@codesourcery.com>
22191
22192 [BZ #15631]
22193 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22194 restore exception state around main square root computation, then
22195 check for inexactness explicitly.
22196
22197 * math/libm-test.inc (fma_test_data): Add another test.
22198
22199 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22200
22201 * manual/threads.texi (Non-POSIX Extensions): New document
22202 node. Document pthread_getattr_default_np and
22203 pthread_setattr_default_np.
22204
22205 * Versions.def (libpthread): Add GLIBC_2.18.
22206 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22208 Likewise.
22209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22210 Likewise.
22211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22212 Likewise.
22213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22214 Likewise.
22215 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22216 Likewise.
22217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22218 Likewise.
22219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22220 Likewise.
22221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22222 Likewise.
22223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22224 Likewise.
22225
22226 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22227
22228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22229 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22230
22231 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22232 H.J. Lu <hjl.tools@gmail.com>
22233
22234 [BZ #15627]
22235 * sysdeps/x86_64/rtld-memset.c: Remove file.
22236 * sysdeps/x86_64/rtld-memset.S: New file.
22237
22238 2013-06-14 Joseph Myers <joseph@codesourcery.com>
22239
22240 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22241 (test_in_one_mode): Take arguments for whether the rounding mode
22242 is supported for each floating-point type.
22243 (do_test): Pass new arguments to test_in_one_mode using
22244 ROUNDING_TESTS.
22245
22246 2013-06-13 Roland McGrath <roland@hack.frob.com>
22247
22248 * posix/tst-waitid.c (do_test): Distinguish different instances of
22249 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22250 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22251 before entering the kernel for waitpid.
22252
22253 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22254
22255 * NEWS: Fix note on clock function precision. Text by Roland
22256 McGrath.
22257
22258 2013-06-13 Roland McGrath <roland@hack.frob.com>
22259
22260 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22261 it into place only when and if the sanity check passes.
22262
22263 2013-06-13 Joseph Myers <joseph@codesourcery.com>
22264
22265 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22266 output for whether conversion result is exact. Take argument
22267 indicating whether type is IBM long double.
22268 (round_for_all): Change need_exact field to ibm_ld.
22269 * stdlib/tst-strtod-round.c (struct exactness): New type.
22270 (struct test): Change bool ld_ok field to struct exactness exact.
22271 (TEST): Update all definitions for change to field.
22272 (tests): Regenerate array contents.
22273 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22274 field value. Check for IBM long double here.
22275 (do_test): Update calls to test_in_one_mode.
22276
22277 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22278
22279 [BZ #12515]
22280 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22281 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22282
22283 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22284
22285 [BZ #15605]
22286 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22287 generated by the compiler on loop optimizations.
22288 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22289 general definitions.
22290
22291 2013-06-12 Joseph Myers <joseph@codesourcery.com>
22292
22293 * math/bug-nextafter.c: Include <math-tests.h>.
22294 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22295 the relevant type.
22296 * math/bug-nexttoward.c: Include <math-tests.h>.
22297 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22298 the relevant type.
22299 * math/test-misc.c: Include <math-tests.h>.
22300 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22301 the relevant type.
22302
22303 2013-06-12 Andreas Jaeger <aj@suse.de>
22304
22305 * po/ia.po: Update Interlingua translation from translation
22306 project.
22307
22308 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22309
22310 * include/fenv.h: Include stdbool.h.
22311 (struct rm_ctx): New structure.
22312 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22313 Define macro.
22314 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22315 (SET_RESTORE_ROUNDF): Likewise.
22316 (SET_RESTORE_ROUNDL): Likewise.
22317 (SET_RESTORE_ROUND_NOEX): Likewise.
22318 (SET_RESTORE_ROUND_NOEXF): Likewise.
22319 (SET_RESTORE_ROUND_NOEXL): Likewise.
22320 (SET_RESTORE_ROUND_53BIT): Likewise.
22321 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22322 (libc_feresetround_noexf_ctx): Likewise.
22323 (libc_feresetround_noexl_ctx): Likewise.
22324 (libc_feholdsetround_53bit_ctx): Likewise.
22325 (libc_feresetround_53bit_ctx): Likewise.
22326 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22327 (libc_feholdexcept_setround_sse_ctx): New function.
22328 (libc_fesetenv_sse_ctx): Likewise.
22329 (libc_feupdateenv_sse_ctx): Likewise.
22330 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22331 (libc_feholdexcept_setround_387_ctx): Likewise.
22332 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22333 (libc_feholdsetround_387_prec_ctx): Likewise.
22334 (libc_feholdsetround_387_ctx): Likewise.
22335 (libc_feholdsetround_387_53bit_ctx): Likewise.
22336 (libc_feholdsetround_sse_ctx): Likewise.
22337 (libc_feresetround_sse_ctx): Likewise.
22338 (libc_feresetround_387_ctx): Likewise.
22339 (libc_feupdateenv_387_ctx): Likewise.
22340 (libc_feholdexcept_setroundf_ctx): Define macro.
22341 (libc_fesetenvf_ctx): Likewise.
22342 (libc_feupdateenvf_ctx): Likewise.
22343 (libc_feholdsetroundf_ctx): Likewise.
22344 (libc_feresetroundf_ctx): Likewise.
22345 (libc_feholdexcept_setround_ctx): Likewise.
22346 (libc_fesetenv_ctx): Likewise.
22347 (libc_feupdateenv_ctx): Likewise.
22348 (libc_feholdsetround_ctx): Likewise.
22349 (libc_feresetround_ctx): Likewise.
22350 (libc_feholdexcept_setroundl_ctx): Likewise.
22351 (libc_feupdateenvl_ctx): Likewise.
22352 (libc_feholdsetroundl_ctx): Likewise.
22353 (libc_feresetroundl_ctx): Likewise.
22354 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22355 (libc_feresetround_53bit_ctx): Likewise.
22356
22357 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22358
22359 * locale/iso-639.def: Convert to UTF-8.
22360
22361 2013-06-11 Joseph Myers <joseph@codesourcery.com>
22362
22363 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22364 (EXCEPTION_TESTS_double): Likewise.
22365 (EXCEPTION_TESTS_long_double): Likewise.
22366 (EXCEPTION_TESTS): Likewise.
22367 * math/libm-test.inc (test_exceptions): Only test exceptions if
22368 EXCEPTION_TESTS (FLOAT).
22369
22370 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22371
22372 * benchtests/Makefile (string-bench): Add strcpy_chk and
22373 stpcpy_chk.
22374 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22375 * benchtests/bench-stpcpy_chk.c: New file.
22376 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22377 * benchtests/bench-strcpy_chk.c: New file.
22378 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22379 code.
22380 (do_test): Likewise.
22381
22382 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22383
22384 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22385 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22386 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22387 with tabs where appropriate.
22388 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22389 dl-procinfo.h.
22390 [PPC_PLATFORM_PPC440]: Likewise.
22391 [PPC_PLATFORM_PPC464]: Likewise.
22392 [PPC_PLATFORM_PPC476]: Likewise.
22393 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22394 ppc464, and ppc476 platform strings merging from ports/
22395 dl-procinfo.h.
22396
22397 2013-06-11 Andreas Schwab <schwab@suse.de>
22398
22399 [BZ #14991]
22400 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22401 (from_ucs4_idx): Regenerate.
22402 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22403 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22404 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22405 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22406 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22407 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22408 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22409 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22410 from FROM_LOOP and TO_LOOP specific macros.
22411 (BODY): Handle combining characters.
22412 * iconvdata/BIG5HKSCS.irreversible: Update.
22413 * iconvdata/BIG5HKSCS.precomposed: New file.
22414 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22415 characters.
22416 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22417
22418 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22419
22420 * include/sys/time.h: Fix indentation and add copyright header.
22421
22422 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22423 (do_test): Likewise.
22424 * string/test-memchr.c (do_one_test): Likewise.
22425 (do_test): Likewise.
22426 * string/test-memcmp.c (do_one_test): Likewise.
22427 (do_test): Likewise.
22428 * string/test-memcpy.c (do_one_test): Likewise.
22429 (do_test): Likewise.
22430 * string/test-memmem.c (do_one_test): Likewise.
22431 (do_test): Likewise.
22432 (do_random_tests): Likewise.
22433 * string/test-memmove.c (do_one_test): Likewise.
22434 (do_test): Likewise.
22435 * string/test-memset.c (do_one_test): Likewise.
22436 (do_test): Likewise.
22437 * string/test-rawmemchr.c (do_one_test): Likewise.
22438 (do_test): Likewise.
22439 * string/test-strcasecmp.c (do_one_test): Likewise.
22440 (do_test): Likewise.
22441 * string/test-strcasestr.c (do_one_test): Likewise.
22442 (do_test): Likewise.
22443 * string/test-strcat.c (do_one_test): Likewise.
22444 (do_test): Likewise.
22445 * string/test-strchr.c (do_one_test): Likewise.
22446 (do_test): Likewise.
22447 * string/test-strcmp.c (do_one_test): Likewise.
22448 (do_test): Likewise.
22449 * string/test-strcpy.c (do_one_test): Likewise.
22450 (do_test): Likewise.
22451 * string/test-string.h: Likewise.
22452 (test_init): Likewise.
22453 * string/test-strlen.c (do_one_test): Likewise.
22454 (do_test): Likewise.
22455 * string/test-strncasecmp.c (do_one_test): Likewise.
22456 (do_test): Likewise.
22457 * string/test-strncat.c (do_one_test): Likewise.
22458 (do_test): Likewise.
22459 * string/test-strncmp.c (do_one_test): Likewise.
22460 (do_test_limit): Likewise.
22461 (do_test): Likewise.
22462 * string/test-strncpy.c (do_one_test): Likewise.
22463 (do_test): Likewise.
22464 * string/test-strnlen.c (do_one_test): Likewise.
22465 (do_test): Likewise.
22466 * string/test-strpbrk.c (do_one_test): Likewise.
22467 (do_test): Likewise.
22468 * string/test-strrchr.c (do_one_test): Likewise.
22469 (do_test): Likewise.
22470 * string/test-strspn.c (do_one_test): Likewise.
22471 (do_test): Likewise.
22472 * string/test-strstr.c (do_one_test): Likewise.
22473 (do_test): Likewise.
22474
22475 * benchtests/Makefile (string-bench): Add string benchmarks.
22476 * benchtests/bench-bcopy-ifunc.c: New file.
22477 * benchtests/bench-bcopy.c: New file.
22478 * benchtests/bench-bzero-ifunc.c: New file.
22479 * benchtests/bench-bzero.c: New file.
22480 * benchtests/bench-memccpy-ifunc.c: New file.
22481 * benchtests/bench-memccpy.c: New file.
22482 * benchtests/bench-memchr-ifunc.c: New file.
22483 * benchtests/bench-memchr.c: New file.
22484 * benchtests/bench-memcmp-ifunc.c: New file.
22485 * benchtests/bench-memcmp.c: New file.
22486 * benchtests/bench-memmem-ifunc.c: New file.
22487 * benchtests/bench-memmem.c: New file.
22488 * benchtests/bench-memmove-ifunc.c: New file.
22489 * benchtests/bench-memmove.c: New file.
22490 * benchtests/bench-mempcpy-ifunc.c: New file.
22491 * benchtests/bench-mempcpy.c: New file.
22492 * benchtests/bench-memset-ifunc.c: New file.
22493 * benchtests/bench-memset.c: New file.
22494 * benchtests/bench-rawmemchr-ifunc.c: New file.
22495 * benchtests/bench-rawmemchr.c: New file.
22496 * benchtests/bench-stpcpy-ifunc.c: New file.
22497 * benchtests/bench-stpcpy.c: New file.
22498 * benchtests/bench-stpncpy-ifunc.c: New file.
22499 * benchtests/bench-stpncpy.c: New file.
22500 * benchtests/bench-strcasecmp-ifunc.c: New file.
22501 * benchtests/bench-strcasecmp.c: New file.
22502 * benchtests/bench-strcasestr-ifunc.c: New file.
22503 * benchtests/bench-strcasestr.c: New file.
22504 * benchtests/bench-strcat-ifunc.c: New file.
22505 * benchtests/bench-strcat.c: New file.
22506 * benchtests/bench-strchr-ifunc.c: New file.
22507 * benchtests/bench-strchr.c: New file.
22508 * benchtests/bench-strchrnul-ifunc.c: New file.
22509 * benchtests/bench-strchrnul.c: New file.
22510 * benchtests/bench-strcmp-ifunc.c: New file.
22511 * benchtests/bench-strcmp.c: New file.
22512 * benchtests/bench-strcpy-ifunc.c: New file.
22513 * benchtests/bench-strcpy.c: New file.
22514 * benchtests/bench-strcspn-ifunc.c: New file.
22515 * benchtests/bench-strcspn.c: New file.
22516 * benchtests/bench-strlen-ifunc.c: New file.
22517 * benchtests/bench-strlen.c: New file.
22518 * benchtests/bench-strncasecmp-ifunc.c: New file.
22519 * benchtests/bench-strncasecmp.c: New file.
22520 * benchtests/bench-strncat-ifunc.c: New file.
22521 * benchtests/bench-strncat.c: New file.
22522 * benchtests/bench-strncmp-ifunc.c: New file.
22523 * benchtests/bench-strncmp.c: New file.
22524 * benchtests/bench-strncpy-ifunc.c: New file.
22525 * benchtests/bench-strncpy.c: New file.
22526 * benchtests/bench-strnlen-ifunc.c: New file.
22527 * benchtests/bench-strnlen.c: New file.
22528 * benchtests/bench-strpbrk-ifunc.c: New file.
22529 * benchtests/bench-strpbrk.c: New file.
22530 * benchtests/bench-strrchr-ifunc.c: New file.
22531 * benchtests/bench-strrchr.c: New file.
22532 * benchtests/bench-strspn-ifunc.c: New file.
22533 * benchtests/bench-strspn.c: New file.
22534 * benchtests/bench-strstr-ifunc.c: New file.
22535 * benchtests/bench-strstr.c: New file.
22536
22537 * benchtests/Makefile: Disable parallel execution of targets.
22538 (string-bench): Add memcpy.
22539 (benchset): New variable to store a list of benchmark sets.
22540 (bench-func): Renamed from bench.
22541 (bench-set): New target.
22542 (bench): Depend on bench-func and bench-set.
22543 * benchtests/README: Add section on benchmark sets.
22544 * benchtests/bench-memcpy-ifunc.c: New file.
22545 * benchtests/bench-memcpy.c: New file.
22546 * benchtests/bench-string.h: New file.
22547
22548 2013-06-11 Andreas Schwab <schwab@suse.de>
22549
22550 [BZ #15577]
22551 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22552 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22553 values in the triple.
22554 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22555 terminator in the group key.
22556
22557 2013-06-11 Andreas Jaeger <aj@suse.de>
22558
22559 * po/zh_TW.po: Update Chinese (traditional) translation from
22560 translation project.
22561
22562 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22563
22564 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22565 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22566 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22567 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22568 (clock_getcpuclockid): Likewise.
22569 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22570 Add weak_alias and libc_hidden_def.
22571 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22572 * rt/clock_gettime.c (clock_gettime): Rename to
22573 __clock_gettime. Add weak_alias and libc_hidden_def.
22574 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22575 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22576 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22577 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22578 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22579 Likewise.
22580 * rt/clock_settime.c (clock_settime): Rename to
22581 __clock_settime. Add weak_alias and libc_hidden_def.
22582 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22583
22584 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22585
22586 * mach/err_boot.sub: Remove trailing whitespace.
22587 * mach/err_ipc.sub: Likewise.
22588 * mach/err_mach.sub: Likewise.
22589
22590 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22591 (ROUNDING_TESTS_double): Likewise.
22592 (ROUNDING_TESTS_long_double): Likewise.
22593 (ROUNDING_TESTS): Likewise.
22594 * math/libm-test.inc: Include <math-tests.h>.
22595 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22596 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22597 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22598 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22599
22600 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22601
22602 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22603 of assigning.
22604
22605 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22606
22607 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22608 otherwise empty TRANS lines.
22609 * sysdeps/gnu/errlist.c: Regenerated.
22610
22611 * catgets/gencat.c (error_print): Use (void) in function
22612 definition.
22613 * crypt/crypt_util.c (__init_des): Likewise.
22614 * crypt/speeds.c (Stop): Likewise.
22615 (main): Likewise.
22616 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22617 * inet/ruserpass.c (token): Likewise.
22618 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22619 * intl/localealias.c (extend_alias_table): Likewise.
22620 * intl/plural-exp.c (init_germanic_plural): Likewise.
22621 * libio/fcloseall.c (__fcloseall): Likewise.
22622 * libio/genops.c (_IO_flush_all): Likewise.
22623 (_IO_flush_all_linebuffered): Likewise.
22624 (_IO_cleanup): Likewise.
22625 (_IO_iter_begin): Likewise.
22626 (_IO_iter_end): Likewise.
22627 (_IO_list_lock): Likewise.
22628 (_IO_list_unlock): Likewise.
22629 (_IO_list_resetlock): Likewise.
22630 * libio/getchar.c (getchar): Likewise.
22631 * libio/getchar_u.c (getchar_unlocked): Likewise.
22632 * libio/getwchar.c (getwchar): Likewise.
22633 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22634 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22635 * login/getpt.c (__getpt): Likewise.
22636 * login/tst-utmp.c (main): Likewise.
22637 * malloc/hooks.c (__malloc_check_init): Likewise.
22638 * malloc/malloc.c (__malloc_stats): Likewise.
22639 * malloc/mtrace.c (tr_break): Likewise.
22640 (mtrace): Likewise.
22641 (muntrace): Likewise.
22642 * misc/fstab.c (endfsent): Likewise.
22643 * misc/getclktck.c (__getclktck): Likewise.
22644 * misc/getdtsz.c (__getdtablesize): Likewise.
22645 * misc/gethostid.c (gethostid): Likewise.
22646 * misc/getpagesize.c (__getpagesize): Likewise.
22647 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22648 (__get_nprocs): Likewise.
22649 (__get_phys_pages): Likewise.
22650 (__get_avphys_pages): Likewise.
22651 * misc/getttyent.c (getttyent): Likewise.
22652 (setttyent): Likewise.
22653 (endttyent): Likewise.
22654 * misc/getusershell.c (getusershell): Likewise.
22655 (endusershell): Likewise.
22656 (setusershell): Likewise.
22657 (initshells): Likewise.
22658 * misc/hsearch.c (__hdestroy): Likewise.
22659 * misc/sync.c (sync): Likewise.
22660 * misc/syslog.c (closelog_internal): Likewise.
22661 (closelog): Likewise.
22662 * misc/ttyslot.c (ttyslot): Likewise.
22663 * misc/vhangup.c (vhangup): Likewise.
22664 * posix/fork.c (__fork): Likewise.
22665 * posix/getegid.c (__getegid): Likewise.
22666 * posix/geteuid.c (__geteuid): Likewise.
22667 * posix/getgid.c (__getgid): Likewise.
22668 * posix/getpid.c (__getpid): Likewise.
22669 * posix/getppid.c (__getppid): Likewise.
22670 * posix/getuid.c (__getuid): Likewise.
22671 * posix/pause.c (pause): Likewise.
22672 * posix/setpgrp.c (setpgrp): Likewise.
22673 * posix/setsid.c (__setsid): Likewise.
22674 * posix/test-vfork.c (noop): Likewise.
22675 * resolv/gethnamaddr.c (_endhtent): Likewise.
22676 (_gethtent): Likewise.
22677 (ht_endhostent): Likewise.
22678 (gethostent): Likewise.
22679 (dns_service): Likewise.
22680 * stdlib/drand48.c (drand48): Likewise.
22681 * stdlib/lrand48.c (lrand48): Likewise.
22682 * stdlib/mrand48.c (mrand48): Likewise.
22683 * stdlib/rand.c (rand): Likewise.
22684 * stdlib/random.c (__random): Likewise.
22685 * stdlib/setenv.c (clearenv): Likewise.
22686 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22687 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22688 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22689 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22690 (__get_nprocs): Likewise.
22691 (__get_phys_pages): Likewise.
22692 (__get_avphys_pages): Likewise.
22693 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22694 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22695 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22696 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22697 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22698 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22699 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22700 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22701 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22702 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22703 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22704 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22705 * sysdeps/posix/clock.c (clock): Likewise.
22706 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22707 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22708 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22709 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22710 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22712 (__get_nprocs_conf): Likewise.
22713 (__get_phys_pages): Likewise.
22714 (__get_avphys_pages): Likewise.
22715 * time/clock.c (clock): Likewise.
22716 * time/tzset.c (__tzname_max): Likewise.
22717
22718 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22719
22720 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22721 (__bswap_32): Do not use "register".
22722 * crypt/crypt.c (_ufc_doit_r): Likewise.
22723 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22724 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22725 * gmon/gmon.c (__monstartup): Likewise.
22726 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22727 * hurd/hurdmalloc.c (more_memory): Likewise.
22728 (malloc): Likewise.
22729 (free): Likewise.
22730 (realloc): Likewise.
22731 (malloc_fork_prepare): Likewise.
22732 (malloc_fork_parent): Likewise.
22733 (malloc_fork_child): Likewise.
22734 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22735 (_svcauth_des): Likewise.
22736 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22737 * inet/inet_net.c (inet_network): Likewise.
22738 * inet/inet_netof.c (inet_netof): Likewise.
22739 * inet/rcmd.c (__validuser2_sa): Likewise.
22740 * io/fts.c (fts_open): Likewise.
22741 (fts_load): Likewise.
22742 (fts_close): Likewise.
22743 (fts_read): Likewise.
22744 (fts_children): Likewise.
22745 (fts_build): Likewise.
22746 (fts_stat): Likewise.
22747 (fts_sort): Likewise.
22748 (fts_alloc): Likewise.
22749 (fts_lfree): Likewise.
22750 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22751 (_IO_file_xsgetn): Likewise.
22752 (_IO_file_xsgetn_mmap): Likewise.
22753 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22754 (_IO_cookie_write): Likewise.
22755 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22756 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22757 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22758 * malloc/obstack.c (_obstack_begin): Likewise.
22759 (_obstack_begin_1): Likewise.
22760 (_obstack_newchunk): Likewise.
22761 (_obstack_allocated_p): Likewise.
22762 (obstack_free): Likewise.
22763 (_obstack_memory_used): Likewise.
22764 * misc/getttyent.c (getttynam): Likewise.
22765 (getttyent): Likewise.
22766 (skip): Likewise.
22767 (value): Likewise.
22768 * misc/getusershell.c (initshells): Likewise.
22769 * misc/syslog.c (__vsyslog_chk): Likewise.
22770 * misc/ttyslot.c (ttyslot): Likewise.
22771 * nis/nis_hash.c (__nis_hash): Likewise.
22772 * posix/fnmatch_loop.c (FCT): Likewise.
22773 * posix/getconf.c (print_all): Likewise.
22774 (main): Likewise.
22775 * posix/getopt.c (exchange): Likewise.
22776 * posix/glob.c (globfree): Likewise.
22777 (prefix_array): Likewise.
22778 (__glob_pattern_type): Likewise.
22779 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22780 (NS_GET32): Likewise.
22781 (NS_PUT16): Likewise.
22782 (NS_PUT32): Likewise.
22783 * resolv/gethnamaddr.c (getanswer): Likewise.
22784 (gethostbyname2): Likewise.
22785 (gethostbyaddr): Likewise.
22786 (_gethtent): Likewise.
22787 (_gethtbyname2): Likewise.
22788 (_gethtbyaddr): Likewise.
22789 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22790 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22791 * resolv/res_init.c (__res_vinit): Likewise.
22792 (net_mask): Likewise.
22793 * resolv/res_mkquery.c (outchar): Likewise.
22794 (PRINT): Likewise.
22795 * stdio-common/printf_fp.c (outchar): Likewise.
22796 (PRINT): Likewise.
22797 * stdio-common/printf_fphex.c (outchar): Likewise.
22798 (PRINT): Likewise.
22799 * stdio-common/printf_size.c (outchar): Likewise.
22800 (PRINT): Likewise.
22801 * stdio-common/test_rdwr.c (main): Likewise.
22802 * stdio-common/tfformat.c (matches): Likewise.
22803 * stdio-common/vfprintf.c (outchar): Likewise.
22804 (printf_unknown): Likewise.
22805 (buffered_vfprintf): Likewise.
22806 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22807 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22808 (ReadFile): Likewise.
22809 * stdlib/qsort.c (SWAP): Likewise.
22810 (_quicksort): Likewise.
22811 * stdlib/setenv.c (__add_to_environ): Likewise.
22812 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22813 * stdlib/strtol_l.c (__strtol_l): Likewise.
22814 * stdlib/tst-strtod.c (main): Likewise.
22815 * stdlib/tst-strtol.c (main): Likewise.
22816 * stdlib/tst-strtoll.c (main): Likewise.
22817 * string/bits/string2.h (__strcmp_cc): Likewise.
22818 (__strcmp_cg): Likewise.
22819 (__strcspn_c1): Likewise.
22820 (__strcspn_c2): Likewise.
22821 (__strcspn_c3): Likewise.
22822 (__strspn_c1): Likewise.
22823 (__strspn_c2): Likewise.
22824 (__strspn_c3): Likewise.
22825 (__strsep_1c): Likewise.
22826 (__strsep_2c): Likewise.
22827 (__strsep_3c): Likewise.
22828 * string/memccpy.c (__memccpy): Likewise.
22829 * string/stpcpy.c (__stpcpy): Likewise.
22830 * string/strcmp.c (strcmp): Likewise.
22831 * string/strrchr.c (strrchr): Likewise.
22832 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22833 Likewise.
22834 * sysdeps/mach/hurd/getcwd.c
22835 (_hurd_canonicalize_directory_name_internal): Likewise.
22836 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22837 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22838 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22839 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22840 Likewise, in both definitions.
22841 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22842 definitions.
22843 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22844 64] (__bswap_64): Likewise.
22845 * time/test_time.c (main): Likewise.
22846 * time/tzfile.c (__tzfile_read): Likewise.
22847 (__tzfile_compute): Likewise.
22848 * time/tzset.c (__tzset_parse_tz): Likewise.
22849 (tzset_internal): Likewise.
22850 (compute_change): Likewise.
22851 * wcsmbs/wcscat.c (__wcscat): Likewise.
22852 * wcsmbs/wcschr.c (wcschr): Likewise.
22853 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22854 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22855 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22856 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22857 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22858 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22859 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22860 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22861 * wcsmbs/wmemset.c (wmemset): Likewise.
22862
22863 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22864
22865 * scripts/config.guess: Update to version 2013-05-16.
22866 * scripts/config.sub: Update to version 2013-04-24.
22867 * scripts/install-sh: Update to version 2011-11-20.07.
22868 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22869 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22870
22871 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22872
22873 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22874 * elf/sln.c: Likewise.
22875 * hurd/hurd/ioctl.h: Likewise.
22876 * hurd/hurdmalloc.c: Likewise.
22877 * hurd/xattr.c: Likewise.
22878 * include/shlib-compat.h: Likewise.
22879 * inet/ruserpass.c: Likewise.
22880 * libio/iofgets_u.c: Likewise.
22881 * libio/iofgetws_u.c: Likewise.
22882 * locale/programs/ld-identification.c: Likewise.
22883 * locale/programs/ld-time.c: Likewise.
22884 * mach/msg-destroy.c: Likewise.
22885 * nss/nss_files/files-netgrp.c: Likewise.
22886 * resolv/res_data.c: Likewise.
22887 * soft-fp/op-1.h: Likewise.
22888 * soft-fp/op-2.h: Likewise.
22889 * soft-fp/op-4.h: Likewise.
22890 * soft-fp/op-common.h: Likewise.
22891 * stdio-common/printf_fphex.c: Likewise.
22892 * stdlib/strtod_l.c: Likewise.
22893 * sunrpc/rpc/clnt.h: Likewise.
22894 * sysdeps/generic/framestate.c: Likewise.
22895 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22896 * sysdeps/i386/bsd-setjmp.S: Likewise.
22897 * sysdeps/i386/__longjmp.S: Likewise.
22898 * sysdeps/i386/setjmp.S: Likewise.
22899 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22900 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22901 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22904 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22908 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22909 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22910 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22914 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22915 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22917 * sysdeps/ieee754/support.c: Likewise.
22918 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22919 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22920 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22921 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22922 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22923 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22924 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22925 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22926 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22927 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22928 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22929 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22930 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22931 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22932 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22933 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22934 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22936
22937 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22938
22939 * posix/transbug.c: Remove executable mode.
22940
22941 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22942
22943 * crypt/speeds.c: Remove trailing whitespace.
22944 * dlfcn/default.c: Likewise.
22945 * elf/ifuncdep2.c: Likewise.
22946 * elf/ifuncmain1.c: Likewise.
22947 * elf/ifuncmain1vis.c: Likewise.
22948 * elf/testobj.h: Likewise.
22949 * elf/tst-stackguard1.c: Likewise.
22950 * gmon/sys/gmon.h: Likewise.
22951 * hurd/hurdmsg.c: Likewise.
22952 * hurd/new-fd.c: Likewise.
22953 * hurd/ports-get.c: Likewise.
22954 * iconvdata/ibm1008_420.c: Likewise.
22955 * inet/tst-getni1.c: Likewise.
22956 * inet/tst-getni2.c: Likewise.
22957 * libio/ioungetc.c: Likewise.
22958 * libio/wfiledoalloc.c: Likewise.
22959 * manual/libm-err-tab.pl: Likewise.
22960 * math/w_dremf.c: Likewise.
22961 * misc/ftruncate.c: Likewise.
22962 * posix/bug-glob2.c: Likewise.
22963 * posix/tst-pcre.c: Likewise.
22964 * posix/wait4.c: Likewise.
22965 * resolv/README: Likewise.
22966 * resolv/res_debug.h: Likewise.
22967 * resolv/tst-inet_ntop.c: Likewise.
22968 * setjmp/bug269-setjmp.c: Likewise.
22969 * soft-fp/extended.h: Likewise.
22970 * soft-fp/op-1.h: Likewise.
22971 * soft-fp/op-2.h: Likewise.
22972 * soft-fp/op-4.h: Likewise.
22973 * soft-fp/op-8.h: Likewise.
22974 * soft-fp/testit.c: Likewise.
22975 * stdio-common/bug16.c: Likewise.
22976 * stdlib/random.c: Likewise.
22977 * sunrpc/rpcsvc/rquota.x: Likewise.
22978 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22979 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22980 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22981 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22982 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22983 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22984 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22985 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22986 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22987 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22988 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22989 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22990 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22991 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22994 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22996 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23001 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23002 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23004 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23005 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23006 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23007 * sysdeps/ieee754/s_lib_version.c: Likewise.
23008 * sysdeps/mach/hurd/check_fds.c: Likewise.
23009 * sysdeps/mach/hurd/getsockname.c: Likewise.
23010 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23011 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23012 * sysdeps/powerpc/bits/link.h: Likewise.
23013 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23014 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23015 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23016 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23017 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23018 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23019 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23020 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23021 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23025 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23032 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23034 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23035 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23037 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23038 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23040 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23041 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23042 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23047 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23050 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23055 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23056 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23058 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23059 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23060 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23061 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23062 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23065 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23066 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23067 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23068 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23069 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23070 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23071 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23072 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23073 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23074 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23075 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23076 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23077 * sysdeps/powerpc/sysdep.h: Likewise.
23078 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23079 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23080 * sysdeps/sh/dl-trampoline.S: Likewise.
23081 * sysdeps/sh/memset.S: Likewise.
23082 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23083 * sysdeps/sh/strlen.S: Likewise.
23084 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23085 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23086 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23087 * sysdeps/sparc/sparc32/rem.S: Likewise.
23088 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23089 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23090 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23091 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23092 * sysdeps/sparc/sparc32/urem.S: Likewise.
23093 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23094 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23095 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23096 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23097 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23098 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23099 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23100 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23101 * sysdeps/unix/bsd/times.c: Likewise.
23102 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23103 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23108 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23109 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23110 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23111 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23112 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23113 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23114 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23115 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23116 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23117 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23118 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23119 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23120 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23121 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23122 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23123 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23124 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23125 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23126 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23127 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23128 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23129 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23130 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23131 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23132 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23133 * sysdeps/x86_64/strcspn.S: Likewise.
23134
23135 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23136
23137 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23138 generated file. Regenerate properly from gen-translit.pl.
23139 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23140 locale/C-translit.h.
23141
23142 2013-06-05 Andreas Schwab <schwab@suse.de>
23143
23144 [BZ #15100]
23145 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23146 week as 6 instead of -1.
23147 * time/tst-strptime.c (day_tests): Add test case.
23148
23149 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23150
23151 * sysdeps/generic/math_private.h
23152 (libc_feholdexcept_setround_53bit): Replace with
23153 libc_feholdsetround_53bit.
23154 (libc_feupdateenv_53bit): Replace with
23155 libc_feresetround_53bit.
23156 (SET_RESTORE_ROUND_53BIT): Adjust.
23157
23158 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23159
23160 * string/test-strchrnul.c: Add copyright header.
23161
23162 * posix/tst-getaddrinfo4.c: Increase test timeout.
23163
23164 2013-06-03 Carlos O'Donell <carlos@redhat.com>
23165
23166 [BZ #15536]
23167 * math/libm-test.inc (MAX_EXP): Remove
23168 (MIN_EXP): Define.
23169 (ulp): Use MIN_EXP - MANT_DIG.
23170 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23171
23172 2013-05-31 Carlos O'Donell <carlos@redhat.com>
23173
23174 * po/be.po: Revert last change.
23175 * po/zh_CN.po: Likewise.
23176 * po/header.pot: Likewise.
23177
23178 2013-05-31 Joseph Myers <joseph@codesourcery.com>
23179
23180 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23181 link-libc-deps to empty as target-specific variable.
23182 * Makerules (link-libc-args): New variable.
23183 (libc-for-link): Likewise.
23184 (link-libc-deps): Likewise.
23185 (lib%.so): Depend on $(link-libc-deps). Link with
23186 $(link-libc-args).
23187 (build-module): Link with $(link-libc-args).
23188 (build-module-asneeded): Likewise.
23189 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23190 list of objects.
23191 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23192 target-specific variable.
23193 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23194 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23195 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23196 libc.
23197 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23198 libc and ld.so.
23199 ($(objpfx)libpcprofile.so): Likewise.
23200 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23201 libc_nonshared.a.
23202 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23203 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23204 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23205 $(link-libc-deps).
23206 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23207 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23208 * login/Makefile ($(objpfx)libutil.so): Likewise.
23209 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23210 * math/Makefile ($(objpfx)libm.so): Likewise.
23211 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23212 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23213 variable instead of depending directly on libc.
23214 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23215 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23216 $(link-libc-deps).
23217 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23218 libc.
23219 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23220 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23221 ($(objpfx)libanl.so): Likewise.
23222 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23223 ld.so.
23224 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23225 $(link-libc-deps).
23226 * sysdeps/i386/fpu/Makefile: Remove file.
23227 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23228 ($(objpfx)libm.so): Remove dependency on ld.so.
23229
23230 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
23231
23232 [BZ # 15553]
23233 * nis/yp_xdr.c (XDRMAXNAME): Define.
23234 (XDRMAXRECORD): Define.
23235 (xdr_domainname): Use XDRMAXNAME.
23236 (xdr_mapname): Likewise.
23237 (xdr_peername): Likewise.
23238 (xdr_keydat): Use XDRMAXRECORD.
23239 (xdr_valdat): Likewise.
23240
23241 2013-05-30 Jeff Law <law@redhat.com>
23242
23243 [BZ #14256]
23244 * manual/errno.texi (ESTALE): Update to account for more than
23245 just NFS file systems.
23246 * sysdeps/gnu/errlist.c: Regenerated.
23247
23248 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23249
23250 [BZ #15465]
23251 * elf/Makefile (tests): Add tst-null-argv.
23252 (modules-names): Add tst-null-argv-lib.
23253 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23254 (tst-null-argv-ENV): Set environment for tst-null-argv.
23255 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23256 (RTLD_PROGNAME): New macro.
23257 * elf/tst-null-argv.c: New test case.
23258 * elf/tst-null-argv-lib.c: Library for test case.
23259 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23260 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23261 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23262 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23263 * elf/dl-init.c (call_init): Likewise.
23264 (_dl_init): Likewise.
23265 * elf/dl-load.c (print_search_path): Likewise.
23266 (_dl_map_object): Likewise.
23267 * elf/dl-lookup.c (do_lookup_x): Likewise.
23268 (add_dependency): Likewise.
23269 (_dl_lookup_symbol_x): Likewise.
23270 (_dl_debug_bindings): Likewise.
23271 * elf/dl-open.c (_dl_show_scope): Likewise.
23272 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23273 * elf/dl-version.c (match_symbol): Likewise.
23274 (_dl_check_map_versions): Likewise.
23275 * elf/rtld.c (dl_main): Likewise.
23276 (print_unresolved): Use RTLD_PROGNAME.
23277 (print_missing_version): Likewise.
23278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23279 (elf_machine_rela): Likewise.
23280 * sysdeps/powerpc/powerpc32/dl-machine.c
23281 (__process_machine_rela): Likewise.
23282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23283 Likewise.
23284 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23285 Likewise.
23286 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23287 Likewise.
23288 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23290 Likewise.
23291 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23292 Likewise.
23293 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23294
23295 2013-05-28 Carlos O'Donell <carlos@redhat.com>
23296
23297 * po/be.po: Add descriptive title.
23298 * po/zh_CN.po: Likewise.
23299 * po/header.pot: Likewise.
23300
23301 2013-05-28 Mike Frysinger <vapier@gentoo.org>
23302
23303 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23304 error message.
23305 (enlarge_archive): Likewise.
23306
23307 2013-05-28 Ben North <ben@redfrontdoor.org>
23308
23309 * manual/arith.texi (frexp): It is the magnitude of the return
23310 value which lies in [0.5, 1), not the return value itself.
23311
23312 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23313
23314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23315
23316 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23317
23318 * stdio-common/bug26.c (main): Correct fscanf template.
23319
23320 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23321 declare _dl_skip_args.
23322
23323 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23324 Don't declare.
23325
23326 * manual/platform.texi: Add missing @end deftypefun.
23327
23328 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23329
23330 [BZ #15529]
23331 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23332 bit of mantissa of 2^16382.
23333 * math/libm-test.inc (hypot_test_data): Add more tests.
23334
23335 * math/libm-test.inc: Add drem and pow10 to list of tested
23336 functions.
23337 (pow10_test): New function.
23338 (drem_test): Likewise.
23339 (drem_test_tonearest): Likewise.
23340 (drem_test_towardzero): Likewise.
23341 (drem_test_downward): Likewise.
23342 (drem_test_upward): Likewise.
23343 (main): Call the new functions.
23344
23345 * math/libm-test.inc (finite_test_data): Remove.
23346 (finite_test): Run tests from isfinite_test_data.
23347 (gamma_test_data): Remove.
23348 (gamma_test): Run tests from lgamma_test_data.
23349 * sysdeps/i386/fpu/libm-test-ulps: Update.
23350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23351
23352 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23353
23354 * manual/platform.texi: Add PowerPC PPR function set documentation.
23355 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23356 implementation.
23357
23358 2013-05-24 Carlos O'Donell <carlos@redhat.com>
23359
23360 * math/libm-test.inc (MAX_EXP): Define.
23361 (ULPDIFF): Define.
23362 (ulp): New function.
23363 (check_float_internal): Use ULPDIFF.
23364 (cpow_test): Disable failing test.
23365 (check_ulp): Test ulp() implemetnation.
23366 (main): Call check_ulp before starting tests.
23367
23368 2013-05-24 Joseph Myers <joseph@codesourcery.com>
23369
23370 * math/gen-libm-test.pl (generate_testfile): Do not handle
23371 START_DATA and END_DATA.
23372 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23373 END_DATA.
23374 (acos_tonearest_test_data): Likewise.
23375 (acos_towardzero_test_data): Likewise.
23376 (acos_downward_test_data): Likewise.
23377 (acos_upward_test_data): Likewise.
23378 (acosh_test_data): Likewise.
23379 (asin_test_data): Likewise.
23380 (asin_tonearest_test_data): Likewise.
23381 (asin_towardzero_test_data): Likewise.
23382 (asin_downward_test_data): Likewise.
23383 (asin_upward_test_data): Likewise.
23384 (asinh_test_data): Likewise.
23385 (atan_test_data): Likewise.
23386 (atanh_test_data): Likewise.
23387 (atan2_test_data): Likewise.
23388 (cabs_test_data): Likewise.
23389 (cacos_test_data): Likewise.
23390 (cacosh_test_data): Likewise.
23391 (carg_test_data): Likewise.
23392 (casin_test_data): Likewise.
23393 (casinh_test_data): Likewise.
23394 (catan_test_data): Likewise.
23395 (catanh_test_data): Likewise.
23396 (cbrt_test_data): Likewise.
23397 (ccos_test_data): Likewise.
23398 (ccosh_test_data): Likewise.
23399 (ceil_test_data): Likewise.
23400 (cexp_test_data): Likewise.
23401 (cimag_test_data): Likewise.
23402 (clog_test_data): Likewise.
23403 (clog10_test_data): Likewise.
23404 (conj_test_data): Likewise.
23405 (copysign_test_data): Likewise.
23406 (cos_test_data): Likewise.
23407 (cos_tonearest_test_data): Likewise.
23408 (cos_towardzero_test_data): Likewise.
23409 (cos_downward_test_data): Likewise.
23410 (cos_upward_test_data): Likewise.
23411 (cosh_test_data): Likewise.
23412 (cosh_tonearest_test_data): Likewise.
23413 (cosh_towardzero_test_data): Likewise.
23414 (cosh_downward_test_data): Likewise.
23415 (cosh_upward_test_data): Likewise.
23416 (cpow_test_data): Likewise.
23417 (cproj_test_data): Likewise.
23418 (creal_test_data): Likewise.
23419 (csin_test_data): Likewise.
23420 (csinh_test_data): Likewise.
23421 (csqrt_test_data): Likewise.
23422 (ctan_test_data): Likewise.
23423 (ctan_tonearest_test_data): Likewise.
23424 (ctan_towardzero_test_data): Likewise.
23425 (ctan_downward_test_data): Likewise.
23426 (ctan_upward_test_data): Likewise.
23427 (ctanh_test_data): Likewise.
23428 (ctanh_tonearest_test_data): Likewise.
23429 (ctanh_towardzero_test_data): Likewise.
23430 (ctanh_downward_test_data): Likewise.
23431 (ctanh_upward_test_data): Likewise.
23432 (erf_test_data): Likewise.
23433 (erfc_test_data): Likewise.
23434 (exp_test_data): Likewise.
23435 (exp_tonearest_test_data): Likewise.
23436 (exp_towardzero_test_data): Likewise.
23437 (exp_downward_test_data): Likewise.
23438 (exp_upward_test_data): Likewise.
23439 (exp10_test_data): Likewise.
23440 (exp2_test_data): Likewise.
23441 (expm1_test_data): Likewise.
23442 (fabs_test_data): Likewise.
23443 (fdim_test_data): Likewise.
23444 (finite_test_data): Likewise.
23445 (floor_test_data): Likewise.
23446 (fma_test_data): Likewise.
23447 (fma_towardzero_test_data): Likewise.
23448 (fma_downward_test_data): Likewise.
23449 (fma_upward_test_data): Likewise.
23450 (fmax_test_data): Likewise.
23451 (fmin_test_data): Likewise.
23452 (fmod_test_data): Likewise.
23453 (fpclassify_test_data): Likewise.
23454 (frexp_test_data): Likewise.
23455 (gamma_test_data): Likewise.
23456 (hypot_test_data): Likewise.
23457 (ilogb_test_data): Likewise.
23458 (isfinite_test_data): Likewise.
23459 (isgreater_test_data): Likewise.
23460 (isgreaterequal_test_data): Likewise.
23461 (isinf_test_data): Likewise.
23462 (isless_test_data): Likewise.
23463 (islessequal_test_data): Likewise.
23464 (islessgreater_test_data): Likewise.
23465 (isnan_test_data): Likewise.
23466 (isnormal_test_data): Likewise.
23467 (issignaling_test_data): Likewise.
23468 (isunordered_test_data): Likewise.
23469 (j0_test_data): Likewise.
23470 (j1_test_data): Likewise.
23471 (jn_test_data): Likewise.
23472 (ldexp_test_data): Likewise.
23473 (lgamma_test_data): Likewise.
23474 (lrint_test_data): Likewise.
23475 (lrint_tonearest_test_data): Likewise.
23476 (lrint_towardzero_test_data): Likewise.
23477 (lrint_downward_test_data): Likewise.
23478 (lrint_upward_test_data): Likewise.
23479 (llrint_test_data): Likewise.
23480 (llrint_tonearest_test_data): Likewise.
23481 (llrint_towardzero_test_data): Likewise.
23482 (llrint_downward_test_data): Likewise.
23483 (llrint_upward_test_data): Likewise.
23484 (log_test_data): Likewise.
23485 (log10_test_data): Likewise.
23486 (log1p_test_data): Likewise.
23487 (log2_test_data): Likewise.
23488 (logb_test_data): Likewise.
23489 (logb_downward_test_data): Likewise.
23490 (lround_test_data): Likewise.
23491 (llround_test_data): Likewise.
23492 (modf_test_data): Likewise.
23493 (nearbyint_test_data): Likewise.
23494 (nextafter_test_data): Likewise.
23495 (nexttoward_test_data): Likewise.
23496 (pow_test_data): Likewise.
23497 (pow_tonearest_test_data): Likewise.
23498 (pow_towardzero_test_data): Likewise.
23499 (pow_downward_test_data): Likewise.
23500 (pow_upward_test_data): Likewise.
23501 (remainder_test_data): Likewise.
23502 (remainder_tonearest_test_data): Likewise.
23503 (remainder_towardzero_test_data): Likewise.
23504 (remainder_downward_test_data): Likewise.
23505 (remainder_upward_test_data): Likewise.
23506 (remquo_test_data): Likewise.
23507 (rint_test_data): Likewise.
23508 (rint_tonearest_test_data): Likewise.
23509 (rint_towardzero_test_data): Likewise.
23510 (rint_downward_test_data): Likewise.
23511 (rint_upward_test_data): Likewise.
23512 (round_test_data): Likewise.
23513 (scalb_test_data): Likewise.
23514 (scalbn_test_data): Likewise.
23515 (scalbln_test_data): Likewise.
23516 (signbit_test_data): Likewise.
23517 (sin_test_data): Likewise.
23518 (sin_tonearest_test_data): Likewise.
23519 (sin_towardzero_test_data): Likewise.
23520 (sin_downward_test_data): Likewise.
23521 (sin_upward_test_data): Likewise.
23522 (sincos_test_data): Likewise.
23523 (sinh_test_data): Likewise.
23524 (sinh_tonearest_test_data): Likewise.
23525 (sinh_towardzero_test_data): Likewise.
23526 (sinh_downward_test_data): Likewise.
23527 (sinh_upward_test_data): Likewise.
23528 (sqrt_test_data): Likewise.
23529 (tan_test_data): Likewise.
23530 (tan_tonearest_test_data): Likewise.
23531 (tan_towardzero_test_data): Likewise.
23532 (tan_downward_test_data): Likewise.
23533 (tan_upward_test_data): Likewise.
23534 (tanh_test_data): Likewise.
23535 (tgamma_test_data): Likewise.
23536 (trunc_test_data): Likewise.
23537 (y0_test_data): Likewise.
23538 (y1_test_data): Likewise.
23539 (yn_test_data): Likewise.
23540 (significand_test_data): Likewise.
23541
23542 * math/gen-libm-test.pl (@functions): Remove variable.
23543 (generate_testfile): Don't handle START and END lines.
23544 * math/libm-test.inc (START): New macro.
23545 (END): Likewise.
23546 (END_COMPLEX): Likewise.
23547 (acos_test): Use END macro without arguments.
23548 (acos_test_tonearest): Likewise.
23549 (acos_test_towardzero): Likewise.
23550 (acos_test_downward): Likewise.
23551 (acos_test_upward): Likewise.
23552 (acosh_test): Likewise.
23553 (asin_test): Likewise.
23554 (asin_test_tonearest): Likewise.
23555 (asin_test_towardzero): Likewise.
23556 (asin_test_downward): Likewise.
23557 (asin_test_upward): Likewise.
23558 (asinh_test): Likewise.
23559 (atan_test): Likewise.
23560 (atanh_test): Likewise.
23561 (atan2_test): Likewise.
23562 (cabs_test): Likewise.
23563 (cacos_test): Use END_COMPLEX macro without arguments.
23564 (cacosh_test): Likewise.
23565 (carg_test): Use END macro without arguments.
23566 (casin_test): Use END_COMPLEX macro without arguments.
23567 (casinh_test): Likewise.
23568 (catan_test): Likewise.
23569 (catanh_test): Likewise.
23570 (cbrt_test): Use END macro without arguments.
23571 (ccos_test): Use END_COMPLEX macro without arguments.
23572 (ccosh_test): Likewise.
23573 (ceil_test): Use END macro without arguments.
23574 (cexp_test): Use END_COMPLEX macro without arguments.
23575 (cimag_test): Use END macro without arguments.
23576 (clog_test): Use END_COMPLEX macro without arguments.
23577 (clog10_test): Likewise.
23578 (conj_test): Likewise.
23579 (copysign_test): Use END macro without arguments.
23580 (cos_test): Likewise.
23581 (cos_test_tonearest): Likewise.
23582 (cos_test_towardzero): Likewise.
23583 (cos_test_downward): Likewise.
23584 (cos_test_upward): Likewise.
23585 (cosh_test): Likewise.
23586 (cosh_test_tonearest): Likewise.
23587 (cosh_test_towardzero): Likewise.
23588 (cosh_test_downward): Likewise.
23589 (cosh_test_upward): Likewise.
23590 (cpow_test): Use END_COMPLEX macro without arguments.
23591 (cproj_test): Likewise.
23592 (creal_test): Use END macro without arguments.
23593 (csin_test): Use END_COMPLEX macro without arguments.
23594 (csinh_test): Likewise.
23595 (csqrt_test): Likewise.
23596 (ctan_test): Likewise.
23597 (ctan_test_tonearest): Likewise.
23598 (ctan_test_towardzero): Likewise.
23599 (ctan_test_downward): Likewise.
23600 (ctan_test_upward): Likewise.
23601 (ctanh_test): Likewise.
23602 (ctanh_test_tonearest): Likewise.
23603 (ctanh_test_towardzero): Likewise.
23604 (ctanh_test_downward): Likewise.
23605 (ctanh_test_upward): Likewise.
23606 (erf_test): Use END macro without arguments.
23607 (erfc_test): Likewise.
23608 (exp_test): Likewise.
23609 (exp_test_tonearest): Likewise.
23610 (exp_test_towardzero): Likewise.
23611 (exp_test_downward): Likewise.
23612 (exp_test_upward): Likewise.
23613 (exp10_test): Likewise.
23614 (exp2_test): Likewise.
23615 (expm1_test): Likewise.
23616 (fabs_test): Likewise.
23617 (fdim_test): Likewise.
23618 (finite_test): Likewise.
23619 (floor_test): Likewise.
23620 (fma_test): Likewise.
23621 (fma_test_towardzero): Likewise.
23622 (fma_test_downward): Likewise.
23623 (fma_test_upward): Likewise.
23624 (fmax_test): Likewise.
23625 (fmin_test): Likewise.
23626 (fmod_test): Likewise.
23627 (fpclassify_test): Likewise.
23628 (frexp_test): Likewise.
23629 (gamma_test): Likewise.
23630 (hypot_test): Likewise.
23631 (ilogb_test): Likewise.
23632 (isfinite_test): Likewise.
23633 (isgreater_test): Likewise.
23634 (isgreaterequal_test): Likewise.
23635 (isinf_test): Likewise.
23636 (isless_test): Likewise.
23637 (islessequal_test): Likewise.
23638 (islessgreater_test): Likewise.
23639 (isnan_test): Likewise.
23640 (isnormal_test): Likewise.
23641 (issignaling_test): Likewise.
23642 (isunordered_test): Likewise.
23643 (j0_test): Likewise.
23644 (j1_test): Likewise.
23645 (jn_test): Likewise.
23646 (ldexp_test): Likewise.
23647 (lgamma_test): Likewise.
23648 (lrint_test): Likewise.
23649 (lrint_test_tonearest): Likewise.
23650 (lrint_test_towardzero): Likewise.
23651 (lrint_test_downward): Likewise.
23652 (lrint_test_upward): Likewise.
23653 (llrint_test): Likewise.
23654 (llrint_test_tonearest): Likewise.
23655 (llrint_test_towardzero): Likewise.
23656 (llrint_test_downward): Likewise.
23657 (llrint_test_upward): Likewise.
23658 (log_test): Likewise.
23659 (log10_test): Likewise.
23660 (log1p_test): Likewise.
23661 (log2_test): Likewise.
23662 (logb_test): Likewise.
23663 (logb_test_downward): Likewise.
23664 (lround_test): Likewise.
23665 (llround_test): Likewise.
23666 (modf_test): Likewise.
23667 (nearbyint_test): Likewise.
23668 (nextafter_test): Likewise.
23669 (nexttoward_test): Likewise.
23670 (pow_test): Likewise.
23671 (pow_test_tonearest): Likewise.
23672 (pow_test_towardzero): Likewise.
23673 (pow_test_downward): Likewise.
23674 (pow_test_upward): Likewise.
23675 (remainder_test): Likewise.
23676 (remainder_test_tonearest): Likewise.
23677 (remainder_test_towardzero): Likewise.
23678 (remainder_test_downward): Likewise.
23679 (remainder_test_upward): Likewise.
23680 (remquo_test): Likewise.
23681 (rint_test): Likewise.
23682 (rint_test_tonearest): Likewise.
23683 (rint_test_towardzero): Likewise.
23684 (rint_test_downward): Likewise.
23685 (rint_test_upward): Likewise.
23686 (round_test): Likewise.
23687 (scalb_test): Likewise.
23688 (scalbn_test): Likewise.
23689 (scalbln_test): Likewise.
23690 (signbit_test): Likewise.
23691 (sin_test): Likewise.
23692 (sin_test_tonearest): Likewise.
23693 (sin_test_towardzero): Likewise.
23694 (sin_test_downward): Likewise.
23695 (sin_test_upward): Likewise.
23696 (sincos_test): Likewise.
23697 (sinh_test): Likewise.
23698 (sinh_test_tonearest): Likewise.
23699 (sinh_test_towardzero): Likewise.
23700 (sinh_test_downward): Likewise.
23701 (sinh_test_upward): Likewise.
23702 (sqrt_test): Likewise.
23703 (tan_test): Likewise.
23704 (tan_test_tonearest): Likewise.
23705 (tan_test_towardzero): Likewise.
23706 (tan_test_downward): Likewise.
23707 (tan_test_upward): Likewise.
23708 (tanh_test): Likewise.
23709 (tgamma_test): Likewise.
23710 (trunc_test): Likewise.
23711 (y0_test): Likewise.
23712 (y1_test): Likewise.
23713 (yn_test): Likewise.
23714 (significand_test): Likewise.
23715
23716 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23717
23718 [BZ #15381]
23719 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23720
23721 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23722
23723 [BZ #14894]
23724 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23725 __ppc_mdoio and __ppc_mdoom.
23726 * manual/platform.texi: Document new functions __ppc_yield,
23727 __ppc_mdoio and __ppc_mdoom.
23728
23729 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23730
23731 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23732 (main): Mention "tls" pseudo-hwcap is legacy.
23733 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23734
23735 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23736
23737 * math/gen-libm-test.pl (parse_args): Output only string of
23738 arguments as text for test name, not full call or descriptions of
23739 tests for extra outputs.
23740 (generate_testfile): Do not pass function name to parse_args.
23741 Generate this_func variable from START.
23742 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23743 field to arg_str.
23744 (struct test_ff_f_data): Likewise.
23745 (test_ff_f_data_nexttoward): Likewise.
23746 (struct test_fi_f_data): Likewise.
23747 (struct test_fl_f_data): Likewise.
23748 (struct test_if_f_data): Likewise.
23749 (struct test_fff_f_data): Likewise.
23750 (struct test_c_f_data): Likewise.
23751 (struct test_f_f1_data): Likewise. Remove field extra_name.
23752 (struct test_fF_f1_data): Likewise.
23753 (struct test_ffI_f1_data): Likewise.
23754 (struct test_c_c_data): Rename test_name field to arg_str.
23755 (struct test_cc_c_data): Likewise.
23756 (struct test_f_i_data): Likewise.
23757 (struct test_ff_i_data): Likewise.
23758 (struct test_f_l_data): Likewise.
23759 (struct test_f_L_data): Likewise.
23760 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23761 and extra2_name.
23762 (COMMON_TEST_SETUP): New macro.
23763 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23764 (COMMON_TEST_CLEANUP): Likewise.
23765 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23766 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23767 macros.
23768 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23769 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23770 macros.
23771 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23772 (RUN_TEST_fff_f): Take argument string. Call new setup and
23773 cleanup macros.
23774 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23775 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23776 macros.
23777 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23778 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23779 macros.
23780 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23781 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23782 cleanup macros.
23783 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23784 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23785 cleanup macros.
23786 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23787 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23788 cleanup macros.
23789 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23790 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23791 macros.
23792 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23793 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23794 macros.
23795 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23796 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23797 macros.
23798 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23799 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23800 cleanup macros.
23801 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23802 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23803 cleanup macros.
23804 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23805 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23806 macros.
23807 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23808 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23809 cleanup macros.
23810 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23811 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23812 macros.
23813 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23814 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23815 macros.
23816 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23817 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23818 cleanup macros.
23819 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23820
23821 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23822
23823 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23824 to _sifields.sigfault.
23825 (si_addr_lsb): Define new macro.
23826 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23827 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23829
23830 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23831
23832 [BZ #15441]
23833 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23834 returns -1.
23835 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23836 null return -1.
23837 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23838 loading the domain.
23839
23840 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23841
23842 * math/gen-libm-test.pl (parse_args): Do not include expected
23843 result in test name.
23844 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23846 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23847 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23848 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23850
23851 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23852
23853 * benchtests/Makefile: Sort function entries.
23854
23855 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23856 tanh, asinh, acosh, atanh.
23857 * benchtests/acos-inputs: New file.
23858 * benchtests/acosh-inputs: New file.
23859 * benchtests/asin-inputs: New file.
23860 * benchtests/asinh-inputs: New file.
23861 * benchtests/atanh-inputs: New file.
23862 * benchtests/cosh-inputs: New file.
23863 * benchtests/log-inputs: New file.
23864 * benchtests/sinh-inputs: New file.
23865 * benchtests/tanh-inputs: New file.
23866
23867 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23868
23869 [BZ #15339]
23870 * posix/tst-getaddrinfo4.c: New test.
23871 * posix/Makefile (tests): Add it.
23872
23873 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23874
23875 [BZ #15339]
23876 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23877 when no services were used.
23878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23879 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23880
23881 2013-05-21 Andreas Schwab <schwab@suse.de>
23882
23883 [BZ #15014]
23884 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23885 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23886 successful.
23887 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23888 redundant variable declarations and reallocation of buffer when
23889 parsing as IPv6 address. Always set NSS status when called from
23890 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23891 buffer too small. Correct computation of needed size.
23892 * nss/Makefile (tests): Add test-digits-dots.
23893 * nss/test-digits-dots.c: New test.
23894
23895 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23896
23897 * benchtests/Makefile: Remove instructions for adding
23898 benchmark tests.
23899 * benchtests/README: New file to explain how to execute and
23900 enhance the benchmark tests.
23901
23902 2013-05-21 Andreas Schwab <schwab@suse.de>
23903
23904 [BZ #15493]
23905 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23906 * setjmp/tst-sigsetjmp.c: New test.
23907
23908 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23909
23910 * sysdeps/x86_64/memset.S (memset): New implementation.
23911 (__bzero): Likewise.
23912 (__memset_tail): New function.
23913
23914 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23915
23916 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23917 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23918 __memcpy_sse2_unaligned ifunc selection.
23919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23920 Add memcpy-sse2-unaligned.S.
23921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23922 Add: __memcpy_sse2_unaligned.
23923
23924 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23925
23926 [BZ #15490]
23927 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23928 math_force_eval before restoring floating-point envrionment.
23929 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23931 Likewise.
23932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23933 <math_private.h>.
23934 (__nearbyintl): Use math_force_eval before restoring
23935 floating-point environment.
23936 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23937
23938 * math/gen-libm-test.pl (special_functions): Remove.
23939 (parse_args): Don't handle TEST_extra. Handle functions with no
23940 return value.
23941 * math/libm-test.inc (struct test_sincos_data): Replace with
23942 struct test_fFF_11_data.
23943 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23944 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23945 (sincos_test_data): Change element type to struct
23946 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23947 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23948 RUN_TEST_LOOP_sincos.
23949 * math/README.libm-test: Don't mention special handling of
23950 individual functions.
23951 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23953 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23955 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23957
23958 * math/gen-libm-test.pl (get_variable): Remove function.
23959 (parse_args): Don't show pointer parameters to call in test
23960 names. Use "extra output N" in test names for extra outputs
23961 rather than naming variables.
23962
23963 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23964
23965 [BZ #15488]
23966 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23967 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23968 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23969 double tests.
23970 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23971 disable.
23972 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23973 check_long_double.
23974
23975 * math/gen-libm-test.pl (@tests): Remove variable.
23976 ($count): Likewise.
23977 (new_test): Remove function.
23978 (show_exceptions): New function.
23979 (special_functions): Use show_exceptions instead of new_test.
23980 (parse_args): Likewise.
23981 (generate_testfile): Pass only function name in generated call to
23982 print_max_error or print_complex_max_error.
23983 (get_ulps): Do not handle complex tests specially.
23984 (output_test): Rename to ...
23985 (get_all_ulps_for_test): ... this. Return a string rather than
23986 printing to a file. Require ulps to be present.
23987 (output_ulps): Generate arrays rather than #defines.
23988 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23989 (struct ulp_data): New type.
23990 (BUILD_COMPLEX_ULP): Remove macro.
23991 (compare_ulp_data): New function.
23992 (find_ulps): Likewise.
23993 (find_test_ulps): Likewise.
23994 (find_function_ulps): Likewise.
23995 (find_complex_function_ulps): Likewise.
23996 (print_max_error): Determine allowed ulps using
23997 find_function_ulps.
23998 (print_complex_max_error): Determine allowed ulps using
23999 find_complex_function_ulps.
24000 (check_float_internal): Determine max ulps using find_test_ulps.
24001 (check_float): Do not take max_ulp parameter. Update call to
24002 check_float_internal.
24003 (check_complex): Likewise.
24004 (check_int): Do not take max_ulp parameter.
24005 (check_long): Likewise.
24006 (check_bool): Likewise.
24007 (check_longlong): Likewise.
24008 (struct test_f_f_data): Remove max_ulp field.
24009 (struct test_ff_f_data): Likewise.
24010 (struct test_ff_f_data_nexttoward): Likewise.
24011 (struct test_fi_f_data): Likewise.
24012 (struct test_fl_f_data): Likewise.
24013 (struct test_if_f_data): Likewise.
24014 (struct test_fff_f_data): Likewise.
24015 (struct test_c_f_data): Likewise.
24016 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24017 (struct test_fF_f1_data): Likewise.
24018 (struct test_ffI_f1_data): Likewise.
24019 (struct test_c_c_data): Remove max_ulp field.
24020 (struct test_cc_c_data): Likewise.
24021 (struct test_f_i_data): Likewise.
24022 (struct test_ff_i_data): Likewise.
24023 (struct test_f_l_data): Likewise.
24024 (struct test_f_L_data): Likewise.
24025 (struct test_sincos_data): Likewise.
24026 (RUN_TEST_f_f): Do not handle ulps.
24027 (RUN_TEST_LOOP_f_f): Likewise.
24028 (RUN_TEST_2_f): Likewise.
24029 (RUN_TEST_LOOP_2_f): Likewise.
24030 (RUN_TEST_fff_f): Likewise.
24031 (RUN_TEST_LOOP_fff_f): Likewise.
24032 (RUN_TEST_c_f): Likewise.
24033 (RUN_TEST_LOOP_c_f): Likewise.
24034 (RUN_TEST_f_f1): Likewise.
24035 (RUN_TEST_LOOP_f_f1): Likewise.
24036 (RUN_TEST_fF_f1): Likewise.
24037 (RUN_TEST_LOOP_fF_f1): Likewise.
24038 (RUN_TEST_fI_f1): Likewise.
24039 (RUN_TEST_LOOP_fI_f1): Likewise.
24040 (RUN_TEST_ffI_f1): Likewise.
24041 (RUN_TEST_LOOP_ffI_f1): Likewise.
24042 (RUN_TEST_c_c): Likewise.
24043 (RUN_TEST_LOOP_c_c): Likewise.
24044 (RUN_TEST_cc_c): Likewise.
24045 (RUN_TEST_LOOP_cc_c): Likewise.
24046 (RUN_TEST_f_i): Likewise.
24047 (RUN_TEST_LOOP_f_i): Likewise.
24048 (RUN_TEST_f_i_tg): Likewise.
24049 (RUN_TEST_LOOP_f_i_tg): Likewise.
24050 (RUN_TEST_ff_i_tg): Likewise.
24051 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24052 (RUN_TEST_f_b): Likewise.
24053 (RUN_TEST_LOOP_f_b): Likewise.
24054 (RUN_TEST_f_b_tg): Likewise.
24055 (RUN_TEST_LOOP_f_b_tg): Likewise.
24056 (RUN_TEST_f_l): Likewise.
24057 (RUN_TEST_LOOP_f_l): Likewise.
24058 (RUN_TEST_f_L): Likewise.
24059 (RUN_TEST_LOOP_f_L): Likewise.
24060 (RUN_TEST_sincos): Likewise.
24061 (RUN_TEST_LOOP_sincos): Likewise.
24062
24063 2013-05-17 Joseph Myers <joseph@codesourcery.com>
24064
24065 [BZ #15480]
24066 [BZ #15485]
24067 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24068 main case of finite arguments, set rounding mode to FE_TONEAREST
24069 and discard exceptions.
24070 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24071 exceptions.
24072 (remainder_tonearest_test_data): New variable.
24073 (remainder_test_tonearest): New function.
24074 (remainder_towardzero_test_data): New variable.
24075 (remainder_test_towardzero): New function.
24076 (remainder_downward_test_data): New variable.
24077 (remainder_test_downward): New function.
24078 (remainder_upward_test_data): New variable.
24079 (remainder_test_upward): New function.
24080 (main): Call the new test functions.
24081
24082 * math/libm-test.inc (struct test_f_f1_data): Remove field
24083 extra_init.
24084 (struct test_fF_f1_data): Likewise.
24085 (struct test_ffI_f1_data): Likewise.
24086 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24087 based on value of EXTRA_EXPECTED.
24088 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24089 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24090 EXTRA_VAR based on value of EXTRA_EXPECTED.
24091 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24092 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24093 EXTRA_VAR based on value of EXTRA_EXPECTED.
24094 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24095 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24096 EXTRA_VAR based on value of EXTRA_EXPECTED.
24097 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24098 * math/gen-libm-test.pl (parse_args): Don't output initializers
24099 for extra output values.
24100
24101 * math/libm-test.inc (check_int): Expect result to be exactly
24102 equal to expected value and do not handle ulps.
24103 (check_long): Likewise.
24104 (check_longlong): Likewise.
24105
24106 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24107 exceptions.
24108 (cimag_test_data): Likewise.
24109 (conj_test_data): Likewise.
24110 (copysign_test_data): Likewise.
24111 (cproj_test_data): Likewise.
24112 (creal_test_data): Likewise.
24113 (fabs_test_data): Likewise.
24114 (fdim_test_data): Likewise.
24115 (finite_test_data): Likewise.
24116 (floor_test_data): Likewise.
24117 (fmax_test_data): Likewise.
24118 (fmin_test_data): Likewise.
24119 (fmod_test_data): Likewise.
24120 (fpclassify_test_data): Likewise.
24121 (frexp_test_data): Likewise.
24122 (ilogb_test_data): Likewise.
24123 (isfinite_test_data): Likewise.
24124 (isgreater_test_data): Likewise.
24125 (isgreaterequal_test_data): Likewise.
24126 (isinf_test_data): Likewise.
24127 (isless_test_data): Likewise.
24128 (islessequal_test_data): Likewise.
24129 (islessgreater_test_data): Likewise.
24130 (isnan_test_data): Likewise.
24131 (isnormal_test_data): Likewise.
24132 (issignaling_test_data): Likewise.
24133 (isunordered_test_data): Likewise.
24134 (ldexp_test_data): Likewise.
24135 (lrint_test_data): Likewise.
24136 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24137 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24138 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24139 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24140 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24141 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24142 test input.
24143 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24144 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24145 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24146 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24147 that test input.
24148 (lrint_downward_test_data): Test for "inexact" exceptions.
24149 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24150 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24151 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24152 test input.
24153 (lrint_upward_test_data): Test for "inexact" exceptions.
24154 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24155 test input.
24156 (llrint_test_data): Test for "inexact" exceptions.
24157 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24158 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24159 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24160 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24161 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24162 (llrint_downward_test_data): Test for "inexact" exceptions.
24163 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24164 (llrint_upward_test_data): Test for "inexact" exceptions.
24165 (logb_test_data): Likewise.
24166 (logb_downward_test_data): Likewise.
24167 (nextafter_test_data): Likewise.
24168 (nexttoward_test_data): Likewise.
24169 (remainder_test_data): Likewise.
24170 (remquo_test_data): Likewise.
24171 (scalbn_test_data): Likewise.
24172 (scalbln_test_data): Likewise.
24173 (signbit_test_data): Likewise.
24174 (sqrt_test_data): Likewise.
24175 (significand_test_data): Likewise.
24176
24177 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24178
24179 [BZ #15424]
24180 * benchtests/bench-modf.c (struct args): Mark arg0 as
24181 volatile.
24182 * scripts/bench.pl: Mark members of struct args as volatile.
24183
24184 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24185
24186 [BZ # 15497]
24187 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24188 negative infinity on POWER6 or lower.
24189 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24190
24191 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24192
24193 [BZ #15442]
24194 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24195 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24196 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24197 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24198 (_FP_SETQNAN): New macro.
24199 (_FP_SETQNAN_SEMIRAW): Likewise.
24200 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24201 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24202 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24203 (FP_EXTEND): Use _FP_FRAC_SNANP.
24204 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24205 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24206 into account.
24207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24208 New macro.
24209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24210 Likewise.
24211
24212 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24213
24214 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24215 with DIVIDE_BY_ZERO_EXCEPTION.
24216 (gamma_test_data): Likewise.
24217 (lgamma_test_data): Likewise.
24218 (log_test_data): Likewise.
24219 (log10_test_data): Likewise.
24220 (log2_test_data): Likewise.
24221 (tgamma_test_data): Likewise.
24222
24223 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24224 (acos_test_tonearest): Likewise.
24225 (acos_test_towardzero): Likewise.
24226 (acos_test_downward): Likewise.
24227 (acos_test_upward): Likewise.
24228 (acosh_test): Likewise.
24229 (asin_test): Likewise.
24230 (asin_test_tonearest): Likewise.
24231 (asin_test_towardzero): Likewise.
24232 (asin_test_downward): Likewise.
24233 (asin_test_upward): Likewise.
24234 (asinh_test): Likewise.
24235 (atan_test): Likewise.
24236 (atanh_test): Likewise.
24237 (atan2_test): Likewise.
24238 (cabs_test): Likewise.
24239 (cacos_test): Likewise.
24240 (cacosh_test): Likewise.
24241 (casin_test): Likewise.
24242 (casinh_test): Likewise.
24243 (catan_test): Likewise.
24244 (catanh_test): Likewise.
24245 (cbrt_test): Likewise.
24246 (ccos_test): Likewise.
24247 (ccosh_test): Likewise.
24248 (cexp_test): Likewise.
24249 (clog_test): Likewise.
24250 (clog10_test): Likewise.
24251 (cos_test): Likewise.
24252 (cos_test_tonearest): Likewise.
24253 (cos_test_towardzero): Likewise.
24254 (cos_test_downward): Likewise.
24255 (cos_test_upward): Likewise.
24256 (cosh_test): Likewise.
24257 (cosh_test_tonearest): Likewise.
24258 (cosh_test_towardzero): Likewise.
24259 (cosh_test_downward): Likewise.
24260 (cosh_test_upward): Likewise.
24261 (cpow_test): Likewise.
24262 (csin_test): Likewise.
24263 (csinh_test): Likewise.
24264 (csqrt_test): Likewise.
24265 (ctan_test): Likewise.
24266 (ctan_test_tonearest): Likewise.
24267 (ctan_test_towardzero): Likewise.
24268 (ctan_test_downward): Likewise.
24269 (ctan_test_upward): Likewise.
24270 (ctanh_test): Likewise.
24271 (ctanh_test_tonearest): Likewise.
24272 (ctanh_test_towardzero): Likewise.
24273 (ctanh_test_downward): Likewise.
24274 (ctanh_test_upward): Likewise.
24275 (erf_test): Likewise.
24276 (erfc_test): Likewise.
24277 (exp_test): Likewise.
24278 (exp_test_tonearest): Likewise.
24279 (exp_test_towardzero): Likewise.
24280 (exp_test_downward): Likewise.
24281 (exp_test_upward): Likewise.
24282 (exp10_test): Likewise.
24283 (exp2_test): Likewise.
24284 (expm1_test): Likewise.
24285 (fmod_test): Likewise.
24286 (gamma_test): Likewise.
24287 (hypot_test): Likewise.
24288 (j0_test): Likewise.
24289 (j1_test): Likewise.
24290 (jn_test): Likewise.
24291 (lgamma_test): Likewise.
24292 (log_test): Likewise.
24293 (log10_test): Likewise.
24294 (log1p_test): Likewise.
24295 (log2_test): Likewise.
24296 (logb_test_downward): Likewise.
24297 (pow_test): Likewise.
24298 (pow_test_tonearest): Likewise.
24299 (pow_test_towardzero): Likewise.
24300 (pow_test_downward): Likewise.
24301 (pow_test_upward): Likewise.
24302 (remainder_test): Likewise.
24303 (remquo_test): Likewise.
24304 (sin_test): Likewise.
24305 (sin_test_tonearest): Likewise.
24306 (sin_test_towardzero): Likewise.
24307 (sin_test_downward): Likewise.
24308 (sin_test_upward): Likewise.
24309 (sincos_test): Likewise.
24310 (sinh_test): Likewise.
24311 (sinh_test_tonearest): Likewise.
24312 (sinh_test_towardzero): Likewise.
24313 (sinh_test_downward): Likewise.
24314 (sinh_test_upward): Likewise.
24315 (sqrt_test): Likewise.
24316 (tan_test): Likewise.
24317 (tan_test_tonearest): Likewise.
24318 (tan_test_towardzero): Likewise.
24319 (tan_test_downward): Likewise.
24320 (tan_test_upward): Likewise.
24321 (tanh_test): Likewise.
24322 (tgamma_test): Likewise.
24323 (y0_test): Likewise.
24324 (y1_test): Likewise.
24325 (yn_test): Likewise.
24326
24327 * math/gen-libm-test.pl (adjust_arg): Remove function.
24328 (special_function): Remove argument $in_func. Only handle
24329 generating output for tables of tests, not inside functions.
24330 (parse_args): Likewise.
24331 (generate_testfile): Remove variable $in_func. Update call to
24332 parse_args.
24333 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24334 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24335 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24336 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24337 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24338 (MAX_VALUE_INIT): Rename macro to max_value.
24339 (MIN_VALUE_INIT): Rename macro to min_value.
24340 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24341 (plus_zero): Remove variable.
24342 (minus_zero): Likewise.
24343 (plus_infty): Likewise.
24344 (minus_infty): Likewise.
24345 (qnan_value): Likewise.
24346 (max_value): Likewise.
24347 (min_value): Likewise.
24348 (min_subnorm_value): Likewise.
24349
24350 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24351
24352 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24353 uint64_t or uint32_t usage.
24354 * crypt/sha256-block.c: Likewise.
24355 * crypt/sha256-crypt.c: Likewise.
24356 * crypt/sha256.c: Likewise.
24357 * crypt/sha512-block.c: Likewise.
24358 * crypt/sha512-crypt.c: Likewise.
24359 * crypt/sha512.c: Likewise.
24360 * debug/backtrace-tst.c: Likewise.
24361 * debug/pcprofiledump.c: Likewise.
24362 * elf/cache.c: Likewise.
24363 * elf/dl-cache.c: Likewise.
24364 * elf/dl-misc.c: Likewise.
24365 * elf/dl-profile.c: Likewise.
24366 * elf/dl-support.c: Likewise.
24367 * elf/ldconfig.c: Likewise.
24368 * elf/sprof.c: Likewise.
24369 * iconv/dummy-repertoire.c: Likewise.
24370 * iconv/iconv_charmap.c: Likewise.
24371 * iconv/skeleton.c: Likewise.
24372 * iconvdata/8bit-generic.c: Likewise.
24373 * iconvdata/cp737.h: Likewise.
24374 * iconvdata/cp775.h: Likewise.
24375 * iconvdata/ibm1008.h: Likewise.
24376 * iconvdata/ibm1025.h: Likewise.
24377 * iconvdata/ibm1046.h: Likewise.
24378 * iconvdata/ibm1097.h: Likewise.
24379 * iconvdata/ibm1112.h: Likewise.
24380 * iconvdata/ibm1122.h: Likewise.
24381 * iconvdata/ibm1123.h: Likewise.
24382 * iconvdata/ibm1124.h: Likewise.
24383 * iconvdata/ibm1129.h: Likewise.
24384 * iconvdata/ibm1130.h: Likewise.
24385 * iconvdata/ibm1132.h: Likewise.
24386 * iconvdata/ibm1133.h: Likewise.
24387 * iconvdata/ibm1137.h: Likewise.
24388 * iconvdata/ibm1140.h: Likewise.
24389 * iconvdata/ibm1141.h: Likewise.
24390 * iconvdata/ibm1142.h: Likewise.
24391 * iconvdata/ibm1143.h: Likewise.
24392 * iconvdata/ibm1144.h: Likewise.
24393 * iconvdata/ibm1145.h: Likewise.
24394 * iconvdata/ibm1146.h: Likewise.
24395 * iconvdata/ibm1147.h: Likewise.
24396 * iconvdata/ibm1148.h: Likewise.
24397 * iconvdata/ibm1149.h: Likewise.
24398 * iconvdata/ibm1153.h: Likewise.
24399 * iconvdata/ibm1154.h: Likewise.
24400 * iconvdata/ibm1155.h: Likewise.
24401 * iconvdata/ibm1156.h: Likewise.
24402 * iconvdata/ibm1157.h: Likewise.
24403 * iconvdata/ibm1158.h: Likewise.
24404 * iconvdata/ibm1160.h: Likewise.
24405 * iconvdata/ibm1161.h: Likewise.
24406 * iconvdata/ibm1162.h: Likewise.
24407 * iconvdata/ibm1163.h: Likewise.
24408 * iconvdata/ibm1164.h: Likewise.
24409 * iconvdata/ibm1166.h: Likewise.
24410 * iconvdata/ibm1167.h: Likewise.
24411 * iconvdata/ibm12712.h: Likewise.
24412 * iconvdata/ibm1390.h: Likewise.
24413 * iconvdata/ibm1399.h: Likewise.
24414 * iconvdata/ibm16804.h: Likewise.
24415 * iconvdata/ibm4517.h: Likewise.
24416 * iconvdata/ibm4899.h: Likewise.
24417 * iconvdata/ibm4909.h: Likewise.
24418 * iconvdata/ibm4971.h: Likewise.
24419 * iconvdata/ibm5347.h: Likewise.
24420 * iconvdata/ibm803.h: Likewise.
24421 * iconvdata/ibm856.h: Likewise.
24422 * iconvdata/ibm901.h: Likewise.
24423 * iconvdata/ibm902.h: Likewise.
24424 * iconvdata/ibm9030.h: Likewise.
24425 * iconvdata/ibm9066.h: Likewise.
24426 * iconvdata/ibm921.h: Likewise.
24427 * iconvdata/ibm922.h: Likewise.
24428 * iconvdata/ibm9448.h: Likewise.
24429 * iconvdata/isiri-3342.h: Likewise.
24430 * iconvdata/jis0201.h: Likewise.
24431 * include/link.h: Likewise.
24432 * include/netdb.h: Likewise.
24433 * inet/check_native.c: Likewise.
24434 * inet/check_pf.c: Likewise.
24435 * inet/getipv4sourcefilter.c: Likewise.
24436 * inet/getnameinfo.c: Likewise.
24437 * inet/getsourcefilter.c: Likewise.
24438 * inet/htonl.c: Likewise.
24439 * inet/setipv4sourcefilter.c: Likewise.
24440 * inet/setsourcefilter.c: Likewise.
24441 * inet/test-inet6_opt.c: Likewise.
24442 * inet/tst-network.c: Likewise.
24443 * locale/C-collate.c: Likewise.
24444 * locale/C-ctype.c: Likewise.
24445 * locale/C-time.c: Likewise.
24446 * locale/C-translit.h: Likewise.
24447 * locale/loadarchive.c: Likewise.
24448 * locale/programs/3level.h: Likewise.
24449 * locale/programs/charmap.c: Likewise.
24450 * locale/programs/charmap.h: Likewise.
24451 * locale/programs/ld-address.c: Likewise.
24452 * locale/programs/ld-collate.c: Likewise.
24453 * locale/programs/ld-ctype.c: Likewise.
24454 * locale/programs/ld-identification.c: Likewise.
24455 * locale/programs/ld-measurement.c: Likewise.
24456 * locale/programs/ld-messages.c: Likewise.
24457 * locale/programs/ld-monetary.c: Likewise.
24458 * locale/programs/ld-name.c: Likewise.
24459 * locale/programs/ld-numeric.c: Likewise.
24460 * locale/programs/ld-paper.c: Likewise.
24461 * locale/programs/ld-telephone.c: Likewise.
24462 * locale/programs/ld-time.c: Likewise.
24463 * locale/programs/linereader.c: Likewise.
24464 * locale/programs/locale.c: Likewise.
24465 * locale/programs/locarchive.c: Likewise.
24466 * locale/programs/locfile.h: Likewise.
24467 * locale/programs/repertoire.c: Likewise.
24468 * locale/programs/simple-hash.c: Likewise.
24469 * locale/programs/simple-hash.h: Likewise.
24470 * malloc/memusage.c: Likewise.
24471 * malloc/memusagestat.c: Likewise.
24472 * nis/nis_defaults.c: Likewise.
24473 * nis/nis_hash.c: Likewise.
24474 * nis/nis_print.c: Likewise.
24475 * nis/nis_xdr.c: Likewise.
24476 * nscd/connections.c: Likewise.
24477 * nscd/hstcache.c: Likewise.
24478 * nscd/nscd_gethst_r.c: Likewise.
24479 * nscd/nscd_getserv_r.c: Likewise.
24480 * nscd/nscd_helper.c: Likewise.
24481 * nscd/servicescache.c: Likewise.
24482 * nss/makedb.c: Likewise.
24483 * nss/nss_db/db-XXX.c: Likewise.
24484 * nss/nss_db/db-initgroups.c: Likewise.
24485 * nss/nss_db/db-netgrp.c: Likewise.
24486 * nss/nss_files/files-network.c: Likewise.
24487 * nss/nss_files/files-parse.c: Likewise.
24488 * posix/bug-regex5.c: Likewise.
24489 * posix/fnmatch_loop.c: Likewise.
24490 * posix/regcomp.c: Likewise.
24491 * posix/regexec.c: Likewise.
24492 * posix/tst-rfc3484-2.c: Likewise.
24493 * posix/tst-rfc3484-3.c: Likewise.
24494 * posix/tst-rfc3484.c: Likewise.
24495 * resolv/nss_dns/dns-canon.c: Likewise.
24496 * resolv/nss_dns/dns-network.c: Likewise.
24497 * resolv/res_init.c: Likewise.
24498 * resolv/res_mkquery.c: Likewise.
24499 * resolv/tst-aton.c: Likewise.
24500 * stdlib/cxa_atexit.c: Likewise.
24501 * stdlib/cxa_finalize.c: Likewise.
24502 * stdlib/gen-fpioconst.c: Likewise.
24503 * stdlib/strtol_l.c: Likewise.
24504 * string/tst-endian.c: Likewise.
24505 * sunrpc/auth_des.c: Likewise.
24506 * sunrpc/clnt_udp.c: Likewise.
24507 * sunrpc/rtime.c: Likewise.
24508 * sunrpc/svcauth_des.c: Likewise.
24509 * sunrpc/xdr.c: Likewise.
24510 * sunrpc/xdr_intXX_t.c: Likewise.
24511 * sunrpc/xdr_rec.c: Likewise.
24512 * sysdeps/generic/ldconfig.h: Likewise.
24513 * sysdeps/generic/ldsodefs.h: Likewise.
24514 * sysdeps/generic/memusage.h: Likewise.
24515 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24517 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24518 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24521 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24522 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24523 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24525 * sysdeps/posix/getaddrinfo.c: Likewise.
24526 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24527 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24528 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24529 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24530 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24531 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24532 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24533 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24534 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24535 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24536 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24537 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24538 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24539 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24540 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24541 * sysdeps/x86_64/dl-tls.h: Likewise.
24542 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24543 * time/alt_digit.c: Likewise.
24544 * time/era.c: Likewise.
24545 * wcsmbs/tst-c16c32-1.c: Likewise.
24546
24547 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24548
24549 * math/libm-test.inc (struct test_sincos_data): New type.
24550 (RUN_TEST_LOOP_sincos): New macro.
24551 (sincos_test_data): New variable.
24552 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24553
24554 2013-05-16 Richard Henderson <rth@redhat.com>
24555
24556 * math/atest-exp2.c (LIMB64): New macro.
24557 (CONSTSZ): New macro.
24558 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24559 (hexdig): Move ...
24560 (print_mpn_fp): ... to function scope.
24561 (read_mpn_hex): Remove.
24562 (get_log2): Remove.
24563 (exp2_mpn): Use mp_log2.
24564 (main): Use mp_exp1.
24565
24566 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24567
24568 * math/libm-test.inc: Remove comment about not testing "inexact"
24569 exceptions.
24570 (INEXACT_EXCEPTION): New macro.
24571 (NO_INEXACT_EXCEPTION): Likewise.
24572 (INVALID_EXCEPTION_OK): Update value.
24573 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24574 (OVERFLOW_EXCEPTION_OK): Likewise.
24575 (UNDERFLOW_EXCEPTION_OK): Likewise.
24576 (IGNORE_ZERO_INF_SIGN): Likewise.
24577 (ERRNO_UNCHANGED): Likewise.
24578 (ERRNO_EDOM): Likewise.
24579 (ERRNO_ERANGE): Likewise.
24580 (test_exceptions): Handle testing "inexact" exceptions.
24581 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24582 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24583 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24584 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24585 INEXACT_EXCEPTION.
24586 (rint_towardzero_test_data): Likewise.
24587 (rint_downward_test_data): Likewise.
24588 (rint_upward_test_data): Likewise.
24589
24590 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24591 with OVERFLOW_EXCEPTION.
24592 (exp10_test_data): Likewise.
24593 (exp2_test_data): Likewise.
24594 (expm1_test_data): Likewise.
24595 (lgamma_test_data): Likewise.
24596 (pow_test_data): Likewise.
24597 (tgamma_test_data): Likewise.
24598 (yn_test_data): Remove duplicate test of overflow.
24599
24600 * math/libm-test.inc (struct test_cc_c_data): New type.
24601 (RUN_TEST_LOOP_cc_c): New macro.
24602 (cpow_test_data): New variable.
24603 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24604
24605 * math/libm-test.inc (struct test_f_L_data): New type.
24606 (RUN_TEST_LOOP_f_L): New macro.
24607 (llrint_test_data): New variable.
24608 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24609 (llrint_tonearest_test_data): New variable.
24610 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24611 (llrint_towardzero_test_data): New variable.
24612 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24613 (llrint_downward_test_data): New variable.
24614 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24615 (llrint_upward_test_data): New variable.
24616 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24617 (llround_test_data): New variable.
24618 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24619
24620 2013-05-13 Peter Collingbourne <pcc@google.com>
24621
24622 * math/atest-exp2.c (get_log2): Remove const attribute.
24623
24624 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24625
24626 * math/libm-test.inc (struct test_f_l_data): New type.
24627 (RUN_TEST_LOOP_f_l): New macro.
24628 (lrint_test_data): New variable.
24629 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24630 (lrint_tonearest_test_data): New variable.
24631 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24632 (lrint_towardzero_test_data): New variable.
24633 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24634 (lrint_downward_test_data): New variable.
24635 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24636 (lrint_upward_test_data): New variable.
24637 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24638 (lround_test_data): New variable.
24639 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24640
24641 2013-05-15 Peter Collingbourne <pcc@google.com>
24642
24643 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24644 (EXTRACT_WORDS64) Use where appropriate.
24645 (INSERT_WORDS64) Likewise.
24646
24647 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24648 constraints with x constraints.
24649 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24650
24651 * malloc/obstack.c (_obstack_compat): Add initializer.
24652
24653 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24654
24655 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24656 si_trapno and add si_addr_lsb to _sifields.sigfault.
24657 (si_trapno): Remove macro.
24658 (si_addr_lsb): Define new macro.
24659 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24660
24661 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24662
24663 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24664 instead of TEST_f_l.
24665 (llrint_test_tonearest): Likewise.
24666 (llrint_test_towardzero): Likewise.
24667 (llrint_test_downward): Likewise.
24668 (llrint_test_upward): Likewise.
24669 (llround_test): Likewise.
24670
24671 * math/libm-test.inc (struct test_f_i_data): Add comment.
24672 (RUN_TEST_LOOP_f_b): New macro.
24673 (RUN_TEST_LOOP_f_b_tg): Likewise.
24674 (finite_test_data): New variable.
24675 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24676 (isfinite_test_data): New variable.
24677 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24678 (isinf_test_data): New variable.
24679 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24680 (isnan_test_data): New variable.
24681 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24682 (isnormal_test_data): New variable.
24683 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24684 (issignaling_test_data): New variable.
24685 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24686 (signbit_test_data): New variable.
24687 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24688
24689 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24690 with INVALID_EXCEPTION.
24691 (acosh_test_data): Likewise.
24692 (asin_test_data): Likewise.
24693 (atanh_test_data): Likewise.
24694 (fmod_test_data): Likewise.
24695 (log_test_data): Likewise.
24696 (log10_test_data): Likewise.
24697 (log2_test_data): Likewise.
24698 (pow_test_data): Likewise.
24699 (sqrt_test_data): Likewise.
24700 (y0_test_data): Likewise.
24701 (y1_test_data): Likewise.
24702 (yn_test_data): Likewise.
24703
24704 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24705 function contents.
24706
24707 * math/libm-test.inc (struct test_ff_i_data): New type.
24708 (RUN_TEST_LOOP_ff_i_tg): New macro.
24709 (isgreater_test_data): New variable.
24710 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24711 (isgreaterequal_test_data): New variable.
24712 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24713 (isless_test_data): New variable.
24714 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24715 (islessequal_test_data): New variable.
24716 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24717 (islessgreater_test_data): New variable.
24718 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24719 (isunordered_test_data): New variable.
24720 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24721
24722 2013-05-14 David S. Miller <davem@davemloft.net>
24723
24724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24725
24726 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24727
24728 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24729
24730 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24731 extra_test to int.
24732 (struct test_f_i_data): Change type of max_ulp to int.
24733
24734 * math/libm-test.inc (test_ffI_f1_data): New type.
24735 (RUN_TEST_LOOP_ffI_f1): New macro.
24736 (remquo_test_data): New variable.
24737 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24738
24739 * setjmp/tst-setjmp-fp.c: New file.
24740 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24741 (link-libm): New variable.
24742 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24743
24744 * math/libm-test.inc (struct test_f_i_data): New type.
24745 (RUN_TEST_LOOP_f_i): New macro.
24746 (RUN_TEST_LOOP_f_i_tg): Likewise.
24747 (fpclassify_test_data): New variable.
24748 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24749 (ilogb_test_data): New variable.
24750 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24751
24752 * math/libm-test.inc (scalbln_test): Correct function name in END
24753 call.
24754
24755 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24756 (RUN_TEST_LOOP_fI_f1): New macro.
24757 (frexp_test_data): New variable.
24758 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24759
24760 * math/libm-test.inc (struct test_fF_f1_data): New type.
24761 (RUN_TEST_LOOP_fF_f1): New macro.
24762 (modf_test_data): New variable.
24763 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24764
24765 * math/libm-test.inc (struct test_f_f1_data): New type.
24766 (RUN_TEST_LOOP_f_f1): New macro.
24767 (gamma_test_data): New variable.
24768 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24769 (lgamma_test_data): New variable.
24770 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24771
24772 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24773
24774 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24775 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24776 (main): Comment "tls" pseudo-hwcap.
24777
24778 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24779
24780 * math/libm-test.inc (struct test_fl_f_data): New type.
24781 (RUN_TEST_LOOP_fl_f): New variable.
24782 (scalbln_test_data): New variable.
24783 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24784
24785 * math/libm-test.inc (struct test_fi_f_data): New type.
24786 (RUN_TEST_LOOP_fi_f): New macro.
24787 (ldexp_test_data): New variable.
24788 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24789 (scalbn_test_data): New variable.
24790 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24791
24792 * math/libm-test.inc (struct test_c_f_data): New type.
24793 (RUN_TEST_LOOP_c_f): New macro.
24794 (cabs_test_data): New variable.
24795 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24796 (carg_test_data): New variable.
24797 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24798 (cimag_test_data): New variable.
24799 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24800 (creal_test_data): New variable.
24801 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24802
24803 * math/libm-test.inc (struct test_if_f_data): New type.
24804 (RUN_TEST_LOOP_if_f): New macro.
24805 (jn_test_data): New variable.
24806 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24807 (yn_test_data): New variable.
24808 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24809
24810 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24811
24812 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24813
24814 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24815 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24816
24817 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24818
24819 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24820 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24821 (bench-deps): Add bench-timing.h.
24822 * benchtests-bench-skeleton.c: Include bench-timing.h.
24823 (main): Use TIMING_* macros instead of clock_gettime.
24824 * benchtests/bench-timing.h: New file.
24825
24826 [BZ #14582]
24827 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24828 Renamed from _LIB_VERSION.
24829 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24830
24831 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24832
24833 * math/libm-test.inc (struct test_fff_f_data): New type.
24834 (RUN_TEST_LOOP_fff_f): New macro.
24835 (fma_test_data): New variable.
24836 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24837 (fma_towardzero_test_data): New variable.
24838 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24839 (fma_downward_test_data): New variable.
24840 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24841 (fma_upward_test_data): New variable.
24842 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24843
24844 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24845 (struct test_c_c_data): New type.
24846 (RUN_TEST_LOOP_c_c): New macro.
24847 (cacos_test_data): New variable.
24848 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24849 (cacosh_test_data): New variable.
24850 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24851 (casin_test_data): New variable.
24852 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24853 (casinh_test_data): New variable.
24854 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24855 (catan_test_data): New variable.
24856 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24857 (catanh_test_data): New variable.
24858 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24859 (ccos_test_data): New variable.
24860 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24861 (ccosh_test_data): New variable.
24862 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24863 (cexp_test_data): New variable.
24864 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24865 (clog_test_data): New variable.
24866 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24867 (clog10_test_data): New variable.
24868 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24869 (conj_test_data): New variable.
24870 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24871 (cproj_test_data): New variable.
24872 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24873 (csin_test_data): New variable.
24874 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24875 (csinh_test_data): New variable.
24876 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24877 (csqrt_test_data): New variable.
24878 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24879 (ctan_test_data): New variable.
24880 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24881 (ctan_tonearest_test_data): New variable.
24882 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24883 (ctan_towardzero_test_data): New variable.
24884 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24885 (ctan_downward_test_data): New variable.
24886 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24887 (ctan_upward_test_data): New variable.
24888 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24889 (ctanh_test_data): New variable.
24890 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24891 (ctanh_tonearest_test_data): New variable.
24892 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24893 (ctanh_towardzero_test_data): New variable.
24894 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24895 (ctanh_downward_test_data): New variable.
24896 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24897 (ctanh_upward_test_data): New variable.
24898 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24899 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24900 of BUILD_COMPLEX.
24901
24902 * math/libm-test.inc (struct test_ff_f_data): New type.
24903 (struct test_ff_f_data_nexttoward): Likewise.
24904 (RUN_TEST_LOOP_2_f): New macro.
24905 (RUN_TEST_LOOP_ff_f): Likewise.
24906 (atan2_test_data): New variable.
24907 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24908 (copysign_test_data): New variable.
24909 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24910 (fdim_test_data): New variable.
24911 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24912 (fmax_test_data): New variable.
24913 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24914 (fmin_test_data): New variable.
24915 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24916 (fmod_test_data): New variable.
24917 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24918 (hypot_test_data): New variable.
24919 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24920 (nextafter_test_data): New variable.
24921 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24922 (nexttoward_test_data): New variable.
24923 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24924 (pow_test_data): New variable.
24925 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24926 (pow_tonearest_test_data): New variable.
24927 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24928 (pow_towardzero_test_data): New variable.
24929 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24930 (pow_downward_test_data): New variable.
24931 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24932 (pow_upward_test_data): New variable.
24933 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24934 (remainder_test_data): New variable.
24935 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24936 (scalb_test_data): New variable.
24937 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24938 * sysdeps/i386/fpu/libm-test-ulps: Update.
24939
24940 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24941
24942 * math/libm-test.inc (fma_test): Use max_value instead of local
24943 variable fltmax.
24944 (nextafter_test): Likewise.
24945
24946 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24947 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24948 (acos_downward_test_data): New variable.
24949 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24950 (acos_upward_test_data): New variable.
24951 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24952 (acosh_test_data): New variable.
24953 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24954 (asin_test_data): New variable.
24955 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24956 (asin_tonearest_test_data): New variable.
24957 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24958 (asin_towardzero_test_data): New variable.
24959 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24960 (asin_downward_test_data): New variable.
24961 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24962 (asin_upward_test_data): New variable.
24963 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24964 (asinh_test_data): New variable.
24965 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24966 (atan_test_data): New variable.
24967 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24968 (atanh_test_data): New variable.
24969 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24970 (cbrt_test_data): New variable.
24971 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24972 (ceil_test_data): New variable.
24973 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24974 (cos_test_data): New variable.
24975 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24976 (cos_tonearest_test_data): New variable.
24977 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24978 (cos_towardzero_test_data): New variable.
24979 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24980 (cos_downward_test_data): New variable.
24981 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24982 (cos_upward_test_data): New variable.
24983 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24984 (cosh_test_data): New variable.
24985 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24986 (cosh_tonearest_test_data): New variable.
24987 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24988 (cosh_towardzero_test_data): New variable.
24989 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24990 (cosh_downward_test_data): New variable.
24991 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24992 (cosh_upward_test_data): New variable.
24993 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24994 (erf_test_data): New variable.
24995 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24996 (erfc_test_data): New variable.
24997 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24998 (exp_test_data): New variable.
24999 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25000 (exp_tonearest_test_data): New variable.
25001 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25002 (exp_towardzero_test_data): New variable.
25003 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25004 (exp_downward_test_data): New variable.
25005 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25006 (exp_upward_test_data): New variable.
25007 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25008 (exp10_test_data): New variable.
25009 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25010 (exp2_test_data): New variable.
25011 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25012 (expm1_test_data): New variable.
25013 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25014 (fabs_test_data): New variable.
25015 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25016 (floor_test_data): New variable.
25017 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25018 (j0_test_data): New variable.
25019 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25020 (j1_test_data): New variable.
25021 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25022 (log_test_data): New variable.
25023 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25024 (log10_test_data): New variable.
25025 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25026 (log1p_test_data): New variable.
25027 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25028 (log2_test_data): New variable.
25029 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25030 (logb_test_data): New variable.
25031 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25032 (logb_downward_test_data): New variable.
25033 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25034 (nearbyint_test_data): New variable.
25035 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25036 (rint_test_data): New variable.
25037 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25038 (rint_tonearest_test_data): New variable.
25039 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25040 (rint_towardzero_test_data): New variable.
25041 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25042 (rint_downward_test_data): New variable.
25043 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25044 (rint_upward_test_data): New variable.
25045 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25046 (round_test_data): New variable.
25047 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25048 (sin_test_data): New variable.
25049 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25050 (sin_tonearest_test_data): New variable.
25051 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25052 (sin_towardzero_test_data): New variable.
25053 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25054 (sin_downward_test_data): New variable.
25055 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25056 (sin_upward_test_data): New variable.
25057 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25058 (sinh_test_data): New variable.
25059 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25060 (sinh_tonearest_test_data): New variable.
25061 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25062 (sinh_towardzero_test_data): New variable.
25063 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25064 (sinh_downward_test_data): New variable.
25065 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25066 (sinh_upward_test_data): New variable.
25067 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25068 (sqrt_test_data): New variable.
25069 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25070 (tan_test_data): New variable.
25071 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25072 (tan_tonearest_test_data): New variable.
25073 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25074 (tan_towardzero_test_data): New variable.
25075 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25076 (tan_downward_test_data): New variable.
25077 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25078 (tan_upward_test_data): New variable.
25079 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25080 (tanh_test_data): New variable.
25081 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25082 (tgamma_test_data): New variable.
25083 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25084 (trunc_test_data): New variable.
25085 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25086 (y0_test_data): New variable.
25087 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25088 (y1_test_data): New variable.
25089 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25090 (significand_test_data): New variable.
25091 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25092
25093 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25094
25095 [BZ #12387]
25096 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25097
25098 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25099
25100 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25101
25102 2013-05-10 Andreas Jaeger <aj@suse.de>
25103
25104 [BZ #15448]
25105 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25106 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25107
25108 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25109
25110 * math/gen-libm-test.pl (adjust_arg): New function.
25111 (special_functions): Handle generating output in both functions
25112 and arrays.
25113 (parse_args): Likewise.
25114 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25115 $in_func argument to parse_args.
25116 * math/libm-test.inc (struct test_f_f_data): New type.
25117 (IF_ROUND_INIT_): New macro.
25118 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25119 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25120 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25121 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25122 (ROUND_RESTORE_): Likewise.
25123 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25124 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25125 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25126 (ROUND_RESTORE_FE_UPWARD): Likewise.
25127 (RUN_TEST_LOOP_f_f): New macro.
25128 (acos_test_data): New variable.
25129 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25130 (acos_tonearest_test_data): New variable.
25131 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25132
25133 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25134
25135 * benchtests/bench-skeleton.c (startup): Fix coding style.
25136
25137 2013-05-10 Joseph Myers <joseph@codesourcery.com>
25138
25139 [BZ #6809]
25140 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25141 negative infinity argument.
25142 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25143 negative infinity argument.
25144 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25145 negative infinity argument.
25146 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25147 domain errors.
25148
25149 2013-05-10 Florian Weimer <fweimer@redhat.com>
25150
25151 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25152 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25153 * iconv/iconv_prog.c (main): Likewise.
25154 * locale/programs/charmap-dir.c (charmap_readdir)
25155 (fopen_uncompressed): Likewise.
25156 * locale/programs/locfile.c (siblings_uncached)
25157 (write_locale_data): Use lstat64 instead of lstat.
25158 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25159 stat.
25160
25161 2013-05-10 Andreas Jaeger <aj@suse.de>
25162
25163 [BZ #15395]
25164 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25165 localization.
25166 Include <locale.h>.
25167
25168 2013-05-09 Carlos O'Donell <carlos@redhat.com>
25169
25170 * elf/dl-close.c (_dl_close_worker): Add comments.
25171
25172 2013-05-09 Joseph Myers <joseph@codesourcery.com>
25173
25174 [BZ #15359]
25175 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25176 high part of pi/2.
25177 (__ieee754_rem_pio2l): Update comments.
25178
25179 [BZ #15429]
25180 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25181 high part of pi/2.
25182 (__ieee754_rem_pio2l): Update comments.
25183
25184 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25185 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25186
25187 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25188 M_PI_4l.
25189
25190 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25191 (M_PI_34_LOG10El): Likewise.
25192 (M_PI2_LOG10El): Likewise.
25193 (M_PI4_LOG10El): Likewise.
25194 (M_PI_LOG10El): Likewise.
25195
25196 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25197
25198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25199
25200 2013-05-08 Joseph Myers <joseph@codesourcery.com>
25201
25202 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25203 (MINUS_ZERO_INIT): Likewise.
25204 (PLUS_INFTY_INIT): Likewise.
25205 (MINUS_INFTY_INIT): Likewise.
25206 (QNAN_VALUE_INIT): Likewise.
25207 (MAX_VALUE_INIT): Likewise.
25208 (MIN_VALUE_INIT): Likewise.
25209 (MIN_SUBNORM_VALUE_INIT): Likewise.
25210 (plus_zero): Initialize with PLUS_ZERO_INIT.
25211 (minus_zero): Initialize with MINUS_ZERO_INIT.
25212 (plus_infty): Initialize with PLUS_INFTY_INIT.
25213 (minus_infty): Initialize with MINUS_INFTY_INIT.
25214 (qnan_value): Initialize with QNAN_VALUE_INIT.
25215 (max_value): Initialize with MAX_VALUE_INIT.
25216 (min_value): Initialize with MIN_VALUE_INIT.
25217 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25218
25219 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25220 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25221 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25222 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25223
25224 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25225 (RUN_TEST_2_f): Likewise.
25226 (RUN_TEST_ff_f): Likewise.
25227 (RUN_TEST_fi_f): Likewise.
25228 (RUN_TEST_fl_f): Likewise.
25229 (RUN_TEST_fff_f): Likewise.
25230 (RUN_TEST_c_f): Likewise.
25231 (RUN_TEST_f_f1): Likewise.
25232 (RUN_TEST_fF_f1): Likewise.
25233 (RUN_TEST_fI_f1): Likewise.
25234 (RUN_TEST_ffI_f1): Likewise.
25235 (RUN_TEST_c_c): Likewise.
25236 (RUN_TEST_cc_c): Likewise.
25237 (RUN_TEST_f_i): Likewise.
25238 (RUN_TEST_f_i_tg): Likewise.
25239 (RUN_TEST_ff_i_tg): Likewise.
25240 (RUN_TEST_f_b): Likewise.
25241 (RUN_TEST_f_b_tg): Likewise.
25242 (RUN_TEST_f_l): Likewise.
25243 (RUN_TEST_f_L): Likewise.
25244 (RUN_TEST_sincos): Likewise.
25245 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25246 whether to show exceptions. Do not include ");\n" in return
25247 value.
25248 (special_functions): Output call to RUN_TEST_sincos instead of
25249 check_float calls. Update calls to new_test.
25250 (parse_args): Output call to single RUN_TEST_* macro instead of
25251 check_* calls and other assignments. Update calls to new_test.
25252
25253 [BZ #2546]
25254 [BZ #2560]
25255 [BZ #5159]
25256 [BZ #15426]
25257 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25258 input to result for tgamma overflow.
25259 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25260 (gamma_coeff): New variable.
25261 (NCOEFF): New macro.
25262 (gamma_positive): New function.
25263 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25264 underflow here. Use gamma_positive instead of exp (lgamma) for
25265 other arguments.
25266 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25267 (gamma_coeff): New variable.
25268 (NCOEFF): New macro.
25269 (gammaf_positive): New function.
25270 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25271 underflow here. Use gamma_positive instead of exp (lgamma) for
25272 other arguments.
25273 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25274 (gamma_coeff): New variable.
25275 (NCOEFF): New macro.
25276 (gammal_positive): New function.
25277 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25278 underflow here. Use gamma_positive instead of exp (lgamma) for
25279 other arguments.
25280 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25281 (gamma_coeff): New variable.
25282 (NCOEFF): New macro.
25283 (gammal_positive): New function.
25284 (__ieee754_gammal_r): Handle positive infinity, overflow and
25285 underflow here. Handle NaN the same as positive infinity. Remove
25286 check x < 0xffffffff for negative integers. Use gamma_positive
25287 instead of exp (lgamma) for other arguments.
25288 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25289 (gamma_coeff): New variable.
25290 (NCOEFF): New macro.
25291 (gammal_positive): New function.
25292 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25293 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25294 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25295 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25296 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25297 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25298 * sysdeps/generic/math_private.h (__gamma_productf): New
25299 prototype.
25300 (__gamma_product): Likewise.
25301 (__gamma_productl): Likewise.
25302 * math/Makefile (libm-calls): Add gamma_product.
25303 * math/libm-test.inc (tgamma_test): Add more tests.
25304 * sysdeps/i386/fpu/libm-test-ulps: Update.
25305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25306
25307 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
25308
25309 * benchtests/bench-skeleton.c (main): Preheat CPU.
25310
25311 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25312
25313 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25314
25315 2013-05-07 Roland McGrath <roland@hack.frob.com>
25316
25317 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25318 and _dl_skip_args_internal.
25319
25320 2013-05-07 Carlos O'Donell <carlos@redhat.com>
25321
25322 * manual/message.texi (Message Translation): Talk about users.
25323 Message to key mapping impacts design.
25324
25325 2013-05-06 Roland McGrath <roland@hack.frob.com>
25326
25327 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25328
25329 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25330
25331 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25332 * sysdeps/wordsize-64/glob64.c: ... here.
25333
25334 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25335 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25336 New macros.
25337
25338 * debug/getlogin_r_chk.c: Moved to ...
25339 * login/getlogin_r_chk.c: ... here.
25340 * debug/Makefile (routines): Move getlogin_r_chk to ...
25341 * login/Makefile (routines): ... here.
25342 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25343 * login/Versions (libc: GLIBC_2.4): ... here.
25344
25345 * io/poll.c (__poll): Renamed from poll.
25346 Add libc_hidden_def.
25347 (poll): Define as weak alias.
25348
25349 * debug/ptsname_r_chk.c: Moved to ...
25350 * login/ptsname_r_chk.c: ... here.
25351 * debug/Makefile (routines): Move ptsname_r_chk to ...
25352 * login/Makefile (routines): ... here.
25353 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25354 * login/Versions (libc: GLIBC_2.4): ... here.
25355
25356 * posix/getlogin.c: Moved to ...
25357 * login/getlogin.c: ... here.
25358 * posix/getlogin_r.c: Moved to ...
25359 * login/getlogin_r.c: ... here.
25360 * posix/getlogin_r.c: Moved to ...
25361 * login/getlogin_r.c: ... here.
25362 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25363 * login/Makefile (routines): ... here.
25364 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25365 * login/Versions (libc: GLIBC_2.0): ... here.
25366
25367 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25368 (setrlimit): Define as weak alias.
25369
25370 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25371 Call __ names for open, ftruncate, and close.
25372 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25373 (truncate): Define as weak alias.
25374
25375 2013-05-06 Joseph Myers <joseph@codesourcery.com>
25376
25377 * math/gen-libm-test.pl (parse_args): Initialize x before each
25378 test of frexp, modf and remquo.
25379
25380 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25381 test signgam value.
25382
25383 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25384
25385 [BZ #15418]
25386 [BZ #15419]
25387 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25388 internal tests.
25389 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25390
25391 2013-05-06 Roland McGrath <roland@hack.frob.com>
25392
25393 * elf/dl-writev.h: New file.
25394 * elf/dl-misc.c: Include it.
25395 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25396 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25397
25398 2013-05-04 Joseph Myers <joseph@codesourcery.com>
25399
25400 * math/libm-test.inc (noXFails): Remove variable.
25401 (noXPasses): Likewise.
25402 (BUILD_COMPLEX_INT): Remove macro.
25403 (print_screen): Remove xfail argument.
25404 (print_screen_max_error): Likewise.
25405 (update_stats): Likewise.
25406 (print_max_error): Likewise. Update calls to other affected
25407 functions.
25408 (print_complex_max_error): Likewise.
25409 (test_single_exception): Update calls to print_screen.
25410 (test_single_errno): Likewise.
25411 (check_float_internal): Remove xfail argument. Update calls to
25412 other affected functions.
25413 (check_float): Likewise.
25414 (check_complex): Likewise.
25415 (check_int): Likewise.
25416 (check_long): Likewise.
25417 (check_bool): Likewise.
25418 (check_longlong): Likewise.
25419 (main): Don't print noXFails and noXPasses.
25420 * math/gen-libm-test.pl (top level): Don't mention expected
25421 failure handling in comment.
25422 (new_test): Don't handle expected failures.
25423 (parse_args): Don't mention expected failure handling in comment.
25424 (generate_testfile): Don't handle expected failures.
25425 (parse_ulps): Likewise.
25426 (print_ulps_file): Likewise.
25427 (get_failure): Remove function.
25428 (output_test): Don't handle expected failures.
25429 * make/README.libm-test: Don't mention expected failure handling.
25430
25431 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25432 (minus_zero): Likewise.
25433 (plus_infty): Likewise.
25434 (minus_infty): Likewise.
25435 (qnan_value): Likewise.
25436 (max_value): Likewise.
25437 (min_value): Likewise.
25438 (min_subnorm_value): Likewise.
25439 (initialize): Do not initialize those variables dynamically.
25440
25441 2013-05-03 Roland McGrath <roland@hack.frob.com>
25442
25443 * io/open.c (__open_2): Moved to ...
25444 * io/open_2.c: ... this new file.
25445 * io/open64.c (__open64_2): Moved to ...
25446 * io/open64_2.c: ... this new file.
25447 * io/openat.c (__openat_2): Moved to ...
25448 * io/openat_2.c: ... this new file.
25449 * io/openat64.c (__openat64_2): Moved to ...
25450 * io/openat64_2.c: ... this new file.
25451 * io/Makefile (routines): Add them.
25452 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25453 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25454 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25455 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25456 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25457 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25458 (__openat64): Add hidden_ver.
25459 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25460 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25461
25462 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25463 Separately conditionalize setting of GLRO(dl_sysinfo) so
25464 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25465 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25466
25467 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25468
25469 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25471 definition.
25472 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25473 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25474 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25475 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25476 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25477
25478 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25479
25480 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25481 test signgam value.
25482
25483 * math/libm-test.inc (hypot_test): Do not use
25484 IGNORE_ZERO_INF_SIGN.
25485
25486 2013-05-03 Andreas Jaeger <aj@suse.de>
25487
25488 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25489 Linux 3.9.
25490 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25491 (PF_MAX): Adjust for VSOCK change.
25492
25493 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25494
25495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25496
25497 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25498
25499 [BZ #15264]
25500 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25501 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25502 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25503
25504 2013-05-02 David S. Miller <davem@davemloft.net>
25505
25506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25507
25508 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25509
25510 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25511
25512 2013-05-01 Roland McGrath <roland@hack.frob.com>
25513
25514 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25515
25516 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25517
25518 [BZ #14952]
25519 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25520 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25521 Use __attribute__ ((__gnu_inline__)).
25522 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25523 Don't use __attribute__ ((__gnu_inline__)).
25524
25525 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25526
25527 [BZ #15423]
25528 * math/s_catan.c (__catan): Handle small real or imaginary part of
25529 input specially to avoid spurious underflow.
25530 * math/s_catanf.c (__catanf): Likewise.
25531 * math/s_catanh.c (__catanh): Likewise.
25532 * math/s_catanhf.c (__catanhf): Likewise.
25533 * math/s_catanhl.c (__catanhl): Likewise.
25534 * math/s_catanl.c (__catanl): Likewise.
25535 * math/libm-test.inc (catan_test): Add more tests.
25536 (catanh_test): Likewise.
25537 * sysdeps/i386/fpu/libm-test-ulps: Update.
25538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25539
25540 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25541
25542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25543
25544 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25545
25546 [BZ #15416]
25547 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25548 accurately for denominator in atan2.
25549 * math/s_catanf.c (__catanf): Likewise.
25550 * math/s_catanh.c (__catanh): Likewise.
25551 * math/s_catanhf.c (__catanhf): Likewise.
25552 * math/s_catanhl.c (__catanhl): Likewise.
25553 * math/s_catanl.c (__catanl): Likewise.
25554 * math/libm-test.inc (catan_test): Add more tests.
25555 (catanh_test): Likewise.
25556 * sysdeps/i386/fpu/libm-test-ulps: Update.
25557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25558
25559 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25560
25561 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25562
25563 * benchtests/Makefile (bench): Remove slow benchmarks.
25564 * benchtests/atan-inputs: Add slow benchmark inputs.
25565 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25566 (BENCH_FUNC): Accept variant offset.
25567 (VARIANT): Define.
25568 * benchtests/bench-skeleton.c (main): Run benchmark for each
25569 variant.
25570 * benchtests/cos-inputs: Add slow benchmark inputs.
25571 * benchtests/exp-inputs: Likewise.
25572 * benchtests/pow-inputs: Likewise.
25573 * benchtests/sin-inputs: Likewise.
25574 * benchtests/slowatan-inputs: Remove.
25575 * benchtests/slowatan.c: Remove.
25576 * benchtests/slowcos-inputs: Remove.
25577 * benchtests/slowcos.c: Remove.
25578 * benchtests/slowexp-inputs: Remove.
25579 * benchtests/slowexp.c: Remove.
25580 * benchtests/slowpow-inputs: Remove.
25581 * benchtests/slowpow.c: Remove.
25582 * benchtests/slowsin-inputs: Remove.
25583 * benchtests/slowsin.c: Remove.
25584 * benchtests/slowtan-inputs: Remove.
25585 * benchtests/slowtan.c: Remove.
25586 * benchtests/tan-inputs: Add slow benchmark inputs.
25587 * scripts/bench.pl: Parse comments and directives.
25588
25589 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25590 in CPPFLAGS.
25591 ($(objpfx)bench-%.c): Remove *-ITER.
25592 * benchtests/bench-modf.c: Remove definition of ITER.
25593 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25594 (main): Loop for DURATION seconds instead of fixed number of
25595 iterations.
25596 * scripts/bench.pl: Don't expect iterations in parameters.
25597
25598 2013-04-29 Roland McGrath <roland@hack.frob.com>
25599
25600 * io/fchdir.c (__fchdir): Renamed from fchdir.
25601 (fchdir): Define as weak alias.
25602
25603 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25604
25605 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25606 (ERRNO_EDOM): Likewise.
25607 (ERRNO_ERANGE): Likewise.
25608 (noErrnoTests): New variable.
25609 (init_max_error): Set errno to 0.
25610 (test_single_errno): New function.
25611 (test_errno): Likewise.
25612 (check_float_internal): Call test_errno. Set errno to 0.
25613 (check_complex): Refer to errno tests in comment.
25614 (check_int): Call test_errno. Set errno to 0.
25615 (check_long): Likewise.
25616 (check_bool): Likewise.
25617 (check_longlong): Likewise.
25618 (cos_test): Use ERRNO_* flags for errno tests instead of
25619 check_int.
25620 (expm1_test): Likewise.
25621 (fmod_test): Likewise.
25622 (ilogb_test): Likewise.
25623 (lgamma_test): Likewise.
25624 (pow_test): Likewise.
25625 (remainder_test): Likewise.
25626 (sin_test): Likewise.
25627 (tan_test): Likewise.
25628 (yn_test): Likewise.
25629 (initialize): Set errno to 0.
25630 (main): Print number of errno tests.
25631 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25632
25633 2013-04-29 Andreas Jaeger <aj@suse.de>
25634
25635 [BZ #15084]
25636 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25637 and RES_USEVC.
25638
25639 [BZ #15085]
25640 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25641 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25642 unimplemented.
25643
25644 [BZ #15380]
25645 * stdlib/random.c (__initstate): Return NULL if
25646 __initstate fails.
25647
25648 [BZ #15086]
25649 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25650 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25651 RES_SNGLKUPREOP.
25652
25653 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25654
25655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25656
25657 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25658
25659 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25660 of individual tests.
25661 (casin_test): Likewise.
25662 (casinh_test): Likewise.
25663
25664 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25665
25666 [BZ #15409]
25667 * math/s_catan.c (__catan): Handle arguments with large real or
25668 imaginary part separately without squaring.
25669 * math/s_catanf.c (__catanf): Likewise.
25670 * math/s_catanh.c (__catanh): Likewise.
25671 * math/s_catanhf.c (__catanhf): Likewise.
25672 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25673 and redefine.
25674 (__catanhl): Handle arguments with large real or imaginary part
25675 separately without squaring.
25676 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25677 and redefine.
25678 (__catanl): Handle arguments with large real or imaginary part
25679 separately without squaring.
25680 * math/libm-test.inc (catan_test): Add more tests.
25681 (catanh_test): Likewise.
25682 * sysdeps/i386/fpu/libm-test-ulps: Update.
25683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25684
25685 2013-04-27 Andreas Jaeger <aj@suse.de>
25686
25687 [BZ #15007]
25688 * stdlib/stdlib.h: Update guards for qecvt.
25689 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25690 <stdlib.h>.
25691
25692 2013-04-27 Allan McRae <allan@archlinux.org>
25693
25694 * sysdeps/i386/fpu/libm-test-ulps: Update.
25695
25696 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25697
25698 [BZ #15406]
25699 * math/s_catan.c: Include <float.h>.
25700 (__catan): Ensure underflow exception occurs for underflowed
25701 result.
25702 * math/s_catanf.c: Include <float.h>.
25703 (__catanf): Ensure underflow exception occurs for underflowed
25704 result.
25705 * math/s_catanh.c: Include <float.h>.
25706 (__catanh): Ensure underflow exception occurs for underflowed
25707 result.
25708 * math/s_catanhf.c: Include <float.h>.
25709 (__catanhf): Ensure underflow exception occurs for underflowed
25710 result.
25711 * math/s_catanhl.c: Include <float.h>.
25712 (__catanhl): Ensure underflow exception occurs for underflowed
25713 result.
25714 * math/s_catanl.c: Include <float.h>.
25715 (__catanl): Ensure underflow exception occurs for underflowed
25716 result.
25717 * math/libm-test.inc (catan_test): Add more tests.
25718 (catanh_test): Likewise.
25719
25720 [BZ #15405]
25721 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25722 underflowed result.
25723 * math/s_ccoshf.c (__ccoshf): Likewise.
25724 * math/s_ccoshl.c (__ccoshl): Likewise.
25725 * math/s_csin.c (__csin): Likewise.
25726 * math/s_csinf.c (__csinf): Likewise.
25727 * math/s_csinh.c (__csinh): Likewise.
25728 * math/s_csinhf.c (__csinhf): Likewise.
25729 * math/s_csinhl.c (__csinhl): Likewise.
25730 * math/s_csinl.c (__csinl): Likewise.
25731 * math/libm-test.inc (ccos_test): Add more tests.
25732 (ccosh_test): Likewise.
25733 (csin_test): Likewise.
25734 (csinh_test): Likewise.
25735
25736 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25737
25738 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25739 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25740 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25741 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25742 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25743 powerpc/power5+/fpu folders.
25744 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25745
25746
25747 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25748
25749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25750
25751 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25752
25753 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25754 additions to variable.
25755 [$(config-machine) = x86_64] (modules-names): Likewise.
25756 ($(objpfx)tst-audit3): Remove dependency.
25757 ($(objpfx)tst-audit3.out): Likewise.
25758 ($(objpfx)tst-audit4): Likewise.
25759 ($(objpfx)tst-audit4.out): Likewise.
25760 ($(objpfx)tst-audit5): Likewise.
25761 ($(objpfx)tst-audit5.out): Likewise.
25762 ($(objpfx)tst-audit6): Likewise.
25763 ($(objpfx)tst-audit6.out): Likewise.
25764 ($(objpfx)tst-audit7): Likewise.
25765 ($(objpfx)tst-audit7.out): Likewise.
25766 (tst-audit3-ENV): Remove variable.
25767 (tst-audit4-ENV): Likewise.
25768 (tst-audit5-ENV): Likewise.
25769 (tst-audit6-ENV): Likewise.
25770 (tst-audit7-ENV): Likewise.
25771 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25772 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25773 addition to variable.
25774 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25775 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25776 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25777 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25778 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25779 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25780 tst-audit3, tst-audit4 and tst-audit5.
25781 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25782 tst-audit6 and tst-audit7.
25783 [$(subdir) = elf] (modules-names): Add audit modules for those
25784 tests.
25785 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25786 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25787 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25788 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25789 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25790 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25791 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25792 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25793 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25794 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25795 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25796 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25797 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25798 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25799 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25800 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25801 Likewise.
25802 [$(subdir) = elf && $(config-cflags-avx) = yes]
25803 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25804 [$(subdir) = elf && $(config-cflags-avx) = yes]
25805 (CFLAGS-tst-auditmod4a.c): Likewise.
25806 [$(subdir) = elf && $(config-cflags-avx) = yes]
25807 (CFLAGS-tst-auditmod4b.c): Likewise.
25808 [$(subdir) = elf && $(config-cflags-avx) = yes]
25809 (CFLAGS-tst-auditmod6b.c): Likewise.
25810 [$(subdir) = elf && $(config-cflags-avx) = yes]
25811 (CFLAGS-tst-auditmod6c.c): Likewise.
25812 [$(subdir) = elf && $(config-cflags-avx) = yes]
25813 (CFLAGS-tst-auditmod7b.c): Likewise.
25814 * elf/tst-audit3.c: Move to ...
25815 * sysdeps/x86_64/tst-audit3.c: ... here.
25816 * elf/tst-audit4.c: Move to ...
25817 * sysdeps/x86_64/tst-audit4.c: ... here.
25818 * elf/tst-audit5.c: Move to ...
25819 * sysdeps/x86_64/tst-audit5.c: ... here.
25820 * elf/tst-audit6.c: Move to ...
25821 * sysdeps/x86_64/tst-audit6.c: ... here.
25822 * elf/tst-audit7.c: Move to ...
25823 * sysdeps/x86_64/tst-audit7.c: ... here.
25824 * elf/tst-auditmod3a.c: Move to ...
25825 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25826 * elf/tst-auditmod3b.c: Move to ...
25827 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25828 * elf/tst-auditmod4a.c: Move to ...
25829 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25830 * elf/tst-auditmod4b.c: Move to ...
25831 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25832 * elf/tst-auditmod5a.c: Move to ...
25833 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25834 * elf/tst-auditmod5b.c: Move to ...
25835 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25836 * elf/tst-auditmod6a.c: Move to ...
25837 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25838 * elf/tst-auditmod6b.c: Move to ...
25839 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25840 * elf/tst-auditmod6c.c: Move to ...
25841 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25842 * elf/tst-auditmod7a.c: Move to ...
25843 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25844 * elf/tst-auditmod7b.c: Move to ...
25845 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25846
25847 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25848
25849 [BZ #15366]
25850 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25851 define unconditionally.
25852 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25853 define unconditionally.
25854 (INT8_C, INT16_C, etc.): Likewise.
25855
25856 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25857
25858 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25859 __ehdr_start with hidden visibility.
25860
25861 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25862
25863 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25864
25865 * math/libm-test.inc (cos_test): Use accurate hex constants.
25866 (sincost_test): Likewise.
25867
25868 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25869
25870 * math/libm-test.inc (catan_test): Add more tests.
25871 (catanh_test): Likewise.
25872
25873 * math/s_catanf.c (__catanf): Use suffixed floating-point
25874 constants.
25875 * math/s_catanhf.c (__catanhf): Likewise.
25876 * math/s_catanhl.c (__catanhl): Likewise.
25877 * math/s_catanl.c (__catanl): Likewise.
25878
25879 [BZ #15394]
25880 * math/s_catan.c (__catan): Calculate imaginary part of result
25881 with log1p not log unless computing log of number close to 0.
25882 * math/s_catanf.c (__catanf): Likewise.
25883 * math/s_catanl.c (__catanl): Likewise.
25884 * math/s_catanh.c (__catanh): Calculate real part of result with
25885 log1p not log unless computing log of number close to 0.
25886 * math/s_catanhf.c (__catanhf): Likewise.
25887 * math/s_catanhl.c (__catanhl): Likewise.
25888 * math/libm-test.inc (catan_test): Add more tests.
25889 (catanh_test): Likewise.
25890 * sysdeps/i386/fpu/libm-test-ulps: Update.
25891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25892
25893 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25894
25895 * benchtests/Makefile: Mention files in which fast and slow
25896 paths of math functions are implemented.
25897
25898 2013-04-23 Roland McGrath <roland@hack.frob.com>
25899
25900 * sysdeps/posix/timespec_get.c: New file.
25901
25902 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25903
25904 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25905 POWER.
25906 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25907 for POWER.
25908 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25909 powerpc/power5/fpu folders.
25910 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25911 * benchtests/Makefile: Add modf testcase.
25912 * benchtests/bench-modf.c: New file: Benchmark test for mo
25913
25914 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25915
25916 [BZ #14888]
25917 * time/Makefile (tests): Add tst-strptime-whitespace.
25918 * time/strptime_l.c (get_number): Use ISSPACE.
25919 (__strptime_internal): Likewise.
25920 * time/tst-strptime-whitespace.c: New test case.
25921
25922 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25923
25924 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25925 member.
25926 (_nss_files_init): Set it here.
25927
25928 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25929
25930 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25931 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25932 unsigned.
25933
25934 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25935
25936 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25937
25938 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25939
25940 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25941 size just once.
25942
25943 2013-04-21 David S. Miller <davem@davemloft.net>
25944
25945 * po/ru.po: Update Russion translation from translation project.
25946
25947 2013-04-17 Adam Conrad <adconrad@0c3.net>
25948
25949 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25950 and setfsgid.
25951
25952 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25953
25954 * configure.in: Remove i386 configure warning. Remove i386 case.
25955 * configure: Regenerate.
25956 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25957 Add example to error message.
25958 * sysdeps/i386/configure: Regenerate.
25959
25960 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25961
25962 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25963 slowtan.
25964 * benchtests/cos-inputs: New file.
25965 * benchtests/slowcos-inputs: New file.
25966 * benchtests/slowcos.c: New file.
25967 * benchtests/slowtan-inputs: New file.
25968 * benchtests/slowtan.c: New file.
25969 * benchtests/tan-inputs: New file.
25970
25971 2013-04-16 Roland McGrath <roland@hack.frob.com>
25972
25973 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25974 considered kosher.
25975
25976 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25977
25978 * benchtests/Makefile: Include cppflags-iterator.mk to add
25979 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25980
25981 * Makefile.in (bench-clean): New target.
25982 * benchtests/Makefile (bench-clean): Likewise.
25983
25984 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25985
25986 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25987
25988 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25989
25990 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25991
25992 2013-04-15 Andreas Schwab <schwab@suse.de>
25993
25994 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25996 * nscd/pwdcache.c (cache_addpw): Likewise.
25997 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25998 more than recsize.
25999
26000 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26001
26002 * benchtests/Makefile (bench): Write all output to
26003 bench-out.tmp together.
26004
26005 2013-04-15 Andreas Schwab <schwab@suse.de>
26006
26007 * nscd/nscd.c (main): Don't fork again after closing files.
26008
26009 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26010
26011 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26012
26013 * benchtests/Rules (bench-deps): Collect dependencies into a
26014 single variable. Add Makefile to dependencies.
26015 ($(objpfx)bench-%.c): Depend on bench-deps.
26016
26017 2013-04-12 Roland McGrath <roland@hack.frob.com>
26018 Xavier Roche <roche+kml2@exalead.com>
26019
26020 [BZ #15361]
26021 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26022 just that it's a file descriptor.
26023 * manual/llio.texi (Synchronizing AIO Operations): Update description
26024 for EBADF error from aio_fsync.
26025
26026 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26027
26028 * Rules (bench): Move target definition...
26029 * benchtests/Makefile: ... here.
26030
26031 2013-04-11 Carlos O'Donell <carlos@redhat.com>
26032
26033 * math/libm-test.inc (cos_test): Fix PI/2 test.
26034 (sincos_test): Likewise.
26035 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26036 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26037
26038 2013-04-11 Andreas Schwab <schwab@suse.de>
26039
26040 [BZ #13988]
26041 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26042 accept exponent character only when digits were seen.
26043 * stdio-common/Makefile (tests): Add bug26.
26044 * stdio-common/bug26.c: New file.
26045
26046 [BZ #14293]
26047 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26048 non-freeable.
26049
26050 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26051
26052 * Makeconfig (rtld-prefix): Define built linker prefix.
26053 * Rules (run-bench): Use it.
26054 * math/Makefile (run-regen-ulps): Likewise.
26055
26056 * Rules (bench): Remove eval.
26057
26058 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26059 Roland McGrath <roland@hack.frob.com>
26060 Ondrej Bilka <neleai@seznam.cz>
26061
26062 [BZ #15346]
26063 * time/getdate.c: Include ctype.h and alloca.h.
26064 (__getdate_r): Trim leading and trailing spaces of input.
26065 * time/tst-getdate.c (tests): Add tests with leading and
26066 trailing spaces.
26067
26068 2013-04-08 Roland McGrath <roland@hack.frob.com>
26069
26070 [BZ #14280]
26071 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26072 when computing value.
26073
26074 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26075
26076 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26077 Use testrun.sh to run libm tests.
26078
26079 [BZ #15309]
26080 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26081
26082 2013-04-06 Marko Myllynen <myllynen@redhat.com>
26083
26084 [BZ #15264]
26085 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26086
26087 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26088
26089 * Makefile.in (regen-ulps): New target.
26090 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26091 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26092 [ifneq (no,$(PERL)] (regen-ulps): New target.
26093 [ifeq (no,$(PERL)] (regen-ulps): New target.
26094 * math/libm-test.inc (ulps_file_name): Define.
26095 (output_dir): New variable.
26096 (options): Add "output-dir" option.
26097 (parse_opt): Handle 'o' case.
26098 (main): If output_dir is non-NULL use it as a prefix
26099 otherwise use "".
26100 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26101
26102 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26103
26104 [BZ #10060, #10062]
26105 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26106 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26107 fail configure if __sync_val_compare_and_swap is not inlined.
26108 * sysdeps/i386/configure: Regenerate.
26109 * configure.in: Build for i686 when configured for i386.
26110 * configure: Regenerate.
26111 * README: Remove i386 reference.
26112
26113 2013-04-06 Carlos O'Donell <carlos@redhat.com>
26114
26115 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26116 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26117
26118 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26119
26120 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26121 (lmsnanval): New variables.
26122 (F): Add conversion tests.
26123 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26124 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26125
26126 * stdio-common/tstdiomisc.c (F): Properly collect individual
26127 tests' results.
26128
26129 [BZ #14686, #15336]
26130 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26131 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26132 Instead, use input NaN values or generate a qNaN by arithmetic
26133 operation. Also fix bugs to comply with the standard.
26134 * math/libm-test.inc (remainder_test): Add more tests.
26135
26136 [BZ #15335, #15342]
26137 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26139 input NaN values or generate a qNaN by arithmetic operation.
26140
26141 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26142 unreachable code.
26143
26144 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26145 definitions.
26146
26147 2013-04-03 Joseph Myers <joseph@codesourcery.com>
26148
26149 [BZ #14478]
26150 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26151 underflowed result.
26152 * math/s_cexpf.c (__cexpf): Likewise.
26153 * math/s_cexpl.c (__cexpl): Likewise.
26154 * math/libm-test.inc (cexp_test): Add more tests.
26155
26156 2013-04-03 Andreas Schwab <schwab@suse.de>
26157
26158 [BZ #15330]
26159 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26160 order arrays from heap if bigger than alloca cutoff.
26161
26162 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26163
26164 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26165 (SNAN_TESTS_double): Refer to GCC PR56831.
26166 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26167 GCC PR56828.
26168
26169 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26170
26171 * Rules (bench): Move bench.out after the run is complete.
26172
26173 * Rules (bench): Echo currently running benchmark.
26174
26175 * benchtests/Makefile (bench): Add atan and slowatan.
26176 * benchtests/atan-inputs: New file.
26177 * benchtests/slowatan-inputs: New file.
26178 * benchtests/slowatan.c: New file.
26179
26180 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26181 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26182 its value.
26183
26184 [BZ #15305]
26185 * sysdeps/unix/sysv/linux/kernel-features.h
26186 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26187 __ASSUME_XFS_RESTRICTED_CHOWN.
26188 * sysdeps/unix/sysv/linux/pathconf.c
26189 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26190 Save and restore errno.
26191
26192 2013-04-02 Joseph Myers <joseph@codesourcery.com>
26193
26194 [BZ #15327]
26195 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26196 arguments using __kernel_casinh.
26197 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26198 arguments using __kernel_casinhf.
26199 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26200 arguments using __kernel_casinhl.
26201 * math/libm-test.inc (cacosh_test): Add more tests.
26202 * sysdeps/i386/fpu/libm-test-ulps: Update.
26203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26204
26205 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26206
26207 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26209
26210 * bench/Makefile (bench): Add sin and slowsin.
26211 * benchtests/sin-inputs: New file.
26212 * benchtests/slowsin-inputs: New file.
26213 * benchtests/slowsin.c: New file.
26214
26215 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26216 (bench): Add slowexp and slowpow.
26217 (exp-ITER): Increase iterations.
26218 (pow-ITER): Likewise.
26219 * benchtests/exp-inputs: Change input.
26220 * benchtests/pow-inputs: Likewise.
26221 * benchtests/slowexp-inputs: New file.
26222 * benchtests/slowexp.c: New file.
26223 * benchtests/slowpow-inputs: New file.
26224 * benchtests/slowpow.c: New file.
26225
26226 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26227
26228 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26229 instructions.
26230 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26231 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26232 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26233 * benchtests/Makefile: Add rint benchtest.
26234 * benchtests/rint-inputs: Input for rint benchtest.
26235
26236 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26237
26238 * Versions.def (libm): Add GLIBC_2.18.
26239 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26240 hidden libm prototypes.
26241 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26242 * math/Makefile (libm-calls): Add s_issignaling.
26243 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26244 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26245 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26246 declaration.
26247 * math/math.h [__USE_GNU] (issignaling): New macro.
26248 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26249 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26254 * manual/arith.texi (issignaling): New section.
26255 * manual/libm-err-tab.pl (@all_functions): Update comment.
26256 * math/gen-libm-test.pl (parse_args): Apply special handling for
26257 issignaling.
26258 * math/libm-test.inc (print_float, issignaling_test): New
26259 functions.
26260 (check_float_internal): Add issignaling checks.
26261 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26262 default definition.
26263 * sysdeps/powerpc/math-tests.h: New file.
26264 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26265 tests.
26266 * math/test-snan.c (TEST_FUNC): Likewise.
26267
26268 2013-03-30 David S. Miller <davem@davemloft.net>
26269
26270 * po/de.po: Update from translation team.
26271
26272 2013-03-30 Joseph Myers <joseph@codesourcery.com>
26273
26274 [BZ #10357]
26275 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26276 imaginary part less than 1.0 and real part less than 0.5
26277 specially.
26278 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26279 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26280 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26281 (cacos_test): Add more tests.
26282 (casin_test): Likewise.
26283 (casinh_test): Likewise.
26284 * sysdeps/i386/fpu/libm-test-ulps: Update.
26285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26286
26287 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26288
26289 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26290 ONE with its value.
26291
26292 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26293 (__pow_mp): Replace ONE and MONE with their values.
26294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26296 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26297 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26298 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26300
26301 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26302
26303 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26304 (__pow_mp): Replace ZERO and MZERO with their values.
26305 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26309 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26310 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26311 (__sqr): Likewise.
26312
26313 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26314
26315 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26316
26317 2013-03-28 Roland McGrath <roland@hack.frob.com>
26318
26319 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26320 Declare with __attribute__ ((weak)).
26321 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26322 Call __call_tls_dtors only if it's not NULL.
26323
26324 2013-03-28 Roland McGrath <roland@hack.frob.com>
26325
26326 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26327 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26328 magic __ehdr_start linker symbol if it's defined.
26329 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26330 them up here if it was already done.
26331
26332 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26333 (_dl_aux_init): Use const in cast when setting it.
26334 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26335 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26336 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26337
26338 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26339 Declare them here.
26340 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26341 * csu/libc-tls.c: Nor here.
26342 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26343
26344 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26345 (__libc_message): Never call vsyslog.
26346
26347 2013-03-28 Alan Modra <amodra@gmail.com>
26348
26349 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26350 Define as empty.
26351 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26352 Likewise.
26353
26354 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26355
26356 [BZ #15214]
26357 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26358 underflow.
26359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26360
26361 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26362
26363 [BZ #15304]
26364 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26365 Don't add gid passed as argument.
26366
26367 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26368
26369 2013-03-27 Joseph Myers <joseph@codesourcery.com>
26370
26371 [BZ #15307]
26372 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26373 imaginary part between 1.0 and 1.5 and real part less than 0.5
26374 specially.
26375 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26376 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26377 * math/libm-test.inc (cacos_test): Add more tests.
26378 (casin_test): Likewise.
26379 (casinh_test): Likewise.
26380 * sysdeps/i386/fpu/libm-test-ulps: Update.
26381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26382
26383 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26384
26385 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26386 constants.
26387 (norm): Likewise.
26388 (denorm): Likewise.
26389 (__dbl_mp): Likewise.
26390 (add_magnitudes): Likewise.
26391 (sub_magnitudes): Likewise.
26392 (__add): Likewise.
26393 (__sub): Likewise.
26394 (__mul): Likewise.
26395 (__sqr): Likewise.
26396 (__inv): Likewise.
26397 (__dvd): Likewise.
26398
26399 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26400 commented code.
26401 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26402 (__dubcos): Likewise.
26403 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26404 (__ieee754_acos): Likewise.
26405 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26406 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26407 (__exp1): Likewise.
26408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26410 (log1): Likewise.
26411 (my_log2): Likewise.
26412 (checkint): Likewise.
26413 * sysdeps/ieee754/dbl-64/e_remainder.c
26414 (__ieee754_remainder): Likewise.
26415 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26416 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26417 (bsloww): Likewise.
26418 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26419
26420 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26422 MANTISSA_STORE_T to store computations on mantissa. Use
26423 macros for rounding and division.
26424 (denorm): Likewise.
26425 (__dbl_mp): Likewise.
26426 (add_magnitudes): Likewise.
26427 (sub_magnitudes): Likewise.
26428 (__mul): Likewise.
26429 (__sqr): Likewise.
26430 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26431 powers of two in terms of TWOPOW macro.
26432 (mp_no): Make type of mantissa as MANTISSA_T.
26433 [!RADIXI]: Define RADIXI.
26434 [!TWO52]: Define TWO52.
26435 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26436
26437 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26438
26439 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26440 llroundl symbol when building for PPC32.
26441
26442 2013-03-24 Mark H Weaver <mhw@netris.org>
26443
26444 * manual/arith.texi (Normalization Functions): Fix prototypes for
26445 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26446
26447 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26448
26449 [BZ #13889]
26450 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26451 high value to check if expl overflow.
26452 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26453 to check for underflow and overflow.
26454 * math/libm-test.inc: Add exp test.
26455
26456 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26457
26458 [BZ #11120]
26459 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26460 with NOT_IN_libc.
26461
26462 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26463
26464 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26465 symbol.
26466
26467 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26468
26469 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26470 wrap blocks consisting of several statements.
26471
26472 * sysdeps/generic/math-tests.h: New file.
26473 * sysdeps/i386/fpu/math-tests.h: Likewise.
26474 * math/test-snan.c: Include it.
26475 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26476
26477 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26478
26479 [BZ #15285]
26480 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26481 (__ieee754_j0l): Do not improve calculations using cos of twice
26482 input for inputs above LDBL_MAX / 2.0L.
26483 (__ieee754_y0l): Likewise.
26484 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26485 (__ieee754_j1l): Do not improve calculations using cos of twice
26486 input for inputs above LDBL_MAX / 2.0L.
26487 (__ieee754_y1l): Likewise.
26488 * math/libm-test.inc (j0_test): Add another test.
26489 (j1_test): Likewise.
26490 (y0_test): Likewise.
26491 (y1_test): Likewise.
26492 * sysdeps/i386/fpu/libm-test-ulps: Update.
26493
26494 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26495
26496 * Rules ($(objpfx)bench-%.c): Include code from a C source
26497 file.
26498
26499 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26500
26501 [BZ #15287]
26502 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26503 imaginary part 1.0 and real part less than 0.5 specially.
26504 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26505 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26506 * math/libm-test.inc (cacos_test): Add more tests.
26507 (casin_test): Likewise.
26508 (casinh_test): Likewise.
26509 * sysdeps/i386/fpu/libm-test-ulps: Update.
26510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26511
26512 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26513
26514 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26515 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26516
26517 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26518
26519 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26520 * config.make.in (config-cflags-sse4): Remove variable.
26521 (config-cflags-avx): Likewise.
26522 (config-cflags-sse2avx): Likewise.
26523 (config-cflags-novzeroupper): Likewise.
26524 (config-asflags-i686): Likewise.
26525 (have-mfma4): Likewise.
26526 (have-as-vis3): Likewise.
26527 (MIG): Likewise.
26528 * configure.in (MIG): Do not AC_SUBST.
26529 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26530 (libc_cv_cc_sse4): Do not AC_SUBST.
26531 (libc_cv_cc_avx): Likewise.
26532 (libc_cv_cc_sse2avx): Likewise.
26533 (libc_cv_cc_novzeroupper): Likewise.
26534 (libc_cv_cc_fma4): Likewise.
26535 (libc_cv_as_i686): Likewise.
26536 (libc_cv_sparc_as_vis3): Likewise.
26537 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26538 LIBC_CONFIG_VAR.
26539 (config-asflags-i686): Likewise.
26540 (config-cflags-avx): Likewise.
26541 (config-cflags-sse2avx): Likewise.
26542 (have-mfma4): Likewise.
26543 (config-cflags-novzeroupper): Likewise.
26544 * sysdeps/mach/configure.in (MIG): Likewise.
26545 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26546 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26547 LIBC_CONFIG_VAR.
26548 (config-cflags-avx): Likewise.
26549 (config-cflags-sse2avx): Likewise.
26550 (have-mfma4): Likewise.
26551 (config-cflags-novzeroupper): Likewise.
26552 * configure: Regenerated.
26553 * sysdeps/i386/configure: Likewise.
26554 * sysdeps/mach/configure: Likewise.
26555 * sysdeps/sparc/configure: Likewise.
26556 * sysdeps/x86_64/configure: Likewise.
26557
26558 2013-03-20 Roland McGrath <roland@hack.frob.com>
26559
26560 [BZ #14812]
26561 * locale/programs/localedef.c (options): Put N_ translation marker
26562 on argument names, not just descriptions.
26563
26564 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26565
26566 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26567
26568 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26569
26570 [BZ #14176]
26571 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26572
26573 2013-03-19 Roland McGrath <roland@hack.frob.com>
26574
26575 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26576 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26577 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26578 [!BEFORE_ABORT] (before_abort): New function.
26579 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26580 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26581 (writev_for_fatal): New function.
26582 (WRITEV_FOR_FATAL): New macro; call that.
26583 (backtrace_and_maps): New function.
26584 (BEFORE_ABORT): New macro; call that.
26585 (struct str_list): Type removed.
26586 (__libc_message, __libc_fatal): Functions removed.
26587 Include <sysdeps/posix/libc_fatal.c> instead.
26588
26589 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26590
26591 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26592 constants.
26593 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26594 double constants.
26595
26596 2013-03-19 Andreas Schwab <schwab@suse.de>
26597
26598 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26599 * sysdeps/gnu/configure: Regenerate.
26600
26601 * configure.in: Substitute libc_cv_rtlddir.
26602 * configure: Regenerate.
26603 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26604 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26605 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26606 * elf/Makefile (install-others, CFLAGS-interp.c)
26607 (ldso_install, common-ldd-rewrite): Likewise.
26608 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26609 $(inst_slibdir)/$(rtld-installed-name).
26610 * scripts/rellns-sh: Add -p option.
26611 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26612 for source.
26613
26614 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26615
26616 * manual/nptl.texi: Renamed to ...
26617 * manual/threads.texi: ... this.
26618 * manual/Makefile (chapters): Update.
26619
26620 2013-03-18 Roland McGrath <roland@hack.frob.com>
26621
26622 [BZ #14812]
26623 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26624 on argument names, not just descriptions.
26625 * malloc/memusagestat.c (options): Likewise.
26626 * nss/getent.c (options): Likewise.
26627
26628 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26629
26630 [BZ #14812]
26631 * iconv/iconv_prog.c (options): Put N_ translation marker
26632 on argument names, not just descriptions.
26633 * iconv/iconvconfig.c (options): Likewise.
26634
26635 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26636
26637 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26638 implementation which is faster on all x86_64 architectures.
26639 Tested on AMD, Intel Nehalem, SNB, IVB.
26640 * sysdeps/x86_64/strnlen.S: Likewise.
26641
26642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26643 Remove all multiarch strlen and strnlen versions.
26644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26645 Remove strlen and strnlen related parts.
26646
26647 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26648 Inline strlen part.
26649 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26650
26651 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26652 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26653 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26654 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26655 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26656 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26657
26658 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26659
26660 * manual/memory.texi (Malloc Tunable Parameters):
26661 Sort parameters alphabetically. Add comments for missing entries.
26662
26663 2013-03-17 David S. Miller <davem@davemloft.net>
26664
26665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26666
26667 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26668
26669 [BZ #15283]
26670 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26671 for arguments at most half maximum finite value.
26672 * math/libm-test.inc (j0_test): Add more tests.
26673 (j1_test): Likewise.
26674 (y0_test): Likewise.
26675 (y1_test): Likewise.
26676 * sysdeps/i386/fpu/libm-test-ulps: Update.
26677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26678
26679 [BZ #14155]
26680 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26681 1 / x and functions P and Q for arguments above 0x1p256L.
26682 (__ieee754_y0l): Likewise.
26683 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26684 (__ieee754_y1l): Likewise.
26685 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26686 (j1_test): Likewise.
26687 (y0_test): Likewise.
26688 (y1_test): Likewise.
26689
26690 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26691
26692 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26693 variable.
26694
26695 2013-03-15 Roland McGrath <roland@hack.frob.com>
26696
26697 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26698 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26699 zero since it's initialized to EXEC_PAGESIZE.
26700
26701 * sysdeps/unix/sysv/linux/ldsodefs.h
26702 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26703 * sysdeps/generic/ldsodefs.h: ... here.
26704
26705 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26706
26707 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26708
26709 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26710 math/test-snan.c.
26711 * math/test-snan.c: Renamed from
26712 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26713 * math/Makefile (tests): Add test-snan.
26714 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26715 test-powerpc-snan.
26716
26717 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26718 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26719 functions.
26720 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26721 __builtin_nan family of functions.
26722 * math/libm-test.inc (initialize): Initialize qnan_value with
26723 __builtin_nan family of functions.
26724 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26725 Remove variables.
26726 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26727 Remove functions.
26728 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26729 storage class. Initialize qNaN_var and sNaN_var with
26730 __builtin_nan and __builtin_nans families of functions,
26731 respectively.
26732
26733 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26734 (sqrt_test): Remove duplicate test with qNaN input.
26735 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26736 (round_test, signbit_test, significand_test): Note missing +/-Inf
26737 as well as qNaN tests.
26738
26739 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26740 qNaN_var. Fix a few strings, too.
26741 * math/libm-test.inc (nan_value): Rename to qnan_value.
26742 * math/gen-libm-test.pl (%beautify): Adjust to that.
26743 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26744 * math/test-misc.c (main): Likewise.
26745 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26746 to __qnan_bytes, and __qnan_union, respectively.
26747 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26748 Likewise.
26749 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26750 and lqnanval, respectively.
26751 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26752 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26753 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26754 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26755
26756 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26757 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26758 doubles.
26759
26760 * math/test-misc.c (main): Fix copy'n'pastos.
26761 * misc/tst-efgcvt.c (special): Likewise.
26762
26763 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26764 Remove declarations.
26765
26766 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26767
26768 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26769 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26770 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26771 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26772
26773 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26774
26775 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26776 macro to return vdso values correctly in IFUNC implementations.
26777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26778 Optimization by using IFUNC.
26779
26780 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26781 Richard Henderson <rth@redhat.com>
26782 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26783
26784 * Makefile.in (bench): New target.
26785 * NEWS: Mention the benchmark framework.
26786 * Rules (bench): Likewise.
26787 (binaries-bench): Generate binaries for functions to
26788 benchmark.
26789 * benchtests/Makefile: New makefile for benchmark tests.
26790 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26791 programs.
26792 * benchtests/exp-inputs: New input file for EXP function.
26793 * benchtests/pow-inputs: New input file for POW function.
26794 * scripts/bench.pl: New script to generate source files for
26795 benchmark programs.
26796
26797 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26798
26799 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26800 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26801 computations on mantissa. Use macros for rounding and
26802 division.
26803 (denorm): Likewise.
26804 (__dbl_mp): Likewise.
26805 (add_magnitudes): Likewise.
26806 (sub_magnitudes): Likewise.
26807 (__mul): Likewise.
26808 (__sqr): Likewise.
26809 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26810 powers of two in terms of TWOPOW macro.
26811 (mp_no): Make type of mantissa as MANTISSA_T.
26812 [!RADIXI]: Define RADIXI.
26813 [!TWO52]: Define TWO52.
26814 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26815
26816 * manual/nptl.texi (cindex): Modify threads to pthreads.
26817
26818 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26819
26820 * sysdeps/x86_64/preconfigure: Regenerated.
26821
26822 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26823
26824 [BZ #14155]
26825 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26826 0x1p28 and above.
26827 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26828 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26829 0x1p28 and above.
26830 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26831 * math/libm-test.inc (j0_test): Do not allow one spurious
26832 underflow exception.
26833 (y1_test): Likewise.
26834
26835 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26836
26837 * manual/Makefile (chapters): Add nptl.
26838 * manual/debug.texi (Debugging Support): Add link to Threads
26839 chapter.
26840 * manual/nptl.texi: New file.
26841
26842 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26843
26844 2013-03-14 Petr Baudis <pasky@ucw.cz>
26845
26846 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26847 for non-NULL pointer before the memory validity test. Pointed
26848 out by Holger Brunck <holger.brunck@keymile.com>.
26849
26850 2013-03-13 Andreas Schwab <schwab@suse.de>
26851
26852 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26853 instead of .os.
26854
26855 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26856
26857 * timezone/zic.c: Update from tzcode 2013b.
26858
26859 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26860
26861 * manual/install.texi (Configuring and compiling):
26862 Mention i686 and i586.
26863 * INSTALL: Regenerate.
26864
26865 2013-03-12 Roland McGrath <roland@hack.frob.com>
26866
26867 * sysdeps/init_array/elf-init.c: New file.
26868 * csu/elf-init.c
26869 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26870 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26871
26872 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26873 __gmon_start__ as global, but as static with a .preinit_array pointer.
26874 * sysdeps/init_array/gmon-start.c: New file. Use that.
26875 * sysdeps/init_array/crti.S: New file, empty except for comments.
26876 * sysdeps/init_array/crtn.S: Likewise.
26877
26878 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26879
26880 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26881 definining bcopy.
26882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26883 Remove Prefer_SSE_for_memop.
26884 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26885 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26886 HAS_PREFER_SSE_FOR_MEMOP.
26887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26888 memset-x86-64.
26889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26890 Remove bzero, memset ifunc support.
26891 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26892 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26893 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26894 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26895
26896 2013-03-11 Andreas Schwab <schwab@suse.de>
26897
26898 [BZ #15234]
26899 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26900 by SHLIB_COMPAT.
26901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26902 (GLIBC_2.16): Remove pthread_atfork.
26903
26904 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26905
26906 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26907 (ptestcases.h): Likewise.
26908
26909 2013-03-08 Roland McGrath <roland@hack.frob.com>
26910
26911 * Makeconfig ($(common-objpfx)config.status): Depend on
26912 sysdeps/*/preconfigure{,.in} too.
26913
26914 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26915
26916 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26917 (__free_hook): Use void * instead of __malloc_ptr_t.
26918 (__malloc_hook): Likewise.
26919 (__realloc_hook): Likewise.
26920 (__memalign_hook): Likewise.
26921 (__after_morecore_hook): Likewise.
26922 * malloc/arena.c (save_malloc_hook): Likewise.
26923 (save_free_hook): Likewise.
26924 * malloc/hooks.c (malloc_hook_ini): Likewise.
26925 (realloc_hook_ini): Likewise.
26926 (memalign_hook_ini): Likewise.
26927 * malloc/malloc.c (malloc_hook_ini): Likewise.
26928 (realloc_hook_ini): Likewise.
26929 (memalign_hook_ini): Likewise.
26930 (__free_hook): Likewise.
26931 (__malloc_hook): Likewise.
26932 (__realloc_hook): Likewise.
26933 (__memalign_hook): Likewise.
26934 (__libc_malloc): Likewise.
26935 (__libc_free): Likewise.
26936 (__libc_realloc): Likewise.
26937 (__libc_memalign): Likewise.
26938 (__libc_valloc): Likewise.
26939 (__libc_pvalloc): Likewise.
26940 (__libc_calloc): Likewise.
26941 (__posix_memalign): Likewise.
26942 * malloc/morecore.c (__sbrk): Likewise.
26943 (__default_morecore): Likewise.
26944
26945 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26946
26947 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26948 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26949 __malloc_ptrdiff_t.
26950
26951 * malloc/malloc.h (__malloc_size_t): Remove macro.
26952 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26953 __malloc_size_t.
26954 (old_memalign_hook): Likewise.
26955 (old_realloc_hook): Likewise.
26956 (struct hdr): Likewise.
26957 (flood): Likewise.
26958 (mallochook): Likewise.
26959 (memalignhook): Likewise.
26960 (reallochook): Likewise.
26961 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26962 (tr_old_realloc_hook): Likewise.
26963 (tr_old_memalign_hook): Likewise.
26964 (tr_mallochook): Likewise.
26965 (tr_reallochook): Likewise.
26966 (tr_memalignhook): Likewise.
26967
26968 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26969
26970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26971 default_ldbl_pack and using as default implementation.
26972 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26973 implementation.
26974 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26975 redundant definition.
26976 (ldbl_insert_mantissa): Likewise.
26977 (ldbl_canonicalize): Likewise.
26978 (ldbl_nearbyint): Likewise.
26979 (ldbl_pack): Rename to ldbl_pack_ppc.
26980 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26981 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26982 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26983
26984 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26985
26986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26987 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26988 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26989 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26991 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26992 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26993 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26994
26995 2013-03-07 Andreas Jaeger <aj@suse.de>
26996
26997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26998 bits/mman-linux.h.
26999
27000 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27001
27002 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27003 Include mpa.h and declare __MPEXP.
27004 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27005 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27006 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27007 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27008 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27009 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27010 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27011
27012 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27013 (__slowpow): Use long double EXPL and LOGL functions to
27014 compute POW.
27015 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27016 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27017 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27019 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27020 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27021
27022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27023 intermediate variable to calculate exponent.
27024 (__sqr): Likewise.
27025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27026 Likewise.
27027 (__sqr): Likewise.
27028
27029 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27030 [!NO__SQR]: Define __sqr.
27031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27032 and NO__SQR. Remove all code except __mul and __sqr. Include
27033 sysdeps/ieee754/dbl-64/mpa.c.
27034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27035
27036 [BZ #12723]
27037 * posix/Makefile (tests): Add tst-pathconf.
27038 * posix/tst-pathconf.c: New test case.
27039 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27040 _PC_PIPE_BUF.
27041 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27042
27043 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
27044
27045 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27046
27047 2013-03-06 Andreas Jaeger <aj@suse.de>
27048
27049 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27050 definition via __MAP_ANONYMOUS.
27051
27052 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27053 it's not part of Linux headers.
27054
27055 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27056 (MAP_HUGE_MASK): Define.
27057
27058 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27059 Define.
27060 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27062 Define.
27063 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27064 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27065 Define.
27066 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27067 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27068 Define.
27069 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27070
27071 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27072 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27073 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27074 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27075 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27076 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27077
27078 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27079 Handle f2fs.
27080
27081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27082 Handle f2fs and efivarfs.
27083
27084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27085 f2fs.
27086
27087 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27088 (EFIVARFS_MAGIC): Add.
27089 (F2FS_LINK_MAX): Add.
27090
27091 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27092
27093 * stdio-common/vfprintf.c: Replace __builtin_expect with
27094 __glibc_unlikely.
27095
27096 2013-03-06 Joseph Myers <joseph@codesourcery.com>
27097
27098 [BZ #13550]
27099 * sysdeps/generic/bp-sym.h: Remove file.
27100 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27101 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27102 <bp-sym.h> and <bp-asm.h>.
27103 (__longjmp): Don't use BP_SYM.
27104 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27105 and <bp-asm.h>.
27106 (memcpy): Don't use BP_SYM.
27107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27108 <bp-sym.h> and <bp-asm.h>.
27109 (memcpy): Don't use BP_SYM.
27110 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27111 <bp-asm.h>.
27112 (memcpy): Don't use BP_SYM.
27113 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27114 <bp-asm.h>.
27115 (memset): Don't use BP_SYM.
27116 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27117 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27118 (__bzero): Don't use BP_SYM.
27119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27121 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27122 <bp-sym.h> and <bp-asm.h>.
27123 (memcmp): Don't use BP_SYM. Remove comment about bounded
27124 pointers.
27125 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27126 <bp-sym.h> and <bp-asm.h>.
27127 (memcpy): Don't use BP_SYM.
27128 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27129 <bp-sym.h> and <bp-asm.h>.
27130 (memset): Don't use BP_SYM.
27131 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27132 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27133 (__bzero): Don't use BP_SYM.
27134 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27135 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27136 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27137 <bp-sym.h> and <bp-asm.h>.
27138 (strncmp): Don't use BP_SYM. Remove comment about bounded
27139 pointers.
27140 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27141 <bp-sym.h> and <bp-asm.h>.
27142 (memcpy): Don't use BP_SYM.
27143 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27144 <bp-sym.h> and <bp-asm.h>.
27145 (memset): Don't use BP_SYM.
27146 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27147 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27148 (__bzero): Don't use BP_SYM.
27149 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27150 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27151 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27152 <bp-sym.h> and <bp-asm.h>.
27153 (__memchr): Don't use BP_SYM.
27154 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27155 <bp-sym.h> and <bp-asm.h>.
27156 (memcmp): Don't use BP_SYM. Remove comment about bounded
27157 pointers.
27158 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27159 <bp-sym.h> and <bp-asm.h>.
27160 (memcpy): Don't use BP_SYM.
27161 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27162 <bp-sym.h> and <bp-asm.h>.
27163 (__mempcpy): Don't use BP_SYM.
27164 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27165 <bp-sym.h> and <bp-asm.h>.
27166 (__memrchr): Don't use BP_SYM.
27167 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27168 <bp-sym.h> and <bp-asm.h>.
27169 (memset): Don't use BP_SYM.
27170 (__bzero): Likewise.
27171 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27172 <bp-sym.h> and <bp-asm.h>.
27173 (__rawmemchr): Don't use BP_SYM.
27174 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27175 <bp-sym.h> and <bp-asm.h>.
27176 (__STRCMP): Don't use BP_SYM.
27177 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27178 <bp-sym.h> and <bp-asm.h>.
27179 (strchr): Don't use BP_SYM.
27180 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27181 <bp-sym.h> and <bp-asm.h>.
27182 (__strchrnul): Don't use BP_SYM.
27183 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27184 <bp-sym.h> and <bp-asm.h>.
27185 (strlen): Don't use BP_SYM.
27186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27187 <bp-sym.h> and <bp-asm.h>.
27188 (strncmp): Don't use BP_SYM. Remove comment about bounded
27189 pointers.
27190 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27191 <bp-sym.h> and <bp-asm.h>.
27192 (__strnlen): Don't use BP_SYM.
27193 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27194 <bp-sym.h> and <bp-asm.h>.
27195 (__GI__setjmp): Don't use BP_SYM.
27196 (_setjmp): Likewise.
27197 (__sigsetjmp): Likewise.
27198 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27199 (L(start_addresses)): Don't use BP_SYM.
27200 (_start): Likewise.
27201 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27202 <bp-asm.h>.
27203 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27204 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27205 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27206 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27207 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27208 <bp-asm.h>.
27209 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27210 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27211 about bounded pointers.
27212 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27213 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27214 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27215 <bp-asm.h>.
27216 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27217 about bounded pointers. Remove GKM FIXME comments.
27218 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27219 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27220 <bp-asm.h>.
27221 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27222 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27223 Remove GKM FIXME comments.
27224 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27225 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27226 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27227 <bp-asm.h>.
27228 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27229 about bounded pointers. Remove GKM FIXME comment.
27230 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27231 and <bp-asm.h>.
27232 (strncmp): Don't use BP_SYM. Remove comment about bounded
27233 pointers.
27234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27235 <bp-sym.h> and <bp-asm.h>.
27236 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27238 <bp-sym.h> and <bp-asm.h>.
27239 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27240 comment.
27241
27242 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27243
27244 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27245 call free(NULL).
27246
27247 2013-03-05 David S. Miller <davem@davemloft.net>
27248
27249 * po/es.po: Update from translation team.
27250
27251 2013-03-05 Andreas Jaeger <aj@suse.de>
27252
27253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27254 <bits/mman-linux.h>.
27255 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27256 is fine.
27257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27258 <bits/mman-linux.h> to end of file.
27259 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27260 is fine.
27261 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27262 <bits/mman-linux.h> to end of file.
27263 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27264 is fine.
27265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27266 <bits/mman-linux.h> to end of file.
27267
27268 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27269 (MCL_CURRENT, MCL_FUTURE): Define here.
27270
27271 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27272
27273 [BZ #15232]
27274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27275 attribute_hidden.
27276 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27277
27278 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27279
27280 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27281 fourth parameter needed for rt_sigprocmask syscall.
27282 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27283 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27284 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27285 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27287 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27288
27289 2013-03-04 Joseph Myers <joseph@codesourcery.com>
27290
27291 [BZ #13550]
27292 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27293 comment about bounded pointers.
27294 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27295 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27296
27297 2013-03-04 Andreas Jaeger <aj@suse.de>
27298
27299 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27300 common definitions.
27301
27302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27303 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27304 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27305 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27306 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27307 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27308
27309 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27310
27311 [BZ #15055]
27312 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27313 __ieee754_sqrl instead of __sqrl.
27314
27315 2013-03-01 Joseph Myers <joseph@codesourcery.com>
27316
27317 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27318 * sysdeps/powerpc/fpu_control.h: ... here.
27319 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27320 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27321 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27322 * sysdeps/powerpc/bits/mathinline.h: ... here.
27323
27324 2013-03-01 Roland McGrath <roland@hack.frob.com>
27325
27326 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27327 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27328 to just [NEED_DL_SYSINFO_DSO].
27329 * elf/dl-support.c: Likewise.
27330 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27331 * elf/rtld.c (dl_main): Likewise.
27332 * elf/setup-vdso.h (setup_vdso): Likewise.
27333 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27334 * sysdeps/unix/sysv/linux/dl-sysdep.c
27335 (_dl_discover_osversion): Likewise.
27336
27337 2013-03-01 Carlos O'Donell <carlos@redhat.com>
27338
27339 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27340 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27341
27342 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27343
27344 * NEWS: Mention libm performance improvements and non-x86 PI
27345 futex support.
27346
27347 * csu/libc-start.c (__pthread_initialize_minimal): Change
27348 function arguments.
27349 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27350
27351 2013-02-28 Joseph Myers <joseph@codesourcery.com>
27352
27353 [BZ #13550]
27354 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27355 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27356 <bp-sym.h> and <bp-asm.h>.
27357 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27358 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27359 and <bp-asm.h>.
27360 (memcpy): Don't use BP_SYM.
27361 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27362 <bp-asm.h>.
27363 (__mpn_add_n): Don't use BP_SYM.
27364 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27365 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27366 and <bp-asm.h>.
27367 (__mpn_addmul_1): Don't use BP_SYM.
27368 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27369 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27370 <bp-sym.h>.
27371 (_setjmp): Don't use BP_SYM.
27372 (__novmx_setjmp): Likewise.
27373 (__GI__setjmp): Likewise.
27374 (__vmx_setjmp): Likewise.
27375 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27376 <bp-sym.h>.
27377 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27378 (__bzero): Don't use BP_SYM.
27379 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27380 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27381 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27382 <bp-sym.h> and <bp-asm.h>.
27383 (memcpy): Don't use BP_SYM.
27384 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27385 <bp-sym.h> and <bp-asm.h>.
27386 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27387 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27388 <bp-sym.h> and <bp-asm.h>.
27389 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27390 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27391 <bp-asm.h>.
27392 (__mpn_lshift): Don't use BP_SYM.
27393 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27394 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27395 <bp-asm.h>.
27396 (memset): Don't use BP_SYM.
27397 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27398 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27399 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27400 <bp-asm.h>.
27401 (__mpn_mul_1): Don't use BP_SYM.
27402 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27404 <bp-sym.h> and <bp-asm.h>.
27405 (memcmp): Don't use BP_SYM.
27406 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27407 <bp-sym.h> and <bp-asm.h>.
27408 (memcpy): Don't use BP_SYM.
27409 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27410 <bp-sym.h> and <bp-asm.h>.
27411 (memset): Don't use BP_SYM.
27412 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27413 <bp-sym.h> and <bp-asm.h>.
27414 (strncmp): Don't use BP_SYM.
27415 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27416 <bp-sym.h> and <bp-asm.h>.
27417 (memcpy): Don't use BP_SYM.
27418 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27419 <bp-sym.h> and <bp-asm.h>.
27420 (memset): Don't use BP_SYM.
27421 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27422 <bp-sym.h> and <bp-asm.h>.
27423 (__memchr): Don't use BP_SYM.
27424 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27425 <bp-sym.h> and <bp-asm.h>.
27426 (memcmp): Don't use BP_SYM.
27427 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27428 <bp-sym.h> and <bp-asm.h>.
27429 (memcpy): Don't use BP_SYM.
27430 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27431 <bp-sym.h> and <bp-asm.h>.
27432 (__mempcpy): Don't use BP_SYM.
27433 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27434 <bp-sym.h> and <bp-asm.h>.
27435 (__memrchr): Don't use BP_SYM.
27436 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27437 <bp-sym.h> and <bp-asm.h>.
27438 (memset): Don't use BP_SYM.
27439 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27440 <bp-sym.h> and <bp-asm.h>.
27441 (__rawmemchr): Don't use BP_SYM.
27442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27443 <bp-sym.h> and <bp-asm.h>.
27444 (__STRCMP): Don't use BP_SYM.
27445 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27446 <bp-sym.h> and <bp-asm.h>.
27447 (strchr): Don't use BP_SYM.
27448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27449 <bp-sym.h> and <bp-asm.h>.
27450 (__strchrnul): Don't use BP_SYM.
27451 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27452 <bp-sym.h> and <bp-asm.h>.
27453 (strlen): Don't use BP_SYM.
27454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27455 <bp-sym.h> and <bp-asm.h>.
27456 (strncmp): Don't use BP_SYM.
27457 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27458 <bp-sym.h> and <bp-asm.h>.
27459 (__strnlen): Don't use BP_SYM.
27460 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27461 <bp-asm.h>.
27462 (__mpn_rshift): Don't use BP_SYM.
27463 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27464 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27465 <bp-sym.h> and <bp-asm.h>.
27466 (__sigsetjmp): Don't use BP_SYM.
27467 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27468 (L(start_addresses)): Don't use BP_SYM.
27469 (_start): Likewise.
27470 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27471 <bp-asm.h>.
27472 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27473 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27474 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27475 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27476 <bp-asm.h>.
27477 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27478 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27479 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27480 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27481 <bp-asm.h>.
27482 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27483 comments.
27484 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27485 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27486 <bp-asm.h>.
27487 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27488 FIXME comments.
27489 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27490 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27491 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27492 <bp-asm.h>.
27493 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27494 comment.
27495 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27496 and <bp-asm.h>.
27497 (strncmp): Don't use BP_SYM,
27498 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27499 <bp-asm.h>.
27500 (__mpn_sub_n): Don't use BP_SYM.
27501 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27502 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27503 and <bp-asm.h>.
27504 (__mpn_submul_1): Don't use BP_SYM.
27505 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27507 <bp-sym.h> and <bp-asm.h>.
27508 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27510 <bp-sym.h> and <bp-asm.h>.
27511 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27512 comment.
27513
27514 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27515
27516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27517 Use ZK to minimize writes to Z.
27518 (sub_magnitudes): Simplify code a bit.
27519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27520 Use ZK to minimize writes to Z.
27521 (sub_magnitudes): Simplify code a bit.
27522
27523 2013-02-27 Roland McGrath <roland@hack.frob.com>
27524
27525 * csu/gmon-start.c: Add special exception to license text.
27526
27527 2013-02-27 Richard Henderson <rth@redhat.com>
27528
27529 * scripts/config.guess: Update from config.git.
27530 * scripts/config.sub: Likewise.
27531
27532 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27533
27534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27535
27536 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27537
27538 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27539
27540 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27541
27542 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27543
27544 2013-02-26 Roland McGrath <roland@hack.frob.com>
27545
27546 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27547 [$(build-shared = yes].
27548
27549 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27550
27551 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27552 (__mul): Reduce iterations for calculating mantissa.
27553
27554 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27555 MPTWO.
27556 (__mpranred): Likewise.
27557
27558 [BZ #15160]
27559 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27560 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27561
27562 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27563
27564 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27565 Define __attribute__.
27566
27567 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27568
27569 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27570 unused.
27571 * posix/regex_internal.h (__attribute): Remove.
27572 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27573 (re_string_context_at): Likewise.
27574 (bitset_not): Use __attribute__ and mark function as possibly
27575 unused.
27576 (bitset_merge): Likewise.
27577 (bitset_mask): Likewise.
27578 (re_string_char_size_at): Likewise.
27579 (re_string_wchar_at): Likewise.
27580 (re_string_elem_size_at): Likewise.
27581
27582 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27583
27584 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27585 code.
27586 (cc32): Likewise.
27587
27588 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27589 (__acr): Likewise.
27590 (__cpy): Likewise.
27591 (norm): Likewise.
27592 (denorm): Likewise.
27593 (__dbl_mp): Likewise.
27594 (add_magnitudes): Likewise.
27595 (sub_magnitudes): Likewise.
27596 (__mul): Likewise.
27597 (__inv): Likewise.
27598
27599 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27600 style.
27601
27602 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27603 style.
27604
27605 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27606 code.
27607
27608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27609 up changes with default code.
27610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27611 Likewise.
27612
27613 2013-02-24 Allan McRae <allan@archlinux.org>
27614
27615 * manual/socket.texi (The Internet Namespace): Order menu items
27616 to match that in the file.
27617
27618 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27619 node listing of the info page menu.
27620
27621 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27622
27623 [BZ #13550]
27624 * sysdeps/i386/bp-asm.h: Remove file.
27625 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27626 (PARMS): Do not use macros from bp-asm.h.
27627 (S1): Likewise.
27628 (S2): Likewise.
27629 (SIZE): Likewise.
27630 (__mpn_add_n): Do not use BP_SYM
27631 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27632 "bp-asm.h".
27633 (PARMS): Do not use macros from bp-asm.h.
27634 (S1): Likewise.
27635 (SIZE): Likewise.
27636 (__mpn_addmul_1): Do not use BP_SYM
27637 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27638 "bp-asm.h".
27639 (PARMS): Do not use macros from bp-asm.h.
27640 (SIGMSK): Likewise.
27641 (_setjmp): Likewise. Do not use BP_SYM.
27642 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27643 "bp-asm.h".
27644 (PARMS): Do not use macros from bp-asm.h.
27645 (SIGMSK): Likewise.
27646 (setjmp): Likewise. Do not use BP_SYM.
27647 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27648 "bp-asm.h".
27649 (PARMS): Do not use macros from bp-asm.h.
27650 (__frexp): Do not use BP_SYM.
27651 (frexp): Likewise.
27652 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27653 "bp-asm.h".
27654 (PARMS): Do not use macros from bp-asm.h.
27655 (__frexpf): Do not use BP_SYM.
27656 (frexpf): Likewise.
27657 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27658 "bp-asm.h".
27659 (PARMS): Do not use macros from bp-asm.h.
27660 (__frexpl): Do not use BP_SYM.
27661 (frexpl): Likewise.
27662 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27663 "bp-asm.h".
27664 (PARMS): Do not use macros from bp-asm.h.
27665 (__remquo): Do not use BP_SYM.
27666 (remquo): Likewise.
27667 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27668 "bp-asm.h".
27669 (PARMS): Do not use macros from bp-asm.h.
27670 (__remquof): Do not use BP_SYM.
27671 (remquof): Likewise.
27672 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27673 "bp-asm.h".
27674 (PARMS): Do not use macros from bp-asm.h.
27675 (__remquol): Do not use BP_SYM.
27676 (remquol): Likewise.
27677 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27678 "bp-asm.h".
27679 (PARMS): Do not use macros from bp-asm.h.
27680 (DEST): Likewise.
27681 (SRC): Likewise.
27682 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27683 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27684 "bp-asm.h".
27685 (PARMS): Do not use macros from bp-asm.h.
27686 (strlen): Do not use BP_SYM.
27687 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27688 "bp-asm.h".
27689 (PARMS): Do not use macros from bp-asm.h.
27690 (S1): Likewise.
27691 (S2): Likewise.
27692 (SIZE): Likewise.
27693 (__mpn_add_n): Do not use BP_SYM.
27694 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27695 "bp-asm.h".
27696 (PARMS): Do not use macros from bp-asm.h.
27697 (S1): Likewise.
27698 (SIZE): Likewise.
27699 (__mpn_addmul_1): Do not use BP_SYM.
27700 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27701 weak_alias.
27702 (bzero): Likewise.
27703 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27704 "bp-asm.h".
27705 (PARMS): Do not use macros from bp-asm.h.
27706 (S): Likewise.
27707 (SIZE): Likewise.
27708 (__mpn_lshift): Do not use BP_SYM.
27709 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27710 "bp-asm.h".
27711 (PARMS): Do not use macros from bp-asm.h.
27712 (DEST): Likewise.
27713 (SRC): Likewise.
27714 (LEN): Likewise.
27715 (memcpy): Likewise. Do not use BP_SYM.
27716 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27717 libc_hidden_def and weak_alias.
27718 (mempcpy): Do not use BP_SYM in weak_alias.
27719 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27720 "bp-asm.h".
27721 (PARMS): Do not use macros from bp-asm.h.
27722 (DEST): Likewise.
27723 (LEN): Likewise.
27724 [!BZERO_P] (CHR): Likewise.
27725 (memset): Likewise. Do not use BP_SYM.
27726 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27727 "bp-asm.h".
27728 (PARMS): Do not use macros from bp-asm.h.
27729 (S1): Likewise.
27730 (SIZE): Likewise.
27731 (__mpn_mul_1): Do not use BP_SYM.
27732 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27733 "bp-asm.h".
27734 (PARMS): Do not use macros from bp-asm.h.
27735 (S): Likewise.
27736 (SIZE): Likewise.
27737 (__mpn_rshift): Do not use BP_SYM.
27738 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27739 "bp-asm.h".
27740 (PARMS): Do not use macros from bp-asm.h.
27741 (STR): Likewise.
27742 (CHR): Likewise.
27743 (strchr): Likewise. Do not use BP_SYM.
27744 (index): Do not use BP_SYM in weak_alias.
27745 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27746 "bp-asm.h".
27747 (PARMS): Do not use macros from bp-asm.h.
27748 (DEST): Likewise.
27749 (SRC): Likewise.
27750 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27751 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27752 "bp-asm.h".
27753 (PARMS): Do not use macros from bp-asm.h.
27754 (strlen): Do not use BP_SYM.
27755 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27756 "bp-asm.h".
27757 (PARMS): Do not use macros from bp-asm.h.
27758 (S1): Likewise.
27759 (S2): Likewise.
27760 (SIZE): Likewise.
27761 (__mpn_sub_n): Do not use BP_SYM.
27762 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27763 "bp-asm.h".
27764 (PARMS): Do not use macros from bp-asm.h.
27765 (S1): Likewise.
27766 (SIZE): Likewise.
27767 (__mpn_submul_1): Do not use BP_SYM.
27768 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27769 "bp-asm.h".
27770 (PARMS): Do not use macros from bp-asm.h.
27771 (S1): Likewise.
27772 (S2): Likewise.
27773 (SIZE): Likewise.
27774 (__mpn_add_n): Do not use BP_SYM.
27775 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27776 weak_alias.
27777 (bzero): Likewise.
27778 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27779 "bp-asm.h".
27780 (PARMS): Do not use macros from bp-asm.h.
27781 (BLK2): Likewise.
27782 (LEN): Likewise.
27783 (memcmp): Do not use BP_SYM.
27784 (bcmp): Do not use BP_SYM in weak_alias.
27785 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27786 "bp-asm.h".
27787 (PARMS): Do not use macros from bp-asm.h.
27788 (DEST): Likewise.
27789 (SRC): Likewise.
27790 (LEN): Likewise.
27791 (memcpy): Likewise. Do not use BP_SYM.
27792 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27793 "bp-asm.h".
27794 (PARMS): Do not use macros from bp-asm.h.
27795 (DEST): Likewise.
27796 (SRC): Likewise.
27797 (LEN): Likewise.
27798 (memmove): Likewise. Do not use BP_SYM.
27799 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27800 "bp-asm.h".
27801 (PARMS): Do not use macros from bp-asm.h.
27802 (DEST): Likewise.
27803 (SRC): Likewise.
27804 (LEN): Likewise.
27805 (__mempcpy): Likewise. Do not use BP_SYM.
27806 (mempcpy): Do not use BP_SYM in weak_alias.
27807 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27808 "bp-asm.h".
27809 (PARMS): Do not use macros from bp-asm.h.
27810 (DEST): Likewise.
27811 (LEN): Likewise.
27812 [!BZERO_P] (CHR): Likewise.
27813 (memset): Likewise. Do not use BP_SYM.
27814 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27815 "bp-asm.h".
27816 (PARMS): Do not use macros from bp-asm.h.
27817 (STR2): Likewise.
27818 (strcmp): Do not use BP_SYM.
27819 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27820 "bp-asm.h".
27821 (PARMS): Do not use macros from bp-asm.h.
27822 (STR): Likewise.
27823 (DELIM): Likewise.
27824 [USE_AS_STRTOK_R] (SAVE): Likewise.
27825 (FUNCTION): Likewise. Do not use BP_SYM.
27826 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27827 aliases.
27828 (strtok_r): Likewise.
27829 (__GI___strtok_r): Likewise.
27830 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27831 (PARMS): Do not use macros from bp-asm.h.
27832 (S): Likewise.
27833 (SIZE): Likewise.
27834 (__mpn_lshift): Do not use BP_SYM.
27835 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27836 (PARMS): Do not use macros from bp-asm.h.
27837 (STR): Likewise.
27838 (CHR): Likewise.
27839 (__memchr): Do not use BP_SYM.
27840 (memchr): Do not use BP_SYM in weak_alias.
27841 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27842 (PARMS): Do not use macros from bp-asm.h.
27843 (BLK2): Likewise.
27844 (LEN): Likewise.
27845 (memcmp): Do not use BP_SYM.
27846 (bcmp): Do not use BP_SYM in weak_alias.
27847 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27848 (PARMS): Do not use macros from bp-asm.h.
27849 (S1): Likewise.
27850 (SIZE): Likewise.
27851 (__mpn_mul_1): Do not use BP_SYM.
27852 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27853 "bp-asm.h".
27854 (PARMS): Do not use macros from bp-asm.h.
27855 (STR): Likewise.
27856 (CHR): Likewise.
27857 (__rawmemchr): Do not use BP_SYM.
27858 (rawmemchr): Do not use BP_SYM in weak_alias.
27859 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27860 (PARMS): Do not use macros from bp-asm.h.
27861 (S): Likewise.
27862 (SIZE): Likewise.
27863 (__mpn_rshift): Do not use BP_SYM.
27864 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27865 (PARMS): Do not use macros from bp-asm.h.
27866 (SIGMSK): Likewise.
27867 (__sigsetjmp): Likewise. Do not use BP_SYM.
27868 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27869 (_start): Do not use BP_SYM.
27870 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27871 (PARMS): Do not use macros from bp-asm.h.
27872 (DEST): Likewise.
27873 (SRC): Likewise.
27874 (__stpcpy): Likewise. Do not use BP_SYM.
27875 (stpcpy): Do not use BP_SYM in weak_alias.
27876 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27877 "bp-asm.h".
27878 (PARMS): Do not use macros from bp-asm.h.
27879 (DEST): Likewise.
27880 (SRC): Likewise.
27881 (LEN): Likewise.
27882 (__stpncpy): Likewise. Do not use BP_SYM.
27883 (stpncpy): Do not use BP_SYM in weak_alias.
27884 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27885 (PARMS): Do not use macros from bp-asm.h.
27886 (STR): Likewise.
27887 (CHR): Likewise.
27888 (strchr): Likewise. Do not use BP_SYM.
27889 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27890 "bp-asm.h".
27891 (PARMS): Do not use macros from bp-asm.h.
27892 (STR): Likewise.
27893 (CHR): Likewise.
27894 (__strchrnul): Likewise. Do not use BP_SYM.
27895 (strchrnul): Do not use BP_SYM in weak_alias.
27896 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27897 "bp-asm.h".
27898 (PARMS): Do not use macros from bp-asm.h.
27899 (STOP): Likewise.
27900 (strcspn): Do not use BP_SYM.
27901 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27902 "bp-asm.h".
27903 (PARMS): Do not use macros from bp-asm.h.
27904 (STR): Likewise.
27905 (STOP): Likewise.
27906 (strpbrk): Likewise. Do not use BP_SYM.
27907 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27908 "bp-asm.h".
27909 (PARMS): Do not use macros from bp-asm.h.
27910 (STR): Likewise.
27911 (CHR): Likewise.
27912 (strrchr): Likewise. Do not use BP_SYM.
27913 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27914 (PARMS): Do not use macros from bp-asm.h.
27915 (SKIP): Likewise.
27916 (strspn): Do not use BP_SYM.
27917 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27918 (PARMS): Do not use macros from bp-asm.h.
27919 (STR): Likewise.
27920 (DELIM): Likewise.
27921 (SAVE): Likewise.
27922 (FUNCTION): Likewise. Do not use BP_SYM.
27923 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27924 aliases.
27925 (strtok_r): Likewise.
27926 (__GI___strtok_r): Likewise.
27927 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27928 (PARMS): Do not use macros from bp-asm.h.
27929 (S1): Likewise.
27930 (S2): Likewise.
27931 (SIZE): Likewise.
27932 (__mpn_sub_n): Do not use BP_SYM.
27933 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27934 "bp-asm.h".
27935 (PARMS): Do not use macros from bp-asm.h.
27936 (S1): Likewise.
27937 (SIZE): Likewise.
27938 (__mpn_submul_1): Do not use BP_SYM.
27939 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27940 <bp-sym.h>.
27941 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27942 and <bp-asm.h>.
27943 (PARMS): Do not use macros from bp-asm.h.
27944 (FLAGS): Likewise.
27945 (PTID): Likewise.
27946 (TLS): Likewise.
27947 (CTID): Likewise.
27948 (__clone): Do not use BP_SYM.
27949 (clone): Do not use BP_SYM in weak_alias.
27950 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27951 and <bp-asm.h>.
27952 (PARMS): Do not use macros from bp-asm.h.
27953 (LEN): Likewise.
27954 (__mmap64): Do not use BP_SYM.
27955 (mmap64): Do not use BP_SYM in weak_alias.
27956 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27957 <bp-sym.h> and <bp-asm.h>.
27958 (PARMS): Do not use macros from bp-asm.h.
27959 (__posix_fadvise64_l64): Do not use BP_SYM.
27960 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27961 (PARMS): Do not use macros from bp-asm.h.
27962 (NSOPS): Likewise.
27963 (semtimedop): Do not use BP_SYM.
27964 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27965 and <bp-asm.h>.
27966
27967 2013-02-21 Allan McRae <allan@archlinux.org>
27968
27969 * manual/message.texi (Charset conversion in gettext):
27970 Move @end statement to beginning of line.
27971
27972 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27973
27974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27975 static.
27976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27977 Likewise.
27978
27979 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27980 (denorm): Likewise.
27981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27983
27984 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27985
27986 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27987 tail-call to the resolved function if pltexit isn't needed.
27988
27989 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27990
27991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27992 or Y being zero as being unlikely.
27993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27994 Likewise.
27995
27996 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27997
27998 * manual/nss.texi (System Databases and Name Service Switch):
27999 Remove frobnicate @pxref.
28000
28001 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28002
28003 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28004 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28005
28006 2013-02-20 Petr Machata <pmachata@redhat.com>
28007
28008 * elf/elf.h (R_ARM_TARGET1): New macro.
28009 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28010 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28011 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28012 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28013 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28014 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28015 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28016 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28017 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28018 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28019 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28020 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28021 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28022 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28023 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28024 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28025 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28026 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28027 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28028 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28029 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28030 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28031 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28032 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28033 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28034 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28035 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28036 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28037 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28038 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28039 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28040 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28041 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28042 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28043 (R_ARM_THM_GOT_BREL12): Likewise.
28044 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28045 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28046 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28047 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28048 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28049 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28050 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28051 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28052 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28053
28054 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28055
28056 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28057 __attribute_used__ to __attribute__ ((unused)).
28058
28059 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28060
28061 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28062 powerpc mpa.c.
28063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28064 comment formatting.
28065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28066
28067 2013-02-19 Joseph Myers <joseph@codesourcery.com>
28068
28069 [BZ #13550]
28070 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28071 Remove macro.
28072 (ENTER): Remove both macro definitions.
28073 (LEAVE): Likewise.
28074 (CHECK_BOUNDS_LOW): Likewise.
28075 (CHECK_BOUNDS_HIGH): Likewise.
28076 (CHECK_BOUNDS_BOTH): Likewise.
28077 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28078 (RETURN_BOUNDED_POINTER): Likewise.
28079 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28080 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28081 (POP_ERRNO_LOCATION_RETURN): Likewise.
28082 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28083 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28084 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28085 macros.
28086 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28087 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28088 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28089 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28090 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28091 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28092 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28093 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28094 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28095 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28096 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28097 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28098 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28099 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28100 removed macros.
28101 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28102 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28103 macros.
28104 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28105 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28106 * sysdeps/i386/i586/memset.S (memset): Likewise.
28107 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28108 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28109 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28110 macros.
28111 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28112 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28113 Change uses of L(2) to L(out).
28114 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28115 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28116 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28117 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28118 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28119 removed macros.
28120 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28121 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28122 macros.
28123 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28124 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28125 (RETURN): Do not use macro LEAVE.
28126 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28127 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28128 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28129 * sysdeps/i386/i686/memset.S (memset): Likewise.
28130 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28131 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28132 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28133 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28134 Likewise.
28135 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28136 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28137 L(1_2) and L(1_3) into L(1).
28138 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28139 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28140 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28141 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28142 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28143 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28144 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28145 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28146 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28147 macros.
28148 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28149 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28150 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28151 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28152 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28153 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28154 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28155 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28156 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28157 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28158 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28159 * sysdeps/i386/strspn.S (strspn): Likewise.
28160 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28161 conditional code.
28162 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28163 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28164 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28165 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28166 L(1_3) into L(1_1).
28167 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28168 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28169 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28170 macros.
28171 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28172
28173 2013-02-19 Jakub Jelinek <jakub@redhat.com>
28174
28175 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28176 macro.
28177
28178 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28179
28180 * math/atest-exp.c (exp_mpn): Remove ROUND.
28181 * math/atest-exp2.c (exp_mpn): Likewise.
28182 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28183
28184 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28185 * stdlib/tst-tls-atexit-lib.c: Likewise.
28186 * stdlib/tst-tls-atexit.c: Likewise.
28187
28188 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28189
28190 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28191 and __attribute_alloc_size__.
28192
28193 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28194
28195 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28196 __attribute_alloc_size__.
28197 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28198 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28199
28200 2013-02-18 Mike Frysinger <vapier@gentoo.org>
28201
28202 * include/programs/xmalloc.h: New file.
28203 * catgets/gencat.c: Include it.
28204 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28205 * elf/pldd.c: Likewise.
28206 * iconv/iconv_charmap.c: Likewise.
28207 * iconv/iconvconfig.c: Likewise.
28208 * iconv/strtab.c: Likewise.
28209 * locale/programs/locale.c: Likewise.
28210 * locale/programs/localedef.h: Likewise.
28211 * locale/programs/simple-hash.c: Likewise.
28212 * nscd/nscd.h: Likewise.
28213 * nss/makedb.c: Likewise.
28214 * sysdeps/generic/ldconfig.h: Likewise.
28215
28216 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28217
28218 * Versions.def: Add GLIBC_2.18.
28219 * include/link.h (struct link_map): New member l_tls_dtor_count.
28220 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28221 (__call_tls_dtors): Likewise.
28222 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28223 __cxa_thread_atexit_impl.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28225 Likewise.
28226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28227 Likewise.
28228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28229 Likewise.
28230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28231 Likewise.
28232 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28234 Likewise.
28235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28236 Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28239 Likewise.
28240 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28241 (tests): Add test case tst-tls-atexit.
28242 (modules-names): Add shared library for tst-tls-atexit.
28243 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28244 (GLIBC_PRIVATE): Add __call_tls_dtors.
28245 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28246 for libstdc++.
28247 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28248 * stdlib/tst-tls-atexit.c: New test case.
28249 * stdlib/tst-tls-atexit-lib.c: New test case.
28250
28251 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28252
28253 * elf/Versions (ld): Add _dl_find_dso_for_object.
28254 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28255 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28256 (dl_open_worker): Use _dl_find_dso_for_object.
28257 * elf/dl-sym.c (do_sym): Likewise.
28258 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28259
28260 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28261
28262 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28263 Syntactic changes only.
28264 (_dl_runtime_profile): Do a tail-call to the resolved function.
28265
28266 2013-02-17 Joseph Myers <joseph@codesourcery.com>
28267
28268 [BZ #13550]
28269 * sysdeps/x86_64/bp-asm.h: Remove file.
28270 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28271 <bp-sym.h> and <bp-asm.h>.
28272 (__clone): Do not use BP_SYM.
28273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28274 <bp-sym.h> and <bp-asm.h>.
28275 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28276 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28277 "bp-asm.h".
28278 (_setjmp): Do not use BP_SYM.
28279 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28280 "bp-asm.h".
28281 (setjmp): Do not use BP_SYM.
28282 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28283 libc_hidden_def.
28284 (mempcpy): Do not use BP_SYM in weak_alias.
28285 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28286 "bp-asm.h".
28287 (strchr): Do not use BP_SYM.
28288 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28289 "bp-asm.h".
28290 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28291 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28292 (_start): Do not use BP_SYM.
28293 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28294 "bp-asm.h".
28295 (strcat): Do not use BP_SYM.
28296 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28297 "bp-asm.h".
28298 (STRCMP): Do not use BP_SYM.
28299 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28300 "bp-asm.h".
28301 (STRCPY): Do not use BP_SYM.
28302 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28303 "bp-asm.h".
28304 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28305 "bp-asm.h".
28306 (FUNCTION): Do not use BP_SYM.
28307 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28308 weak_alias.
28309 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28310
28311 2013-02-17 Andreas Jaeger <aj@suse.de>
28312
28313 * time/Versions: Sort entries.
28314 * string/Versions: Likewise.
28315 * resolv/Versions: Likewise.
28316 * posix/Versions: Likewise.
28317 * iconv/Versions: Likewise.
28318 * elf/Versions: Likewise.
28319 * wcsmbs/Versions: Likewise.
28320
28321 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28322
28323 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28324 loop termination condition.
28325
28326 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28327 variable to calculate EZ.
28328 (__sqr): Likewise.
28329
28330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28331 the lower precision input.
28332
28333 2013-02-15 Joseph Myers <joseph@codesourcery.com>
28334
28335 [BZ #13550]
28336 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28337 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28338 (run-via-rtld-prefix): Do not handle %-bp tests.
28339 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28340 (all-object-suffixes): Remove .ob.
28341 (bppfx): Remove variable.
28342 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28343 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28344 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28345 [$(build-bounded) = yes] (libtype.ob): Likewise.
28346 * Makerules (elide-routines.ob): Remove variable.
28347 (do-tests-clean): Do not handle *-bp.out.
28348 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28349 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28350 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28351 (tests): Do not include $(tests-bp.out).
28352 (xtests): Do not include $(xtests-bp.out).
28353 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28354 [$(build-bounded) = yes] ($(addprefix
28355 $(objpfx),$(binaries-bounded))): Remove rule.
28356 ($(objpfx)%-bp.out): Remove rule.
28357 * config.make.in (build-bounded): Remove variable.
28358 * crypt/Makefile [$(build-bounded) = yes]
28359 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28360 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28361 append to variable.
28362 [$(build-bounded) = yes] (install-lib): Likewise.
28363 [$(build-bounded) = yes] (generated): Likewise.
28364 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28365 Remove rule.
28366 * intl/Makefile [$(build-bounded) = yes]
28367 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28368 * math/Makefile [$(build-bounded) = yes]
28369 ($(tests:%=$(objpfx)%-bp): Likewise.
28370 * misc/Makefile [$(build-bounded) = yes]
28371 ($(objpfx)tst-tsearch-bp): Likewise.
28372 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28373 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28374 Remove dependency.
28375 * string/Makefile (o-objects.ob): Remove variable.
28376 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28377 (CFLAGS-.ob): Remove variable.
28378 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28379 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28380 both definitions of variable.
28381 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28382 (ASFLAGS-.ob): Remove variable.
28383
28384 2013-02-14 Joseph Myers <joseph@codesourcery.com>
28385
28386 [BZ #13550]
28387 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28388 Remove __BOUNDED_POINTERS__ from condition.
28389 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28390 * string/bits/string2.h [!__NO_STRING_INLINES &&
28391 !__BOUNDED_POINTERS__]: Likewise.
28392 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28393 Likewise.
28394 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28395 Remove conditional code.
28396 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28397 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28398 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28399 condition.
28400
28401 [BZ #13550]
28402 * csu/libc-start.c: Do not include <bp-sym.h>.
28403 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28404 * elf/dl-open.c: Do not include <bp-sym.h>.
28405 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28406 * math/fegetenv.c: Do not include <bp-sym.h>.
28407 (fegetenv): Do not use BP_SYM in versioned symbols.
28408 * nptl/sysdeps/pthread/bits/libc-lockP.h
28409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28410 <bp-sym.h>.
28411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28412 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28414 (__pthread_mutex_destroy): Likewise.
28415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28416 (__pthread_mutex_lock): Likewise.
28417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28418 (__pthread_mutex_trylock): Likewise.
28419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28420 (__pthread_mutex_unlock): Likewise.
28421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28422 (__pthread_mutexattr_init): Likewise.
28423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28424 (__pthread_mutexattr_destroy): Likewise.
28425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28426 (__pthread_mutexattr_settype): Likewise.
28427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28428 (__pthread_rwlock_init): Likewise.
28429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28430 (__pthread_rwlock_destroy): Likewise.
28431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28432 (__pthread_rwlock_rdlock): Likewise.
28433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28434 (__pthread_rwlock_tryrdlock): Likewise.
28435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28436 (__pthread_rwlock_wrlock): Likewise.
28437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28438 (__pthread_rwlock_trywrlock): Likewise.
28439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28440 (__pthread_rwlock_unlock): Likewise.
28441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28442 (__pthread_key_create): Likewise.
28443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28444 (__pthread_setspecific): Likewise.
28445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28446 (__pthread_getspecific): Likewise.
28447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28448 Likewise.
28449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28450 (_pthread_cleanup_push_defer): Likewise.
28451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28452 (_pthread_cleanup_pop_restore): Likewise.
28453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28454 (pthread_setcancelstate): Likewise.
28455 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28456 <bp-sym.h>.
28457 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28458 (memchr): Do not use BP_SYM in weak_alias.
28459 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28460 (fegetenv): Do not use BP_SYM in versioned symbols.
28461 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28462 (fesetenv): Do not use BP_SYM in versioned symbols.
28463 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28464 (feupdateenv): Do not use BP_SYM in versioned symbols.
28465 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28466 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28467 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28468 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28469 (open64): Do not use BP_SYM in weak_alias.
28470 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28471 (fegetenv): Do not use BP_SYM in versioned symbols.
28472 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28473 (fesetenv): Do not use BP_SYM in versioned symbols.
28474 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28475 (feupdateenv): Do not use BP_SYM in versioned symbols.
28476 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28477 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28478 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28479 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28480 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28481 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28482 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28483 <bp-sym.h>.
28484 (__libc_start_main): Do not use BP_SYM.
28485
28486 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28487
28488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28489 redundant return line.
28490 (norm): Likewise.
28491 (denorm): Likewise.
28492 (dbl_mp): Likewise.
28493 (sub_magnitudes): Likewise.
28494 (__add): Likewise.
28495 (__sub): Likewise.
28496 (__mul): Likewise.
28497 (__inv): Likewise.
28498 (__dvd): Likewise.
28499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28500 (norm): Likewise.
28501 (denorm): Likewise.
28502 (dbl_mp): Likewise.
28503 (sub_magnitudes): Likewise.
28504 (__add): Likewise.
28505 (__sub): Likewise.
28506 (__mul): Likewise.
28507 (__inv): Likewise.
28508 (__dvd): Likewise.
28509
28510 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28511 instead of __mul.
28512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28513 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28514 (cc32): Likewise.
28515
28516 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28517 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28519 of __mul for squares.
28520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28521 function
28522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28523 Likewise.
28524 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28525 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28526
28527 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28528
28529 [BZ #13550]
28530 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28531 code.
28532 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28533 prototype or function definition. Rename ubp_* variables and
28534 parameters. Remove argv definitions conditional on
28535 [__BOUNDED_POINTERS__].
28536 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28537 * elf/dl-runtime.c (_dl_fixup): Likewise.
28538 * include/set-hooks.h (RUN_HOOK): Likewise.
28539 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28540 definition.
28541 * string/strcpy.c (strcpy): Do not use __unbounded.
28542 * sysdeps/generic/frame.h (struct layout): Likewise.
28543 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28544 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28545 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28546 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28547 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28548 (__backtrace): Likewise.
28549 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28550 use __ptrvalue.
28551 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28552 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28553 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28554 Likewise.
28555 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28556 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28557 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28558 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28559 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28560 Do not use __unbounded.
28561 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28562 Rename __unboundedrlimits parameter to rlimits in prototype.
28563 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28564 Do not use __unbounded.
28565 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28566 not use __ptrvalue.
28567 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28568 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28569 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28570 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28571 __ptrvalue or __unbounded.
28572 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28573 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28574 use __unbounded.
28575 (__new_msgctl): Do not use __ptrvalue.
28576 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28577 __unbounded.
28578 (__libc_msgrcv): Do not use __ptrvalue.
28579 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28580 startup_info): Do not use __unbounded.
28581 (__libc_start_main): Likewise. Rename ubp_* variables and
28582 parameters. Remove argv definitions conditional on
28583 [__BOUNDED_POINTERS__].
28584 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28585 __ptrvalue.
28586 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28587 use __unbounded.
28588 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28589 or __ptrvalue.
28590 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28591 use __unbounded.
28592 (__new_shmctl): Do not use __ptrvalue.
28593 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28594 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28595 Likewise.
28596 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28597 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28598 (__libc_sigaction): Likewise.
28599 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28600 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28601 Likewise.
28602 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28603
28604 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28605
28606 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28607
28608 * string/mempcpy.c: Implement by calling memcpy.
28609
28610 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28611
28612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28613
28614 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28615 evaluation.
28616
28617 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28618 values in the mantissa.
28619
28620 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28621 minimize writes to Z.
28622 (sub_magnitudes): Simplify code a bit.
28623
28624 2013-02-12 Roland McGrath <roland@hack.frob.com>
28625
28626 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28627 from the message. The linker prefixes all warnings with that already.
28628
28629 2013-02-12 Andreas Schwab <schwab@suse.de>
28630
28631 [BZ #15078]
28632 * posix/regexec.c (extend_buffers): Add parameter min_len.
28633 (check_matching): Pass minimum needed length.
28634 (clean_state_log_if_needed): Likewise.
28635 (get_subexp): Likewise.
28636 * posix/Makefile (tests): Add bug-regex34.
28637 (bug-regex34-ENV): Define.
28638 * posix/bug-regex34.c: New file.
28639
28640 [BZ #11561]
28641 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28642 elements compare against the byte sequence of it, not its name.
28643 * posix/Makefile (tests): Add bug-regex35.
28644 (bug-regex35-ENV): Define.
28645 * posix/bug-regex35.c: New file.
28646
28647 2013-02-11 Tom de Vries <tom@codesourcery.com>
28648
28649 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28650 comment.
28651 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28652 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28653 (CHECK_EOL): Add undef.
28654
28655 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28656
28657 * bits/stdlib-bsearch.h: New file.
28658 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28659 * stdlib/stdlib.h: Likewise.
28660
28661 2013-02-11 Roland McGrath <roland@hack.frob.com>
28662
28663 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28664 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28665 declaration.
28666 * manual/search.texi (Array Search Function): Add missing const in
28667 lfind prototype.
28668 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28669 declaration to use rlim_t.
28670 (Basic Scheduling Functions): Remove erroneous const from
28671 sched_getparam prototype. Remove erroneous * from
28672 sched_get_priority_max and sched_get_priority_min prototypes.
28673 (Resource Usage): Fix summary @comment on vtimes to refer to
28674 sys/vtimes.h rather than vtimes.h.
28675 Add missing *s in vtimes prototype.
28676 (Limits on Resources): Fix ulimit prototype to return long int.
28677 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28678 prototypes to use long int rather than double.
28679 (BSD Random): Fix initstate and setstate to use char *, not void *.
28680 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28681 prototype to make second argument 'struct aiocb64 *const[]'.
28682 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28683 (Status of AIO Operations): Remove erroneous const in aio_return and
28684 aio_return64 prototypes.
28685 (Synchronizing I/O): Fix sync prototype to return void.
28686 * manual/startup.texi (Suboptions): Remove an erroneous const in
28687 getsubopt prototype.
28688 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28689 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28690 use size_t rather than int.
28691 (Scanning All Users): Likewise for getpwent_r.
28692 (Setting Groups): Add missing const to setgroups prototype.
28693 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28694 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28695 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28696 'const void *' rather than 'const char *'.
28697 (Host Address Functions): Likewise for inet_ntop.
28698 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28699 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28700 ssize_t for return value.
28701 (Sending Data): Likewise for send, sendto, sendmsg.
28702 (Socket Option Functions): Add a missing const in setsockopt prototype.
28703 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28704 use wchar_t for the argument.
28705 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28706 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28707 take no arguments.
28708 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28709 double/float/long double for second argument.
28710 Fix return types of significand, significandf, significandl.
28711 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28712 argument in fchmod prototype.
28713 (File Owner): Use uid_t and gid_t in fchown prototype.
28714 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28715 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28716 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28717 use 'const struct dirent **' as argument types to CMP function pointer
28718 argument.
28719 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28720 (File Times): Fix summary magic @comment for struct utimbuf and utime
28721 to refer to utime.h, not time.h.
28722 * manual/string.texi (Argz Functions): Add missing const in
28723 argz_extract and argz_next prototypes.
28724 (Finding Tokens in a String): Likewise for basename.
28725 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28726 (Copying and Concatenation): Fix typo in wmemmove prototype.
28727 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28728 (Signal Stack): Remove erroneous const in sigstack prototype.
28729 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28730 prototype.
28731 (Simple Calendar Time): Likewise for stime.
28732 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28733 prototype.
28734 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28735 say sys/sysctl.h instead.
28736 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28737 and vsyslog prototypes.
28738
28739 2013-02-11 Tom de Vries <tom@codesourcery.com>
28740
28741 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28742 Remove.
28743
28744 2013-02-11 Roland McGrath <roland@hack.frob.com>
28745
28746 * misc/sys/mman.h: Fix typo in mremap comment.
28747
28748 2013-02-08 Roland McGrath <roland@hack.frob.com>
28749
28750 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28751 the '\0' terminator.
28752
28753 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28754
28755 [BZ #13550]
28756 * debug/segfault.c: Don't include <bp-checks.h>.
28757 * sysdeps/generic/bp-checks.h: Remove file.
28758 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28759 (__GETDENTS): Don't use CHECK_N.
28760 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28761 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28762 (__getgroups): Don't use CHECK_N.
28763 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28764 (setgroups): Don't use CHECK_N.
28765 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28766 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28767 (__libc_msgrcv): Don't use CHECK_N.
28768 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28769 (__libc_msgsnd): Don't use CHECK_N.
28770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28771 <bp-checks.h>.
28772 (__libc_pread): Don't use CHECK_N.
28773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28774 include <bp-checks.h>.
28775 (__libc_pread64): Don't use CHECK_N.
28776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28777 include <bp-checks.h>.
28778 (__libc_pwrite): Don't use CHECK_N.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28780 include <bp-checks.h>.
28781 (__libc_pwrite64): Don't use CHECK_N.
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28783 <bp-checks.h>.
28784 (__libc_pread): Don't use CHECK_N.
28785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28786 include <bp-checks.h>.
28787 (__libc_pread64): Don't use CHECK_N.
28788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28789 include <bp-checks.h>.
28790 (__libc_pwrite): Don't use CHECK_N.
28791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28792 include <bp-checks.h>.
28793 (__libc_pwrite64): Don't use CHECK_N.
28794 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28795 (do_pread): Don't use CHECK_N.
28796 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28797 (do_pread64): Don't use CHECK_N.
28798 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28799 (do_pwrite): Don't use CHECK_N.
28800 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28801 (do_pwrite64): Don't use CHECK_N.
28802 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28803 (__libc_readv): Don't use CHECK_N.
28804 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28805 (semop): Don't use CHECK_N.
28806 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28807 <bp-checks.h>.
28808 (semtimedop): Don't use CHECK_N.
28809 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28810 (__libc_pread): Don't use CHECK_N.
28811 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28812 <bp-checks.h>.
28813 (__libc_pread64): Don't use CHECK_N.
28814 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28815 <bp-checks.h>.
28816 (__libc_pwrite): Don't use CHECK_N.
28817 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28818 <bp-checks.h>.
28819 (__libc_pwrite64): Don't use CHECK_N.
28820 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28821 <bp-checks.h>.
28822 (__libc_msgrcv): Don't use CHECK_N.
28823 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28824 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28825 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28826 (__libc_writev): Don't use CHECK_N.
28827
28828 2013-02-08 Roland McGrath <roland@hack.frob.com>
28829
28830 * string/strcpy.c: Removed unused variable.
28831
28832 * Makeconfig (+sysdep-includes): Define with := rather than =.
28833 Use an existing include/ subdir of each sysdeps dir before it.
28834
28835 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28836
28837 * nscd/connection.c (register_traced_file): Comment function.
28838 [HAVE_INOTIFY] (union __inev): Define.
28839 [HAVE_INOTIFY] (inotify_check_files): New function.
28840 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28841 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28842 clear_db_cache.
28843 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28844
28845 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28846
28847 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28848 loaded if not already and that a failure is permanent.
28849
28850 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28851
28852 [BZ #15006]
28853 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28854 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28855
28856 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28857
28858 [BZ #13550]
28859 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28860 (CHECK_1_NULL_OK): Likewise.
28861 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28862 (__fxstat): Do not use CHECK_1.
28863 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28864 <bp-checks.h>.
28865 (___fxstat64): Do not use CHECK_1.
28866 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28867 <bp-checks.h>.
28868 (__fxstatat): Do not use CHECK_1.
28869 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28870 <bp-checks.h>.
28871 (__fxstatat64): Do not use CHECK_1.
28872 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28873 <bp-checks.h>.
28874 (__fxstat): Do not use CHECK_1.
28875 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28876 <bp-checks.h>.
28877 (__fxstatat): Do not use CHECK_1.
28878 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28879 <bp-checks.h>.
28880 (__getresgid): Do not use CHECK_1.
28881 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28882 <bp-checks.h>.
28883 (__getresuid): Do not use CHECK_1.
28884 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28885 <bp-checks.h>.
28886 (__lxstat): Do not use CHECK_1.
28887 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28888 <bp-checks.h>.
28889 (__old_msgctl): Do not use CHECK_1.
28890 (__new_msgctl): Likewise.
28891 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28892 <bp-checks.h>.
28893 (__new_setrlimit): Do not use CHECK_1.
28894 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28895 <bp-checks.h>.
28896 (__old_shmctl): Do not use CHECK_1.
28897 (__new_shmctl): Likewise.
28898 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28899 <bp-checks.h>.
28900 (__xstat): Do not use CHECK_1.
28901 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28902 (__lxstat): Do not use CHECK_1.
28903 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28904 <bp-checks.h>.
28905 (___lxstat64): Do not use CHECK_1.
28906 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28907 (__old_msgctl): Do not use CHECK_1.
28908 (__new_msgctl): Likewise.
28909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28910 <bp-checks.h>.
28911 (__gettimeofday): Do not use CHECK_1.
28912 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28913 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28914 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28915 <bp-checks.h>.
28916 (__gettimeofday): Do not use CHECK_1.
28917 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28918 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28919 (__new_shmctl): Do not use CHECK_1.
28920 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28921 <bp-checks.h>.
28922 (do_sigtimedwait): Do not use CHECK_1.
28923 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28924 <bp-checks.h>.
28925 (do_sigwaitinfo): Do not use CHECK_1.
28926 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28927 <bp-checks.h>.
28928 (msgctl): Do not use CHECK_1.
28929 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28930 <bp-checks.h>.
28931 (shmctl): Do not use CHECK_1.
28932 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28933 (ustat): Do not use CHECK_1.
28934 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28935 <bp-checks.h>.
28936 (__fxstat): Do not use CHECK_1.
28937 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28938 <bp-checks.h>.
28939 (__fxstatat): Do not use CHECK_1.
28940 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28941 <bp-checks.h>.
28942 (__lxstat): Do not use CHECK_1.
28943 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28944 <bp-checks.h>.
28945 (__xstat): Do not use CHECK_1.
28946 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28947 (__xstat): Do not use CHECK_1.
28948 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28949 (___xstat64): Do not use CHECK_1.
28950
28951 [BZ #13550]
28952 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28953 definitions.
28954 (CHECK_BOUNDS_HIGH): Likewise.
28955 * string/strcpy.c: Do not include <bp-checks.h>.
28956 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28957
28958 2013-02-07 Roland McGrath <roland@hack.frob.com>
28959
28960 * nscd/nscd-client.h (__nscd_drop_map_ref):
28961 Add __attribute__ ((unused)).
28962 * nis/nss-nisplus.h (niserr2nss): Likewise.
28963
28964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28965 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28966
28967 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28968 Remove inline keyword.
28969 * include/rounding-mode.h (round_away): Likewise.
28970 * libio/wfileops.c (adjust_wide_data): Likewise.
28971 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28972 (__m128i_strloadu_tolower): Likewise.
28973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28974 (__m128i_strloadu_tolower): Likewise.
28975 * time/mktime.c (ydhms_diff): Likewise.
28976 * locale/elem-hash.h (elem_hash): Likewise.
28977 * locale/setlocale.c (setdata): Likewise.
28978 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28979 (re_string_wchar_at): Likewise.
28980 (bitset_not, bitset_merge, bitset_mask): Likewise.
28981 [!(__GNUC__ > 3)] (inline): Remove macro.
28982 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28983 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28984 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28985 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28986 * string/memcmp.c (memcmp_bytes): Likewise.
28987 * locale/programs/locarchive.c (compute_hashval): Likewise.
28988 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28989 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28990 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28991 * nss/getent.c (print_rpc, print_protocols): Likewise.
28992 (print_passwd, print_group, print_aliases): Likewise.
28993 * nis/nss-nisplus.h (niserr2nss): Likewise.
28994 * nscd/connections.c (restart_p): Likewise.
28995 Change return type to bool.
28996
28997 2013-02-05 Roland McGrath <roland@hack.frob.com>
28998
28999 * Makeconfig (all-Depend-files): Add existing
29000 $(sorted-subdirs:=/Depend) files.
29001 (all-subdirs): Remove nss.
29002 * sysdeps/unix/inet/Subdirs: Add it here instead.
29003 * hesiod/Depend: New file.
29004
29005 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29006 instead of calling alloca.
29007
29008 * io/lseek.c (__lseek): Rename to __libc_lseek.
29009 Define __lseek as an alias.
29010
29011 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29012
29013 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29014
29015 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29016 else clause and remove check for non-standard endianness.
29017
29018 2013-02-04 David S. Miller <davem@davemloft.net>
29019
29020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29021
29022 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29023
29024 [BZ #13550]
29025 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29026 (__ubp_memchr): Remove prototype.
29027 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29028 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29029 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29030 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29031 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29032 Remove alias.
29033 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29034 (__ubp_memchr): Likewise.
29035 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29036 (__ubp_memchr): Likewise.
29037 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29038 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29039 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29040 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29041 CHECK_STRING.
29042 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29043 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29044 (__getcwd): Do not use CHECK_STRING.
29045 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29046 <bp-checks.h>.
29047 (__real_chown): Do not use CHECK_STRING.
29048 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29049 <bp-checks.h>.
29050 (fchownat): Do not use CHECK_STRING.
29051 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29052 CHECK_STRING.
29053 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29054 <bp-checks.h>.
29055 (__lchown): Do not use CHECK_STRING.
29056 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29057 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29058 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29059 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29061 include <bp-checks.h>.
29062 (truncate64): Do not use CHECK_STRING.
29063 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29064 <bp-checks.h>.
29065 (__real_chown): Do not use CHECK_STRING.
29066 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29067 <bp-checks.h>.
29068 (__lchown): Do not use CHECK_STRING.
29069 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29070 <bp-checks.h>.
29071 (__chown): Do not use CHECK_STRING.
29072 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29073 <bp-checks.h>.
29074 (truncate64): Do not use CHECK_STRING.
29075 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29076 Likewise.
29077 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29078 (__xmknod): Do not use CHECK_STRING.
29079 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29080 <bp-checks.h>.
29081 (__xmknodat): Do not use CHECK_STRING.
29082 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29083 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29084
29085 2013-02-04 Andreas Schwab <schwab@suse.de>
29086
29087 [BZ #14142]
29088 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29089 * include/netdb.h: Likewise for h_errno.
29090 * elf/tst-stackguard1.c: Include <tls.h>.
29091
29092 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29093
29094 * elf/link.h (struct link_map): Extend the l_addr comment.
29095 * include/link.h (struct link_map): Likewise.
29096
29097 2013-02-01 Joseph Myers <joseph@codesourcery.com>
29098
29099 [BZ #13550]
29100 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29101 (BOUNDED_1): Remove macro.
29102 * debug/backtrace.c: Don't include <bp-checks.h>.
29103 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29104 (__backtrace): Likewise.
29105 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29106 <bp-checks.h>.
29107 (__backtrace): Don't use BOUNDED_1.
29108 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29109 <bp-checks.h>.
29110 (__backtrace): Don't use BOUNDED_1.
29111 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29112 (__backtrace): Don't use BOUNDED_1.
29113 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29114 (shmat): Don't use BOUNDED_N.
29115
29116 2013-01-31 Joseph Myers <joseph@codesourcery.com>
29117
29118 [BZ #13550]
29119 * sysdeps/generic/bp-start.h: Remove file.
29120 * csu/libc-start.c: Don't include <bp-start.h>.
29121 (LIBC_START_MAIN): Set up __environ directly instead of using
29122 INIT_ARGV_and_ENVIRON.
29123 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29124 <bp-start.h>.
29125
29126 [BZ #13550]
29127 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29128 definitions.
29129 (CHECK_FCNTL): Likewise.
29130 (CHECK_N_PAGES): Likewise.
29131
29132 [BZ #13550]
29133 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29134 definitions.
29135 (CHECK_SIGSET_NULL_OK): Likewise.
29136 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29137 <bp-checks.h>.
29138 (sigpending): Don't use CHECK_SIGSET.
29139 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29140 <bp-checks.h>.
29141 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29142 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29143 <bp-checks.h>.
29144 (do_sigsuspend): Don't use CHECK_SIGSET.
29145 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29146 use CHECK_SIGSET.
29147 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29148 (do_sigwait): Don't use CHECK_SIGSET.
29149 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29150 use CHECK_SIGSET.
29151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29152 include <bp-checks.h>.
29153 (sigpending): Don't use CHECK_SIGSET.
29154 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29155 include <bp-checks.h>.
29156 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29157 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29158 <bp-checks.h>.
29159 (sigpending): Don't use CHECK_SIGSET.
29160 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29161 <bp-checks.h>.
29162 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29163
29164 [BZ #13550]
29165 * sysdeps/generic/bp-semctl.h: Remove file.
29166 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29167 <bp-checks.h> and <bp-semctl.h>.
29168 (__old_semctl): Don't use CHECK_SEMCTL.
29169 (__new_semctl): Likewise.
29170 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29171 and <bp-semctl.h>.
29172 (__old_semctl): Don't use CHECK_SEMCTL.
29173 (__new_semctl): Likewise.
29174 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29175 <bp-checks.h> and <bp-semctl.h>.
29176 (__old_semctl): Don't use CHECK_SEMCTL.
29177 (__new_semctl): Likewise.
29178 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29179 <bp-checks.h> and <bp-semctl.h>.
29180 (semctl): Don't use CHECK_SEMCTL.
29181
29182 [BZ #13550]
29183 * Makerules (elide-bp-thunks): Remove variable.
29184 (elide-routines.oS): Don't use $(elide-bp-thunks).
29185 (elide-routines.os): Likewise.
29186 (elide-routines.o): Likewise.
29187 (elide-routines.op): Likewise.
29188 (elide-routines.og): Likewise.
29189 (objects): Don't use $(bp-thunks).
29190 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29191 include.
29192 (common-generated): Do not add s-proto-bp.d.
29193 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29194 (int): Likewise.
29195 (typ): Likewise.
29196 Do not generate makefile rules for bounded-pointer thunks.
29197 * sysdeps/generic/bp-thunks.h: Remove file.
29198 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29199 * sysdeps/unix/s-proto-bp.S: Likewise.
29200
29201 [BZ #15062]
29202 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29203 parts of result separately when argument is not close to line from
29204 -i to i and one part of argument is small.
29205 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29206 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29207 * math/libm-test.inc (cacos_test): Add more tests.
29208 (casin_test): Likewise.
29209 (casinh_test): Likewise.
29210 * sysdeps/i386/fpu/libm-test-ulps: Update.
29211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29212
29213 2013-01-31 David S. Miller <davem@davemloft.net>
29214
29215 * po/de.po: Update from translation team.
29216
29217 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29218
29219 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29220
29221 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29222
29223 * configure.in (_AC_PROG_CC_C89): New definition.
29224 * configure: Regenerate.
29225
29226 * configure.in (AC_PROG_CPP): New definition.
29227 * configure: Regenerate.
29228
29229 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29230
29231 * debug/tst-backtrace.h: New file.
29232 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29233 (ret): Remove variable.
29234 (x): Likewise.
29235 (FAIL): Remove macro.
29236 (NO_INLINE): Likewise.
29237 (fn1): Use match function instead of strstr.
29238 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29239 (ret): Remove variable.
29240 (x): Likewise.
29241 (FAIL): Remove macro.
29242 (NO_INLINE): Likewise.
29243 (fn): Use match function instead of strstr.
29244 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29245 (ret): Remove variable.
29246 (x): Likewise.
29247 (FAIL): Remove macro.
29248 (NO_INLINE): Likewise.
29249 (handle_signal): Use match function instead of strstr.
29250 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29251 (ret): Remove variable.
29252 (x): Likewise.
29253 (FAIL): Remove macro.
29254 (NO_INLINE): Likewise.
29255 (handle_signal): Use match function instead of strstr.
29256
29257 2013-01-23 Roland McGrath <roland@hack.frob.com>
29258
29259 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29260
29261 2013-01-23 David S. Miller <davem@davemloft.net>
29262
29263 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29264 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29265 argument of CAS if possible.
29266 * sysdeps/sparc/sparc64/bits/atomic.h
29267 (__arch_compare_and_exchange_val_32_acq): Likewise.
29268 (__arch_compare_and_exchange_val_64_acq): Likewise.
29269
29270 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29271
29272 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29273 * sysdeps/posix/ulimit.c: ... this.
29274 Include <limits.h>.
29275 * sysdeps/unix/bsd/ulimit.c: Remove file.
29276
29277 2013-01-23 Adam Conrad <adconrad@0c3.net>
29278
29279 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29280 (LDFLAGS-tst-array5): Likewise.
29281
29282 2013-01-23 Joseph Myers <joseph@codesourcery.com>
29283
29284 [BZ #15036]
29285 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29286 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29287 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29288 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29289
29290 2013-01-21 David S. Miller <davem@davemloft.net>
29291
29292 * sysdeps/sparc/backtrace.c: New file.
29293 * sysdeps/sparc/sparc32/backtrace.h: New file.
29294 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29295 * sysdeps/sparc/sparc64/backtrace.h: New file.
29296 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29297 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29298 -funwind-tables.
29299
29300 2013-01-21 Andreas Schwab <schwab@suse.de>
29301
29302 [BZ #15020]
29303 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29304 closed its stdout.
29305
29306 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29307
29308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29309 "mpa2.h".
29310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29311
29312 2013-01-18 Joseph Myers <joseph@codesourcery.com>
29313 Mark Mitchell <mark@codesourcery.com>
29314 Tom de Vries <tom@codesourcery.com>
29315 Paul Pluzhnikov <ppluzhnikov@google.com>
29316
29317 * debug/tst-backtrace2.c: New file.
29318 * debug/tst-backtrace3.c: Likewise.
29319 * debug/tst-backtrace4.c: Likewise.
29320 * debug/tst-backtrace5.c: Likewise.
29321 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29322 (CFLAGS-tst-backtrace3.c): Likewise.
29323 (CFLAGS-tst-backtrace4.c): Likewise.
29324 (CFLAGS-tst-backtrace5.c): Likewise.
29325 (LDFLAGS-tst-backtrace2): Likewise.
29326 (LDFLAGS-tst-backtrace3): Likewise.
29327 (LDFLAGS-tst-backtrace4): Likewise.
29328 (LDFLAGS-tst-backtrace5): Likewise.
29329 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29330 tst-backtrace4 and tst-backtrace5.
29331
29332 2013-01-18 Anton Blanchard <anton@samba.org>
29333 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29334
29335 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29336 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29337 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29338 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29340 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29341 "+r" and remove output regs list as redundant. Add explicit inline
29342 asm to specify register of return val to work around compiler codegen
29343 bug. Remove (int) cast on return value. Add return type parameter to
29344 use in macro so that this macro does not truncate return value for
29345 64-bit values.
29346 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29347 pass to INTERNAL_VSYSCALL_NCS.
29348 (INLINE_VSYSCALL): Add 'long int' as return type to
29349 INTERNAL_VSYSCALL_NCS macro invocation.
29350 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29351 INTERNAL_VSYSCALL_NCS macro invocation.
29352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29353
29354 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29355
29356 [BZ #14496]
29357 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29358 Fix application of SIMD FP exception mask.
29359
29360 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29361 mp_no from a power of two.
29362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29363 __mpexp_twomm1. Use __pow_mp.
29364
29365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29366 multiplication.
29367
29368 2013-01-17 David S. Miller <davem@davemloft.net>
29369
29370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29371
29372 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29373
29374 [BZ #15023]
29375 * include/complex.h: Condition contents on [!_COMPLEX_H].
29376 (__kernel_casinhf): New prototype.
29377 (__kernel_casinh): Likewise.
29378 (__kernel_casinhl): Likewise.
29379 * math/Makefile (libm_calls): Add k_casinh.
29380 * math/k_casinh.c: New file.
29381 * math/k_casinhf.c: Likewise.
29382 * math/k_casinhl.c: Likewise.
29383 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29384 finite nonzero arguments.
29385 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29386 finite nonzero arguments.
29387 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29388 finite nonzero arguments.
29389 * math/s_casinh.c: Do not include <float.h>.
29390 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29391 * math/s_casinhf.c: Do not include <float.h>.
29392 (__casinhf): Move code for finite nonzero arguments to
29393 k_casinhf.c.
29394 * math/s_casinhl.c: Do not include <float.h>.
29395 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29396 redefine.
29397 (__casinhl): Move code for finite nonzero arguments to
29398 k_casinhl.c.
29399 * math/libm-test.inc (cacos_test): Add more tests.
29400 * sysdeps/i386/fpu/libm-test-ulps: Update.
29401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29402
29403 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29404
29405 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29406 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29407 [!HAVE_MREMAP]: Remove [defined linux] case.
29408 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29409
29410 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29411
29412 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29413
29414 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29415
29416 * elf/elf.h (R_386_SIZE32): New relocation.
29417 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29418 R_386_SIZE32.
29419 (elf_machine_rela): Likewise.
29420 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29421 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29422
29423 2013-01-17 Joseph Myers <joseph@codesourcery.com>
29424
29425 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29426 (FP_FAST_FMA): Do not define.
29427 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29428 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29429 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29430 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29431 !_SOFT_FLOAT]: Likewise.
29432 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29433 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29434 value.
29435 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29436 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29437 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29438 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29439 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29440 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29441 file.
29442
29443 2013-01-16 Andreas Schwab <schwab@suse.de>
29444
29445 [BZ #14327]
29446 * include/stdlib.h (__mktemp): Add declaration.
29447 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29448 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29449
29450 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29451
29452 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29453 definitions.
29454 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29455 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29456 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29457 definitions here.
29458 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29459 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29460 definitions.
29461 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29462 and ONE.
29463 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29464 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29465 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29466 definitions.
29467 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29468 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29469 definitions.
29470 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29471
29472 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29473
29474 2013-01-15 David S. Miller <davem@davemloft.net>
29475
29476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29477 trunc{,f} to libm-sysdep_routes.
29478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29480 file.
29481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29483 file.
29484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29485 file.
29486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29488 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29489 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29490 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29491 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29492 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29493 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29494
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29496 nearbyint{,f} to libm-sysdep_routes.
29497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29499 New file.
29500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29501 file.
29502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29503 New file.
29504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29505 file.
29506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29508 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29509 file.
29510 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29511 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29512 file.
29513 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29514 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29515 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29516
29517 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29518 libc_feholdexcept and libc_fesetenv.
29519
29520 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29521
29522 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29523
29524 2013-01-14 David S. Miller <davem@davemloft.net>
29525
29526 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29527 (SPARC_ASM_VIS2_IFUNC): Likewise.
29528 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29530 use of 'siam' instruction.
29531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29532 Likewise.
29533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29534 Likewise.
29535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29536 Likewise.
29537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29542 file.
29543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29544 file.
29545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29546 file.
29547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29548 file.
29549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29554 new VIS2 routines.
29555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29558 Likewise.
29559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29564 routines to libm-sysdep_routines.
29565 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29566
29567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29568 fdim/fdimf to libm-sysdep_routines.
29569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29570 file.
29571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29573 file.
29574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29577 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29578 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29579 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29580 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29581
29582 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29583
29584 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29585 to optimize copies.
29586
29587 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29590
29591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29592 local variable MPTWO.
29593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29594 Likewise.
29595
29596 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29597
29598 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29599 GLOB_NOESCAPE.
29600
29601 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29602
29603 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29604
29605 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29606
29607 * manual/pattern.texi (glob_t): Document gl_flags.
29608 (glob64_t): Likewise.
29609
29610 2013-01-11 David S. Miller <davem@davemloft.net>
29611
29612 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29613 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29614 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29615 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29616 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29617 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29618 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29619 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29620 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29621 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29622 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29623 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29624 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29625
29626 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29627 sparc V9 rather than using V8 code.
29628 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29629 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29630
29631 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29632 Move to...
29633 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29634 Here.
29635
29636 2013-01-11 Roland McGrath <roland@hack.frob.com>
29637
29638 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29639 not in the main loop.
29640 * configure: Regenerated.
29641
29642 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29643
29644 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29645 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29646 to just #else.
29647 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29648 [!__GLIBC_HAVE_LONG_LONG] case.
29649 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29650 condition to just #else.
29651 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29652 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29653 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29654 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29655 unconditional.
29656 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29657 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29658 #elif condition to just #else.
29659 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29660 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29661 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29662 #elif condition to just #else.
29663
29664 2013-01-11 Steve Ellcey <sellcey@mips.com>
29665
29666 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29667 (EF_MIPS_ARCH_64): Fix value.
29668 (EF_MIPS_ARCH_32R2): New.
29669 (EF_MIPS_ARCH_64R2): New.
29670
29671 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29672
29673 * Makeconfig (+link-pie-before-libc): New.
29674 (+link-pie-after-libc): Likewise.
29675 (+link-pie-tests): Likewise.
29676 (+link-pie): Rewritten.
29677 (link-before-libc): Remove $(config-LDFLAGS).
29678 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29679 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29680 (config-LDFLAGS): Renamed to ...
29681 (rtld-LDFLAGS): This.
29682 (rtld-tests-LDFLAGS): New macro.
29683 (link-libc-rpath-link): Likewise.
29684 (link-libc-tests-rpath-link): Likewise.
29685 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29686 (link-libc): Prepand $(link-libc-rpath-link).
29687 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29688 (test-program-prefix): New macro.
29689 (test-via-rtld-prefix): Likewise.
29690 (test-program-cmd): Likewise.
29691 (host-test-program-cmd): Likewise.
29692 * Makefile ($(common-objpfx)testrun.sh): Replace
29693 $(run-program-prefix) with $(test-program-prefix).
29694 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29695 $(rtld-LDFLAGS).
29696 ($(common-objpfx)shlib.lds): Likewise.
29697 (build-module-helper): Likewise.
29698 ($(common-objpfx)format.lds): Likewise.
29699 * Rules (binaries-pie-tests): New.
29700 (binaries-pie-notests): Likewise.
29701 (binaries-pie): Rewritten.
29702 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29703 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29704 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29705 (make-test-out): Replace $(host-built-program-cmd) with
29706 $(host-test-program-cmd).
29707 * config.make.in (build-hardcoded-path-in-tests): New variable.
29708 * configure.in (--enable-hardcoded-path-in-tests): New configure
29709 option.
29710 (hardcoded_path_in_tests): New AC_SUBST.
29711 * configure: Regenerated.
29712 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29713 $(built-program-cmd) with $(test-program-cmd).
29714 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29715 (test_program_cmd): This.
29716 * elf/Makefile ($(objpfx)order.out): Run test with
29717 $(test-program-prefix).
29718 ($(objpfx)order2.out): Likewise.
29719 ($(objpfx)tst-initorder.out): Likewise.
29720 ($(objpfx)tst-initorder2.out): Likewise.
29721 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29722 $(test-program-cmd).
29723 ($(objpfx)tst-array1-static.out): Likewise.
29724 ($(objpfx)tst-array2.out): Likewise.
29725 ($(objpfx)tst-array3.out): Likewise.
29726 ($(objpfx)tst-array4.out): Likewise.
29727 ($(objpfx)tst-array5.out): Likewise.
29728 ($(objpfx)tst-array5-static.out): Likewise.
29729 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29730 $(test-program-cmd).
29731 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29732 $(run-program-prefix) with $(test-program-prefix).
29733 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29734 (test_program_prefix): This.
29735 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29736 $(run-program-prefix) with $(test-program-prefix).
29737 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29738 (test_program_prefix): This.
29739 * iconvdata/tst-tables.sh: Likewise.
29740 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29741 $(run-program-prefix) with $(test-program-prefix).
29742 ($(objpfx)tst-translit.out): Likewise.
29743 ($(objpfx)tst-gettext2.out): Likewise.
29744 ($(objpfx)tst-gettext4.out): Likewise.
29745 ($(objpfx)tst-gettext6.out): Likewise.
29746 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29747 (test_program_prefix): This.
29748 * intl/tst-gettext2.sh: Likewise.
29749 * intl/tst-gettext4.sh Likewise.
29750 * intl/tst-gettext6.sh: Likewise.
29751 * intl/tst-translit.sh: Likewise.
29752 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29753 with $(test-program-cmd).
29754 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29755 $(run-program-prefix) with $(test-program-prefix).
29756 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29757 (test_program_prefix): This.
29758 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29759 $(run-program-prefix) with $(test-program-prefix).
29760 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29761 (test_program_prefix): This.
29762 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29763 * posix/Makefile ($(objpfx)globtest.out): Replace
29764 $(run-via-rtld-prefix) and $(test-wrapper) with
29765 $(test-program-prefix) and $(test-via-rtld-prefix).
29766 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29767 $(test-program-prefix).
29768 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29769 $(host-test-program-cmd).
29770 (tst-spawn-ARGS): Likewise.
29771 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29772 $(test-program-prefix).
29773 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29774 (test_via_rtld_prefix): This.
29775 (test_wrapper): Renamed to ...
29776 (test_program_prefix): This.
29777 (run_program_prefix): Replaced by test_program_prefix.
29778 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29779 (test_program_prefix): This.
29780 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29781 with $(host-test-program-cmd).
29782 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29783 $(run-program-prefix) with $(test-program-prefix).
29784 ($(objpfx)tst-printf.out): Likewise.
29785 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29786 $(test-program-cmd).
29787 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29788 (test_program_prefix): This.
29789 * stdio-common/tst-unbputc.sh: Likewise.
29790 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29791 $(run-program-prefix) with $(test-program-prefix).
29792 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29793 (test_program_prefix): This.
29794 * string/Makefile ($(objpfx)tst-svc.out): Replace
29795 $(built-program-cmd) with $(test-program-cmd).
29796
29797 2013-01-11 Andreas Jaeger <aj@suse.de>
29798
29799 [BZ #15003]
29800 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29801 value. Sync with Linux 3.7.
29802
29803 2013-01-10 David S. Miller <davem@davemloft.net>
29804
29805 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29806 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29807 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29808
29809 2013-01-10 Roland McGrath <roland@hack.frob.com>
29810
29811 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29812 never set.
29813 * configure: Regenerated.
29814
29815 2013-01-10 David S. Miller <davem@davemloft.net>
29816
29817 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29818 sparc V9 rather than using V8 code.
29819 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29820 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29821
29822 2013-01-10 Roland McGrath <roland@hack.frob.com>
29823
29824 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29825 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29826 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29827 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29828 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29829 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29830 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29831 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29832 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29833 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29834 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29835 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29836 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29837 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29838 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29839 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29840 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29841 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29842 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29843 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29844 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29845 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29846 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29847 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29848 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29849 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29850 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29851
29852 2013-01-10 David S. Miller <davem@davemloft.net>
29853
29854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29855
29856 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29857
29858 * posix/Makefile (tests-static): New variable.
29859 (tests): Add $(tests-static).
29860 (tst-exec-static-ARGS): New variable.
29861 (tst-spawn-static-ARGS): Likewise.
29862 * posix/tst-exec-static.c: New file.
29863 * posix/tst-spawn-static.c: Likewise.
29864 * posix/tst-exec.c: Support run directly.
29865 * posix/tst-spawn.c: Likewise.
29866
29867 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29868
29869 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29870 long.
29871 * math/bits/mathcalls.h (llrint): Likewise.
29872 (llround): Likewise.
29873 * stdlib/stdlib.h (struct drand48_data): Likewise.
29874 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29875 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29876 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29877 Likewise.
29878 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29879 Likewise.
29880 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29881 (elf_greg_t): Likewise.
29882 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29883 (__jmp_buf): Likewise.
29884 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29885 definitions.
29886 (llrint): Likewise, for all definitions.
29887 (llrintl): Likewise.
29888
29889 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29890 Remove [__GNUC__] condition.
29891 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29892 condition to just [__USE_ISOC99].
29893 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29894
29895 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29896
29897 [BZ #14200]
29898 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29899 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29900 defined.
29901 (_POSIX_V6_ILP32_OFF32): Likewise.
29902 (_XBS5_ILP32_OFF32): Likewise.
29903 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29904 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29905
29906 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29907
29908 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29909
29910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29911 doubles __mpexp_twomm1. Adjust usage.
29912 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29913 Remove.
29914
29915 2013-01-10 Andreas Schwab <schwab@suse.de>
29916
29917 [BZ #14964]
29918 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29919 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29920
29921 2013-01-09 David S. Miller <davem@davemloft.net>
29922
29923 [BZ #15003]
29924 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29925 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29926 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29927 (TCP_FASTOPEN): Define.
29928 (tcp_repair_opt): New structure.
29929 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29930 enum values.
29931 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29932 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29933 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29934 (tcp_cookie_transactions): New structure.
29935
29936 2013-01-09 Anton Blanchard <anton@samba.org>
29937
29938 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29939 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29940 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29941 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29942
29943 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29944
29945 * include/features.h (__USE_ANSI): Remove.
29946
29947 2013-01-09 Roland McGrath <roland@hack.frob.com>
29948
29949 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29950
29951 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29952
29953 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29954
29955 * sysdeps/s390/fpu/libm-test-ulps: Update.
29956
29957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29958
29959 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29960 (__acr): Likewise.
29961 (__cpy): Likewise.
29962 (norm): Likewise.
29963 (denorm): Likewise.
29964 (__mp_dbl): Likewise.
29965 (__dbl_mp): Likewise.
29966 (add_magnitudes): Likewise.
29967 (sub_magnitudes): Likewise.
29968 (__add): Likewise.
29969 (__sub): Likewise.
29970 (__mul): Likewise.
29971 (__inv): Likewise.
29972 (__dvd): Likewise.
29973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29974 (__acr): Likewise.
29975 (__cpy): Likewise.
29976 (norm): Likewise.
29977 (denorm): Likewise.
29978 (__mp_dbl): Likewise.
29979 (__dbl_mp): Likewise.
29980 (add_magnitudes): Likewise.
29981 (sub_magnitudes): Likewise.
29982 (__add): Likewise.
29983 (__sub): Likewise.
29984 (__mul): Likewise.
29985 (__inv): Likewise.
29986 (__dvd): Likewise.
29987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29988 (__acr): Likewise.
29989 (__cpy): Likewise.
29990 (norm): Likewise.
29991 (denorm): Likewise.
29992 (__mp_dbl): Likewise.
29993 (__dbl_mp): Likewise.
29994 (add_magnitudes): Likewise.
29995 (sub_magnitudes): Likewise.
29996 (__add): Likewise.
29997 (__sub): Likewise.
29998 (__mul): Likewise.
29999 (__inv): Likewise.
30000 (__dvd): Likewise.
30001
30002 2013-01-08 Joseph Myers <joseph@codesourcery.com>
30003
30004 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30005 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30006 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30007 2 && __USE_EXTERN_INLINES]: Likewise.
30008
30009 2013-01-08 Andreas Jaeger <aj@suse.de>
30010
30011 [BZ# 14985]
30012 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30013 Remove.
30014 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30015 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30016
30017 2013-01-07 Anton Blanchard <anton@samba.org>
30018
30019 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30020 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30021 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30022 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30023 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30024 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30025 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30026 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30028 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30029 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30034 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30035 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30036 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30037 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30038 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30039 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30040 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30042 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30043 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30044 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30045 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30046 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30047 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30048 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30049 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30051 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30052 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30053 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30054 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30055 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30056 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30057 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30058 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30059 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30061 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30062
30063 2013-01-07 Joseph Myers <joseph@codesourcery.com>
30064
30065 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30066 (__MALLOC_PMT): Likewise.
30067 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30068 [__GNUC__], only on [_LIBC].
30069 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30070 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30071 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30072 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30073 forward declaration.
30074 (realloc_hook_ini): Likewise.
30075 (memalign_hook_ini): Likewise.
30076 (__libc_memalign): Do not use __MALLOC_PMT in variable
30077 declaration.
30078 (__libc_valloc): Likewise.
30079 (__libc_pvalloc): Likewise.
30080 (__libc_calloc): Likewise.
30081 (__posix_memalign): Likewise.
30082
30083 [BZ #14996]
30084 * math/s_casinh.c: Include <float.h>.
30085 (__casinh): Do not do computation with squaring and square root
30086 for large arguments.
30087 * math/s_casinhf.c: Include <float.h>.
30088 (__casinhf): Do not do computation with squaring and square root
30089 for large arguments.
30090 * math/s_casinhl.c: Include <float.h>.
30091 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30092 (__casinhl): Do not do computation with squaring and square root
30093 for large arguments.
30094 * math/libm-test.inc (casin_test): Add more tests.
30095 (casinh_test): Likewise.
30096 * sysdeps/i386/fpu/libm-test-ulps: Update.
30097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30098
30099 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30100
30101 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30102 (__x86_64_raw_data_cache_size): Likewise.
30103 (__x86_64_data_cache_size_half): Likewise.
30104 (__x86_64_raw_data_cache_size_half): Likewise.
30105 (__x86_64_shared_cache_size): Likewise.
30106 (__x86_64_raw_shared_cache_size): Likewise.
30107 (__x86_64_shared_cache_size_half): Likewise.
30108 (__x86_64_raw_shared_cache_size_half): Likewise.
30109 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30110 to ...
30111 (__x86_data_cache_size): This.
30112 (__x86_64_raw_data_cache_size): Renamed to ...
30113 (__x86_raw_data_cache_size): This.
30114 (__x86_64_data_cache_size_half): Renamed to ...
30115 (__x86_data_cache_size_half): This.
30116 (__x86_64_raw_data_cache_size_half): Renamed to ...
30117 (__x86_raw_data_cache_size_half): This.
30118 (__x86_64_shared_cache_size): Renamed to ...
30119 (__x86_shared_cache_size): This.
30120 (__x86_64_raw_shared_cache_size): Renamed to ...
30121 (__x86_raw_shared_cache_size): This.
30122 (__x86_64_shared_cache_size_half): Renamed to ...
30123 (__x86_shared_cache_size_half): This.
30124 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30125 (__x86_raw_shared_cache_size_half): This.
30126 * sysdeps/x86_64/memcpy.S: Updated.
30127 * sysdeps/x86_64/memset.S: Likewise.
30128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30130 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30131
30132 2013-01-04 David S. Miller <davem@davemloft.net>
30133
30134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30135
30136 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30137
30138 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30139 1 to avoid redefinition warning.
30140 (__USE_GNU): Don't define.
30141 (init_signaling_nan): Protoize.
30142
30143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30144
30145 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30146
30147 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30148 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30149 (__cpymn): Likewise.
30150 (norm): Remove commented code.
30151 (denorm): Likewise.
30152 (__mp_dbl): Likewise.
30153 (__inv): Likewise.
30154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30155 (__cpymn): Likewise.
30156 (norm): Remove commented code.
30157 (denorm): Likewise.
30158 (__mp_dbl): Likewise.
30159 (__inv): Likewise.
30160
30161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30162 mp_no value for 1.0 and 2.0.
30163 (norm): Use RADIXI instead of radixi.d.
30164 (denorm): Likewise.
30165 (__mul): Use 0.0 instead of zero.d.
30166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30167 mp_no value for 1.0 and 2.0.
30168 (norm): Use RADIXI instead of radixi.d.
30169 (denorm): Likewise.
30170 (__mul): Use 0.0 instead of zero.d.
30171
30172 2013-01-04 Joseph Myers <joseph@codesourcery.com>
30173
30174 [BZ #14994]
30175 * math/s_casinh.c (__casinh): Reduce finite argument to first
30176 quadrant then set signs of results at the end.
30177 * math/s_casinhf.c (__casinhf): Likewise.
30178 * math/s_casinhl.c (__casinhl): Likewise.
30179 * math/libm-test.inc (casin_test): Add more tests.
30180 (casinh_test): Likewise.
30181 * sysdeps/i386/fpu/libm-test-ulps: Update.
30182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30183
30184 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30185
30186 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30187
30188 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30189
30190 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30191 declarations.
30192 (denorm): Likewise.
30193 (__mp_dbl): Likewise.
30194 (__inv): Likewise.
30195
30196 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30197 and adjust the header comment.
30198
30199 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30200 variable name from declaration.
30201
30202 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30203
30204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30205 Initialize COMMON_CPUID_INDEX_7 element.
30206 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30207 (CPUID_RTM): Likewise.
30208 (HAS_RTM): Likewise.
30209 (COMMON_CPUID_INDEX_7): New enum.
30210
30211 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30212
30213 [BZ #14981]
30214 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30215 size is zero, record memory as freed.
30216
30217 2013-01-03 Andreas Jaeger <aj@suse.de>
30218
30219 * po/ia.po: Add new Interlingua translation.
30220
30221 2012-01-03 Allan McRae <allan@archlinux.org>
30222
30223 * locale/programs/localedef.c: Fix description of '--posix' flag.
30224
30225 2013-01-02 Joseph Myers <joseph@codesourcery.com>
30226
30227 * NEWS: Update dates in second copyright notice.
30228 * README: Update copyright dates in example.
30229 * manual/libc.texinfo: Update copyright dates.
30230 * scripts/test-installation.pl: Update copyright date in --version
30231 output.
30232
30233 * hurd/ctty-input.c: Fix copyright notice formatting.
30234 * hurd/ctty-output.c: Likewise.
30235 * hurd/dtable.c: Likewise.
30236 * hurd/hurd-raise.c: Likewise.
30237 * hurd/hurdprio.c: Likewise.
30238 * hurd/msgportdemux.c: Likewise.
30239 * misc/sys/file.h: Likewise.
30240 * misc/sys/ioctl.h: Likewise.
30241 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30242 * sysdeps/mach/hurd/chdir.c: Likewise.
30243 * sysdeps/mach/hurd/fchdir.c: Likewise.
30244 * sysdeps/mach/hurd/rename.c: Likewise.
30245 * sysdeps/mach/hurd/rmdir.c: Likewise.
30246 * sysdeps/mach/hurd/seekdir.c: Likewise.
30247 * sysdeps/mach/hurd/setsid.c: Likewise.
30248 * sysdeps/posix/wait3.c: Likewise.
30249
30250 * All files with FSF copyright notices: Update copyright dates
30251 using scripts/update-copyrights.
30252 * intl/plural.c: Regenerated.
30253 * locale/programs/charmap-kw.h: Likewise.
30254 * locale/programs/locfile-kw.h: Likewise.
30255
30256 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30257
30258 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30259 four values.
30260
30261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30262 calculation loop and add branch prediction.
30263
30264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30265 check access beyond bounds of m1np.
30266
30267 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30268 MPTWO.
30269 (__inv): Remove local variable MPTWO to use the global
30270 constant.
30271 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30272 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30273 variable MPTWO.
30274 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30275 MP3HALFS static const.
30276
30277 2013-01-01 David S. Miller <davem@davemloft.net>
30278
30279 * po/ca.po: Update from translation team.
30280
30281 2013-01-01 Joseph Myers <joseph@codesourcery.com>
30282
30283 * scripts/update-copyrights: New file.
30284 * Makeconfig: Reformat copyright notice.
30285 * ctype/ctype.h: Likewise.
30286 * debug/swprintf_chk.c: Likewise.
30287 * elf/dl-cache.c: Likewise.
30288 * elf/dl-debug.c: Likewise.
30289 * elf/dl-object.c: Likewise.
30290 * grp/initgroups.c: Likewise.
30291 * hurd/Makefile: Likewise.
30292 * hurd/hurd/signal.h: Likewise.
30293 * hurd/hurdfault.c: Likewise.
30294 * hurd/hurdioctl.c: Likewise.
30295 * hurd/hurdlookup.c: Likewise.
30296 * hurd/intr-msg.c: Likewise.
30297 * iconv/gconv_open.c: Likewise.
30298 * libio/swprintf.c: Likewise.
30299 * locale/lc-ctype.c: Likewise.
30300 * locale/nl_langinfo.c: Likewise.
30301 * mach/Machrules: Likewise.
30302 * mach/Makefile: Likewise.
30303 * malloc/obstack.h: Likewise.
30304 * manual/Makefile: Likewise.
30305 * manual/tsort.awk: Likewise.
30306 * misc/bits/stab.def: Likewise.
30307 * nis/nis_print_group_entry.c: Likewise.
30308 * nis/nis_table.c: Likewise.
30309 * nis/nss_compat/compat-pwd.c: Likewise.
30310 * nis/nss_compat/compat-spwd.c: Likewise.
30311 * po/Makefile: Likewise.
30312 * posix/fnmatch.c: Likewise.
30313 * posix/regex.h: Likewise.
30314 * resolv/Makefile: Likewise.
30315 * resolv/nss_dns/dns-network.c: Likewise.
30316 * resolv/res_hconf.c: Likewise.
30317 * scripts/gen-sorted.awk: Likewise.
30318 * soft-fp/soft-fp.h: Likewise.
30319 * stdio-common/printf.h: Likewise.
30320 * stdlib/monetary.h: Likewise.
30321 * stdlib/random.c: Likewise.
30322 * stdlib/random_r.c: Likewise.
30323 * sysdeps/generic/Makefile: Likewise.
30324 * sysdeps/gnu/Makefile: Likewise.
30325 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30338 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30340 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30343 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30345 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30353 * sysdeps/mach/hurd/errnos.awk: Likewise.
30354 * sysdeps/mach/hurd/fork.c: Likewise.
30355 * sysdeps/mach/hurd/getcwd.c: Likewise.
30356 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30357 * sysdeps/mach/hurd/mmap.c: Likewise.
30358 * sysdeps/mach/hurd/utimes.c: Likewise.
30359 * sysdeps/mach/hurd/xmknod.c: Likewise.
30360 * sysdeps/posix/profil.c: Likewise.
30361 * sysdeps/posix/readdir_r.c: Likewise.
30362 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30363 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30364 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30365 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30367 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30369 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30371 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30372 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30373 * sysdeps/pthread/lio_listio.c: Likewise.
30374 * sysdeps/sparc/dl-procinfo.h: Likewise.
30375 * sysdeps/unix/i386/sysdep.S: Likewise.
30376 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30377 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30378 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30379 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30381 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30382 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30383 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30384 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30385 * sysdeps/wordsize-32/divdi3.c: Likewise.
30386 * time/sys/time.h: Likewise.
30387 * wcsmbs/Makefile: Likewise.
30388
30389 2013-01-01 David S. Miller <davem@davemloft.net>
30390
30391 * po/fr.po: Update from translation team.
30392
30393 * catgets/gencat.c: Update copyright year.
30394 * csu/version.c: Likewise.
30395 * debug/catchsegv.sh: Likewise.
30396 * debug/pcprofiledump.c: Likewise.
30397 * debug/xtrace.sh: Likewise.
30398 * elf/ldconfig.c: Likewise.
30399 * elf/ldd.bash.in: Likewise.
30400 * elf/pldd.c: Likewise.
30401 * elf/sotruss.ksh: Likewise.
30402 * elf/sprof.c: Likewise.
30403 * iconv/iconv_prog.c: Likewise.
30404 * iconv/iconvconfig.c: Likewise.
30405 * locale/programs/locale.c: Likewise.
30406 * locale/programs/localedef.c: Likewise.
30407 * login/programs/pt_chown.c: Likewise.
30408 * malloc/memusage.sh: Likewise.
30409 * malloc/memusagestat.c: Likewise.
30410 * malloc/mtrace.pl: Likewise.
30411 * nscd/nscd.c: Likewise.
30412 * nss/getent.c: Likewise.
30413 * nss/makedb.c: Likewise.
30414 * posix/getconf.c: Likewise.
30415
30416 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30417
30418 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30419 numbers.
30420
30421 2012-12-30 Mike Frysinger <vapier@gentoo.org>
30422
30423 * math/bits/mathcalls.h (modf): Use __nonnull.
30424
30425 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30426
30427 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30428 (split): Use macro CN instead of the bare value.
30429 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30430 could be used.
30431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30432 instead of the bare value.
30433 (power1): Likewise.
30434
30435 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30436
30437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30438 __ATAN_TWOM.
30439 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30440
30441 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30442 their values.
30443 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30444 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30445 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30446 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30447
30448 2012-12-28 Andreas Jaeger <aj@suse.de>
30449
30450 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30451 values are from Linux 3.7.
30452
30453 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30454 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30455
30456 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30457
30458 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30459 TRUE case.
30460
30461 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30462 (norm): Likewise.
30463 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30464 variables with preprocessor constants.
30465 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30466 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30468
30469 2012-12-27 Bruno Haible <bruno@clisp.org>
30470
30471 [BZ #14317]
30472 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30473 only if needed.
30474
30475 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30476
30477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30478 and use variable directly.
30479 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30480
30481 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30482 MPONE.
30483 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30484 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30485 variable MPONE.
30486 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30488 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30489 include directive. Remove local variable MPONE.
30490 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30491 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30493
30494 2012-12-25 David S. Miller <davem@davemloft.net>
30495
30496 * version.h (RELEASE): Set to "development".
30497 (VERSION): Set to "2.17.90".
30498 * NEWS: Add 2.18 section.
30499
30500 2012-12-21 David S. Miller <davem@davemloft.net>
30501
30502 * po/hr.po: Update from translation team.
30503
30504 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30505
30506 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30507
30508 2012-12-19 Steve Ellcey <sellcey@mips.com>
30509
30510 * NEWS: Mention new memcpy for MIPS.
30511
30512 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30513
30514 * manual/contrib.texi (Contributors): Spelling correction.
30515
30516 2012-12-15 David S. Miller <davem@davemloft.net>
30517
30518 * po/ru.po: Update from translation team.
30519
30520 2012-12-13 David S. Miller <davem@davemloft.net>
30521
30522 * NEWS: Mention IFUNC testsuite enhancements.
30523
30524 * po/pl.po: Update from translation team.
30525 * po/bg.po: Likewise.
30526
30527 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30528 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30529
30530 2012-12-11 David S. Miller <davem@davemloft.net>
30531
30532 * po/sv.po: Update from translation team.
30533
30534 * po/vi.po: Update from translation team.
30535
30536 * po/cs.po: Update from translation team.
30537
30538 * po/de.po: Update from translation team.
30539 * po/eo.po: Likewise.
30540 * po/nl.po: Likewise.
30541
30542 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30543
30544 [BZ #14246]
30545 * manual/argp.texi (Argp Helper Functions): Move node to follow
30546 Argp Parsing State.
30547
30548 [BZ #14872]
30549 * manual/conf.texi (Limits on File System Capacity): Mention if
30550 terminating null is included in the max size.
30551
30552 2012-12-10 Andreas Jaeger <aj@suse.de>
30553
30554 * po/cs.po: Update from translation team.
30555
30556 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30557
30558 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30559 void pointer and cast to uintptr_t.
30560 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30561 path.
30562 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30563 * sysdeps/s390/s390-64/memset.S: Likewise.
30564
30565 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30566
30567 [BZ #14833]
30568 * menual/message.texi (Message Translation): Fix typos.
30569 (Helper programs for gettext): Likewise.
30570
30571 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30572
30573 [BZ #14898]
30574 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30575 Change to -1.
30576
30577 2012-12-07 David S. Miller <davem@davemloft.net>
30578
30579 * po/libc.pot: Update.
30580
30581 2012-12-07 Richard Henderson <rth@redhat.com>
30582
30583 [BZ #10114]
30584 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30585 normal/normal case to before the switch.
30586 (_FP_DIV): Likewise.
30587
30588 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30589 Mike Frysinger <vapier@gentoo.org>
30590
30591 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30592 check for __NR_fadvise64_64.
30593
30594 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30595
30596 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30597 0, not just to plain "0" as a statement.
30598 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30599 with cw.
30600
30601 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30602
30603 * NEWS: Use sourceware.org in Bugzilla URL.
30604
30605 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30606
30607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30608 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30609
30610 * stdio-common/tst-put-error.c (do_test): Add newline to the
30611 padded test to ensure flush.
30612
30613 2012-12-05 Jeff Law <law@redhat.com>
30614
30615 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30616
30617 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30618
30619 * README: Don't refer to ports add-on as distributed separately.
30620 Mention AArch64 in list of systems supported in the ports add-on.
30621
30622 * LICENSES: Add more non-FSF copyright and license notices.
30623
30624 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30625 ((unused)).
30626
30627 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30628
30629 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30630 10000 as width of padded output.
30631
30632 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30633
30634 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30635
30636 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30637 variable LX with __attribute__ ((unused)).
30638 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30639 Likewise.
30640 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30642 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30643 with __attribute__ ((unused)).
30644
30645 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30646
30647 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30648
30649 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30650
30651 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30652 (CFLAGS-nldbl-acos.c): New variable.
30653 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30654 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30655 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30656 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30657 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30658 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30659 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30660 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30661 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30662 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30663 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30664 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30665 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30666 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30667 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30668 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30669 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30670 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30671 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30672 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30673 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30674 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30675 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30676 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30677 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30678 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30679 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30680 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30681 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30682 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30683 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30684 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30685 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30686 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30687 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30688 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30689 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30690 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30691 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30692 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30693 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30694 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30695 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30696 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30697 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30698 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30699 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30700 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30701 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30702 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30703 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30704 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30705 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30706 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30707 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30708 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30709 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30710 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30711 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30712 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30713 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30714 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30715 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30716 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30717 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30718 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30719 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30720 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30721 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30722 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30723 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30724 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30725 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30726 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30727 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30728 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30729 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30730 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30731 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30732 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30733 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30734 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30735 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30736 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30737 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30738 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30739 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30740 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30741 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30742 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30743 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30744 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30745 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30746 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30747 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30748 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30749 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30750
30751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30752 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30753
30754 [BZ #14914]
30755 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30756 whole low double instead of just low 47 bits when splitting values
30757 into two parts.
30758
30759 2012-12-03 Allan McRae <allan@archlinux.org>
30760
30761 * manual/stdio.texi (Predefined Printf Handlers): Remove
30762 @hsep and @vsep usage.
30763
30764 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30765
30766 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30767 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30768
30769 2012-12-03 Jeff Law <law@redhat.com>
30770
30771 * time/sys/time.h (settimeofday): Do not mark TV argument
30772 as __nonnull.
30773
30774 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30775
30776 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30777 when currently writing and seek to current position when not.
30778 * libio/Makefile (tests): Remove bug-fclose1.
30779 * libio/bug-fclose1.c: Delete.
30780
30781 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30782
30783 * manual/arith.texi (feenableexcept): Fix typo.
30784 (fedisableexcept): Likewise.
30785
30786 2012-11-30 Roland McGrath <roland@hack.frob.com>
30787
30788 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30789 second, differently-typed declaration, rather than a cast.
30790
30791 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30792
30793 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30794 * include/rpc/svc.h: ... here.
30795
30796 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30797
30798 [BZ #13013]
30799 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30800 depending n and resplen2 to catch cases where answer
30801 equals answerp2.
30802
30803 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30804
30805 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30806 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30807
30808 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30809
30810 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30811
30812 2012-11-29 Roland McGrath <roland@hack.frob.com>
30813
30814 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30815
30816 2012-11-28 Jeff Law <law@redhat.com>
30817
30818 [BZ #13761]
30819 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30820 dataset_temporary. Track alloca usage into alloca_used.
30821 If dataset is large allocate and release it via malloc/free.
30822
30823 2012-06-04 Florian Weimer <fweimer@redhat.com>
30824
30825 [BZ #14197]
30826 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30827
30828 2012-11-28 David S. Miller <davem@davemloft.net>
30829
30830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30831
30832 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30833
30834 [BZ #14803]
30835 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30836 of pi/2 rounded to nearest to 64 bits.
30837 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30838 nearest to 64 bits.
30839 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30840 bits.
30841
30842 2012-11-28 Jeff Law <law@redhat.com>
30843 Martin Osvald <mosvald@redhat.com>
30844
30845 [BZ #14889]
30846 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30847 * sunrpc/svc.c: Include time.h.
30848 (__svc_accept_failed): New function.
30849 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30850 any reason other than EINTR, call __svc_accept_failed.
30851 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30852 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30853
30854 2012-11-28 Andreas Schwab <schwab@suse.de>
30855
30856 * scripts/abilist.awk: Also handle indirect functions in .opd
30857 section.
30858
30859 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30860
30861 [BZ #13881]
30862 * sysdeps/x86/fpu/powl_helper.c: New file.
30863 * sysdeps/x86/fpu/Makefile: Likewise.
30864 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30865 (p3): New object.
30866 (__ieee754_powl): Use __powl_helper for finite arguments except
30867 integer exponents below 8.
30868 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30869 (p3): New object.
30870 (__ieee754_powl): Use __powl_helper for finite arguments except
30871 integer exponents below 8.
30872 * math/libm-test.inc (pow_test): Add more tests and enable some
30873 previously disabled tests.
30874 * sysdeps/i386/fpu/libm-test-ulps: Update.
30875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30876
30877 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30878 Carlos O'Donell <carlos_odonell@mentor.com>
30879
30880 * nss/makedb.c (is_prime): Assert that input is odd and greater
30881 than 4. Note that fact in a comment too.
30882 (next_prime): Add 4 to input.
30883
30884 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30885
30886 [BZ #11741]
30887 * libio/Makefile (tests): Add test case tst-fwrite-error.
30888 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30889 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30890 * libio/tst-fwrite-error.c: New test case.
30891
30892 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30893
30894 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30895 before casting to void *.
30896 * include/libc-internal.h (__pointer_type): New macro.
30897 (__integer_if_pointer_type_sub): Likewise.
30898 (__integer_if_pointer_type): Likewise.
30899 (cast_to_integer): Likewise.
30900 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30901 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30902 before casting to atomic64_t.
30903 (atomic_exchange_acq): Likewise.
30904 (__arch_exchange_and_add_body): Likewise.
30905 (__arch_add_body): Likewise.
30906 (atomic_add_negative): Likewise.
30907 (atomic_add_zero): Likewise.
30908
30909 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30910
30911 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30912 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30913 (add_fdes): Likewise.
30914 (linear_search_fdes): Likewise.
30915 (binary_search_unencoded_fdes): Likewise.
30916
30917 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30918
30919 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30920
30921 2012-11-24 Adam Conrad <adconrad@0c3.net>
30922
30923 * configure.in: Autodetect C++ header directories.
30924 * configure: Regenerated.
30925
30926 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30927
30928 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30929
30930 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30931
30932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30933
30934 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30935
30936 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30937 LDBL_MANT_DIG == 106]: Disable some tests.
30938 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30939 Likewise.
30940 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30941 Likewise.
30942
30943 [BZ #14871]
30944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30945 input for small inputs. Return +/- pi/2 for large inputs.
30946 * math/libm-test.inc (atan_test): Add more tests.
30947
30948 * sysdeps/generic/unwind-dw2-fde-glibc.c
30949 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30950 __attribute__ ((unused)).
30951
30952 [BZ #14645]
30953 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30954 x * y if x and y are nonzero and z is zero.
30955
30956 [BZ #14811]
30957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30958 nonzero exponents with absolute value below 0x1p-117 to +/-
30959 0x1p-117.
30960
30961 [BZ #14869]
30962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30963 up arguments below 2**-450, not just those below 2**-500.
30964 * math/libm-test.inc (hypot_test): Add another test.
30965
30966 [BZ #14868]
30967 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30968 Return a+b for ratio over 2**120, not 2**60.
30969 * math/libm-test.inc (hypot_test): Add another test.
30970
30971 * math/libm-test.inc (clog_test): Use
30972 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30973 (clog10_test): Likewise.
30974
30975 [BZ #6778]
30976 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30977
30978 2012-11-22 Andreas Schwab <schwab@suse.de>
30979
30980 * sysdeps/i386/fpu/libm-test-ulps: Update.
30981
30982 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30983
30984 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30985 printf output with newline.
30986
30987 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30988
30989 [BZ #14865]
30990 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30991 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30992 -z nodlopen, -z initfirst and -z execstack support.
30993 * configure: Regenerated.
30994
30995 * elf/elf.h (DF_1_NODIRECT): New macro.
30996 (DF_1_IGNMULDEF): Likewise.
30997 (DF_1_NOKSYMS): Likewise.
30998 (DF_1_NOHDR): Likewise.
30999 (DF_1_EDITED): Likewise.
31000 (DF_1_NORELOC): Likewise.
31001 (DF_1_SYMINTPOSE): Likewise.
31002 (DF_1_GLOBAUDIT): Likewise.
31003 (DF_1_SINGLETON): Likewise.
31004 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31005 DT_1_SUPPORTED_MASK bits.
31006 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31007
31008 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31009
31010 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31011
31012 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31013
31014 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31015 macro.
31016
31017 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31018 (sendmmsg): Move declarations...
31019 * socket/sys/socket.h: ... here.
31020 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31021 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31022 include it from...
31023 * socket/recvmmsg.c: ... this new file.
31024 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31025 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31026 definition of __sendmmsg hidden.
31027 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31028 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31029 Move ENOSYS stub into and include it from...
31030 * socket/sendmmsg.c: ... this new file.
31031 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31032 (sysdep_routines): Move recvmmsg and sendmmsg...
31033 * socket/Makefile (routines): ... here.
31034 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31035 (GLIBC_PRIVATE): Add __sendmmsg.
31036 * include/sys/socket.h (__sendmmsg): Add declarations.
31037 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31038 sendmmsg.
31039
31040 2012-11-20 Joseph Myers <joseph@codesourcery.com>
31041
31042 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31043 variable I1 with __attribute__ ((unused)).
31044 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31045
31046 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31047
31048 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31049 DUMMY variables with __attribute__ ((unused)).
31050
31051 * bits/byteswap.h: Include <bits/types.h>.
31052 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31053
31054 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31055
31056 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31057 string_t. Do not manually set errno.
31058 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31059 length with __strnlen. Make sure to both set errno and return it on
31060 failure.
31061
31062 2012-11-19 David S. Miller <davem@davemloft.net>
31063
31064 With help from Joseph Myers.
31065 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31066 very large arguments properly.
31067 * math/libm-test.inc (atan_test): New tests.
31068 (atan2_test): New tests.
31069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31071
31072 2012-11-19 Joseph Myers <joseph@codesourcery.com>
31073
31074 [BZ #14856]
31075 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31076 Define to 3.
31077
31078 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31079 [POSIX] (EADDRNOTAVAIL): Likewise.
31080 [POSIX] (EAFNOSUPPORT): Likewise.
31081 [POSIX] (EALREADY): Likewise.
31082 [POSIX] (ECONNABORTED): Likewise.
31083 [POSIX] (ECONNREFUSED): Likewise.
31084 [POSIX] (ECONNRESET): Likewise.
31085 [POSIX] (EDESTADDRREQ): Likewise.
31086 [POSIX] (EDQUOT): Likewise.
31087 [POSIX] (EHOSTUNREACH): Likewise.
31088 [POSIX] (EIDRM): Likewise.
31089 [POSIX] (EISCONN): Likewise.
31090 [POSIX] (ELOOP): Likewise.
31091 [POSIX] (EMULTIHOP): Likewise.
31092 [POSIX] (ENETDOWN): Likewise.
31093 [POSIX] (ENETUNREACH): Likewise.
31094 [POSIX] (ENOBUFS): Likewise.
31095 [POSIX] (ENODATA): Likewise.
31096 [POSIX] (ENOLINK): Likewise.
31097 [POSIX] (ENOMSG): Likewise.
31098 [POSIX] (ENOPROTOOPT): Likewise.
31099 [POSIX] (ENOSR): Likewise.
31100 [POSIX] (ENOSTR): Likewise.
31101 [POSIX] (ENOTCONN): Likewise.
31102 [POSIX] (ENOTSOCK): Likewise.
31103 [POSIX] (EOPNOTSUPP): Likewise.
31104 [POSIX] (EOVERFLOW): Likewise.
31105 [POSIX] (EPROTO): Likewise.
31106 [POSIX] (EPROTONOSUPPORT): Likewise.
31107 [POSIX] (EPROTOTYPE): Likewise.
31108 [POSIX] (ESTALE): Likewise.
31109 [POSIX] (ETIME): Likewise.
31110 [POSIX] (ETXTBSY): Likewise.
31111 [POSIX] (EWOULDBLOCK): Likewise.
31112 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31113 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31114 [POSIX] (SEEK_CUR): Likewise.
31115 [POSIX] (SEEK_END): Likewise.
31116 [POSIX || UNIX98] (mode_t): Do not require.
31117 [POSIX] (off_t): Likewise.
31118 [POSIX] (pid_t): Likewise.
31119 [POSIX] (sys/stat.h): Do not allow header.
31120 [POSIX] (unistd.h): Likewise.
31121 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31122 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31123 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31124 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31125 require.
31126 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31127 sigevent): Specify elements.
31128 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31129 entry.
31130 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31131 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31132
31133 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31134 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31135 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31136 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31137 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31138 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31139 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31140 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31141 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31142 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31143 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31144 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31145 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31146 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31147 Likewise.
31148 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31149 Likewise.
31150 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31151 Likewise.
31152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31153 Likewise.
31154 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31155 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31156 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31157 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31158 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31159 Specify lower bound on value.
31160 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31161 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31162 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31163 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31164 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31165 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31166 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31167 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31168 value.
31169 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31170 as optional.
31171 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31172 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31173 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31174 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31175 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31176 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31177 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31178 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31179 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31180 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31181 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31182 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31183 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31184 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31185 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31186 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31187 entry.
31188 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31189 optional.
31190 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31191 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31192 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31193 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31194 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31195 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31196 Likewise.
31197 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31198 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31199 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31200 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31201 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31202 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31203 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31204 as optional.
31205 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31206 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31207 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31208 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31209 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31210 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31211 specify as optional.
31212 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31213 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31214 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31215 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31216 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31217 [XPG3] (NL_LANGMAX): Likewise.
31218 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31219 [POSIX || XPG3] (NL_NMAX): Likewise.
31220 [POSIX || XPG3] (NL_SETMAX): Likewise.
31221 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31222 [XPG3] (NZERO): Likewise.
31223 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31224 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31225 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31226 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31227 (REG_ERANGE): Expect.
31228 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31229 optional-constant.
31230 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31231 Use (void) in prototype.
31232 [POSIX] (*_t): Allow.
31233 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31234 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31235 (WRDE_BADVAL): Expect.
31236
31237 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31238 expect.
31239 [XPG3 || XPG4] (O_RSYNC): Likewise.
31240 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31241 Likewise.
31242 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31243 [XPG3 || XPG4] (sigqueue): Likewise.
31244 [XPG3 || XPG4] (sigtimedwait): Likewise.
31245 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31246 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31247 [XPG3 || XPG4] (vsnprintf): Likewise.
31248 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31249 Likewise.
31250 [XPG3 || XPG4] (blksize_t): Likewise.
31251 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31252 Likewise.
31253 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31254 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31255 [XPG3 || XPG4] (struct itimerspec): Likewise.
31256 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31257 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31258 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31259 [XPG3 || XPG4] (clockid_t): Likewise.
31260 [XPG3 || XPG4] (timer_t): Likewise.
31261 [XPG3 || XPG4] (clock_getres): Likewise.
31262 [XPG3 || XPG4] (clock_gettime): Likewise.
31263 [XPG3 || XPG4] (clock_settime): Likewise.
31264 [XPG3 || XPG4] (nanosleep): Likewise.
31265 [XPG3 || XPG4] (timer_create): Likewise.
31266 [XPG3 || XPG4] (timer_delete): Likewise.
31267 [XPG3 || XPG4] (timer_gettime): Likewise.
31268 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31269 [XPG3 || XPG4] (timer_settime): Likewise.
31270 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31271 [XPG3 || XPG4] (getlogin_r): Likewise.
31272 [XPG3 || XPG4] (pread): Likewise.
31273 [XPG3 || XPG4] (pthread_atfork): Likewise.
31274 [XPG3 || XPG4] (pwrite): Likewise.
31275
31276 [BZ #14835]
31277 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31278 <bits/siginfo.h>.
31279
31280 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31281
31282 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31283 finalizing MALLSTREAM.
31284
31285 * sysdeps/mach/hurd/syncfs.c: New file.
31286
31287 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31288
31289 [BZ #14719]
31290 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31291 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31292 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31293 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31294 (_nss_dns_gethostbyname4_r): Likewise.
31295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31296 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31297
31298 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31299
31300 [BZ #13763]
31301 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31302
31303 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31304
31305 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31306 * elf/cache.c (print_entry): Print ",AArch64" for
31307 FLAG_AARCH64_LIB64
31308
31309 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31310 * elf/cache.c (print_entry): Print ",hard-float" for
31311 FLAG_ARM_LIBHF.
31312
31313 2012-11-18 David S. Miller <davem@davemloft.net>
31314
31315 With help from Joseph Myers.
31316 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31317 cutoff to 2**-13.
31318 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31319 cutoff to 2**-25.
31320 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31321 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31322 small.
31323 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31324 * math/libm-test.inc (y0_test): New tests.
31325 (y1_test): New tests.
31326 * sysdeps/i386/fpu/libm-test-ulps: Update.
31327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31329
31330 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31331
31332 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31333 64-bit targets.
31334 * configure: Regenerated.
31335
31336 2012-11-17 David S. Miller <davem@davemloft.net>
31337
31338 [BZ #14811]
31339 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31340 nonzero exponents with absolute value below 0x1p-128 to +/-
31341 0x1p-128.
31342
31343 2012-11-17 Joseph Myers <joseph@codesourcery.com>
31344
31345 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31346
31347 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31348
31349 * posix/getconf-speclist.c: New file.
31350 * posix/posix-envs.def: Likewise.
31351 * posix/confstr.c (START_ENV_GROUP): New macro.
31352 (END_ENV_GROUP): Likewise.
31353 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31354 (KNOWN_PRESENT_ENV_STRING): Likewise.
31355 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31356 (UNKNOWN_ENVIRONMENT): Likewise.
31357 (confstr): Include posix-envs.def instead of handling
31358 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31359 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31360 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31361 (END_ENV_GROUP): Likewise.
31362 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31363 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31364 (UNKNOWN_ENVIRONMENT): Likewise.
31365 (__sysconf): Include posix-envs.def instead of handling associated
31366 cases directly here.
31367 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31368 preprocessing getconf-speclist.c rather than running getconf or
31369 generating empty file.
31370
31371 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31372
31373 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31374
31375 2012-11-16 Andrej Lajovic <natrij@gmail.com>
31376
31377 [BZ #14672]
31378 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31379
31380 2012-11-16 David S. Miller <davem@davemloft.net>
31381
31382 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31383 smaller than LDBL_EPSILON/2.0L, just return xm1.
31384
31385 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31386
31387 * elf/tst-array1.c (init): Set constructor priority to 1000.
31388 (fini): Set destructor priority to 1000.
31389 * elf/tst-array2dep.c: Likewise.
31390
31391 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31392
31393 [BZ #11741]
31394 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31395 (_IO_new_file_xsputn): Also return EOF if none of the input
31396 data was written when overflow failed.
31397 * libio/iopadn.c (_IO_padn): Likewise.
31398 * libio/iowpadn.c (_IO_wpadn): Likewise.
31399 * stdio-common/tst-put-error.c: Add copyright notice.
31400 (do_test): Add case for printing padded string.
31401 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31402 _IO_padn returned error.
31403 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31404 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31405 return EOF.
31406
31407 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31408
31409 * libio/libioP.h: Add comment note that the references to C++
31410 bits are now obsolete.
31411
31412 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31413
31414 * math/libm-test.inc (check_complex): Use asprintf.
31415
31416 2012-11-14 Joseph Myers <joseph@codesourcery.com>
31417
31418 * debug/pcprofiledump.c (print_version): Update copyright year.
31419 * malloc/memusagestat.c (print_version): Likewise.
31420
31421 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31422
31423 [BZ #14831]
31424 * elf/Makefile (tests): Add tst-audit8.
31425 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31426 ($(objpfx)tst-audit8.out): New target.
31427 (tst-audit8-ENV): New variable.
31428 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31429 audit if l_reloc_result is NULL.
31430 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31431 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31432 * elf/tst-audit8.c: New file.
31433
31434 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31435
31436 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31437 * misc/Makefile (CFLAGS-select.c): Define.
31438 * posix/Makefile (CFLAGS-pause.c): Define.
31439
31440 2012-11-13 David S. Miller <davem@davemloft.net>
31441
31442 * crypt/Makefile: Move test targets after toplevel Rules
31443 inclusion. Grab any necessary sysdep routines when linking.
31444 * crypt/md5.c (md5_process_block): Remove define, we will always
31445 name it __md5_process_block.
31446 (md5_finish_ctx): Update md5_process_block call.
31447 (md5_stream): Likewise.
31448 (md5_process_bytes): Likewise.
31449 (md5_process_block): Rename to __md5_process_block and move to ...
31450 * crypt/md5-block.c: ... here.
31451 * crypt/sha256.c (sha256_process_block): Move to ...
31452 * crypt/sha256-block.c: ... here.
31453 * crypt/sha512.c (sha512_process_block): Move to ...
31454 * crypt/sha512-block.c: ... here.
31455 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31456 path.
31457 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31458 * sysdeps/sparc/sparc64/multiarch/Makefile
31459 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31460 crypt subdir.
31461 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31462 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31463 multiarch changes.
31464 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31465 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31466 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31467 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31468 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31469 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31470 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31471 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31472 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31473 file.
31474 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31475 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31476 file.
31477 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31478
31479 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31480
31481 * timezone/tzselect.ksh: Update from tzcode git revision
31482 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31483 * timezone/zdump.c: Likewise.
31484 * timezone/zic.c: Likewise.
31485 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31486 in TZVERSION setting, not $(PKGVERSION).
31487 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31488 REPORT_BUGS_TO settings.
31489
31490 [BZ #14838]
31491 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31492 macro.
31493
31494 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31495
31496 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31497 detection to immediately after _FP_ROUND().
31498 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31499 bits are 0.
31500
31501 2012-11-11 David S. Miller <davem@davemloft.net>
31502
31503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31504 inttypes.h
31505 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31506 __close rather than their public counterparts.
31507
31508 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31509
31510 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31511 file.
31512 [UNIX98] (sem_timedwait): Do not expect.
31513 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31514 [XPG4 || UNIX98] (sockatmark): Do not expect.
31515 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31516 (clock_getcpuclockid): Do not expect.
31517 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31518 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31519 Do not expect.
31520 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31521 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31522 [UNIX98] (vwscanf): Likewise.
31523 [UNIX98] (vswscanf): Likewise.
31524
31525 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31526
31527 * timezone/version.h: Remove file.
31528 * timezone/README: Do not refer to version.h.
31529 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31530 $(objpfx)version.h.
31531 ($(objpfx)zdump.o): Likewise.
31532 ($(objpfx)version.h): New target.
31533
31534 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31535 2012i.
31536 * timezone/README: Don't mention modification to tzselect.ksh.
31537 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31538 work on unmodified tzselect.ksh. Substitute version numbers in
31539 tzselect.ksh.
31540
31541 * Makefile (format-me): Remove.
31542 (INSTALL): Adjust indentation. Use commands directly instead of
31543 using $(format-me).
31544
31545 * aclocal.m4 (ACX_PKGVERSION): New macro.
31546 (ACX_BUGURL): Likewise.
31547 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31548 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31549 (REPORT_BUGS_TO): Likewise.
31550 * configure: Regenerated.
31551 * config.h.in (PKGVERSION): New macro.
31552 (REPORT_BUGS_TO): Likewise.
31553 * config.make.in (PKGVERSION): New variable.
31554 (PKGVERSION_TEXI): Likewise.
31555 (REPORT_BUGS_TO): Likewise.
31556 (REPORT_BUGS_TEXI): Likewise.
31557 * Makefile (format-me): Use -I$(common-objpfx)manual.
31558 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31559 ($(common-objpfx)manual/%): New target.
31560 (manual/%): Remove target.
31561 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31562 (print_version): Use PKGVERSION.
31563 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31564 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31565 and REPORT_BUGS_TO.
31566 ($(objpfx)xtrace): Likewise.
31567 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31568 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31569 (print_version): Use PKGVERSION.
31570 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31571 (do_version): Use PKGVERSION.
31572 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31573 REPORT_BUGS_TO.
31574 (common-ldd-rewrite): Likewise.
31575 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31576 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31577 (print_version): Use PKGVERSION.
31578 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31579 * elf/pldd.c (argp_program_bug_address): Remove variable.
31580 (more_help): New function.
31581 (argp): Use more_help.
31582 (print_version): Use PKGVERSION.
31583 * elf/sln.c (main): Use PKGVERSION.
31584 (usage): Use REPORT_BUGS_TO.
31585 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31586 (top level): Use PKGVERSION.
31587 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31588 (print_version): Use PKGVERSION.
31589 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31590 (print_version): Use PKGVERSION.
31591 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31592 (print_version): Use PKGVERSION.
31593 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31594 (print_version): Use PKGVERSION.
31595 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31596 (print_version): Use PKGVERSION.
31597 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31598 (print_version): Use PKGVERSION.
31599 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31600 and BUGURL.
31601 ($(objpfx)memusage): Likewise.
31602 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31603 (do_version): Use PKGVERSION.
31604 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31605 (print_version): Use PKGVERSION.
31606 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31607 ($PKGVERSION): New variable.
31608 ($REPORT_BUGS_TO): Likewise.
31609 (usage): Use $REPORT_BUGS_TO.
31610 (top level): Use $PKGVERSION.
31611 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31612 ($(objpfx)pkgvers.texi): New rule.
31613 ($(objpfx)stamp-pkgvers): Likewise.
31614 * manual/install.texi: Include pkgvers.texi.
31615 (--with-pkgversion): Document new configure option.
31616 (--with-bugurl): Likewise.
31617 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31618 than necessarily for this particular distribution. Use
31619 REPORT_BUGS_TO for where to report bugs.
31620 * INSTALL: Regenerated.
31621 * manual/libc.texinfo: Include pkgvers.texi.
31622 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31623 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31624 (print_version): Use PKGVERSION.
31625 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31626 (print_version): Use PKGVERSION.
31627 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31628 (print_version): Use PKGVERSION.
31629 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31630 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31631 macro.
31632 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31633 (print_version): Use PKGVERSION.
31634 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31635 (print_version): Use PKGVERSION.
31636 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31637 and PKGVERSION.
31638
31639 * timezone/checktab.awk: Update from tzcode 2012i.
31640 * timezone/ialloc.c: Likewise.
31641 * timezone/private.h: Likewise.
31642 * timezone/scheck.c: Likewise.
31643 * timezone/tzfile.h: Likewise.
31644 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31645 (TZVERSION): Hardcode tzcode version number.
31646 * timezone/zdump.c: Update from tzcode 2012i.
31647 * timezone/zic.c: Likewise.
31648 * timezone/version.h: New file.
31649 * timezone/README: Describe version.h. Update upstream location.
31650
31651 [BZ #14824]
31652 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31653 (mktemp): Enable declaration.
31654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31655 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31657 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31658 Likewise.
31659 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31660 Likewise.
31661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31662 Likewise.
31663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31664 Likewise.
31665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31666 Likewise.
31667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31668 Likewise.
31669
31670 [BZ #14821]
31671 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31672 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31673 for copies of such integer values.
31674 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31675 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31676
31677 2012-11-09 Andreas Jaeger <aj@suse.de>
31678
31679 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31680 definitions and declarations that are provided by
31681 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31682
31683 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31684
31685 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31686 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31687 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31688 definition.
31689
31690 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31691
31692 * elf/elf.h: Update comment before AArch64 relocations.
31693
31694 2012-11-07 David S. Miller <davem@davemloft.net>
31695
31696 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31697 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31698 (__start_context): Declare.
31699 (__makecontext_ret): Delete.
31700 (__makecontext): Hook up __start_context instead of
31701 __makecontext_ret.
31702 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31703 (sysdep_routines): Add __start_context when in stdlib.
31704
31705 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31706
31707 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31708 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31709 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31710 hardcoded "nm".
31711 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31712 (READELF): New variable. Use it instead of hardcoded "readelf".
31713
31714 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31715
31716 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31717 * sysdeps/x86/Makefile: Here.
31718 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31719 * sysdeps/x86/tst-xmmymm.sh: This.
31720
31721 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31722
31723 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31724 expectations.
31725 [UNIX98] (pthread_barrier_t): Do not expect.
31726 [UNIX98] (pthread_barrierattr_t): Likewise.
31727 [UNIX98] (pthread_spinlock_t): Likewise.
31728 [UNIX98] (pthread_barrier_destroy): Likewise.
31729 [UNIX98] (pthread_barrier_init): Likewise.
31730 [UNIX98] (pthread_barrier_wait): Likewise.
31731 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31732 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31733 [UNIX98] (pthread_barrierattr_init): Likewise.
31734 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31735 [UNIX98] (pthread_getcpuclockid): Likewise.
31736 [UNIX98] (pthread_mutex_timedlock): Likewise.
31737 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31738 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31739 [UNIX98] (pthread_sigmask): Likewise.
31740 [UNIX98] (pthread_spin_destroy): Likewise.
31741 [UNIX98] (pthread_spin_init): Likewise.
31742 [UNIX98] (pthread_spin_lock): Likewise.
31743 [UNIX98] (pthread_spin_trylock): Likewise.
31744 [UNIX98] (pthread_spin_unlock): Likewise.
31745 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31746 Do not expect.
31747 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31748 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31749 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31750 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31751 [XPG3 || XPG4] (pthread_key_t): Likewise.
31752 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31753 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31754 [XPG3 || XPG4] (pthread_once_t): Likewise.
31755 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31756 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31757 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31758 [XPG3 || XPG4] (pthread_t): Likewise.
31759
31760 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31761 not expect.
31762 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31763
31764 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31765 Change function return type to int.
31766
31767 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31768 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31769 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31770 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31771 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31772 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31773 [!POSIX] (posix_madvise): Likewise.
31774 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31775 && !UNIX98].
31776 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31777 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31778 (mode_t): Likewise.
31779 (posix_mem_offset): Likewise.
31780 (posix_typed_mem_get_info): Likewise.
31781 (posix_typed_mem_open): Likewise.
31782
31783 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31784 Change condition to [XOPEN2K8].
31785
31786 * conform/conformtest.pl: Preprocess allow-header data with -x c
31787 instead of from stdin.
31788 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31789 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31790 [C99-based standards] (cerfc): Likewise.
31791 [C99-based standards] (cexp2): Likewise.
31792 [C99-based standards] (cexpm1): Likewise.
31793 [C99-based standards] (clog10): Likewise.
31794 [C99-based standards] (clog1p): Likewise.
31795 [C99-based standards] (clog2): Likewise.
31796 [C99-based standards] (clgamma): Likewise.
31797 [C99-based standards] (ctgamma): Likewise.
31798 [C99-based standards] (cerff): Likewise.
31799 [C99-based standards] (cerfcf): Likewise.
31800 [C99-based standards] (cexp2f): Likewise.
31801 [C99-based standards] (cexpm1f): Likewise.
31802 [C99-based standards] (clog10f): Likewise.
31803 [C99-based standards] (clog1pf): Likewise.
31804 [C99-based standards] (clog2f): Likewise.
31805 [C99-based standards] (clgammaf): Likewise.
31806 [C99-based standards] (ctgammaf): Likewise.
31807 [C99-based standards] (cerfl): Likewise.
31808 [C99-based standards] (cerfcl): Likewise.
31809 [C99-based standards] (cexp2l): Likewise.
31810 [C99-based standards] (cexpm1l): Likewise.
31811 [C99-based standards] (clog10l): Likewise.
31812 [C99-based standards] (clog1pl): Likewise.
31813 [C99-based standards] (clog2l): Likewise.
31814 [C99-based standards] (clgammal): Likewise.
31815 [C99-based standards] (ctgammal): Likewise.
31816 * conform/data/inttypes.h-data [C99-based standards]: Include
31817 stdint.h-data. Remove all expectations for stdint.h contents.
31818 [C99-based standards] (PRI*): Do not allow.
31819 [C99-based standards] (SCN*): Likewise.
31820 [C99-based standards] (*_t): Likewise.
31821 [C99-based-standards] (PRId8): Expect macro.
31822 [C99-based-standards] (PRIi8): Likewise.
31823 [C99-based-standards] (PRIo8): Likewise.
31824 [C99-based-standards] (PRIu8): Likewise.
31825 [C99-based-standards] (PRIx8): Likewise.
31826 [C99-based-standards] (PRIX8): Likewise.
31827 [C99-based-standards] (SCNd8): Likewise.
31828 [C99-based-standards] (SCNi8): Likewise.
31829 [C99-based-standards] (SCNo8): Likewise.
31830 [C99-based-standards] (SCNu8): Likewise.
31831 [C99-based-standards] (SCNx8): Likewise.
31832 [C99-based-standards] (PRIdLEAST8): Likewise.
31833 [C99-based-standards] (PRIiLEAST8): Likewise.
31834 [C99-based-standards] (PRIoLEAST8): Likewise.
31835 [C99-based-standards] (PRIuLEAST8): Likewise.
31836 [C99-based-standards] (PRIxLEAST8): Likewise.
31837 [C99-based-standards] (PRIXLEAST8): Likewise.
31838 [C99-based-standards] (SCNdLEAST8): Likewise.
31839 [C99-based-standards] (SCNiLEAST8): Likewise.
31840 [C99-based-standards] (SCNoLEAST8): Likewise.
31841 [C99-based-standards] (SCNuLEAST8): Likewise.
31842 [C99-based-standards] (SCNxLEAST8): Likewise.
31843 [C99-based-standards] (PRIdFAST8): Likewise.
31844 [C99-based-standards] (PRIiFAST8): Likewise.
31845 [C99-based-standards] (PRIoFAST8): Likewise.
31846 [C99-based-standards] (PRIuFAST8): Likewise.
31847 [C99-based-standards] (PRIxFAST8): Likewise.
31848 [C99-based-standards] (PRIXFAST8): Likewise.
31849 [C99-based-standards] (SCNdFAST8): Likewise.
31850 [C99-based-standards] (SCNiFAST8): Likewise.
31851 [C99-based-standards] (SCNoFAST8): Likewise.
31852 [C99-based-standards] (SCNuFAST8): Likewise.
31853 [C99-based-standards] (SCNxFAST8): Likewise.
31854 [C99-based-standards] (PRId16): Likewise.
31855 [C99-based-standards] (PRIi16): Likewise.
31856 [C99-based-standards] (PRIo16): Likewise.
31857 [C99-based-standards] (PRIu16): Likewise.
31858 [C99-based-standards] (PRIx16): Likewise.
31859 [C99-based-standards] (PRIX16): Likewise.
31860 [C99-based-standards] (SCNd16): Likewise.
31861 [C99-based-standards] (SCNi16): Likewise.
31862 [C99-based-standards] (SCNo16): Likewise.
31863 [C99-based-standards] (SCNu16): Likewise.
31864 [C99-based-standards] (SCNx16): Likewise.
31865 [C99-based-standards] (PRIdLEAST16): Likewise.
31866 [C99-based-standards] (PRIiLEAST16): Likewise.
31867 [C99-based-standards] (PRIoLEAST16): Likewise.
31868 [C99-based-standards] (PRIuLEAST16): Likewise.
31869 [C99-based-standards] (PRIxLEAST16): Likewise.
31870 [C99-based-standards] (PRIXLEAST16): Likewise.
31871 [C99-based-standards] (SCNdLEAST16): Likewise.
31872 [C99-based-standards] (SCNiLEAST16): Likewise.
31873 [C99-based-standards] (SCNoLEAST16): Likewise.
31874 [C99-based-standards] (SCNuLEAST16): Likewise.
31875 [C99-based-standards] (SCNxLEAST16): Likewise.
31876 [C99-based-standards] (PRIdFAST16): Likewise.
31877 [C99-based-standards] (PRIiFAST16): Likewise.
31878 [C99-based-standards] (PRIoFAST16): Likewise.
31879 [C99-based-standards] (PRIuFAST16): Likewise.
31880 [C99-based-standards] (PRIxFAST16): Likewise.
31881 [C99-based-standards] (PRIXFAST16): Likewise.
31882 [C99-based-standards] (SCNdFAST16): Likewise.
31883 [C99-based-standards] (SCNiFAST16): Likewise.
31884 [C99-based-standards] (SCNoFAST16): Likewise.
31885 [C99-based-standards] (SCNuFAST16): Likewise.
31886 [C99-based-standards] (SCNxFAST16): Likewise.
31887 [C99-based-standards] (PRId32): Likewise.
31888 [C99-based-standards] (PRIi32): Likewise.
31889 [C99-based-standards] (PRIo32): Likewise.
31890 [C99-based-standards] (PRIu32): Likewise.
31891 [C99-based-standards] (PRIx32): Likewise.
31892 [C99-based-standards] (PRIX32): Likewise.
31893 [C99-based-standards] (SCNd32): Likewise.
31894 [C99-based-standards] (SCNi32): Likewise.
31895 [C99-based-standards] (SCNo32): Likewise.
31896 [C99-based-standards] (SCNu32): Likewise.
31897 [C99-based-standards] (SCNx32): Likewise.
31898 [C99-based-standards] (PRIdLEAST32): Likewise.
31899 [C99-based-standards] (PRIiLEAST32): Likewise.
31900 [C99-based-standards] (PRIoLEAST32): Likewise.
31901 [C99-based-standards] (PRIuLEAST32): Likewise.
31902 [C99-based-standards] (PRIxLEAST32): Likewise.
31903 [C99-based-standards] (PRIXLEAST32): Likewise.
31904 [C99-based-standards] (SCNdLEAST32): Likewise.
31905 [C99-based-standards] (SCNiLEAST32): Likewise.
31906 [C99-based-standards] (SCNoLEAST32): Likewise.
31907 [C99-based-standards] (SCNuLEAST32): Likewise.
31908 [C99-based-standards] (SCNxLEAST32): Likewise.
31909 [C99-based-standards] (PRIdFAST32): Likewise.
31910 [C99-based-standards] (PRIiFAST32): Likewise.
31911 [C99-based-standards] (PRIoFAST32): Likewise.
31912 [C99-based-standards] (PRIuFAST32): Likewise.
31913 [C99-based-standards] (PRIxFAST32): Likewise.
31914 [C99-based-standards] (PRIXFAST32): Likewise.
31915 [C99-based-standards] (SCNdFAST32): Likewise.
31916 [C99-based-standards] (SCNiFAST32): Likewise.
31917 [C99-based-standards] (SCNoFAST32): Likewise.
31918 [C99-based-standards] (SCNuFAST32): Likewise.
31919 [C99-based-standards] (SCNxFAST32): Likewise.
31920 [C99-based-standards] (PRId64): Likewise.
31921 [C99-based-standards] (PRIi64): Likewise.
31922 [C99-based-standards] (PRIo64): Likewise.
31923 [C99-based-standards] (PRIu64): Likewise.
31924 [C99-based-standards] (PRIx64): Likewise.
31925 [C99-based-standards] (PRIX64): Likewise.
31926 [C99-based-standards] (SCNd64): Likewise.
31927 [C99-based-standards] (SCNi64): Likewise.
31928 [C99-based-standards] (SCNo64): Likewise.
31929 [C99-based-standards] (SCNu64): Likewise.
31930 [C99-based-standards] (SCNx64): Likewise.
31931 [C99-based-standards] (PRIdLEAST64): Likewise.
31932 [C99-based-standards] (PRIiLEAST64): Likewise.
31933 [C99-based-standards] (PRIoLEAST64): Likewise.
31934 [C99-based-standards] (PRIuLEAST64): Likewise.
31935 [C99-based-standards] (PRIxLEAST64): Likewise.
31936 [C99-based-standards] (PRIXLEAST64): Likewise.
31937 [C99-based-standards] (SCNdLEAST64): Likewise.
31938 [C99-based-standards] (SCNiLEAST64): Likewise.
31939 [C99-based-standards] (SCNoLEAST64): Likewise.
31940 [C99-based-standards] (SCNuLEAST64): Likewise.
31941 [C99-based-standards] (SCNxLEAST64): Likewise.
31942 [C99-based-standards] (PRIdFAST64): Likewise.
31943 [C99-based-standards] (PRIiFAST64): Likewise.
31944 [C99-based-standards] (PRIoFAST64): Likewise.
31945 [C99-based-standards] (PRIuFAST64): Likewise.
31946 [C99-based-standards] (PRIxFAST64): Likewise.
31947 [C99-based-standards] (PRIXFAST64): Likewise.
31948 [C99-based-standards] (SCNdFAST64): Likewise.
31949 [C99-based-standards] (SCNiFAST64): Likewise.
31950 [C99-based-standards] (SCNoFAST64): Likewise.
31951 [C99-based-standards] (SCNuFAST64): Likewise.
31952 [C99-based-standards] (SCNxFAST64): Likewise.
31953 [C99-based-standards] (PRIdMAX): Likewise.
31954 [C99-based-standards] (PRIiMAX): Likewise.
31955 [C99-based-standards] (PRIoMAX): Likewise.
31956 [C99-based-standards] (PRIuMAX): Likewise.
31957 [C99-based-standards] (PRIxMAX): Likewise.
31958 [C99-based-standards] (PRIXMAX): Likewise.
31959 [C99-based-standards] (SCNdMAX): Likewise.
31960 [C99-based-standards] (SCNiMAX): Likewise.
31961 [C99-based-standards] (SCNoMAX): Likewise.
31962 [C99-based-standards] (SCNuMAX): Likewise.
31963 [C99-based-standards] (SCNxMAX): Likewise.
31964 [C99-based-standards] (PRIdPTR): Likewise.
31965 [C99-based-standards] (PRIiPTR): Likewise.
31966 [C99-based-standards] (PRIoPTR): Likewise.
31967 [C99-based-standards] (PRIuPTR): Likewise.
31968 [C99-based-standards] (PRIxPTR): Likewise.
31969 [C99-based-standards] (PRIXPTR): Likewise.
31970 [C99-based-standards] (SCNdPTR): Likewise.
31971 [C99-based-standards] (SCNiPTR): Likewise.
31972 [C99-based-standards] (SCNoPTR): Likewise.
31973 [C99-based-standards] (SCNuPTR): Likewise.
31974 [C99-based-standards] (SCNxPTR): Likewise.
31975 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31976 allow.
31977 * conform/data/stdint.h-data: Update comments to clarify
31978 requirements.
31979 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31980 type.
31981 [C99-based standards] (INT8_MAX): Likewise.
31982 [C99-based standards] (INT16_MIN): Likewise.
31983 [C99-based standards] (INT16_MAX): Likewise.
31984 [C99-based standards] (INT32_MIN): Likewise.
31985 [C99-based standards] (INT32_MAX): Likewise.
31986 [C99-based standards] (INT64_MIN): Likewise.
31987 [C99-based standards] (INT64_MAX): Likewise.
31988 [C99-based standards] (UINT8_MAX): Likewise.
31989 [C99-based standards] (UINT16_MAX): Likewise.
31990 [C99-based standards] (UINT32_MAX): Likewise.
31991 [C99-based standards] (UINT64_MAX): Likewise.
31992 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31993 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31994 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31995 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31996 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31997 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31998 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31999 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32000 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32001 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32002 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32003 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32004 [C99-based standards] (INT_FAST8_MIN): Likewise.
32005 [C99-based standards] (INT_FAST8_MAX): Likewise.
32006 [C99-based standards] (INT_FAST16_MIN): Likewise.
32007 [C99-based standards] (INT_FAST16_MAX): Likewise.
32008 [C99-based standards] (INT_FAST32_MIN): Likewise.
32009 [C99-based standards] (INT_FAST32_MAX): Likewise.
32010 [C99-based standards] (INT_FAST64_MIN): Likewise.
32011 [C99-based standards] (INT_FAST64_MAX): Likewise.
32012 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32013 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32014 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32015 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32016 [C99-based standards] (INTPTR_MIN): Likewise.
32017 [C99-based standards] (INTPTR_MAX): Likewise.
32018 [C99-based standards] (UINTPTR_MAX): Likewise.
32019 [C99-based standards] (INTMAX_MIN): Likewise.
32020 [C99-based standards] (INTMAX_MAX): Likewise.
32021 [C99-based standards] (UINTMAX_MAX): Likewise.
32022 [C99-based standards] (PTRDIFF_MIN): Likewise.
32023 [C99-based standards] (PTRDIFF_MAX): Likewise.
32024 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32025 [C99-based standards] (SIZE_MAX): Likewise.
32026 [C99-based standards] (WCHAR_MAX): Likewise.
32027 [C99-based standards] (WINT_MAX): Likewise.
32028 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32029 constraint on value.
32030 [C99-based standards] (WCHAR_MIN): Likewise.
32031 [C99-based standards] (WINT_MIN): Likewise.
32032 [C99-based standards] (*_t): Allow.
32033 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32034 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32035 Include math.h-data and complex.h-data. Remove all expectations
32036 of math.h and complex.h contents.
32037 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32038 at end of line.
32039 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32040 (struct tm): Expect tag.
32041 [C99-based-standards] (wcstof): Expect function.
32042 [C99-based-standards] (wcstold): Likewise.
32043 [C99-based-standards] (wcstoll): Likewise.
32044 [C99-based-standards] (wcstoull): Likewise.
32045 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32046 macro-int-constant. Specify type.
32047 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32048 constraint on value.
32049 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32050 Specify type.
32051 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32052 Specify value.
32053 [ISO C standards]: Do not allow headers.
32054 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32055 wcs[abcdefghijklmnopqrstuvwxyz]*.
32056 [ISO C standards] (*_t): Do not allow.
32057 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32058 Expect function.
32059 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32060 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32061 Specify type.
32062 [ISO C standards]: Do not allow headers.
32063 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32064 is[abcdefghijklmnopqrstuvwxyz]*.
32065 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32066 to[abcdefghijklmnopqrstuvwxyz]*.
32067 [ISO C standards] (*_t): Do not allow.
32068 * conform/data/stdalign.h-data: New file.
32069 * conform/data/stdbool.h-data: Likewise.
32070 * conform/data/stdnoreturn.h-data: Likewise.
32071
32072 2012-11-07 Roland McGrath <roland@hack.frob.com>
32073
32074 [BZ #14815]
32075 * manual/filesys.texi (Directory Entries): Typo fix.
32076 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32077
32078 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32079
32080 * elf/elf.h (EM_AARCH64): New macro.
32081 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32082 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32083 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32084 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32085 (R_AARCH64_TLSDESC): Likewise.
32086 (NT_ARM_TLS): Likewise.
32087 (NT_ARM_HW_BREAK): Likewise.
32088 (NT_ARM_HW_WATCH): Likewise.
32089
32090 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32091
32092 [BZ #14811]
32093 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32094 (__ieee754_powl): Saturate nonzero exponents with absolute value
32095 below 0x1p-79 to +/- 0x1p-79.
32096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32097 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32098 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32099 nonzero exponents with absolute value below 0x1p-32 to +/-
32100 0x1p-32.
32101 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32102 (__ieee754_powl): Saturate nonzero exponents with absolute value
32103 below 0x1p-79 to +/- 0x1p-79.
32104 * math/libm-test.inc (pow_test): Add more tests.
32105
32106 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32107
32108 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32109 _dl_s390_cap_flags with kernel. Increase string length.
32110 (_dl_s390_platforms): Add z196 and zEC12.
32111
32112 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32113
32114 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32115 Change XOPEN21K to XOPEN2K.
32116
32117 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32118
32119 * string/memmove.c: Use memcpy when possible.
32120
32121 2012-11-06 Andreas Jaeger <aj@suse.de>
32122
32123 * po/eo.po: Update from translation team.
32124
32125 2012-11-06 Joseph Myers <joseph@codesourcery.com>
32126
32127 [BZ #14793]
32128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32129 exponent and small x and y exponents, scale x or y up. Increase
32130 by 2 the exponent used in scaling up.
32131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32133 * math/libm-test.inc (fma_test): Add more tests.
32134 (fma_test_towardzero): Likewise.
32135 (fma_test_downward): Likewise.
32136 (fma_test_upward): Likewise.
32137
32138 2012-11-05 Joseph Myers <joseph@codesourcery.com>
32139
32140 [BZ #14805]
32141 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32142 fenv_t *.
32143
32144 [BZ #14801]
32145 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32146 namespace for names of struct fields.
32147 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32148 fenv_t fields.
32149 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32150 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32151
32152 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32153
32154 [BZ #3665]
32155 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32156
32157 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32158
32159 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32160 PTR_DEMANGLE.
32161
32162 [BZ #5246]
32163 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32164 PTR_DEMANGLE.
32165
32166 2012-11-04 Joseph Myers <joseph@codesourcery.com>
32167
32168 [BZ #14797]
32169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32170 definitely overflow as x * y not x * y + z.
32171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32173 * math/libm-test.inc (fma_test): Add more tests.
32174 (fma_test_towardzero): Likewise.
32175 (fma_test_downward): Likewise.
32176 (fma_test_upward): Likewise.
32177
32178 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32179
32180 [BZ #157]
32181
32182 * include/stub-tag.h: Remove file.
32183 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32184 '#include' of it.
32185 * manual/maint.texi (Porting): Don't reference it.
32186 * Makerules ($(objpfx)stubs): Likewise.
32187 * dirent/closedir.c: Don't include <stub-tag.h>.
32188 * dirent/dirfd.c: Likewise.
32189 * dirent/fdopendir.c: Likewise.
32190 * dirent/getdents.c: Likewise.
32191 * dirent/getdents64.c: Likewise.
32192 * dirent/opendir.c: Likewise.
32193 * dirent/readdir.c: Likewise.
32194 * dirent/readdir64.c: Likewise.
32195 * dirent/readdir64_r.c: Likewise.
32196 * dirent/readdir_r.c: Likewise.
32197 * dirent/rewinddir.c: Likewise.
32198 * dirent/seekdir.c: Likewise.
32199 * dirent/telldir.c: Likewise.
32200 * gmon/profil.c: Likewise.
32201 * grp/setgroups.c: Likewise.
32202 * inet/if_index.c: Likewise.
32203 * io/access.c: Likewise.
32204 * io/chdir.c: Likewise.
32205 * io/chmod.c: Likewise.
32206 * io/chown.c: Likewise.
32207 * io/close.c: Likewise.
32208 * io/dup.c: Likewise.
32209 * io/dup2.c: Likewise.
32210 * io/dup3.c: Likewise.
32211 * io/euidaccess.c: Likewise.
32212 * io/faccessat.c: Likewise.
32213 * io/fchdir.c: Likewise.
32214 * io/fchmod.c: Likewise.
32215 * io/fchmodat.c: Likewise.
32216 * io/fchown.c: Likewise.
32217 * io/fchownat.c: Likewise.
32218 * io/fcntl.c: Likewise.
32219 * io/flock.c: Likewise.
32220 * io/fstatfs.c: Likewise.
32221 * io/fstatfs64.c: Likewise.
32222 * io/fstatvfs.c: Likewise.
32223 * io/fstatvfs64.c: Likewise.
32224 * io/futimens.c: Likewise.
32225 * io/fxstat.c: Likewise.
32226 * io/fxstat64.c: Likewise.
32227 * io/fxstatat.c: Likewise.
32228 * io/fxstatat64.c: Likewise.
32229 * io/getcwd.c: Likewise.
32230 * io/isatty.c: Likewise.
32231 * io/lchmod.c: Likewise.
32232 * io/lchown.c: Likewise.
32233 * io/link.c: Likewise.
32234 * io/linkat.c: Likewise.
32235 * io/lseek.c: Likewise.
32236 * io/lseek64.c: Likewise.
32237 * io/lxstat64.c: Likewise.
32238 * io/mkdir.c: Likewise.
32239 * io/mkdirat.c: Likewise.
32240 * io/mkfifo.c: Likewise.
32241 * io/mkfifoat.c: Likewise.
32242 * io/open.c: Likewise.
32243 * io/open64.c: Likewise.
32244 * io/openat.c: Likewise.
32245 * io/openat64.c: Likewise.
32246 * io/pipe.c: Likewise.
32247 * io/pipe2.c: Likewise.
32248 * io/poll.c: Likewise.
32249 * io/posix_fadvise.c: Likewise.
32250 * io/posix_fadvise64.c: Likewise.
32251 * io/posix_fallocate.c: Likewise.
32252 * io/posix_fallocate64.c: Likewise.
32253 * io/read.c: Likewise.
32254 * io/readlink.c: Likewise.
32255 * io/readlinkat.c: Likewise.
32256 * io/rmdir.c: Likewise.
32257 * io/sendfile.c: Likewise.
32258 * io/sendfile64.c: Likewise.
32259 * io/statfs.c: Likewise.
32260 * io/statfs64.c: Likewise.
32261 * io/statvfs.c: Likewise.
32262 * io/statvfs64.c: Likewise.
32263 * io/symlink.c: Likewise.
32264 * io/symlinkat.c: Likewise.
32265 * io/ttyname.c: Likewise.
32266 * io/ttyname_r.c: Likewise.
32267 * io/umask.c: Likewise.
32268 * io/unlink.c: Likewise.
32269 * io/unlinkat.c: Likewise.
32270 * io/utime.c: Likewise.
32271 * io/utimensat.c: Likewise.
32272 * io/write.c: Likewise.
32273 * io/xmknod.c: Likewise.
32274 * io/xmknodat.c: Likewise.
32275 * io/xstat.c: Likewise.
32276 * io/xstat64.c: Likewise.
32277 * login/getpt.c: Likewise.
32278 * login/grantpt.c: Likewise.
32279 * login/unlockpt.c: Likewise.
32280 * math/e_acoshl.c: Likewise.
32281 * math/e_acosl.c: Likewise.
32282 * math/e_asinl.c: Likewise.
32283 * math/e_atan2l.c: Likewise.
32284 * math/e_atanhl.c: Likewise.
32285 * math/e_coshl.c: Likewise.
32286 * math/e_expl.c: Likewise.
32287 * math/e_fmodl.c: Likewise.
32288 * math/e_gammal_r.c: Likewise.
32289 * math/e_hypotl.c: Likewise.
32290 * math/e_j0l.c: Likewise.
32291 * math/e_j1l.c: Likewise.
32292 * math/e_jnl.c: Likewise.
32293 * math/e_lgammal_r.c: Likewise.
32294 * math/e_log10l.c: Likewise.
32295 * math/e_log2l.c: Likewise.
32296 * math/e_logl.c: Likewise.
32297 * math/e_powl.c: Likewise.
32298 * math/e_rem_pio2l.c: Likewise.
32299 * math/e_sinhl.c: Likewise.
32300 * math/e_sqrtl.c: Likewise.
32301 * math/fclrexcpt.c: Likewise.
32302 * math/fedisblxcpt.c: Likewise.
32303 * math/feenablxcpt.c: Likewise.
32304 * math/fegetenv.c: Likewise.
32305 * math/fegetexcept.c: Likewise.
32306 * math/fegetround.c: Likewise.
32307 * math/feholdexcpt.c: Likewise.
32308 * math/fesetenv.c: Likewise.
32309 * math/fesetround.c: Likewise.
32310 * math/feupdateenv.c: Likewise.
32311 * math/fgetexcptflg.c: Likewise.
32312 * math/fraiseexcpt.c: Likewise.
32313 * math/fsetexcptflg.c: Likewise.
32314 * math/ftestexcept.c: Likewise.
32315 * math/k_cosl.c: Likewise.
32316 * math/k_rem_pio2l.c: Likewise.
32317 * math/k_sinl.c: Likewise.
32318 * math/k_tanl.c: Likewise.
32319 * math/s_asinhl.c: Likewise.
32320 * math/s_atanl.c: Likewise.
32321 * math/s_cbrtl.c: Likewise.
32322 * math/s_erfl.c: Likewise.
32323 * math/s_expm1l.c: Likewise.
32324 * math/s_log1pl.c: Likewise.
32325 * math/s_tanhl.c: Likewise.
32326 * misc/acct.c: Likewise.
32327 * misc/brk.c: Likewise.
32328 * misc/chflags.c: Likewise.
32329 * misc/chroot.c: Likewise.
32330 * misc/fchflags.c: Likewise.
32331 * misc/fgetxattr.c: Likewise.
32332 * misc/flistxattr.c: Likewise.
32333 * misc/fremovexattr.c: Likewise.
32334 * misc/fsetxattr.c: Likewise.
32335 * misc/fsync.c: Likewise.
32336 * misc/ftruncate.c: Likewise.
32337 * misc/futimes.c: Likewise.
32338 * misc/futimesat.c: Likewise.
32339 * misc/getdomain.c: Likewise.
32340 * misc/getdtsz.c: Likewise.
32341 * misc/gethostid.c: Likewise.
32342 * misc/gethostname.c: Likewise.
32343 * misc/getloadavg.c: Likewise.
32344 * misc/getpagesize.c: Likewise.
32345 * misc/getsysstats.c: Likewise.
32346 * misc/getxattr.c: Likewise.
32347 * misc/gtty.c: Likewise.
32348 * misc/ioctl.c: Likewise.
32349 * misc/lgetxattr.c: Likewise.
32350 * misc/listxattr.c: Likewise.
32351 * misc/llistxattr.c: Likewise.
32352 * misc/lremovexattr.c: Likewise.
32353 * misc/lsetxattr.c: Likewise.
32354 * misc/lutimes.c: Likewise.
32355 * misc/madvise.c: Likewise.
32356 * misc/mincore.c: Likewise.
32357 * misc/mlock.c: Likewise.
32358 * misc/mlockall.c: Likewise.
32359 * misc/mmap.c: Likewise.
32360 * misc/mprotect.c: Likewise.
32361 * misc/msync.c: Likewise.
32362 * misc/munlock.c: Likewise.
32363 * misc/munlockall.c: Likewise.
32364 * misc/munmap.c: Likewise.
32365 * misc/preadv.c: Likewise.
32366 * misc/preadv64.c: Likewise.
32367 * misc/ptrace.c: Likewise.
32368 * misc/pwritev.c: Likewise.
32369 * misc/pwritev64.c: Likewise.
32370 * misc/readv.c: Likewise.
32371 * misc/reboot.c: Likewise.
32372 * misc/remap_file_pages.c: Likewise.
32373 * misc/removexattr.c: Likewise.
32374 * misc/revoke.c: Likewise.
32375 * misc/select.c: Likewise.
32376 * misc/setdomain.c: Likewise.
32377 * misc/setegid.c: Likewise.
32378 * misc/seteuid.c: Likewise.
32379 * misc/sethostid.c: Likewise.
32380 * misc/sethostname.c: Likewise.
32381 * misc/setregid.c: Likewise.
32382 * misc/setreuid.c: Likewise.
32383 * misc/setxattr.c: Likewise.
32384 * misc/sstk.c: Likewise.
32385 * misc/stty.c: Likewise.
32386 * misc/swapoff.c: Likewise.
32387 * misc/swapon.c: Likewise.
32388 * misc/sync.c: Likewise.
32389 * misc/syncfs.c: Likewise.
32390 * misc/syscall.c: Likewise.
32391 * misc/truncate.c: Likewise.
32392 * misc/ualarm.c: Likewise.
32393 * misc/usleep.c: Likewise.
32394 * misc/ustat.c: Likewise.
32395 * misc/utimes.c: Likewise.
32396 * misc/vhangup.c: Likewise.
32397 * misc/writev.c: Likewise.
32398 * posix/_exit.c: Likewise.
32399 * posix/alarm.c: Likewise.
32400 * posix/execve.c: Likewise.
32401 * posix/fexecve.c: Likewise.
32402 * posix/fork.c: Likewise.
32403 * posix/fpathconf.c: Likewise.
32404 * posix/getaddrinfo.c: Likewise.
32405 * posix/getegid.c: Likewise.
32406 * posix/geteuid.c: Likewise.
32407 * posix/getgid.c: Likewise.
32408 * posix/getgroups.c: Likewise.
32409 * posix/getlogin.c: Likewise.
32410 * posix/getlogin_r.c: Likewise.
32411 * posix/getpgid.c: Likewise.
32412 * posix/getpid.c: Likewise.
32413 * posix/getppid.c: Likewise.
32414 * posix/getresgid.c: Likewise.
32415 * posix/getresuid.c: Likewise.
32416 * posix/getsid.c: Likewise.
32417 * posix/getuid.c: Likewise.
32418 * posix/glob64.c: Likewise.
32419 * posix/nanosleep.c: Likewise.
32420 * posix/pathconf.c: Likewise.
32421 * posix/pause.c: Likewise.
32422 * posix/posix_madvise.c: Likewise.
32423 * posix/pread.c: Likewise.
32424 * posix/pread64.c: Likewise.
32425 * posix/pwrite.c: Likewise.
32426 * posix/pwrite64.c: Likewise.
32427 * posix/sched_getaffinity.c: Likewise.
32428 * posix/sched_getp.c: Likewise.
32429 * posix/sched_gets.c: Likewise.
32430 * posix/sched_primax.c: Likewise.
32431 * posix/sched_primin.c: Likewise.
32432 * posix/sched_rr_gi.c: Likewise.
32433 * posix/sched_setaffinity.c: Likewise.
32434 * posix/sched_setp.c: Likewise.
32435 * posix/sched_sets.c: Likewise.
32436 * posix/sched_yield.c: Likewise.
32437 * posix/setgid.c: Likewise.
32438 * posix/setlogin.c: Likewise.
32439 * posix/setpgid.c: Likewise.
32440 * posix/setresgid.c: Likewise.
32441 * posix/setresuid.c: Likewise.
32442 * posix/setsid.c: Likewise.
32443 * posix/setuid.c: Likewise.
32444 * posix/sleep.c: Likewise.
32445 * posix/spawni.c: Likewise.
32446 * posix/sysconf.c: Likewise.
32447 * posix/times.c: Likewise.
32448 * posix/wait.c: Likewise.
32449 * posix/wait3.c: Likewise.
32450 * posix/wait4.c: Likewise.
32451 * posix/waitpid.c: Likewise.
32452 * resolv/gai_sigqueue.c: Likewise.
32453 * resource/getpriority.c: Likewise.
32454 * resource/getrlimit.c: Likewise.
32455 * resource/getrusage.c: Likewise.
32456 * resource/nice.c: Likewise.
32457 * resource/setpriority.c: Likewise.
32458 * resource/setrlimit.c: Likewise.
32459 * resource/ulimit.c: Likewise.
32460 * rt/aio_cancel.c: Likewise.
32461 * rt/aio_fsync.c: Likewise.
32462 * rt/aio_read.c: Likewise.
32463 * rt/aio_sigqueue.c: Likewise.
32464 * rt/aio_suspend.c: Likewise.
32465 * rt/aio_write.c: Likewise.
32466 * rt/clock_getres.c: Likewise.
32467 * rt/clock_gettime.c: Likewise.
32468 * rt/clock_nanosleep.c: Likewise.
32469 * rt/clock_settime.c: Likewise.
32470 * rt/lio_listio.c: Likewise.
32471 * rt/mq_close.c: Likewise.
32472 * rt/mq_getattr.c: Likewise.
32473 * rt/mq_notify.c: Likewise.
32474 * rt/mq_open.c: Likewise.
32475 * rt/mq_receive.c: Likewise.
32476 * rt/mq_send.c: Likewise.
32477 * rt/mq_setattr.c: Likewise.
32478 * rt/mq_timedreceive.c: Likewise.
32479 * rt/mq_timedsend.c: Likewise.
32480 * rt/mq_unlink.c: Likewise.
32481 * rt/shm_open.c: Likewise.
32482 * rt/shm_unlink.c: Likewise.
32483 * rt/timer_create.c: Likewise.
32484 * rt/timer_delete.c: Likewise.
32485 * rt/timer_getoverr.c: Likewise.
32486 * rt/timer_gettime.c: Likewise.
32487 * rt/timer_settime.c: Likewise.
32488 * setjmp/__longjmp.c: Likewise.
32489 * setjmp/setjmp.c: Likewise.
32490 * signal/kill.c: Likewise.
32491 * signal/killpg.c: Likewise.
32492 * signal/raise.c: Likewise.
32493 * signal/sigaction.c: Likewise.
32494 * signal/sigaltstack.c: Likewise.
32495 * signal/sigblock.c: Likewise.
32496 * signal/sigignore.c: Likewise.
32497 * signal/sigintr.c: Likewise.
32498 * signal/signal.c: Likewise.
32499 * signal/sigpause.c: Likewise.
32500 * signal/sigpending.c: Likewise.
32501 * signal/sigqueue.c: Likewise.
32502 * signal/sigreturn.c: Likewise.
32503 * signal/sigset.c: Likewise.
32504 * signal/sigsetmask.c: Likewise.
32505 * signal/sigstack.c: Likewise.
32506 * signal/sigsuspend.c: Likewise.
32507 * signal/sigtimedwait.c: Likewise.
32508 * signal/sigvec.c: Likewise.
32509 * signal/sigwait.c: Likewise.
32510 * signal/sigwaitinfo.c: Likewise.
32511 * signal/sysv_signal.c: Likewise.
32512 * socket/accept.c: Likewise.
32513 * socket/accept4.c: Likewise.
32514 * socket/bind.c: Likewise.
32515 * socket/connect.c: Likewise.
32516 * socket/getpeername.c: Likewise.
32517 * socket/getsockname.c: Likewise.
32518 * socket/getsockopt.c: Likewise.
32519 * socket/isfdtype.c: Likewise.
32520 * socket/listen.c: Likewise.
32521 * socket/recv.c: Likewise.
32522 * socket/recvfrom.c: Likewise.
32523 * socket/recvmsg.c: Likewise.
32524 * socket/send.c: Likewise.
32525 * socket/sendmsg.c: Likewise.
32526 * socket/sendto.c: Likewise.
32527 * socket/setsockopt.c: Likewise.
32528 * socket/shutdown.c: Likewise.
32529 * socket/sockatmark.c: Likewise.
32530 * socket/socket.c: Likewise.
32531 * socket/socketpair.c: Likewise.
32532 * stdio-common/ctermid.c: Likewise.
32533 * stdio-common/cuserid.c: Likewise.
32534 * stdio-common/remove.c: Likewise.
32535 * stdio-common/rename.c: Likewise.
32536 * stdio-common/renameat.c: Likewise.
32537 * stdio-common/tempname.c: Likewise.
32538 * stdlib/getcontext.c: Likewise.
32539 * stdlib/makecontext.c: Likewise.
32540 * stdlib/setcontext.c: Likewise.
32541 * stdlib/swapcontext.c: Likewise.
32542 * stdlib/system.c: Likewise.
32543 * streams/fattach.c: Likewise.
32544 * streams/fdetach.c: Likewise.
32545 * streams/getmsg.c: Likewise.
32546 * streams/getpmsg.c: Likewise.
32547 * streams/putmsg.c: Likewise.
32548 * streams/putpmsg.c: Likewise.
32549 * sysdeps/unix/bsd/getpt.c: Likewise.
32550 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32551 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32552 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32554 Likewise.
32555 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32556 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32557 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32558 * sysvipc/msgctl.c: Likewise.
32559 * sysvipc/msgget.c: Likewise.
32560 * sysvipc/msgrcv.c: Likewise.
32561 * sysvipc/msgsnd.c: Likewise.
32562 * sysvipc/semctl.c: Likewise.
32563 * sysvipc/semget.c: Likewise.
32564 * sysvipc/semop.c: Likewise.
32565 * sysvipc/semtimedop.c: Likewise.
32566 * sysvipc/shmat.c: Likewise.
32567 * sysvipc/shmctl.c: Likewise.
32568 * sysvipc/shmdt.c: Likewise.
32569 * sysvipc/shmget.c: Likewise.
32570 * termios/tcdrain.c: Likewise.
32571 * termios/tcflow.c: Likewise.
32572 * termios/tcflush.c: Likewise.
32573 * termios/tcgetattr.c: Likewise.
32574 * termios/tcgetpgrp.c: Likewise.
32575 * termios/tcsendbrk.c: Likewise.
32576 * termios/tcsetattr.c: Likewise.
32577 * termios/tcsetpgrp.c: Likewise.
32578 * time/adjtime.c: Likewise.
32579 * time/clock.c: Likewise.
32580 * time/getitimer.c: Likewise.
32581 * time/gettimeofday.c: Likewise.
32582 * time/setitimer.c: Likewise.
32583 * time/settimeofday.c: Likewise.
32584 * time/stime.c: Likewise.
32585 * time/time.c: Likewise.
32586
32587 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32588
32589 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32590 /usr/old/bin.
32591
32592 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32593 instead of spaces.
32594 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32595
32596 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32597
32598 [BZ #14796]
32599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32600 FE_TONEAREST before applying Dekker multiplication and Knuth
32601 addition. Clear inexact exceptions and check for exact zero
32602 results afterwards.
32603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32606 * math/libm-test.inc (fma_test): Add more tests.
32607 (fma_test_towardzero): Likewise.
32608 (fma_test_downward): Likewise.
32609 (fma_test_upward): Likewise.
32610 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32611 function.
32612 (libc_fesetround): New macro.
32613 (libc_fesetroundf): Likewise.
32614 (libc_fesetroundl): Likewise.
32615 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32616 function.
32617 (libc_fesetround_387): Likewise.
32618 (libc_fesetroundf): New macro.
32619 (libc_fesetround): Likewise.
32620 (libc_fesetroundl): Likewise.
32621 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32622 function.
32623 (libc_fesetroundf): New macro.
32624 (libc_fesetround): Likewise.
32625 (libc_fesetroundl): Likewise.
32626 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32627 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32628 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32629 libm_hidden_ver.
32630 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32631 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32632 libm_hidden_def.
32633 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32634 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32635 libm_hidden_ver.
32636 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32637 libm_hidden_def.
32638
32639 [BZ #3439]
32640 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32641 integer constant usable in #if and use that to give value to enum
32642 constant.
32643 (FE_DIVBYZERO): Likewise.
32644 (FE_UNDERFLOW): Likewise.
32645 (FE_OVERFLOW): Likewise.
32646 (FE_INVALID): Likewise.
32647 (FE_INVALID_SNAN): Likewise.
32648 (FE_INVALID_ISI): Likewise.
32649 (FE_INVALID_IDI): Likewise.
32650 (FE_INVALID_ZDZ): Likewise.
32651 (FE_INVALID_IMZ): Likewise.
32652 (FE_INVALID_COMPARE): Likewise.
32653 (FE_INVALID_SOFTWARE): Likewise.
32654 (FE_INVALID_SQRT): Likewise.
32655 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32656 (FE_TONEAREST): Likewise.
32657 (FE_TOWARDZERO): Likewise.
32658 (FE_UPWARD): Likewise.
32659 (FE_DOWNWARD): Likewise.
32660 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32661 (FE_DIVBYZERO): Likewise.
32662 (FE_OVERFLOW): Likewise.
32663 (FE_UNDERFLOW): Likewise.
32664 (FE_INEXACT): Likewise.
32665 (FE_TONEAREST): Likewise.
32666 (FE_DOWNWARD): Likewise.
32667 (FE_UPWARD): Likewise.
32668 (FE_TOWARDZERO): Likewise.
32669 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32670 (FE_UNDERFLOW): Likewise.
32671 (FE_OVERFLOW): Likewise.
32672 (FE_DIVBYZERO): Likewise.
32673 (FE_INVALID): Likewise.
32674 (FE_TONEAREST): Likewise.
32675 (FE_TOWARDZERO): Likewise.
32676 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32677 (FE_OVERFLOW): Likewise.
32678 (FE_UNDERFLOW): Likewise.
32679 (FE_DIVBYZERO): Likewise.
32680 (FE_INEXACT): Likewise.
32681 (FE_TONEAREST): Likewise.
32682 (FE_TOWARDZERO): Likewise.
32683 (FE_UPWARD): Likewise.
32684 (FE_DOWNWARD): Likewise.
32685 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32686 (FE_DIVBYZERO): Likewise.
32687 (FE_OVERFLOW): Likewise.
32688 (FE_UNDERFLOW): Likewise.
32689 (FE_INEXACT): Likewise.
32690 (FE_TONEAREST): Likewise.
32691 (FE_DOWNWARD): Likewise.
32692 (FE_UPWARD): Likewise.
32693 (FE_TOWARDZERO): Likewise.
32694
32695 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32696
32697 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32698
32699 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32700
32701 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32702 commands. Quote $PWD.
32703 (blacklist_exports): Don't use remove_newlines. Replace "declare
32704 -x" by "export".
32705 (remove_newlines): Remove.
32706
32707 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32708
32709 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32710 * stdlib/stdlib.h (atof): Moved to ...
32711 * include/bits/stdlib-float.h: Here. New file.
32712 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32713 * stdlib/bits/stdlib-float.h: New file.
32714 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32715 -mno-sse -mno-mmx.
32716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32717 <xmmintrin.h>.
32718
32719 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32720
32721 * conform/conformtest.pl (@headers): Add fenv.h.
32722 * conform/data/fenv.h-data: New file.
32723 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32724 include of <math/fenv.h>.
32725
32726 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32727 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32728 && !UNIX98]. Enables tests for XOPEN2K8.
32729 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32730 POSIX2008]: Likewise.
32731
32732 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32733 (struct rusage): Do not expect type or its members.
32734
32735 [BZ #3439]
32736 * math/math.h (FP_NAN): Define macro to integer constant usable in
32737 #if and use that to give value to enum constant.
32738 (FP_INFINITE): Likewise.
32739 (FP_ZERO): Likewise.
32740 (FP_SUBNORMAL): Likewise.
32741 (FP_NORMAL): Likewise.
32742
32743 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32744
32745 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32746 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32747 arguments.
32748
32749 2012-11-02 Roland McGrath <roland@hack.frob.com>
32750
32751 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32752 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32753 autoconf-time if not.
32754 * configure.in: Remove AC_PREREQ.
32755
32756 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32757
32758 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32759 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32760 of the internal implementation.
32761
32762 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32763
32764 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32765 except include of <misc/sys/syslog.h>.
32766
32767 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32768
32769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32770 function returns with a NULL context exit with zero.
32771
32772 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32773
32774 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32775
32776 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32777
32778 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32779 (run_program_cmd): This.
32780 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32781 (tst_langinfo): New variable. Use it.
32782
32783 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32784
32785 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32786 floating point opcodes.
32787
32788 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32789
32790 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32791 variable.
32792
32793 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32794
32795 * sysdeps/mach/hurd/powerpc: Remove directory.
32796 * sysdeps/mach/powerpc: Likewise.
32797
32798 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32799
32800 * scripts/check-local-headers.sh: Ignore c++ headers.
32801
32802 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32803
32804 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32805 __libc_cleanup_region_start argument.
32806
32807 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32808
32809 [BZ #14784]
32810 [BZ #14785]
32811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32812 x * y using scaling, not as x * y + z.
32813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32815 * math/libm-test.inc (fma_test): Add more tests.
32816 (fma_test_towardzero): Likewise.
32817 (fma_test_downward): Likewise.
32818 (fma_test_upward): Likewise.
32819
32820 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32821
32822 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32823
32824 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32825
32826 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32827 New variable.
32828
32829 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32830
32831 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32832
32833 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32834
32835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32836 Fix sort order.
32837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32838 Likewise.
32839
32840 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32841
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32843 Fix the order of the list for glibc 2.17.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32845 Likewise.
32846
32847 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32848
32849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32850
32851 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32852
32853 [BZ #14610]
32854 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32855 for low part of x being zero before using __atanl (y).
32856 * math/libm-test.inc (atan2_test): Add another test.
32857
32858 * manual/install.texi (Configuring and compiling): Document
32859 general use of test-wrapper and test-wrapper-env.
32860 * INSTALL: Regenerated.
32861
32862 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32863 (__fma): Do not extract and scale down low bits on after-rounding
32864 systems when result rounded to normal precision would have normal
32865 exponent.
32866 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32867 (__fmal): Do not extract and scale down low bits on after-rounding
32868 systems when result rounded to normal precision would have normal
32869 exponent.
32870 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32871 (__fmal): Do not extract and scale down low bits on after-rounding
32872 systems when result rounded to normal precision would have normal
32873 exponent.
32874 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32875 macro.
32876 (fma_test): Add more tests.
32877 (fma_test_towardzero): Likewise.
32878 (fma_test_downward): Likewise.
32879 (fma_test_upward): Likewise.
32880
32881 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32882
32883 * sysdeps/i386/tininess.h: Renamed to ...
32884 * sysdeps/x86/tininess.h: This.
32885 * sysdeps/x86_64/tininess.h: Removed.
32886
32887 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32888
32889 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32890 input. Use $(build-program-cmd).
32891 ($(objpfx)tst-array1-static.out): Likewise.
32892 ($(objpfx)tst-array2.out): Likewise.
32893 ($(objpfx)tst-array3.out): Likewise.
32894 ($(objpfx)tst-array4.out): Likewise.
32895 ($(objpfx)tst-array5.out): Likewise.
32896 ($(objpfx)tst-array5-static.out): Likewise.
32897
32898 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32899
32900 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32901 if defined.
32902
32903 * nss/nsswitch.h (nss_interface_function): Provide new
32904 macro for use with NSS functions.
32905 * grp/initgroups.c: Use new macro.
32906 * nss/getXXbyYY.c: Likewise.
32907 * nss/getXXbyYY_r.c: Likewise.
32908 * nss/getXXent.c: Likewise.
32909 * nss/getXXent_r.c: Likewise.
32910 * sysdeps/posix/getaddrinfo.c: Likewise.
32911
32912 2012-10-30 Andreas Jaeger <aj@suse.de>
32913
32914 * po/ru.po: Update Russion translation from translation project.
32915
32916 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32917
32918 [BZ #14152]
32919 [BZ #14783]
32920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32921 result and shift together with sticky bit instead of replicating
32922 round-to-nearest rounding.
32923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32925 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32926 missing underflow exceptions.
32927 (fma_test_towardzero): Add more tests.
32928 (fma_test_downward): Likewise.
32929 (fma_test_upward): Likewise.
32930
32931 [BZ #14047]
32932 * sysdeps/generic/tininess.h: New file.
32933 * sysdeps/i386/tininess.h: Likewise.
32934 * sysdeps/sh/tininess.h: Likewise.
32935 * sysdeps/x86_64/tininess.h: Likewise.
32936 * stdlib/tst-strtod-underflow.c: Likewise.
32937 * stdlib/tst-tininess.c: Likewise.
32938 * stdlib/strtod_l.c: Include <tininess.h>.
32939 (round_and_return): Do not set errno for exact underflow cases.
32940 Force an underflow exception when setting errno for underflow.
32941 Determine underflow based on rounding to normal precision if
32942 TININESS_AFTER_ROUNDING.
32943 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32944 ERANGE for exact underflow cases.
32945 * stdlib/Makefile (tests): Add tst-tininess and
32946 tst-strtod-underflow.
32947 ($(objpfx)tst-tininess): Use $(link-libm).
32948 ($(objpfx)tst-strtod-underflow): Likewise.
32949
32950 2012-10-30 Andreas Jaeger <aj@suse.de>
32951
32952 [BZ#14767]
32953 * elf/Makefile (tests): Remove conditional for have-initfini-array
32954 since this is now always required and the variable does not exist
32955 anymore.
32956 (tests-static): Likewise.
32957 (modules-names): Likewise.
32958
32959 * po/eo.po: Add Esperanto translation from translation project.
32960
32961 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32962 merged with constructor/destructor.
32963 (init_array): Likewise.
32964 * elf/tst-array2dep.c (fini_array): Likewise.
32965 (init_array): Likewise.
32966
32967 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32968
32969 * manual/message.texi: Delete @cartouche tags.
32970
32971 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32972
32973 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32974 EOPNOTSUPP.
32975 * sysdeps/mach/hurd/fsync.c: Likewise.
32976
32977 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32978 [_POSIX_REALTIME_SIGNALS]: Change condition to
32979 [_POSIX_REALTIME_SIGNALS > 0].
32980
32981 2012-10-27 Andreas Jaeger <aj@suse.de>
32982
32983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32984 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32985 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32986 [__WORDSIZE != 64]: Likewise.
32987
32988 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32989
32990 * iconvdata/tst-table.sh: Remove ${SHELL}.
32991 * iconvdata/tst-tables.sh: Likewise.
32992
32993 2012-10-25 David S. Miller <davem@davemloft.net>
32994
32995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32996 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32997 of strtoull.
32998
32999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33000 ifunc-impl-list.c
33001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33002 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33003 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33004 file.
33005
33006 2012-10-25 Roland McGrath <roland@hack.frob.com>
33007
33008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33009 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33010 __getdirentries.
33011
33012 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33013 Jim Blandy <jimb@codesourcery.com>
33014
33015 * scripts/cross-test-ssh.sh: New file.
33016 * manual/install.texi (Configuring and compiling): Document use of
33017 cross-test-ssh.sh.
33018 * INSTALL: Regenerated.
33019
33020 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33021
33022 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33023 EOPNOTSUPP.
33024
33025 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33026
33027 * Makeconfig (run-program-prefix): Fix comment.
33028
33029 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33030 Jim Blandy <jimb@codesourcery.com>
33031
33032 * Makeconfig (test-wrapper): New variable,
33033 (test-wrapper-env): Likewise.
33034 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33035 (run-built-tests): Define to yes.
33036 (run-program-prefix): Use $(test-wrapper).
33037 (built-program-cmd): Likewise.
33038 * Rules (make-test-out): Use $(test-wrapper-env) and
33039 $(host-built-program-cmd).
33040 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33041 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33042 tst-pathopt.sh.
33043 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33044 $(test-wrapper-env) to tst-rtld-load-self.sh.
33045 ($(objpfx)order2.out): Use $(test-wrapper).
33046 ($(objpfx)tst-initorder.out): Likewise.
33047 ($(objpfx)tst-initorder2.out): Likewise.
33048 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33049 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33050 (test_wrapper_env): New variable. Use it to run ld.so.
33051 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33052 Use it to run ld.so.
33053 (test_wrapper_env): Likewise.
33054 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33055 $(test-wrapper) to run-iconv-test.sh.
33056 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33057 (ICONV): Use $test_wrapper.
33058 * posix/Makefile ($(objpfx)globtest.out): Pass
33059 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33060 globtest.sh, not $(run-program-prefix).
33061 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33062 (test_wrapper): Likewise.
33063 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33064 set together with run_via_rtld_prefix.
33065 (run_program_prefix): Define in terms of test_wrapper and
33066 run_via_rtld_prefix.
33067
33068 2012-10-24 Roland McGrath <roland@hack.frob.com>
33069
33070 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33071 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33072 Targets removed.
33073
33074 [BZ #14743]
33075 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33076 Declare __clock_getres, __clock_gettime, __clock_settime,
33077 __clock_nanosleep, and __clock_getcpuclockid.
33078 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33079 Remove librt_hidden_def (clock_gettime).
33080 * sysdeps/unix/clock_gettime.c: Likewise.
33081 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33083 * rt/clock_getres.c: Define __clock_getres as an alias.
33084 * sysdeps/posix/clock_getres.c: Likewise.
33085 * rt/clock_settime.c: Define __clock_settime as an alias.
33086 * sysdeps/unix/clock_settime.c: Likewise.
33087 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33088 * sysdeps/unix/clock_nanosleep.c: Likewise.
33089 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33090 * rt/clock-compat.c: New file.
33091 * rt/Makefile (librt-routines): Add clock-compat and move
33092 $(clock-routines) to ...
33093 (routines): ... here, new variable.
33094 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33095 Don't add get_clockfreq here.
33096 * rt/Versions (libc: GLIBC_2.17): New version set.
33097 Add clock_* symbols here.
33098 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33099 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33100 (GLIBC_2.17): Add clock_* symbols.
33101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33105 Likewise.
33106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33107 Likewise.
33108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33112 * NEWS: Mention the move.
33113
33114 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33115 Use __open, __read, __close rather than their public counterparts.
33116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33117 (__get_clockfreq_via_cpuinfo): Likewise.
33118 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33119 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33120
33121 * config.h.in (HAVE_IFUNC): New #undef.
33122 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33123 was successful.
33124 * configure: Regenerated.
33125
33126 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33127
33128 * configure.in: Move READELF check to start of file.
33129 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33130 libc_cv_asm_gnu_indirect_function in the process.
33131 * configure: Regenerated.
33132
33133 2012-10-24 Mike Frysinger <vapier@gentoo.org>
33134
33135 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33136 send the output to /dev/null.
33137 (libc_cv_cc_with_libunwind): Likewise.
33138 (libc_cv_as_noexecstack): Likewise.
33139 * configure: Regenerate.
33140
33141 2012-10-24 Joseph Myers <joseph@codesourcery.com>
33142
33143 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33144
33145 * posix/globtest.sh (TMPDIR): Do not set.
33146 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33147 (testout): Likewise.
33148
33149 2012-10-24 Andreas Jaeger <aj@suse.de>
33150
33151 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33152 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33153 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33154 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33155 posix_fadvise64, posix_fallocate64.
33156
33157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33158 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33159 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33160 Likewise.
33161 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33162 Likewise.
33163 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33164
33165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33166 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33167 <bits/fcntl-linux.h>.
33168 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33169
33170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33171 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33172 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33173 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33174 [__WORDSIZE != 64]: Likewise.
33175
33176 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33177
33178 * Makeconfig (run-built-tests): New variable.
33179 * Rules [$(cross-compiling) = yes]: Change condition to
33180 [$(run-built-tests) = no].
33181 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33182 to [$(run-built-tests) = yes].
33183 * elf/Makefile [$(cross-compiling) = no]: Likewise
33184 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33185 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33186 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33187 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33188 * io/Makefile [$(cross-compiling) = no]: Likewise.
33189 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33190 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33191 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33192 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33193 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33194 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33195 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33196 * string/Makefile [$(cross-compiling) = no]: Likewise.
33197
33198 * posix/Makefile ($(objpfx)globtest.out): Pass
33199 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33200 $(rtld-installed-name).
33201 * posix/globtest.sh (elf_objpfx): Remove variable.
33202 (rtld_installed_name): Likewise.
33203 (library_path): Likewise.
33204 (run_program_prefix): New variable. Use for running globtest
33205 binary.
33206
33207 2012-10-23 Jim Blandy <jimb@codesourcery.com>
33208 Joseph Myers <joseph@codesourcery.com>
33209
33210 * Makeconfig (host-built-program-cmd): New variable.
33211 * elf/Makefile (tst-stackguard1-ARGS): Use
33212 $(host-built-program-cmd).
33213 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33214 (tst-spawn-ARGS): Likewise.
33215 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33216
33217 2012-10-23 Joseph Myers <joseph@codesourcery.com>
33218 Jim Blandy <jimb@codesourcery.com>
33219
33220 * Makeconfig (run-via-rtld-prefix): New variable.
33221 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33222 (built-program-cmd): Likewise.
33223
33224 2012-10-22 Andreas Jaeger <aj@suse.de>
33225
33226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33227 __O_RSYNC if it exists, otherwise to O_SYNC.
33228
33229 2012-10-22 Jim Blandy <jimb@codesourcery.com>
33230 Joseph Myers <joseph@codesourcery.com>
33231
33232 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33233 /dev/null.
33234 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33235 from /dev/null
33236 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33237 /dev/null.
33238
33239 2012-10-22 Andreas Jaeger <aj@suse.de>
33240
33241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33242 Define always.
33243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33244
33245 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33246 bits/fcntl-linux.h.
33247
33248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33249 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33250
33251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33252 to __O_LARGEFILE.
33253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33254 to __O_LARGEFILE.
33255
33256 2012-10-21 Jim Blandy <jimb@codesourcery.com>
33257 Joseph Myers <joseph@codesourcery.com>
33258
33259 * config.make.in (NM): New variable.
33260
33261 2012-10-21 Andreas Jaeger <aj@suse.de>
33262
33263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33264 definitions and declarations that are provided by
33265 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33266
33267 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 [BZ #14683]
33270 * elf/Makefile (tests-static): Add tst-leaks1-static.
33271 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33272 ($(objpfx)tst-leaks1-static): New rule.
33273 ($(objpfx)tst-leaks1-static-mem): Likewise.
33274 (tst-leaks1-static-ENV): New macro.
33275 * elf/dl-open.c (dl_open_worker): Check the main application
33276 only if SHARED is defined.
33277 * elf/tst-leaks1-static.c: New file.
33278
33279 2012-10-20 Andreas Jaeger <aj@suse.de>
33280
33281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33282 generic values for Linux.
33283 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33284 and declarations that are provided by <bits/fcntl-linux.h> and
33285 include <bits/fcntl-linux.h>.
33286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33288
33289 2012-10-20 Roland McGrath <roland@hack.frob.com>
33290
33291 * io/fcntl.h: Move include of <bits/types.h> to the top and
33292 include it unconditionally.
33293
33294 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33295
33296 * wcsmbs/Makefile (tests-ifunc): New variable.
33297 (tests): Add $(tests-ifunc).
33298 * wcsmbs/test-wcschr-ifunc.c: New file.
33299 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33300 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33301 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33302 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33303 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33304
33305 * string/Makefile (tests-ifunc): New variable.
33306 (tests): Add $(tests-ifunc).
33307 * string/test-memccpy.c (TEST_NAME): New macro.
33308 * string/test-memchr.c (TEST_NAME): Likewise.
33309 * string/test-memcmp.c (TEST_NAME): Likewise.
33310 * string/test-memcpy.c (TEST_NAME): Likewise.
33311 * string/test-memmem.c (TEST_NAME): Likewise.
33312 * string/test-memmove.c (TEST_NAME): Likewise.
33313 * string/test-memset.c (TEST_NAME): Likewise.
33314 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33315 * string/test-stpcpy.c (TEST_NAME): Likewise.
33316 * string/test-stpncpy.c (TEST_NAME): Likewise.
33317 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33318 * string/test-strcasestr.c (TEST_NAME): Likewise.
33319 * string/test-strcat.c (TEST_NAME): Likewise.
33320 * string/test-strchr.c (TEST_NAME): Likewise.
33321 * string/test-strcmp.c(TEST_NAME): Likewise.
33322 * string/test-strcpy.c (TEST_NAME): Likewise.
33323 * string/test-strcspn.c (TEST_NAME): Likewise.
33324 * string/test-strlen.c (TEST_NAME): Likewise.
33325 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33326 * string/test-strncmp.c (TEST_NAME): Likewise.
33327 * string/test-strncpy.c (TEST_NAME): Likewise.
33328 * string/test-strnlen.c (TEST_NAME): Likewise.
33329 * string/test-strpbrk.c (TEST_NAME): Likewise.
33330 * string/test-strrchr.c (TEST_NAME): Likewise.
33331 * string/test-strspn.c (TEST_NAME): Likewise.
33332 * string/test-strstr.c (TEST_NAME): Likewise.
33333 * string/test-bcopy-ifunc.c: New file.
33334 * string/test-bzero-ifunc.c: Likewise.
33335 * string/test-memccpy-ifunc.c: Likewise.
33336 * string/test-memchr-ifunc.c: Likewise.
33337 * string/test-memcmp-ifunc.c: Likewise.
33338 * string/test-memcpy-ifunc.c: Likewise.
33339 * string/test-memmem-ifunc.c: Likewise.
33340 * string/test-memmove-ifunc.c: Likewise.
33341 * string/test-mempcpy-ifunc.c: Likewise.
33342 * string/test-memset-ifunc.c: Likewise.
33343 * string/test-rawmemchr-ifunc.c: Likewise.
33344 * string/test-stpcpy-ifunc.c: Likewise.
33345 * string/test-stpncpy-ifunc.c: Likewise.
33346 * string/test-strcasecmp-ifunc.c: Likewise.
33347 * string/test-strcasestr-ifunc.c: Likewise.
33348 * string/test-strcat-ifunc.c: Likewise.
33349 * string/test-strchr-ifunc.c: Likewise.
33350 * string/test-strchrnul-ifunc.c: Likewise.
33351 * string/test-strcmp-ifunc.c: Likewise.
33352 * string/test-strcpy-ifunc.c: Likewise.
33353 * string/test-strcspn-ifunc.c: Likewise.
33354 * string/test-strlen-ifunc.c: Likewise.
33355 * string/test-strncasecmp-ifunc.c: Likewise.
33356 * string/test-strncat-ifunc.c: Likewise.
33357 * string/test-strncmp-ifunc.c: Likewise.
33358 * string/test-strncpy-ifunc.c: Likewise.
33359 * string/test-strnlen-ifunc.c: Likewise.
33360 * string/test-strpbrk-ifunc.c: Likewise.
33361 * string/test-strrchr-ifunc.c: Likewise.
33362 * string/test-strspn-ifunc.c: Likewise.
33363 * string/test-strstr-ifunc.c: Likewise.
33364
33365 * debug/Makefile (tests-ifunc): New variable.
33366 (tests): Add $(tests-ifunc).
33367 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33368 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33369 * debug/test-stpcpy_chk-ifunc.c: New file.
33370 * debug/test-strcpy_chk-ifunc.c: Likewise.
33371
33372 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33373
33374 [BZ #13601]
33375 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33376 header is not read in.
33377
33378 2012-10-19 Joseph Myers <joseph@codesourcery.com>
33379
33380 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33381 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33382 directly. Pass built executable to script as
33383 $(built-program-cmd).
33384 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33385 $testprogram without using LD_LIBRARY_PATH and $ldso.
33386
33387 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33388 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33389 $(rtld-installed-name).
33390 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33391 (rtld_installed_name): Likewise.
33392 (library_path): Likewise.
33393 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33394 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33395 $(run-program-prefix) to tst-tables.sh.
33396 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33397 it to run tst-table-from and tst-table-to.
33398 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33399 Pass it to tst-table.sh.
33400 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33401 $(run-program-prefix) to tst-gettext.sh.
33402 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33403 tst-translit.sh.
33404 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33405 tst-gettext2.sh.
33406 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33407 to run tst-gettext.
33408 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33409 to run tst-gettext2.
33410 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33411 to run tst-translit.
33412 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33413 $(run-program-prefix) to tst-mtrace.sh.
33414 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33415 to run tst-mtrace.
33416 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33417 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33418 $(rtld-installed-name).
33419 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33420 (rtld_installed_name): Likewise.
33421 (run_program_prefix): New variable. Use it to run wordexp-test.
33422
33423 * Makeconfig (ARCH): Remove all definitions.
33424 (machine): Likewise.
33425 [ARCH]: Remove conditional code.
33426 [!objdir]: Give error.
33427 [!objdir] (objpfx): Remove.
33428 [!objdir] (common-objpfx): Likewise.
33429 [!objdir] (common-objdir): Likewise.
33430 * configure.in (config_makefile): Remove. Hardcode Makefile in
33431 AC_CONFIG_FILES call.
33432 * configure: Regenerated.
33433
33434 [BZ #13888]
33435 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33436 or TMPDIR.
33437 (testout): Likewise.
33438
33439 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33440 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33441 $(rtld-installed-name).
33442 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33443 (rtld_installed_name): Likwise.
33444 (runit): Remove function.
33445 (run_getconf): New variable, Use it for running getconf binary.
33446
33447 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33448
33449 [BZ #14716]
33450 * string/test-memmem.c (check_result): New function.
33451 (do_one_test): Use it.
33452 (check1): New function.
33453 (test_main): Use it.
33454
33455 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33456
33457 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33458
33459 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33460
33461 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33462 (_G_LSEEK64): Likewise.
33463 (_G_MMAP64): Likewise.
33464 (_G_FSTAT64): Likewise.
33465 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33466 (_G_LSEEK64): Likewise.
33467 (_G_MMAP64): Likewise.
33468 (_G_FSTAT64): Likewise.
33469 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33470 unconditional. Call __mmap64 directly.
33471 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33472 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33473 __lseek64 directly.
33474 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33475 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33476 __mmap64 directly.
33477 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33478 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33479 __lseek64 directly.
33480 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33481 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33482 __lseek64 directly.
33483 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33484 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33485 __lseek64 directly.
33486 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33487 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33488 __fxstat64 directly.
33489 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33490 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33491 unconditional.
33492 (freopen64) [!_G_OPEN64]: Remove conditional code.
33493 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33494 unconditional.
33495 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33496 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33497 unconditional.
33498 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33499 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33500 unconditional.
33501 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33502 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33503 unconditional.
33504 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33505 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33506 unconditional.
33507 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33508 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33509 unconditional.
33510 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33511 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33512 unconditional.
33513 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33514
33515 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33516
33517 [BZ #12140]
33518 * manual/memory.texi (Malloc Tunable Parameters): Add note
33519 about free list pointers overwriting some perturb bytes.
33520 Wording suggested by Roland McGrath.
33521
33522 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33523
33524 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33525 (lgamma_test): Likewise.
33526 (tgamma_test): Likewise.
33527
33528 2012-10-16 Florian Weimer <fweimer@redhat.com>
33529
33530 [BZ #14700]
33531 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33532 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33533
33534 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33535
33536 * NEWS: Mention BZ #14716.
33537 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33538 when removing AVAILABLE1_USES_J macro.
33539
33540 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33541
33542 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33543 (__bswap_64): __uint64_t for unsigned 64-bit int.
33544
33545 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33546
33547 * include/string.h (memmem): Declare libc hidden alias.
33548 * string/memmem.c (memmem): Define libc hidden alias.
33549 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33550 __read, __close instead of open, read, close.
33551
33552 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33553
33554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33555 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33556 global and hidden.
33557 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33558 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33559 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33560 Likewise.
33561 (__rawmemchr_sse2): Likewise.
33562 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33563 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33564 (__strchr_sse2): Likewise.
33565 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33566 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33567 (__strcasecmp_sse2): Likewise.
33568 (__strncasecmp_sse2): Likewise.
33569 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33570 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33571 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33572 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33573 (__strrchr_sse2): Likewise.
33574 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33575 ifunc-impl-list.c.
33576 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33577 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33578 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33579 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33580 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33581 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33582 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33583 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33584 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33585 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33586 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33587 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33588 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33589 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33590 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33591 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33592 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33593 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33594 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33595 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33596 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33597 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33598 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33599 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33600 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33602 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33603 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33604 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33605 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33606
33607 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33608 global and hidden.
33609 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33610 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33611 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33612 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33613 Likewise.
33614 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33615 Likewise.
33616 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33617 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33618 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33619 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33620 ifunc-impl-list.c.
33621 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33622 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33623 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33624 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33625 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33626 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33627 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33628 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33629 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33630 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33631 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33632 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33633 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33634 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33635 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33636 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33637 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33638 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33639 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33640 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33641 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33642 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33643 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33644 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33646 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33647 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33648 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33649 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33650 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33651 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33652 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33653 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33654 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33655 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33656 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33657 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33658 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33659 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33660 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33661 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33662
33663 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33664 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33665 * include/ifunc-impl-list.h: New file.
33666 * misc/ifunc-impl-list.c: Likewise.
33667 * misc/Makefile (routines): Add ifunc-impl-list.
33668 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33669 * string/test-string.h: Include <ifunc-impl-list.h>.
33670 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33671 TEST_NAME]: New variables.
33672 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33673 are defined.
33674 (test_init): Call __libc_ifunc_impl_list to initialize
33675 func_list if TEST_IFUNC and TEST_NAME are defined.
33676
33677 * string/Makefile (strop-tests): Add bcopy and bzero.
33678 * string/test-bcopy.c: New file.
33679 * string/test-bzero.c: Likewise.
33680 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33681 defined.
33682 * string/test-memset.c: Support bzero test if TEST_BZERO is
33683 defined.
33684 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33685 __libc_memmove.
33686 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33687 __libc_memset.
33688 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33689 of memset.
33690
33691 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33692
33693 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33694 * configure: Regenerated.
33695
33696 * Makeconfig (+link-static-before-libc): Don't include
33697 $(link-static-libc).
33698
33699 * libio/libio.h (_IO_pos_t): Remove.
33700
33701 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33702
33703 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33704 McGrath.
33705
33706 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33707
33708 * crypt/crypt-entry.c: Include fips-private.h.
33709 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33710 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33711 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33712 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33713
33714 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33715
33716 * crypt/crypt-private.h: Include stdbool.h.
33717 (_ufc_setup_salt_r): Return bool.
33718 * crypt/crypt-entry.c: Include errno.h.
33719 (__crypt_r): Return NULL with EINVAL for bad salt.
33720 * crypt/crypt_util.c (bad_for_salt): New.
33721 (_ufc_setup_salt_r): Check that salt is long enough and within
33722 the specified alphabet.
33723 * crypt/badsalttest.c: New file.
33724 * crypt/Makefile (tests): Add it.
33725 ($(objpfx)badsalttest): New.
33726
33727 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33728
33729 * NEWS: Add entry for BZ #14602.
33730
33731 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33732
33733 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33734 type-generic.
33735 * math/libm-test.inc: Update comment listing what functions and
33736 macros are tested.
33737 (isgreater_test): New function.
33738 (isgreaterequal_test): Likewise.
33739 (isless_test): Likewise.
33740 (islessequal_test): Likewise.
33741 (islessgreater_test): Likewise.
33742 (isunordered_test): Likewise.
33743 (main): Call the new functions.
33744
33745 2012-10-09 Roland McGrath <roland@hack.frob.com>
33746
33747 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33748 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33749 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33750 * sysdeps/i386/configure: Regenerated.
33751 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33752 * sysdeps/mach/configure: Regenerated.
33753 * sysdeps/mach/hurd/configure: Regenerated.
33754 * sysdeps/powerpc/configure: Regenerated.
33755 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33756 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33757 * sysdeps/s390/s390-32/configure: Regenerated.
33758 * sysdeps/s390/s390-64/configure: Regenerated.
33759 * sysdeps/sh/configure: Regenerated.
33760 * sysdeps/sparc/configure: Regenerated.
33761 * sysdeps/unix/sysv/linux/configure: Regenerated.
33762 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33763 * sysdeps/x86_64/configure: Regenerated.
33764
33765 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33766 defined. Don't check if MAP is NULL.
33767
33768 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33769
33770 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33771 (_G_stat64): Likewise.
33772 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33773 (_G_stat64): Likewise.
33774 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33775 instead of struct _G_stat64.
33776 * libio/fileops.c (mmap_remap_check): Likewise.
33777 (decide_maybe_mmap): Likewise.
33778 (_IO_new_file_seekoff): Likewise.
33779 (_IO_file_stat): Likewise.
33780 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33781 _G_off64_t.
33782 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33783 instead of struct _G_stat64.
33784 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33785
33786 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33787
33788 [BZ #14602]
33789 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33790 Replace with ...
33791 (CHECK_EOL): New macro.
33792 (two_way_short_needle): Check beginning of haystack for EOL. Use
33793 CHECK_EOL.
33794 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33795 Replace with CHECK_EOL.
33796 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33797 Replace with CHECK_EOL.
33798
33799 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33800
33801 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33802 type-generic.
33803 * math/libm-test.inc: Update comment listing what functions and
33804 macros are tested.
33805 (finite_test): New function.
33806 (isinf_test): Likewise.
33807 (isnan_test): Likewise.
33808 (fpclassify_test): Test subnormal input.
33809 (isfinite_test): Likewise.
33810 (isnormal_test): Likewise.
33811 (main): Call the new functions.
33812
33813 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33814
33815 [BZ #14660]
33816 * Makerules (%.dynsym): Force C locale when running
33817 $(OBJDUMP) --dynamic-syms.
33818
33819 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33820
33821 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33822 <stdint.h>.
33823
33824 2012-10-06 David S. Miller <davem@davemloft.net>
33825
33826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33827 upper 32-bits of the length value in %o2 since we use branch-on-register
33828 tests which consider the entire 64-bit register.
33829
33830 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33831
33832 * string/test-strstr.c (check2): Add a test for page boundary.
33833
33834 2012-10-05 David S. Miller <davem@davemloft.net>
33835
33836 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33837 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33838 file.
33839 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33840 sysdep_routines.
33841 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33842 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33843 and bzero when HWCAP_SPARC_CRYPTO is present.
33844
33845 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33846
33847 [BZ #14602]
33848 * string/test-strstr.c (check2): New function.
33849 (test_main): Call check2.
33850
33851 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33852 and bug-strchr1.
33853 * string/bug-strcasestr1.c (do_test): Moved to ...
33854 * string/test-strcasestr.c (check1): Here. New function.
33855 (do_one_test): Break out result checking code into ...
33856 (check_result): This. New function.
33857 (do_one_test): Call check_result.
33858 (test_main): Call check1.
33859 * string/bug-strchr1.c (do_test): Moved to ...
33860 * string/test-strchr.c (check1): Here. New function.
33861 (do_one_test): Break out result checking code into ...
33862 (check_result): This. New function.
33863 (do_one_test): Call check_result.
33864 (test_main): Call check1.
33865 * string/bug-strstr1.c (main): Moved to ...
33866 * string/test-strstr.c (check1): Here. New function.
33867 (do_one_test): Break out result checking code into ...
33868 (check_result): This. New function.
33869 (do_one_test): Call check_result.
33870 (test_main): Call check1.
33871 * string/bug-strcasestr1.c: Removed.
33872 * string/bug-strchr1.c: Likewise.
33873 * string/bug-strstr1.c: Likewise.
33874
33875 * elf/Makefile (dl-routines): Add hwcaps.
33876 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33877 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33878 (_dl_important_hwcaps): Moved to ...
33879 * elf/dl-hwcaps.c: Here. New file.
33880 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33881
33882 [BZ #14557]
33883 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33884 if IS_IN_rtld isn't defined.
33885
33886 * elf/dl-support.c (_dl_sysinfo_map): New.
33887 Include "get-dynamic-info.h" and "setup-vdso.h".
33888 (_dl_non_dynamic_init): Call setup_vdso.
33889 * elf/dynamic-link.h: Don't include <assert.h>.
33890 (elf_get_dynamic_info): Moved to ...
33891 * elf/get-dynamic-info.h: Here. New file.
33892 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33893 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33894 * elf/setup-vdso.h: Here. New file.
33895 * elf/rtld.c: Include "setup-vdso.h".
33896 (dl_main): Call setup_vdso.
33897
33898 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33899
33900 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33901 creal in comment listing functions tested. List finite, isinf,
33902 isnan, isless, islessequal, isgreater, isgreaterequal,
33903 islessgreater, isunordered, lgamma_r and pow10 as functions and
33904 macros not tested. Mention which functions not tested are aliases
33905 for other functions. Fix typo. Note that signs of NaNs are not
33906 tested.
33907
33908 * scripts/config.guess: Update from config.git.
33909 * scripts/config.sub: Likewise.
33910
33911 2012-10-04 Roland McGrath <roland@hack.frob.com>
33912
33913 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33914 * misc/madvise.c (madvise): Renamed to __madvise.
33915 Make madvise a weak alias.
33916 * include/sys/mman.h: Declare __madvise.
33917 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33918 * sysdeps/unix/syscalls.list
33919 (madvise): Make __madvise the strong name, and madvise a weak alias.
33920 * sysdeps/unix/sysv/linux/syscalls.list
33921 (madvise, mmap): Remove redundant entries.
33922 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33923 * malloc/malloc.c (mtrim): Likewise.
33924 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33925
33926 2012-10-03 Roland McGrath <roland@hack.frob.com>
33927
33928 * sysdeps/mach/hurd/dl-cache.c: File removed.
33929 * config.h.in (USE_LDCONFIG): New #undef.
33930 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33931 * configure: Regenerated.
33932 * elf/Makefile (dl-routines): Add dl-cache only under
33933 [$(use-ldconfig) = yes].
33934 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33935 cache on [USE_LDCONFIG].
33936 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33937 [USE_LDCONFIG].
33938 * elf/rtld.c (dl_main): Likewise.
33939
33940 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33941
33942 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33943 _SC_LEVEL4_CACHE_LINESIZE.
33944
33945 2012-10-03 Roland McGrath <roland@hack.frob.com>
33946
33947 * sysdeps/unix/bsd/confstr.h: File removed.
33948
33949 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33950
33951 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33952 sys/sdt-config.h.
33953
33954 2012-10-02 Roland McGrath <roland@hack.frob.com>
33955
33956 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33957 Make 'mapoff' field ElfW(Off) rather than off_t.
33958
33959 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33960
33961 * nscd/Makefile: Remove nscd-cflags and all its users.
33962 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33963 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33964
33965 [BZ #10631]
33966 * malloc.c (malloc_printerr): Clarify error message.
33967
33968 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33969
33970 [BZ #14648]
33971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33972 Set bit_FMA_Usable if FMA is supported.
33973 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33974 macro.
33975 (bit_FMA4_Usable): Updated.
33976 (index_FMA_Usable): New macro.
33977 (CPUID_FMA): Likewise
33978 (HAS_FMA): Defined with bit_FMA_Usable.
33979
33980 2012-10-01 Roland McGrath <roland@hack.frob.com>
33981
33982 * bits/types.h (__swblk_t): Type removed.
33983 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33984 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33986 (__SWBLK_T_TYPE): Likewise.
33987 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33988 (__SWBLK_T_TYPE): Likewise.
33989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33990 (__SWBLK_T_TYPE): Likewise.
33991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33992 (__SWBLK_T_TYPE): Likewise.
33993
33994 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33995 Honza Horak <hhorak@redhat.com>
33996
33997 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33998 (xdr_mapname): Use YPMAXMAP as maxsize.
33999 (xdr_peername): Use YPMAXPEER as maxsize.
34000 (xdr_keydat): Use YPAXRECORD as maxsize.
34001 (xdr_valdat): Use YPMAXRECORD as maxsize.
34002
34003 2012-10-01 Roland McGrath <roland@hack.frob.com>
34004
34005 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34006
34007 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34008 * csu/init-first.c: ... here.
34009 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34010 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34011 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34012 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34013 * sysdeps/i386/init-first.c: File removed.
34014 * sysdeps/sh/init-first.c: File removed.
34015
34016 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34017
34018 [BZ #14645]
34019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34020 if x * y might underflow to zero and z is zero.
34021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34023 * math/libm-test.inc (min_subnorm_value): New variable.
34024 (fma_test): Add more tests.
34025 (fma_test_towardzero): Likewise.
34026 (fma_test_downward): Likewise
34027 (fma_test_upward): Likewise.
34028 (initialize): Set min_subnorm_value.
34029
34030 2012-09-29 Joseph Myers <joseph@codesourcery.com>
34031
34032 [BZ #14638]
34033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34034 0 + 0.
34035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34036 mode for addition resulting in exact zero.
34037 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34039 exact 0 + 0.
34040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34042 * math/libm-test.inc (fma_test): Add more tests.
34043 (fma_test_towardzero): New function.
34044 (fma_test_downward): Likewise.
34045 (fma_test_upward): Likewise.
34046 (main): Call the new functions.
34047
34048 2012-09-28 David S. Miller <davem@davemloft.net>
34049
34050 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34051
34052 2012-09-28 Roland McGrath <roland@hack.frob.com>
34053
34054 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34055 instead of SIGALRM.
34056
34057 * sysdeps/gnu/_G_config.h: Moved to ...
34058 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34059 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34060 * sysdeps/generic/_G_config.h: ... here.
34061
34062 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34063
34064 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34065
34066 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34067 Conditionalize target on [libnss_test1.so-version].
34068
34069 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34070
34071 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34072 (elfobjdir): Move out of conditionals.
34073
34074 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34075 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34076 (__nss_lookup_function): Conditionalize label remove_from_tree on
34077 [!DO_STATIC_NSS || SHARED], matching its only use.
34078
34079 2012-09-28 David S. Miller <davem@davemloft.net>
34080
34081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34082 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34083 file.
34084 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34085 sysdep_routines.
34086 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34088 when HWCAP_SPARC_CRYPTO is present.
34089
34090 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34091
34092 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34093
34094 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34095
34096 [BZ #6530]
34097 * stdio-common/vfprintf.c (process_string_arg): Revert
34098 2000-07-22 change.
34099
34100 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34101
34102 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34103 for testcase.
34104 * stdio-common/tst-sprintf.c: Include <locale.h>
34105 (main): Test sprintf's handling of incomplete multibyte
34106 characters.
34107
34108 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34109
34110 * elf/dl-runtime.c (VERSYMIDX): Removed.
34111 * elf/dl-version.c (VERSYMIDX): Likewise.
34112 * elf/do-rel.h (VERSYMIDX): Likewise.
34113 (VALIDX): Likewise.
34114 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34115 * elf/rtld.c (VALIDX): Likewise.
34116 (ADDRIDX): Likewise.
34117 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34118 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34119 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34120 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34121 (VALIDX): Likewise.
34122 (ADDRIDX): Likewise.
34123
34124 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34125
34126 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34127
34128 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34129
34130 [BZ #11438]
34131 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34132 to global scope.
34133 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34134 addresses are in the same scope as 192.0.2/24.
34135 * posix/gai.conf: Document new scope table defaults.
34136
34137 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34138
34139 [BZ #5298]
34140 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34141 for ftell. Compute offsets from write pointers instead.
34142 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34143
34144 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34145
34146 [BZ #14543]
34147 * libio/Makefile (tests): New test case tst-fseek.
34148 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34149 combination works in wide mode.
34150 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34151 state when the external buffer state changes.
34152
34153 2012-09-27 David S. Miller <davem@davemloft.net>
34154
34155 [BZ #14376]
34156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34157 pass reloc->r_addend in as the 'high' argument to
34158 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34159
34160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34161
34162 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34163
34164 * rt/tst-aio2.c: Include <pthread.h>.
34165 * rt/tst-aio3.c: Likewise.
34166
34167 2012-09-27 Steve Ellcey <sellcey@mips.com>
34168
34169 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34170
34171 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34172
34173 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34174 contents on [SHARED].
34175
34176 2012-09-26 Marek Polacek <polacek@redhat.com>
34177
34178 [BZ #14530]
34179 [BZ #13741]
34180 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34181 for C++ and GCC <4.3 as well as for non GCC compilers.
34182
34183 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34184
34185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34186
34187 2012-09-25 Roland McGrath <roland@hack.frob.com>
34188
34189 * Makefile.in (all, install): Declare with .PHONY.
34190 Reported by Michael Hope <michael.hope@linaro.org>.
34191
34192 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34193
34194 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34195 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34196 system header.
34197 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34198 Likewise.
34199 (sydep_routines): Add the new and the internal functions.
34200 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34201 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34203 (GLIBC_2.17): Add the new function.
34204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34205 (GLIBC_2.17): Likewise.
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34207 (GLIBC_2.17): Likewise.
34208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34209 (GLIBC_2.17): Likewise.
34210 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34211
34212 2012-09-25 Alan Modra <amodra@gmail.com>
34213
34214 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34215 Add release barrier before setting once_control to say
34216 initialisation is done. Add hints on lwarx. Use macro in
34217 place of isync.
34218 (clear_once_control): Add release barrier.
34219
34220 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34221
34222 [BZ #13629]
34223 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34224 specially.
34225 * math/s_clog10.c (__clog10): Likewise.
34226 * math/s_clog10f.c (__clog10f): Likewise.
34227 * math/s_clog10l.c (__clog10l): Likewise.
34228 * math/s_clogf.c (__clogf): Likewise.
34229 * math/s_clogl.c (__clogl): Likewise.
34230 * math/Makefile (libm-calls): Add x2y2m1.
34231 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34232 (__x2y2m1): Likewise.
34233 (__x2y2m1l): Likewise.
34234 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34235 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34236 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34237 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34238 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34239 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34240 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34241 * sysdeps/i386/fpu/libm-test-ulps: Update.
34242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34243
34244 [BZ #14621]
34245 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34246 int as type of variable DEPTH.
34247 (glob): Use size_t instead of int as type of variables NEWCOUNT
34248 and OLD_PATHC.
34249
34250 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34251
34252 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34253 Add s_sincosf-sse2.
34254 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34255 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34256 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34257 macros for using routine as __sincosf_ia32.
34258 Use macro for function declaration and weak_alias.
34259 * sysdeps/i386/fpu/libm-test-ulps: Update.
34260
34261 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34263
34264 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34265 subnormal argument.
34266 * math/s_cexpf.c (__cexpf): Likewise.
34267 * math/s_csinf.c (__csinf): Likewise.
34268 * math/s_csinhf.c (__csinhf): Likewise.
34269 * math/s_ctanf.c (__ctanf): Likewise.
34270 * math/s_ctanhf.c (__ctanhf): Likewise.
34271 * math/s_ccosh.c (__ccoshf): Likewise.
34272 * math/s_cexp.c (__cexpl): Likewise.
34273 * math/s_csin.c (__csin): Likewise.
34274 * math/s_csinh.c (__csinh): Likewise.
34275 * math/s_ctan.c (__ctan): Likewise.
34276 * math/s_ctanh.c (ctanh): Likewise.
34277 * math/s_ccoshl.c (__ccoshl): Likewise.
34278 * math/s_cexpl.c (__cexpl): Likewise.
34279 * math/s_csinl.c (__csinl): Likewise.
34280 * math/s_csinhl.c (__csinhl): Likewise.
34281 * math/s_ctanl.c (__ctanl): Likewise.
34282 * math/s_ctanhl.c (__ctanhl): Likewise.
34283
34284 2012-09-25 Joseph Myers <joseph@codesourcery.com>
34285
34286 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34287 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34288 (_IO_off_t): Define to __off_t, not _G_off_t.
34289 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34290 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34291 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34292 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34293 type of __dummy and __dummy2 fields.
34294 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34295 (_G_ssize_t): Likewise.
34296 (_G_off_t): Likewise.
34297 (_G_pid_t): Likewise.
34298 (_G_uid_t): Likewise.
34299 (_G_wchar_t): Likewise.
34300 (_G_wint_t): Likewise.
34301 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34302 (_G_ssize_t): Likewise.
34303 (_G_off_t): Likewise.
34304 (_G_pid_t): Likewise.
34305 (_G_uid_t): Likewise.
34306 (_G_wchar_t): Likewise.
34307 (_G_wint_t): Likewise.
34308 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34309 (_G_ssize_t): Likewise.
34310 (_G_off_t): Likewise.
34311 (_G_pid_t): Likewise.
34312 (_G_uid_t): Likewise.
34313 (_G_wchar_t): Likewise.
34314 (_G_wint_t): Likewise.
34315
34316 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34317
34318 * malloc/arena.c: Include malloc-sysdep.h.
34319 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34320 is sufficient to shrink the heap or an unmap is needed.
34321 * sysdeps/generic/malloc-sysdep.h: New file. Define
34322 new function check_may_shrink_heap.
34323 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34324 new function check_may_shrink_heap.
34325
34326 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34327
34328 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34329 comments.
34330
34331 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34332
34333 * catgets/test-gencat.sh: Add "set -e".
34334 * elf/tst-pathopt.sh: Likewise.
34335 * grp/tst_fgetgrent.sh: Likewise.
34336 * iconvdata/run-iconv-test.sh: Likewise.
34337 * intl/tst-gettext.sh: Likewise.
34338 * intl/tst-gettext2.sh: Likewise.
34339 * intl/tst-gettext4.sh: Likewise.
34340 * intl/tst-gettext6.sh: Likewise.
34341 * intl/tst-translit.sh: Likewise.
34342 * io/ftwtest-sh: Likewise.
34343 * libio/test-freopen.sh: Likewise.
34344 * malloc/tst-mtrace.sh: Likewise.
34345 * posix/globtest.sh: Likewise.
34346 * posix/tst-getconf.sh: Likewise.
34347 * posix/wordexp-tst.sh: Likewise.
34348 * stdio-common/tst-printf.sh: Likewise.
34349 * stdio-common/tst-unbputc.sh: Likewise.
34350 * stdlib/tst-fmtmsg.sh: Likewise.
34351 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34352 * catgets/Makefile: Do not specify -e option when running
34353 testsuite shell scripts.
34354 * elf/Makefile: Likewise.
34355 * grp/Makefile: Likewise.
34356 * iconvdata/Makefile: Likewise.
34357 * intl/Makefile: Likewise.
34358 * io/Makefile: Likewise.
34359 * libio/Makefile: Likewise.
34360 * malloc/Makefile: Likewise.
34361 * posix/Makefile: Likewise.
34362 * stdio-common/Makefile: Likewise.
34363 * stdlib/Makefile: Likewise.
34364 * sysdeps/x86_64/Makefile: Likewise.
34365
34366 * io/ftwtest-sh: Add copyright header.
34367 * posix/globtest.sh: Likewise.
34368 * posix/tst-getconf.sh: Likewise.
34369 * posix/wordexp-tst.sh: Likewise.
34370 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34371
34372 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34373
34374 [BZ #13679]
34375 * Makeconfig (+link): Defined as $(+link-static) if
34376 $(build-shared) isn't yes.
34377 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34378 isn't yes.
34379 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34380
34381 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34382
34383 [BZ #14562]
34384 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34385 new chunk size with MALLOC_ALIGN_MASK.
34386
34387 2012-09-24 Joseph Myers <joseph@codesourcery.com>
34388
34389 [BZ #5044]
34390 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34391 <rounding-mode.h>.
34392 (__printf_fphex): Determine rounding using get_rounding_mode and
34393 round_away.
34394 * stdio-common/tst-printf-round.c (struct hex_test): New
34395 structure.
34396 (hex_tests): New variable.
34397 (test_hex_in_one_mode): New function.
34398 (do_test): Also run tests for hex float output.
34399
34400 2012-09-21 Joseph Myers <joseph@codesourcery.com>
34401
34402 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34403 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34404 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34405 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34406 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34407 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34408 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34409 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34410
34411 2012-09-20 Joseph Myers <joseph@codesourcery.com>
34412
34413 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34414 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34415 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34416 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34417
34418 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34419
34420 [BZ #14579]
34421 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34422 mode only.
34423 * elf/tst-rtld-load-self.sh: New test.
34424 * elf/Makefile: Run it.
34425
34426 2012-09-18 Joseph Myers <joseph@codesourcery.com>
34427
34428 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34429 (tst-writev-ENV): Remove.
34430 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34431
34432 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34433
34434 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34435
34436 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34437
34438 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34439 unconditional.
34440 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34441 Likewise.
34442 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34443 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34444 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34445 Likewise.
34446
34447 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34448
34449 [BZ #14587]
34450 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34451 * config.make.in (have-cpp-asm-debuginfo): Removed.
34452 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34453 * configure: Regenerated.
34454
34455 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34456
34457 [BZ #5044]
34458 * stdio-common/printf_fp.c: Include <stdbool.h> and
34459 <rounding-mode.h>.
34460 (___printf_fp): Determine rounding using get_rounding_mode and
34461 round_away.
34462 * stdio-common/tst-printf-round.c: New file.
34463 * stdio-common/Makefile (tests): Add tst-printf-round.
34464 (link-libm): New variable.
34465 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34466
34467 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34468
34469 [BZ #14576]
34470 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34471 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34472 Likewise.
34473 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34474 Likewise.
34475
34476 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34477
34478 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34479 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34480 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34481 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34482
34483 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34484
34485 [BZ #14518]
34486 * include/rounding-mode.h: New file.
34487 * sysdeps/generic/get-rounding-mode.h: Likewise.
34488 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34489 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34490 (MAX_VALUE): New macro.
34491 (MIN_VALUE): Likewise.
34492 (overflow_value): New function.
34493 (underflow_value): Likewise.
34494 (round_and_return): Use overflow_value and underflow_value to
34495 determine return values in overflow and underflow cases. Use
34496 round_away to determine rounding depending on rounding mode.
34497 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34498 determine return values in overflow and underflow cases.
34499 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34500 (struct test_results): New structure.
34501 (struct test): Use struct test_results to store expected results
34502 for all rounding modes.
34503 (TEST): Include expected results for all rounding modes.
34504 (test_in_one_mode): New function.
34505 (do_test): Use test_in_one_mode to compute and check results.
34506 Check results for all rounding modes.
34507 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34508 $(link-libm).
34509
34510 2012-12-09 Allan McRae <allan@archlinux.org>
34511
34512 * sysdeps/i386/fpu/libm-test-ulps: Update
34513
34514 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34515
34516 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34517 (_G_int32_t): Likewise.
34518 (_G_uint16_t): Likewise.
34519 (_G_uint32_t): Likewise.
34520 (_G_HAVE_BOOL): Likewise.
34521 (_G_HAVE_ATEXIT): Likewise.
34522 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34523 (_G_HAVE_IO_FILE_OPEN): Likewise.
34524 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34525 (_G_int32_t): Likewise.
34526 (_G_uint16_t): Likewise.
34527 (_G_uint32_t): Likewise.
34528 (_G_HAVE_BOOL): Likewise.
34529 (_G_HAVE_ATEXIT): Likewise.
34530 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34531 (_G_HAVE_IO_FILE_OPEN): Likewise.
34532 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34533 (_G_int32_t): Likewise.
34534 (_G_uint16_t): Likewise.
34535 (_G_uint32_t): Likewise.
34536 (_G_HAVE_BOOL): Likewise.
34537 (_G_HAVE_ATEXIT): Likewise.
34538 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34539 (_G_HAVE_IO_FILE_OPEN): Likewise.
34540
34541 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34542
34543 * csu/libc-tls.c: Update copyright years.
34544
34545 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34546
34547 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34548 [!_G_USING_THUNKS]: Remove conditional code.
34549 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34550 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34551
34552 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34553 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34554 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34555 (_G_VTABLE_LABEL_PREFIX): Likewise.
34556 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34557 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34558 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34559 (_G_VTABLE_LABEL_PREFIX): Likewise.
34560 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34561 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34563 (_G_VTABLE_LABEL_PREFIX): Likewise.
34564 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34565
34566 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34567
34568 * libio/Makefile: Include ../Makeconfig before tests.
34569 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34570 only if $(build-shared) is yes.
34571
34572 * iconv/gconv_db.c: Update copyright years.
34573
34574 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34575
34576 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34577 unwind info if defined PIC. Fix special cases description.
34578 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34579
34580 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34581 DP_HI_MASK entry.
34582 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34583
34584 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34585
34586 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34587
34588 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34589 is NULL.
34590
34591 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34592 (LDLIBS-tst-chk4): This.
34593 (LDFLAGS-tst-chk5): Renamed to ...
34594 (LDLIBS-tst-chk5): This.
34595 (LDFLAGS-tst-chk6): Renamed to ...
34596 (LDLIBS-tst-chk6): This.
34597 (LDFLAGS-tst-lfschk4): Renamed to ...
34598 (LDLIBS-tst-lfschk4): This.
34599 (LDFLAGS-tst-lfschk5): Renamed to ...
34600 (LDLIBS-tst-lfschk5): This.
34601 (LDFLAGS-tst-lfschk6): Renamed to ...
34602 (LDLIBS-tst-lfschk6): This.
34603
34604 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34605 on $(common-objpfx)soversions.mk.
34606
34607 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34608
34609 [BZ #10014]
34610 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34611 example host name.
34612
34613 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34614
34615 * malloc/arena.c (arena_get_retry): New function that gets
34616 another arena for the caller to try its request on.
34617 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34618 current arena cannot fulfill the request.
34619 (__libc_memalign): Likewise.
34620 (__libc_memalign): Likewise.
34621 (__libc_pvalloc): Likewise.
34622 (__libc_calloc): Likewise.
34623
34624 2012-09-05 John Tobey <john.tobey@gmail.com>
34625
34626 [BZ #13542]
34627 * manual/arith.texi (Operations on Complex): Fix description
34628 of carg branch cut.
34629
34630 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34631
34632 [BZ #10014]
34633 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34634 host name.
34635
34636 [BZ #10038]
34637 * manual/memory.texi (Memory): Make order of menu items match
34638 order of sections.
34639
34640 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34641
34642 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34643 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34644 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34645
34646 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34647
34648 * csu/libc-tls.c (static_dtv): Renamed to ...
34649 (_dl_static_dtv): This. Make it global.
34650 (_dl_initial_dtv): Removed.
34651 (__libc_setup_tls): Updated.
34652 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34653 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34654 DL_INITIAL_DTV.
34655
34656 2012-09-06 Petr Machata <pmachata@redhat.com>
34657
34658 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34659 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34660 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34661 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34662
34663 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34664
34665 [BZ #14545]
34666 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34667 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34668 freeing dtv[-1].
34669
34670 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34671
34672 [BZ #14544]
34673 * Makeconfig (link-static-before-libc): Replace $(+prector)
34674 with $(+prectorT).
34675 (link-static-after-libc): Replace $(+postctor) with
34676 $(+postctorT).
34677 (link-bounded): Replace $(+prector)/$(+postctor) with
34678 $(+prectorT)/$(+postctorT).
34679 (+prectorT): New macro.
34680 (+postctorT): Likewise.
34681
34682 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34683
34684 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34685 (round_str): Handle values above the maximum for IBM long double
34686 as inexact.
34687 * stdlib/tst-strtod-round.c (tests): Regenerated.
34688
34689 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34690
34691 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34692 assembler flag.
34693 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34694 zarch_nohighgprs around the zarch optimized routines.
34695 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34696 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34697 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34698 for zarch.
34699
34700 2012-09-05 David S. Miller <davem@davemloft.net>
34701
34702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34703
34704 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34705 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34706 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34707 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34708 entries.
34709
34710 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34711
34712 * malloc/arena.c: Fold copyright years.
34713 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34714
34715 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34716
34717 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34718
34719 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34720
34721 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34722
34723 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34724
34725 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34726 change internal state upon failure.
34727
34728 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34729
34730 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34731 * malloc/memusage.c (mmap): Likewise.
34732 (mmap64, mremap): Likewise. Adjust name in comment.
34733
34734 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34735
34736 * libio/fileops.c: Fix typos in comments.
34737 * libio/oldfileops.c: Likewise.
34738 * libio/wfileops.c: Likewise.
34739
34740 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34741
34742 [BZ #1349]
34743 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34744 (tst-malloc-usable-ENV): Set environment for test case.
34745 * malloc/hooks.c (malloc_check_get_size): New function to get
34746 requested size.
34747 * malloc/malloc.c (musable): Use malloc_check_get_size.
34748 * malloc/tst-malloc-usable.c: New test case.
34749
34750 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34751
34752 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34753
34754 2012-09-05 Allan McRae <allan@archlinux.org>
34755
34756 [BZ #13966]
34757 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34758 determine header location.
34759 * configure: Regenerated.
34760
34761 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34762
34763 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34764 float format.
34765 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34766 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34767 format.
34768 (test): Regenerate.
34769
34770 2012-09-04 David S. Miller <davem@davemloft.net>
34771
34772 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34773 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34774 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34775
34776 2012-09-04 Florian Weimer <fweimer@redhat.com>
34777
34778 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34779 failures.
34780
34781 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34782
34783 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34784
34785 [BZ #9914]
34786 * libio/iogetdelim.c: Include <limits.h>.
34787 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34788 + len + 1 would overflow.
34789
34790 2012-09-03 Andreas Jaeger <aj@suse.de>
34791
34792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34793 * sysdeps/i386/fpu/libm-test-ulps: Update.
34794
34795 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34796
34797 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34798 Add s_sinf-sse2, s_conf-sse2.
34799
34800 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34801 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34802 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34803 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34804
34805 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34806 for using routine as __sinf_ia32.
34807 Use macro for function declaration and weak_alias.
34808 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34809 for using routine as __cosf_ia32.
34810 Use macro for function declaration and weak_alias.
34811
34812 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34813 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34814
34815 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34816 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34818
34819 * math/libm-test.inc (cos_test): Add more test cases.
34820 (sin_test): Likewise.
34821 (sincos_test): Likewise.
34822
34823 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34824
34825 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34826 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34827 hidden.
34828 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34829
34830 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34831
34832 [BZ #14538]
34833 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34834 first element of the GOT.
34835 (elf_machine_load_address): Return the difference between
34836 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34837
34838 2012-09-01 Allan McRae <allan@archlinux.org>
34839
34840 [BZ #13412]
34841 * configure.in (AWK): Require gawk version 3.0 or later.
34842 * configure: Regenerated.
34843
34844 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34845
34846 * sysdeps/unix/sysv/linux/kernel-features.h
34847 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34848 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34849 [__NR_clock_getres]: Make code unconditional.
34850 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34851 (clock_getcpuclockid): Remove code left unreachable by removal of
34852 conditionals.
34853 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34854 code unconditional.
34855 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34856 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34857 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34858 Make code unconditional.
34859 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34860 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34861 * sysdeps/unix/sysv/linux/clock_settime.c
34862 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34863 conditional code.
34864 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34865 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34866
34867 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34868
34869 [BZ #14476]
34870 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34871 scripts/test-installation.pl.
34872
34873 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34874 and $ld_so_version if it is set.
34875
34876 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34877
34878 [BZ #14516]
34879 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34880 failure if reading from procfs failed.
34881 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34882
34883 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34884
34885 * sysdeps/unix/sysv/linux/kernel-features.h
34886 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34887 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34888 Remove conditional code.
34889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34890 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34891 Remove conditional code.
34892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34893 * sysdeps/unix/sysv/linux/i386/fxstat.c
34894 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34896 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34897 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34899 * sysdeps/unix/sysv/linux/i386/lxstat.c
34900 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34902 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34903 Remove conditional code.
34904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34905 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34906 Remove conditional code.
34907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34908 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34909 <kernel-features.h>.
34910 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34911 Remove.
34912 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34913 Remove conditional code.
34914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34915 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34916 Remove conditional.
34917
34918 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34919
34920 [BZ #5400]
34921 * NEWS: Add fixed bug number.
34922
34923 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34924
34925 [BZ #14519]
34926 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34927 underflowing exponent in case of negative sign.
34928 * stdlib/tst-strtod-round-data: Add more tests.
34929 * stdlib/tst-strtod-round.c (tests): Regenerated.
34930
34931 [BZ #3479]
34932 * stdlib/strtod_l.c (NDIG): Remove.
34933 (HEXNDIG): Likewise.
34934 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34935 smallest representable value.
34936 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34937 lie within an exact representation of 1/2 ulp of the result.
34938 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34939 unconditionally.
34940 (TENS_P9_IDX): Define unconditionally.
34941 (TENS_P9_SIZE): Likewise.
34942 (TENS_P10_IDX): Likewise.
34943 (TENS_P10_SIZE): Likewise.
34944 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34945 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34946 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34947 entries for 10^2^13 and 10^2^14.
34948 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34949 (TENS_P13_IDX): Define.
34950 (TENS_P13_SIZE): Likewise.
34951 (TENS_P14_IDX): Likewise.
34952 (TENS_P14_SIZE): Likewise.
34953 (_fpioconst_pow10): Change array size to
34954 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34955 unconditional.
34956 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34957 1024]: Add entries for 10^2^13 and 10^2^14.
34958 [LAST_POW10 > _LAST_POW10]: Remove #error.
34959 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34960 (_fpioconst_pow10): Change array size to
34961 FPIOCONST_POW10_ARRAY_SIZE.
34962 * stdlib/gen-fpioconst.c: New file.
34963 * stdlib/gen-tst-strtod-round.c: Likewise.
34964 * stdlib/tst-strtod-round-data: Likewise.
34965 * stdlib/tst-strtod-round.c: Likewise.
34966 * stdlib/Makefile (tests): Add tst-strtod-round.
34967
34968 [BZ #14459]
34969 * stdlib/strtod_l.c: Include <stdint.h>.
34970 (NDEBUG): Do not define.
34971 (round_and_return): Change EXPONENT parameter to type intmax_t.
34972 Rearrange calculations to avoid internal overflow possibilities.
34973 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34974 Rearrange calculations to avoid internal overflow possibilities.
34975 Assert that number fits inside MPNSIZE limbs.
34976 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34977 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34978 calculations and add assertions to avoid internal overflow
34979 possibilities. Add casts to avoid signed/unsigned operations.
34980 * stdlib/tst-strtod-overflow.c: New file.
34981 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34982
34983 2012-08-25 Marek Polacek <polacek@redhat.com>
34984
34985 * time/time.h: Fix some typos in comments.
34986
34987 2012-08-23 Roland McGrath <roland@hack.frob.com>
34988
34989 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34990 * posix/tst-rfc3484-2.c: Likewise.
34991 * posix/tst-rfc3484-3.c: Likewise.
34992
34993 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34994
34995 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34996 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34997
34998 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34999
35000 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35001 #include of fxstatat64.c.
35002
35003 2012-08-22 Roland McGrath <roland@hack.frob.com>
35004
35005 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35006 * shadow/getspent_r.c: Likewise.
35007 * shadow/getspnam.c: Likewise.
35008 * shadow/getspnam_r.c: Likewise.
35009 * gshadow/getsgent.c: Likewise.
35010 * gshadow/getsgent_r.c: Likewise.
35011 * gshadow/getsgnam.c: Likewise.
35012 * gshadow/getsgnam_r.c: Likewise.
35013 * inet/getnetbyad.c: Likewise.
35014 * inet/getnetbyad_r.c: Likewise.
35015 * inet/getnetbynm.c: Likewise.
35016 * inet/getnetbynm_r.c: Likewise.
35017 * inet/getnetent.c: Likewise.
35018 * inet/getnetent_r.c: Likewise.
35019 * inet/getproto.c: Likewise.
35020 * inet/getproto_r.c: Likewise.
35021 * inet/getprtent.c: Likewise.
35022 * inet/getprtent_r.c: Likewise.
35023 * inet/getprtname.c: Likewise.
35024 * inet/getprtname_r.c: Likewise.
35025 * inet/getrpcbyname.c: Likewise.
35026 * inet/getrpcbyname_r.c: Likewise.
35027 * inet/getrpcbynumber.c: Likewise.
35028 * inet/getrpcbynumber_r.c: Likewise.
35029 * inet/getrpcent.c: Likewise.
35030 * inet/getrpcent_r.c: Likewise.
35031 * inet/getaliasent.c: Likewise.
35032 * inet/getaliasent_r.c: Likewise.
35033 * inet/getaliasname.c: Likewise.
35034 * inet/getaliasname_r.c: Likewise.
35035 * nscd/getgrgid_r.c: Likewise.
35036 * nscd/getgrnam_r.c: Likewise.
35037 * nscd/gethstbyad_r.c: Likewise.
35038 * nscd/gethstbynm3_r.c: Likewise.
35039 * nscd/getpwnam_r.c: Likewise.
35040 * nscd/getpwuid_r.c: Likewise.
35041 * nscd/getsrvbynm_r.c: Likewise.
35042 * nscd/getsrvbypt_r.c: Likewise.
35043 * nscd/gai.c: Likewise.
35044
35045 * configure.in (build_nscd): New substituted variable, set
35046 by --disable-build-nscd and defaults to $use_nscd.
35047 * configure: Regenerated.
35048 * config.make.in (build-nscd): New substituted variable.
35049 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35050 Change conditional to require [$(build-nscd) = yes] as well.
35051 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35052
35053 [BZ# 13696]
35054 * configure.in (use_nscd): New substituted variable, set by
35055 --disable-nscd. If enabled, define USE_NSCD.
35056 * configure: Regenerated.
35057 * config.h.in: Add USE_NSCD.
35058 * config.make.in (use-nscd): New substituted variable.
35059 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35060 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35061 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35062 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35063 (CFLAGS-getgrnam_r.c): Likewise.
35064 (CFLAGS-initgroups.c): Likewise.
35065 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35066 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35067 Variables removed.
35068 * inet/getnetgrent_r.c
35069 (nscd_setnetgrent): New function, broken out of ...
35070 (setnetgrent): ... here. Call it.
35071 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35072 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35073 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35074 * nscd/Makefile (routines, aux): Move definitions after include of
35075 Makeconfig. Conditionalize on [$(use-nscd) != no].
35076 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35077 Conditionalize on [USE_NSCD].
35078 (is_nscd, nscd_init_cb): Likewise.
35079 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35080 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35081 * nss/nss_db/db-init.c: Likewise.
35082 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35083 [USE_NSCD].
35084 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35085 (make_request): Use it.
35086 (cache_valid_p): New function.
35087 (__check_pf): Use it.
35088 * NEWS: Add item for --disable-nscd.
35089
35090 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35091
35092 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35093 to support sed >= 4.2.1-20-ga9bf076.
35094 * configure: Regenerated.
35095
35096 2012-08-22 Roland McGrath <roland@hack.frob.com>
35097
35098 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35099 Conditionalize whole body on [IREL].
35100
35101 2012-08-22 Jeff Law <law@redhat.com>
35102
35103 [BZ #14505]
35104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35105 if the family is PF_UNSPEC.
35106
35107 2012-08-22 Mike Frysinger <vapier@gentoo.org>
35108
35109 * Makerules (lib-version): Rename from V.
35110 (install-lib-nosubdir): Change V to lib-version.
35111
35112 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35113
35114 [BZ #14252]
35115 * powerpc32/power6/wcschr.c: New file.
35116 * powerpc32/power6/wcscpy.c: New file.
35117 * powerpc32/power6/wcsrchr.c: New file.
35118 * powerpc64/power6/wcschr.c: New file.
35119 * powerpc64/power6/wcscpy.c: New file.
35120 * powerpc64/power6/wcsrchr.c: New file.
35121
35122 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35123
35124 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35125 (two_way_short_needle): Use it.
35126 * string/strstr.c (AVAILABLE1_USES_J): Define.
35127 * string/strcasestr.c: Likewise.
35128
35129 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35130 array references.
35131 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35132
35133 [BZ #11607]
35134 * NEWS: Add an entry.
35135 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35136 define their defaults.
35137 (two_way_short_needle): Detect end-of-string on-the-fly.
35138 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35139 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35140 * string/bug-strcasestr1.c: New test.
35141 * string/Makefile: Run it.
35142
35143 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35144
35145 [BZ #11607]
35146 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35147 the first character.
35148
35149 2012-08-21 Roland McGrath <roland@hack.frob.com>
35150
35151 * csu/elf-init.c (__libc_csu_irel): Function removed.
35152 * csu/libc-start.c (apply_irel): New function.
35153 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35154
35155 2012-08-21 Joseph Myers <joseph@codesourcery.com>
35156
35157 * sysdeps/unix/sysv/linux/kernel-features.h
35158 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35159 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35160 <kernel-features.h>.
35161 [__NR_fadvise64_64]: Make code unconditional.
35162 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35163 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35164 !__NR_fadvise64_64)]: Likewise.
35165 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35166 !__NR_fadvise64_64))]: Likewise.
35167 [__NR_fadvise64]: Make code unconditional.
35168 [!__NR_fadvise64]: Remove conditional code.
35169 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35170 <kernel-features.h>.
35171 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35172 unconditional.
35173 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35174 conditional code.
35175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35176 not include <kernel-features.h>.
35177 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35178 unconditional.
35179 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35180 conditional code.
35181 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35182 include <kernel-features.h>.
35183 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35184 unconditional.
35185 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35186 conditional code.
35187
35188 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35189
35190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35191 slight instruction rearrangements per scrollpipe analysis.
35192 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35193
35194 2012-08-20 Roland McGrath <roland@hack.frob.com>
35195
35196 * manual/syslog.texi (syslog; vsyslog, closelog):
35197 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35198 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35199
35200 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35201 DSOCAPS to match condition on defining it.
35202
35203 2012-08-20 Joseph Myers <joseph@codesourcery.com>
35204
35205 * sysdeps/unix/sysv/linux/kernel-features.h
35206 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35208 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35209 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35211 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35212 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35214 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35215 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35216
35217 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35218 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35219
35220 * sysdeps/unix/sysv/linux/kernel-features.h
35221 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35222 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35223 unconditional.
35224 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35225 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35226 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35227 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35228 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35229 Make code unconditional.
35230 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35231 (__mmap64) [!__NR_mmap2]: Likewise.
35232 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35233 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35234 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35235 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35236 [__NR_mmap2]: Make code unconditional.
35237 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35238 (__mmap64) [!__NR_mmap2]: Likewise.
35239
35240 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35241
35242 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35243
35244 2012-08-18 Andreas Jaeger <aj@suse.de>
35245
35246 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35247
35248 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35249
35250 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35251 * include/unistd.h (__have_sock_cloexec): Likewise.
35252 (__have_pipe2): Likewise.
35253 (__have_dup3): Likewise.
35254
35255 2012-08-18 Mike Frysinger <vapier@gentoo.org>
35256
35257 [BZ #9685]
35258 * include/unistd.h (__have_pipe2): Change define into an extern int.
35259 (__have_dup3): Likewise.
35260 * socket/have_sock_cloexec.c: Include fcntl.h.
35261 (__have_pipe2): New variable.
35262 (__have_dup3): Likewise.
35263
35264 2012-08-17 Mike Frysinger <vapier@gentoo.org>
35265
35266 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35267
35268 2012-08-17 Marek Polacek <polacek@redhat.com>
35269
35270 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35271 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35272
35273 2012-08-17 Roland McGrath <roland@hack.frob.com>
35274
35275 * configure.in: Add AC_SUBST for sysheaders.
35276 * configure: Regenerated.
35277 * config.make.in (sysheaders): New substituted variable.
35278
35279 * sysdeps/unix/mkfifo.c: Moved ...
35280 * sysdeps/posix/mkfifo.c: ... here.
35281 * sysdeps/unix/mkfifoat.c: Moved ...
35282 * sysdeps/posix/mkfifoat.c: ... here.
35283
35284 * sysdeps/unix/utime.c: Moved ...
35285 * sysdeps/posix/utime.c: ... here.
35286
35287 * sysdeps/unix/time.c: Moved ...
35288 * sysdeps/posix/time.c: ... here.
35289 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35290 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35291
35292 * sysdeps/unix/nice.c: Moved ...
35293 * sysdeps/posix/nice.c: ... here.
35294
35295 * sysdeps/unix/alarm.c: Moved ...
35296 * sysdeps/posix/alarm.c: ... here.
35297
35298 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35299
35300 2012-08-17 Jeff Law <law@redhat.com>
35301
35302 * intl/Makefile (codeset_mo): New variable.
35303 ($(codeset_mo)): New target.
35304 (tst-codeset.out): Depend on that. Remove explicit rule.
35305 (tst-gettext3.out, tst-gettext5.out): Likewise.
35306 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35307 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35308 * intl/tst-codeset.sh: Remove.
35309 * intl/tst-gettext3.sh: Likewise.
35310 * intl/tst-gettext5.sh: Likewise.
35311
35312 2012-08-17 Roland McGrath <roland@hack.frob.com>
35313
35314 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35315 * sysdeps/unix/syscalls.list: ... here.
35316
35317 * sysdeps/posix/getaddrinfo.c
35318 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35319 (gaiconf_init, gaiconf_reload): Use them.
35320 [!_STATBUF_ST_NSEC]
35321 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35322 Define using time_t rather than struct timespec.
35323
35324 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35325 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35326 Macros removed.
35327 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35328 [!NO_THREADS].
35329 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35330 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35331 Likewise.
35332
35333 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35334 __libc_cleanup_push argument.
35335
35336 * bits/param.h: New file.
35337 * misc/sys/param.h: New file.
35338 * include/sys/param.h: New file.
35339 * misc/Makefile (headers): Add bits/param.h.
35340 * sysdeps/generic/sys/param.h: File removed.
35341 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35342 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35343 * sysdeps/mach/hurd/bits/param.h: New file.
35344 * sysdeps/mach/hurd/sys/param.h: File removed.
35345
35346 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35347 last change.
35348
35349 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35350 [_IO_MTSAFE_IO].
35351 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35352 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35353 New macros.
35354
35355 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35356 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35357 rather than -D_IO_MTSAFE_IO conditionally.
35358 * stdio-common/Makefile (CPPFLAGS): Likewise.
35359 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35360 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35361 Use $(libio-mtsafe).
35362 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35363 of -D_IO_MTSAFE_IO.
35364 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35365 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35366 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35367 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35368 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35369 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35370 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35371 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35372 (CFLAGS-fread_u_chk.c): Likewise.
35373 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35374 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35375 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35376 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35377 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35378 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35379 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35380 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35381 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35382
35383 * libio/Makefile: Test [$(libc-reentrant) = yes]
35384 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35385
35386 * Makeconfig
35387 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35388 * sysdeps/pthread/configure: File removed.
35389 * sysdeps/pthread/Makeconfig: New file.
35390 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35391 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35392
35393 2012-08-16 Gary Benson <gbenson@redhat.com>
35394
35395 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35396 unmapping the first object in a namespace.
35397
35398 2012-08-16 Roland McGrath <roland@hack.frob.com>
35399
35400 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35401 (__internal_setnetgrent): ... this. Add internal_function to
35402 definition. Add libc_hidden_def.
35403 (setnetgrent): Update caller.
35404 (internal_endnetgrent): Renamed to ...
35405 (__internal_endnetgrent): ... this. Add internal_function to
35406 definition. Add libc_hidden_def.
35407 (endnetgrent): Update caller.
35408 (internal_getnetgrent_r): Renamed to ...
35409 (__internal_getnetgrent_r): ... this. Add internal_function to
35410 definition. Add libc_hidden_def.
35411 (__getnetgrent_r): Update caller.
35412 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35413
35414 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35415
35416 * stdlib/longlong.h: Update from GCC.
35417
35418 2012-08-16 Roland McGrath <roland@hack.frob.com>
35419
35420 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35421 on _QL, which is set by umul_ppmm but never used.
35422 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35423 variables, which are set by GMP macros but never used.
35424 * stdio-common/_itowa.c (_itowa): Likewise.
35425 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35426 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35427
35428 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35429
35430 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35431 struct La_sh_regs is not constant.
35432 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35433 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35434 and struct La_sparc64_regs are not constant.
35435
35436 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35437
35438 * sysdeps/unix/sysv/linux/kernel-features.h
35439 (__ASSUME_POSIX_TIMERS): Remove.
35440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35441 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35442 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35443 Make code unconditional.
35444 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35445 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35446 Make code unconditional.
35447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35448 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35449 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35451 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35452 Make code unconditional.
35453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35454 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35455 (__libc_missing_posix_timers): Remove.
35456
35457 2012-08-15 Roland McGrath <roland@hack.frob.com>
35458
35459 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35460 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35461
35462 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35463
35464 * elf/dl-sym.c: Include <stdlib.h>.
35465
35466 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35467 constants, which avoids warnings in 32-bit builds.
35468
35469 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35470 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35471
35472 * misc/lseek.c: File moved to ...
35473 * io/lseek.c: ... here.
35474
35475 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35476
35477 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35478 shifting LEN more than 31 bits at once.
35479
35480 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35481
35482 [BZ #14195]
35483 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35484 segmentation fault for a case of two empty input strings.
35485 * string/test-strncasecmp.c (check1): Renamed to...
35486 (bz12205): ...this.
35487 (bz14195): Add new testcase for two empty input strings and N > 0.
35488 (test_main): Call new testcase, adapt for renamed function.
35489
35490 2012-08-15 Andreas Jaeger <aj@suse.de>
35491
35492 [BZ #14090]
35493 * crypt/md5test2.c: New test, based on test supplied by Serge
35494 Belyshev <belyshev@depni.sinp.msu.ru>.
35495 * crypt/Makefile (xtests): Add md5test-giant..
35496 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35497
35498 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35499
35500 [BZ #14090]
35501 * crypt/md5.c (md5_process_block): Don't assume the buffer
35502 length is less than 2**32.
35503 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35504 length is less than 2**64.
35505
35506 2012-08-15 Roland McGrath <roland@hack.frob.com>
35507
35508 * string/str-two-way.h: Include <sys/param.h>.
35509 (MAX): Macro removed.
35510
35511 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35512 Move #define and #undef of memmove to just before and after
35513 including <string.h>.
35514
35515 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35516 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35517 and after including <string.h>. Move declarations of
35518 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35519 to before #include "string/memmove.c".
35520
35521 * include/dirent.h: Declare __getdirentries.
35522
35523 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35524 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35525
35526 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35527
35528 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35529 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35530 * sysdeps/i386/configure: Regenerated.
35531 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35532 STABS_CURRENT_FILE, and STABS_FUN.
35533 (END): Remove call to STABS_FUN_END.
35534 (STABS_CURRENT_FILE1): Delete.
35535 (STABS_CURRENT_FILE): Likewise.
35536 (STABS_FUN): Likewise.
35537 (STABS_FUN_END): Likewise.
35538 (STABS_FUN2): Likewise.
35539 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35540 * sysdeps/x86_64/configure: Regenerated.
35541
35542 2012-08-14 Roland McGrath <roland@hack.frob.com>
35543
35544 * elf/dl-open.c: Include <atomic.h>.
35545 * elf/dl-lookup.c: Likewise.
35546
35547 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35548
35549 * sysdeps/unix/sysv/linux/kernel-features.h
35550 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35551 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35552 unconditionally.
35553 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35554 unconditionally.
35555 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35556 condition on __ASSUME_CLONE_THREAD_FLAGS.
35557
35558 2012-08-14 Andreas Jaeger <aj@suse.de>
35559
35560 * sysdeps/i386/fpu/libm-test-ulps: Update.
35561
35562 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35563
35564 * include/atomic.h (atomic_exchange_and_add): Split into ...
35565 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35566 New atomic macros.
35567
35568 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35569
35570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35571
35572 2012-08-13 Jeff Law <law@redhat.com>
35573
35574 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35575 null byte in the output string.
35576
35577 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35578
35579 * sysdeps/unix/sysv/linux/kernel-features.h
35580 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35581 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35582 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35583 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35584 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35585 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35586 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35587
35588 2012-08-09 Jeff Law <law@redhat.com>
35589
35590 [BZ #13939]
35591 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35592 When avoid_arena is set, don't retry in the that arena. Pick the
35593 next one, whatever it might be.
35594 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35595 (arena_lock): Pass in new parameter to arena_get2.
35596 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35597 arena_get2.
35598 (__libc_malloc): Unify retrying after main arena failure with
35599 __libc_memalign version.
35600 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35601
35602 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35603
35604 [BZ #14166]
35605 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35606 to __redirect_strstr.
35607 (__strstr_sse42): Use typeof __redirect_strstr.
35608 (__strstr_ia32): Likewise.
35609 (__libc_strstr): New prototype.
35610 (strstr): Renamed to ...
35611 (__libc_strstr): This.
35612 (strstr): New strong alias of __libc_strstr.
35613 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35614 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35615 __redirect_time.
35616 Include <time.h>.
35617 (__libc_time): New prototype.
35618 (time_ifunc): Replace time with __libc_time.
35619 (time): New strong alias and hidden definition of __libc_time.
35620 (__GI_time): Remove strong alias.
35621 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35622 Include <stddef.h>.
35623 (memmove): Redefined to __redirect_memmove.
35624 (__memmove_sse2): Use typeof __redirect_memmove.
35625 (__memmove_ssse3): Likewise.
35626 (__memmove_ssse3_back): Likewise.
35627 (__libc_memmove): New prototype.
35628 (memmove): Renamed to ...
35629 (__libc_memmove): This.
35630 (memmove): New strong alias of __libc_memmove.
35631
35632 2012-08-08 Mark Salter <msalter@redhat.com>
35633
35634 * elf/elf.h
35635 (R_MN10300_TLS_GD): Define.
35636 (R_MN10300_TLS_LD): Likewise.
35637 (R_MN10300_TLS_LDO): Likewise.
35638 (R_MN10300_TLS_GOTIE): Likewise.
35639 (R_MN10300_TLS_IE): Likewise.
35640 (R_MN10300_TLS_LE): Likewise.
35641 (R_MN10300_TLS_DTPMOD): Likewise.
35642 (R_MN10300_TLS_DTPOFF): Likewise.
35643 (R_MN10300_TLS_TPOFF): Likewise.
35644 (R_MN10300_SYM_DIFF): Likewise.
35645 (R_MN10300_ALIGN): Likewise.
35646 (R_MN10300_NUM): Update.
35647
35648 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35649
35650 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35651 Remove.
35652
35653 2012-08-08 Roland McGrath <roland@hack.frob.com>
35654
35655 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35656
35657 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35658 sysdeps/unix -> sysdeps/posix move.
35659 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35660
35661 2012-08-07 Allan McRae <allan@archlinux.org>
35662
35663 [BZ #14303]
35664 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35665 (SUNOS_CPP): Likewise.
35666 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35667 not found.
35668 (open_input): Call CPP using execvp.
35669
35670 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35671
35672 * sysdeps/unix/sysv/linux/kernel-features.h
35673 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35674 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35675 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35676 (__ASSUME_WAITID_SYSCALL): Likewise.
35677 * sysdeps/unix/sysv/linux/dl-execstack.c
35678 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35679 code unconditional.
35680 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35681 conditional code.
35682 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35683 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35684 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35685 code.
35686 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35687 unconditional.
35688 [__ASSUME_WAITID_SYSCALL]: Likewise.
35689 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35690
35691 2012-08-07 Roland McGrath <roland@hack.frob.com>
35692
35693 * sysdeps/unix/closedir.c: Renamed to ...
35694 * sysdeps/posix/closedir.c: ... here.
35695 * sysdeps/unix/dirfd.c: Renamed to ...
35696 * sysdeps/posix/dirfd.c: ... here.
35697 * sysdeps/unix/dirstream.h: Renamed to ...
35698 * sysdeps/posix/dirstream.h: ... here.
35699 * sysdeps/unix/fdopendir.c: Renamed to ...
35700 * sysdeps/posix/fdopendir.c: ... here.
35701 * sysdeps/unix/opendir.c: Renamed to ...
35702 * sysdeps/posix/opendir.c: ... here.
35703 * sysdeps/unix/readdir.c: Renamed to ...
35704 * sysdeps/posix/readdir.c: ... here.
35705 * sysdeps/unix/readdir_r.c: Renamed to ...
35706 * sysdeps/posix/readdir_r.c: ... here.
35707 * sysdeps/unix/rewinddir.c: Renamed to ...
35708 * sysdeps/posix/rewinddir.c: ... here.
35709 * sysdeps/unix/seekdir.c: Renamed to ...
35710 * sysdeps/posix/seekdir.c: ... here.
35711 * sysdeps/unix/telldir.c: Renamed to ...
35712 * sysdeps/posix/telldir.c: ... here.
35713 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35714 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35715 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35716 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35717
35718 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35719 * bits/fcntl.h: ... here.
35720
35721 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35722 not 0.
35723 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35724 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35725 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35726 (struct flock): Move l_start, l_len to the beginning.
35727 Use __pid_t for l_pid.
35728 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35729 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35730 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35731 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35732 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35733 [__USE_LARGEFILE64] (struct flock64): New type.
35734 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35735
35736 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35737 * bits/dirent.h: ... here.
35738
35739 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35740 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35741
35742 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35743
35744 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35745 Change from 2.6.0 to 2.6.16.
35746 * sysdeps/unix/sysv/linux/configure: Regenerated.
35747 * sysdeps/unix/sysv/linux/kernel-features.h
35748 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35749 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35750 version.
35751 (__ASSUME_UTIMES): Likewise.
35752 (__ASSUME_CLONE_STOPPED): Remove.
35753 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35754 architectures, not kernel version.
35755 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35756 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35757 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35758 (__ASSUME_WAITID_SYSCALL): Likewise.
35759 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35760 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35761 * README: State 2.6.16 as minimum Linux kernel version. Do not
35762 refer to older versions.
35763
35764 2012-08-06 Roland McGrath <roland@hack.frob.com>
35765
35766 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35767 Define alphasort64 as an alias.
35768 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35769 Define versionsort64 as an alias.
35770 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35771 Define scandir64 as an alias.
35772 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35773 Define scandirat64 as an alias.
35774 * dirent/alphasort64.c (alphasort64):
35775 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35776 * dirent/versionsort64.c: Likewise.
35777 * dirent/scandir64.c: Likewise.
35778 * dirent/scandirat64.c: Likewise.
35779 * sysdeps/wordsize-64/alphasort.c: File removed.
35780 * sysdeps/wordsize-64/alphasort64.c: File removed.
35781 * sysdeps/wordsize-64/scandir.c: File removed.
35782 * sysdeps/wordsize-64/scandir64.c: File removed.
35783 * sysdeps/wordsize-64/scandirat.c: File removed.
35784 * sysdeps/wordsize-64/scandirat64.c: File removed.
35785 * sysdeps/wordsize-64/versionsort.c: File removed.
35786 * sysdeps/wordsize-64/versionsort64.c: File removed.
35787 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35793 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35795
35796 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35798 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35800 [defined __arch64__ || defined __sparcv9]
35801 (__INO_T_MATCHES_INO64_T): New macro.
35802 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35803 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35804 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35805 * sysdeps/unix/sysv/linux/bits/dirent.h
35806 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35807 (_DIRENT_MATCHES_DIRENT64): New macro.
35808
35809 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35810 Define lockf64 as an alias.
35811 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35812 Define fseeko64 as an alias.
35813 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35814 Define ftello64 as an alias.
35815 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35816 Define _IO_fgetpos64 and fgetpos64 as aliases.
35817 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35818 Define _IO_fsetpos64 and fsetpos64 as aliases.
35819 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35820 Conditionalize body on this.
35821 * libio/fseeko64.c: Likewise.
35822 * libio/ftello64.c: Likewise.
35823 * libio/iofgetpos64.c: Likewise.
35824 * libio/iofsetpos64.c: Likewise.
35825 * sysdeps/wordsize-64/lockf.c: File removed.
35826 * sysdeps/wordsize-64/lockf64.c: File removed.
35827 * sysdeps/wordsize-64/fseeko.c: File removed.
35828 * sysdeps/wordsize-64/fseeko64.c: File removed.
35829 * sysdeps/wordsize-64/ftello.c: File removed.
35830 * sysdeps/wordsize-64/ftello64.c: File removed.
35831 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35832 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35833 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35834 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35835 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35837 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35838 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35839 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35840 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35841 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35842 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35843 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35844 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35845
35846 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35848 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35850 [defined __arch64__ || defined __sparcv9]
35851 (__OFF_T_MATCHES_OFF64_T): New macro.
35852 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35853 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35855 (__OFF_T_MATCHES_OFF64_T): New macro.
35856
35857 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35858
35859 * stdlib/secure-getenv.c (__secure_getenv): Replace
35860 GLIBC_2_16 with GLIBC_2_17.
35861
35862 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35863
35864 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35865 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35866
35867 2012-08-03 David S. Miller <davem@davemloft.net>
35868
35869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35870
35871 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35872
35873 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35874 Remove.
35875 (__ASSUME_CORRECT_SI_PID): Likewise.
35876 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35877 (__ASSUME_TMPFS_NAME): Likewise.
35878 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35879 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35880 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35881 (HAVE_AUX_SECURE): Make definition unconditional.
35882 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35883 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35884
35885 2012-08-03 Roland McGrath <roland@hack.frob.com>
35886
35887 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35888 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35889 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35890 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35891 __eloop_threshold instead of SYMLOOP_MAX.
35892
35893 * sysdeps/generic/eloop-threshold.h: New file.
35894 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35895 of MAXSYMLINKS.
35896 * elf/chroot_canon.c (chroot_canon): Likewise.
35897
35898 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35899
35900 [BZ #13717]
35901 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35902 Change to 2.6.0 everywhere.
35903 * sysdeps/unix/sysv/linux/configure: Regenerated.
35904 * sysdeps/unix/sysv/linux/kernel-features.h
35905 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35906 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35907 kernel versions.
35908 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35909 (__ASSUME_FUTEX_REQUEUE): Remove.
35910 (__ASSUME_STATFS64): Define unconditionally.
35911 (__ASSUME_AT_SECURE): Likewise.
35912 (__ASSUME_CORRECT_SI_PID): Likewise.
35913 (__ASSUME_TGKILL): Define without depending on kernel version for
35914 i386.
35915 (__ASSUME_UTIMES): Likewise.
35916 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35917 kernel version.
35918 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35919 (__ASSUME_TMPFS_NAME): Likewise.
35920 * README: Update reference to Linux kernel versions.
35921
35922 2012-08-02 Marek Polacek <polacek@redhat.com>
35923
35924 [BZ# 14150]
35925 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35926 libc_cv_asm_type_prefix with %.
35927 * configure: Regenerated.
35928 * include/libc-symbols.h: Remove comment about
35929 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35930 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35931 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35932 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35933 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35934 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35935 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35936 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35937 * elf/tst-unique2mod1.c: Likewise.
35938 * elf/tst-unique1mod2.c: Likewise.
35939 * elf/tst-unique1mod1.c: Likewise.
35940 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35941 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35942 Replace ASM_TYPE_DIRECTIVE with .type.
35943 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35944 * sysdeps/i386/sysdep.h: Likewise.
35945 * sysdeps/x86_64/sysdep.h: Likewise.
35946 * sysdeps/sh/sysdep.h: Likewise.
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35948 Do not define ASM_TYPE_DIRECTIVE.
35949 * sysdeps/powerpc/sysdep.h: Likewise.
35950 * sysdeps/powerpc/powerpc32/sysdep.h:
35951 Replace ASM_TYPE_DIRECTIVE with .type.
35952 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35954 * sysdeps/i386/fpu/e_powf.S: Likewise.
35955 * sysdeps/i386/fpu/e_expl.S: Likewise.
35956 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35957 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35958 * sysdeps/i386/fpu/e_pow.S: Likewise.
35959 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35960 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35961 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35962 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35963 * sysdeps/i386/fpu/e_log2.S: Likewise.
35964 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35965 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35966 * sysdeps/i386/fpu/e_powl.S: Likewise.
35967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35968 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35969 * sysdeps/i386/fpu/e_logl.S: Likewise.
35970 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35971 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35972 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35973 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35974 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35975 * sysdeps/i386/fpu/e_log.S: Likewise.
35976 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35977 * sysdeps/i386/fpu/e_logf.S: Likewise.
35978 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35979 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35980 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35981 * sysdeps/i386/fpu/e_log10.S: Likewise.
35982 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35983 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35984 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35985 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35986 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35987 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35988 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35989 * sysdeps/i386/i686/strtok.S: Likewise.
35990 * sysdeps/i386/i386-mcount.S: Likewise.
35991 * sysdeps/i386/strtok.S: Likewise.
35992 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35993 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35994 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35995 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35996 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35997 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35998 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35999 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36000 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36001 * sysdeps/x86_64/_mcount.S: Likewise.
36002 * sysdeps/x86_64/strtok.S: Likewise.
36003 * sysdeps/sh/_mcount.S: Likewise.
36004
36005 2012-08-01 Roland McGrath <roland@hack.frob.com>
36006
36007 * libio/iofopen.c: Include <fcntl.h>.
36008 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36009 (_IO_fopen64, fopen64): Define as aliases.
36010 * libio/iofopen64.c: Include <fcntl.h>.
36011 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36012 Conditionalize body on this.
36013 * sysdeps/wordsize-64/iofopen.c: File removed.
36014 * sysdeps/wordsize-64/iofopen64.c: File removed.
36015
36016 2012-08-01 Marek Polacek <polacek@redhat.com>
36017
36018 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36019 Use dlfcn directly instead of a variable.
36020 (binfmt-subdir): Do not define.
36021 (dlfcn): Likewise.
36022
36023 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36024
36025 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36026 Remove all definitions.
36027 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36028 <kernel-features.h>.
36029 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36030 (miss_F_GETOWN_EX): Remove all definitions.
36031 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36032 macro definition.
36033 [!__ASSUME_FCNTL64]: Remove conditional code.
36034 [__ASSUME_FCNTL64]: Make code unconditional.
36035 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36036 <kernel-features.h>.
36037 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36038 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36039 (lockf64) [__NR_fcntl64]: Make code unconditional.
36040 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36041
36042 * sysdeps/unix/sysv/linux/kernel-features.h
36043 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36044 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36045 Make code unconditional.
36046 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36047 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36049 [__NR_vfork]: Make code unconditional.
36050 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36051 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36053 [__NR_vfork]: Make code unconditional.
36054 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36055 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36056
36057 2012-08-01 Roland McGrath <roland@hack.frob.com>
36058
36059 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36060 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36061
36062 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36063 Define mkstemp64 as an alias.
36064 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36065 Define mkstemps64 as an alias.
36066 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36067 Define mkostemp64 as an alias.
36068 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36069 Define mkostemps64 as an alias.
36070 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36071 Conditionalize body on this.
36072 * misc/mkostemp64.c: Likewise.
36073 * misc/mkostemps64.c: Likewise.
36074 * misc/mkstemps64.c: Likewise.
36075 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36076 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36077 * sysdeps/wordsize-64/mkostemp.c: File removed.
36078 * sysdeps/wordsize-64/mkstemp.c: File removed.
36079 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36080 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36081 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36082 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36083
36084 [BZ #14138]
36085 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36086 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36087 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36088 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36089
36090 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36091 compat_symbol macros from <shlib-compat.h> rather than the underlying
36092 default_symbol_version and symbol_version macros, so that DEFAULT
36093 lines in shlib-versions are respected.
36094 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36095
36096 2012-08-01 Florian Weimer <fweimer@redhat.com>
36097
36098 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36099 Declare with warn_unused_result.
36100 (setgid, setregid, setegid, setresgid): Likewise.
36101 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36102 Likewise.
36103 * WUR-REPORT: Remove set*id functions.
36104
36105 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36106
36107 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36108
36109 2012-07-31 Roland McGrath <roland@hack.frob.com>
36110
36111 [BZ #10191]
36112 * include/sys/socket.h (__libc_accept, __libc_accept4):
36113 Add attribute_hidden.
36114 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36115
36116 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36117 use of PTR_MANGLE.
36118 * inet/getnetgrent_r.c (setup): Likewise.
36119
36120 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36121
36122 2012-07-31 David S. Miller <davem@davemloft.net>
36123
36124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36125
36126 2012-07-31 Joseph Myers <joseph@codesourcery.com>
36127
36128 [BZ #13629]
36129 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36130 value between 1.0 and 2.0 and smaller part has absolute value less
36131 than 1.0.
36132 * math/s_clog10.c (__clog10): Likewise.
36133 * math/s_clog10f.c (__clog10f): Likewise.
36134 * math/s_clog10l.c (__clog10l): Likewise.
36135 * math/s_clogf.c (__clogf): Likewise.
36136 * math/s_clogl.c (__clogl): Likewise.
36137 * math/libm-test.inc (clog_test): Add more tests.
36138 (clog10_test): Likewise.
36139 * sysdeps/i386/fpu/libm-test-ulps: Update.
36140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36141
36142 2012-07-31 Florian Weimer <fweimer@redhat.com>
36143
36144 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36145 Exit with zero in case no suitable GID is found, and write a
36146 message to standard error.
36147
36148 2012-07-30 Roland McGrath <roland@hack.frob.com>
36149
36150 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36151 rather than to 1.
36152 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36153 (MAXPATHLEN): Removed.
36154 (NOGROUP, NODEV): New macros.
36155 (setbit, clrbit, isset, isclr): New macros.
36156 (howmany, roundup, powerof2): New macros.
36157 (DEV_BSIZE): New macro.
36158
36159 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36160 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36161
36162 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36163 definition on [!__NO_LONG_DOUBLE_MATH].
36164
36165 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36166 PTR_MANGLE and PTR_DEMANGLE.
36167
36168 * socket/accept4.c (accept4): Rename to __libc_accept4.
36169 Define accept4 as a weak alias.
36170
36171 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36172 on [_DIRENT_HAVE_D_TYPE].
36173 * io/ftw.c (ftw_dir): Likewise.
36174
36175 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36176
36177 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36178
36179 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36180 Use the BSD numbers rather than the arbitrary ones we had.
36181 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36182 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36183 (SIGXCPU, SIGXFSZ): New macros.
36184 (_NSIG): Now 32.
36185
36186 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36187 initializer on [_LIBC_REENTRANT].
36188
36189 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36190 definitions inside [_POSIX_MAPPED_FILES].
36191
36192 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36193
36194 * dirent/opendir.c: Include <fcntl.h>.
36195
36196 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36197 (__libc_getspecific): Likewise.
36198 (__libc_key_create): Likewise.
36199
36200 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36201 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36202 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36203 (tmpfile64): Define as alias.
36204 * sysdeps/wordsize-64/tmpfile.c: File removed.
36205 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36206 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36207 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36208
36209 * stdio-common/vfscanf.c: Include <stdbool.h>.
36210 * nss/makedb.c: Likewise.
36211 * stdio-common/_i18n_number.h: Likewise.
36212 * argp/argp-help.c: Likewise.
36213 * posix/wordexp.c: Likewise.
36214 * sysdeps/posix/spawni.c: Likewise.
36215 * nss/nss_files/files-initgroups.c: Likewise.
36216 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36217 * nss/nss_files/files-initgroups.c: Likewise.
36218 * nss/nss_db/db-netgrp.c: Likewise.
36219 * nss/nss_db/db-initgroups.c: Likewise.
36220 * io/fchmodat.c: Include <sys/stat.h>.
36221
36222 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36223 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36224
36225 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36226 [HAVE_MMAP].
36227
36228 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36229 Add multiple inclusion protection.
36230
36231 2012-07-27 David S. Miller <davem@davemloft.net>
36232
36233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36234
36235 2012-07-27 Gary Benson <gbenson@redhat.com>
36236
36237 [BZ #14298]
36238 * elf/rtld.c: Include <stap-probe.h>.
36239 (dl_main): Added static probes "init_start" and "init_complete".
36240 * elf/dl-load.c: Include <stap-probe.h>.
36241 (lose): Take new parameter "nsid".
36242 Added static probe "map_failed".
36243 (_dl_map_object_from_fd): Pass namespace id to lose.
36244 Added static probe "map_start".
36245 (open_verify): Pass namespace id to lose.
36246 * elf/dl-open.c: Include <stap-probe.h>.
36247 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36248 and "reloc_complete".
36249 * elf/dl-close.c: Include <stap-probe.h>.
36250 (_dl_close_worker): Added static probes "unmap_start" and
36251 "unmap_complete".
36252 * elf/rtld-debugger-interface.txt: New file documenting the above.
36253
36254 2012-07-26 Roland McGrath <roland@hack.frob.com>
36255
36256 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36257 rather than a string variable.
36258 * sunrpc/rpc_main.c (h_output): Likewise.
36259 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36260
36261 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36262
36263 * inet/check_native.c: New file.
36264
36265 2012-07-26 Joseph Myers <joseph@codesourcery.com>
36266
36267 [BZ #13629]
36268 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36269 if larger part has absolute value 1.0.
36270 * math/s_clog10.c (__clog10): Likewise.
36271 * math/s_clog10f.c (__clog10f): Likewise.
36272 * math/s_clog10l.c (__clog10l): Likewise.
36273 * math/s_clogf.c (__clogf): Likewise.
36274 * math/s_clogl.c (__clogl): Likewise.
36275 * math/libm-test.inc (clog_test): Add more tests.
36276 (clog10_test): Likewise.
36277 * sysdeps/i386/fpu/libm-test-ulps: Update.
36278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36279
36280 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36281 (pltexit): Likewise.
36282 (La_regs): Likewise.
36283 (La_retval): Likewise.
36284 (int_retval): Likewise.
36285 Update #error for removed macros to refer only to definitions in
36286 tst-audit.h.
36287 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36288 macro.
36289 (pltexit): Likewise.
36290 (La_regs): Likewise.
36291 (La_retval): Likewise.
36292 (int_retval): Likewise.
36293 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36294 macro.
36295 (pltexit): Likewise.
36296 (La_regs): Likewise.
36297 (La_retval): Likewise.
36298 (int_retval): Likewise.
36299 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36300 macro.
36301 (pltexit): Likewise.
36302 (La_regs): Likewise.
36303 (La_retval): Likewise.
36304 (int_retval): Likewise.
36305 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36306 macro.
36307 (pltexit): Likewise.
36308 (La_regs): Likewise.
36309 (La_retval): Likewise.
36310 (int_retval): Likewise.
36311 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36312 macro.
36313 (pltexit): Likewise.
36314 (La_regs): Likewise.
36315 (La_retval): Likewise.
36316 (int_retval): Likewise.
36317 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36318 macro.
36319 (pltexit): Likewise.
36320 (La_regs): Likewise.
36321 (La_retval): Likewise.
36322 (int_retval): Likewise.
36323 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36324 macro definitions in tst-audit.h.
36325 * sysdeps/i386/tst-audit.h: New file.
36326 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36327 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36328 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36329 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36330 * sysdeps/sh/tst-audit.h: Likewise.
36331 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36332 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36333 * sysdeps/x86_64/tst-audit.h: Likewise.
36334
36335 2012-07-26 Andreas Jaeger <aj@suse.de>
36336
36337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36338 ptrace.
36339
36340 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36341 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36342 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36343 PTRACE_O_MASK.
36344 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36345 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36346 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36347
36348 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36349 value.
36350
36351 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36352 _sigsys.
36353 (si_call_addr, si_syscall, si_arch): Define new macro.
36354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36355 _sigsys.
36356 (si_call_addr, si_syscall, si_arch): Define new marcro.
36357 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36358 _sigsys.
36359 (si_call_addr, si_syscall, si_arch): Define new macro.
36360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36361 _sigsys.
36362 (si_call_addr, si_syscall, si_arch): Define new macro.
36363
36364 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36365
36366 [BZ #13717]
36367 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36368 Change to 2.4.21 where previously 2.4.1.
36369 * sysdeps/unix/sysv/linux/configure: Regenerated.
36370 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36371 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36372 Linux kernel version.
36373 (__ASSUME_STD_AUXV): Remove.
36374 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36375 kernel version.
36376 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36377 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36378 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36379 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36380 (__ASSUME_NETLINK_SUPPORT): Likewise.
36381 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36382 (__no_netlink_support): Remove conditional definition.
36383 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36384 Remove.
36385 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36386 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36387 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36388 (if_nameindex_ioctl): Remove.
36389 (if_nameindex_netlink): Do not handle __no_netlink_support.
36390 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36391 code.
36392 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36393 Remove conditional code.
36394 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36395 code.
36396 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36397 unconditional.
36398 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36399 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36400 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36401 Remove.
36402 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36403 [!__ASSUME_STD_AUXV]: Remove conditional code.
36404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36405 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36406 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36409 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36410 code.
36411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36413 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36414 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36415 conditional code.
36416 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36418 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36419 code.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36421 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36422 conditional code.
36423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36424 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36425 code unconditional.
36426 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36427 conditional code.
36428 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36429 unconditional.
36430 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36431 conditional code.
36432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36433 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36434 unconditional.
36435 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36436 conditional code.
36437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36438 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36439 code unconditional.
36440 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36441 conditional code.
36442 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36443 unconditional.
36444 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36445 conditional code.
36446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36447 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36448 code unconditional.
36449 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36450 conditional code.
36451 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36452 unconditional.
36453 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36454 conditional code.
36455
36456 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36457
36458 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36459 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36460 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36461 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36462 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36463 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36464 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36465 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36466 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36467 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36468 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36469 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36470 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36471 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36472 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36473 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36474 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36476 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36478 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36479 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36480 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36481
36482 2012-07-25 Florian Weimer <fweimer@redhat.com>
36483
36484 * Versions.def: Add GLIBC_2.17.
36485 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36486 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36487 Introduce __libc_secure_getenv.
36488 * stdlib/Versions (2.17): Add secure_getenv
36489 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36490 * stdlib/secure-getenv.c: Rename __secure_getenv to
36491 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36492 symbol __secure_getenv for GLIBC_2.0.
36493 * stdlib/tst-secure-getenv.c: New.
36494 * stdlib/Makefile (tests): Add testcase.
36495 * manual/startup.texi (Environment Access): Document
36496 secure_getenv.
36497 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36498 __libc_secure_getenv.
36499 * inet/ruserpass.c (ruserpass): Likewise.
36500 * malloc/mtrace.c (mtrace): Likewise.
36501 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36502 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36503 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36504 * sysdeps/posix/tempname.c: Likewise. Evaluate
36505 HAVE_SECURE_GETENV.
36506 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36507 __secure_getenv to __libc_secure_getenv.
36508 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36510 Likewise.
36511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36512 Likewise.
36513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36520
36521 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36522
36523 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36524 (struct La_i86_retval): Likewise.
36525 (struct La_x86_64_regs): Likewise.
36526 (struct La_x86_64_retval): Likewise.
36527 (struct La_x32_regs): Likewise.
36528 (struct La_x32_retval): Likewise.
36529 (struct La_ppc32_regs): Likewise.
36530 (struct La_ppc32_retval): Likewise.
36531 (struct La_ppc64_regs): Likewise.
36532 (struct La_ppc64_retval): Likewise.
36533 (struct La_sh_regs): Likewise.
36534 (struct La_sh_retval): Likewise.
36535 (struct La_s390_32_regs): Likewise.
36536 (struct La_s390_32_retval): Likewise.
36537 (struct La_s390_64_regs): Likewise.
36538 (struct La_s390_64_retval): Likewise.
36539 (struct La_sparc32_regs): Likewise.
36540 (struct La_sparc32_retval): Likewise.
36541 (struct La_sparc64_regs): Likewise.
36542 (struct La_sparc64_retval): Likewise.
36543 (struct audit_ifaces): Remove architecture-specific pltenter and
36544 pltexit members.
36545 * sysdeps/i386/ldsodefs.h: New file.
36546 * sysdeps/powerpc/ldsodefs.h: Likewise.
36547 * sysdeps/s390/ldsodefs.h: Likewise.
36548 * sysdeps/sh/ldsodefs.h: Likewise.
36549 * sysdeps/sparc/ldsodefs.h: Likewise.
36550 * sysdeps/x86_64/ldsodefs.h: Likewise.
36551
36552 2012-07-25 Marek Polacek <polacek@redhat.com>
36553
36554 [BZ #6808]
36555 * math/libm-test.inc (yn_test): Add another test.
36556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36557 to ERANGE when the result is +-Inf.
36558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36559 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36560 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36561 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36562
36563 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36564
36565 * conform/data/time.h-data (NULL): Use macro-constant. Require
36566 equal to 0.
36567 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36568 clock_t.
36569 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36570
36571 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36572
36573 * configure.in <sysdeps resolving>: Correct printing
36574 Implies_before.
36575 * configure: Regenerate.
36576
36577 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36578
36579 * math/w_ilogb.c: Include <limits.h>.
36580 * math/w_ilogbl.c: Likewise.
36581
36582 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36583
36584 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36585 va_copy. Document allowing for unavailable va_copy only as
36586 pre-C99 compatibility.
36587 * manual/string.texi (Copying and Concatenation): Use va_copy
36588 instead of __va_copy in concat example.
36589
36590 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36591
36592 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36593 (__sendto): Use create_address_port. Initialize APORT and deallocate
36594 it if not null.
36595
36596 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36597 with O_NOLINK passed to __file_name_lookup.
36598
36599 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36600 with O_NOLINK passed to __file_name_lookup.
36601
36602 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36603 negative N or less than NGIDS.
36604
36605 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36606 type to string_t. Set ERANGE as errno and return it if NAME is not big
36607 enough. Use memcpy instead of strncpy.
36608
36609 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36610
36611 * elf/Makefile (check-data): Remove.
36612 (localplt.data): New vpath directive.
36613 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36614 instead of $(check-data).
36615 * scripts/data/localplt-generic.data: Move to ...
36616 * sysdeps/generic/localplt.data: ... here.
36617 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36618 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36619 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36621 ... here.
36622 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36624 ... here.
36625 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36627 ... here.
36628 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36630 ... here.
36631 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36633 ... here.
36634 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36636 ... here.
36637
36638 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36639
36640 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36641 PPC32 and PPC64 files.
36642 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36643 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36644
36645 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36646
36647 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36648 __makecontext_ret to ...
36649 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36650 ... here and call exit if uc_link is NULL. New file.
36651 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36652 __makecontext_ret.S.
36653 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36654 __makecontext_ret to ...
36655 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36656 ... here and call exit if uc_link is NULL. New file.
36657 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36658 __makecontext_ret.S.
36659
36660 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36661
36662 * elf/elf.h (R_390_IRELATIVE): New definition.
36663 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36664 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36665 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36667 (elf_machine_lazy_rel): Likewise.
36668 * sysdeps/s390/dl-irel.h: New file.
36669 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36670 * sysdeps/s390/s390-64/memset.S: New asm code.
36671 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36672 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36673 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36674 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36675 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36676 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36677 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36678 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36679 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36680 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36681 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36682 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36683 * sysdeps/s390/s390-32/memset.S: New asm code.
36684 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36685
36686 2012-07-17 Marek Polacek <polacek@redhat.com>
36687
36688 [BZ #14349]
36689 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36690 * sysdeps/s390/s390-64/configure.in: Likewise.
36691 * sysdeps/sparc/configure.in: Likewise.
36692 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36693 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36694 * sysdeps/i386/configure.in: Likewise.
36695 * sysdeps/x86_64/configure.in: Likewise.
36696 * sysdeps/sh/configure.in: Likewise.
36697 * sysdeps/s390/s390-32/configure: Regenerated.
36698 * sysdeps/s390/s390-64/configure: Likewise.
36699 * sysdeps/x86_64/configure: Likewise.
36700 * sysdeps/sh/configure: Likewise.
36701 * sysdeps/powerpc/powerpc64/configure: Likewise.
36702 * sysdeps/powerpc/powerpc32/configure: Likewise.
36703 * sysdeps/sparc/configure: Likwise.
36704 * sysdeps/i386/configure: Likewise.
36705
36706 * elf/dl-open.c: Comment fixes.
36707
36708 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36709
36710 * Makefile [CXX] (check-data): Remove.
36711 [CXX] (c++-types.data): New vpath directive.
36712 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36713 vpath. Do not allow for C++ type data being missing.
36714 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36715 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36716 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36717 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36718 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36719 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36720 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36722 ... here.
36723 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36725 ... here.
36726 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36728 ... here.
36729 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36731 ... here.
36732 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36734 ... here.
36735 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36737 ... here.
36738 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36740 ... here.
36741 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36743
36744 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36745 definitions to architecture-specific files.
36746 (TLS_IE): Likewise.
36747 (TLS_LD): Likewise.
36748 (TLS_GD): Likewise.
36749 * sysdeps/i386/tls-macros.h: New file.
36750 * sysdeps/powerpc/tls-macros.h: Likewise.
36751 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36752 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36753 * sysdeps/sh/tls-macros.h: Likewise.
36754 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36755 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36756 * sysdeps/x86_64/tls-macros.h: Likewise.
36757
36758 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36759
36760 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36761 zero value for regular exit case.
36762
36763 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36764 (__start_context): Preserve zero value for regular exit case.
36765
36766 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36767 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36768
36769 * manual/setjmp.texi (setcontext): Clarify normal process
36770 termination when uc_link is the null pointer.
36771 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36772 exit call.
36773
36774 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36775
36776 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36777 preprocessor. Test for each exception mask separately.
36778
36779 2012-07-16 Andreas Jaeger <aj@suse.de>
36780
36781 * po/ru.po: Update from translation team.
36782
36783 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36784
36785 * conform/data/string.h-data (NULL): Use macro-constant. Require
36786 equal to 0.
36787 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36788 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36789 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36790 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36792
36793 2012-07-13 Andreas Jaeger <aj@suse.de>
36794
36795 * po/fr.po: Update from translation team.
36796
36797 2012-07-12 Marek Polacek <polacek@redhat.com>
36798
36799 [BZ #14173]
36800 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36802 loop condition.
36803
36804 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36805
36806 [BZ #13717]
36807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36808 Change to 2.4.1 where previously 2.4.0.
36809 * sysdeps/unix/sysv/linux/configure: Regenerated.
36810 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36811 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36812 version.
36813 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36814 (__ASSUME_AT_CLKTCK): Remove.
36815 (__ASSUME_AT_PAGESIZE): Likewise.
36816 (__ASSUME_AT_XID): Likewise.
36817 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36818 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36819 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36820 unconditionally.
36821 (HAVE_AUX_PAGESIZE): Likewise.
36822 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36823 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36824 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36825
36826 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36827
36828 [BZ #14307]
36829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36830 the temporary buffer used to invoke __gethostbyname2_r,
36831 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36832 host_data / struct gaih_addrtuple.
36833 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36834 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36835 header file nss/nsswitch.h.
36836 * nss/nsswitch.h (global scope): Add definition of implementation
36837 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36838 resolv/nss_dns/dns-host.c).
36839
36840 2012-07-11 Andreas Jaeger <aj@suse.de>
36841
36842 * po/fr.po: Update from translation team.
36843
36844 * po/sv.po: Update from translation team
36845 * po/fr.po: Another update from translation team.
36846
36847 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36848
36849 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36850 for subnormals or multiply small sinh result by itself.
36851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36853
36854 2012-07-11 David S. Miller <davem@davemloft.net>
36855
36856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36857
36858 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36859
36860 [BZ #14347]
36861 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36862 (INTERNAL_MARK): Shift it here.
36863
36864 2012-07-10 Marek Polacek <polacek@redhat.com>
36865
36866 [BZ #14151]
36867 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36868 libc_cv_asm_global_directive with .globl.
36869 * configure: Regenerated.
36870 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36871 with .globl.
36872 * sysdeps/i386/configure: Regenerated.
36873 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36874 with .globl.
36875 * sysdeps/x86_64/configure: Regenerated.
36876 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36877 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36878 * elf/tst-unique2mod2.c: Likewise.
36879 * elf/tst-unique2mod1.c: Likewise.
36880 * elf/tst-unique1mod2.c: Likewise.
36881 * elf/tst-unique1mod1.c: Likewise.
36882 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36883 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36884 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36886 * sysdeps/mach/sysdep.h: Likewise.
36887 * sysdeps/i386/sysdep.h: Likewise.
36888 * sysdeps/i386/i386-mcount.S: Likewise.
36889 * sysdeps/x86_64/_mcount.S: Likewise.
36890 * sysdeps/x86_64/sysdep.h: Likewise.
36891 * sysdeps/sh/_mcount.S: Likewise.
36892 * sysdeps/sh/sysdep.h: Likewise.
36893 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36894 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36895 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36896 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36897 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36898 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36899 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36900 * locale/localeinfo.h: Likewise.
36901 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36902 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36903
36904 2012-07-09 Roland McGrath <roland@hack.frob.com>
36905
36906 [BZ #14336]
36907 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36908 system".
36909 * manual/message.texi (The Uniforum approach): Likewise.
36910 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36911 (glibc iconv Implementation): Likewise.
36912
36913 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36914
36915 [BZ #14337]
36916 * math/s_clog.c (__clog): Avoid scaling a value down where that
36917 could result in underflow.
36918 * math/s_clog10.c (__clog10): Likewise.
36919 * math/s_clog10f.c (__clog10f): Likewise.
36920 * math/s_clog10l.c (__clog10l): Likewise.
36921 * math/s_clogf.c (__clogf): Likewise.
36922 * math/s_clogl.c (__clogl): Likewise.
36923 * math/libm-test.inc (clog_test): Add more tests.
36924 (clog10_test): Likewise.
36925 * sysdeps/i386/fpu/libm-test-ulps: Update.
36926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36927
36928 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36929
36930 [BZ #14283]
36931 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36932 by 7 not 8 to examine high bit of fractional part.
36933
36934 [BZ #14042]
36935 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36936 for call to __mcount_internal.
36937 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36938 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36939 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36940
36941 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36942
36943 [BZ #14154]
36944 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36945 approximation for values within 0x1p-13f of an odd multiple of
36946 pi/4.
36947 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36948 exception. Add more tests.
36949 * sysdeps/i386/fpu/libm-test-ulps: Update.
36950
36951 [BZ #6778]
36952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36953 inputs and return -1 for them. Do not check for +Inf in case not
36954 reachable for +Inf.
36955 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36956 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36958 and return -1 for them. Do not check for +Inf in case not
36959 reachable for +Inf.
36960 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36961 define.
36962 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36963 and return -1 for them. Do not check for +Inf in case not
36964 reachable for +Inf.
36965 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36966 spurious underflow.
36967 * sysdeps/i386/fpu/libm-test-ulps: Update.
36968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36969
36970 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36971
36972 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36973
36974 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36975
36976 [BZ #14157]
36977 [BZ #14331]
36978 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36979 could result in spurious underflow. Scale down values above
36980 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36981 * math/s_csqrtf.c (__csqrtf): Likewise.
36982 * math/s_csqrtl.c (__csqrtl): Likewise.
36983 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36984 spurious underflow.
36985 * sysdeps/i386/fpu/libm-test-ulps: Update.
36986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36987
36988 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36989
36990 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36991 xopen-msg.sed.
36992 * catgets/xopen-msg.awk: New file.
36993 * catgets/xopen-msg.sed: Removed.
36994
36995 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36996 po2text.sed.
36997 * intl/po2test.awk: New file.
36998 * intl/po2test.sed: Removed.
36999
37000 2012-07-04 Joseph Myers <joseph@codesourcery.com>
37001
37002 [BZ #14328]
37003 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37004 or multiply small sinh result by itself.
37005 * math/s_ctanf.c (__ctanf): Likewise.
37006 * math/s_ctanh.c (__ctanh): Likewise.
37007 * math/s_ctanhf.c (__ctanhf): Likewise.
37008 * math/s_ctanhl.c (__ctanhl): Likewise.
37009 * math/s_ctanl.c (__ctanl): Likewise.
37010 * math/libm-test.inc (ctan_test_tonearest): New function.
37011 (ctan_test_towardzero): Likewise.
37012 (ctan_test_downward): Likewise.
37013 (ctan_test_upward): Likewise.
37014 (ctanh_test_tonearest): Likewise.
37015 (ctanh_test_towardzero): Likewise.
37016 (ctanh_test_downward): Likewise.
37017 (ctanh_test_upward): Likewise.
37018 (main): Call these new functions.
37019 * sysdeps/i386/fpu/libm-test-ulps: Update.
37020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37021
37022 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37023
37024 * .gitignore: Delete /ports entry.
37025
37026 2012-07-03 Andreas Jaeger <aj@suse.de>
37027
37028 * po/bg.po: Update from translation team.
37029 * po/cs.po: Likewise.
37030 * po/de.po: Likewise.
37031 * po/hr.po: Likewise.
37032 * po/nl.pl: Likewise.
37033 * po/pl.po: Likewise.
37034 * po/vi.po: Likewise.
37035
37036 2012-07-03 Joseph Myers <joseph@codesourcery.com>
37037
37038 * Makeconfig [!+link] (+link-before-libc): New variable.
37039 [!+link] (+link-after-libc): Likewise.
37040 [!+link] (+link-tests): Likewise.
37041 [!+link] (+link): Define in terms of $(+link-before-libc) and
37042 $(+link-after-libc).
37043 [!+link-static] (+link-static-before-libc): New variable.
37044 [!+link-static] (+link-static-after-libc): Likewise.
37045 [!+link-static] (+link-static-tests): Likewise.
37046 [!+link-static] (+link-static): Define in terms of
37047 $(+link-static-before-libc) and $(+link-static-after-libc).
37048 [build-shared] (link-libc-before-gnulib): New variable.
37049 [build-shared] (link-libc-tests): Likewise.
37050 [build-shared] (link-libc): Define in terms of
37051 $(link-libc-before-gnulib).
37052 [!build-shared] (link-libc-tests): New variable.
37053 (link-libc-static-tests): New variable.
37054 [!gnulib] (gnulib-arch): New variable.
37055 [!gnulib] (gnulib-tests): Likewise.
37056 [!gnulib] (static-gnulib-arch): Likewise.
37057 [!gnulib] (static-gnulib-tests): Likewise.
37058 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37059 Define with "=" instead of ":=".
37060 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37061 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37062 * Rules (binaries-all-notests): New variable.
37063 (binaries-all-tests): Likewise.
37064 (binaries-static-notests): Likewise.
37065 (binaries-static-tests): Likewise.
37066 (binaries-all): Define using $(binaries-all-notests) and
37067 $(binaries-all-tests).
37068 (binaries-static): Define using $(binaries-static-notests) and
37069 $(binaries-static-tests).
37070 (binaries-shared-tests): New variable.
37071 (binaries-shared-notests): Likewise.
37072 (binaries-shared): Remove variable.
37073 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37074 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37075 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37076 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37077 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37078 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37079 * elf/Makefile (sln-modules): New variable.
37080 (extra-objs): Add $(sln-modules:=.o).
37081 (ldconfig-modules): Add static-stubs.
37082 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37083 * elf/static-stubs.c: New file.
37084
37085 [BZ #14283]
37086 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37087 by 7 not 8 to examine high bit of fractional part. Use volatile
37088 variables when splitting into final array of floats if
37089 __FLT_EVAL_METHOD__ != 0.
37090 * math/libm-test.inc (cos_test): Add another test.
37091 (sin_test): Likewise.
37092 * sysdeps/i386/fpu/libm-test-ulps: Update.
37093
37094 [BZ #14273]
37095 * math/libm-test.inc (cosh_test): Add more tests.
37096
37097 * version.h (RELEASE): Set to "development".
37098 (VERSION): Set to "2.16.90".
37099
37100 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37101
37102 * NEWS: Update copyright. Remove last-updated date.
37103 Mention math library bug fixes and timezone data changes.
37104 * README: Mention GNU/Hurd, x32, and HPPA support status.
37105
37106 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37107
37108 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37109
37110 2012-06-27 Andreas Jaeger <aj@suse.de>
37111
37112 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37113
37114 2012-06-25 Andreas Jaeger <aj@suse.de>
37115
37116 * sysdeps/s390/fpu/libm-test-ulps: Update.
37117
37118 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37119 Thomas Schwinge <thomas@codesourcery.com>
37120
37121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37122 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37123 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37124 fanotify_mark.
37125
37126 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37127
37128 * sysdeps/mach/start.c: Remove file.
37129 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37130 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37131 * sysdeps/sh/init-first.c: Likewise.
37132
37133 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37134 registers for frame unwinding purposes, add CFI directives.
37135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37137 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37138 Likewise.
37139
37140 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37141 __fortify_fail returning.
37142 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37143
37144 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37145 sysdeps/sh/____longjmp_chk.S.
37146 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37147 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37148 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37149 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37150
37151 * sysdeps/sh/abort-instr.h: New file.
37152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37153 process in case exit returns.
37154
37155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37156 initialize the GOT register before use.
37157
37158 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37159 calculation of ARGC > 4.
37160
37161 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37162 meaningful names to some local labels.
37163
37164 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37165 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37166
37167 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37168 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37169 (__arch_compare_and_exchange_val_16_acq): Likewise.
37170 (__arch_compare_and_exchange_val_32_acq): Likewise.
37171 (atomic_exchange_and_add): Fix gUSA sequence.
37172 (atomic_add): Likewise.
37173 (atomic_add_negative): Likewise.
37174 (atomic_add_zero): Likewise.
37175 (atomic_bit_test_set): Likewise.
37176
37177 2012-06-22 Andreas Schwab <schwab@redhat.com>
37178
37179 [BZ #13579]
37180 * include/link.h (struct link_map): Add l_free_initfini.
37181 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37182 l_initfini.
37183 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37184 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37185 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37186 set.
37187
37188 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37189
37190 * configure.in: Use AC_LANG_SOURCE.
37191 * configure: Regenerate.
37192
37193 2012-06-22 Roland McGrath <roland@hack.frob.com>
37194
37195 * configure.in (libc_cv_localstatedir): New substituted variable.
37196 * configure: Regenerated.
37197 * config.make.in (localstatedir): New variable, substituted from
37198 libc_cv_localstatedir.
37199 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37200 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37201 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37202 * sysdeps/gnu/configure: Regenerated.
37203
37204 2012-06-21 Jeff Law <law@redhat.com>
37205
37206 [BZ #14277]
37207 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37208 free. Simplify list management for _LIBC case.
37209
37210 2012-06-21 Joseph Myers <joseph@codesourcery.com>
37211
37212 [BZ #14273]
37213 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37214 Clear sign bit of 64-bit integer value before comparing against
37215 overflow value.
37216
37217 * sysdeps/mach/configure: Regenerated.
37218
37219 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37220
37221 [BZ #14278]
37222 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37223
37224 2012-06-21 Jeff Law <law@redhat.com>
37225
37226 [BZ #13882]
37227 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37228 uint16_t for elements in the "seen" array to avoid char overflows.
37229 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37230 * elf/dl-open.c (dl_open_worker): Likewise.
37231
37232 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37233
37234 * scripts/list-sources.sh: Scan PORTS for translations.
37235 * po/libc.pot: Regenerated.
37236
37237 2012-06-21 Andreas Jaeger <aj@suse.de>
37238
37239 [BZ #12194]
37240 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37241 warning.
37242 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37243 * bits/byteswap-16.h (__bswap_16): Likewise.
37244 * bits/byteswap.h (__bswap_constant_16): Likewise.
37245
37246 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37247
37248 [BZ #14117]
37249 * sysdeps/i386/fpu_control.h: Removed.
37250 * sysdeps/x86_64/fpu_control.h: Moved to ...
37251 * sysdeps/x86/fpu_control.h: Here.
37252
37253 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37254 (_FPU_SETCW): Likewise.
37255
37256 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37257
37258 [BZ #14117]
37259 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37260 * sysdeps/x86/fpu/bits/mathinline.h: This.
37261 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37262
37263 [BZ #14050]
37264 [BZ #14117]
37265 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37266 functions if __x86_64__ is defined.
37267
37268 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37269
37270 * string/endian.h: Add !__ASSEMBLER__ condition for including
37271 conversion interfaces.
37272
37273 2012-06-15 Joseph Myers <joseph@codesourcery.com>
37274
37275 [BZ #14241]
37276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37277 of ABS(x) in calculating zero to negative powers other than odd
37278 integers.
37279 * math/libm-test.inc (pow_test): Add more tests.
37280
37281 2012-06-15 Andreas Jaeger <aj@suse.de>
37282
37283 * manual/contrib.texi (Contributors): Update entry of Liubov
37284 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37285 Machado Filho.
37286
37287 2012-06-15 Cyril Hrubis <metan@ucw.cz>
37288
37289 * string/string.h: Add __wur to GNU version of strerror_r.
37290
37291 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37292
37293 [BZ #14229]
37294 * string/Makefile (tests): Add tst-strtok_r.
37295 * string/tst-strtok_r.c: New file.
37296 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37297 RAX_LP/RDX_LP on SAVE_PTR.
37298
37299 2012-06-14 Roland McGrath <roland@hack.frob.com>
37300
37301 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37302
37303 2012-06-14 Joseph Myers <joseph@codesourcery.com>
37304
37305 * libm_test.inc (csqrt_test): Allow more spurious underflow
37306 exceptions.
37307 (j0_test): Likewise.
37308 (j1_test): Likewise.
37309 (y0_test): Likewise.
37310 (y1_test): Likewise.
37311
37312 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37313
37314 * po/Makefile (libc.pot): Use UTF-8 charset.
37315
37316 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37317
37318 [BZ #14210]
37319 Suppress sign-conversion warning from FD_SET.
37320 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37321 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37322 not unsigned long int.
37323 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37324
37325 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37326
37327 [BZ #14050]
37328 [BZ #14117]
37329 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37330 __extern_always_inline instead of __extern_inline.
37331 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37332 (__signbit): Likewise.
37333 (__signbitl): Support C++ namespace.
37334 (lrintf): New inline function.
37335 (lrint): Likewise.
37336 (llrintf): Likewise.
37337 (llrint): Likewise.
37338 (fmaxf): Likewise.
37339 (fmax): Likewise.
37340 (fminf): Likewise.
37341 (fmin): Likewise.
37342 (rint): Likewise.
37343 (rintf): Likewise.
37344 (ceil): Likewise.
37345 (ceilf): Likewise.
37346 (floor): Likewise.
37347 (floorf): Likewise.
37348 (nearbyint): Likewise.
37349 (nearbyintf): Likewise.
37350
37351 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37352
37353 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37354 non-default versions.
37355
37356 2012-06-11 Roland McGrath <roland@hack.frob.com>
37357
37358 [BZ #14218]
37359 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37360
37361 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37362
37363 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37364 (FE_UPWARD, FE_DOWNWARD): Don't define.
37365 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37366 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37367
37368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37369 reading it.
37370 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37371 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37372
37373 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37374
37375 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37377 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37378 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37379
37380 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37381
37382 [BZ #14117]
37383 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37384 * sysdeps/i386/fpu/Implies: New file.
37385 * sysdeps/x86_64/fpu/Implies: Likewise.
37386 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37387 * sysdeps/x86/fpu/bits/fenv.h: This.
37388
37389 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37390 __SSE_MATH__.
37391
37392 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37393
37394 [BZ #14134]
37395 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37396 character 0xffff that matches the last element of the
37397 conversion table.
37398
37399 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37400
37401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37402 fmodl commit.
37403
37404 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37405
37406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37407 values higher than 25.6283.
37408
37409 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37410
37411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37412 subnormal exponent extraction and add some __builtin_expect.
37413 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37414 Fix for subnormal mantissa calculation.
37415
37416 2012-06-04 Mike Frysinger <vapier@gentoo.org>
37417
37418 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37419 cpu2 is -1 and errno is not ENOSYS.
37420
37421 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37422
37423 [BZ #14117]
37424 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37425 * sysdeps/x86/bits/string.h: This.
37426 * sysdeps/x86_64/bits/string.h: Removed.
37427
37428 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37429 if not compiling for x86-64, but compiling for >= i486.
37430
37431 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37432 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37433
37434 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37435 New macro from Linux kernel 3.4.0.
37436 (FP_XSTATE_MAGIC2): Likewise.
37437 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37438 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37439 (struct _fpx_sw_bytes): New struct.
37440 (struct _xsave_hdr): Likewise.
37441 (struct _ymmh_state): Likewise.
37442 (struct _xstate): Likewise.
37443
37444 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37445 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37446 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37447 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37448 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37449 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37450
37451 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37452 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37453 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37454 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37455 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37456 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37457
37458 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37459
37460 [BZ #13743]
37461 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37462 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37463 (sysdep_headers): Include sys/platform/ppc.h.
37464 * sysdeps/powerpc/test-gettimebase.c: Test for
37465 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37466 * manual/Makefile (appendices): Include platform.texi.
37467 * manual/contrib.texi (Contributors): Update @node pointers.
37468 * manual/maint.texi (Maintenance): Likewise.
37469 (Platform): New node.
37470 * manual/platform.texi: New file. Document the new features.
37471
37472 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37473 Jakub Jelinek <jakub@redhat.com>
37474
37475 [BZ #14188]
37476 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37477 where __builtin_expect is unavailable.
37478
37479 2012-06-03 David S. Miller <davem@davemloft.net>
37480
37481 * stdlib/longlong.h: Updated from GCC.
37482
37483 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37484
37485 [BZ #14042]
37486 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37487 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37488 __mcount_internal.
37489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37490 (GLIBC_2.16): Likewise.
37491
37492 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37493
37494 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37495
37496 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37497
37498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37499 (default-abi): New variable.
37500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37501 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37502 variable.
37503 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37504 Likewise.
37505 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37506 Likewise.
37507 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37508 Likewise.
37509
37510 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37511 definition. Document in comment.
37512
37513 2012-06-01 David S. Miller <davem@davemloft.net>
37514
37515 * stdlib/longlong.h: Updated from GCC.
37516
37517 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37518
37519 [BZ #14117]
37520 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37521 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37522 sys/debugreg.h sys/io.h here.
37523 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37524 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37525 sys/io.h.
37526 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37527 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37528 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37529 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37530 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37531 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37532
37533 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37534 Define only if __x86_64__ is defined.
37535
37536 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37537
37538 [BZ #14048]
37539 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37540 Use int64_t for variable i.
37541 * math/libm-test.inc (fmod_test): Add more tests.
37542
37543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37544 z computation is not scheduled after fetestexcept.
37545 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37546 Use math_force_eval instead of asm to ensure calculation scheduled
37547 before exception test.
37548 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37549 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37550
37551 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37552
37553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37554 computation is not scheduled after fetestexcept.
37555
37556 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37557
37558 [BZ #14117]
37559 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37560 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37561
37562 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37563
37564 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37565 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37566
37567 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37568
37569 [BZ #14117]
37570 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37571 <bits/wordsize.h>.
37572 (__WCHAR_MIN): Support __WORDSIZE == 64.
37573 (__WCHAR_MAX): Likewise.
37574
37575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37577
37578 [BZ #14183]
37579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37580 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37581
37582 [BZ #14117]
37583 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37584 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37585
37586 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37587 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37588
37589 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37590 Defined to 1 if __x86_64__ isn't defined.
37591 (_STAT_VER_LINUX_OLD): New.
37592 (st_atime): Remove duplicate.
37593 (st_mtime): Likewise.
37594 (st_ctime): Likewise.
37595
37596 2012-05-31 David S. Miller <davem@davemloft.net>
37597
37598 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37599 entries.
37600
37601 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37602
37603 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37604 gen-libm-test.pl.
37605
37606 [BZ #14132]
37607 * elf/dl-reloc.c: Include <_itoa.h>.
37608 (_dl_reloc_bad_type): Remove use of INTUSE.
37609 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37610 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37611 * stdio-common/psiginfo.c (psiginfo): Likewise.
37612 * stdio-common/psignal.c (psignal): Likewise.
37613 * string/strsignal.c (strsignal): Likewise.
37614 * include/signal.h (_sys_siglist): Declare hidden proto.
37615 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37616 INTVARDEF with libc_hidden_data_def.
37617 * stdio-common/itoa-udigits.c: Likewise.
37618 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37619 (_itoa_lower_digits_internal): Remove declaration.
37620 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37621 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37622 (_sys_sigabbrev_internal): Remove aliases.
37623 (_sys_siglist): Define hidden alias.
37624
37625 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37626
37627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37628 bits/sysctl.h.
37629
37630 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37631
37632 [BZ #14117]
37633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37634 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37635
37636 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37637 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37638 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37639 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37641 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37642
37643 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37644 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37645 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37646
37647 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37648 with __addr.
37649 (insw): Likewise.
37650 (insl): Likewise.
37651 (outsb): Likewise.
37652 (outsw): Likewise.
37653 (outsl): Likewise.
37654
37655 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37656 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37657 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37658
37659 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37660 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37662 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37663 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37664 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37665
37666 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37667 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37668
37669 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37670 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37671
37672 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37673 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37675
37676 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37677 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37678 to ...
37679 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37680
37681 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37682 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37683 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37684
37685 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37686 for x86-64.
37687 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37688
37689 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37690
37691 * math/math.h (M_El): Use two more decimal places.
37692 (M_LOG2El): Likewise.
37693 (M_LOG10El): Likewise.
37694 (M_LN2l): Likewise.
37695 (M_LN10l): Likewise.
37696 (M_PIl): Likewise.
37697 (M_PI_2l): Likewise.
37698 (M_PI_4l): Likewise.
37699 (M_1_PIl): Likewise.
37700 (M_2_PIl): Likewise.
37701 (M_2_SQRTPIl): Likewise.
37702 (M_SQRT2l): Likewise.
37703 (M_SQRT1_2l): Likewise.
37704
37705 2012-05-31 David S. Miller <davem@davemloft.net>
37706
37707 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37708 values between float registers.
37709 * sysdeps/sparc/sparc64/memset.S: Likewise.
37710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37711
37712 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37713
37714 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37715 -D_FORTIFY_SOURCE=1.
37716 (CPPFLAGS-tst-longjmp_chk.c): Define.
37717 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37718 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37719 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37720 CFLAGS-tst-wchar-h.c.
37721
37722 2012-05-31 Marek Polacek <polacek@redhat.com>
37723
37724 [BZ #14132]
37725 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37726 __endmntent_internal): Remove declaration.
37727 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37728 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37729 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37730
37731 2012-05-30 David S. Miller <davem@davemloft.net>
37732
37733 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37734 (___Q_simulate_exceptions): Use real FP ops rather than writing
37735 into the %fsr.
37736 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37737 Likewise.
37738
37739 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37740
37741 [BZ #14117]
37742 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37743 * sysdeps/x86/bits/xtitypes.h: This.
37744
37745 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37746 * sysdeps/x86/bits/wordsize.h: This.
37747
37748 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37749 * sysdeps/x86/bits/huge_vall.h: This.
37750
37751 * sysdeps/i386/bits/select.h: Removed.
37752 * sysdeps/x86_64/bits/select.h: Renamed to ...
37753 * sysdeps/x86/bits/select.h: This.
37754
37755 * sysdeps/i386/bits/setjmp.h: Removed.
37756 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37757 * sysdeps/x86/bits/setjmp.h: This.
37758
37759 * sysdeps/i386/bits/mathdef.h: Removed.
37760 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37761 * sysdeps/x86/bits/mathdef.h: This.
37762
37763 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37764
37765 [BZ #14132]
37766 * include/sys/socket.h (__connect_internal)
37767 (__libc_sa_len_internal): Remove declaration.
37768 (__connect, __libc_sa_len): Declare hidden_proto.
37769 (SA_LEN): Remove use of INTUSE.
37770 * socket/connect.c: Add libc_hidden_def.
37771 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37772 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37773 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37774 alias.
37775 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37777 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37778 of adding _internal alias.
37779
37780 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37781
37782 [BZ #14117]
37783 * sysdeps/i386/bits/link.h: Removed.
37784 * sysdeps/i386/bits/linkmap.h: Likewise.
37785 * sysdeps/x86_64/bits/link.h: Renamed to ...
37786 * sysdeps/x86/bits/link.h: This.
37787 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37788 * sysdeps/x86/bits/linkmap.h: This.
37789
37790 * sysdeps/i386/bits/endian.h: Removed.
37791 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37792 * sysdeps/x86/bits/endian.h: This.
37793
37794 * sysdeps/i386/bits/byteswap.h: Removed.
37795 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37796 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37797 * sysdeps/x86/bits/byteswap.h: This.
37798 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37799 * sysdeps/x86/bits/byteswap-16.h: This.
37800 * sysdeps/i386/Implies: Add x86.
37801 * sysdeps/x86_64/Implies: Likewise.
37802
37803 2012-05-30 David S. Miller <davem@davemloft.net>
37804
37805 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37806 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37808 (FP_TRAPPING_EXCEPTIONS): Define.
37809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37810 (FP_TRAPPING_EXCEPTIONS): Define.
37811 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37812 subnormals only when inexact has been signalled or underflow
37813 exceptions are enabled.
37814 (_FP_PACK_CANONICAL): Likewise.
37815
37816 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37817
37818 [BZ #14183]
37819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37820 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37821
37822 2012-05-30 Richard Henderson <rth@twiddle.net>
37823
37824 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37825 with #ifndef NOT_IN_libc.
37826
37827 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37828 marked to avoid plt entry.
37829
37830 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37831
37832 [BZ #14112]
37833 * Makeconfig (default-abi): New macro.
37834 (abi-includes): Likewise.
37835 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37836 $(abi-$(default-abi)-lib-soname) for soname if defined.
37837 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37838 abi-variants.
37839 * Makefile (installed-stubs): Likewise.
37840 * include/stubs-biarch.h: Removed.
37841 * scripts/lib-names.awk: Only handle one library at a time.
37842 * scripts/soversions.awk: Remove WORDSIZE support.
37843 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37844 entries.
37845 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37846 Removed.
37847 (syscall-list-default-condition): Likewise.
37848 (syscall-list-default-condition): Likewise.
37849 (syscall-list-includes): Likewise.
37850 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37851 syscall-list-* with abi-*. Handle undefined abi-variants.
37852 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37853 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37854 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37855 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37856 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37857 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37858 Removed.
37859 (syscall-list-32-options): Likewise.
37860 (syscall-list-32-condition): Likewise.
37861 (syscall-list-64-options): Likewise.
37862 (syscall-list-64-condition): Likewise.
37863 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37864 macro.
37865 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37866 Renamed to ...
37867 (abi-*): This.
37868 (abi-64-ld-soname): New macro.
37869 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37870 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37871 Renamed to ...
37872 (abi-*): This.
37873 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37874 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37875
37876 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37877
37878 * sysdeps/unix/sysv/linux/kernel-features.h
37879 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37880 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37881 include <kernel-features.h>.
37882 [!__NR_ftruncate64]: Remove conditional code.
37883 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37884 [__NR_ftruncate64]: Make code unconditional.
37885 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37886 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37887 include <kernel-features.h>.
37888 [!__NR_ftruncate64]: Remove conditional code.
37889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37890 [__NR_ftruncate64]: Make code unconditional.
37891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37893 include <kernel-features.h>.
37894 [!__NR_ftruncate64]: Remove conditional code.
37895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37896 [__NR_ftruncate64]: Make code unconditional.
37897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37899 include <kernel-features.h>.
37900 [!__NR_ftruncate64]: Remove conditional code.
37901 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37902 [__NR_ftruncate64]: Make code unconditional.
37903 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37904
37905 * configure.in (libc_cv_fpie): Weaken to a compile test using
37906 LIBC_TRY_CC_OPTION.
37907 * configure: Regenerated.
37908
37909 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37910
37911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37915 Refreshed.
37916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37922 Refreshed.
37923
37924 2012-05-27 David S. Miller <davem@davemloft.net>
37925
37926 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37927 (___Q_zero): New.
37928 (__Q_simulate_exceptions): Return void. Change to simulate
37929 exceptions by writing into the %fsr.
37930 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37931 (__Qp_handle_exceptions): Likewise.
37932 (numbers): Delete.
37933 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37934 __Qp_handle_exceptions.
37935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37936 __Qp_handle_exceptions.
37937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37938 as unused and give dummy FP_RND_NEAREST initializer.
37939 (FP_INHIBIT_RESULTS): Define.
37940 (___Q_simulate_exceptions): Update declaration.
37941 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37942 formatting.
37943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37944 as unused and give dummy FP_RND_NEAREST initializer.
37945 (__Qp_handle_exceptions): Update declaration.
37946 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37947 formatting.
37948
37949 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37950
37951 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37952 the temporary FPU control word.
37953 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37954 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37955 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37956 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37957 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37958 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37959 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37961 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37962 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37963 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37964
37965 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37966
37967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37968 fields.
37969
37970 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37971
37972 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37973 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37974 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37975 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37976 Likewise.
37977 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37978 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37979 Likewise.
37980
37981 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37982
37983 * po/h.po: Update from translation team.
37984
37985 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37986
37987 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37988
37989 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37990 handling of denormals.
37991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37992 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37993 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37994 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37998 Likewise.
37999
38000 2012-05-26 Marek Polacek <polacek@redhat.com>
38001
38002 [BZ #14152]
38003 * math/libm-test.inc (fma_test): Don't always expect underflow
38004 exception.
38005
38006 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38007
38008 [BZ #12416]
38009 * elf/tst-execstack.c: Include stackinfo.h.
38010 (do_test): Adjust test case to ensure that pthread_getattr_np
38011 behaviour remains the same after marking stack executable.
38012
38013 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38014
38015 * sysdeps/unix/sysv/linux/kernel-features.h
38016 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38017 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38018 kernel-features.h.
38019 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38020 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38021 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38022 kernel-features.h.
38023 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38024 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38025
38026 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38027
38028 * configure.in: Define the default includes to being none.
38029 * configure: Regenerated.
38030
38031 2012-05-25 Roland McGrath <roland@hack.frob.com>
38032
38033 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38034 * sysdeps/x86_64/setjmp.S: Likewise.
38035 * sysdeps/i386/bsd-setjmp.S: Likewise.
38036 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38037 * sysdeps/i386/setjmp.S: Likewise.
38038 * sysdeps/i386/__longjmp.S: Likewise.
38039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38041
38042 * include/stap-probe.h: New file.
38043 * configure.in: Handle --enable-systemtap.
38044 * configure: Regenerated.
38045 * config.h.in (USE_STAP_PROBE): New #undef.
38046 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38047 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38048 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38049
38050 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38051
38052 [BZ #13717]
38053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38054 to 2.4.0 where earlier.
38055 * sysdeps/unix/sysv/linux/configure: Regenerated.
38056 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38057 <kernel-features.h>.
38058 [__ASSUME_32BITUIDS]: Make code unconditional.
38059 [!__ASSUME_32BITUIDS]: Remove conditional code.
38060 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38061 <kernel-features.h>.
38062 [__ASSUME_32BITUIDS]: Make code unconditional.
38063 [!__ASSUME_32BITUIDS]: Remove conditional code.
38064 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38065 [__ASSUME_32BITUIDS]: Make code unconditional.
38066 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38067 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38068 <kernel-features.h>.
38069 [__ASSUME_32BITUIDS]: Make code unconditional.
38070 [!__ASSUME_32BITUIDS]: Remove conditional code.
38071 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38072 <kernel-features.h>.
38073 [__ASSUME_32BITUIDS]: Make code unconditional.
38074 [!__ASSUME_32BITUIDS]: Remove conditional code.
38075 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38076 <kernel-features.h>.
38077 [__ASSUME_32BITUIDS]: Make code unconditional.
38078 [!__ASSUME_32BITUIDS]: Remove conditional code.
38079 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38080 <kernel-features.h>.
38081 [__ASSUME_32BITUIDS]: Make code unconditional.
38082 [!__ASSUME_32BITUIDS]: Remove conditional code.
38083 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38084 <kernel-features.h>.
38085 [__ASSUME_32BITUIDS]: Make code unconditional.
38086 [!__ASSUME_32BITUIDS]: Remove conditional code.
38087 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38088 <kernel-features.h>.
38089 [__ASSUME_32BITUIDS]: Make code unconditional.
38090 [!__ASSUME_32BITUIDS]: Remove conditional code.
38091 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38092 <kernel-features.h>.
38093 [__ASSUME_32BITUIDS]: Make code unconditional.
38094 [!__ASSUME_32BITUIDS]: Remove conditional code.
38095 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38096 <kernel-features.h>.
38097 [__ASSUME_32BITUIDS]: Make code unconditional.
38098 [!__ASSUME_32BITUIDS]: Remove conditional code.
38099 * sysdeps/unix/sysv/linux/i386/msgctl.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/i386/semctl.c: Do not include
38104 <kernel-features.h>.
38105 [__ASSUME_32BITUIDS]: Make code unconditional.
38106 [!__ASSUME_32BITUIDS]: Remove conditional code.
38107 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38108 <kernel-features.h>.
38109 [__NR_setresgid] (__setresgid): Do not declare.
38110 [__ASSUME_32BITUIDS]: Make code unconditional.
38111 [!__ASSUME_32BITUIDS]: Remove conditional code.
38112 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38113 <kernel-features.h>.
38114 [__NR_setresuid] (__setresuid): Do not declare.
38115 [__ASSUME_32BITUIDS]: Make code unconditional.
38116 [!__ASSUME_32BITUIDS]: Remove conditional code.
38117 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38118 <kernel-features.h>.
38119 [__ASSUME_32BITUIDS]: Make code unconditional.
38120 [!__ASSUME_32BITUIDS]: Remove conditional code.
38121 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38122 <kernel-features.h>.
38123 [__ASSUME_32BITUIDS]: Make code unconditional.
38124 [!__ASSUME_32BITUIDS]: Remove conditional code.
38125 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38126 <kernel-features.h>.
38127 [__ASSUME_32BITUIDS]: Make code unconditional.
38128 [!__ASSUME_32BITUIDS]: Remove conditional code.
38129 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38130 <kernel-features.h>.
38131 [__ASSUME_32BITUIDS]: Make code unconditional.
38132 [!__ASSUME_32BITUIDS]: Remove conditional code.
38133 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38134 <kernel-features.h>.
38135 [__ASSUME_32BITUIDS]: Make code unconditional.
38136 [!__ASSUME_32BITUIDS]: Remove conditional code.
38137 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38138 <kernel-features.h>.
38139 [__ASSUME_32BITUIDS]: Make code unconditional.
38140 [!__ASSUME_32BITUIDS]: Remove conditional code.
38141 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38142 <kernel-features.h>.
38143 [__ASSUME_32BITUIDS]: Make code unconditional.
38144 [!__ASSUME_32BITUIDS]: Remove conditional code.
38145 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38146 <kernel-features.h>.
38147 [__ASSUME_32BITUIDS]: Make code unconditional.
38148 [!__ASSUME_32BITUIDS]: Remove conditional code.
38149 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38150 <kernel-features.h>.
38151 [__ASSUME_32BITUIDS]: Make code unconditional.
38152 [!__ASSUME_32BITUIDS]: Remove conditional code.
38153 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38154 <kernel-features.h>.
38155 [__ASSUME_32BITUIDS]: Make code unconditional.
38156 [!__ASSUME_32BITUIDS]: Remove conditional code.
38157 * sysdeps/unix/sysv/linux/kernel-features.h
38158 (__ASSUME_SETRESUID_SYSCALL): Remove.
38159 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38160 (__ASSUME_32BITUIDS): Likewise.
38161 (__ASSUME_LDT_WORKS): Likewise.
38162 (__ASSUME_O_DIRECTORY): Likewise.
38163 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38164 architecture but not kernel version.
38165 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38166 (__ASSUME_MMAP2_SYSCALL): Likewise.
38167 (__ASSUME_STAT64_SYSCALL): Likewise.
38168 (__ASSUME_IPC64): Likewise.
38169 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38170 <kernel-features.h>.
38171 [__ASSUME_32BITUIDS]: Make code unconditional.
38172 [!__ASSUME_32BITUIDS]: Remove conditional code.
38173 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38174 <kernel-features.h>.
38175 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38176 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38177 132096]: Remove conditional code.
38178 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38180 <kernel-features.h>.
38181 [__ASSUME_32BITUIDS]: Make code unconditional.
38182 [!__ASSUME_32BITUIDS]: Remove conditional code.
38183 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38184 <kernel-features.h>.
38185 [__ASSUME_32BITUIDS]: Make code unconditional.
38186 [!__ASSUME_32BITUIDS]: Remove conditional code.
38187 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38188 <kernel-features.h>.
38189 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38190 unconditional.
38191 (__setresgid): Do not declare.
38192 [__ASSUME_32BITUIDS]: Make code unconditional.
38193 [!__ASSUME_32BITUIDS]: Remove conditional code.
38194 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38195 <kernel-features.h>.
38196 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38197 unconditional.
38198 (__setresuid): Do not declare.
38199 [__ASSUME_32BITUIDS]: Make code unconditional.
38200 [!__ASSUME_32BITUIDS]: Remove conditional code.
38201 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38202 <kernel-features.h>.
38203 [__ASSUME_32BITUIDS]: Make code unconditional.
38204 [!__ASSUME_32BITUIDS]: Remove conditional code.
38205 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38206 <kernel-features.h>.
38207 [__ASSUME_32BITUIDS]: Make code unconditional.
38208 [!__ASSUME_32BITUIDS]: Remove conditional code.
38209
38210 2012-05-25 Richard Henderson <rth@twiddle.net>
38211
38212 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38213 dl_hwcap to ifunc resolver.
38214 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38215 elf_ifunc_invoke.
38216 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38217 dl_hwcap to ifunc resolver.
38218 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38219
38220 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38221
38222 [BZ #14153]
38223 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38224 for |x| <= 2**-26, not 2**-57.
38225 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38226 exception.
38227
38228 2012-05-24 Jeff Law <law@redhat.com>
38229
38230 * stdio-common/Makefile (tests): Add bug25.
38231 * stdio-common/bug25.c: New test.
38232
38233 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38234
38235 [BZ #13576]
38236 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38237 multiple of MALLOC_ALIGNMENT in size.
38238 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38239
38240 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38241
38242 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38243 Require >= 256.
38244 (FILENAME_MAX): Use macro-int-constant.
38245 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38246 (_IOFBF): Use macro-int-constant.
38247 (_IOLBF): Likewise.
38248 (_IONBF): Likewise.
38249 (SEEK_CUR): Likewise.
38250 (SEEK_END): Likewise.
38251 (SEEK_SET): Likewise.
38252 (TMP_MAX): Likewise.
38253 (EOF): Use macro-int-constant. Require < 0.
38254 (NULL): Use macro-constant. Require == 0.
38255 (stdin): Require type to be FILE *.
38256 (stdout): Likewise.
38257 (stderr): Likewise.
38258 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38259 macro-int-constant.
38260 (EXIT_SUCCESS): Likewise.
38261 (NULL): Use macro-constant. Require == 0.
38262 (RAND_MAX): Use macro-int-constant.
38263 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38264 [C99-based standards] (strtof): Require function.
38265 [C99-based standards] (strtold): Likewise.
38266 [C99-based standards] (strtoll): Likewise.
38267 [C99-based standards] (strtoull): Likewise.
38268 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38269 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38270 [ISO || ISO99 || ISO11] (math.h): Likewise.
38271 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38272 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38274
38275 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38276
38277 [BZ #14132]
38278 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38279 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38280 * intl/dgettext.c (DCGETTEXT): Likewise.
38281 * intl/gettext.c (DCGETTEXT): Likewise.
38282 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38283 * posix/regex_internal.h (gettext): Likewise.
38284 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38285 Remove declaration.
38286 * include/argz.h (__argz_count_internal)
38287 (__argz_stringify_internal): Remove declaration.
38288 (__argz_count, __argz_stringify): Declare hidden proto.
38289 * intl/dcgettext.c: Remove use of INTDEF.
38290 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38291 * string/argz-stringify.c: Likewise.
38292 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38293 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38294 Declare hidden proto.
38295 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38296 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38297 Declare hidden proto.
38298 * include/stdio.h (__asprintf_internal): Don't declare.
38299 (__asprintf): Don't define as macro. Declare hidden proto.
38300 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38301 (__fsetlocking): Declare hidden proto.
38302 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38303 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38304 hidden proto.
38305 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38306 (_IO_setlinebuf): Remove use of INTUSE.
38307 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38308 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38309 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38310 Remove declaration.
38311 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38312 (_IO_do_flush): Remove use of INTUSE.
38313 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38314 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38315 (_IO_adjust_column, _IO_least_wmarker)
38316 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38317 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38318 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38319 (_IO_default_doallocate, _IO_wdefault_doallocate)
38320 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38321 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38322 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38323 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38324 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38325 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38326 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38327 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38328 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38329 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38330 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38331 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38332 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38333 proto.
38334 (_IO_flush_all_internal, _IO_adjust_column_internal)
38335 (_IO_default_uflow_internal, _IO_default_finish_internal)
38336 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38337 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38338 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38339 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38340 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38341 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38342 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38343 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38344 (_IO_file_close_internal, _IO_file_close_it_internal)
38345 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38346 (_IO_file_init_internal, _IO_file_attach_internal)
38347 (_IO_file_fopen_internal, _IO_file_read_internal)
38348 (_IO_file_sync_internal, _IO_file_seek_internal)
38349 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38350 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38351 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38352 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38353 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38354 (_IO_list_all_internal, _IO_link_in_internal)
38355 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38356 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38357 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38358 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38359 (_IO_do_write_internal, _IO_padn_internal)
38360 (_IO_getline_info_internal, _IO_getline_internal)
38361 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38362 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38363 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38364 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38365 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38366 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38367 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38368 with libc_hidden_ver, remove use of INTUSE.
38369 * libio/genops.c: Likewise.
38370 * libio/freopen.c: Likewise.
38371 * libio/freopen64.c: Likewise.
38372 * libio/iofclose.c: Likewise.
38373 * libio/iofdopen.c: Likewise.
38374 * libio/iofflush.c: Likewise.
38375 * libio/iofflush_u.c: Likewise.
38376 * libio/iofgets.c: Likewise.
38377 * libio/iofgets_u.c: Likewise.
38378 * libio/iofopen.c: Likewise.
38379 * libio/iofopncook.c: Likewise.
38380 * libio/iofread.c: Likewise.
38381 * libio/iofread_u.c: Likewise.
38382 * libio/ioftell.c: Likewise.
38383 * libio/iofwrite.c: Likewise.
38384 * libio/iogetline.c: Likewise.
38385 * libio/iogets.c: Likewise.
38386 * libio/iogetwline.c: Likewise.
38387 * libio/iopadn.c: Likewise.
38388 * libio/iopopen.c: Likewise.
38389 * libio/ioseekoff.c: Likewise.
38390 * libio/ioseekpos.c: Likewise.
38391 * libio/iosetbuffer.c: Likewise.
38392 * libio/iosetvbuf.c: Likewise.
38393 * libio/ioungetc.c: Likewise.
38394 * libio/ioungetwc.c: Likewise.
38395 * libio/iovdprintf.c: Likewise.
38396 * libio/iovsprintf.c: Likewise.
38397 * libio/iovsscanf.c: Likewise.
38398 * libio/memstream.c: Likewise.
38399 * libio/obprintf.c: Likewise.
38400 * libio/oldfileops.c: Likewise.
38401 * libio/oldiofclose.c: Likewise.
38402 * libio/oldiofdopen.c: Likewise.
38403 * libio/oldiofopen.c: Likewise.
38404 * libio/oldiopopen.c: Likewise.
38405 * libio/oldstdfiles.c: Likewise.
38406 * libio/putc.c: Likewise.
38407 * libio/setbuf.c: Likewise.
38408 * libio/setlinebuf.c: Likewise.
38409 * libio/stdfiles.c: Likewise.
38410 * libio/strops.c: Likewise.
38411 * libio/vasprintf.c: Likewise.
38412 * libio/vscanf.c: Likewise.
38413 * libio/vsnprintf.c: Likewise.
38414 * libio/vswprintf.c: Likewise.
38415 * libio/wfiledoalloc.c: Likewise.
38416 * libio/wfileops.c: Likewise.
38417 * libio/wgenops.c: Likewise.
38418 * libio/wmemstream.c: Likewise.
38419 * libio/wstrops.c: Likewise.
38420 * libio/__fpurge.c: Likewise.
38421 * libio/__fsetlocking.c: Likewise.
38422 * assert/assert.c: Likewise.
38423 * debug/fgets_chk.c: Likewise.
38424 * debug/fgets_u_chk.c: Likewise.
38425 * debug/fread_chk.c: Likewise.
38426 * debug/fread_u_chk.c: Likewise.
38427 * debug/gets_chk.c: Likewise.
38428 * debug/obprintf_chk.c: Likewise.
38429 * debug/vasprintf_chk.c: Likewise.
38430 * debug/vdprintf_chk.c: Likewise.
38431 * debug/vsnprintf_chk.c: Likewise.
38432 * debug/vsprintf_chk.c: Likewise.
38433 * malloc/mtrace.c: Likewise.
38434 * misc/error.c: Likewise.
38435 * misc/syslog.c: Likewise.
38436 * stdio-common/asprintf.c: Likewise.
38437 * stdio-common/fxprintf.c: Likewise.
38438 * stdio-common/getw.c: Likewise.
38439 * stdio-common/isoc99_fscanf.c: Likewise.
38440 * stdio-common/isoc99_scanf.c: Likewise.
38441 * stdio-common/isoc99_vfscanf.c: Likewise.
38442 * stdio-common/isoc99_vscanf.c: Likewise.
38443 * stdio-common/isoc99_vsscanf.c: Likewise.
38444 * stdio-common/printf-prs.c: Likewise.
38445 * stdio-common/printf_fp.c: Likewise.
38446 * stdio-common/printf_fphex.c: Likewise.
38447 * stdio-common/printf_size.c: Likewise.
38448 * stdio-common/putw.c: Likewise.
38449 * stdio-common/scanf.c: Likewise.
38450 * stdio-common/sprintf.c: Likewise.
38451 * stdio-common/tmpfile.c: Likewise.
38452 * stdio-common/vfprintf.c: Likewise.
38453 * stdio-common/vfscanf.c: Likewise.
38454 * stdlib/strfmon_l.c: Likewise.
38455 * sunrpc/openchild.c: Likewise.
38456 * sunrpc/xdr_stdio.c: Likewise.
38457 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38458 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38459
38460 2012-05-24 Roland McGrath <roland@hack.frob.com>
38461
38462 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38463
38464 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38465 in the third column, to generate for the shared library an IFUNC
38466 that uses _dl_vdso_vsym.
38467 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38468 * Makeconfig (object-suffixes-noshared): New variable.
38469
38470 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38471 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38472 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38473 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38474
38475 [BZ #14132]
38476 * include/sys/time.h (__gettimeofday): Remove macro.
38477 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38478 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38479 Remove INTDEF.
38480 (__gettimeofday): Add libc_hidden_def.
38481 (gettimeofday): Add libc_hidden_weak.
38482 * sysdeps/mach/gettimeofday.c: Likewise.
38483 * sysdeps/posix/gettimeofday.c: Likewise.
38484 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38485 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38487 (__gettimeofday_internal): Remove strong_alias.
38488 (__gettimeofday): Add libc_hidden_def.
38489 (gettimeofday): Add libc_hidden_weak.
38490 * sysdeps/unix/syscalls.list (gettimeofday):
38491 Remove __gettimeofday_internal alias.
38492
38493 2012-05-24 Daniel Jacobowitz <drow@false.org>
38494 H.J. Lu <hongjiu.lu@intel.com>
38495
38496 [BZ #12495]
38497 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38498 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38499 (largebin_index_32_big): New.
38500 (largebin_index): Use it for 16-byte alignment.
38501 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38502 correction with front_misalign.
38503
38504 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38505
38506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38508 Likewise.
38509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38510 Likewise.
38511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38512 Likewise.
38513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38514 Likewise.
38515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38516 Likewise.
38517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38518 Likewise.
38519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38520 Likewise.
38521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38522 Likewise.
38523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38524 Likewise.
38525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38526 Likewise.
38527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38528 Likewise.
38529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38530 Likewise.
38531
38532 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38533 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38534
38535 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38536
38537 [BZ #10846]
38538 [BZ #14036]
38539 * math/libm-test.inc (exp_test): Add test from bug 14036.
38540 (pow_test): Add test from bug 10846.
38541
38542 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38543 and other flags.
38544 (special_function): Do not include flags in test name.
38545 (parse_args): Likewise.
38546 * sysdeps/i386/fpu/libm-test-ulps: Update.
38547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38548 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38549 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38551
38552 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38553 exceptions.
38554 * math/libm-test.inc ("Philosophy"): Update comment about
38555 exception testing.
38556 (UNDERFLOW_EXCEPTION): New macro.
38557 (UNDERFLOW_EXCEPTION_OK): Likewise.
38558 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38559 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38560 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38561 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38562 (INVALID_EXCEPTION_OK): Update value.
38563 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38564 (OVERFLOW_EXCEPTION_OK): Likewise.
38565 (IGNORE_ZERO_INF_SIGN): Likewise.
38566 (test_exceptions): Handle underflow exceptions.
38567 (acos_test): Update for underflow exception expectations.
38568 (cexp_test): Likewise.
38569 (clog_test): Likewise.
38570 (clog10_test): Likewise.
38571 (csqrt_test): Likewise.
38572 (ctan_test): Likewise.
38573 (ctanh_test): Likewise.
38574 (exp_test): Likewise.
38575 (exp10_test): Likewise.
38576 (exp2_test): Likewise.
38577 (expm1_test): Likewise.
38578 (fma_test): Likewise.
38579 (j0_test): Likewise.
38580 (jn_test): Likewise.
38581 (nexttoward_test): Likewise.
38582 (pow_test): Likewise.
38583 (scalbn_test): Likewise.
38584 (scalbln_test): Likewise.
38585 (tan_test): Likewise.
38586 (y1_test): Likewise.
38587 * sysdeps/i386/fpu/libm-test-ulps: Update.
38588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38589
38590 2012-05-23 David S. Miller <davem@davemloft.net>
38591
38592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38593 (__libc_sigaction): Remove unused local variables.
38594
38595 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38596
38597 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38598
38599 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38600
38601 mktime: avoid signed integer overflow
38602 * time/mktime.c (__mktime_internal): Do not mishandle the case
38603 where diff == INT_MIN.
38604
38605 mktime: simplify computation of average
38606 * time/mktime.c (ranged_convert): Use new time_t_avg function
38607 instead of rolling our own (probably-slower) code.
38608
38609 mktime: do not assume signed right shift propagates sign bit
38610 * time/mktime.c (isdst_differ): New static function.
38611 (__mktime_internal): No need to normalize tm_isdst now.
38612 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38613 tm_isdst values.
38614
38615 mktime: merge another wrapv change from gnulib
38616 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38617 from some compilers.
38618
38619 mktime: remove incorrect attempt at unusual arithmetics
38620 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38621 The code didn't really work on such machines anyway.
38622 (TYPE_MINIMUM): Assume two's complement.
38623 (twos_complement_arithmetic): Verify that long_int and time_t
38624 are two's complement (or unsigned, in the latter case).
38625
38626 mktime: check signed shifts on long_int and time_t, too
38627 * time/mktime.c (SHR): Check that shifts work as desired
38628 on the types long_int and time_t too, as SHR is used on
38629 such types.
38630
38631 mktime: do not assume 'long' is wide enough
38632 * time/mktime.c (verify): Move decl up.
38633 (long_int): New type.
38634 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38635 to remove assumption in the code that 'long' is wide enough to
38636 store year values. This assumption is not true on x32 and on
38637 some non-glibc platforms.
38638
38639 mktime: merge wrapv change from gnulib
38640 * time/mktime.c (WRAPV): New macro.
38641 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38642 (guess_time_tm, __mktime_internal): Do not assume that signed
38643 integer overflow wraps around; modern compilers generate code
38644 where this assumption is no longer valid.
38645
38646 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38647
38648 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38649 Replace "jmp L(pseudo_end)" with "ret".
38650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38651 Likewise.
38652
38653 2012-05-23 Andreas Jaeger <aj@suse.de>
38654
38655 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38656 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38657
38658 2012-05-23 Andreas Jaeger <aj@suse.de>
38659 Maximilian Attems <max@stro.at>
38660
38661 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38662 New macros.
38663
38664 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38665
38666 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38667 code so that pseudo_end is just ret and the stack pointer is
38668 correct also for static library in error case.
38669
38670 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38671
38672 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38673 move to syscalls.list.
38674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38678
38679 * manual/install.texi (Running make install): Do not mention Linux
38680 kernel version for which pt_chown is not needed.
38681 (Linux): Do not mention problems with nscd with 2.0 kernels.
38682 * INSTALL: Regenerated.
38683
38684 2012-05-23 Andreas Jaeger <aj@suse.de>
38685
38686 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38687 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38688 macro.
38689 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38690 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38691 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38692 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38693 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38694 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38697 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38699 * sysdeps/unix/sysv/linux/bits/in.h
38700 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38701
38702 2012-05-22 Roland McGrath <roland@hack.frob.com>
38703
38704 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38705 (PREPARE_VERSION): Just use assert instead, it will be elided
38706 under [NDEBUG] anyway.
38707
38708 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38709
38710 * sysdeps/unix/sysv/linux/Makefile: Include
38711 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38712 (sysdep_routines): Remove sysctl.
38713 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38714 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38715 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38716 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38717 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38718
38719 2012-05-22 Andreas Jaeger <aj@suse.de>
38720
38721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38722 that pseudo_end is just ret and the stack pointer is correct also
38723 for static library in error case.
38724
38725 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38726
38727 [BZ #14122]
38728 * nss/nsswitch.c (defconfig_entries): New variable.
38729 (__nss_database_lookup): Don't leak defconfig entries.
38730 (nss_parse_service_list): Don't leak on error paths.
38731 (free_database_entries): New function.
38732 (free_defconfig): New function.
38733 (free_mem): Move common code to free_database_entries.
38734
38735 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38736
38737 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38738 Add arch_prctl.
38739 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38740
38741 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38742 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38744 New macro.
38745 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38746 (INTERNAL_SYSCALL_TYPES): Likewise.
38747 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38748 (LOAD_REGS_TYPES_[1-6]): Likewise.
38749 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38750 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38751
38752 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38753
38754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38755 copysignl for GLIBC_2_0.
38756 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38757 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38759 logbl for GLIBC_2_0.
38760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38761 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38762
38763 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38764
38765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38766 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38767
38768 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38769 Use "neg %eax".
38770
38771 * time/mktime.c: Update copyright years.
38772
38773 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38774
38775 mktime: merge comment-quoting-style change from gnulib
38776 * time/mktime.c: Quote 'like this' in comments.
38777 The GNU coding standards suggest that we no longer quote `like this',
38778 as "`" and "'" are typically rendered asymmetrically nowadays.
38779 The typical gnulib style is to quote 'like this' when quoting
38780 code, and "like this" when quoting English.
38781
38782 * time/mktime.c (compile-command): Add "-I.".
38783
38784 mktime: merge mktime-internal.h change from gnulib
38785 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38786
38787 mktime: merge time_r change from gnulib
38788 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38789
38790 mktime: merge DEBUG change from gnulib
38791 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38792 case system <time.h> has a #define.
38793
38794 mktime: merge <sys/types.h> change from gnulib
38795 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38796 since <time.t> is now guaranteed to define time_t.
38797
38798 mktime: merge HAVE_CONFIG_H change from gnulib
38799 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38800
38801 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38802
38803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38804 Use "neg %eax".
38805
38806 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38807 __rlim_t cast.
38808 (struct rusage): Use anonymous union to pad each field to
38809 __syscall_slong_t.
38810
38811 2012-05-21 David S. Miller <davem@davemloft.net>
38812
38813 * Makefules (o-iterator): Remove .s cases.
38814 (compile-command.s): Delete.
38815 (COMPILE.s): Delete.
38816 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38817
38818 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38819
38820 * configure.in (libc_cv_predef_stack_protector): Only consider
38821 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38822 * configure: Regenerated.
38823
38824 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38825
38826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38827 New macro. Use R*LP on int and pointer.
38828 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38829 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38830 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38831 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38832
38833 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38834 [__WORDSIZE_TIME64_COMPAT32] instead of
38835 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38836 (struct utmp): Likewise.
38837 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38838 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38839 Renamed to ...
38840 (__WORDSIZE_TIME64_COMPAT32): This.
38841 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38842 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38843 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38844 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38845 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38846 (__WORDSIZE_TIME64_COMPAT32): New macro.
38847
38848 2012-05-21 Andreas Jaeger <aj@suse.de>
38849
38850 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38851 only if [SHARED]. Add prototype for __wcschr_ia32.
38852
38853 2012-05-21 Roland McGrath <roland@hack.frob.com>
38854
38855 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38856 of %rbp unmolested in the jmp_buf while mangling the low bits.
38857 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38858 unmolested high bits of %rbp while demangling the low bits.
38859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38860
38861 2012-05-21 Andreas Jaeger <aj@suse.de>
38862
38863 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38864 * sunrpc/svc_simple.c: Use it for registerrpc.
38865 * sunrpc/xcrypt.c: Use it for passwd2des.
38866
38867 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38868
38869 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38870
38871 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38872 Don't define if [__SYSCALL_WORDSIZE != 32].
38873 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38874 New macro.
38875
38876 2012-05-21 Bruno Haible <bruno@clisp.org>
38877 Andreas Jaeger <aj@suse.de>
38878
38879 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38880 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38881 inptr and inend for must_buffer_ch.
38882 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38883 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38884 * stdio-common/Makefile (tests): Remove bug15.
38885 (bug15-ENV): Remove macro.
38886 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38887 anymore.
38888
38889 2012-05-19 Andreas Jaeger <aj@suse.de>
38890 Roland McGrath <roland@hack.frob.com>
38891
38892 * manual/contrib.texi: Completely rewritten. It contains now an
38893 alphabetical list of contributors and their contributions.
38894
38895 2012-05-21 Richard Henderson <rth@twiddle.net>
38896
38897 * misc/getauxval.c (__getauxval): Use unsigned long int.
38898 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38899 (getauxval): Use unsigned long int.
38900
38901 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38902
38903 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38904
38905 2012-05-21 Roland McGrath <roland@hack.frob.com>
38906
38907 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38908 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38909 __alignof__ (long double).
38910
38911 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38912
38913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38914
38915 2012-05-20 Richard Henderson <rth@twiddle.net>
38916
38917 * misc/getauxval.c: New file.
38918 * misc/sys/auxv.h: New file.
38919 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38920 (routines): Add getauxval.
38921 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38923 * elf/dl-sysdep.c (_dl_auxv): Remove.
38924 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38925 * elf/dl-support.c (_dl_auxv): New variable.
38926 (_dl_aux_init): Initialize it.
38927 * manual/startup.texi (Auxiliary Vector): New node.
38928 * sysdeps/generic/bits/hwcap.h: New file.
38929 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38930 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38931 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38932 * sysdeps/sparc/sysdep.h: ... here. Include it.
38933 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38934 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38936 Update.
38937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38945
38946 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38947
38948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38949
38950 2012-05-19 David S. Miller <davem@davemloft.net>
38951
38952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38953
38954 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38955
38956 [BZ #14123]
38957 * math/s_ccosh.c: Include <float.h>
38958 (__ccosh): Avoid internal overflow calculating sinh and cosh
38959 values before multiplying by sin and cos values.
38960 * math/s_ccoshf.c: Likewise.
38961 * math/s_ccoshl.c: Likewise.
38962 * math/s_csin.c: Likewise.
38963 * math/s_csinf.c: Likewise.
38964 * math/s_csinl.c: Likewise.
38965 * math/s_csinh.c: Likewise.
38966 * math/s_csinhf.c: Likewise.
38967 * math/s_csinhl.c: Likewise.
38968 * math/libm-test.inc (ccos_test): Add more tests.
38969 (ccosh_test): Likewise.
38970 (csin_test): Likewise.
38971 (csinh_test): Likewise.
38972 * sysdeps/i386/fpu/libm-test-ulps: Update.
38973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38974
38975 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38976
38977 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38978 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38979
38980 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38981
38982 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38983
38984 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38985 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38986 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38987 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38988 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38989 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38990 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38991 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38992 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38993 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38994 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38995 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38996 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38997 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38998 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38999 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39000 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39001 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39002 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39003 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39004 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39005 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39006 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39007 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39008 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39009 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39010 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39011 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39012 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39013 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39014 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39015
39016 2012-05-18 Andreas Jaeger <aj@suse.de>
39017
39018 * csu/.gitignore: Delete.
39019
39020 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39021
39022 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39023 (timex): Use __syscall_slong_t.
39024
39025 2012-05-18 Andreas Jaeger <aj@suse.de>
39026 Carlos O'Donell <carlos_odonell@mentor.com>
39027
39028 * manual/install.texi (Configuring and compiling): Update
39029 description about files modified in the source directory.
39030 * INSTALL: Regenerated.
39031
39032 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39033
39034 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39035 value. Use "or" to set return value to -1.
39036 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39037 negate return value.
39038
39039 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39040
39041 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39042 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39043 failure if the compiler has Graphite support disabled.
39044 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39045 Likewise.
39046 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39047 (CFLAGS-memmove.c): Likewise.
39048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39049 Likewise.
39050
39051 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39052
39053 * sysdeps/x86_64/x32/_itoa.h: New file.
39054
39055 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39056 getdents system call only if kernel and user dirents have the
39057 same d_ino and d_off.
39058
39059 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39060 LLONG_MAX != LONG_MAX.
39061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39062 (_fitoa_word): Likewise.
39063
39064 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39065 years.
39066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39068 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39069
39070 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39071 include <bits/wordsize.h>. Check __x86_64__ instead of
39072 __WORDSIZE.
39073 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39074 if __x86_64__ is defined. Use anonymous union on fpstate.
39075
39076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39077 anonymous union.
39078
39079 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39080
39081 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39082 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39083 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39084 Refer to _rtld_local_ro instead of _rtld_global_ro.
39085 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39086 Likewise.
39087 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39088 Likewise.
39089 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39090 Likewise.
39091 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39092 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39093 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39094
39095 * sysdeps/powerpc/powerpc32/dl-machine.c
39096 (__elf_machine_runtime_setup) [PROF]: Don't reference
39097 _dl_prof_resolve.
39098
39099 2012-05-18 Andreas Jaeger <aj@suse.de>
39100
39101 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39102 function only available for GCCs before 3.4 since GCC 3.4
39103 introduced a builtin.
39104 (lrint): Likewise.
39105 (llrintf): Likewise.
39106 (llrint): Likewise.
39107 (fmaxf): Likewise.
39108 (fmax): Likewise.
39109 (fminf): Likewise.
39110 (fmin): Likewise.
39111 (rint): Likewise.
39112 (rintf): Likewise.
39113 (nearbyint): Likewise.
39114 (nearbyintf): Likewise.
39115 (ceil): Likewise.
39116 (ceilf): Likewise.
39117 (floor): Likewise.
39118 (floorf): Likewise.
39119
39120 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39121
39122 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39123 on both fields and cast pointer to __syscall_ulong_t.
39124
39125 * bits/types.h (__fsword_t): New type.
39126 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39127 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39129 (__FSWORD_T_TYPE): Likewise.
39130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39131 (__FSWORD_T_TYPE): Likewise.
39132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39133 (__FSWORD_T_TYPE): Likewise.
39134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39135 (__FSWORD_T_TYPE): Likewise.
39136 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39137 __SWORD_TYPE with __fsword_t.
39138 (statfs64): Likewise.
39139
39140 2012-05-17 David S. Miller <davem@davemloft.net>
39141
39142 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39143
39144 2012-05-17 Andreas Jaeger <aj@suse.de>
39145
39146 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39147 warning.
39148
39149 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39150
39151 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39152
39153 2012-05-17 Andreas Jaeger <aj@suse.de>
39154
39155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39156 when it is used.
39157
39158 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39159
39160 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39161
39162 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39163
39164 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39165 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39166
39167 2012-05-17 Andreas Jaeger <aj@suse.de>
39168 Carlos O'Donell <carlos_odonell@mentor.com>
39169
39170 [BZ #14059]
39171 * sysdeps/x86_64/multiarch/init-arch.h
39172 (bit_YMM_Usable): Rename to...
39173 (bit_AVX_Usable): ... this.
39174 (bit_FMA4_Usable): New macro.
39175 (bit_XMM_state): New macro.
39176 (bit_YMM_state): New macro.
39177 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39178 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39179 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39180 (CPUID_OSXSAVE): New macro.
39181 (CPUID_AVX): New macro.
39182 (CPUID_FMA4): New macro.
39183 (index_YMM_Usable): Rename to...
39184 (index_AVX_Usable): ... this.
39185 (HAS_AVX): Use HAS_ARCH_FEATURE.
39186 (HAS_FMA4): Likewise.
39187 (HAS_YMM_USABLE): Remove.
39188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39189 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39190 are present.
39191 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39192 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39193 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39194 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39195 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39196
39197 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39198
39199 * math/libm-test.c: Support platforms without multiple rounding modes.
39200 * math/bug-nextafter.c: Support platforms without FP exceptions.
39201 * math/bug-nexttoward.c: Likewise.
39202 * math/test-fenv.c: Likewise.
39203 * math/test-misc.c: Likewise.
39204 * stdlib/bug-getcontext.c: Likewise.
39205
39206 2012-05-17 Andreas Jaeger <aj@suse.de>
39207
39208 * manual/examples/search.c (critter_cmp): Change signature to
39209 avoid warnings.
39210 * manual/string.texi (Collation Functions): Likewise.
39211
39212 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39213
39214 * bits/types.h: Fold copyright years.
39215 * bits/typesizes.h: Likewise.
39216 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39220 * time/time.h: Likewise.
39221
39222 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39223
39224 [BZ #208]
39225 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39226 in instead of returning them. Return void.
39227 (__libc_mallinfo): Accumulate over all arenas.
39228 (__malloc_stats): Adjust for change in int_mallinfo interface.
39229
39230 2012-05-16 Roland McGrath <roland@hack.frob.com>
39231
39232 [BZ #10375]
39233 * configure.in (NM): Add AC_CHECK_TOOL for it.
39234 (libc_extra_cflags): New substituted variable.
39235 Check for -fstack-protector being used implicitly.
39236 * configure: Regenerated.
39237 * config.make.in (config-extra-cflags): New variable,
39238 gets @libc_extra_cflags@.
39239 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39240
39241 [BZ #10375]
39242 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39243 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39244 * configure: Regenerated.
39245 * config.make.in (CPPUNDEFS): New substituted variable.
39246 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39247 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39248 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39249
39250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39251
39252 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39253 (mq_attr): Use __syscall_slong_t.
39254
39255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39256
39257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39258 Check __x86_64__ instead of __WORDSIZE.
39259 (_STAT_VER_LINUX): Likewise.
39260 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39261 __syscall_ulong_t and __syscall_slong_t.
39262 (stat64): Likewise.
39263
39264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39265
39266 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39267
39268 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39269
39270 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39271
39272 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39273
39274 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39275 __syscall_ulong_t.
39276
39277 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39278 include <bits/wordsize.h>. Check __x86_64__ instead of
39279 __WORDSIZE.
39280 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39281 defined.
39282 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39283
39284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39285 include <bits/wordsize.h>. Check __x86_64__ instead of
39286 __WORDSIZE.
39287 (user_regs_struct): Use "__extension__ unsigned long long"
39288 instead of "unsigned long" if __x86_64__ is defined.
39289 (user): Likewise. Pad after pointer field if __ILP32__ is
39290 defined.
39291
39292 2012-05-16 Joseph Myers <joseph@codesourcery.com>
39293
39294 * configure.in (makeinfo): Require version 4.5 or later. Allow
39295 versions 5 to 9.
39296 * configure: Regenerated.
39297 * manual/install.texi (texinfo): Increase version requirement to
39298 4.5 or later.
39299 * INSTALL: Regenerated.
39300
39301 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39302
39303 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39304
39305 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39306
39307 * sysdeps/x86_64/x32/ffs.c: New file.
39308
39309 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39310 __syscall_ulong_t.
39311 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39312 defined. Use __syscall_ulong_t.
39313 (shminfo): Use __syscall_ulong_t.
39314 (shm_info): Likewise.
39315
39316 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39317 __syscall_ulong_t.
39318
39319 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39320 <bits/wordsize.h>.
39321 (msgqnum_t): Use __syscall_ulong_t.
39322 (msglen_t): Likewise.
39323 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39324 __syscall_ulong_t.
39325
39326 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39327 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39328
39329 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39330
39331 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39332 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39333
39334 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39335 __syscall_slong_t.
39336
39337 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39338 include <bits/wordsize.h>. Check __x86_64__ instead of
39339 __WORDSIZE.
39340
39341 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39342 "unsigned long long int" if __x86_64__ is defined.
39343 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39344
39345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39346 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39347 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39348
39349 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39350 <stdint.h>.
39351 (GET_PC): Cast to uintptr_t first.
39352 (GET_FRAME): Likewise.
39353 (GET_STACK): Likewise.
39354
39355 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39356 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39357 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39358 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39359 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39360 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39361 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39362 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39363 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39365 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39366 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39367 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39368 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39370 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39371 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39372 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39374 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39380 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39381 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39382 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39383 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39384
39385 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39386
39387 * Makerules (+depfiles): Also collect depfiles from .oS in
39388 $(extra-objs).
39389 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39390 .oS, $(libnldbl-routines)).
39391
39392 * Makerules (native-compile-mkdep-flags): Define.
39393 * sunrpc/Makefile (extra-objs): Add $(addprefix
39394 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39395 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39396 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39397 calling $(make-target-directory).
39398
39399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39400
39401 * bits/types.h (__snseconds_t): Removed.
39402 * time/time.h (struct timespec): Replace __snseconds_t with
39403 __syscall_slong_t.
39404 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39405 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39406 Likewise.
39407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39408 (__SNSECONDS_T_TYPE): Likewise.
39409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39410 (__SNSECONDS_T_TYPE): Likewise.
39411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39412 (__SNSECONDS_T_TYPE): Likewise.
39413
39414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39415
39416 * sysdeps/mach/hurd/bits/typesizes.h
39417 (__SYSCALL_SLONG_TYPE): New macro.
39418 (__SYSCALL_ULONG_TYPE): Likewise.
39419
39420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39421
39422 * bits/types.h (__syscall_slong_t): New type.
39423 (__syscall_ulong_t): Likewise.
39424
39425 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39426 (__SYSCALL_ULONG_TYPE): Likewise.
39427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39428 (__SYSCALL_SLONG_TYPE): Likewise.
39429 (__SYSCALL_ULONG_TYPE): Likewise.
39430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39431 (__SYSCALL_SLONG_TYPE): Likewise.
39432 (__SYSCALL_ULONG_TYPE): Likewise.
39433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39434 (__SYSCALL_SLONG_TYPE): Likewise.
39435 (__SYSCALL_ULONG_TYPE): Likewise.
39436
39437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39438
39439 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39440 Add sigaltstack-offsets.sym.
39441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39442 <sigaltstack-offsets.h>.
39443 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39444 longjmp_msg pointer.
39445 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39446 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39447 signal stack.
39448 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39449
39450 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39451
39452 * elf/stackguard-macros.h: Remove file.
39453 * sysdeps/generic/stackguard-macros.h: New file.
39454 * sysdeps/i386/stackguard-macros.h: Likewise.
39455 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39456 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39457 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39458 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39459 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39460 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39461 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39462 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39463 <elf/stackguard-macros.h>.
39464
39465 [BZ #14109]
39466 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39467 __aligned__ in attribute.
39468 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39469 (gregset_t): Likewise.
39470
39471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39472
39473 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39474 * sysdeps/x86_64/64/Implies-after: Here. New file.
39475 * sysdeps/x86_64/x32/Implies-after: New file.
39476
39477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39478
39479 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39480 and access return value for _dl_profile_fixup. Use R10_LP to
39481 load frame size.
39482
39483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39484
39485 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39486
39487 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39488
39489 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39490 * sysdeps/x86_64/x32/sysdep.h: New file.
39491
39492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39493
39494 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39495 * sysdeps/x86_64/setjmp.S: Likewise.
39496
39497 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39498
39499 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39501 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39502 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39503 remove unused global constant.
39504
39505 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39506
39507 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39508 include of <not-cancel.h>.
39509
39510 2012-05-15 Roland McGrath <roland@hack.frob.com>
39511
39512 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39513
39514 2012-05-15 Jeff Law <law@redhat.com>
39515 Andreas Jaeger <aj@suse.de>
39516
39517 [BZ #13594]
39518 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39519 out from...
39520 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39521 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39522 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39523 code changing __hst_map_handle.map.
39524
39525 2012-05-15 Roland McGrath <roland@hack.frob.com>
39526
39527 * configure.in (sysnames): Look for Implies-before and Implies-after
39528 files.
39529 * configure: Regenerated.
39530
39531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39532
39533 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39534 8-byte data alignment with LP_SIZE alignment.
39535
39536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39537
39538 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39539 into R10_LP.
39540
39541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39542
39543 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39544
39545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39546
39547 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39548 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39549 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39550 Likewise.
39551 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39552
39553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39554
39555 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39556 (stackinfo_sub_sp): Likewise.
39557
39558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39559
39560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39561 RAX_LP.
39562
39563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39564
39565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39566 into R*_LP.
39567
39568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39569
39570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39571 sizes into R*_LP.
39572
39573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39574
39575 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39576
39577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39578
39579 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39580 into R11_LP and load __x86_64_shared_cache_size_half into
39581 R8_LP.
39582
39583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39584
39585 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39586 R8_LP.
39587
39588 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39589
39590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39591 logb for POWER7.
39592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39593 logbf for POWER7.
39594 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39595 logbl for POWER7.
39596 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39597 powerpc32/power7/fpu/s_logb.c via #include.
39598 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39599 powerpc32/power7/fpu/s_logbf.c via #include.
39600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39601 powerpc32/power7/fpu/s_logbl.c via #include.
39602
39603 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39604
39605 * README.libm: Remove file.
39606
39607 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39608
39609 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39610 count for x32. Use R*_LP and omit operand-size suffix.
39611
39612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39613
39614 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39615 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39616 * sysdeps/x86_64/x32/shlib-versions: New file.
39617
39618 2012-05-14 Roland McGrath <roland@hack.frob.com>
39619
39620 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39621 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39622 Use _dl_fatal_printf instead.
39623
39624 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39625
39626 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39627 set if not set by the user. Do not allow for being unset.
39628 * sysdeps/unix/sysv/linux/configure: Regenerated.
39629
39630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39631
39632 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39633 the `q' suffix from lea and replace .quad with ASM_ADDR.
39634
39635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39636
39637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39638 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39639 instead of $17.
39640 (PTR_DEMANGLE): Likewise.
39641
39642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39643
39644 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39645 (LP_OP): Likewise.
39646 (ASM_ADDR): Likewise.
39647 (RAX_LP): Likewise.
39648 (RBP_LP): Likewise.
39649 (RBX_LP): Likewise.
39650 (RCX_LP): Likewise.
39651 (RDI_LP): Likewise.
39652 (RSI_LP): Likewise.
39653 (RSP_LP): Likewise.
39654 (R8_LP): Likewise.
39655 (R9_LP): Likewise.
39656 (R10_LP): Likewise.
39657 (R10_LP): Likewise.
39658 (R11_LP): Likewise.
39659 (R12_LP): Likewise.
39660 (R13_LP): Likewise.
39661 (R14_LP): Likewise.
39662 (R15_LP): Likewise.
39663
39664 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39665
39666 * sysdeps/x86_64/x32/dl-machine.h: New file.
39667
39668 2012-05-14 Andreas Jaeger <aj@suse.de>
39669
39670 * manual/Makefile (subdir): Remove export of subdir.
39671 (all): Remove target.
39672 (.PHONY): Remove all from list.
39673 (mkinstalldirs): Remove.
39674 (.PHONY): Remove installdirs from list.
39675 ($(inst_infodir)/libc.info): Use make-target-directory.
39676 (installdirs): Remove.
39677 (subdir_%): Remove.
39678 (glibc-targets): Remove.
39679 (lib): Remove.
39680 (stubs): Remove.
39681 ($(objpfx)stubs ../po/manual.pot): Remove.
39682 ($(objpfx)stamp%): Remove.
39683 (make-target-directory): Remove.
39684 (subdir_install): Remove.
39685 (routines): Remove.
39686 (aux): Remove.
39687 (sources): Remove.
39688 (objects): Remove.
39689 (headers): Remove.
39690
39691 [BZ #13750]
39692 * manual/.gitignore: Remove, it's not needed anymore.
39693 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39694 all files in it.
39695 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39696 directory.
39697 (texis): Renamed to $(objpfx)texis.
39698 (texis-path): New, contains path to generated files.
39699 (chapters.%): Use texis-path for complete path, add extra argument
39700 libc-texinfo.sh.
39701 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39702 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39703 (summary,texi, stamp-summary): Use complete path of
39704 files. Generate files in build dir.
39705 (dir-add.texi): Build in build dir.
39706 (libm-err.texi,stamp-libm-err): Likewise.
39707 (version.texi, stamp-version): Likewise.
39708 (.%c.texi): Likewise.
39709 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39710 (mostlyclean): Remove target.
39711 (realclean): Remove target.
39712 (generated): Add new variable with contents from mostlyclean and
39713 realclean, remove entries duplicated in common-mostlyclean, add
39714 stamp-libm-err and stamp-version.
39715 (generated-dirs): Add libc directory.
39716 ($(inst_infodir)/libc.info): Install files from build dir.
39717
39718 * manual/install.texi (Configuring and compiling): Adjust since
39719 the info files are not part of the tar ball anymore.
39720
39721 2012-05-14 Andreas Jaeger <aj@suse.de>
39722
39723 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39724 variable.
39725
39726 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39727
39728 [BZ #13717]
39729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39730 to 2.2.0 where earlier.
39731 * sysdeps/unix/sysv/linux/configure: Regenerated.
39732 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39733 Remove conditional code.
39734 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39735 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39736 Remove conditional code.
39737 [!__NR_lchown]: Likewise.
39738 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39739 [__NR_lchown]: Likewise.
39740 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39741 comment referencing __ASSUME_LCHOWN_SYSCALL.
39742 * sysdeps/unix/sysv/linux/i386/sigaction.c
39743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39745 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39746 Remove conditional code.
39747 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39748 (__protocol_available): Remove #if 0 code.
39749 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39750 conditional code.
39751 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39752 * sysdeps/unix/sysv/linux/kernel-features.h
39753 (__ASSUME_GETCWD_SYSCALL): Don't define.
39754 (__ASSUME_REALTIME_SIGNALS): Likewise.
39755 (__ASSUME_PREAD_SYSCALL): Likewise.
39756 (__ASSUME_PWRITE_SYSCALL): Likewise.
39757 (__ASSUME_POLL_SYSCALL): Likewise.
39758 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39759 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39760 non-SPARC.
39761 (__ASSUME_SIOCGIFNAME): Don't define.
39762 (__ASSUME_MSG_NOSIGNAL): Likewise.
39763 (__ASSUME_SENDFILE): Define unconditionally.
39764 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39765 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39766 conditional code.
39767 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39768 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39769 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39770 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39771 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39772 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39773 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39778 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39779 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39784 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39785 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39790 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39796 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39798 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39799 Remove conditional code.
39800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39801 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39802 Remove conditional code.
39803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39804 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39805 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39806 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39807 Remove conditional code.
39808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39809 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39810 Remove conditional code.
39811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39812 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39813 Remove conditional code.
39814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39815 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39816 Remove conditional code.
39817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39818 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39819 Remove conditional code.
39820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39821 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39822 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39824 * sysdeps/unix/sysv/linux/sigaction.c
39825 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39826 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39827 * sysdeps/unix/sysv/linux/sigpending.c
39828 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39829 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39830 * sysdeps/unix/sysv/linux/sigprocmask.c
39831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39833 * sysdeps/unix/sysv/linux/sigsuspend.c
39834 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39835 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39836 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39837 (__libc_missing_rt_sigs): Remove.
39838 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39839 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39840 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39841 Remove conditional code.
39842 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39843 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39844 return 1.
39845 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39846 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39848 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39849
39850 2012-05-14 Andreas Jaeger <aj@suse.de>
39851
39852 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39853 it's not used in glibc.
39854 (__coshm1): Likewise.
39855 (__acosh1p): Likewise.
39856 (__sgn): Likewise.
39857
39858 * manual/string.texi (Copying and Concatenation): Add missing
39859 variable in concat example.
39860 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39861
39862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39863
39864 [BZ #14103]
39865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39866 __builtin_clzl with __builtin_clzll.
39867
39868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39869
39870 [BZ #14104]
39871 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39872 libc_freeres_ptr.
39873
39874 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39875
39876 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39877 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39878 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39879 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39880
39881 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39882
39883 * NEWS: Update ia64 info.
39884
39885 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39886
39887 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39888 used as bcopy.
39889
39890 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39891
39892 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39893 * sysdeps/unix/syscalls.list (dup3): Likewise.
39894 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39895 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39896
39897 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39898
39899 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39900 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39901
39902 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39903
39904 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39905 thread pointer.
39906 (TLS_IE): Use mov/add instead of movq/addq to load thread
39907 pointer.
39908 (TLS_GD_PREFIX): New.
39909 (TLS_GD): Use it.
39910
39911 2012-05-11 David S. Miller <davem@davemloft.net>
39912
39913 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39914 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39915 (_FPU_SETCW): Likewise.
39916
39917 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39918
39919 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39920 is 32-byte aligned.
39921
39922 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39923
39924 [BZ #11837]
39925 * iconvdata/gb18030.c: Update tables.
39926 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39927 characters specially.
39928 (BODY for TO_LOOP): Add encoding of missing ranges.
39929
39930 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39931
39932 [BZ #13673]
39933 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39934 * sysdeps/mach/hurd/dup3.c: Likewise.
39935 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39936 * sysdeps/powerpc/memmove.c:: Likewise.
39937
39938 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39939
39940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39941 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39942
39943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39944
39945 * elf/elf.h (R_X86_64_RELATIVE64): New.
39946 (R_X86_64_NUM): Updated.
39947 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39948 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39949 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39950 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39951 tst-quad1pie tst-quad2pie
39952 (modules-names): Add tst-quadmod1 tst-quadmod2.
39953 ($(objpfx)tst-quad1): New dependency.
39954 ($(objpfx)tst-quad2): Likewise.
39955 ($(objpfx)tst-quad1pie): Likewise.
39956 ($(objpfx)tst-quad2pie): Likewise.
39957 * sysdeps/x86_64/tst-quad1.c: New file.
39958 * sysdeps/x86_64/tst-quad1pie.c: New file.
39959 * sysdeps/x86_64/tst-quad2.c: Likewise.
39960 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39961 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39962 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39963 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39964 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39965
39966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39967
39968 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39969 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39970 * streams/stropts.h (t_scalar_t): Define type.
39971
39972 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39973 (_PATH_PRESERVE): Set to "/var/lib".
39974 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39975
39976 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39977 instead of int.
39978
39979 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39980 if __dir_mkfile succeeded.
39981
39982 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39983 checking for _hurd_dtablesize. Unlock it right after having
39984 finished _hurd_dtable allocation.
39985
39986 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39987
39988 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39989 * sysdeps/mach/hurd/configure: Regenerated.
39990 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39991 special-casing to...
39992 * sysdeps/gnu/configure.in: ... this new file.
39993 * sysdeps/unix/sysv/linux/configure: Regenerated.
39994 * sysdeps/gnu/configure: New generated file.
39995
39996 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39997 for Linux: use nsec instead of usec, as well as:
39998 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39999 members of type struct timespec.
40000 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40001 New macros.
40002 (struct stat64): Likewise.
40003 (_STATBUF_ST_NSEC): New macro.
40004 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40005
40006 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40007 __strtoul_internal rather than strtoul.
40008
40009 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40010
40011 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40012 and reject them.
40013
40014 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40015
40016 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40017 which preserves existing values.
40018 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40019
40020 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40021
40022 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40023 TIMEOUT values. Return EINVAL for NFDS values either negative or
40024 greater than FD_SETSIZE.
40025
40026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40027
40028 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40029 allocated, call __vm_protect to finish enabling the existing space, and
40030 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40031 allocate the remainder.
40032
40033 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40034
40035 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40036 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40037
40038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40039
40040 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40041 sysdeps/mach/hurd/readlink.c.
40042
40043 * posix/tst-sysconf.c (posix_options): Only use
40044 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40045 _POSIX_SYNCHRONIZED_IO when they are defined
40046 * sysdeps/mach/hurd/bits/posix_opt.h:
40047 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40048 (_XOPEN_REALTIME): Undefine macro.
40049 (_XOPEN_REALTIME_THREADS): Undefine macro.
40050 (_XOPEN_SHM): Undefine macro.
40051 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40052 macro to -1.
40053 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40054 macro to -1.
40055 (_POSIX_ASYNC_IO): Undefine macro.
40056 (_POSIX_PRIORITIZED_IO): Undefine macro.
40057 (_POSIX_SPIN_LOCKS): Define macro to -1.
40058
40059 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40060 SA_NODEFER, SA_RESETHAND.
40061 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40062 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40063 F_DUPFD_CLOEXEC.
40064
40065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40066
40067 * elf/Makefile (pldd-modules): Define unconditionally.
40068
40069 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40070
40071 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40072
40073 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40074
40075 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40076 Return ENOENT when name is empty.
40077 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40078
40079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40080
40081 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40082
40083 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40084
40085 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40086
40087 Fix mlock in all cases except non-readable pages.
40088 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40089 instead of VM_PROT_ALL as parameter to __vm_wire function.
40090
40091 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40092 (__mkdir): When path is `/', just fail with EEXIST.
40093 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40094
40095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40096
40097 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40098 <sys/uio.h> (for writev).
40099 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40100 and <sys/param.h> (for MIN).
40101
40102 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40103
40104 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40105 REQUESTED_TIME. Properly set the remaining time and return EINTR
40106 if interrupted.
40107
40108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40109
40110 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40111 Depend on against $(link-rpcuserlibs).
40112
40113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40114
40115 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40116 (__libc_stack_end): Do not use attribute_relro.
40117 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40118 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40119 to libthread-provided value.
40120 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40121 attribute_relro.
40122
40123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40124
40125 [BZ #3748]
40126 * bits/libc-lock.h (__libc_once_get): New macro.
40127 * sysdeps/mach/bits/libc-lock.h: Likewise.
40128 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40130 instead of using implementation details.
40131
40132 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40133 * libio/freopen.c: Likewise.
40134 * libio/freopen64.c: Likewise.
40135 * misc/syslog.c: Likewise.
40136 * nscd/connections.c: Likewise.
40137 * nscd/netgroupcache.c: Likewise.
40138 * sysdeps/posix/getcwd.c: Likewise.
40139
40140 2012-05-10 Roland McGrath <roland@hack.frob.com>
40141
40142 * math/w_ilogbf.c: Add #include <limits.h>.
40143
40144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40145
40146 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40147 path instead of returning without unlocking.
40148
40149 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40150 immediate-write ioctls.
40151 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40152
40153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40154
40155 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40156 __builtin_frame_address instead of making assumptions about the
40157 location of the return address relative to DATA. Force early load of
40158 the return address.
40159 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40160 __builtin_frame_address.
40161
40162 dup3 for GNU Hurd.
40163 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40164 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40165 implement dup3 and do some further code clean-ups.
40166 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40167 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40168
40169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40170
40171 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40172
40173 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40174 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40175 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40176 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40177 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40178 d->port.lock.
40179
40180 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40181 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40182 when handler == SIG_ERR, not when handler != SIG_ERR.
40183
40184 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40185
40186 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40187 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40188 definitions.
40189
40190 accept4 for GNU Hurd.
40191 * include/sys/socket.h (__libc_accept4): New prototype.
40192 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40193 to implement __libc_accept4.
40194 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40195 __libc_accept4.
40196 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40197
40198 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40199 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40200 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40201 signal-defines.sym.
40202
40203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40204
40205 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40206
40207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40208
40209 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40210 assertion on O_CLOEXEC flag.
40211 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40212 * hurd/intern-fd.c: Likewise.
40213 * hurd/port2fd.c: Likewise.
40214
40215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40216
40217 [BZ #3906]
40218 * bits/in.h (IPV6_PKTINFO): Define new macro.
40219 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40220
40221 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40222
40223 [BZ #13954]
40224 [BZ #13955]
40225 [BZ #13956]
40226 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40228 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40229 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40231 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40232 * math/libm-test.inc (logb_test) : Additional logb tests.
40233
40234 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40235 Andreas Jaeger <aj@suse.de>
40236
40237 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40238 * configure: Regenerated.
40239 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40240 * config.make.in (link-obsolete-rpc): New substituted variable.
40241 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40242 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40243 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40244 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40245 so that libc.a contains the symbols.
40246 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40247 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40248 * sunrpc/auth_none.c: Likewise.
40249 * sunrpc/auth_unix.c: Likewise.
40250 * sunrpc/authdes_prot.c: Likewise.
40251 * sunrpc/authuxprot.c: Likewise.
40252 * sunrpc/clnt_gen.c: Likewise.
40253 * sunrpc/clnt_perr.c: Likewise.
40254 * sunrpc/clnt_raw.c: Likewise.
40255 * sunrpc/clnt_simp.c: Likewise.
40256 * sunrpc/clnt_tcp.c: Likewise.
40257 * sunrpc/clnt_udp.c: Likewise.
40258 * sunrpc/clnt_unix.c: Likewise.
40259 * sunrpc/des_crypt.c: Likewise.
40260 * sunrpc/des_soft.c: Likewise.
40261 * sunrpc/get_myaddr.c: Likewise.
40262 * sunrpc/key_call.c: Likewise.
40263 * sunrpc/key_prot.c: Likewise.
40264 * sunrpc/netname.c: Likewise.
40265 * sunrpc/pm_getmaps.c: Likewise.
40266 * sunrpc/pm_getport.c: Likewise.
40267 * sunrpc/pmap_clnt.c: Likewise.
40268 * sunrpc/pmap_prot.c: Likewise.
40269 * sunrpc/pmap_prot2.c: Likewise.
40270 * sunrpc/pmap_rmt.c: Likewise.
40271 * sunrpc/publickey.c: Likewise.
40272 * sunrpc/rpc_cmsg.c: Likewise.
40273 * sunrpc/rpc_common.c: Likewise.
40274 * sunrpc/rpc_dtable.c: Likewise.
40275 * sunrpc/rpc_prot.c: Likewise.
40276 * sunrpc/rpc_thread.c: Likewise.
40277 * sunrpc/rtime.c: Likewise.
40278 * sunrpc/svc.c: Likewise.
40279 * sunrpc/svc_auth.c: Likewise.
40280 * sunrpc/svc_raw.c: Likewise.
40281 * sunrpc/svc_run.c: Likewise.
40282 * sunrpc/svc_tcp.c: Likewise.
40283 * sunrpc/svc_udp.c: Likewise.
40284 * sunrpc/svc_unix.c: Likewise.
40285 * sunrpc/svcauth_des.c: Likewise.
40286 * sunrpc/xcrypt.c: Likewise.
40287 * sunrpc/xdr.c: Likewise.
40288 * sunrpc/xdr_array.c: Likewise.
40289 * sunrpc/xdr_float.c: Likewise.
40290 * sunrpc/xdr_intXX_t.c: Likewise.
40291 * sunrpc/xdr_mem.c: Likewise.
40292 * sunrpc/xdr_rec.c: Likewise.
40293 * sunrpc/xdr_ref.c: Likewise.
40294 * sunrpc/xdr_sizeof.c: Likewise.
40295 * sunrpc/xdr_stdio.c: Likewise.
40296
40297 2012-05-10 Roland McGrath <roland@hack.frob.com>
40298
40299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40300 change. Update copyright years.
40301
40302 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40303
40304 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40305
40306 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40307 Joseph Myers <joseph@codesourcery.com>
40308 Paul Pluzhnikov <ppluzhnikov@google.com>
40309
40310 [BZ #14012]
40311 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40312 requiring rpcgen.
40313 [cross-compiling] (extra-libs): Likewise.
40314 [cross-compiling] (extra-libs-others): Likewise.
40315 [cross-compiling] (librpcsvc-routines): Likewise.
40316 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40317 [cross-compiling] (omit-deps): Likewise.
40318 (sunrpc-CPPFLAGS): New variable.
40319 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40320 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40321 (cross-rpcgen-objs): New variable.
40322 (extra-objs): Append $(cross-rpcgen-objs).
40323 ($(cross-rpcgen-objs)): New rule.
40324 ($(objpfx)cross-rpcgen): Likewise.
40325 (rpcgen-cmd): Define to use $(built-program-file). Expand
40326 comment.
40327 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40328 ($(objpfx)x%.stmp): Likewise.
40329 * sunrpc/proto.h [IS_IN_build] (_): Define.
40330 [IS_IN_build] (_libc_intl_domainname): Likewise.
40331
40332 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40333
40334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40335 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40336 and R_X86_64_TPOFF64.
40337
40338 2012-05-10 Joseph Myers <joseph@codesourcery.com>
40339
40340 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40341 sysdeps/unix/sysv/syscalls.list.
40342 (stime): Likewise.
40343 (utime): Likewise.
40344 * sysdeps/unix/sysv/syscalls.list: Remove file.
40345
40346 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40347
40348 [BZ #3440]
40349 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40350 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40351 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40352 (__LC_IDENTIFICATION): Make these macros useful in #if
40353 expressions, as required by C99.
40354
40355 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40356
40357 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40358 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40359 after this.
40360
40361 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40362
40363 * stdlib/longlong.h: Updated from GCC.
40364
40365 2012-05-09 Andreas Jaeger <aj@suse.de>
40366
40367 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40368 default is first entry.
40369 (run_mode): Set type.
40370 (main): Remove informal message about syslog.
40371 (options): Fix typo.
40372
40373 [BZ #14053]
40374 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40375 to asm.
40376 (lrint): Likewise.
40377 (llrintf): Likewise.
40378 (llrint): Likewise.
40379 (rint): Likewise.
40380 (rintf): Likewise.
40381 (nearbyint): Likewise.
40382 (nearbyintf): Likewise.
40383
40384 2012-05-09 Andreas Jaeger <aj@suse.de>
40385 Pedro Alves <palves@redhat.com>
40386
40387 * nscd/nscd.c (run_mode): Use enum.
40388 (main): Cleanup coding style issue.
40389
40390 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
40391 Andreas Jaeger <aj@suse.de>
40392
40393 * nscd/nscd.c (go_background): Replaced with...
40394 (run_mode): ... this.
40395 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40396 (options): Add -F --foreground.
40397 (main): Implement it.
40398 (parse_opt): Parse it.
40399
40400 2012-05-09 Andreas Jaeger <aj@suse.de>
40401
40402 [BZ #14083]
40403 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40404 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40405 -Wconversion warning.
40406 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40407 Likewise.
40408
40409 2012-05-09 Joseph Myers <joseph@codesourcery.com>
40410
40411 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40412 == 0.
40413 (LC_ALL): Use macro-int-constant.
40414 (LC_COLLATE): Likewise.
40415 (LC_CTYPE): Likewise.
40416 (LC_MESSAGES): Likewise.
40417 (LC_MONETARY): Likewise.
40418 (LC_NUMERIC): Likewise.
40419 (LC_TIME): Likewise.
40420 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40421 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40423 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40424 Specify type.
40425 [C99-based standards] (float_t): Expect type.
40426 [C99-based standards] (double_t): Expect type.
40427 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40428 type.
40429 [C99-based standards] (HUGE_VALL): Likewise.
40430 [C99-based standards] (INFINITY): Likewise.
40431 [C99-based standards] (NAN): Likewise.
40432 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40433 [C99-based standards] (FP_NAN): Likewise.
40434 [C99-based standards] (FP_NORMAL): Likewise.
40435 [C99-based standards] (FP_SUBNORMAL): Likewise.
40436 [C99-based standards] (FP_ZERO): Likewise.
40437 [C99-based standards] (FP_FAST_FMA): Use
40438 optional-macro-int-constant. Specify type. Require == 1.
40439 [C99-based standards] (FP_FAST_FMAF): Likewise.
40440 [C99-based standards] (FP_FAST_FMAL): Likewise.
40441 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40442 [C99-based standards] (FP_ILOGBNAN): Likewise.
40443 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40444 Specify type.
40445 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40446 [C99-based standards] (math_errhandling): Specify type.
40447 [ISO99 || ISO11] (signgam): Do not allow.
40448 [non-C99-based standards] (copysignf): Do not allow.
40449 [non-C99-based standards] (exp2f): Likewise.
40450 [non-C99-based standards] (log2f): Likewise.
40451 [non-C99-based standards] (modff): Allow.
40452 [non-C99-based standards] (erff): Do not allow.
40453 [non-C99-based standards] (erfcf): Likewise.
40454 [non-C99-based standards] (gammaf): Likewise.
40455 [non-C99-based standards] (hypotf): Likewise.
40456 [non-C99-based standards] (j0f): Likewise.
40457 [non-C99-based standards] (j1f): Likewise.
40458 [non-C99-based standards] (jnf): Likewise.
40459 [non-C99-based standards] (lgammaf): Likewise.
40460 [non-C99-based standards] (tgammaf): Likewise.
40461 [non-C99-based standards] (y0f): Likewise.
40462 [non-C99-based standards] (y1f): Likewise.
40463 [non-C99-based standards] (ynf): Likewise.
40464 [non-C99-based standards] (isnanf): Likewise.
40465 [non-C99-based standards] (acoshf): Likewise.
40466 [non-C99-based standards] (asinhf): Likewise.
40467 [non-C99-based standards] (atanhf): Likewise.
40468 [non-C99-based standards] (cbrtf): Likewise.
40469 [non-C99-based standards] (expm1f): Likewise.
40470 [non-C99-based standards] (ilogbf): Likewise.
40471 [non-C99-based standards] (log1pf): Likewise.
40472 [non-C99-based standards] (logbf): Likewise.
40473 [non-C99-based standards] (nextafterf): Likewise.
40474 [non-C99-based standards] (remainderf): Likewise.
40475 [non-C99-based standards] (rintf): Likewise.
40476 [non-C99-based standards] (scalbf): Likewise.
40477 [non-C99-based standards] (copysignl): Likewise.
40478 [non-C99-based standards] (exp2l): Likewise.
40479 [non-C99-based standards] (log2l): Likewise.
40480 [non-C99-based standards] (modfl): Allow.
40481 [non-C99-based standards] (erfl): Do not allow.
40482 [non-C99-based standards] (erfcl): Likewise.
40483 [non-C99-based standards] (gammal): Likewise.
40484 [non-C99-based standards] (hypotl): Likewise.
40485 [non-C99-based standards] (j0l): Likewise.
40486 [non-C99-based standards] (j1l): Likewise.
40487 [non-C99-based standards] (jnl): Likewise.
40488 [non-C99-based standards] (lgammal): Likewise.
40489 [non-C99-based standards] (tgammal): Likewise.
40490 [non-C99-based standards] (y0l): Likewise.
40491 [non-C99-based standards] (y1l): Likewise.
40492 [non-C99-based standards] (ynl): Likewise.
40493 [non-C99-based standards] (isnanl): Likewise.
40494 [non-C99-based standards] (acoshl): Likewise.
40495 [non-C99-based standards] (asinhl): Likewise.
40496 [non-C99-based standards] (atanhl): Likewise.
40497 [non-C99-based standards] (cbrtl): Likewise.
40498 [non-C99-based standards] (expm1l): Likewise.
40499 [non-C99-based standards] (ilogbl): Likewise.
40500 [non-C99-based standards] (log1pl): Likewise.
40501 [non-C99-based standards] (logbl): Likewise.
40502 [non-C99-based standards] (nextafterl): Likewise.
40503 [non-C99-based standards] (remainderl): Likewise.
40504 [non-C99-based standards] (rintl): Likewise.
40505 [non-C99-based standards] (scalbl): Likewise.
40506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40507 [non-C99-based standards] (FP_*): Do not allow.
40508 [C99-based standards] (FP_*): Change to
40509 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40510 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40511 allow.
40512 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40513 (SIG_ERR): Likewise.
40514 [X/Open-based standards] (SIG_HOLD): Likewise.
40515 (SIG_IGN): Likewise.
40516 (SIGABRT): Use macro-int-constant. Specify type. Require
40517 positive value.
40518 (SIGFPE): Likewise.
40519 (SIGILL): Likewise.
40520 (SIGINT): Likewise.
40521 (SIGSEGV): Likewise.
40522 (SIGTER): Likewise.
40523 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40524 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40525 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40526 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40527 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40528 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40529 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40530 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40531 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40532 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40533 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40534 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40535 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40536 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40537 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40538 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40539 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40540 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40541 [X/Open-based standards] (SIGTRAP): Likewise.
40542 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40543 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40544 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40545 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40546 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40547 allow.
40548
40549 2012-05-08 Ian Wienand <ianw@vmware.com>
40550
40551 [BZ #14080]
40552 * time/tzset.c (__tzset_parse_tz): Update default rules for
40553 daylight time changes in the Energy Policy Act of 2005.
40554
40555 2012-05-09 Andreas Jaeger <aj@suse.de>
40556
40557 [BZ #13983]
40558 * elf/ldconfig.c (parse_conf): Change string to make clear that
40559 ldconfig only issued a warning if ld.so.conf does not exist.
40560
40561 2012-05-08 David S. Miller <davem@davemloft.net>
40562
40563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40564 movxtod instead of popping the value on the stack.
40565
40566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40567
40568 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40569
40570 * config.h.in: Add HAVE_ARM_PCS_VFP.
40571
40572 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40573
40574 [BZ #13979]
40575 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40576 checking but the checks are disabled for any reason.
40577
40578 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40579
40580 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40581 and ELF64_R_TYPE with ELFW(R_TYPE).
40582
40583 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40584
40585 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40586 (ulimit): Likewise.
40587
40588 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40589 (settimeofday): Likewise.
40590
40591 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40592
40593 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40594 a struct th_u2 inside the union, and move tu_block/tu_code into
40595 a new th_u3 union of tu_block/tu_code inside of that. Move
40596 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40597 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40598 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40599 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40600 (th_stuff): Change to th_u1.tu_stuff.
40601 (th_data): Define.
40602 (th_msg): Change to th_u1.th_u2.tu_data.
40603
40604 2012-05-07 David S. Miller <davem@davemloft.net>
40605
40606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40607
40608 [BZ #14074]
40609 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40610 (SETUP_PIC_REG): Use it.
40611 (SETUP_PIC_REG_LEAF): Use it.
40612
40613 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40614
40615 [BZ #13885]
40616 [BZ #13923]
40617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40618 USE_AS_EXPM1L.
40619 (EXPL_FINITE): Likewise.
40620 (FLDLOG): Likewise.
40621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40622 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40623 e_expl.S.
40624 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40625 USE_AS_EXPM1L.
40626 (EXPL_FINITE): Likewise.
40627 (FLDLOG): Likewise.
40628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40629 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40630 e_expl.S.
40631 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40632 test of -max_value argument for long double.
40633 * sysdeps/i386/fpu/libm-test-ulps: Update.
40634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40635
40636 2012-05-06 David S. Miller <davem@davemloft.net>
40637
40638 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40639 quad soft-float symbols whose references which are compiler
40640 generated.
40641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40642
40643 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40644
40645 [BZ #13884]
40646 [BZ #13914]
40647 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40648 USE_AS_EXP10L.
40649 (EXPL_FINITE): Likewise.
40650 (FLDLOG): Likewise.
40651 (c0): Likewise.
40652 (c1): Likewise.
40653 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40654 Adjust comments for base varying.
40655 (__expl_finite): Change alias to EXPL_FINITE.
40656 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40657 e_expl.S.
40658 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40659 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40660 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40661 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40662 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40663 USE_AS_EXP10L.
40664 (EXPL_FINITE): Likewise.
40665 (FLDLOG): Likewise.
40666 (c0): Likewise.
40667 (c1): Likewise.
40668 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40669 Adjust comments for base varying.
40670 (__expl_finite): Change alias to EXPL_FINITE.
40671 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40672 tests for bugs.
40673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40674
40675 [BZ #14064]
40676 * math/libm-test.inc (check_float_internal): Correct ulp
40677 calculation for subnormal expected results.
40678
40679 2012-05-06 Andreas Jaeger <aj@suse.de>
40680
40681 * Makeconfig (+math-flags): New, set to -frounding-math.
40682 (+cflags): Add +math-flags so that all of glibc gets compiled with
40683 it.
40684
40685 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40686
40687 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40688
40689 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40690 Disable one test.
40691
40692 [BZ #13787]
40693 [BZ #13922]
40694 [BZ #14036]
40695 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40696 (__ieee754_expl): Allow for and saturate large arguments.
40697 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40698 (u_threshold): Likewise.
40699 (__exp): Call __ieee754_exp before checking for overflow and
40700 underflow.
40701 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40702 (u_threshold): Likewise.
40703 (__expf): Call __ieee754_expf before checking for overflow and
40704 underflow.
40705 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40706 (u_threshold): Likewise.
40707 (__expl): Call __ieee754_expl before checking for overflow and
40708 underflow.
40709 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40710 (__ieee754_expl): Allow for and saturate large arguments.
40711 * math/libm-test.inc (exp_test): Add another test. Do not allow
40712 missing overflow exception on overflow.
40713 (expm1_test): Do not allow missing overflow exception on overflow.
40714
40715 * sysdeps/i386/fpu/e_expl.c: Move to ...
40716 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40717 rather than using inline asm.
40718 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40719 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40720 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40721
40722 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40723 (nice): Likewise.
40724 (poll): Likewise.
40725 (signal): Likewise.
40726 (time): Likewise.
40727 (times): Likewise.
40728
40729 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40730
40731 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40732 sysdeps/unix/common/syscalls.list.
40733 (fchmod): Likewise.
40734 (fchown): Likewise.
40735 (ftruncate): Likewise.
40736 (getrusage): Likewise.
40737 (gettimeofday): Likewise.
40738 (setpgid): Likewise.
40739 (setregid): Likewise.
40740 (setreuid): Likewise.
40741 (sigaction): Likewise.
40742 (truncate): Likewise.
40743 (vhangup): Likewise.
40744 * sysdeps/unix/common/syscalls.list: Remove file.
40745 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40746 * sysdeps/unix/sysv/linux/Implies: Likewise.
40747
40748 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40749
40750 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40752 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40753 Moved to ...
40754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40755 Here.
40756 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40757 to ...
40758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40759 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40760 to ...
40761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40762 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40763 to ...
40764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40765 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40766 to ...
40767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40768 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40769 to ...
40770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40771 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40772 to ...
40773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40774 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40775 to ...
40776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40777 Here.
40778 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40779 to ...
40780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40781 Here.
40782 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40783 to ...
40784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40785 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40786 Moved to ...
40787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40788 Here.
40789 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40790 to ...
40791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40792
40793 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40794
40795 * sysdeps/unix/common/bits/dirent.h: Remove file.
40796 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40797
40798 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40799 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40800 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40801 * sysdeps/unix/bsd/isatty.c: Likewise.
40802 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40803 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40804 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40805
40806 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40807
40808 [BZ #13563]
40809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40810 long double comparison inaccuracies.
40811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40813
40814 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40815
40816 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40818
40819 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40820
40821 [BZ #14049]
40822 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40823 nonzero digits before rounding a hex value.
40824 * stdlib/tst-strtod.c (tests): Add another test.
40825
40826 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40827
40828 * sysdeps/s390/fpu/libm-test-ulps: Update.
40829
40830 2012-05-03 Andreas Jaeger <aj@suse.de>
40831
40832 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40833 does not get optimized out.
40834 (malloc_opt_barrier): New.
40835
40836 2012-05-03 Andreas Jaeger <aj@suse.de>
40837 Roland McGrath <roland@hack.frob.com>
40838
40839 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40840 intermediate file deletion.
40841 (generated): Add .symlist files.
40842
40843 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40844
40845 [BZ #13775]
40846 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40847 Redirect under this condition.
40848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40849 [__USE_GNU] (__dprintf_chk): Not under this condition.
40850 [__USE_GNU] (__vdprintf_chk): Likewise.
40851 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40852 under this condition.
40853 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40854 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40855 [__USE_XOPEN2K8] (vdprintf): Likewise.
40856 [__USE_GNU] (__dprintf_chk): Not under this condition.
40857 [__USE_GNU] (__vdprintf_chk): Likewise.
40858 [__USE_GNU] (dprintf): Likewise.
40859 [__USE_GNU] (vdprintf): Likewise.
40860
40861 2012-05-03 Roland McGrath <roland@hack.frob.com>
40862
40863 * elf/Makefile (common-generated): Set this instead of generated for
40864 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40865 $(all-built-dso)-derived lists.
40866
40867 2012-05-03 Andreas Jaeger <aj@suse.de>
40868
40869 * sysdeps/i386/fpu/libm-test-ulps: Update.
40870
40871 * FAQ: Removed.
40872 * FAQ.in: Likewise.
40873 * scripts/gen-FAQ.pl: Likewise.
40874 * manual/install.texi (Installation): Point to online location of
40875 FAQ.
40876 * Makefile (files-for-dist): Remove FAQ.
40877 (FAQ): Remove.
40878
40879 2012-05-02 Allan McRae <allan@archlinux.org>
40880
40881 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40882 (LDFLAGS-reldepmod5.so): Likewise.
40883 (LDFLAGS-reldep6mod1.so): Likewise.
40884 (LDFLAGS-reldep6mod4.so): Likewise.
40885 (LDFLAGS-reldep8mod3.so): Likewise.
40886 (LDFLAGS-unload4mod1.so): Likewise.
40887 (LDFLAGS-unload4mod2.so): Likewise.
40888 (LDFLAGS-tst-initorder): Likewise.
40889 (LDFLAGS-tst-initordera2.so): Likewise.
40890 (LDFLAGS-tst-initordera3.so): Likewise.
40891 (LDFLAGS-tst-initordera4.so): Likewise.
40892 (LDFLAGS-tst-initorderb2.so): Likewise.
40893 (LDFLAGS-noload): Likewise.
40894 (LDFLAGS-next): Likewise.
40895 (LDFLAGS-order2mod1.so): Likewise.
40896 (LDFLAGS-order2mod2.so): Likewise.
40897 (LDFLAGS-tst-initorder2): Likewise.
40898 (LDFLAGS-tst-initorder2a.so): Likewise.
40899 (LDFLAGS-tst-initorder2b.so): Likewise.
40900 (LDFLAGS-tst-initorder2c.so): Likewise.
40901 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40902
40903 2012-05-02 David S. Miller <davem@davemloft.net>
40904
40905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40906
40907 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40908
40909 [BZ #14055]
40910 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40911
40912 2012-05-02 Andreas Jaeger <aj@suse.de>
40913
40914 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40915 since we manipulate rounding mode.
40916 (CPPFLAGS-test-idouble.c): Likewise.
40917 (CPPFLAGS-test-ifloat.c): Likewise.
40918 (CFLAGS-test-ldouble.c): Likewise.
40919 (CFLAGS-test-double.c): Likewise.
40920 (CFLAGS-test-float.c): Likewise.
40921 (CFLAGS-test-misc.c): Likewise.
40922 (CFLAGS-test-test-fenv.c): Likewise.
40923
40924 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40925
40926 [BZ #2550]
40927 [BZ #2570]
40928 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40929 comparisons to determine direction to adjust input.
40930
40931 2012-05-01 Roland McGrath <roland@hack.frob.com>
40932
40933 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40934 output to the target.
40935
40936 * scripts/localplt.awk: New file.
40937 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40938 (check-localplt-CFLAGS): Variable removed.
40939 ($(all-built-dso:=.jmprel)): New static pattern rule.
40940 (generated): Add those targets.
40941 (localplt-built-dso): New variable.
40942 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40943
40944 * elf/check-localplt.c: File removed.
40945
40946 * scripts/check-execstack.awk: New file.
40947 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40948 (check-execstack-CFLAGS): Variable removed.
40949 ($(objpfx)check-execstack.h): Target removed.
40950 ($(objpfx)execstack-default): New target.
40951 (generated): Add that instead of check-execstack.h.
40952 ($(all-built-dso:=.phdr)): New static pattern rule.
40953 (generated): Add those targets.
40954 * elf/check-execstack.c: File removed.
40955
40956 * scripts/check-textrel.awk: New file.
40957 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40958 (check-textrel-CFLAGS): Variable removed.
40959 (all-built-dso): Use := to define.o
40960 ($(all-built-dso:=.dyn)): New static pattern rule.
40961 (generated): Add those targets.
40962 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40963 * config.make.in (READELF): New substituted variable.
40964 * elf/check-textrel.c: File removed.
40965
40966 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40967
40968 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40969 allow.
40970 * conform/data/ctype.h-data [C99-based standards] (isblank):
40971 Expect function.
40972 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40973 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40975 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40976 Specify type. Require positive value.
40977 (EILSEQ): Likewise.
40978 (ERANGE): Likewise.
40979 [ISO || POSIX] (EILSEQ): Do not expect.
40980 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40981 Specify type. Require positive value.
40982 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40983 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40984 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40985 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40986 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40987 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40988 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40989 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40990 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40991 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40992 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40993 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40994 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40995 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40996 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40997 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40998 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40999 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41000 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41001 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41002 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41003 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41004 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41005 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41006 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41007 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41008 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41009 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41010 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41011 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41012 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41013 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41014 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41015 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41016 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41017 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41018 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41019 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41020 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41021 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41022 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41023 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41024 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41025 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41026 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41027 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41028 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41029 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41030 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41031 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41032 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41033 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41034 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41035 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41036 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41037 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41038 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41039 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41040 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41041 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41042 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41043 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41044 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41045 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41046 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41047 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41048 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41049 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41050 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41051 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41052 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41053 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41054 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41055 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41056 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41057 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41058 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41059 Require >= 2.
41060 (FLT_ROUNDS): Expect as macro, not constant.
41061 (FLT_MANT_DIG): Use macro-int-constant.
41062 (DBL_MANT_DIG): Likewise.
41063 (LDBL_MANT_DIG): Likewise.
41064 (FLT_DIG): Likewise.
41065 (DBL_DIG): Likewise.
41066 (LDBL_DIG): Likewise.
41067 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41068 (DBL_MIN_EXP): Likewise.
41069 (LDBL_MIN_EXP): Likewise.
41070 (FLT_MAX_EXP): Use macro-int-constant.
41071 (DBL_MAX_EXP): Likewise.
41072 (LDBL_MAX_EXP): Likewise.
41073 (FLT_MAX_10_EXP): Likewise.
41074 (DBL_MAX_10_EXP): Likewise.
41075 (LDBL_MAX_10_EXP): Likewise.
41076 (FLT_MAX): Use macro-constant.
41077 (DBL_MAX): Likewise.
41078 (LDBL_MAX): Likewise.
41079 (FLT_EPSILON): Use macro-constant. Give upper bound.
41080 (DBL_EPSILON): Likewise.
41081 (LDBL_EPSILON): Likewise.
41082 (FLT_MIN): Likewise.
41083 (DBL_MIN): Likewise.
41084 (LDBL_MIN): Likewise.
41085 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41086 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41087 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41088 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41089 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41090 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41091 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41092 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41093 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41094 [ISO11] (FLT_TRUE_MIN): Likewise.
41095 [ISO11] (LDBL_TRUE_MIN): Likewise.
41096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41097 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41098 (SCHAR_MIN): Use macro-int-constant. Specify type.
41099 (SCHAR_MAX): Likewise.
41100 (UCHAR_MAX): Likewise.
41101 (CHAR_MIN): Likewise.
41102 (CHAR_MAX): Likewise.
41103 (MB_LEN_MAX): Use macro-int-constant.
41104 (SHRT_MIN): Use macro-int-constant. Specify type.
41105 (SHRT_MAX): Likewise.
41106 (USHRT_MAX): Likewise.
41107 (INT_MAX): Likewise.
41108 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41109 bound negative.
41110 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41111 bound with "U".
41112 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41113 bound with "L".
41114 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41115 bound negative. Suffix upper bound with "L".
41116 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41117 bound with "UL".
41118 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41119 Specify type.
41120 [C99-based standards] (LLONG_MAX): Likewise.
41121 [C99-based standards] (ULLONG_MAX): Likewise.
41122 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41123 == 0.
41124 [ISO11] (max_align_t): Require type.
41125 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41126
41127 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41128 from $CFLAGS, without defining away __attribute__ calls.
41129 (checknamespace): Use $CFLAGS_namespace.
41130
41131 * conform/conformtest.pl (@keywords): Only include C99 keywords
41132 for standards based on C99 or C11.
41133
41134 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41135 Disable tests.
41136 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41137 UNIX98]: Likewise.
41138
41139 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41140 usability of symbols in #if.
41141
41142 * conform/conformtest.pl: If macro or constant types start
41143 "promoted:", expect the symbol to be of the following type
41144 promoted by the integer promotions.
41145
41146 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41147 in one place. Also handle "macro-constant".
41148
41149 * conform/conformtest.pl: Only accept expected macro values with
41150 "==". Parse all "macro" lines in one place.
41151 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41152
41153 * conform/conformtest.pl: Handle braced types on "constant" lines
41154 instead of handling "typed-constant".
41155 * conform/data/signal.h-data: Use "constant" instead of
41156 "typed-constant".
41157
41158 * conform/conformtest.pl: Handle "optional-" at start of lines in
41159 one place rather than duplicating several cases. Handle each
41160 format of "macro" line with initial "optional-".
41161
41162 * conform/conformtest.pl: Only accept expected constant or
41163 optional-constant values with "==". Parse all "constant" lines in
41164 one place. Parse all "optional-constant" lines in one place.
41165 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41166 * conform/data/fmtmsg.h-data: Likewise.
41167 * conform/data/netinet/in.h-data: Likewise.
41168 * conform/data/tar.h-data: Likewise.
41169 * conform/data/limits.h-data: Use "==" form on "constant" and
41170 "optional-constant" lines.
41171
41172 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41173 Use -std=c99 for XOPEN2K.
41174 (@knownproblems): Remove.
41175 (newtoken): Don't check %isknown.
41176
41177 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41178 Do not expect macro.
41179 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41180 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41181 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41182 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41183 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41184 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41185 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41186 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41187 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41188 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41189 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41190 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41191 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41192 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41193 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41194 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41195 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41196 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41197 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41198 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41199 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41200 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41201 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41202 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41203 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41204 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41205 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41206 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41207 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41208 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41209 [XPG3] (acosh): Likewise.
41210 [XPG3] (asinh): Likewise.
41211 [XPG3] (atanh): Likewise.
41212 [XPG3] (cbrt): Likewise.
41213 [XPG3] (expm1): Likewise.
41214 [XPG3] (ilogb): Likewise.
41215 [XPG3] (log1p): Likewise.
41216 [XPG3] (logb): Likewise.
41217 [XPG3] (nextafter): Likewise.
41218 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41219 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41220 [XPG3] (remainder): Likewise.
41221 [XPG3] (rint): Likewise.
41222 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41223 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41224 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41225 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41226 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41227 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41228 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41229 [UNIX98 || XOPEN2K] (scalb): Expect.
41230 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41231 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41232 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41233 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41234 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41235 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41236 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41237 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41238 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41239 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41240 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41241 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41242 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41243 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41244 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41245 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41246 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41247 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41248 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41249 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41250 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41251 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41252 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41253 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41254 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41255 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41256 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41257 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41258 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41259 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41260 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41261 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41262 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41263 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41264 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41265 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41266 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41267 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41268 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41269 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41270 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41271 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41272 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41273 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41274 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41275 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41276 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41277 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41278 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41279 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41280 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41281 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41282 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41283 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41284 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41285 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41286 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41287 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41288 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41289 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41290 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41291 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41292 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41293 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41294 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41295 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41296 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41297 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41298 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41299 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41300 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41301 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41302 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41303 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41304 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41305 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41306 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41307 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41308 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41309 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41310 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41311 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41312 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41313 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41314 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41315 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41316 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41317 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41318 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41319 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41320 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41321 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41322 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41323 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41324 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41325 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41326 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41327 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41328 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41329 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41330 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41331 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41332 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41333 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41334 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41335 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41336 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41337 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41338 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41339 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41340 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41341 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41342 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41343 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41344 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41345 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41346 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41347 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41348 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41349 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41350 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41351 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41352 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41353 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41354 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41355 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41356 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41357 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41358 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41359 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41360 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41361 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41362 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41363 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41364 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41365 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41366 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41367
41368 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41369 _XOPEN_SOURCE_EXTENDED for XPG4.
41370
41371 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41372
41373 * Makeconfig (localtime): Remove variable.
41374 (inst_localtime-file): Likewise.
41375
41376 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41377
41378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41379 Update.
41380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41381 Update.
41382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41383 Update.
41384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41385 Update.
41386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41387 Update.
41388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41389 Update.
41390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41391 Update.
41392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41393 Update.
41394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41395 Update.
41396
41397 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41398
41399 [BZ #2550]
41400 [BZ #2570]
41401 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41402 comparisons to determine direction to adjust input.
41403 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41404 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41405 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41406 Likewise.
41407 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41408 Likewise.
41409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41410 Likewise.
41411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41413 Likewise.
41414 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41415 Likewise.
41416 * math/libm-test.inc (nexttoward_test): Add more tests.
41417
41418 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41419
41420 [BZ #14040]
41421 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41422 in version GLIBC_2.1, not GLIBC_2.0.
41423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41424 Likewise.
41425
41426 2012-04-30 Joseph Myers <joseph@codesourcery.com>
41427
41428 [BZ #13942]
41429 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41430 (1 - x) * (1 + x).
41431 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41432 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41433 * math/libm-test.inc (acos_test): Add more tests.
41434 (asin_test): Likewise.
41435 * sysdeps/i386/fpu/libm-test-ulps: Update.
41436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41437
41438 [BZ #14034]
41439 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41440 of square root.
41441 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41442 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41443 * math/libm-test.inc (acos_test_tonearest): New function.
41444 (acos_test_towardzero): Likewise.
41445 (acos_test_downward): Likewise.
41446 (acos_test_upward): Likewise.
41447 (asin_test_tonearest): Likewise.
41448 (asin_test_towardzero): Likewise.
41449 (asin_test_downward): Likewise.
41450 (asin_test_upward): Likewise.
41451 (main): Call the new functions.
41452 * sysdeps/i386/fpu/libm-test-ulps: Update.
41453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41454
41455 [BZ #13884]
41456 [BZ #13924]
41457 * math/e_exp10.c: Include <float.h>.
41458 (__ieee754_exp10): Handle underflow here rather than multiplying
41459 large negative argument by M_LN10.
41460 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41461 of __ieee754_expf.
41462 * math/e_exp10l.c: Include <float.h>.
41463 (__ieee754_exp10l): Handle underflow here rather than multiplying
41464 large negative argument by M_LN10l.
41465 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41466 spurious overflow exception on underflow.
41467
41468 2012-04-29 Marek Polacek <polacek@redhat.com>
41469
41470 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41471 (__fortify_function): New macro.
41472 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41473 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41474 __extern_always_inline.
41475 * libio/bits/stdio2.h: Likewise.
41476 * libio/bits/stdio.h: Likewise.
41477 * string/string.h: Likewise.
41478 * string/bits/string3.h: Likewise.
41479 * include/stdio.h: Likewise.
41480 * stdlib/bits/stdlib.h: Likewise.
41481 * stdlib/stdlib.h: Likewise.
41482 * rt/bits/mqueue2.h: Likewise.
41483 * rt/mqueue.h: Likewise.
41484 * posix/bits/unistd.h: Likewise.
41485 * posix/unistd.h: Likewise.
41486 * io/bits/poll2.h: Likewise.
41487 * io/bits/fcntl2.h: Likewise.
41488 * io/fcntl.h: Likewise.
41489 * io/sys/poll.h: Likewise.
41490 * misc/bits/syslog.h: Likewise.
41491 * misc/bits/syslog-ldbl.h: Likewise.
41492 * misc/sys/syslog.h: Likewise.
41493 * socket/bits/socket2.h: Likewise.
41494 * socket/sys/socket.h: Likewise.
41495 * debug/tst-chk1.c: Likewise.
41496 * wcsmbs/bits/wchar2.h: Likewise.
41497 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41498 * wcsmbs/wchar.h: Likewise.
41499
41500 2012-04-29 Andreas Jaeger <aj@suse.de>
41501
41502 * Makerules (tests): Remove enable-check-abi protection.
41503 (check-abi-warn): Remove.
41504 (check-abi-%): Remove check-abi-warn usage.
41505
41506 * configure.in: Remove check-abi configure option.
41507 * configure: Regenerated.
41508 * config.make.in (enable-check-abi): Remove.
41509
41510 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41511
41512 [BZ #14033]
41513 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41514 double functions to double *_finite functions.
41515
41516 [BZ #13941]
41517 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41518 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41519 LDBL_MIN_EXP.
41520 * stdio-common/Makefile (tests): Add tst-sprintf3.
41521 * stdio-common/tst-sprintf3.c: New file.
41522
41523 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41524 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41525
41526 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41527
41528 * conform/conformtest.pl: Remove duplicate typed-constant
41529 handling.
41530
41531 2012-04-28 David S. Miller <davem@davemloft.net>
41532
41533 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41534 (check-abi-%): Remove AWK script prerequisite and explicit
41535 abilist directory.
41536 (check-abi): Rewrite to just diff the symlist with the abilist.
41537 (config-tls, config-abi-config): Delete, no longer used.
41538 (update-abi-%): Remove AWK script and explicit abilist directory.
41539 (update-abi): Rewrite to simply compare and conditionally copy the
41540 symlist and the sysdep abilist file. Remove update-abi-config
41541 checks.
41542 * abilist/ld.abilist: Remove.
41543 * abilist/libBrokenLocale.abilist: Remove.
41544 * abilist/libanl.abilist: Remove.
41545 * abilist/libcrypt.abilist: Remove.
41546 * abilist/libdl.abilist: Remove.
41547 * abilist/librt.abilist: Remove.
41548 * abilist/libthread_db.abilist: Remove.
41549 * abilist/libutil.abilist: Remove.
41550 * scripts/extract-abilist.awk: Remove.
41551 * scripts/merge-abilist.awk: Remove.
41552 * sysdeps/generic/libcidn.abilist: New file.
41553 * sysdeps/generic/libnss_compat.abilist: New file.
41554 * sysdeps/generic/libnss_db.abilist: New file.
41555 * sysdeps/generic/libnss_dns.abilist: New file.
41556 * sysdeps/generic/libnss_files.abilist: New file.
41557 * sysdeps/generic/libnss_hesiod.abilist: New file.
41558 * sysdeps/generic/libnss_nis.abilist: New file.
41559 * sysdeps/generic/libnss_nisplus.abilist: New file.
41560 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41561 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41562 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41563 file.
41564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41565 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41566 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41567 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41568 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41569 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41570 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41571 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41572 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41573 file.
41574 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41575 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41576 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41577 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41578 file.
41579 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41580 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41581 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41582 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41583 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41584 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41585 file.
41586 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41587 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41588 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41589 file.
41590 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41592 New file.
41593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41594 New file.
41595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41596 New file.
41597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41598 New file.
41599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41600 New file.
41601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41602 New file.
41603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41604 New file.
41605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41606 New file.
41607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41608 New file.
41609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41610 New file.
41611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41612 New file.
41613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41614 New file.
41615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41616 New file.
41617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41618 file.
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41620 New file.
41621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41622 New file.
41623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41624 file.
41625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41626 New file.
41627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41628 New file.
41629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41630 file.
41631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41632 New file.
41633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41634 New file.
41635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41636 New file.
41637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41638 New file.
41639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41640 New file.
41641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41642 New file.
41643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41645 file.
41646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41647 New file.
41648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41649 file.
41650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41651 file.
41652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41653 file.
41654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41655 file.
41656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41657 file.
41658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41659 New file.
41660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41661 file.
41662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41663 file.
41664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41665 New file.
41666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41667 file.
41668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41670 file.
41671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41672 New file.
41673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41674 file.
41675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41676 file.
41677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41678 file.
41679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41680 file.
41681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41682 file.
41683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41684 New file.
41685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41686 file.
41687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41688 file.
41689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41690 New file.
41691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41692 file.
41693 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41694 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41695 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41696 file.
41697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41698 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41699 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41700 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41701 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41702 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41703 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41705 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41706 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41709 file.
41710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41711 New file.
41712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41713 file.
41714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41715 file.
41716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41717 file.
41718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41719 file.
41720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41721 file.
41722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41723 New file.
41724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41725 New file.
41726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41727 file.
41728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41729 New file.
41730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41731 file.
41732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41734 file.
41735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41736 New file.
41737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41738 file.
41739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41740 file.
41741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41742 file.
41743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41744 file.
41745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41746 file.
41747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41748 New file.
41749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41750 New file.
41751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41752 file.
41753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41754 New file.
41755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41756 file.
41757
41758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41759
41760 * conform/conformtest.pl: Fix typo in handling typed-constant from
41761 allow-header.
41762
41763 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41764
41765 * README: Cut down references to pre-2.6 Linux kernels and
41766 Linuxthreads. Update lists of configurations in libc and ports
41767 and sort alphabetically. Say "or newer" with Linux kernel version
41768 requirements.
41769
41770 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41771
41772 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41773
41774 [BZ #887]
41775 * math/libm-test.inc (logb_test_downward): New test to expose
41776 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41777 rounding mode.
41778
41779 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41780
41781 [BZ #14027]
41782 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41783 to be done.
41784 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41785 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41786
41787 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41788
41789 * sysdeps/unix/i386/brk.S: Remove file.
41790 * sysdeps/unix/i386/dl-brk.S: Likewise.
41791 * sysdeps/unix/i386/pipe.S: Likewise.
41792 * sysdeps/unix/i386/sigreturn.S: Likewise.
41793 * sysdeps/unix/i386/syscall.S: Likewise.
41794 * sysdeps/unix/i386/vfork.S: Likewise.
41795 * sysdeps/unix/i386/wait.S: Likewise.
41796
41797 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41798 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41799
41800 * configure.in (arm*-none*): Do not allow without
41801 --enable-hacker-mode.
41802 (netbsd*): Remove case setting base_os.
41803 (386bsd*): Likewise.
41804 (freebsd*): Likewise.
41805 (bsdi*): Likewise.
41806 (osf*): Likewise.
41807 (sunos*): Likewise.
41808 (ultrix*): Likewise.
41809 (newsos*): Likewise.
41810 (dynix*): Likewise.
41811 (*bsd*): Likewise.
41812 (sysv*): Likewise.
41813 (isc*): Likewise.
41814 (esix*): Likewise.
41815 (sco*): Likewise.
41816 (minix*): Likewise.
41817 (irix4*): Likewise.
41818 (irix6*): Likewise.
41819 (solaris[2-9]*): Likewise.
41820 (none): Likewise.
41821 * configure: Regenerated.
41822
41823 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41824
41825 [BZ #11521]
41826 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41827 overflow or cancellation in calculating denominator.
41828 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41830 down expression to avoid unexpected rounding in newer GCCs.
41831 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41832
41833 2012-04-26 David S. Miller <davem@davemloft.net>
41834
41835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41836 long-double compat symbols.
41837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41850
41851 2012-04-25 David S. Miller <davem@davemloft.net>
41852
41853 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41854 HWCAP_* values only after the memory barriers have been defined.
41855 (atomic_full_barrier): Define.
41856 (atomic_read_barrier): Define.
41857 (atomic_write_barrier): Define.
41858
41859 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41860
41861 * shlib-versions: Add libgcc_s version information.
41862 * sysdeps/generic/libgcc_s.h: Remove.
41863 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41864 libgcc_s.h.
41865 * sysdeps/gnu/unwind-resume.c: Likewise.
41866 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41867
41868 2012-04-25 David S. Miller <davem@davemloft.net>
41869
41870 * sysdeps/unix/sparc/brk.S: Delete.
41871 * sysdeps/unix/sparc/dl-brk.S: Delete.
41872 * sysdeps/unix/sparc/pipe.S: Delete.
41873 * sysdeps/unix/sparc/sysdep.S: Delete.
41874 * sysdeps/unix/sparc/sysdep.h: Delete.
41875 * sysdeps/unix/sparc/vfork.S: Delete.
41876 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41877 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41878 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41879 (ret_ERRVAL, r0, r1, MOVE): Define.
41880 (JUMPTARGET): Remove.
41881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41882 sysdeps/unix/sparc/sysdep.h
41883 (ENTRY, END): Remove.
41884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41885
41886 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41887
41888 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41889 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41890 -DIS_IN_build.
41891
41892 * timezone/README: Update upstream location and email address for
41893 tzcode and tzdata.
41894 * timezone/zdump.c: Update from tzcode 2012b.
41895 * timezone/zic.c: Likewise.
41896
41897 * configure.in (libc_cv_as_needed): Remove test.
41898 * configure: Regenerated.
41899 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41900 conditional definition.
41901 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41902 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41903 * config.make.in (have-as-needed): Remove variable.
41904
41905 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41906 Paul Pluzhnikov <ppluzhnikov@google.com>
41907
41908 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41909 strings correctly.
41910
41911 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41912
41913 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41914 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41915 * sysdeps/sh/strlen.S: Likewise.
41916
41917 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41918
41919 * sysdeps/unix/fork.S: Remove file.
41920 * sysdeps/unix/i386/fork.S: Likewise.
41921 * sysdeps/unix/sparc/fork.S: Likewise.
41922
41923 * sysdeps/unix/system.c: Remove file.
41924 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41925
41926 * sysdeps/unix/getegid.S: Remove file.
41927 * sysdeps/unix/geteuid.S: Likewise.
41928
41929 2012-04-24 Roland McGrath <roland@hack.frob.com>
41930
41931 * scripts/check-localplt.awk: New file.
41932 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41933 of diff.
41934 * scripts/data/localplt-generic.data: Add a comment.
41935
41936 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41937 NODE when __dir_mkfile failed.
41938 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41939 Reported by Ludovic Courtès <ludo@gnu.org>.
41940
41941 2012-04-24 Andreas Jaeger <aj@suse.de>
41942
41943 * Makerules (common-clean): Also remove gen-as-const-headers
41944 files.
41945
41946 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41947
41948 * Makerules (native-compile): Do not change working directory for
41949 build. Use $(OUTPUT_OPTION) in command.
41950 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41951
41952 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41953
41954 [BZ #13886]
41955 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41956 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41957 * math/libm-test.inc (floor_test): Add more tests.
41958 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41959
41960 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41961
41962 * sysdeps/unix/getdents.c: Remove file.
41963 * sysdeps/unix/sysv/getdents.c: Likewise.
41964 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41965
41966 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41967 sysdeps/unix/mman/syscalls.list.
41968 (mmap): Likewise.
41969 (mprotect): Likewise.
41970 (msync): Likewise.
41971 (munmap): Likewise.
41972 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41973 * sysdeps/unix/mman/syscalls.list: Remove.
41974 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41975
41976 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41977 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41978 * configure: Regenerated.
41979 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41980 $(libgcc_s_suffix).
41981 * config.make.in (libgcc_s_suffix): Remove variable.
41982
41983 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41984
41985 * sysdeps/unix/sysv/gethostname.c: Move to ...
41986 * sysdeps/posix/gethostname.c: ... here.
41987
41988 * sysdeps/unix/execve.S: Remove file.
41989
41990 * sysdeps/unix/_exit.S: Remove file.
41991
41992 2012-04-23 Andreas Jaeger <aj@suse.de>
41993
41994 [BZ #13739]
41995 * manual/Makefile: Remove make dist support, there's no
41996 need for a stand-alone documentation tar ball.
41997 (TEXI2DVI): Define always, it's not in Makeconfig.
41998 (dist): Removed.
41999 (tar-it): Removed.
42000 (edition): Removed.
42001 (glibc-doc-$(edition).tar): Removed
42002 (%.Z): Removed.
42003 (%.gz): Removed.
42004 (%.uu): Removed.
42005 (ETAGS): Remove, it's in Makeconfig.
42006 (move-if-change): Remove, it's in Makeconfig.
42007
42008 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42009
42010 [BZ #13970]
42011 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42012 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42013 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42014 (strtod_l, strtof_l, strtold_l): Remove __wur.
42015 It is not necessarily an error to ignore strtol's return value.
42016 One can reliably look at the stored endptr to decide whether
42017 the number had valid syntax.
42018
42019 2012-04-21 Andreas Jaeger <aj@suse.de>
42020
42021 [BZ #13739]
42022 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42023
42024 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42025
42026 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42027 * sysdeps/unix/sysv/Versions: Remove file.
42028
42029 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42030
42031 [BZ #13927]
42032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42033
42034 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
42035
42036 [BZ #7064]
42037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42038 version from __vm86.
42039
42040 2012-04-20 Joseph Myers <joseph@codesourcery.com>
42041
42042 * sysdeps/unix/common/lxstat.c: Remove file.
42043 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42044
42045 * sysdeps/unix/sysv/Makefile: Remove file.
42046
42047 * sysdeps/unix/sysv/direct.h: Remove file.
42048
42049 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42050 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42051 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42052 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42053 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42054 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42055 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42056
42057 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42058
42059 * sysdeps/unix/xmknod.c: Remove file.
42060 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42061
42062 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42063
42064 * sysdeps/unix/sysv/i386/time.S: Remove file.
42065
42066 * sysdeps/unix/fxstat.c: Remove file.
42067 * sysdeps/unix/xstat.c: Likewise.
42068 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42069
42070 * sysdeps/unix/sysv/sigaction.c: Remove file.
42071
42072 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42073 (sysdep_headers): Remove variable.
42074 [termio.h not in sysdep_headers] (generated): Likewise.
42075 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42076 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42077 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42078 * sysdeps/unix/sysv/tcflow.c: Likewise.
42079 * sysdeps/unix/sysv/tcflush.c: Likewise.
42080 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42081 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42082 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42083 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42084 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42085
42086 * sysdeps/unix/siglist.c: Remove file.
42087
42088 * sysdeps/unix/getppid.S: Remove file.
42089
42090 * sysdeps/unix/mkdir.c: Remove file.
42091 * sysdeps/unix/rmdir.c: Likewise.
42092
42093 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42094
42095 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42096 ERR_MAX value.
42097 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42098 errlist-compat value.
42099
42100 2012-04-18 David S. Miller <davem@davemloft.net>
42101
42102 * sysdeps/generic/memcopy.h (reg_char): Delete.
42103 * debug/strcat_chk.c: Use char, not reg_char.
42104 * debug/strcpy_chk.c: Likewise.
42105 * debug/strncat_chk.c: Likewise.
42106 * debug/strncpy_chk.c: Likewise.
42107 * string/memchr.c: Likewise.
42108 * string/memrchr.c: Likewise.
42109 * string/rawmemchr.c: Likewise.
42110 * string/strcat.c: Likewise.
42111 * string/strchr.c: Likewise.
42112 * string/strchrnul.c: Likewise.
42113 * string/strcmp.c: Likewise.
42114 * string/strcpy.c: Likewise.
42115 * string/strncat.c: Likewise.
42116 * string/strncmp.c: Likewise.
42117 * string/strncpy.c: Likewise.
42118
42119 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42120
42121 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42122 __builtin_memcopy is called when src and dest ranges are known to not
42123 overlap.
42124
42125 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42126
42127 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42128 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42129 fwd_align_merge macro call.
42130 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42131 bwd_align_merge macro call.
42132 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42133
42134 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42135
42136 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42137 bwd_align_merge macros.
42138 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42139 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42140 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42141
42142 2012-04-18 David S. Miller <davem@davemloft.net>
42143
42144 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42145
42146 2012-04-18 Andreas Jaeger <aj@suse.de>
42147
42148 [BZ# 6794]
42149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42150 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42151 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42152
42153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42154 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42155 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42156
42157 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42158 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42159 Adjust for changed ldbl-128 files.
42160
42161 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42162 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42164
42165 2012-04-17 David S. Miller <davem@davemloft.net>
42166
42167 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42168
42169 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42170
42171 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42172 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42173 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42174 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42175 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42176 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42177
42178 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42179
42180 [BZ #6794]
42181 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42182 * math/libm-test.inc: Add ilogb errno and exception tests.
42183 * math/w_ilogb.c: New file: ilogb wrapper.
42184 * math/w_ilogbf.c: New file: ilogbf wrapper.
42185 * math/w_ilogbl.c: New file: ilogbl wrapper.
42186 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42187 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42188 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42189 exception being thrown with 0.0 as argument.
42190 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42191 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42192 exception being thrown with 0.0 as argument.
42193 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42194 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42195 exception being thrown with 0.0 as argument.
42196 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42197 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42198 exception being thrown with 0.0 as argument.
42199 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42200 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42202 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42203 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42204 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42205 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42206 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42207 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42208
42209 2012-04-17 Petr Baudis <pasky@ucw.cz>
42210
42211 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42212 with altivec.
42213
42214 2012-04-16 Marek Polacek <polacek@redhat.com>
42215
42216 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42217
42218 2012-04-16 Marek Polacek <polacek@redhat.com>
42219
42220 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42221 operands of fdivp instruction.
42222
42223 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42224
42225 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42226 * elf/tst-auditmod3b.c: Likewise.
42227 * elf/tst-auditmod4b.c: Likewise.
42228 * elf/tst-auditmod5b.c: Likewise.
42229 * elf/tst-auditmod6b.c: Likewise.
42230 * elf/tst-auditmod6c.c: Likewise.
42231 * elf/tst-auditmod7b.c: Likewise.
42232 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42233 * sysdeps/x86_64/preconfigure.in: Likewise.
42234 * sysdeps/x86_64/preconfigure: Regenerated.
42235
42236 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42237
42238 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42239 __ILP32__.
42240
42241 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
42242
42243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42244 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42245
42246 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42247
42248 [BZ #13973]
42249 * locale/iso-639.def: Fix gl language name. Spotted by
42250 Yaron Shahrabani.
42251
42252 2012-04-12 Roland McGrath <roland@hack.frob.com>
42253
42254 [BZ #2074]
42255 * libio/libio.h (__io_write_fn): Update comment.
42256
42257 2012-04-12 Petr Baudis <pasky@ucw.cz>
42258
42259 [BZ #2074]
42260 * stdio.texi (Hook Functions): The user provided writer function
42261 is not allowed to return -1.
42262
42263 2012-04-11 David S. Miller <davem@davemloft.net>
42264
42265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42266
42267 2012-04-11 Mike Frysinger <vapier@gentoo.org>
42268
42269 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42270 Add a leading slash to rtkaio.
42271
42272 2012-04-11 Jim Meyering <meyering@redhat.com>
42273
42274 [BZ #11959]
42275 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42276 It is not necessarily an error to ignore fwrite's return
42277 value. One can reliably use ferror to test for errors after
42278 the fact.
42279
42280 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42281
42282 * bits/types.h (__snseconds_t): New type.
42283 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42284
42285 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42287 (__SNSECONDS_T_TYPE): Likewise.
42288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42289 (__SNSECONDS_T_TYPE): Likewise.
42290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42291 (__SNSECONDS_T_TYPE): Likewise.
42292
42293 2012-04-10 Andreas Jaeger <aj@suse.de>
42294
42295 [BZ #2636]
42296 * manual/time.texi (Processor Time): Return type of times is
42297 elapsed real time since an arbitrary point in the past.
42298 (CPU Time): Move CLK_TCK from here...
42299 (Processor Time): ...to here. Correct description.
42300 * manual/conf.texi (Constants for Sysconf): Correct description of
42301 _SC_CLK_TCK.
42302
42303 2012-04-10 David S. Miller <davem@davemloft.net>
42304
42305 [BZ #13967]
42306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42307 where the is a gap between DT_REL(A) and DT_JMPREL.
42308
42309 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42310
42311 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42312 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42313 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42314
42315 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42316
42317 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42318 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42319 (dl_main): Handle --inhibit-cache.
42320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42321 _dl_inhibit_cache.
42322 * elf/dl-load.c (_dl_map_object): Use it.
42323 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42324
42325 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42326
42327 [BZ #13872]
42328 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42329 (__ieee754_powl): Saturate large exponents rather than testing for
42330 overflow of y*log2(x).
42331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42332 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42333 exceptions.
42334
42335 [BZ #11521]
42336 * math/s_ctan.c: Include <float.h>.
42337 (__ctan): Avoid internal overflow or cancellation in calculating
42338 denominator.
42339 * math/s_ctanf.c: Likewise.
42340 * math/s_ctanl.c: Likewise.
42341 * math/s_ctanh.c: Likewise.
42342 * math/s_ctanhf.c: Likewise.
42343 * math/s_ctanhl.c: Likewise.
42344 * math/libm-test.inc (ctan_test): Add more tests.
42345 (ctanh_test): Likewise.
42346 * sysdeps/i386/fpu/libm-test-ulps: Update.
42347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42348
42349 2012-04-09 Andreas Jaeger <aj@suse.de>
42350
42351 [BZ #6894]
42352 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42353 is an optional BSD extension.
42354
42355 [BZ #10254]
42356 * manual/stdio.texi (Opening Streams): Document additional fopen
42357 parameters.
42358
42359 2012-04-09 Roland McGrath <roland@hack.frob.com>
42360
42361 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42362 %eax without telling the compiler.
42363
42364 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42365
42366 [BZ # 13963]
42367 * manual/install.texi: Use sourceware.org.
42368
42369 2012-04-09 Joseph Myers <joseph@codesourcery.com>
42370
42371 [BZ #13873]
42372 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42373 (__ieee754_pow): Generate overflow and underflow using huge*huge
42374 and tiny*tiny rather than just returning constant infinity or zero
42375 for large exponents.
42376 * math/libm-test.inc (pow_test): Require overflow exceptions for
42377 applicable cases of large exponents.
42378
42379 [BZ #706]
42380 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42381 (__ieee754_pow): Use iterative multiplication algorithm only for
42382 integer exponents with absolute value below 1024. Check for odd
42383 integer exponents when using algorithm for real exponents.
42384 * math/libm-test.inc (pow_test): Add more tests.
42385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42386
42387 2012-04-08 Joseph Myers <joseph@codesourcery.com>
42388
42389 [BZ #13705]
42390 * math/libm-test.inc (exp_test): Do not allow overflow exception
42391 on underflow test.
42392
42393 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42394
42395 [BZ #13705]
42396 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42397 instead of __kernel_standard_f.
42398
42399 2012-04-08 Mike Frysinger <vapier@gentoo.org>
42400
42401 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42402 * sysdeps/x86_64/memset_chk.S: Likewise.
42403
42404 2012-04-08 Andreas Jaeger <aj@suse.de>
42405
42406 [BZ #10153]
42407 * manual/startup.texi (Environment Access): Describe return value
42408 for putenv and setenv.
42409
42410 [BZ #6895]
42411 * manual/filesys.texi (Directory Entries): Add description for
42412 DT_LNK.
42413
42414 [BZ #6890]
42415 * manual/filesys.texi (Directory Entries): Clarify that it's file
42416 system not operating system in the description of DT_UNKNOWN.
42417
42418 [BZ #6578]
42419 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42420
42421 2012-04-08 Stephen Compall <s11@member.fsf.org>
42422
42423 [BZ #6649]
42424 * manual/llio.texi (Opening and Closing Files): Add cross
42425 reference to explain mode argument.
42426
42427 2012-04-07 Mike Frysinger <vapier@gentoo.org>
42428
42429 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42430 * sysdeps/x86_64/memset_chk.S: Likewise.
42431
42432 2012-04-07 David S. Miller <davem@davemloft.net>
42433
42434 * elf/elf.h (R_SPARC_WDISP10): Define.
42435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42436 R_SPARC_SIZE32.
42437 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42438 R_SPARC_SIZE64 and R_SPARC_H34.
42439
42440 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42441
42442 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42443 conditions and remove no longer applicable assertion.
42444
42445 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42446
42447 * bits/byteswap.h: Include <features.h>.
42448 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42449 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42450
42451 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42452
42453 * bits/byteswap.h (__bswap_16): Removed.
42454 Include <bits/byteswap-16.h> to get __bswap_16.
42455 * sysdeps/i386/bits/byteswap.h: Likewise.
42456 * sysdeps/s390/bits/byteswap.h: Likewise.
42457 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42458 * bits/byteswap-16.h: New file.
42459 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42460 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42461 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42462 * string/Makefile (headers): Add bits/byteswap-16.h.
42463
42464 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42465
42466 [BZ #13895]
42467 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42468 extra indirection.
42469 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42470 * nss/tst-nss-static.c: New.
42471
42472 2012-04-06 Robert Millan <rmh@gnu.org>
42473
42474 [BZ #6486]
42475 * manual/llio.texi (File Position Primitive): lseek
42476 refers to WHENCE when it really means OFFSET.
42477
42478 2012-04-06 Andreas Jaeger <aj@suse.de>
42479
42480 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42481 strncmp declarations.
42482
42483 * abilist/libc.abilist: Add __poll and __ppoll.
42484
42485 2012-04-05 David S. Miller <davem@davemloft.net>
42486
42487 * scripts/check-local-headers.sh: Accept a host triplet in the
42488 path matched by the exclude regexp.
42489
42490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42491 definition.
42492 * sysdeps/powerpc/powerpc32/dl-machine.h
42493 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42494 * sysdeps/s390/s390-32/dl-machine.h
42495 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42496 * sysdeps/sparc/sparc32/dl-machine.h
42497 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42498 * sysdeps/sparc/sparc64/dl-machine.h
42499 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42500
42501 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42502 lazy binding.
42503 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42504 undefined symbol errors.
42505
42506 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42507 DT_NEEDED entries.
42508
42509 2012-04-05 Michael Matz <matz@suse.de>
42510
42511 [BZ #13592]
42512 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42513
42514 2012-04-05 Andreas Jaeger <aj@suse.de>
42515
42516 [BZ #13908]
42517 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42518 comment.
42519
42520 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42521
42522 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42523 which ROUND is no valid rounding mode.
42524
42525 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42526
42527 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42528 read again.
42529 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42530
42531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42532
42533 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42534 an exception using FPU order intentionally.
42535
42536 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42537
42538 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42539 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42540 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42541 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42542
42543 2012-04-05 Simon Josefsson <simon@josefsson.org>
42544
42545 [BZ #12340]
42546 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42547 EINVAL when BUFLEN is too smal.
42548
42549 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42550
42551 [BZ #13553]
42552 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42553 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42554
42555 2012-04-03 Andreas Jaeger <aj@suse.de>
42556
42557 [BZ #13938]
42558 * manual/setjmp.texi (System V contexts): Fix sentence.
42559
42560 [BZ #13926]
42561 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42562 New macro for this case.
42563 [!__GNUC__] (__bswap_64): New inline function for this case.
42564 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42565 * bits/byteswap.h: Likewise.
42566 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42567 ull, guard with __GLIBC_HAVE_LONG_LONG.
42568
42569 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42570 __GLIBC_HAVE_LONG_LONG.
42571
42572 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42573 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42574
42575 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42576
42577 [BZ #13691]
42578 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42579 inptr and inend, rather than using last_ch.
42580
42581 2012-04-02 David S. Miller <davem@davemloft.net>
42582
42583 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42584 * stdio-common/printf-parse.h (read_int): Change return type to
42585 'int', return -1 on INT_MAX overflow.
42586 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42587 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42588 overflows INT_MAX. Check for overflow of in-format-string precision
42589 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42590 SIZE_MAX not INT_MAX for integer overflow test.
42591 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42592 skip the construct in the format string but do not record anything.
42593 * stdio-common/bug22.c: Adjust to test both width/prevision
42594 INT_MAX overflow as well as total length INT_MAX overflow. Check
42595 explicitly for proper errno values.
42596
42597 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42598
42599 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42600 CHAR_MAX.
42601 * string/test-strcmp.c [! WIDE]: Likewise.
42602 * time/tst-mktime2.c: Likewise for INT_MAX.
42603 * string/test-string.h: #include <sys/param.h> for MIN.
42604
42605 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42606 * sysdeps/i386/init-first.c (init): Likewise.
42607 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42608 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42609 * sysdeps/sh/init-first.c (init): Likewise.
42610
42611 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42612
42613 * po/ru.po: Update from translation team.
42614 * po/vi.po: Likewise.
42615
42616 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42617
42618 * resolv/nss_dns/dns-host.c: Merge copyright years.
42619
42620 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42621
42622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42623 Optimize memcpy with prefetch if
42624 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42625 src, dst pointers have unequal 16 byte alignments.
42626
42627 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42628
42629 [BZ #13928]
42630 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42631 from a CNAME entry and return the minimum ttl for the query.
42632 (gaih_getanswer_slice): Likewise.
42633
42634 2012-03-30 Jeff Law <law@redhat.com>
42635
42636 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42637 due to long keys.
42638 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42639 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42640
42641 * resolv/nss_dns/dns-host.c: Update copyright year.
42642
42643 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42644
42645 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42646 requests to save a system call. Fix check that all bytes are sent.
42647
42648 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42649 comments for sendmmsg.
42650
42651 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42652
42653 [BZ #13691]
42654 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42655 with only 1 character between 0x0041 and 0x01b0.
42656 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42657 * wcsmbs/tst-mbsnrtowcs.c: New file.
42658
42659 2012-03-29 David S. Miller <davem@davemloft.net>
42660
42661 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42662 small copies by hand.
42663
42664 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42665
42666 [BZ #13761]
42667 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42668 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42669 group memberships.
42670
42671 2012-03-28 David S. Miller <davem@davemloft.net>
42672
42673 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42674 that branches into memcpy.
42675 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42677 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42678 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42680 bits.
42681 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42682 implementation too.
42683 * sysdeps/sparc/mempcpy.S: New file.
42684
42685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42686 the IFUNC routine in the libc case.
42687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42688
42689 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42690 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42691 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42692 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42693 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42694 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42695 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42696 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42697
42698 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42699 loop to 256 bytes instead of 64 bytes and fix test signedness.
42700
42701 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42702 * sysdeps/sparc/sparc32/Makefile: rather than here...
42703 * sysdeps/sparc/sparc64/Makefile: and here.
42704
42705 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42706
42707 * malloc/mallocbug.c: Avoid warnings about unused variables.
42708
42709 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42710
42711 [BZ #13760]
42712 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42713 in the right place. Discard and retry query if response is
42714 larger than input buffer size.
42715
42716 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42717
42718 [BZ #369]
42719 [BZ #2678]
42720 [BZ #3866]
42721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42722 x for large integer exponent.
42723 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42724 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42725 sign of result as needed afterwards.
42726 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42727 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42728 result for underflowing pow the same as for overflow.
42729 (__kernel_standard_l): Handle powl overflow and underflow here
42730 rather than calling __kernel_standard.
42731 * math/libm-test.inc (pow_test): Add more tests.
42732
42733 [BZ #3868]
42734 [BZ #13879]
42735 [BZ #13910]
42736 [BZ #13911]
42737 [BZ #13912]
42738 [BZ #13913]
42739 [BZ #13915]
42740 [BZ #13916]
42741 [BZ #13917]
42742 [BZ #13918]
42743 [BZ #13919]
42744 [BZ #13920]
42745 [BZ #13921]
42746 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42747 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42748 (__kernel_standard_l): New function.
42749 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42750 __kernel_standard.
42751 * math/w_acosl.c (__acosl): Likewise.
42752 * math/w_asinl.c (__asinl): Likewise.
42753 * math/w_atan2l.c (__atan2l): Likewise.
42754 * math/w_atanhl.c (__atanhl): Likewise.
42755 * math/w_coshl.c (__coshl): Likewise.
42756 * math/w_exp10l.c (__exp10l): Likewise.
42757 * math/w_exp2l.c (__exp2l): Likewise.
42758 * math/w_fmodl.c (__fmodl): Likewise.
42759 * math/w_hypotl.c (__hypotl): Likewise.
42760 * math/w_j0l.c (__j0l, __y0l): Likewise.
42761 * math/w_j1l.c (__j1l, __y1l): Likewise.
42762 * math/w_jnl.c (__jnl, __ynl): Likewise.
42763 * math/w_lgammal.c (__lgammal): Likewise.
42764 * math/w_log10l.c (__log10l): Likewise.
42765 * math/w_log2l.c (__log2l): Likewise.
42766 * math/w_logl.c (__logl): Likewise.
42767 * math/w_powl.c (__powl): Likewise.
42768 * math/w_remainderl.c (__remainderl): Likewise.
42769 * math/w_scalbl.c (sysv_scalbl): Likewise.
42770 * math/w_sinhl.c (__sinhl): Likewise.
42771 * math/w_sqrtl.c (__sqrtl): Likewise.
42772 * math/w_tgammal.c (__tgammal): Likewise.
42773 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42774 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42775 * math/libm-test.inc (acos_test): Add more tests.
42776 (acosh_test): Likewise.
42777 (asin_test): Likewise.
42778 (atanh_test): Likewise.
42779 (exp_test): Likewise.
42780 (exp10_test): Likewise.
42781 (exp2_test): Likewise.
42782 (expm1_test): Likewise.
42783 (lgamma_test): Likewise.
42784 (log_test): Likewise.
42785 (log10_test): Likewise.
42786 (log1p_test): Likewise.
42787 (log2_test): Likewise.
42788 (pow_test): Do not allow some spurious overflow exceptions.
42789 (sqrt_test): Add more tests.
42790 (tgamma_test): Likewise.
42791 (y0_test): Likewise.
42792 (y1_test): Likewise.
42793 (yn_test): Likewise.
42794
42795 2012-03-27 Anton Blanchard <anton@samba.org>
42796
42797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42798 MAP_HUGETLB.
42799 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42800 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42801 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42802
42803 2012-03-27 David S. Miller <davem@davemloft.net>
42804
42805 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42806
42807 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42808 have-as-vis3 check.
42809
42810 2012-03-27 Andreas Jaeger <aj@suse.de>
42811
42812 * sysdeps/x86_64/elf/configure.in: Moved to ...
42813 * sysdeps/x86_64/configure.in: ... here.
42814 * sysdeps/x86_64/elf/start.S: Moved to ...
42815 * sysdeps/x86_64/start.S: ... here.
42816 * sysdeps/x86_64/elf/configure: Delete.
42817
42818 * sysdeps/x86_64/configure.in: Merge contents from
42819 sysdeps/i386/configure.in (without i686 check).
42820
42821 * sysdeps/i386/elf/Versions: Merge into ...
42822 * sysdeps/i386/Versions: ... this.
42823 * sysdeps/i386/elf/Versions: Delete file.
42824 * sysdeps/i386/elf/start.S: Moved to ...
42825 * sysdeps/i386/start.S: ...here.
42826 * sysdeps/i386/elf/configure.in: Merge into...
42827 * sysdeps/i386/configure.in: ...here.
42828 * sysdeps/i386/elf/configure.in: Delete file.
42829 * sysdeps/i386/elf/configure: Delete file.
42830
42831 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42832 * debug/backtracesyms.c: ... here.
42833 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42834 * debug/backtracesymsfd.c: ... here.
42835 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42836 * sysdeps/generic/ifunc-sel.h: ... here.
42837
42838 * sysdeps/unix/i386/start.c: Delete file.
42839 * sysdeps/unix/sparc/start.c: Delete file.
42840 * sysdeps/unix/start.c: Delete file.
42841
42842 * sysdeps/sh/elf/configure.in: Moved to ...
42843 * sysdeps/sh/configure.in: ... here.
42844 * sysdeps/sh/elf/start.S: Moved to ...
42845 * sysdeps/sh/start.S: ... here.
42846 * sysdeps/sh/elf/configure: Delete file.
42847
42848 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42849 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42850 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42851 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42852 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42853 * sysdeps/powerpc/powerpc64/start.S: here.
42854 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42855 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42856 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42857 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42858 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42859
42860 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42861 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42862 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42863 * sysdeps/powerpc/powerpc32/start.S: ... here.
42864 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42865 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42866 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42867
42868 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42869 * sysdeps/powerpc/ifunc-sel.h: ... here.
42870 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42871 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42872
42873 * sysdeps/sparc/elf/configure.in: Moved to ...
42874 * sysdeps/sparc/configure.in: ... here.
42875 * sysdeps/sparc/elf/configure: Delete file.
42876 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42877 * sysdeps/sparc/sparc32/start.S: ... here.
42878 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42879 * sysdeps/sparc/sparc64/start.S: ... here.
42880 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42881 * sysdeps/sparc/sparc32/Makefile: ... this.
42882 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42883 * sysdeps/sparc/sparc64/Makefile: ... this.
42884
42885 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42886 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42887 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42888 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42889 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42890 * sysdeps/s390/s390-32/setjmp.S: ... here.
42891 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42892 * sysdeps/s390/s390-32/configure.in: ... here.
42893 * sysdeps/s390/s390-32/elf/configure: Delete file.
42894 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42895 * sysdeps/s390/s390-32/start.S: ... here.
42896
42897 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42898 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42899 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42900 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42901 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42902 * sysdeps/s390/s390-64/setjmp.S: ... here.
42903 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42904 * sysdeps/s390/s390-64/configure.in: ... here
42905 * sysdeps/s390/s390-64/elf/configure: Delete file.
42906 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42907 * sysdeps/s390/s390-64/start.S: ... here.
42908 * sysdeps/s390/s390-64/elf/configure: Delete.
42909
42910 * configure.in: Remove support for elf directories in sysdeps.
42911
42912 * configure: Regenerated.
42913 * sysdeps/i386/configure: Regenerated.
42914 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42915 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42916 * sysdeps/s390/s390-32/configure: Regenerated.
42917 * sysdeps/s390/s390-64/configure: Regenerated.
42918 * sysdeps/sh/configure: Regenerated.
42919 * sysdeps/sparc/configure: Regenerated.
42920 * sysdeps/x86_64/configure: Regenerated.
42921
42922 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42923
42924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42925
42926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42927 denormal result into account.
42928
42929 2012-03-25 Roland McGrath <roland@hack.frob.com>
42930
42931 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42932 Reported by Allan McRae <allan@archlinux.org>.
42933
42934 2012-03-23 Jeff Law <law@redhat.com>
42935
42936 * nss/getnssent.c (__nss_getent): Fix typo.
42937
42938 2012-03-23 David S. Miller <davem@davemloft.net>
42939
42940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42941
42942 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42943
42944 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42945 to pad to uint64_t for each field.
42946 (dl_tls_index): Replace unsigned long with uint64_t.
42947
42948 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42949 Paul Pluzhnikov <ppluzhnikov@google.com>
42950
42951 [BZ #6528]
42952 * grp/Makefile (otherlibs): Don't set it.
42953 * inet/Makefile (otherlibs): Likewise.
42954 * login/Makefile (otherlibs): Likewise.
42955 * nscd/Makefile (otherlibs): Likewise.
42956 * posix/Makefile (otherlibs): Likewise.
42957 * pwd/Makefile (otherlibs): Likewise.
42958 * rt/Makefile (otherlibs): Likewise.
42959 * sunrpc/Makefile (otherlibs): Likewise.
42960 * nss/Makefile (otherlibs): Likewise.
42961 Add libnss_files to routines and static-only-routines.
42962 ($(objpfx)getent): Remove rule.
42963 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42964 static-only-routines.
42965
42966 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42967
42968 [BZ #13892]
42969 * math/s_cexp.c: Include <float.h>.
42970 (__cexp): Handle exp result overflowing not necessarily
42971 overflowing both real and imaginary parts of result.
42972 * math/s_cexpf.c: Likewise.
42973 * math/s_cexpl.c: Likewise.
42974 * math/libm-test.inc (cexp_test): Add more tests.
42975 * sysdeps/i386/fpu/libm-test-ulps: Update.
42976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42977
42978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42979
42980 * include/link.h (ELFW): New macro.
42981 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42982 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42983
42984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42985
42986 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42987 with uint64_t.
42988
42989 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42990
42991 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42992 declaration.
42993 (struct La_x32_retval): Likewise.
42994
42995 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42996
42997 * sysdeps/x86_64/preconfigure.in: New file.
42998 * sysdeps/x86_64/preconfigure: New generated file.
42999
43000 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43001
43002 [BZ #13824]
43003 * math/e_exp2l.c: Include <float.h>.
43004 (__ieee754_exp2l): Handle overflow and underflow cases
43005 separately. Only pass fractional part of argument to
43006 __ieee754_expl.
43007 * math/libm-test.inc (exp2_test): Add more tests.
43008
43009 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43010 negating x to take absolute value.
43011 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43012 Likewise.
43013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43015 Likewise.
43016 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43017 computing low part if x was negated.
43018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43019
43020 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43021
43022 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43023 la_x32_gnu_pltexit.
43024 (pltexit): Cast int_retval to ptrdiff_t.
43025 * elf/tst-auditmod3b.c: Likewise.
43026 * elf/tst-auditmod4b.c: Likewise.
43027 * elf/tst-auditmod5b.c: Likewise.
43028 * elf/tst-auditmod6b.c: Likewise.
43029 * elf/tst-auditmod6c.c: Likewise.
43030 * elf/tst-auditmod7b.c: Likewise.
43031
43032 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43033 and x32_gnu_pltexit.
43034
43035 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43036 __ELF_NATIVE_CLASS.
43037 (La_x32_regs): New macro.
43038 (La_x32_retval): Likewise.
43039 (la_x32_gnu_pltenter): New function prototype.
43040 (la_x32_gnu_pltexit): Likewise.
43041
43042 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43043
43044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43045 exponent.
43046
43047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43048
43049 * configure.in (libc_cv_cc_nofma): Check for option to disable
43050 generation of FMA instructions.
43051 * configure: Regenerate.
43052 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43053 * sysdeps/ieee754/dbl-64/Makefile: New file.
43054 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43055 Remove brandred-fma4.
43056 (CFLAGS-brandred-fma4.c): Remove.
43057 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43058 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43059 define.
43060 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43061 define.
43062
43063 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43064
43065 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43066 LLONG_MAX != LONG_MAX.
43067 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43068 (_fitoa_word): Likewise.
43069 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43070 LLONG_MAX != LONG_MAX.
43071 * stdio-common/_itowa.h: Include <_itoa.h>.
43072 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43073 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43074 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43075 only if not defined.
43076 (_ITOA_WORD_TYPE): Likewise.
43077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43078 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43079
43080 2012-03-21 David S. Miller <davem@davemloft.net>
43081
43082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43083
43084 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43085
43086 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43087 of x86_64 when setting libc_cv_slibdir, libdir and
43088 libc_cv_localedir.
43089 * sysdeps/unix/sysv/linux/configure: Regenerated.
43090
43091 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43092
43093 * manual/lang.texi (Old Varargs): Remove section.
43094 (How Variadic): Update menu.
43095 (va_start): Do not mention varargs.h.
43096
43097 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43098 Joseph Myers <joseph@codesourcery.com>
43099
43100 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43101 link test.
43102 * configure: Regenerated.
43103
43104 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43105
43106 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43107 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43108 conformtest.pl
43109
43110 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43111
43112 * NOTES: Remove.
43113 * Makefile (files-for-dist): Remove NOTES.
43114 (NOTES): Remove rule.
43115 * README: Don't refer to NOTES.
43116 * manual/creature.texi: Don't include macros.texi.
43117 * manual/intro.texi (creature.texi): Remove comment referring to
43118 NOTES.
43119
43120 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43121 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43122 * configure: Regenerated.
43123 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43124 LIBC_TRY_CC_OPTION.
43125 (libc_cv_as_i686): Likewise.
43126 (libc_cv_cc_avx): Likewise.
43127 (libc_cv_cc_sse2avx): Likewise.
43128 (libc_cv_cc_fma4): Likewise.
43129 (libc_cv_cc_novzeroupper): Likewise.
43130 * sysdeps/i386/configure: Regenerated.
43131
43132 [BZ #13883]
43133 * sysdeps/i386/fpu/s_cexp.S: Remove.
43134 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43135 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43136 * math/libm-test.inc (cexp_test): Add more tests.
43137 * sysdeps/i386/fpu/libm-test-ulps: Update.
43138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43139
43140 2012-03-21 Allan McRae <allan@archlinux.org>
43141
43142 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43143
43144 2012-03-21 Joseph Myers <joseph@codesourcery.com>
43145
43146 [BZ #13871]
43147 * math/w_exp2.c: Do not include <float.h>.
43148 (o_threshold, u_threshold): Remove.
43149 (__exp2): Calculate result before checking finiteness and calling
43150 __kernel_standard.
43151 * math/w_exp2f.c: Likewise.
43152 * math/w_exp2l.c: Likewise.
43153 * math/libm-test.inc (exp2_test): Require overflow exception for
43154 1e6 input.
43155
43156 [BZ #3866]
43157 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43158 range of signed 64-bit integers before using fistpll. Remove
43159 checks for whether integers fit in mantissa bits.
43160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43161 the range of signed 32-bit integers before using fistpl. Remove
43162 checks for whether integers fit in mantissa bits.
43163 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43164 (__ieee754_powl): Test for y outside the range of signed 64-bit
43165 integers before using fistpll. Reduce 64-bit values to 63-bit
43166 ones as needed.
43167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43168 divide-by-zero is raised for zero to large negative powers.
43169 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43170 (__ieee754_powl): Test for y outside the range of signed 64-bit
43171 integers before using fistpll. Reduce 64-bit values to 63-bit
43172 ones as needed.
43173 * math/libm-test.inc (pow_test): Add more tests.
43174
43175 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43176
43177 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43178 <stdio-common/_itoa.h>.
43179 * debug/segfault.c: Likewise.
43180 * elf/dl-cache.c: Likewise.
43181 * elf/dl-minimal.c: Likewise.
43182 * elf/dl-misc.c: Likewise.
43183 * elf/dl-sysdep.c: Likewise.
43184 * elf/dl-version.c: Likewise.
43185 * elf/rtld.c: Likewise.
43186 * hurd/hurdsock.c: Likewise.
43187 * hurd/lookup-retry.c: Likewise.
43188 * malloc/malloc.c: Likewise.
43189 * malloc/mtrace.c: Likewise.
43190 * nscd/nscd_getgr_r.c: Likewise.
43191 * nscd/nscd_getpw_r.c: Likewise.
43192 * nscd/nscd_getserv_r.c: Likewise.
43193 * posix/getopt_init.c: Likewise.
43194 * posix/wordexp.c: Likewise.
43195 * stdio-common/_itoa.c: Likewise.
43196 * stdio-common/printf_fphex.c: Likewise.
43197 * stdio-common/vfprintf.c: Likewise.
43198 * string/_strerror.c: Likewise.
43199 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43200 * sysdeps/i386/i686/hp-timing.h: Likewise.
43201 * sysdeps/mach/_strerror.c: Likewise.
43202 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43203 * sysdeps/mach/hurd/sethostid.c: Likewise.
43204 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43205 * sysdeps/mach/xpg-strerror.c: Likewise.
43206 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43208 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43209 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43210 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43211 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43212 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43213 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43214 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43215 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43216 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43217 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43218 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43219 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43220 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43221 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43222 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43223 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43224 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43225 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43226 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43227
43228 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43229
43230 * stdio-common/_itoa.h: Moved to ...
43231 * sysdeps/generic/_itoa.h: Here.
43232
43233 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43234
43235 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43236 instead of "_itoa.h" and "_itowa.h".
43237 * stdio-common/vfprintf.: Likewise.
43238
43239 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43240
43241 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43242 <bits/wordsize.h>.
43243 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43244 (__signbit): Likwise.
43245 (llrintf): Likwise.
43246 (llrint): Likwise.
43247
43248 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43249
43250 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43251 __WORDSIZE != 64.
43252
43253 2012-03-20 Joseph Myers <joseph@codesourcery.com>
43254
43255 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43256 OVERFLOW_EXCEPTION_OK.
43257 * math/libm-test.inc ("Philosophy"): Update comment about
43258 exception testing.
43259 (OVERFLOW_EXCEPTION): Define.
43260 (OVERFLOW_EXCEPTION_OK): Likewise.
43261 (INVALID_EXCEPTION_OK): Renumber.
43262 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43263 (IGNORE_ZERO_INF_SIGN): Likewise.
43264 (test_exceptions): Handle FE_OVERFLOW.
43265 (exp10_test): Expect overflow exceptions.
43266 (exp2_test): Likewise.
43267 (expm1_test): Likewise.
43268 (nextafter_test): Likewise.
43269 (pow_test): Likewise.
43270 (scalbn_test): Likewise.
43271 (scalbln_test): Likewise.
43272
43273 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43274
43275 * sysdeps/x86_64/bits/atomic.h
43276 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43277 64bit integer.
43278 (atomic_exchange_acq): Likewise.
43279 (__arch_exchange_and_add_body): Likewise.
43280 (__arch_add_body): Likewise.
43281 (atomic_add_negative): Likewise.
43282 (atomic_add_zero): Likewise.
43283
43284 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43285
43286 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43287 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43288
43289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43290
43291 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43292 Check __x86_64__ instead of __WORDSIZE.
43293
43294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43295
43296 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43297
43298 2012-03-19 David S. Miller <davem@davemloft.net>
43299
43300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43301
43302 * sysdeps/sparc/fpu/fenv_private.h: New file.
43303 * sysdeps/sparc/fpu/math_private.h: Use it.
43304 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43305 Remove.
43306 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43307 (libc_feholdexcept_setroundl): Remove.
43308 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43309 Remove.
43310 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43311 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43312
43313 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43314
43315 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43316 int64_t instead of long int.
43317 (INSERT_WORDS64): Likwise.
43318
43319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43320
43321 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43322 _Unwind_GetCFA return to _Unwind_Ptr first.
43323
43324 2012-03-19 Joseph Myers <joseph@codesourcery.com>
43325
43326 [BZ #13629]
43327 * math/s_clog.c: Include <float.h>.
43328 (__clog): Scale large or subnormal inputs.
43329 * math/s_clogf.c: Likewise.
43330 * math/s_clogl.c: Likewise.
43331 * math/s_clog10.c: Include <float.h>.
43332 (M_LOG10_2): Define.
43333 (__clog10): Scale large or subnormal inputs.
43334 * math/s_clog10f.c: Likewise.
43335 * math/s_clog10l.c: Likewise.
43336 * math/libm-test.inc (clog_test): Add more tests.
43337 (clog10_test): Likewise.
43338 * sysdeps/i386/fpu/libm-test-ulps: Update.
43339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43340
43341 [BZ #11451]
43342 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43343 x and y.
43344 * math/libm-test.inc (atan2_test): Add another test.
43345
43346 * Makerules (common-objdir-compile): Remove.
43347 * sysdeps/unix/Makefile (config-generated): Do not add
43348 $(unix-generated) to variable.
43349 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43350 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43351 Remove rule.
43352 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43353 Likewise.
43354 [generic bits/local_lim.h] (before-compile): Do not append to
43355 variable.
43356 [generic bits/local_lim.h] (common-generated): Likewise.
43357 [generic sys/param.h] (before-compile): Do not append to variable.
43358 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43359 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43360 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43361 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43362 include.
43363 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43364 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43365 [generic sys/param.h] ($(addprefix
43366 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43367 [generic sys/param.h] (common-generated): Do not append to
43368 variable.
43369 [generic sys/param.h] (sysdep_headers): Likewise.
43370 [generic bits/errno.h] (before-compile): Do not append to
43371 variable.
43372 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43373 rule.
43374 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43375 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43376 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43377 [generic bits/errno.h] (common-generated): Do not append to
43378 variable.
43379 [generic bits/ioctls.h] (before-compile): Do not append to
43380 variable.
43381 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43382 rule.
43383 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43384 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43385 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43386 rule.
43387 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43388 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43389 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43390 [generic bits/ioctls.h] (common-generated): Do not append to
43391 variable.
43392 [generic sys/syscall.h] (syscall.h): Remove variable.
43393 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43394 rule.
43395 [generic sys/syscall.h] (before-compile): Do not append to
43396 variable.
43397 [generic sys/syscall.h] (common-generated): Likewise.
43398 * sysdeps/unix/errnos-tmpl.c: Remove file.
43399 * sysdeps/unix/errnos.awk: Likewise.
43400 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43401 * sysdeps/unix/ioctls.awk: Likewise.
43402 * sysdeps/unix/mk-local_lim.c: Likewise.
43403 * sysdeps/unix/snarf-ioctls: Likewise.
43404
43405 2012-03-19 Richard Henderson <rth@twiddle.net>
43406
43407 * sysdeps/i386/fpu/fenv_private.h: New file.
43408 * sysdeps/i386/fpu/math_private.h: Use it.
43409 (math_opt_barrier, math_force_eval): Remove.
43410 (libc_feholdexcept_setround_53bit): Remove.
43411 (libc_feupdateenv_53bit): Remove.
43412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43413 (math_opt_barrier, math_force_eval): Remove.
43414 (libc_feholdexcept): Remove.
43415 (libc_feholdexcept_setround): Remove.
43416 (libc_fetestexcept, libc_fesetenv): Remove.
43417 (libc_feupdateenv_test): Remove.
43418 (libc_feupdateenv, libc_feholdsetround): Remove.
43419 (libc_feresetround): Remove.
43420
43421 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43422 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43423
43424 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43425 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43426 (libc_feupdateenv_testl): New.
43427 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43428 (libc_feupdateenv_testf): New.
43429 (libc_feupdateenv): Use libc_feupdateenv_test.
43430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43432
43433 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43434 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43435 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43436 (libc_feresetround_noex): New.
43437 (libc_feresetround_noexf): New.
43438 (libc_feresetround_noexl): New.
43439 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43440 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43441 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43442 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43443 SET_RESTORE_ROUND.
43444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43445 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43446 (__cos): Likewise.
43447 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43449 SET_RESTORE_ROUND_NOEX.
43450 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43451 SET_RESTORE_ROUND_NOEXF.
43452 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43453 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43454 (libc_feholdsetroundf): New.
43455 (libc_feresetround, libc_feresetroundf): New.
43456
43457 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43458 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43459 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43460
43461 * sysdeps/generic/math_private.h: Include <fenv.h>.
43462 (default_libc_feholdexcept): New.
43463 (default_libc_feholdexcept_setround): New.
43464 (default_libc_fesetenv, default_libc_feupdateenv): New.
43465 (libc_feholdexcept): Only define if undefined.
43466 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43467 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43468 (libc_feholdexcept_setroundl): Likewise.
43469 (libc_feholdexcept_setround_53bit): Likewise.
43470 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43471 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43472 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43473 (libc_feupdateenv_53bit): Likewise.
43474 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43475 (libc_feholdexcept): Convert from macro to inline function.
43476 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43477 (libc_fesetenv, libc_feupdateenv): Likewise.
43478
43479 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43480 not previously defined.
43481 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43482 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43483 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43484 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43485 * sysdeps/ieee754/flt-32/math_private.h: New file.
43486 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43487 math_private.h below SET_FLOAT_WORD.
43488 (__isnan, __isinf_ns, __finite): Remove.
43489 (__isnanf, __isinf_nsf, __finitef): Remove.
43490
43491 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43492
43493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43494
43495 2012-03-17 David S. Miller <davem@davemloft.net>
43496
43497 [BZ #6471]
43498 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43499 for 2.16.
43500
43501 2012-03-16 David S. Miller <davem@davemloft.net>
43502
43503 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43504 warnings.
43505
43506 [BZ #6471]
43507 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43508 properly.
43509 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43510 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43511 sysdep_routines when subdir is sysvipc.
43512 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43513 __getshmlba helper.
43514
43515 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43516
43517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43518
43519 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43520 [__LP64__].
43521
43522 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43523
43524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43525 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43526 (__lround): Renamed to ...
43527 (__llround): This. Replace long int with long long int.
43528 Define lround functions as aliases of llround functions.
43529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43530
43531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43532
43533 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43534 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43535 adresses to uintptr_t. Replace "long int" and "unsigned long
43536 int" with "greg_t" on va_arg.
43537
43538 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43539
43540 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43541 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43542
43543 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43544 Move e_machine check before EI_CLASS check. Handle x32
43545 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43546 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43547 SKIP_EM_IA_64 and include
43548 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43549
43550 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43551 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43552 (add_system_dir): New macro.
43553
43554 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43555 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43556
43557 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43558
43559 [BZ #2551]
43560 [BZ #2552]
43561 [BZ #2553]
43562 [BZ #2554]
43563 [BZ #2562]
43564 [BZ #2563]
43565 [BZ #2565]
43566 [BZ #2566]
43567 [BZ #2576]
43568 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43569 (y0): Likewise.
43570 * math/w_j0f.c (j0f): Likewise.
43571 (y0f): Likewise.
43572 * math/w_j0l.c (__j0l): Likewise.
43573 (__y0l): Likewise.
43574 * math/w_j1.c (j1): Likewise.
43575 (y1): Likewise.
43576 * math/w_j1f.c (j1f): Likewise.
43577 (y1f): Likewise.
43578 * math/w_j1l.c (__j1l): Likewise.
43579 (__y1l): Likewise.
43580 * math/w_jn.c (jn): Likewise.
43581 (yn): Likewise.
43582 * math/w_jnf.c (jnf): Likewise.
43583 (ynf): Likewise.
43584 * math/w_jnl.c (__jnl): Likewise.
43585 (__ynl): Likewise.
43586 * math/libm-test.inc (j0_test): Add more tests.
43587 (j1_test): Likewise.
43588 (jn_test): Likewise. Add trailing semicolon to existing test.
43589 (y0_test): Likewise.
43590 (y1_test): Likewise.
43591 * sysdeps/i386/fpu/libm-test-ulps: Update.
43592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43593
43594 [BZ #13851]
43595 [BZ #13854]
43596 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43597 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43598 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43599 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43600 (__tanl): Set errno for infinite argument.
43601 * sysdeps/i386/fpu/mptan.c: Remove.
43602 * sysdeps/i386/fpu/s_tan.S: Likewise.
43603 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43604 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43605 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43606 * math/libm-test.inc (tan_test): Add more tests and enable more
43607 tests for double and long double.
43608 * sysdeps/i386/fpu/libm-test-ulps: Update.
43609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43610
43611 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43612
43613 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43614 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43615
43616 2012-03-16 Roland McGrath <roland@hack.frob.com>
43617
43618 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43619 * configure.in: Use it for both main tree and add-ons.
43620 * configure: Regenerated.
43621
43622 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43623
43624 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43625
43626 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43627
43628 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43629 in comment.
43630
43631 [BZ #13851]
43632 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43633 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43634 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43635 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43636 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43637 infinite argument.
43638 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43640 != 0 for prec == 2.
43641 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43642 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43643 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43644 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43645 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43646 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43647 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43648 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43649 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43650 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43651 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43652 * math/libm-test.inc (cos_test): Add more tests and enable more
43653 tests for long double.
43654 (sin_test): Likewise.
43655 (sincos_test): Likewise.
43656 * sysdeps/i386/fpu/libm-test-ulps: Update.
43657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43658
43659 2012-03-16 David S. Miller <davem@davemloft.net>
43660
43661 * sysdeps/sparc/fpu/math_private.h: New file.
43662
43663 2012-03-15 David S. Miller <davem@davemloft.net>
43664
43665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43666 file.
43667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43669 file.
43670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43676 sysdep routines.
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43678
43679 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43680 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43681
43682 * sysdeps/sparc/sparc-ifunc.h: New file.
43683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43684 sparc-ifunc.h
43685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43687 Likewise.
43688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43689 Likewise.
43690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43694 Likewise.
43695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43700 Likewise.
43701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43702 Likewise.
43703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43727
43728 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43729
43730 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43731 scaling.
43732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43733
43734 2012-03-15 Andreas Jaeger <aj@suse.de>
43735
43736 [BZ #13852]
43737 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43738 ieee754/flt-32 implementation for sin, cos and sincos.
43739 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43740 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43741 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43742 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43743 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43744 ieee754/flt-32 implementation for tan.
43745
43746 * math/libm-test.inc (cos_test): Enable some large input tests for
43747 float as well
43748 (sin_test): Likewise.
43749 (sincos_test): Likewise.
43750 (tan_test): Add tests for large input.
43751
43752 * sysdeps/i386/fpu/libm-test-ulps: Update.
43753
43754 2012-03-15 Andreas Jaeger <aj@suse.de>
43755
43756 [BZ #13658]
43757 * math/libm-test.inc (cos_test): Add more test cases.
43758 (sin_test): Likewise.
43759 (sincos_test): Likewise.
43760
43761 2012-03-15 Andreas Jaeger <aj@suse.de>
43762
43763 [BZ #13837]
43764 * math/libm-test.inc (cos_test): Add a test case for large input
43765 value.
43766 (sin_test): Likewise.
43767 (sincos_test): Likewise.
43768
43769 2012-03-15 Andreas Jaeger <aj@suse.de>
43770 Joseph Myers <joseph@codesourcery.com>
43771
43772 [BZ #13658]
43773 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43774 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43775 * sysdeps/i386/fpu/branred.c: Likewise.
43776 * sysdeps/i386/fpu/dosincos.c: Likewise.
43777 * sysdeps/i386/fpu/mpa.c: Likewise.
43778 * sysdeps/i386/fpu/s_cos.S: Likewise.
43779 * sysdeps/i386/fpu/s_sin.S: Likewise.
43780 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43781 * sysdeps/i386/fpu/sincos32.c: Likewise.
43782
43783 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43784 Define.
43785 (libc_feupdateenv_53bit): Define.
43786 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43787 Define.
43788 (libc_feupdateenv_53bit): Define.
43789
43790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43791 53 bit (without extend i386 double precision).
43792
43793 * math/libm-test.inc (sincos_test): Add tests for large input.
43794 (sin): Likewise.
43795 (cos): Likewise.
43796
43797 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43798
43799 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43800
43801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43802
43803 2012-03-15 David S. Miller <davem@davemloft.net>
43804
43805 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43806 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43807 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43808 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43821 file.
43822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43824 file.
43825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43827 file.
43828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43830 file.
43831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43833 fmin/fmax sysdep routines.
43834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43835
43836 2012-03-14 David S. Miller <davem@davemloft.net>
43837
43838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43840 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43841 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43842 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43843 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43844 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43845 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43846 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43853 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43854 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43858 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43861 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43863 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43867 routines.
43868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43869 file.
43870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43872 file.
43873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43875 file.
43876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43878 file.
43879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43881 file.
43882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43884 file.
43885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43886 file.
43887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43888 file.
43889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43890 file.
43891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43892 New file.
43893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43894 file.
43895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43896 file.
43897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43899 file.
43900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43902 file.
43903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43905 file.
43906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43908 VIS3 routines.
43909
43910 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43911 New file.
43912
43913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43914
43915 * sysdeps/sparc/configure.in: New file.
43916 * sysdeps/sparc/configure: Generate.
43917 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43918 * configure: Regenerate.
43919 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43920 * config.make.in (have-as-vis3): New.
43921 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43922 available use -Av9d instead of -Av9a.
43923 * sysdeps/sparc/sparc64/Makefile: Likewise.
43924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43926 New file.
43927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43928 file.
43929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43930 New file.
43931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43932 file.
43933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43934 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43938
43939 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43940 fzeros/fnegs to load 0x80000000 into a float register instead of
43941 using the stack.
43942 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43943
43944 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43945
43946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43947 bits/syscall.h.
43948 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43949 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43950 ($(inst_includedir)/bits/syscall.h): Remove rule.
43951 ($(objpfx)bits/syscall.d): Include instead of
43952 $(objpfx)syscall-list.d.
43953 (generated): Change syscall-list.h and syscall-list.d to
43954 bits/syscall.h and bits/syscall.d.
43955
43956 2012-03-14 Roland McGrath <roland@hack.frob.com>
43957
43958 [BZ #13846]
43959 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43960
43961 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43962
43963 [BZ #13841]
43964 * math/s_csqrt.c: Include <float.h>.
43965 (__csqrt): Scale large or subnormal inputs.
43966 * math/s_csqrtf.c: Likewise.
43967 * math/s_csqrtl.c: Likewise.
43968 * math/libm-test.inc (csqrt_test): Add more tests.
43969 * sysdeps/i386/fpu/libm-test-ulps: Update.
43970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43971
43972 [BZ #13840]
43973 * math/libm-test.inc (hypot_test): Add more tests.
43974
43975 2012-03-13 David S. Miller <davem@davemloft.net>
43976
43977 [BZ #13840]
43978 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43979 double-precision for the calculation instead of scaling.
43980
43981 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43982
43983 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43984 manipulate bits before adding and subtracting TWO52[sx].
43985 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43987 Likewise.
43988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43989
43990 2012-03-13 David S. Miller <davem@davemloft.net>
43991
43992 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43993 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43995 rtld-global-offsets.h
43996 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43997
43998 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43999 large parameters.
44000
44001 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44002
44003 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44004 'err' in the ifdef scope in which it is actually used.
44005
44006 * nss/nss_db/db-init.c: Include string.h
44007
44008 2012-03-12 David S. Miller <davem@davemloft.net>
44009
44010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44011 masking out of the most significant byte of random value used.
44012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44013 Fix coding style in previous change.
44014
44015 * sysdeps/unix/sysv/linux/kernel-features.h
44016 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44017 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44018 expression.
44019 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44020 later.
44021
44022 2012-03-11 David S. Miller <davem@davemloft.net>
44023
44024 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44025 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44027 for 'resultvar' otherwise things get truncated on 64-bit.
44028
44029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44030 Fix masking out of the most significant byte of random value used.
44031
44032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44033
44034 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44035
44036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44037
44038 2012-03-09 David S. Miller <davem@davemloft.net>
44039
44040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44041 variables with appropriate CPP guards.
44042 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44043 from the frame pointer, not the stack pointer. Correct layout
44044 comments. Fix test on resulting framesize and the management of
44045 the outregs buffer for pltexit. Preserve floating point return
44046 values across _dl_call_pltexit call.
44047 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44048 framesize and the management of the outregs buffer for pltexit.
44049 Preserve floating point return values across _dl_call_pltexit
44050 call.
44051 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44052 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44053 (la_sparc64_gnu_pltexit): New functions.
44054 (print_exit): Fix format string for return register value.
44055
44056 2012-03-10 Joseph Myers <joseph@codesourcery.com>
44057
44058 * sunrpc/Makefile (others): Add rpcgen.
44059 ($(objpfx)rpcgen): Remove special build rule and dependency on
44060 libc.
44061 * sunrpc/rpcgen.c: New file.
44062
44063 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44064
44065 [BZ #13673]
44066 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44067 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44068 * sysdeps/i386/crti.S: Likewise.
44069 * sysdeps/i386/crtn.S: Likewise.
44070 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44071 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44072 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44073 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44074 * sysdeps/sh/crti.S: Likewise.
44075 * sysdeps/sh/crtn.S: Likewise.
44076 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44077
44078 [BZ #13673]
44079 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44080 with URL.
44081 * locale/programs/locfile-kw.gperf: Likewise.
44082 * locale/programs/charmap-kw.h: Regenerated.
44083 * locale/programs/locfile-kw.h: Likewise.
44084
44085 [BZ #13673]
44086 * intl/plural.y: Replace FSF snail mail address with URL.
44087 * intl/plural.c: Regenerated.
44088
44089 2012-03-09 Richard Henderson <rth@twiddle.net>
44090
44091 * include/math_private.h: Remove file.
44092 * math/math_private.h: Move file ...
44093 * sysdeps/generic/math_private.h: ... here.
44094
44095 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44096 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44098
44099 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44100 and <math_private.h>.
44101 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44102 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44103 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44104 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44105 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44106 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44107 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44120 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44125 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44126 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44131 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44133 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44135 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44138 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44139 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44141 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44142 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44143 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44144 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44145 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44146 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44147 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44148 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44150 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44152 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44153 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44154 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44155 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44156 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44159 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44160 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44162 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44165 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44170 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44171 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44172 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44173 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44174 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44176 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44180 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44183 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44184 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44185 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44188 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44189 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44192 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44193 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44194 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44195 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44196 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44197 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44198 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44200 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44201 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44202 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44203 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44204 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44205 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44206 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44207 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44208 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44214 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44215 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44216 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44217 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44218 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44219 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44220 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44221 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44222 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44223 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44224 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44228 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44229 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44230 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44231 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44233 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44234 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44235 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44236 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44239 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44241 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44242 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44244 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44245 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44246 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44247 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44248 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44249 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44250 * sysdeps/ieee754/k_standard.c: Likewise.
44251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44258 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44259 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44260 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44261 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44262 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44263 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44264 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44265 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44266 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44267 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44270 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44271 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44272 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44274 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44275 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44276 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44277 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44278 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44279 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44280 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44281 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44282 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44283 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44284 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44285 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44286 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44287 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44289 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44290 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44291 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44292 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44293 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44294 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44295 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44296 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44302 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44303 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44304 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44307 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44308 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44309 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44310 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44312 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44313 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44314 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44317 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44318 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44319 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44323 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44324 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44325 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44327 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44328 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44332 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44333 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44334 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44337 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44338 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44339 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44343 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44344 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44358 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44359 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44360 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44363 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44365 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44367 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44368 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44369 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44370 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44371 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44372 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44373 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44374 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44375 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44376 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44377 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44379 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44381 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44383 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44384 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44387 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44389 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44390 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44391 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44393 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44394 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44396 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44397 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44398 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44399 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44400 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44401 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44404 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44405 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44406 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44407 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44408 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44409 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44410 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44411 * sysdeps/ieee754/s_lib_version.c: Likewise.
44412 * sysdeps/ieee754/s_matherr.c: Likewise.
44413 * sysdeps/ieee754/s_signgam.c: Likewise.
44414 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44415 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44416 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44417 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44419 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44420 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44421 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44422 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44423 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44424 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44425 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44428 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44429 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44431 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44432 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44435
44436 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44437
44438 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44439 * sunrpc/rpc_main.c: Likewise.
44440 * sunrpc/rpc_svcout.c: Likewise.
44441
44442 2012-03-09 David S. Miller <davem@davemloft.net>
44443
44444 * include/math_private.h: New file.
44445
44446 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44447
44448 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44449 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44450 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44451 from <bits/socket_type.h>.
44452 (enum __socket_type): Don't define here.
44453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44455 bits/socket_type.h.
44456
44457 [BZ #13566]
44458 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44459 checking __USE_GNU.
44460
44461 * Makerules ($(inst_includedir)/%.h): New rule.
44462 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44463 (install-others): Remove variable setting.
44464 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44465
44466 2012-03-08 Richard Henderson <rth@twiddle.net>
44467
44468 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44469 from macro to inline function; merge with the
44470 !__LIBC_INTERNAL_MATH_INLINES version.
44471 (__ieee754_sqrtf): Likewise.
44472
44473 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44474 to inline function.
44475 (__rintf, __floor, __floorf): Likewise.
44476
44477 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44478 macro to inline function.
44479 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44480
44481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44482 not <math/math_private.h>.
44483
44484 2012-03-08 David S. Miller <davem@davemloft.net>
44485
44486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44487 copyright year.
44488 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44489
44490 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44491
44492 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44493 normalization.
44494 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44495 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44496
44497 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44498
44499 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44500 be defined individually, they must be defined as a block. Define
44501 S for printing a string instead of hidint the different by using a
44502 macro for adding the 'l'.
44503 * stdio-common/tst-fphex-wide.c: Adjust.
44504
44505 2012-03-07 Marek Polacek <polacek@redhat.com>
44506
44507 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44508
44509 2012-03-08 Marek Polacek <polacek@redhat.com>
44510
44511 [BZ #13806]
44512 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44513 * stdio-common/tst-fphex.c: Define a few macros to make the
44514 test reusable. Use them.
44515 * stdio-common/tst-fphex-wide.c: New file.
44516
44517 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44518
44519 [BZ #6911]
44520 * manual/macros.texi (gnusystems): New macro.
44521 (nongnusystems): Likewise.
44522 (gnulinuxhurdsystems): Likewise.
44523 (gnuhurdsystems): Likewise..
44524 (gnulinuxsystems): Likewise.
44525 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44526 variants of the GNU system, not "GNU system".
44527 * manual/conf.texi: Likewise.
44528 * manual/errno.texi: Likewise. Update example of errno macro
44529 expansion.
44530 * manual/filesys.texi: Likewise.
44531 (getumask): Document as specific to GNU/Hurd.
44532 * manual/install.texi: Likewise. Reword some references to
44533 GNU/Linux.
44534 * manual/intro.texi: Likewise.
44535 * manual/io.texi: Likewise.
44536 (File Name Portability): Detail which constraints are inapplicable
44537 to all GNU systems and which are only inapplicable to GNU/Hurd.
44538 * manual/job.texi: Likewise.
44539 * manual/llio.texi: Likewise.
44540 (O_NOCTTY): Document as present on GNU/Linux.
44541 * manual/maint.texi: Likewise.
44542 * manual/memory.texi: Likewise.
44543 * manual/pattern.texi: Likewise.
44544 * manual/pipe.texi: Likewise.
44545 * manual/process.texi: Likewise.
44546 * manual/resource.texi: Likewise.
44547 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44548 child on GNU/Hurd.
44549 * manual/setjmp.texi: Likewise.
44550 * manual/signal.texi: Likewise.
44551 * manual/startup.texi: Likewise.
44552 * manual/stdio.texi: Likewise.
44553 * manual/terminal.texi: Likewise.
44554 (ONLCR): Document as POSIX.
44555 (OXTABS): Document availability on GNU/Linux as XTABS.
44556 (ONOEOT): Document availability separately from other bits.
44557 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44558 * manual/time.texi: Likewise.
44559 * manual/users.texi: Likewise.
44560 * INSTALL: Regenerated.
44561 * sysdeps/gnu/errlist.c: Regenerated.
44562
44563 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44564 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44565 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44566 puts.
44567 * configure: Regenerated.
44568
44569 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44570
44571 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44572 default includes instead of AC_HEADER_CHECK.
44573 * sysdeps/i386/configure: Regenerated.
44574
44575 [BZ #10716]
44576 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44577 * math/s_cacoshf.c (__cacoshf): Likewise.
44578 * math/s_cacoshl.c (__cacoshl): Likewise.
44579 * math/s_casinh.c (__casinh): Set signs of result from argument.
44580 * math/s_casinhf.c (__casinhf): Likewise.
44581 * math/s_casinhl.c (__casinhl): Likewise.
44582 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44583 (casinh_test): Add more tests.
44584 * sysdeps/i386/fpu/libm-test-ulps: Update.
44585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44586
44587 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44588
44589 * po/zh_TW.po: Update from translation team.
44590
44591 * login/Makefile (distribute): Remove variable.
44592 * catgets/Makefile: Likewise.
44593 * mach/Makefile: Likewise.
44594 * malloc/Makefile: Likewise.
44595 * misc/Makefile: Likewise.
44596 * iconv/Makefile: Likewise.
44597 * nscd/Makefile: Likewise.
44598 * hurd/Makefile: Likewise.
44599 * manual/Makefile: Likewise.
44600 * locale/Makefile: Likewise.
44601 * intl/Makefile: Likewise.
44602 * conform/Makefile: Likewise.
44603 * nss/Makefile: Likewise.
44604 * time/Makefile: Likewise.
44605 * soft-fp/Makefile: Likewise.
44606 * dirent/Makefile: Likewise.
44607 * gmon/Makefile: Likewise.
44608 * po/Makefile: Likewise.
44609 * rt/Makefile: Likewise.
44610 * socket/Makefile: Likewise.
44611 * math/Makefile: Likewise.
44612 * signal/Makefile: Likewise.
44613 * debug/Makefile: Likewise.
44614 * elf/Makefile: Likewise.
44615 * timezone/Makefile: Likewise.
44616 * stdlib/Makefile: Likewise.
44617 * iconvdata/Makefile: Likewise.
44618 * sunrpc/Makefile: Likewise.
44619 * io/Makefile: Likewise.
44620 * argp/Makefile: Likewise.
44621 * inet/Makefile: Likewise.
44622 * hesiod/Makefile: Likewise.
44623 * grp/Makefile: Likewise.
44624 * csu/Makefile: Likewise.
44625 * wctype/Makefile: Likewise.
44626 * crypt/Makefile: Likewise.
44627 * libio/Makefile: Likewise.
44628 * string/Makefile: Likewise.
44629 * nis/Makefile: Likewise.
44630 * resolv/Makefile: Likewise.
44631 * stdio-common/Makefile: Likewise.
44632 * wcsmbs/Makefile: Likewise.
44633 * dlfcn/Makefile: Likewise.
44634 * posix/Makefile: Likewise.
44635
44636 [BZ #6959]
44637 * timezone/Makefile: Don't install timezone files, just the programs
44638 and scripts.
44639
44640 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44641
44642 * nss/databases.def: Add missing gshadow entry.
44643
44644 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44645
44646 2012-03-06 Marek Polacek <polacek@redhat.com>
44647
44648 [BZ #13726]
44649 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44650 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44651 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44652 * stdio-common/tst-long-dbl-fphex.c: New file.
44653
44654 2012-03-06 David S. Miller <davem@davemloft.net>
44655
44656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44657 (set_obp_int): New function.
44658 (get_obp_int): New function.
44659 (__get_clockfreq_via_dev_openprom): Likewise.
44660 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44661 Avoid unused variable warnings on 'val' and use builtin_expect.
44662 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44663 __builtin_expect.
44664 (INLINE_CLONE_SYSCALL): Likewise.
44665
44666 2012-03-05 David S. Miller <davem@davemloft.net>
44667
44668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44669
44670 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44671
44672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44673
44674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44675 only for |x| >= 40.
44676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44677
44678 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44679
44680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44681 Replace gettimeofday with __vdso_gettimeofday.
44682
44683 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44684 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44685 __vdso_clock_gettime and __vdso_getcpu.
44686
44687 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44688 time with __vdso_time.
44689
44690 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44691
44692 * manual/lang.texi (size_t): Note types to which size_t may be
44693 equivalent with the GNU C Library, but do not describe when
44694 differences between them are significant.
44695
44696 2012-03-05 Andreas Jaeger <aj@suse.de>
44697
44698 * sysdeps/i386/fpu/libm-test-ulps: Update.
44699
44700 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44701
44702 [BZ #3976]
44703 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44704 (__ieee754_pow): Save and restore rounding mode and use
44705 round-to-nearest for main computations.
44706 * math/libm-test.inc (pow_test_tonearest): New function.
44707 (pow_test_towardzero): Likewise.
44708 (pow_test_downward): Likewise.
44709 (pow_test_upward): Likewise.
44710 (main): Call the new functions.
44711 * sysdeps/i386/fpu/libm-test-ulps: Update.
44712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44713
44714 [BZ #3976]
44715 * math/libm-test.inc (cosh_test_tonearest): New function.
44716 (cosh_test_towardzero): Likewise.
44717 (cosh_test_downward): Likewise.
44718 (cosh_test_upward): Likewise.
44719 (sinh_test_tonearest): Likewise.
44720 (sinh_test_towardzero): Likewise.
44721 (sinh_test_downward): Likewise.
44722 (sinh_test_upward): Likewise.
44723 (main): Call the new functions.
44724 * sysdeps/i386/fpu/libm-test-ulps: Update.
44725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44726
44727 2012-03-05 Tom de Vries <tom@codesourcery.com>
44728
44729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44730 default stack guard is set in last bytes.
44731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44732
44733 2012-03-05 Kees Cook <keescook@chromium.org>
44734
44735 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44736
44737 [BZ #13656]
44738 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44739 possibly allocate from heap instead of stack.
44740 * stdio-common/bug-vfprintf-nargs.c: New file.
44741 * stdio-common/Makefile (tests): Add nargs overflow test.
44742
44743 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44744
44745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44746
44747 2012-03-03 Marek Polacek <polacek@redhat.com>
44748
44749 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44750 * math/math_private.h: Likewise.
44751 * stdlib/tst-strtod.c: Likewise.
44752 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44753 * sysdeps/x86_64/bits/atomic.h: Likewise.
44754
44755 2012-03-02 David S. Miller <davem@davemloft.net>
44756
44757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44761 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44762 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44763 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44764 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44765
44766 2012-03-02 Roland McGrath <roland@hack.frob.com>
44767
44768 [BZ #13792]
44769 * manual/examples/README: New file, says the example source files
44770 can be used under GPL>=2.
44771 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44772 line containing just "*/".
44773 * manual/examples/add.c: Add copyright header (GPL>=2).
44774 * manual/examples/argp-ex1.c: Likewise.
44775 * manual/examples/argp-ex2.c: Likewise.
44776 * manual/examples/argp-ex3.c: Likewise.
44777 * manual/examples/argp-ex4.c: Likewise.
44778 * manual/examples/atexit.c: Likewise.
44779 * manual/examples/db.c: Likewise.
44780 * manual/examples/dir.c: Likewise.
44781 * manual/examples/dir2.c: Likewise.
44782 * manual/examples/execinfo.c: Likewise.
44783 * manual/examples/filecli.c: Likewise.
44784 * manual/examples/filesrv.c: Likewise.
44785 * manual/examples/fmtmsgexpl.c: Likewise.
44786 * manual/examples/genpass.c: Likewise.
44787 * manual/examples/inetcli.c: Likewise.
44788 * manual/examples/inetsrv.c: Likewise.
44789 * manual/examples/isockad.c: Likewise.
44790 * manual/examples/longopt.c: Likewise.
44791 * manual/examples/memopen.c: Likewise.
44792 * manual/examples/memstrm.c: Likewise.
44793 * manual/examples/mkfsock.c: Likewise.
44794 * manual/examples/mkisock.c: Likewise.
44795 * manual/examples/mygetpass.c: Likewise.
44796 * manual/examples/pipe.c: Likewise.
44797 * manual/examples/popen.c: Likewise.
44798 * manual/examples/rprintf.c: Likewise.
44799 * manual/examples/search.c: Likewise.
44800 * manual/examples/select.c: Likewise.
44801 * manual/examples/setjmp.c: Likewise.
44802 * manual/examples/sigh1.c: Likewise.
44803 * manual/examples/sigusr.c: Likewise.
44804 * manual/examples/stpcpy.c: Likewise.
44805 * manual/examples/strdupa.c: Likewise.
44806 * manual/examples/strftim.c: Likewise.
44807 * manual/examples/strncat.c: Likewise.
44808 * manual/examples/subopt.c: Likewise.
44809 * manual/examples/swapcontext.c: Likewise.
44810 * manual/examples/termios.c: Likewise.
44811 * manual/examples/testopt.c: Likewise.
44812 * manual/examples/testpass.c: Likewise.
44813 * manual/examples/timeval_subtract.c: Likewise.
44814
44815 [BZ #13792]
44816 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44817 function to ...
44818 * manual/timeval_subtract.c.texi: ... here, new file.
44819
44820 2012-03-02 David S. Miller <davem@davemloft.net>
44821
44822 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44823
44824 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44825
44826 [BZ #3976]
44827 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44828 (__sin): Save and restore rounding mode and use round-to-nearest
44829 for all computations.
44830 (__cos): Save and restore rounding mode and use round-to-nearest
44831 for all computations.
44832 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44833 <fenv.h>.
44834 (tan): Save and restore rounding mode and use round-to-nearest for
44835 all computations.
44836 * math/libm-test.inc (cos_test_tonearest): New function.
44837 (cos_test_towardzero): Likewise.
44838 (cos_test_downward): Likewise.
44839 (cos_test_upward): Likewise.
44840 (sin_test_tonearest): Likewise.
44841 (sin_test_towardzero): Likewise.
44842 (sin_test_downward): Likewise.
44843 (sin_test_upward): Likewise.
44844 (tan_test_tonearest): Likewise.
44845 (tan_test_towardzero): Likewise.
44846 (tan_test_downward): Likewise.
44847 (tan_test_upward): Likewise.
44848 (main): Call the new functions.
44849 * sysdeps/i386/fpu/libm-test-ulps: Update.
44850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44851
44852 [BZ #10135]
44853 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44854 small n, then large n, before computing and testing k+n.
44855 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44857 Likewise.
44858 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44859 Likewise.
44860 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44861 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44862 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44863 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44867 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44868 * math/libm-test.inc (scalbn_test): Add more tests.
44869 (scalbln_test): Likewise.
44870
44871 * manual/filesys.texi (mode_t): Describe constraints on size and
44872 signedness, not exact equivalence to a particular type.
44873 (ino_t): Likewise.
44874 (ino64_t): Likewise.
44875 (dev_t): Likewise.
44876 (nlink_t): Likewise.
44877 (blkcnt_t): Likewise.
44878 (blkcnt64_t): Likewise.
44879 * manual/llio.texi (off_t): Likewise.
44880
44881 [BZ #3976]
44882 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44883 (__ieee754_exp): Save and restore rounding mode and use
44884 round-to-nearest for all computations.
44885 * math/libm-test.inc (exp_test_tonearest): New function.
44886 (exp_test_towardzero): Likewise.
44887 (exp_test_downward): Likewise.
44888 (exp_test_upward): Likewise.
44889 (main): Call the new functions.
44890 * sysdeps/i386/fpu/libm-test-ulps: Update.
44891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44892
44893 2012-03-01 Chris Demetriou <cgd@google.com>
44894
44895 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44896 have predictable order.
44897
44898 2012-03-01 David S. Miller <davem@davemloft.net>
44899
44900 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44901
44902 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44903 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44904 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44905 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44906
44907 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44908 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44909 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44911 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44912 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44913 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44914 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44915 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44916
44917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44918
44919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44920 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44922
44923 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44924 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44925 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44926 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44927 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44929 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44930 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44931 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44932 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44933 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44939 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44940 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44941 * sysdeps/sparc/elf/configure: Regenerated.
44942
44943 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44944
44945 * configure.in (AS, LD): Require binutils 2.20 or later.
44946 * configure: Regenerated.
44947 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44948 as required minimum version.
44949 * INSTALL: Regenerated.
44950
44951 [BZ #2541]
44952 [BZ #4108]
44953 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44954 before squaring exponent.
44955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44956 bottom long double and 27 bits of top long double before squaring
44957 exponent.
44958 * math/libm-test.inc (erfc_test): Add more tests.
44959 * sysdeps/i386/fpu/libm-test-ulps: Update.
44960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44962
44963 2012-03-01 Kai Tietz <ktietz@redhat.com>
44964
44965 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44966 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44967 containing bit-fields.
44968 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44969 * soft-fp/single.h (_FP_UNION_S): Likewise.
44970 * soft-fp/double.h (_FP_UNION_D): Likewise.
44971
44972 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44973
44974 [BZ #13786]
44975 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44976 not include ../strcmp.S.
44977 [USE_AS_STRNCASECMP_L]: Likewise.
44978 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44979 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44980 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44981 (__strncasecmp_l_ia32): Define as alias to
44982 __strncasecmp_l_nonascii.
44983
44984 [BZ #5794]
44985 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44986 * sysdeps/i386/fpu/libm-test-ulps: Update.
44987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44988
44989 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44991
44992 2012-02-29 Jeff Law <law@redhat.com>
44993
44994 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44995 out of bounds read.
44996
44997 2012-02-29 Marek Polacek <polacek@redhat.com>
44998
44999 [BZ #13706]
45000 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45001 * elf/Makefile: Add rules to run tst-unused-dep.out.
45002
45003 2012-02-28 David S. Miller <davem@davemloft.net>
45004
45005 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45006 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45008 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45009 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45010 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45011
45012 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45013
45014 * math/libm-test.inc (llround_test): Move one test from
45015 lround_test. Use TEST_f_L in moved test.
45016 (lround_test): Move misplaced test to llround_test. Add testcase
45017 from bug 2561.
45018
45019 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45020
45021 * sysdeps/x86_64/fpu/e_expf.S: New file.
45022 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45023
45024 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45025
45026 [BZ #13637]
45027 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45028 of remain_len that may cause incomplete multi-byte character and
45029 false match.
45030 * posix/bug-regex33.c: New file.
45031 * posix/Makefile (tests): Add bug-regex33.
45032
45033 2012-02-28 Joseph Myers <joseph@codesourcery.com>
45034
45035 * manual/macros.texi: New file.
45036 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45037 * manual/libc.texinfo: Include macros.texi.
45038 * manual/creatute.texi: Likewise.
45039 * manual/install.texi: Likewise.
45040 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45041 @glibcadj{} in references to the GNU C Library.
45042 * manual/charset.texi: Likewise.
45043 * manual/conf.texi: Likewise.
45044 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45045 when not using those macros.
45046 * manual/creature.texi: Likewise.
45047 * manual/crypt.texi: Likewise.
45048 * manual/errno.texi: Likewise.
45049 * manual/filesys.texi: Likewise.
45050 * manual/header.texi: Likewise.
45051 * manual/install.texi: Likewise.
45052 * manual/intro.texi: Likewise.
45053 * manual/io.texi: Likewise.
45054 * manual/job.texi: Likewise.
45055 * manual/lang.texi: Likewise.
45056 * manual/libc.texiinfo: Likewise.
45057 * manual/llio.texi: Likewise.
45058 * manual/locale.texi: Likewise.
45059 * manual/maint.texi: Likewise.
45060 * manual/math.texi: Likewise.
45061 * manual/memory.texi: Likewise.
45062 * manual/message.texi: Likewise.
45063 * manual/nss.texi: Likewise.
45064 * manual/pattern.texi: Likewise.
45065 * manual/process.texi: Likewise.
45066 * manual/resource.texi: Likewise.
45067 * manual/search.texi: Likewise.
45068 * manual/setjmp.texi: Likewise.
45069 * manual/signal.texi: Likewise.
45070 * manual/socket.texi: Likewise.
45071 * manual/startup.texi: Likewise.
45072 * manual/stdio.texi: Likewise.
45073 * manual/string.texi: Likewise.
45074 * manual/sysinfo.texi: Likewise.
45075 * manual/syslog.texi: Likewise.
45076 * manual/terminal.texi: Likewise.
45077 * manual/time.texi: Likewise.
45078 * manual/users.texi: Likewise.
45079 * INSTALL: Regenerated.
45080 * NOTES: Regenerated.
45081 * sysdeps/gnu/errlist.c: Regenerated.
45082
45083 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45084
45085 * include/dirent.h: Include <dirstream.h> before
45086 <dirent/dirent.h>.
45087
45088 2012-02-28 David S. Miller <davem@davemloft.net>
45089
45090 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45091 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45092 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45093 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45094
45095 2012-02-27 David S. Miller <davem@davemloft.net>
45096
45097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45099 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45100 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45101
45102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45103 frame pointer instead of stack pointer relative arg slot.
45104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45105 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45106 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45107
45108 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45109
45110 [BZ #3992]
45111 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45112
45113 2012-02-27 David S. Miller <davem@davemloft.net>
45114
45115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45121 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45122 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45123
45124 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45125
45126 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45127 later. Allow versions 5-9.
45128 * configure: Regenerated.
45129 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45130 required minimum version and 4.6 as recommended version. Do not
45131 mention bugs in GCC 2.7 and 2.8.
45132 * INSTALL: Regenerated.
45133
45134 2012-02-27 David S. Miller <davem@davemloft.net>
45135
45136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45140 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45141 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45142 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45143 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45144
45145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45146 manipulate bits before adding and subtracting TWO112[sx].
45147 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45148
45149 2012-02-27 Roland McGrath <roland@hack.frob.com>
45150
45151 [BZ #13775]
45152 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45153 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45154 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45155 being in POSIX, because they are in 1003.1-2008.
45156
45157 * rt/tst-aio.c: Include <fcntl.h>.
45158 * rt/tst-aio7.c: Likewise.
45159 * rt/tst-aio64.c: Likewise.
45160
45161 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45162
45163 2012-02-27 Joseph Myers <joseph@codesourcery.com>
45164
45165 * manual/install.texi (--with-headers): Describe headers as
45166 interface headers, not private headers.
45167 (Specific advice for GNU/Linux systems): Describe use of headers
45168 from "make headers_install", not private headers from older
45169 kernels.
45170 * INSTALL: Regenerated.
45171 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45172 Change to 2.6.19.
45173 * sysdeps/unix/sysv/linux/configure: Regenerated.
45174
45175 * manual/llio.texi (fclean): Remove documentation.
45176
45177 * manual/Makefile (libc-texi-generated): New variable. Include
45178 version.texi.
45179 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45180 $(libc-texi-generated), not duplicated list of files.
45181 (version.texi, stamp-version): New rules.
45182 (realclean): Remove $(libc-texi-generated), not individual files
45183 from that list. Do not remove dir-add.texinfo.
45184 * manual/libc.texinfo: Comment out uses of edition numbers and
45185 references to printed manual. Remove last-updated dates.
45186 (EDITION): Comment out.
45187 (ISBN): Likewise.
45188 (VERSION, UPDATED): Remove.
45189 (version.texi): Include.
45190
45191 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45192
45193 * sysdeps/posix/spawni.c: Include <signal.h>.
45194 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45195 * sysdeps/pthread/aio_fsync.c: Likewise.
45196
45197 2012-02-26 Ulrich Drepper <drepper@gmail.com>
45198
45199 * conform/Makefile (tests): Run only when not cross-compiling and
45200 when fast-check is not defined.
45201
45202 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45203 * conform/data/limits.h-data: Fixes for POSIX2008.
45204 * conform/run-conformtest.sh: Run all tests.
45205 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45206 headers.
45207 * include/bits/dlfcn.h: Likewise.
45208 * include/langinfo.h: Likewise.
45209 * include/monetary.h: Likewise.
45210 * include/sys/poll.h: Likewise.
45211
45212 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45213 for __USE_GNU.
45214 * posix/spawn.h: Define __need_sigset_t.
45215 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45216 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45217 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45218 to get sigevent_t only.
45219 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45220 only for __USE_GNU.
45221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45222 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45223 process_vm_writev only for __USE_GNU.
45224 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45225
45226 * conform/Makefile: For now ignore errors from run-conformtest.
45227 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45228 POSIX to avoid namespace pollution. Don't prepend headers.
45229 * conform/data/aio.h-data: Fixes for POSIX testing.
45230 * conform/data/fcntl.h-data: Likewise.
45231 * conform/data/glob.h-data: Likewise.
45232 * conform/data/grp.h-data: Likewise.
45233 * conform/data/pthread.h-data: Likewise.
45234 * conform/data/pwd.h-data: Likewise.
45235 * conform/data/signal.h-data: Likewise.
45236 * conform/data/spawn.h-data: Likewise.
45237 * conform/data/stdio.h-data: Likewise.
45238 * conform/data/stdlib.h-data: Likewise.
45239 * conform/data/stropts.h-data: Likewise.
45240 * conform/data/sys/mman.h-data: Likewise.
45241 * conform/data/sys/stat.h-data: Likewise.
45242 * conform/data/sys/types.h-data: Likewise.
45243 * conform/data/sys/wait.h-data: Likewise.
45244 * conform/data/time.h-data: Likewise.
45245 * conform/data/unistd.h-data: Likewise.
45246 * conform/data/utime.h-data: Likewise.
45247
45248 * io/sys/stat.h: fchmod was always in POSIX.
45249 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45250 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45251 * rt/aio.h: Define __need_timespec before including <time.h>.
45252 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45253 struct. Add forward declaration of pthread_attr_t and use it in
45254 sigevent.
45255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45257 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45258 always remove CLK_TCK definition.
45259
45260 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45261
45262 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45263
45264 2012-02-25 Ulrich Drepper <drepper@gmail.com>
45265
45266 * conform/run-conformtest.sh: New file.
45267 * conform/Makefile: Run run-conformtest for tests.
45268 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45269 support.
45270
45271 * conform/data/uchar.h-data: New file.
45272 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45273 * conform/data/arpa/inet.h-data: Likewise.
45274 * conform/data/assert.h-data: Likewise.
45275 * conform/data/complex.h-data: Likewise.
45276 * conform/data/cpio.h-data: Likewise.
45277 * conform/data/ctype.h-data: Likewise.
45278 * conform/data/dirent.h-data: Likewise.
45279 * conform/data/dlfcn.h-data: Likewise.
45280 * conform/data/errno.h-data: Likewise.
45281 * conform/data/fcntl.h-data: Likewise.
45282 * conform/data/float.h-data: Likewise.
45283 * conform/data/fmtmsg.h-data: Likewise.
45284 * conform/data/fnmatch.h-data: Likewise.
45285 * conform/data/ftw.h-data: Likewise.
45286 * conform/data/glob.h-data: Likewise.
45287 * conform/data/grp.h-data: Likewise.
45288 * conform/data/iconv.h-data: Likewise.
45289 * conform/data/inttypes.h-data: Likewise.
45290 * conform/data/langinfo.h-data: Likewise.
45291 * conform/data/libgen.h-data: Likewise.
45292 * conform/data/limits.h-data: Likewise.
45293 * conform/data/locale.h-data: Likewise.
45294 * conform/data/math.h-data: Likewise.
45295 * conform/data/monetary.h-data: Likewise.
45296 * conform/data/mqueue.h-data: Likewise.
45297 * conform/data/ndbm.h-data: Likewise.
45298 * conform/data/net/if.h-data: Likewise.
45299 * conform/data/netdb.h-data: Likewise.
45300 * conform/data/netinet/in.h-data: Likewise.
45301 * conform/data/nl_types.h-data: Likewise.
45302 * conform/data/poll.h-data: Likewise.
45303 * conform/data/pthread.h-data: Likewise.
45304 * conform/data/pwd.h-data: Likewise.
45305 * conform/data/regex.h-data: Likewise.
45306 * conform/data/sched.h-data: Likewise.
45307 * conform/data/search.h-data: Likewise.
45308 * conform/data/semaphore.h-data: Likewise.
45309 * conform/data/setjmp.h-data: Likewise.
45310 * conform/data/signal.h-data: Likewise.
45311 * conform/data/spawn.h-data: Likewise.
45312 * conform/data/stdarg.h-data: Likewise.
45313 * conform/data/stdio.h-data: Likewise.
45314 * conform/data/stdlib.h-data: Likewise.
45315 * conform/data/string.h-data: Likewise.
45316 * conform/data/strings.h-data: Likewise.
45317 * conform/data/stropts.h-data: Likewise.
45318 * conform/data/sys/ipc.h-data: Likewise.
45319 * conform/data/sys/mman.h-data: Likewise.
45320 * conform/data/sys/msg.h-data: Likewise.
45321 * conform/data/sys/resource.h-data: Likewise.
45322 * conform/data/sys/select.h-data: Likewise.
45323 * conform/data/sys/sem.h-data: Likewise.
45324 * conform/data/sys/shm.h-data: Likewise.
45325 * conform/data/sys/socket.h-data: Likewise.
45326 * conform/data/sys/stat.h-data: Likewise.
45327 * conform/data/sys/statvfs.h-data: Likewise.
45328 * conform/data/sys/time.h-data: Likewise.
45329 * conform/data/sys/timeb.h-data: Likewise.
45330 * conform/data/sys/times.h-data: Likewise.
45331 * conform/data/sys/types.h-data: Likewise.
45332 * conform/data/sys/uio.h-data: Likewise.
45333 * conform/data/sys/un.h-data: Likewise.
45334 * conform/data/sys/utsname.h-data: Likewise.
45335 * conform/data/sys/wait.h-data: Likewise.
45336 * conform/data/syslog.h-data: Likewise.
45337 * conform/data/tar.h-data: Likewise.
45338 * conform/data/termios.h-data: Likewise.
45339 * conform/data/utime.h-data: Likewise.
45340 * conform/data/utmpx.h-data: Likewise.
45341 * conform/data/varargs.h-data: Likewise.
45342 * conform/data/wchar.h-data: Likewise.
45343 * conform/data/wctype.h-data: Likewise.
45344 * conform/data/wordexp.h-data: Likewise.
45345
45346 * include/stropts.h: New file.
45347 * include/uchar.h: New file.
45348 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45349 * include/assert.h: Likewise.
45350 * include/ctype.h: Likewise.
45351 * include/dirent.h: Likewise.
45352 * include/dlfcn.h: Likewise.
45353 * include/fcntl.h: Likewise.
45354 * include/fnmatch.h: Likewise.
45355 * include/glob.h: Likewise.
45356 * include/grp.h: Likewise.
45357 * include/libio.h: Likewise.
45358 * include/locale.h: Likewise.
45359 * include/math.h: Likewise.
45360 * include/net/if.h: Likewise.
45361 * include/netdb.h: Likewise.
45362 * include/netinet/in.h: Likewise.
45363 * include/pthread.h: Likewise.
45364 * include/pwd.h: Likewise.
45365 * include/regex.h: Likewise.
45366 * include/sched.h: Likewise.
45367 * include/search.h: Likewise.
45368 * include/setjmp.h: Likewise.
45369 * include/signal.h: Likewise.
45370 * include/stdio.h: Likewise.
45371 * include/stdlib.h: Likewise.
45372 * include/string.h: Likewise.
45373 * include/sys/cdefs.h: Likewise.
45374 * include/sys/mman.h: Likewise.
45375 * include/sys/msg.h: Likewise.
45376 * include/sys/resource.h: Likewise.
45377 * include/sys/select.h: Likewise.
45378 * include/sys/socket.h: Likewise.
45379 * include/sys/stat.h: Likewise.
45380 * include/sys/statvfs.h: Likewise.
45381 * include/sys/time.h: Likewise.
45382 * include/sys/times.h: Likewise.
45383 * include/sys/uio.h: Likewise.
45384 * include/sys/utsname.h: Likewise.
45385 * include/sys/wait.h: Likewise.
45386 * include/termios.h: Likewise.
45387 * include/time.h: Likewise.
45388 * include/ulimit.h: Likewise.
45389 * include/unistd.h: Likewise.
45390 * include/utime.h: Likewise.
45391 * include/wchar.h: Likewise.
45392 * include/wctype.h: Likewise.
45393 * include/wordexp.h: Likewise.
45394
45395 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45396
45397 * time/time.h: TIME_UTC must be a macro.
45398 Make timespec_get available for ISO C11 only as well.
45399
45400 2012-02-24 Ulrich Drepper <drepper@gmail.com>
45401
45402 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45403 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45404
45405 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45406
45407 * configure.in: Use -o not -a in test for unsupported multi-arch.
45408
45409 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45410
45411 * manual/texinfo.tex: Update to version 2012-01-19.16.
45412
45413 2012-02-24 Joseph Myers <joseph@codesourcery.com>
45414
45415 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45416
45417 2012-02-24 Roland McGrath <roland@hack.frob.com>
45418
45419 [BZ #13738]
45420 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45421 * manual/fdl-1.3.texi: New file.
45422 * manual/fdl-1.1.texi: File removed.
45423
45424 [BZ #13738]
45425 * manual/libc.texinfo (FDL_VERSION): New @set.
45426 Use it for mention of FDL in cover text.
45427 (Documentation License): Use it in @include file name.
45428
45429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45430 Roland McGrath <roland@hack.frob.com>
45431
45432 [BZ #5461]
45433 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45434 (not LONG_LONG_MAX and LONG_LONG_MIN.
45435 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45436 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45437 name.
45438 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45439
45440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45441
45442 [BZ #2547]
45443 [BZ #11365]
45444 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45445 manipulate bits before adding and subtracting TWO23[sx].
45446 * math/libm-test.inc (nearbyint_test): Add more tests.
45447
45448 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45449
45450 [BZ #2548]
45451 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45452 bits before adding and subtracting TWO23[sx].
45453 * math/libm-test.inc (rint_test): Add more tests.
45454 (rint_test_tonearest): Likewise.
45455 (rint_test_towardzero): Likewise.
45456 (rint_test_downward): Likewise.
45457 (rint_test_upward: Likewise.
45458
45459 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45460
45461 [BZ #10110]
45462 * include/stdc-predef.h: New file. Extracted from features.h.
45463 * include/features.h: Include stdc-predef.h.
45464 * Makefile (headers): Add stdc-predef.h.
45465 * CONFORMANCE (Compiler limitations): Update.
45466
45467 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45468
45469 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45470
45471 2012-02-21 David S. Miller <davem@davemloft.net>
45472
45473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45474 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45475
45476 2012-02-20 David S. Miller <davem@davemloft.net>
45477
45478 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45479 using a normal save/restore sequence, rather than allocating a
45480 dummy stack frame just to store a frame pointer and restore.
45481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45482
45483 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45484
45485 * manual/install.texi: Fix stray word in line-wrapped comment.
45486
45487 2012-02-20 David S. Miller <davem@davemloft.net>
45488
45489 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45490 both binutils and gcc support GOTDATA.
45491
45492 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45493 "rd %pc" in the PIC register setup sequences.
45494
45495 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45496 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45497 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45498 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45499 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45502 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45504 (SYSCALL_ERROR_HANDLER): Likewise.
45505 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45506 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45508 (SYSCALL_ERROR_HANDLER): Likewise.
45509
45510 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45511 (HAVE_GCC_GOTDATA): New.
45512 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45513 relocation support in both binutils and gcc.
45514 * sysdeps/sparc/elf/configure: Regenerate.
45515
45516 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45517 * sysdeps/sparc/sparc32/elf/configure: Delete.
45518 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45519 * sysdeps/sparc/sparc64/elf/configure: Delete.
45520 * sysdeps/sparc/elf/configure.in: New file.
45521 * sysdeps/sparc/elf/configure: Generate.
45522
45523 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45524 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45525 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45526 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45527 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45528
45529 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45530
45531 * manual/install.texi: Do not mention specific glibc version
45532 numbers.
45533 * manual/libc.texinfo (VERSION, UPDATED): Update.
45534 (@copying): Use @copyright{} and range of years.
45535
45536 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45537
45538 [BZ #13695]
45539 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45540 [crti.S not in sysdirs] (generated): Do not append.
45541 [crti.S not in sysdirs] (omit-deps): Likewise.
45542 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45543 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45544 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45545 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45546 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45547 Likewise.
45548 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45549 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45550 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45551 * csu/defs.awk: Remove file.
45552 * sysdeps/generic/initfini.c: Likewise.
45553 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45554 variable.
45555 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45556 Likewise.
45557
45558 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45559
45560 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45561 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45562 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45565 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45566 <bits/epoll.h>.
45567 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45568 (__EPOLL_PACKED): Define to empty if not defined by
45569 <bits/epoll.h>.
45570 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45572 bits/epoll.h.
45573
45574 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45575
45576 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45577 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45578 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45579 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45580 <bits/timerfd.h>.
45581 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45583 bits/timerfd.h.
45584
45585 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45586
45587 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45588 in C locale.
45589 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45590 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45591 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45593
45594 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45595
45596 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45597 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45598
45599 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45600
45601 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45602 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45603 defined.
45604 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45605 Likewise.
45606 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45607 entry for 2.16.
45608
45609 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45610
45611 * math/w_acos.c: Use non-signaling floating-point comparisons.
45612 * math/w_acosf.c: Likewise.
45613 * math/w_acosh.c: Likewise.
45614 * math/w_acoshf.c: Likewise.
45615 * math/w_acoshl.c: Likewise.
45616 * math/w_acosl.c: Likewise.
45617 * math/w_asin.c: Likewise.
45618 * math/w_asinf.c: Likewise.
45619 * math/w_asinl.c: Likewise.
45620 * math/w_atanh.c: Likewise.
45621 * math/w_atanhf.c: Likewise.
45622 * math/w_atanhl.c: Likewise.
45623 * math/w_exp2.c: Likewise.
45624 * math/w_exp2f.c: Likewise.
45625 * math/w_exp2l.c: Likewise.
45626 * math/w_j0.c: Likewise.
45627 * math/w_j0f.c: Likewise.
45628 * math/w_j0l.c: Likewise.
45629 * math/w_j1.c: Likewise.
45630 * math/w_j1f.c: Likewise.
45631 * math/w_j1l.c: Likewise.
45632 * math/w_jn.c: Likewise.
45633 * math/w_jnf.c: Likewise.
45634 * math/w_log.c: Likewise.
45635 * math/w_log10.c: Likewise.
45636 * math/w_log10f.c: Likewise.
45637 * math/w_log10l.c: Likewise.
45638 * math/w_log2.c: Likewise.
45639 * math/w_log2f.c: Likewise.
45640 * math/w_log2l.c: Likewise.
45641 * math/w_logf.c: Likewise.
45642 * math/w_logl.c: Likewise.
45643 * math/w_sqrt.c: Likewise.
45644 * math/w_sqrtf.c: Likewise.
45645 * math/w_sqrtl.c: Likewise.
45646 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45647 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45649 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45650 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45651
45652 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45653
45654 [BZ #9739]
45655 * manual/string.texi (strnlen): Use correct parameter name in
45656 equivalent expression.
45657
45658 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45659
45660 [BZ #11174]
45661 * manual/users.texi (seteuid): Consistently use neweuid for
45662 argument name.
45663
45664 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45665
45666 [BZ #13704]
45667 * manual/nss.texi (Services in the NSS configuration): Correct
45668 list of services in example configuration file.
45669
45670 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45671
45672 [BZ #11322]
45673 * manual/arith.texi: Remove statements about negative zero
45674 behaving identically to zero.
45675
45676 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45677
45678 [BZ #5993]
45679 * manual/install.texi: Do not document upgrading from libc5.
45680
45681 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45682
45683 [BZ #4596]
45684 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45685
45686 2012-02-18 David S. Miller <davem@davemloft.net>
45687
45688 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45689 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45690 %o7 across the call.
45691 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45692 instead.
45693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45694 SETUP_PIC_REG_LEAF.
45695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45696 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45697 * sysdeps/sparc/crtn.S: Likewise.
45698
45699 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45700
45701 * aout/Makefile: Remove.
45702
45703 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45704
45705 [BZ #13058]
45706 * manual/examples/argp-ex1.c (main): Format definition in GNU
45707 style.
45708 * manual/examples/argp-ex2.c (main): Likewise.
45709 * manual/examples/argp-ex3.c (main): Likewise.
45710 * manual/examples/argp-ex4.c (main): Likewise.
45711 * manual/examples/longopt.c (main): Use new-style prototype
45712 definition.
45713 * manual/examples/strncat.c (main): Specify return type and use
45714 (void) for arguments.
45715 * manual/examples/subopt.c (main): Use char **argv argument.
45716
45717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45718
45719 [BZ #5077]
45720 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45721 rounding modes.
45722
45723 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45724
45725 [BZ #6907]
45726 * manual/string.texi (strchr): Change when strchrnul is
45727 recommended.
45728
45729 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45730
45731 [BZ #174]
45732 * manual/locale.texi (setlocale): Document LOCPATH.
45733
45734 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45735
45736 [BZ #10210]
45737 * manual/process.texi (execle): Move @dots{} before last argument.
45738
45739 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45740
45741 [BZ #12047]
45742 * manual/charset.texi (Generic Charset Conversion): Fix typo
45743 (LC_TYPE -> LC_CTYPE).
45744
45745 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45746
45747 [BZ #5805]
45748 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45749 (scalbnf): Likewise.
45750 (scalbnl): Likewise.
45751 (scalbln): Likewise.
45752 (scalblnf): Likewise.
45753 (scalblnl): Likewise.
45754 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45755 (vwarnx): Likewise.
45756 (verr): Likewise.
45757 (verrx): Likewise.
45758 * manual/filesys.texi (telldir): Use braces around return type.
45759 * manual/llio.texi (mmap): Add space after comma.
45760 (mmap64): Likewise.
45761 * manual/math.texi (jn): Use @var{} on parameter names.
45762 (jnf): Likewise.
45763 (jnl): Likewise.
45764 (yn): Likewise.
45765 (ynf): Likewise.
45766 (ynl): Likewise.
45767 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45768 line.
45769 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45770 "...".
45771 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45772 (sched_get_priority_max): Likewise.
45773 * manual/signal.texi (sigvec): Add space after comma.
45774 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45775 names.
45776 (if_indextoname): Likewise.
45777 (if_freenameindex): Likewise.
45778 (sendto): Use ',' instead of '.' in prototype.
45779 * manual/startup.texi (syscall): Use @dots{} instead of literal
45780 "...".
45781 * manual/stdio.texi (__fpending): Separate initial words of
45782 paragraph from @deftypefun line.
45783 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45784 "...".
45785 (vsyslog): Use @var{} on parameter names.
45786 * manual/terminal.texi (stty): Use @var{} on parameter names.
45787 * manual/users.texi (getutmp): Use @var{} on parameter names.
45788 (getutmpx): Likewise.
45789
45790 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45791
45792 [BZ #6884]
45793 * manual/stdio.texi (fopen): Fix typos in description of
45794 ",ccs=STRING".
45795
45796 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45797
45798 [BZ #4026]
45799 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45800 get clock_id definition.
45801
45802 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45803
45804 [BZ #4822]
45805 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45806 (madvise): Cast every argument to void on its own.
45807
45808 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45809
45810 [BZ #9902]
45811 * manual/startup.texi (Exit Status): Fix typo.
45812
45813 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45814
45815 [BZ #10140]
45816 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45817 * manual/examples/argp-ex2.c: Likewise.
45818 * manual/examples/argp-ex3.c: Likewise.
45819
45820 2012-02-16 Richard Henderson <rth@redhat.com>
45821
45822 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45823 * sysdeps/s390/s390-32/initfini.c: Remove.
45824 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45825 * sysdeps/s390/s390-64/initfini.c: Remove.
45826
45827 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45828
45829 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45830 compiler output for sysdeps/generic/initfini.c.
45831 * sysdeps/sh/elf/initfini.c: Remove file.
45832
45833 2012-02-16 David S. Miller <davem@davemloft.net>
45834
45835 [BZ #11494]
45836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45837
45838 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45839 * sysdeps/sparc/crti.S: New file.
45840 * sysdeps/sparc/crtn.S: New file.
45841 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45842 * sysdeps/sparc/sparc64/Makefile: Likewise.
45843
45844 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45845
45846 [BZ #3335]
45847 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45848
45849 2012-02-15 Roland McGrath <roland@hack.frob.com>
45850
45851 [BZ #4822]
45852 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45853
45854 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45855 (write, read, close): Likewise.
45856 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45857
45858 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45859
45860 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45861 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45862 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45863 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45864 <bits/signalfd.h>.
45865 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45867 bits/signalfd.h.
45868
45869 2012-02-14 Marek Polacek <polacek@redhat.com>
45870
45871 * sysdeps/x86_64/crti.S: New file.
45872 * sysdeps/x86_64/crtn.S: New file.
45873 * sysdeps/x86_64/elf/initfini.c: Remove file.
45874
45875 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45876
45877 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45878 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45879 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45880 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45881 <bits/inotify.h>.
45882 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45884 bits/inotify.h.
45885
45886 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45887
45888 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45889 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45890 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45891 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45892 <bits/eventfd.h>.
45893 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45895 bits/eventfd.h.
45896
45897 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45898
45899 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45900 __feraiseexcept instead of feraiseexcept.
45901
45902 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45903 nanosleep invocations.
45904 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45905 strings, and add error checking for a nanosleep invocations.
45906
45907 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45908
45909 Replace FSF snail mail address with URLs, as per GNU coding standards.
45910 Most of the snail mail addresses were wrong anyway, and omitting
45911 them makes the source code easier to maintain. Almost all of the
45912 changes are to license notices and to locale LC_IDENTIFICATION
45913 addresses, except for this one:
45914 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45915 not its snail mail address.
45916
45917 2012-02-09 Richard Henderson <rth@twiddle.net>
45918
45919 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45920 of kernel-features.h.
45921
45922 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45923
45924 2012-02-08 Marek Polacek <polacek@redhat.com>
45925
45926 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45927 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45928 * sysdeps/gnu/_G_config.h: Likewise.
45929 * sysdeps/generic/_G_config.h: Likewise.
45930
45931 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45932
45933 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45934 tests.
45935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45936
45937 * sysdeps/powerpc/powerpc32/crti.S: New file.
45938 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45939 * sysdeps/powerpc/powerpc64/crti.S: New file.
45940 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45941
45942 * Makeconfig (have-initfini): Don't set.
45943 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45944 * configure.in (nopic_initfini): Don't substitute.
45945 * config.h.in (HAVE_INITFINI): Don't #undef.
45946 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45947 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45948
45949 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45950
45951 Support crti.S and crtn.S provided directly by architectures.
45952 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45953 [crti.S in sysdirs] (omit-deps): Likewise.
45954 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45955 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45956 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45957 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45958 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45959 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45960 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45961 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45962 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45963 compiler output for sysdeps/generic/initfini.c.
45964 * sysdeps/i386/elf/Makefile: Remove file.
45965 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45966
45967 2012-02-07 Marek Polacek <polacek@redhat.com>
45968
45969 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45970 * sysdeps/gnu/_G_config.h: Likewise.
45971 * sysdeps/mach/hurd/_G_config.h: Likewise.
45972
45973 2012-02-07 Marek Polacek <polacek@redhat.com>
45974
45975 * math/Makefile (tests): Add tst-CMPLX2.
45976 * math/tst-CMPLX2.c: New file.
45977
45978 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45979
45980 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45981
45982 * math/libm-test.inc (jn_test): Add missing L suffix.
45983
45984 2012-02-06 Marek Polacek <polacek@redhat.com>
45985
45986 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45987 * sysdeps/i386/fpu/e_powf.S: Likewise.
45988 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45989 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45990 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45991 * sysdeps/i386/fpu/e_pow.S: Likewise.
45992 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45993 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45994 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45995 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45996 * sysdeps/i386/fpu/e_log2.S: Likewise.
45997 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45999 * sysdeps/i386/fpu/e_powl.S: Likewise.
46000 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46001 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46002 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46003 * sysdeps/i386/fpu/e_logl.S: Likewise.
46004 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46005 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46006 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46007 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46008 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46009 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46010 * sysdeps/i386/fpu/e_log.S: Likewise.
46011 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46012 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46013 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46014 * sysdeps/i386/fpu/e_logf.S: Likewise.
46015 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46016 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46017 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46018 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46019 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46020 * sysdeps/i386/fpu/e_log10.S: Likewise.
46021 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46022 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46023 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46024 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46025 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46026 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46027 * sysdeps/i386/asm-syntax.h: Likewise.
46028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46029 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46030 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46031 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46032 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46034 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46035 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46036 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46037 * sysdeps/powerpc/sysdep.h: Likewise.
46038 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46039 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46040
46041 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46042
46043 [BZ #411]
46044 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46045
46046 2012-02-06 Joseph Myers <joseph@codesourcery.com>
46047
46048 * sysdeps/i386/sysdep.h: Include <features.h>.
46049 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46050 version.
46051
46052 2012-02-05 Joseph Myers <joseph@codesourcery.com>
46053
46054 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46055 Define.
46056 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46057 LOAD_PIC_REG_STR.
46058
46059 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46060
46061 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46062 (SETUP_PIC_REG): Use GET_PC_THUNK.
46063 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46064 macro.
46065
46066 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46067
46068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46069 for non-PIC compilation.
46070 (SETUP_PIC_REG): Add .p2align directive.
46071 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46072 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46075 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46076 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46078 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46079 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46080 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46081 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46082 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46083 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46084 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46085 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46086 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46087 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46088 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46089 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46090 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46091 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46092 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46095 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46098 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46099 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46100 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46101 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46102 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46103 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46106 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46107 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46108 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46109 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46110 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46111 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46112
46113 2012-02-03 Joseph Myers <joseph@codesourcery.com>
46114
46115 * math/tst-CMPLX.c: Include <stdio.h>.
46116
46117 2012-01-31 Joseph Myers <joseph@codesourcery.com>
46118
46119 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46120 float.
46121 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46122 * sysdeps/sparc/bits/mathdef.h: Likewise.
46123
46124 2012-01-31 Marek Polacek <polacek@redhat.com>
46125
46126 * libio/libio.h: Don't define _PARAMS.
46127 * locale/programs/config.h: Don't define PARAMS.
46128 * stdlib/strtol_l.c: Likewise.
46129 (__strtol_l): Remove PARAMS from the prototype.
46130
46131 2012-01-31 Ulrich Drepper <drepper@gmail.com>
46132
46133 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46134 names. Just use the correct names. Remove unnecessary wrapper
46135 functions.
46136 * malloc/arena.c: Likewise.
46137 * malloc/hooks.c: Likewise.
46138
46139 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46140 ARENA_TEST says not to. Simplify test for creation of a new arena.
46141 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46142
46143 2012-01-30 Ulrich Drepper <drepper@gmail.com>
46144
46145 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46146 into tail calls.
46147 (update_get_addr): New function.
46148 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46149 GET_ADDR_MODULE parameter.
46150
46151 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46152
46153 * crypt/cert.c: Remove __STDC__ conditionals.
46154 * crypt/crypt-entry.c: Likewise.
46155 * crypt/crypt_util.c: Likewise.
46156 * libio/filedoalloc.c: Likewise.
46157 * libio/fileops.c: Likewise.
46158 * libio/genops.c: Likewise.
46159 * libio/iofclose.c: Likewise.
46160 * libio/iofdopen.c: Likewise.
46161 * libio/iofopen.c: Likewise.
46162 * libio/iofopen64.c: Likewise.
46163 * libio/iogetdelim.c: Likewise.
46164 * libio/iopopen.c: Likewise.
46165 * libio/obprintf.c: Likewise.
46166 * libio/oldfileops.c: Likewise.
46167 * libio/oldiofclose.c: Likewise.
46168 * libio/oldiofdopen.c: Likewise.
46169 * libio/oldiofopen.c: Likewise.
46170 * libio/oldiopopen.c: Likewise.
46171 * libio/wfiledoalloc.c: Likewise.
46172 * libio/wgenops.c: Likewise.
46173 * locale/programs/xmalloc.c: Likewise.
46174 * misc/syslog.c: Likewise.
46175 * stdio-common/xbug.c: Likewise.
46176 * string/memchr.c: Likewise.
46177 * string/memcmp.c: Likewise.
46178 * string/memrchr.c: Likewise.
46179 * string/rawmemchr.c: Likewise.
46180 * sysdeps/posix/getcwd.c: Likewise.
46181 * time/strftime_l.c: Likewise.
46182
46183 2012-01-30 Joseph Myers <joseph@codesourcery.com>
46184
46185 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46186 * config.make.in (config-cflags-sse2avx): Define.
46187 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46188 Fix typo.
46189
46190 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46191
46192 * scripts/config.guess: Update from upstream config git repository.
46193 * scripts/config.sub: Likewise.
46194
46195 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46196
46197 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46198 (EM_NUM): Update.
46199 (R_TILEPRO_*, R_TILEGX_*): New macros.
46200
46201 * scripts/firstversions.awk: Fix bug in version range handling.
46202
46203 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46204
46205 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46206
46207 * include/sys/epoll.h: New file.
46208 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46209 libc_hidden_def.
46210
46211 2012-01-28 Ulrich Drepper <drepper@gmail.com>
46212
46213 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46214 Avoid unnecessary __WORDSIZE == 64 test.
46215 (fmaxf): Use VEX format if possible.
46216 (fmax): Likewise.
46217 (fminf): Likewise.
46218 (fmin): Likewise.
46219
46220 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46221 * math/math_private.h: Remove libc_fegetround* and
46222 libc_fesetround*.
46223 * sysdeps/i386/configure.in: Check for -msse2avx.
46224 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46225 also if SSE2AVX is defined.
46226 Remove libc_fegetround* and libc_fesetround*.
46227 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46228 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46230 of HAS_YMM_USABLE.
46231 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46232 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46233 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46236
46237 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46238
46239 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46240
46241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46242 size is not set.
46243 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46244
46245 2012-01-27 Ulrich Drepper <drepper@gmail.com>
46246
46247 [BZ #13618]
46248 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46249 relocation.
46250 * Makeconfig (libm): Define.
46251 * elf/Makefile: Add rules to build and run tst-relsort1.
46252 * elf/tst-relsort1.c: New file.
46253 * elf/tst-relsort1mod1.c: New file.
46254 * elf/tst-relsort1mod2.c: New file.
46255
46256 2012-01-27 Joseph Myers <joseph@codesourcery.com>
46257
46258 * math/s_ldexp.c: Remove __STDC__ conditionals.
46259 * math/s_ldexpf.c: Likewise.
46260 * math/s_ldexpl.c: Likewise.
46261 * math/s_nextafter.c: Likewise.
46262 * math/s_nexttowardf.c: Likewise.
46263 * math/s_significand.c: Likewise.
46264 * math/s_significandf.c: Likewise.
46265 * math/s_significandl.c: Likewise.
46266 * math/w_jnl.c: Likewise.
46267 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46268 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46269 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46270 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46271 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46273 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46274 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46275 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46276 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46277 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46279 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46280 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46281 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46282 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46283 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46284 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46286 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46288 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46289 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46291 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46292 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46293 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46294 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46295 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46296 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46297 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46298 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46299 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46301 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46302 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46303 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46304 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46305 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46306 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46307 * sysdeps/ieee754/k_standard.c: Likewise.
46308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46309 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46310 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46311 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46312 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46313 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46314 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46315 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46316 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46318 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46319 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46320 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46321 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46322 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46323 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46324 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46326 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46327 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46330 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46331 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46332 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46333 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46337 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46339 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46340 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46341 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46343 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46344 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46346 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46347 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46348 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46350 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46351 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46352 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46354 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46355 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46356 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46357 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46358 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46359 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46360 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46361 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46362 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46363 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46364 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46365 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46368 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46369 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46370 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46371 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46372 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46373 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46374 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46375 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46376 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46377 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46378 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46379 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46380 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46383 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46384 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46385 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46386 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46387 * sysdeps/ieee754/s_matherr.c: Likewise.
46388 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46389 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46392
46393 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46394
46395 * crypt/md5.h: Remove __STDC__ conditionals.
46396 * libio/libioP.h: Likewise.
46397 * locale/programs/config.h: Likewise.
46398 * sysdeps/generic/sysdep.h: Likewise.
46399 * sysdeps/i386/asm-syntax.h: Likewise.
46400 * sysdeps/s390/asm-syntax.h: Likewise.
46401 * sysdeps/unix/sysdep.h: Likewise.
46402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46404
46405 2012-01-26 Joseph Myers <joseph@codesourcery.com>
46406
46407 * libio/libio.h: Remove __STDC__ conditionals.
46408 * malloc/obstack.h: Likewise.
46409 * math/complex.h: Likewise.
46410 * math/math.h: Likewise.
46411 * sysdeps/generic/_G_config.h: Likewise.
46412 * sysdeps/gnu/_G_config.h: Likewise.
46413 * sysdeps/mach/hurd/_G_config.h: Likewise.
46414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46416 * sysdeps/sparc/bits/mathdef.h: Likewise.
46417
46418 2012-01-26 Ulrich Drepper <drepper@gmail.com>
46419
46420 [BZ #13583]
46421 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46422 Clean up HAS_* macros.
46423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46424 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46425 possible.
46426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46427 HAS_AVX.
46428 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46429 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46433
46434 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46435
46436 * elf/tst-unique3.cc (gets): Remove declaration.
46437 * elf/tst-unique3lib.cc (gets): Likewise.
46438 * elf/tst-unique3lib2.cc (gets): Likewise.
46439 * elf/tst-unique4.cc (gets): Likewise.
46440
46441 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46442
46443 * include/stdio.h: Add C++ protection. Add gets declarations and
46444 definitions.
46445 * debug/tst-chk1.c: Don't declare gets here.
46446 * stdio-common/tst-gets.c: Likewise.
46447
46448 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46449
46450 * posix/glob: Remove directory.
46451
46452 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46453
46454 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46455
46456 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46457
46458 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46459 of the non-standard EPFNOSUPPORT.
46460
46461 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46462
46463 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46464 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46465 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46466
46467 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46468
46469 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46470
46471 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46472
46473 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46474 transient errors.
46475 * nscd/grpcache.c (cache_addgr): Likewise.
46476 * nscd/hstcache.c (cache_addhst): Likewise.
46477 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46478 * nscd/pwdcache.c (cache_addpw): Likewise.
46479 * nscd/servicescache.c (cache_addserv): Likewise.
46480
46481 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46482
46483 * malloc/malloc.c: Various cleanups.
46484 * malloc/hooks.c: Likewise.
46485
46486 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46487 * stdlib/bug-fmtmsg1.c: New file.
46488
46489 * stdlib/fmtmsg.c (init): Add missing unlock.
46490 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46491
46492 2012-01-12 Marek Polacek <polacek@redhat.com>
46493
46494 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46495 and _GNU_SOURCE.
46496
46497 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46498
46499 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46500 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46501 macro to ensure uniqueness of label name.
46502 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46503 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46504
46505 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46506
46507 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46508
46509 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46510 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46511 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46513
46514 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46515
46516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46517
46518 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46519 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46520 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46521
46522 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46523
46524 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46525 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46526 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46528
46529 * math/bits/math-finite.h: Add ldexp support.
46530
46531 2012-01-10 Marek Polacek <polacek@redhat.com>
46532
46533 * locale/programs/localedef.h (show_archive_content): Add noreturn
46534 attribute.
46535
46536 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46537
46538 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46539
46540 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46541
46542 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46543
46544 * io/Makefile (headers): Add bits/poll2.h.
46545
46546 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46547
46548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46549 typo #include statement.
46550
46551 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46552
46553 * include/sys/cdefs.h: Define __attribute_alloc_size.
46554 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46555 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46556 * elf/pldd.c: Likewise.
46557 * iconv/iconv_charmap.c: Likewise.
46558 * iconv/iconvconfig.c: Likewise.
46559 * iconv/strtab.c: Likewise.
46560 * locale/programs/locale.c: Likewise.
46561 * locale/programs/localedef.h: Likewise.
46562 * locale/programs/simple-hash.c: Likewise.
46563 * nscd/nscd.h: Likewise.
46564 * nss/makedb.c: Likewise.
46565 * sysdeps/generic/ldconfig.h: Likewise.
46566 * locale/programs/localedef.c: Remove xmalloc prototype.
46567 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46568
46569 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46570
46571 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46572 appropriate.
46573
46574 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46575
46576 * math/Makefile (tests): Add tst-CMPLX.
46577 * math/tst-CMPLX.c: New file.
46578
46579 * math/complex.h (CMPLXL): Fix typo.
46580
46581 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46582 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46583 GLIBC_2.16.
46584 * debug/tst-chk1.c: Add poll and ppoll tests.
46585 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46586 * include/sys/poll.h: Add hidden proto for ppoll.
46587 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46588 * sysdeps/mach/hurd/ppoll.c: Likewise.
46589 * io/ppoll.c: Likewise.
46590 * debug/poll_chk.c: New file.
46591 * debug/ppoll_chk.c: New file.
46592 * include/bits/poll2.h: New file.
46593 * io/bits/poll2.h: New file.
46594
46595 [BZ #1350]
46596 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46597
46598 * configure.in: static is always set to yes. Remove.
46599 * config.make.in: Don't set build-static.
46600 * Makeconfig: Remove use of build-static.
46601 * dlfcn/Makefile: Likewise.
46602 * elf/Makefile: Likewise.
46603 * math/Makefile: Likewise.
46604 * misc/Makefile: Likewise.
46605 * nptl/Makefile: Likewise.
46606 * sysdeps/mach/hurd/Makefile: Likewise.
46607
46608 * configure.in: PWD_P is not used anymore.
46609 * config.make.in: Remove PWD_P entry.
46610
46611 * configure.in: Remove last remnants of RANLIB.
46612 No need to check for signed size_t anymore.
46613 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46614 and IA-64.
46615 Remove __builtin_expect test because we require at least gcc 3.4.
46616 * aclocal.m4: Likewise.
46617
46618 * wcsmbs/mbrtoc16.c: Implement using towc function.
46619 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46620 * wcsmbs/wcsmbsload.c: Likewise.
46621 * iconv/gconv_simple.c: Likewise.
46622 * iconv/gconv_int.h: Likewise.
46623 * iconv/gconv_builtin.h: Likewise.
46624 * iconv/iconv_prog.c: Remove CHAR16 handling.
46625
46626 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46627
46628 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46629
46630 * configure.in: Remove --with-elf and --enable-bounded options.
46631 Dont set base_machine for ia64. More non-ELF conditions removed.
46632 Remove testing and setting of leading underscore information.
46633 * config.make.in (build-bounded): Set to no.
46634 * config.h.in: Remove NO_UNDERSCORES entry.
46635 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46636 them.
46637 * csu/start.c: Remove !NO_UNDERSCORE code.
46638 * locale/localeinfo.h: Likewise.
46639 * sysdeps/generic/machine-gmon.h: Likewise.
46640 * sysdeps/generic/sysdep.h: Likewise.
46641 * sysdeps/i386/sysdep.h: Likewise.
46642 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46643 * sysdeps/mach/sysdep.h: Likewise.
46644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46646 * sysdeps/sh/sysdep.h: Likewise.
46647 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46648 * sysdeps/unix/i386/sysdep.S: Likewise.
46649 * sysdeps/unix/sparc/start.c: Likewise.
46650 * sysdeps/unix/sparc/sysdep.S: Likewise.
46651 * sysdeps/unix/sparc/sysdep.h: Likewise.
46652 * sysdeps/unix/start.c: Likewise.
46653 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46654 * sysdeps/x86_64/sysdep.h: Likewise.
46655
46656 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46657
46658 [BZ #13553]
46659 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46660 for non-gcc.
46661 * argp/argp-fmtstream.h: Use const instead __const.
46662 * argp/argp.h: Likewise.
46663 * assert/assert.h: Likewise.
46664 * bits/fenv.h: Likewise.
46665 * bits/sched.h: Likewise.
46666 * bits/sigset.h: Likewise.
46667 * bits/sigthread.h: Likewise.
46668 * catgets/nl_types.h: Likewise.
46669 * conform/data/pthread.h-data: Likewise.
46670 * crypt/crypt-private.h: Likewise.
46671 * crypt/crypt.h: Likewise.
46672 * crypt/crypt_util.c: Likewise.
46673 * ctype/ctype.h: Likewise.
46674 * debug/execinfo.h: Likewise.
46675 * debug/mbsnrtowcs_chk.c: Likewise.
46676 * debug/mbsrtowcs_chk.c: Likewise.
46677 * debug/wcsnrtombs_chk.c: Likewise.
46678 * debug/wcsrtombs_chk.c: Likewise.
46679 * debug/wcstombs_chk.c: Likewise.
46680 * dirent/dirent.h: Likewise.
46681 * dlfcn/dlfcn.h: Likewise.
46682 * elf/neededtest4.c: Likewise.
46683 * grp/grp.h: Likewise.
46684 * gshadow/gshadow.h: Likewise.
46685 * iconv/gconv.h: Likewise.
46686 * iconv/gconv_int.h: Likewise.
46687 * iconv/gconv_simple.c: Likewise.
46688 * iconv/iconv.h: Likewise.
46689 * iconv/loop.c: Likewise.
46690 * iconv/skeleton.c: Likewise.
46691 * include/aio.h: Likewise.
46692 * include/aliases.h: Likewise.
46693 * include/argz.h: Likewise.
46694 * include/arpa/inet.h: Likewise.
46695 * include/assert.h: Likewise.
46696 * include/dirent.h: Likewise.
46697 * include/dlfcn.h: Likewise.
46698 * include/execinfo.h: Likewise.
46699 * include/fcntl.h: Likewise.
46700 * include/fenv.h: Likewise.
46701 * include/glob.h: Likewise.
46702 * include/grp.h: Likewise.
46703 * include/libintl.h: Likewise.
46704 * include/mntent.h: Likewise.
46705 * include/netdb.h: Likewise.
46706 * include/pwd.h: Likewise.
46707 * include/rpc/netdb.h: Likewise.
46708 * include/sched.h: Likewise.
46709 * include/search.h: Likewise.
46710 * include/shadow.h: Likewise.
46711 * include/signal.h: Likewise.
46712 * include/stdio.h: Likewise.
46713 * include/stdlib.h: Likewise.
46714 * include/string.h: Likewise.
46715 * include/sys/socket.h: Likewise.
46716 * include/sys/stat.h: Likewise.
46717 * include/sys/statfs.h: Likewise.
46718 * include/sys/statvfs.h: Likewise.
46719 * include/sys/syslog.h: Likewise.
46720 * include/sys/time.h: Likewise.
46721 * include/sys/uio.h: Likewise.
46722 * include/time.h: Likewise.
46723 * include/unistd.h: Likewise.
46724 * include/utmp.h: Likewise.
46725 * include/wchar.h: Likewise.
46726 * include/wctype.h: Likewise.
46727 * inet/aliases.h: Likewise.
46728 * inet/arpa/inet.h: Likewise.
46729 * inet/netinet/ether.h: Likewise.
46730 * inet/netinet/in.h: Likewise.
46731 * intl/libintl.h: Likewise.
46732 * io/bits/fcntl2.h: Likewise.
46733 * io/fcntl.h: Likewise.
46734 * io/ftw.h: Likewise.
46735 * io/sys/poll.h: Likewise.
46736 * io/sys/stat.h: Likewise.
46737 * io/sys/statfs.h: Likewise.
46738 * io/sys/statvfs.h: Likewise.
46739 * io/utime.h: Likewise.
46740 * libio/bits/stdio.h: Likewise.
46741 * libio/bits/stdio2.h: Likewise.
46742 * libio/libio.h: Likewise.
46743 * libio/libioP.h: Likewise.
46744 * libio/stdio.h: Likewise.
46745 * locale/lc-ctype.c: Likewise.
46746 * locale/locale.h: Likewise.
46747 * login/utmp.h: Likewise.
46748 * malloc/arena.c: Likewise.
46749 * malloc/malloc.c: Likewise.
46750 * malloc/malloc.h: Likewise.
46751 * malloc/mcheck.c: Likewise.
46752 * malloc/mtrace.c: Likewise.
46753 * math/bits/mathcalls.h: Likewise.
46754 * math/fenv.h: Likewise.
46755 * math/math_private.h: Likewise.
46756 * misc/bits/error.h: Likewise.
46757 * misc/bits/syslog.h: Likewise.
46758 * misc/err.h: Likewise.
46759 * misc/error.h: Likewise.
46760 * misc/fstab.h: Likewise.
46761 * misc/mntent.h: Likewise.
46762 * misc/regexp.h: Likewise.
46763 * misc/search.h: Likewise.
46764 * misc/sgtty.h: Likewise.
46765 * misc/sys/mman.h: Likewise.
46766 * misc/sys/syslog.h: Likewise.
46767 * misc/sys/uio.h: Likewise.
46768 * misc/sys/xattr.h: Likewise.
46769 * misc/ttyent.h: Likewise.
46770 * nis/rpcsvc/ypclnt.h: Likewise.
46771 * nss/nss.h: Likewise.
46772 * posix/bits/unistd.h: Likewise.
46773 * posix/fnmatch.h: Likewise.
46774 * posix/glob.h: Likewise.
46775 * posix/sched.h: Likewise.
46776 * posix/spawn.h: Likewise.
46777 * posix/sys/wait.h: Likewise.
46778 * posix/unistd.h: Likewise.
46779 * posix/wordexp.h: Likewise.
46780 * pwd/pwd.h: Likewise.
46781 * resolv/netdb.h: Likewise.
46782 * resource/sys/resource.h: Likewise.
46783 * rt/aio.h: Likewise.
46784 * rt/bits/mqueue2.h: Likewise.
46785 * rt/mqueue.h: Likewise.
46786 * shadow/shadow.h: Likewise.
46787 * signal/signal.h: Likewise.
46788 * socket/send.c: Likewise.
46789 * socket/sendto.c: Likewise.
46790 * socket/sys/socket.h: Likewise.
46791 * stdio-common/printf.h: Likewise.
46792 * stdlib/bits/stdlib.h: Likewise.
46793 * stdlib/fmtmsg.h: Likewise.
46794 * stdlib/monetary.h: Likewise.
46795 * stdlib/stdlib.h: Likewise.
46796 * stdlib/ucontext.h: Likewise.
46797 * streams/stropts.h: Likewise.
46798 * string/argz.h: Likewise.
46799 * string/bits/string2.h: Likewise.
46800 * string/string.h: Likewise.
46801 * string/strings.h: Likewise.
46802 * sunrpc/rpc/auth.h: Likewise.
46803 * sunrpc/rpc/auth_des.h: Likewise.
46804 * sunrpc/rpc/clnt.h: Likewise.
46805 * sunrpc/rpc/netdb.h: Likewise.
46806 * sunrpc/rpc/pmap_clnt.h: Likewise.
46807 * sunrpc/rpc/xdr.h: Likewise.
46808 * sysdeps/generic/inttypes.h: Likewise.
46809 * sysdeps/generic/net/if.h: Likewise.
46810 * sysdeps/generic/sys/swap.h: Likewise.
46811 * sysdeps/gnu/net/if.h: Likewise.
46812 * sysdeps/gnu/utmpx.h: Likewise.
46813 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46814 * sysdeps/i386/i486/bits/string.h: Likewise.
46815 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46816 * sysdeps/s390/bits/string.h: Likewise.
46817 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46818 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46819 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46820 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46821 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46822 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46823 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46824 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46825 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46826 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46827 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46828 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46829 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46831 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46832 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46833 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46837 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46838 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46839 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46840 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46841 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46842 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46843 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46844 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46845 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46847 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46848 * sysvipc/sys/ipc.h: Likewise.
46849 * sysvipc/sys/msg.h: Likewise.
46850 * sysvipc/sys/sem.h: Likewise.
46851 * sysvipc/sys/shm.h: Likewise.
46852 * termios/termios.h: Likewise.
46853 * time/sys/time.h: Likewise.
46854 * time/time.h: Likewise.
46855 * wcsmbs/bits/wchar2.h: Likewise.
46856 * wcsmbs/uchar.h: Likewise.
46857 * wcsmbs/wchar.h: Likewise.
46858 * wctype/wctype.h: Likewise.
46859
46860 [BZ #13551]
46861 * Makeconfig: Remove all but ELF support including AIX support.
46862 * Makerules: Likewise.
46863 * config.h.in: Likewise.
46864 * config.make.in: Likewise.
46865 * configure: Likewise.
46866 * configure.in: Likewise.
46867 * csu/Makefile: Likewise.
46868 * csu/version.c: Likewise.
46869 * debug/Makefile: Likewise.
46870 * dlfcn/Makefile: Likewise.
46871 * elf/Makefile: Likewise.
46872 * extra-lib.mk: Likewise.
46873 * iconv/Makefile: Likewise.
46874 * include/libc-symbols.h: Likewise.
46875 * include/shlib-compat.h: Likewise.
46876 * resolv/Makefile: Likewise.
46877 * resolv/res_libc.c: Likewise.
46878 * rt/Makefile: Likewise.
46879 * sysdeps/i386/asm-syntax.h: Likewise.
46880 * sysdeps/i386/sysdep.h: Likewise.
46881 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46882 * sysdeps/mach/sysdep.h: Likewise.
46883 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46884 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46885 * sysdeps/s390/asm-syntax.h: Likewise.
46886 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46887 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46888 * sysdeps/sh/sysdep.h: Likewise.
46889 * sysdeps/unix/sparc/sysdep.h: Likewise.
46890 * sysdeps/wordsize-32/divdi3.c: Likewise.
46891 * sysdeps/x86_64/sysdep.h: Likewise.
46892
46893 * argp/Versions: Remove _argp_unlock_xxx.
46894
46895 [BZ #13559]
46896 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46897 * abilist/libBrokenLocale.abilist: Likewise.
46898 * abilist/libanl.abilist: Likewise.
46899 * abilist/libc.abilist: Likewise.
46900 * abilist/libcrypt.abilist: Likewise.
46901 * abilist/libdl.abilist: Likewise.
46902 * abilist/libm.abilist: Likewise.
46903 * abilist/libnsl.abilist: Likewise.
46904 * abilist/libpthread.abilist: Likewise.
46905 * abilist/libresolv.abilist: Likewise.
46906 * abilist/librt.abilist: Likewise.
46907 * abilist/libthread_db.abilist: Likewise.
46908 * abilist/libutil.abilist: Likewise.
46909 * abilist/libnss_db.abilist: New file.
46910
46911 * scripts/abilist.awk: Add support for indirect functions.
46912
46913 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46914
46915 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46916
46917 * shlib-versions: Remove entries for ports architectures.
46918
46919 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46920 files in ports.
46921 * elf/stackguard-macros.h: Remove support for IA-64.
46922 * elf/tst-auditmod1.c: Likewise.
46923 * sysdeps/generic/ldsodefs.h: Likewise.
46924
46925 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46926 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46927 configure files.
46928
46929 [BZ #13552]
46930 * configure.in: Remove --enable-omitfp support.
46931 * FAQ.in: Adjust.
46932 * config.make.in: Likewise.
46933 * Makeconfig: Likewise.
46934 * manual/install.texi: Likewise.
46935
46936 In case anyone cares, the IA-64 architecture could move to ports.
46937 * sysdeps/ia64/*: Removed.
46938 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46939 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46940
46941 [BZ #13555]
46942 * configure.in: Remove entries for unsupported architectures.
46943
46944 [BZ #13533]
46945 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46946 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46947 routines.
46948 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46949 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46950 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46951 fall back to using wcrtomb.
46952 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46953 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46954 renaming.
46955 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46956 * wcsmbs/tst-c16c32-1.c: New file.
46957
46958 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46959 local variable.
46960
46961 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46962
46963 * elf/tst-unique3.cc: Add explicit declaration of gets.
46964 * elf/tst-unique3lib.cc: Likewise.
46965 * elf/tst-unique3lib2.cc: Likewise.
46966 * elf/tst-unique4.cc: Likewise.
46967
46968 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46969
46970 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46971
46972 [BZ #13566]
46973 * assert/assert.h (static_assert): Don't define for C++.
46974 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46975 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46976
46977 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46978
46979 * iconv/loop.c (single loop): Fix assertion in storing of
46980 remaining bytes.
46981
46982 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46983
46984 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46985
46986 * posix/getconf.c: Update copyright year.
46987 * nss/getent.c: Likewise.
46988 * nss/makedb.c: Likewise.
46989 * iconv/iconvconfig.c: Likewise.
46990 * iconv/iconv_prog.c: Likewise.
46991 * elf/ldconfig.c: Likewise.
46992 * elf/pldd.c: Likewise.
46993 * elf/sotruss.ksh: Likewise.
46994 * catgets/gencat.c: Likewise.
46995 * csu/version.c: Likewise.
46996 * elf/ldd.bash.in: Likewise.
46997 * elf/sprof.c (print_version): Likewise.
46998 * locale/programs/locale.c: Likewise.
46999 * locale/programs/localedef.c: Likewise.
47000 * login/programs/pt_chown.c: Likewise.
47001 * nscd/nscd.c (print_version): Likewise.
47002 * debug/xtrace.sh: Likewise.
47003 * malloc/memusage.sh: Likewise.
47004 * malloc/mtrace.pl: Likewise.
47005 * debug/catchsegv.sh: Likewise.
47006
47007 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47008
47009 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47010 pure attribute.
47011
47012 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47013
47014 [BZ #13533]
47015 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47016 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47017 transformations.
47018 * iconv/gconv_int.h: Likewise.
47019 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47020 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47021 from libc for GLIBC_2.16.
47022 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47023 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47024 * wcsmbs/uchar.h: Really define mbstate_t.
47025 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47026 * wcsmbs/c16rtomb.c: New file.
47027 * wcsmbs/mbrtoc16.c: New file.
47028 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47029 for C/POSIX locale.
47030 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47031 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47032
47033 * wcsmbs/wchar.h: Add missing __restrict.
47034
47035 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47036
47037 [BZ #13532]
47038 * time/Makefile (routines): Add timespec_get.
47039 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47040 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47041 timespec for ISO C11.
47042 * time/timespec_get.c: New file.
47043 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47044 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47045
47046 [BZ #13531]
47047 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47048 * stdlib/stdlib.h: Declare aligned_alloc.
47049 * Versions.def: Add GLIBC_2.16 for libc.
47050 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47051
47052 [BZ 13527]
47053 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47054 ISO C11.
47055
47056 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47057 code.
47058
47059 [BZ #13528]
47060 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47061
47062 [BZ #13529]
47063 * assert/assert.h (static_assert): Define.
47064
47065 * version.h: Update for 2.16 development version.
47066
47067 [BZ #13526]
47068 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47069 _ISOC11_SOURCE.
47070
47071 * version.h (RELEASE): Bump for 2.15 release.
47072 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47073
47074 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47075 Patch by Marek Polacek <mpolacek@redhat.com>.
47076
47077 * bits/byteswap.h: Protect long long constants with __extension__.
47078 * sysdeps/i386/bits/byteswap.h: Likewise.
47079 * sysdeps/ia64/bits/byteswap.h: Likewise.
47080 * sysdeps/s390/bits/byteswap.h: Likewise.
47081 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47082
47083 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47084
47085 [BZ #13540]
47086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47087 destination buffer.
47088 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47089
47090 2011-12-23 Marek Polacek <polacek@redhat.com>
47091
47092 * elf/dl-addr.c (determine_info): Add inline keyword.
47093 * elf/tst-auditmod4b.c (check_avx): Likewise.
47094 * elf/tst-auditmod6b.c (check_avx): Likewise.
47095 * elf/tst-auditmod6c.c (check_avx): Likewise.
47096 * elf/tst-auditmod7b.c (check_avx): Likewise.
47097
47098 2011-12-23 Ulrich Drepper <drepper@gmail.com>
47099
47100 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47101 !__SSE_MATH__.
47102
47103 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47104
47105 [BZ #13540]
47106 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47107 processing for last bytes.
47108
47109 2011-08-06 Bruno Haible <bruno@clisp.org>
47110
47111 [BZ #13061]
47112 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47113 U+0385, not to U+1FEE.
47114
47115 [BZ #13062]
47116 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47117 entry for U+00A5 U+0301.
47118
47119 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47120
47121 [BZ #13166]
47122 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47123 buffer for the output is too small.
47124
47125 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47126 optimization.
47127
47128 [BZ #13185]
47129 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47130 SSE flags if possible.
47131
47132 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47133
47134 [BZ #13540]
47135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47136 processing for last bytes.
47137
47138 2011-12-22 Joseph Myers <joseph@codesourcery.com>
47139
47140 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47141 (syscall-list-default-options, syscall-list-default-condition)
47142 (syscall-list-includes): Define.
47143 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47144 list of ABIs and options and #if conditions for each ABI. Do not
47145 handle common syscalls between ABIs specially.
47146 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47147 Remove.
47148 (syscall-list-variants, syscall-list-32bit-options)
47149 (syscall-list-32bit-condition, syscall-list-64bit-options)
47150 (syscall-list-64bit-condition): Define.
47151 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47152 (syscall-list-variants, syscall-list-32bit-options)
47153 (syscall-list-32bit-condition, syscall-list-64bit-options)
47154 (syscall-list-64bit-condition): Define.
47155 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47156 Remove.
47157 (syscall-list-variants, syscall-list-32bit-options)
47158 (syscall-list-32bit-condition, syscall-list-64bit-options)
47159 (syscall-list-64bit-condition): Define.
47160 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47161 Remove.
47162 (syscall-list-variants, syscall-list-32bit-options)
47163 (syscall-list-32bit-condition, syscall-list-64bit-options)
47164 (syscall-list-64bit-condition): Define.
47165
47166 2011-12-22 Ulrich Drepper <drepper@gmail.com>
47167
47168 * locale/iso-639.def: Add brx entry.
47169
47170 [BZ #13328]
47171 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47172 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47173
47174 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47175 __feraiseexcept_renamed.
47176
47177 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47178
47179 [BZ #13538]
47180 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47181 EPOLLET with unsigned values.
47182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47183 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47184
47185 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47186 to large cancellation.
47187 * math/s_cacoshf.c: Likewise.
47188 * math/s_cacoshl.c: Likewise.
47189
47190 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47191
47192 [BZ #13305]
47193 [BZ #12786]
47194 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47195 * math/s_cacoshf.c: Likewise.
47196 * math/s_cacoshl.c: Likewise.
47197
47198 2011-12-21 Ulrich Drepper <drepper@gmail.com>
47199
47200 [BZ #13439]
47201 * iconv/gconv.h: Define __GCONV_SWAP.
47202 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47203 * iconvdata/utf-16.c: Likewise.
47204 * iconvdata/utf-32.c: Likewise.
47205
47206 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47207
47208 [BZ #13524]
47209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47210 numerator after shifting it by one limb.
47211
47212 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47213
47214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47215 under [__USE_EXTERN_INLINES].
47216
47217 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47218
47219 [BZ #13446]
47220 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47221
47222 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47223
47224 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47225 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47226 optimized code.
47227 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47229 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47230 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47231 for strncasecmp/strncasecmp_l compilation.
47232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47233 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47234
47235 2011-12-08 Marek Polacek <mpolacek@redhat.com>
47236
47237 [BZ #13484]
47238 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47239 of __asm__.
47240
47241 2011-12-17 Ulrich Drepper <drepper@gmail.com>
47242
47243 [BZ #13506]
47244 * time/tzfile.c (__tzfile_read): Check values from file header.
47245
47246 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47247
47248 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47249 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47250 * powerpc/powerpc32/dl-start.S: Likewise.
47251 * powerpc/powerpc32/elf/start.S: Likewise.
47252 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47253 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47254 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47255 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47256 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47257 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47258 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47259 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47260 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47261 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47262 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47263 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47264 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47265 * powerpc/powerpc32/memset.S: Likewise.
47266 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47267 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47268 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47269 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47270 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47271 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47272 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47273 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47274 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47275 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47276 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47279
47280 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47281
47282 * math/libm-test.inc: Added more nearbyint tests.
47283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47284 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47286 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47287
47288 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47289
47290 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47291 FD_CLOEXEC.
47292
47293 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47294
47295 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47296 Add wcscpy-ssse3 wcscpy-c.
47297 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47298 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47299 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47300 * sysdeps/x86_64/wcschr.S: New file.
47301 * sysdeps/x86_64/wcsrchr.S: New file.
47302 * string/test-strcmp.c: Remove checking of wcscmp function for
47303 wrong alignments.
47304 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47305 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47306 wcsrchr-sse2 wcsrchr-c.
47307 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47308 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47309 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47310 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47311 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47312 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47313 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47314 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47315 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47316 * wcsmbc/wcschr.c (WCSCHR): New macro.
47317
47318 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47319
47320 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47321 * wcsmbs/test-wcsrchr.c: New file.
47322 * string/test-strrchr.c: Add wcsrchr support.
47323 (WIDE): New macro.
47324 * wcsmbs/test-wcscpy.c: New file.
47325 * string/test-strcpy.c: Add wcscpy support.
47326 (WIDE): New macro.
47327
47328 2011-12-10 Ulrich Drepper <drepper@gmail.com>
47329
47330 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47331 the inner loop.
47332
47333 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47334
47335 [BZ #13472]
47336 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47337
47338 2011-12-04 Ulrich Drepper <drepper@gmail.com>
47339
47340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47341 Minor optimizations.
47342
47343 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47344 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47345 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47346
47347 2011-12-03 Ulrich Drepper <drepper@gmail.com>
47348
47349 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47350 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47351 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47352 for gcc to avoid warnings.
47353 * inet/Makefile (tests): Add tst-checks.
47354 * inet/tst-checks.c: New file.
47355
47356 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47357 warning.
47358
47359 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47360 __wmemcmp_sse2.
47361
47362 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47363 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47364
47365 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47366
47367 2011-12-02 Ulrich Drepper <drepper@gmail.com>
47368
47369 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47370 problem.
47371
47372 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47373
47374 2011-11-29 Joseph Myers <joseph@codesourcery.com>
47375
47376 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47377 conditional on GCC version.
47378 (__arch_compare_and_exchange_val_8_acq)
47379 (__arch_compare_and_exchange_val_16_acq)
47380 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47381 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47382 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47383
47384 2011-12-02 Joseph Myers <joseph@codesourcery.com>
47385
47386 * sysdeps/sh/backtrace.c: New file.
47387
47388 2011-12-02 Andreas Schwab <schwab@redhat.com>
47389
47390 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47391 parenthesis.
47392
47393 2011-12-01 Andreas Schwab <schwab@redhat.com>
47394
47395 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47396 falling back to utime.
47397
47398 2011-11-30 Andreas Schwab <schwab@redhat.com>
47399
47400 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47401 expectations for float.
47402
47403 2011-11-29 Andreas Schwab <schwab@redhat.com>
47404
47405 * locale/weight.h (findidx): Add parameter len.
47406 * locale/weightwc.h (findidx): Likewise.
47407 * posix/fnmatch_loop.c (FCT): Adjust caller.
47408 * posix/regcomp.c (build_equiv_class): Likewise.
47409 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47410 * posix/regexec.c (check_node_accept_bytes): Likewise.
47411 * string/strcoll_l.c (STRCOLL): Likewise.
47412 * string/strxfrm_l.c (STRXFRM): Likewise.
47413
47414 2011-11-17 Ulrich Drepper <drepper@gmail.com>
47415
47416 * Makefile.in: Remove CVSOPT handling.
47417 * configure.in: Remove use of AC_REVISION.
47418 * iconvdata/Makefile (distribute): No need to filter out CVS.
47419 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47420 handling.
47421
47422 2011-11-16 Andreas Schwab <schwab@redhat.com>
47423
47424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47425 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47426 [USE_AS_STRNCASECMP_L]: Likewise.
47427 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47428 NO_TLS_DIRECT_SEG_REFS.
47429 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47430 Fix argument offsets for non-PIC.
47431 [USE_AS_STRNCASECMP_L]: Likewise.
47432 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47433 NO_TLS_DIRECT_SEG_REFS.
47434
47435 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47436
47437 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47438 O_CLOEXEC.
47439 * locale/loadlocale.c (_nl_load_locale): Likewise.
47440
47441 2011-11-15 Andreas Schwab <schwab@redhat.com>
47442
47443 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47444 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47446 (SYSCALL_GETTIME): Set errno on error.
47447
47448 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47449 count references to noai6ai_cached.
47450
47451 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47452
47453 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47454
47455 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47456 FD_CLOEXEC for /proc/self/maps.
47457
47458 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47459 FD_CLOEXEC for /proc/meminfo.
47460
47461 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47462 gai.conf.
47463
47464 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47465 FD_CLOEXEC for given file.
47466
47467 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47468
47469 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47470 FD_CLOEXEC for /etc/hosts.
47471 (_gethtent): Likewise.
47472
47473 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47474
47475 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47476 cancellation and set FD_CLOEXEC for /etc/netgroup.
47477
47478 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47479 reading /etc/publickey.
47480
47481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47482 allow cancellation when reading /etc/group.
47483
47484 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47485 cancellation.
47486 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47487
47488 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47489 when using data file.
47490
47491 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47492
47493 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47494 (write_nis_obj): Use "c" and "e" in fopen.
47495
47496 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47497
47498 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47499
47500 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47501
47502 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47503
47504 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47505 locale.alias.
47506
47507 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47508
47509 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47510
47511 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47512
47513 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47514 file parsing and set FD_CLOEXEC.
47515
47516 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47517
47518 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47519
47520 2011-11-14 Andreas Schwab <schwab@redhat.com>
47521
47522 * malloc/arena.c (arena_get2): Don't call reused_arena when
47523 _int_new_arena failed.
47524
47525 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47526
47527 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47528 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47530 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47531 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47533 to compile strcasecmp and strncasecmp.
47534 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47535 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47536
47537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47538
47539 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47540
47541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47542 locale-defines.sym to gen-as-const-headers.
47543 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47544 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47546 to compile strcasecmp and strncasecmp.
47547 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47548 strcasecmp_l and strncasecmp_l.
47549 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47550 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47551 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47552 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47553 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47554 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47555 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47556 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47557 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47558 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47559 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47560
47561 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47562
47563 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47564 result of SYSDEP_GETTIME_CPU to retval.
47565 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47566 parameter list to macro. Remove trailing semicolon. Adjust users.
47567
47568 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47569 variable.
47570
47571 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47572 mantissa words.
47573 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47574
47575 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47576 from unused variable.
47577
47578 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47579 DWARF definitions.
47580 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47581 for assembling.
47582
47583 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47584 over namespaces.
47585
47586 * sunrpc/rpc_prot.c (rejected): Fix case value.
47587
47588 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47589 unsigned long long int to avoid warnings in shift.
47590
47591 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47592 of use of trans.
47593 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47594 variable tmp.
47595
47596 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47597 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47598 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47599
47600 * nis/nis_table.c (nis_list): Use variable of correct type for
47601 result of __follow_path call.
47602
47603 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47604
47605 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47606 of math functions ceil, trunc, floor, round, and sqrt, when
47607 avaliable on the platform.
47608 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47609 name clash.
47610 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47611 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47612 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47613
47614 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47615
47616 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47617 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47618
47619 2011-11-11 Roland McGrath <roland@hack.frob.com>
47620
47621 * include/unistd.h: Fix __readlink return type.
47622 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47623
47624 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47625
47626 * stdlib/ucontext.h: Undo last change for makecontext.
47627
47628 2011-11-11 Andreas Schwab <schwab@redhat.com>
47629
47630 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47631
47632 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47633 * setjmp/setjmp.h: Mark functions as non-leaf.
47634 * setjmp/bits/setjmp2.h: Likewise.
47635 * stdlib/ucontext.h: Likewise.
47636
47637 2011-11-10 Andreas Schwab <schwab@redhat.com>
47638
47639 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47640 (reused_arena): Don't check arena limit.
47641 (arena_get2): Atomically check arena limit.
47642
47643 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47644
47645 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47646 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47647
47648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47649 instructions.
47650
47651 2011-11-07 Andreas Schwab <schwab@redhat.com>
47652
47653 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47654 handler when locking.
47655
47656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47657 Fix size of allocated buffer.
47658
47659 2011-11-04 Andreas Schwab <schwab@redhat.com>
47660
47661 [BZ #10103]
47662 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47663 declarations for long double functions.
47664 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47665
47666 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47667
47668 2011-11-03 Andreas Schwab <schwab@redhat.com>
47669
47670 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47671 installed.
47672
47673 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47674 is disabled.
47675
47676 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47677
47678 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47679
47680 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47681
47682 * include/alloca.h (stackinfo_alloca_round): Define.
47683 (extend_alloca): Use it.
47684 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47685 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47686 here.
47687
47688 * scripts/check-local-headers.sh: Ignore libaudit.h.
47689
47690 * nscd/Makefile (extra-objs): Make recursively expanded.
47691
47692 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47693
47694 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47695 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47696
47697 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47698 * posix/tst-rfc3484-2.c: Likewise.
47699 * posix/tst-rfc3484-3.c: Likewise.
47700
47701 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47702 process_vm_writev.
47703 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47704 process_vm_writev.
47705 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47706 process_vm_writev from libc using GLIBC_2.15 version.
47707
47708 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47709
47710 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47711
47712 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47713 stack usage.
47714
47715 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47716
47717 [BZ #13367]
47718 * nss/getent.c (initgroups_keys): Show error message in case no group
47719 names are given.
47720
47721 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47722 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47723 __bump_nl_timestamp.
47724 * nscd/connections (nscd_init): When host database is served open
47725 netlink socket and request notification about configuration changes.
47726 (main_loop_poll): Track netlink file descriptor and bump timestamp
47727 in case data becomes available.
47728 (main_loop_epoll): Likewise.
47729 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47730 (database_pers_head): Add extra_data fileds.
47731 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47732 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47733 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47734 Adjust caller.
47735 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47736 in6ai data, call __free_in6ai.
47737 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47738 Add -DHAVE_NETLINK.
47739 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47740 interface information. Reuse previous data if netlink timestamp
47741 is not changed.
47742 (__bump_nl_timestamp): New function.
47743 (__free_in6ai): New function.
47744
47745 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47746
47747 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47748 close_not_cancel_no_status here.
47749 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47750
47751 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47752
47753 [BZ #13276]
47754 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47755 return value.
47756
47757 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47758 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47759 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47760
47761 2011-07-03 Andreas Jaeger <aj@suse.de>
47762
47763 [BZ #10709]
47764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47765 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47766 * math/libm-test.inc (sin_test): Add test case.
47767
47768 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47769
47770 [BZ #13337]
47771 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47772 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47773
47774 * elf/chroot_canon.c (chroot_canon): Cleanups.
47775
47776 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47777
47778 [BZ #13335]
47779 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47780 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47781
47782 * string/test-strchr.c: Make usable for strchrnul testing.
47783 * string/test-strchrnul.c: New file.
47784 * string/Makefile (strop-tests): Add strchrnul.
47785
47786 * po/it.po: Update from translation team.
47787 * po/es.po: Likewise.
47788
47789 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47790
47791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47792 the three constants needed as parameters. Drop the others.
47793 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47794 __m128i_strloadu_tolower.
47795 Create and initialize variable zero and use it in all the places
47796 where _mm_setzero_si128 was used.
47797
47798 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47799 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47800 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47801 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47802 anymore.
47803 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47804 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47805 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47806 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47807 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47808 __mpranred, __mptan.
47809 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47810 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47811 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47812 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47813 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47814 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47815 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47816 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47817 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47818
47819 2011-10-28 Andreas Schwab <schwab@redhat.com>
47820
47821 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47822 redefine if SHARED.
47823 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47824
47825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47826 wide char related routines to wcsmbs subdir.
47827
47828 2011-10-27 Andreas Schwab <schwab@redhat.com>
47829
47830 [BZ #13344]
47831 * misc/sys/cdefs.h (__THROWNL): Define.
47832 * posix/unistd.h: Use __THREADNL instead of __THREAD
47833 for memory synchronization functions.
47834
47835 2011-10-26 Roland McGrath <roland@hack.frob.com>
47836
47837 [BZ #13349]
47838 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47839 doesn't exist.
47840 * manual/stdio.texi (Obstack Streams): Node removed.
47841
47842 2011-10-26 Andreas Schwab <schwab@redhat.com>
47843
47844 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47845 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47846 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47847
47848 * math/math_private.h (math_force_eval): Allow non-addressable
47849 arguments.
47850 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47851
47852 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47853
47854 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47855 file is not needed.
47856
47857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47864 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47865 Add AVX variants.
47866 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47867 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47868 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47869 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47870 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47871 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47872 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47873 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47874 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47875 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47876 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47877 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47878 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47879 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47880 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47881 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47882 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47883 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47884 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47885
47886 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47887 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47888
47889 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47890 place. Use VEX encoding when compiling for AVX.
47891
47892 2011-10-25 Andreas Schwab <schwab@redhat.com>
47893
47894 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47895 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47896
47897 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47898
47899 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47900
47901 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47902 useless if() expression.
47903 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47904 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47905 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47908 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47913 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47914 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47915 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47917 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47919 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47921 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47922
47923 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47924
47925 2011-10-25 Andreas Schwab <schwab@redhat.com>
47926
47927 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47928 condition.
47929 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47930
47931 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47932
47933 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47934 .text section. Avoid duplicate constants.
47935 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47937 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47943 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47944 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47945 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47946 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47947 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47948 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47949 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47950 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47951 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47952 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47953 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47959 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47960 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47961 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47962 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47963 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47964 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47965 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47966 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47968 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47969 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47970 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47971 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47973 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47974 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47975 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47976 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47977 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47979 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47980
47981 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47982
47983 * sysdeps/x86_64/dla.h: Move to ...
47984 * sysdeps/x86_64/fpu/dla.h: ...here.
47985 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47986 situations. Use __builtin_fma only for gcc 4.6 and up.
47987
47988 * config.make.in: Add have-mfma4 entry.
47989 * configure.in: Substitute libc_cv_cc_fma4.
47990 * math/Makefile (dbl-only-routines): Add sincostab.
47991 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47992 Use __sincostab not sincos.
47993 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47994 name is a macro.
47995 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47999 using __copysign.
48000 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48001 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48002 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48003 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48004 and __inv.
48005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48006 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48007 __copysign.
48008 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48009 define aliases when function name is a macro.
48010 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48011 sysdeps/ieee754/dbl-64/sincos.tbl.
48012 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48013 fma4-enabled routines.
48014 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48015 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48016 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48017 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48018 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48019 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48020 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48021 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48022 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48023 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48024 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48025 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48026 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48027 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48028 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48029 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48030 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48031 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48034 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48039 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48040 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48041 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48044
48045 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48046 rename.
48047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48055
48056 2011-10-24 Andreas Schwab <schwab@redhat.com>
48057
48058 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48059
48060 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48061
48062 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48063
48064 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48065 prediction.
48066 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48067
48068 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48069 Remove unused variable magic_bits.
48070 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48071
48072 * string/strnlen.c: Define and use STRNLEN macro.
48073 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48074 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48076 * wcsmbs/wcslen.c: Define and use WCSLEN.
48077 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48078 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48079 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48080 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48081 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48082 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48083 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48084
48085 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48086
48087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48088 strnlen-sse2-no-bsf.
48089 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48091 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48092 Add strnlen support.
48093 (USE_AS_STRNLEN): New macro.
48094 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48095 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48096 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48097 * sysdeps/x86_64/wcslen.S: New file.
48098
48099 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48100
48101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48102 XMM-moves are used for copying on small sizes.
48103
48104 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48105
48106 * wcsmbs/Makefile (strop-tests): Add wcschr.
48107 * wcsmbs/test-wcschr.c: New file.
48108 * string/test-strchr.c: Update.
48109 Add wcschr support.
48110 (WIDE): New macro.
48111
48112 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48113
48114 * wcsmbs/Makefile (strop-tests): Add wcslen.
48115 * wcsmbs/test-wcslen.c: New file.
48116 * string/test-strlen.c: Update.
48117 Add wcslen support.
48118 (WIDE): New macro.
48119
48120 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48121
48122 * po/it.po: Update from translation team.
48123
48124 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48125
48126 * sysdeps/x86_64/wcscmp.S: Update.
48127 Fix wrong comparison semantics.
48128 wcscmp shall use signed comparison not unsigned.
48129 Don't use substraction to avoid overflow bug.
48130 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48131 * wcsmbc/wcscmp.c: Likewise.
48132 * string/test-strcmp.c: Likewise.
48133 Add new tests to check cases with negative values.
48134
48135 2011-10-23 Ulrich Drepper <drepper@gmail.com>
48136
48137 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48138 * sysdeps/x86_64/dla.h: ...here. New file.
48139 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48148
48149 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48150
48151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48152 __ynl_finite aliases.
48153
48154 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48155
48156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48157
48158 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48159 define DLA_FMA.
48160 [DLA_FMA] (EMULV): Use DLA_FMA.
48161 [DLA_FMA] (MUL12): Use EMULV.
48162 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48163 that are not needed.
48164 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48171
48172 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48173
48174 * math/s_nan.c: Undef __nan.
48175 * math/s_nanf.c: Undef __nanf.
48176 * math/s_nanl.c: Undef __nanl.
48177 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48178 "math_private.h".
48179
48180 2011-10-22 Ulrich Drepper <drepper@gmail.com>
48181
48182 * math/s_catan.c: Add branch predictions.
48183 * math/s_catanf.c: Likewise.
48184 * math/s_catanh.c: Likewise.
48185 * math/s_catanhf.c: Likewise.
48186 * math/s_catanhl.c: Likewise.
48187 * math/s_catanl.c: Likewise.
48188 * math/s_cexp.c: Likewise.
48189 * math/s_cexpf.c: Likewise.
48190 * math/s_cexpl.c: Likewise.
48191 * math/s_clog.c: Likewise.
48192 * math/s_clog10.c: Likewise.
48193 * math/s_clog10f.c: Likewise.
48194 * math/s_clog10l.c: Likewise.
48195 * math/s_clogf.c: Likewise.
48196 * math/s_clogl.c: Likewise.
48197 * math/s_csqrt.c: Likewise.
48198 * math/s_csqrtf.c: Likewise.
48199 * math/s_csqrtl.c: Likewise.
48200 * math/s_ctanf.c: Likewise.
48201 * math/s_ctanh.c: Likewise.
48202 * math/s_ctanhf.c: Likewise.
48203 * math/s_ctanhl.c: Likewise.
48204 * math/s_ctanl.c: Likewise.
48205
48206 * math/math_private.h: Define __nan, __nanf, __nanl.
48207 * math/s_cacosh.c: Include <math_private.h>.
48208 * math/s_cacoshl.c: Likewise.
48209 * math/s_casinh.c: Likewise.
48210 * math/s_casinhf.c: Likewise.
48211 * math/s_casinhl.c: Likewise.
48212 * math/s_ccos.c: Rely entire on ccosh.
48213 * math/s_ccosf.c: Rely entire on ccoshf.
48214 * math/s_ccosl.c: Rely entirely on ccoshl.
48215 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48216 Remove tests for FE_INVALID.
48217 * math/s_ccoshf.c: Likewise.
48218 * math/s_ccoshl.c: Likewise.
48219 * math/s_csin.c: Likewise.
48220 * math/s_csinf.c: Likewise.
48221 * math/s_csinh.c Likewise.
48222 * math/s_csinhf.c: Likewise.
48223 * math/s_csinhl.c: Likewise.
48224 * math/s_csinl.c: Likewise.
48225 * math/s_ctan.c: Likewise.
48226 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48227 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48229
48230 2011-10-21 Ulrich Drepper <drepper@gmail.com>
48231
48232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48233 compilation problems.
48234
48235 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48236 __builtin_expect.
48237
48238 2011-10-20 Ulrich Drepper <drepper@gmail.com>
48239
48240 * sysdeps/i386/configure.in: Test for -mfma4 option.
48241 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48242 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48243 COMMON_CPUID_INDEX_80000001.
48244 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48245 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48246 use it if FMA3 is not supported.
48247 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48248
48249 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48250 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48251
48252 2011-10-20 Andreas Schwab <schwab@redhat.com>
48253
48254 [BZ #12892]
48255 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48256 it would create a cycle with a link time dependency.
48257
48258 2011-10-19 Ulrich Drepper <drepper@gmail.com>
48259
48260 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48261 instruction.
48262 * string/Makefile (strop-tests): Add rawmemchr.
48263 * string/test-rawmemchr.c: New file.
48264
48265 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48267 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48268 when compiling str{,n}casecmp and when AVX is available. Hook up
48269 new optimized code in initializers.
48270
48271 2011-10-19 Andreas Schwab <schwab@redhat.com>
48272
48273 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48274 __feraiseexcept instead of feraiseexcept.
48275
48276 2011-10-18 Ulrich Drepper <drepper@gmail.com>
48277
48278 * math/math_private.h: Define defaults for libc_fetestexcept and
48279 libc_feupdateenv.
48280 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48281 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48282 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48284 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48285 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48286 libc_fetestexcept and libc_feupdateenv.
48287
48288 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48289 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48290 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48291 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48292 libc_feholdexcept_setround.
48293
48294 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48295 Add s_nearbyint-c and s_nearbyintf-c.
48296 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48297 nearbyintf inlines.
48298 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48299 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48300 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48301 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48302
48303 * math/math_private.h: Define defaults for libc_fegetround,
48304 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48305 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48306 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48307 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48308 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48309 standard functions.
48310 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48311 Remove comments and hacks for old compiler versions.
48312 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48313 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48314 libc_feholdexceptl.
48315
48316 2011-10-18 Andreas Schwab <schwab@redhat.com>
48317
48318 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48319 (__feraiseexcept_renamed): Add __NTH.
48320 (feraiseexcept): Add __NTH. Rename local variables to fix
48321 namespace violations.
48322
48323 2011-10-17 Ulrich Drepper <drepper@gmail.com>
48324
48325 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48326
48327 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48328
48329 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48330 recently added interfaces.
48331 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48332
48333 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48334 about macro parameter expansion.
48335
48336 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48337 __NO_MATH_INLINES is defined. Cleanups.
48338
48339 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48340 and __floorf is target has SSE4.1.
48341 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48342 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48343 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48344 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48345
48346 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48347 name.
48348 (floorf): Likewise.
48349
48350 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48351
48352 2011-10-17 Andreas Schwab <schwab@redhat.com>
48353
48354 * misc/sys/cdefs.h: Fix last change.
48355
48356 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48357 database lookup.
48358
48359 2011-10-16 Ulrich Drepper <drepper@gmail.com>
48360
48361 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48362
48363 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48365 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48366 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48367 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48369 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48370 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48371 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48372 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48373 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48374 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48375 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48376 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48377 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48378 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48379 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48380 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48381 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48382 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48383 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48384 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48385
48386 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48387 ceil, ceilf, floor, floorf.
48388
48389 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48390 Perform IRELATIVE relocations last.
48391
48392 * elf/do-rel.h: Add another parameter nrelative, replacing the
48393 local variable with the same name. Change name of the function
48394 to end in Rel or Rela (uppercase).
48395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48396 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48397 elf_dynamic_do_##reloc function.
48398
48399 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48400
48401 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48402 is sufficient, at least on modern CPUs.
48403
48404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48405
48406 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48407 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48408
48409 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48410 __expl_finite.
48411 * math/bits/math-finite.h: Add entries for exp.
48412 * math/e_expl.c: Add __*_finite alias.
48413 * sysdeps/i386/fpu/e_exp.S: Likewise.
48414 * sysdeps/i386/fpu/e_expf.S: Likewise.
48415 * sysdeps/i386/fpu/e_expl.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48417 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48421 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48422 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48423
48424 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48425 is sufficient, at least on modern CPUs.
48426
48427 * ctype/ctype-info.c (__ctype_init): Define.
48428 * include/ctype.h (__ctype_init): Declare.
48429 (__ctype_b_loc): The variable is always initialized.
48430 (__ctype_toupper_loc): Likewise.
48431 (__ctype_tolower_loc): Likewise.
48432 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48433 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48434
48435 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48436
48437 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48438
48439 * configure.in: Also look in $cxxmachine/include for C++ system
48440 headers.
48441
48442 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48443
48444 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48445 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48446 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48447 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48448 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48449 (USE_AS_WMEMCMP): New macro.
48450 Fixing indents.
48451 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48452 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48453 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48454 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48456 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48457 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48458 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48459 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48460 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48462 (USE_AS_WMEMCMP): New macro.
48463 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48464 * sysdeps/string/test-memcmp.c: Update.
48465 Fix simple_wmemcmp.
48466 Add new tests.
48467 * wcsmbs/wmemcmp.c: Update.
48468 (WMEMCMP): New macro.
48469 Fix overflow bug.
48470
48471 2011-10-12 Andreas Jaeger <aj@suse.de>
48472
48473 [BZ #13268]
48474 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48475
48476 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48477
48478 * libio/iofwide.c (do_length): Avoid warning.
48479
48480 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48481
48482 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48483
48484 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48485
48486 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48487 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48488 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48489 * sysdeps/i386/i686/fpu/e_log.S: New file.
48490 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48491 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48492
48493 * ctype/ctype.h: Add support for inlined isXXX functions when
48494 compiling C++ code.
48495
48496 2011-10-14 Andreas Schwab <schwab@redhat.com>
48497
48498 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48499
48500 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48501
48502 2011-10-13 Roland McGrath <roland@hack.frob.com>
48503
48504 [BZ #13291]
48505 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48506
48507 2011-10-13 Andreas Schwab <schwab@redhat.com>
48508
48509 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48510 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48511 feraiseexcept.
48512
48513 * sysdeps/x86_64/memrchr.S: Check for zero size.
48514
48515 * string/stratcliff.c: Add memrchr tests.
48516
48517 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48518
48519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48520 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48521 rawmemchr-sse2 rawmemchr-sse2-bsf.
48522 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48523 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48524 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48525 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48526 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48527 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48528 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48529 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48530 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48531 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48532 * string/memrchr.c (MEMRCHR): New macro.
48533
48534 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48535
48536 Add integration with gcc's -ffinite-math-only and optimize wrapper
48537 functions in libm.
48538 * Versions.def: Define GLIBC_2.15 version for libm.
48539 * math/Makefile (headers): Add bits/math-finite.h.
48540 * math/bits/math-finite.h: New file.
48541 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48542 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48543 * math/e_acoshl.c: Add __*_finite alias.
48544 * math/e_acosl.c: Likewise.
48545 * math/e_asinl.c: Likewise.
48546 * math/e_atan2l.c: Likewise.
48547 * math/e_atanhl.c: Likewise.
48548 * math/e_coshl.c: Likewise.
48549 * math/e_exp10.c: Likewise.
48550 * math/e_exp10f.c: Likewise.
48551 * math/e_exp10l.c: Likewise.
48552 * math/e_exp2l.c: Likewise.
48553 * math/e_fmodl.c: Likewise.
48554 * math/e_gammal_r.c: Likewise.
48555 * math/e_hypotl.c: Likewise.
48556 * math/e_j0l.c: Likewise.
48557 * math/e_j1l.c: Likewise.
48558 * math/e_jnl.c: Likewise.
48559 * math/e_lgammal_r.c: Likewise.
48560 * math/e_log10l.c: Likewise.
48561 * math/e_log2l.c: Likewise.
48562 * math/e_logl.c: Likewise.
48563 * math/e_powl.c: Likewise.
48564 * math/e_sinhl.c: Likewise.
48565 * math/e_sqrtl.c: Likewise.
48566 * math/e_scalb.c: Completely rewritten and optimized.
48567 * math/e_scalbf.c: Likewise.
48568 * math/e_scalbl.c: Likewise.
48569 * math/w_acos.c: Likewise.
48570 * math/w_acosf.c: Likewise.
48571 * math/w_acosl.c: Likewise.
48572 * math/w_acosh.c: Likewise.
48573 * math/w_acoshf.c: Likewise.
48574 * math/w_acoshl.c: Likewise.
48575 * math/w_asin.c: Likewise.
48576 * math/w_asinf.c: Likewise.
48577 * math/w_asinl.c: Likewise.
48578 * math/w_atan2.c: Likewise.
48579 * math/w_atan2f.c: Likewise.
48580 * math/w_atan2l.c: Likewise.
48581 * math/w_atanh.c: Likewise.
48582 * math/w_atanhf.c: Likewise.
48583 * math/w_atanhl.c: Likewise.
48584 * math/w_exp10.c: Likewise.
48585 * math/w_exp10f.c: Likewise.
48586 * math/w_exp10l.c: Likewise.
48587 * math/w_fmod.c: Likewise.
48588 * math/w_fmodf.c: Likewise.
48589 * math/w_fmodl.c: Likewise.
48590 * math/w_j0.c: Likewise.
48591 * math/w_j0f.c: Likewise.
48592 * math/w_j0l.c: Likewise.
48593 * math/w_j1.c: Likewise.
48594 * math/w_j1f.c: Likewise.
48595 * math/w_j1l.c: Likewise.
48596 * math/w_jn.c: Likewise.
48597 * math/w_jnf.c: Likewise.
48598 * math/w_log.c: Likewise.
48599 * math/w_logf.c: Likewise.
48600 * math/w_logl.c: Likewise.
48601 * math/w_log10.c: Likewise.
48602 * math/w_log10f.c: Likewise.
48603 * math/w_log10l.c: Likewise.
48604 * math/w_log2.c: Likewise.
48605 * math/w_log2f.c: Likewise.
48606 * math/w_log2l.c: Likewise.
48607 * math/w_pow.c: Likewise.
48608 * math/w_powf.c: Likewise.
48609 * math/w_powl.c: Likewise.
48610 * math/w_remainder.c: Likewise.
48611 * math/w_remainderf.c: Likewise.
48612 * math/w_remainderl.c: Likewise.
48613 * math/w_scalb.c: Likewise.
48614 * math/w_scalbf.c: Likewise.
48615 * math/w_scalbl.c: Likewise.
48616 * math/w_sqrt.c: Likewise.
48617 * math/w_sqrtf.c: Likewise.
48618 * math/w_sqrtl.c: Likewise.
48619 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48620 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48621 used.
48622 * math/math_private.h: Declare __kernel_standard_f.
48623 * math/w_cosh.c: Remove cruft and optimize a bit.
48624 * math/w_coshf.c: Likewise.
48625 * math/w_coshl.c: Likewise.
48626 * math/w_exp2.c: Likewise.
48627 * math/w_exp2f.c: Likewise.
48628 * math/w_exp2l.c: Likewise.
48629 * math/w_hypot.c: Likewise.
48630 * math/w_hypotf.c: Likewise.
48631 * math/w_hypotl.c: Likewise.
48632 * math/w_lgamma.c: Likewise.
48633 * math/w_lgamma_r.c: Likewise.
48634 * math/w_lgammaf.c: Likewise.
48635 * math/w_lgammaf_r.c: Likewise.
48636 * math/w_lgammal.c: Likewise.
48637 * math/w_lgammal_r.c: Likewise.
48638 * math/w_sinh.c: Likewise.
48639 * math/w_sinhf.c: Likewise.
48640 * math/w_sinhl.c: Likewise.
48641 * math/w_tgamma.c: Likewise.
48642 * math/w_tgammaf.c: Likewise.
48643 * math/w_tgammal.c: Likewise.
48644 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48646 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48647 Minor optimizations. Pretty printing. Remove cruft.
48648 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48649 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48650 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48651 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48652 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48653 * sysdeps/i386/fpu/e_asin.S: Likewise.
48654 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48655 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48656 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48657 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48659 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48660 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48661 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48662 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48663 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48664 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48665 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48666 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48667 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48668 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48669 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48670 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48671 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48672 * sysdeps/i386/fpu/e_log.S: Likewise.
48673 * sysdeps/i386/fpu/e_log10.S: Likewise.
48674 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48675 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48676 * sysdeps/i386/fpu/e_log2.S: Likewise.
48677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48678 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48679 * sysdeps/i386/fpu/e_logf.S: Likewise.
48680 * sysdeps/i386/fpu/e_logl.S: Likewise.
48681 * sysdeps/i386/fpu/e_pow.S: Likewise.
48682 * sysdeps/i386/fpu/e_powf.S: Likewise.
48683 * sysdeps/i386/fpu/e_powl.S: Likewise.
48684 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48685 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48686 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48687 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48688 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48689 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48690 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48691 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48692 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48696 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48697 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48698 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48699 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48700 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48704 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48707 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48710 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48713 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48714 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48715 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48716 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48717 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48718 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48719 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48720 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48721 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48722 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48723 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48724 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48726 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48727 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48728 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48729 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48730 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48731 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48732 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48733 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48734 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48773 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48776 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48778 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48781 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48782 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48783 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48784 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48785 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48786 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48787 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48788 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48789 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48790 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48791 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48792 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48793 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48794 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48795 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48796 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48797 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48799 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48801 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48802 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48803 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48804 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48805 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48806 (__isnanf): Likewise.
48807 (__isinf_ns): Likewise.
48808 (__isinf_nsf): Likewise.
48809 (__finite): Likewise.
48810 (__finitef): Likewise.
48811 (__ieee754_sqrt): Define as macro.
48812 (__ieee754_sqrtf): Define as macro.
48813 (__ieee754_sqrtl): Define as macro.
48814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48815 inlined copy.
48816 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48817 __FINITE_MATH_ONLY__ consistent.
48818 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48819
48820 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48821
48822 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48823 of rawmemchr.
48824
48825 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48826
48827 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48828
48829 * po/ja.po: Update from translation team.
48830
48831 2011-10-08 Roland McGrath <roland@hack.frob.com>
48832
48833 * locale/programs/locarchive.c (prepare_address_space): New function.
48834 (create_archive, enlarge_archive, open_archive): Use it.
48835
48836 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48837 inside [SHARED], where it is used.
48838
48839 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48840
48841 * nss/getent.c (netgroup_keys): Remove unused variable.
48842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48843
48844 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48845
48846 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48847 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48848 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48849 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48850 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48852 * math/Makefile (libm-calls): Add s_isinf_ns.
48853 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48854 * math/multc3.c: Likewise.
48855 * math/s_casin.c: Likewise.
48856 * math/s_casinf.c: Likewise.
48857 * math/s_casinl.c: Likewise.
48858 * math/s_ccos.c: Likewise.
48859 * math/s_ccosf.c: Likewise.
48860 * math/s_ccosl.c: Likewise.
48861 * math/s_ctan.c: Likewise.
48862 * math/s_ctanf.c: Likewise.
48863 * math/s_ctanh.c: Likewise.
48864 * math/s_ctanhf.c: Likewise.
48865 * math/s_ctanhl.c: Likewise.
48866 * math/s_ctanl.c: Likewise.
48867 * math/w_fmod.c: Likewise.
48868 * math/w_fmodf.c: Likewise.
48869 * math/w_fmodl.c: Likewise.
48870 * math/w_remainder.c: Likewise.
48871 * math/w_remainderf.c: Likewise.
48872 * math/w_remainderl.c: Likewise.
48873 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48874 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48875 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48876 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48877 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48878 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48879 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48880 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48881
48882 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48883 of the number.
48884 * stdio-common/printf_fphex.c: Likewise.
48885 * stdio-common/printf_size.c: Likewise.
48886
48887 * math/e_exp10.c: Include math_private.h using <...> not "...".
48888 * math/e_exp10f.c: Likewise.
48889 * math/e_exp10l.c: Likewise.
48890 * math/e_exp2l.c: Likewise.
48891 * math/e_j0l.c: Likewise.
48892 * math/e_j1l.c: Likewise.
48893 * math/e_jnl.c: Likewise.
48894 * math/e_lgammal_r.c: Likewise.
48895 * math/e_rem_pio2l.c: Likewise.
48896 * math/e_scalb.c: Likewise.
48897 * math/e_scalbf.c: Likewise.
48898 * math/e_scalbl.c: Likewise.
48899 * math/k_cosl.c: Likewise.
48900 * math/k_sinl.c: Likewise.
48901 * math/k_tanl.c: Likewise.
48902 * math/s_cacoshf.c: Likewise.
48903 * math/s_catan.c: Likewise.
48904 * math/s_catanf.c: Likewise.
48905 * math/s_catanh.c: Likewise.
48906 * math/s_catanhf.c: Likewise.
48907 * math/s_catanhl.c: Likewise.
48908 * math/s_catanl.c: Likewise.
48909 * math/s_ccosh.c: Likewise.
48910 * math/s_ccoshf.c: Likewise.
48911 * math/s_ccoshl.c: Likewise.
48912 * math/s_cexp.c: Likewise.
48913 * math/s_cexpf.c: Likewise.
48914 * math/s_cexpl.c: Likewise.
48915 * math/s_clog.c: Likewise.
48916 * math/s_clog10.c: Likewise.
48917 * math/s_clog10f.c: Likewise.
48918 * math/s_clog10l.c: Likewise.
48919 * math/s_clogf.c: Likewise.
48920 * math/s_clogl.c: Likewise.
48921 * math/s_csin.c: Likewise.
48922 * math/s_csinf.c: Likewise.
48923 * math/s_csinh.c: Likewise.
48924 * math/s_csinhf.c: Likewise.
48925 * math/s_csinhl.c: Likewise.
48926 * math/s_csinl.c: Likewise.
48927 * math/s_csqrt.c: Likewise.
48928 * math/s_csqrtf.c: Likewise.
48929 * math/s_csqrtl.c: Likewise.
48930 * math/s_ctan.c: Likewise.
48931 * math/s_ctanf.c: Likewise.
48932 * math/s_ctanh.c: Likewise.
48933 * math/s_ctanhf.c: Likewise.
48934 * math/s_ctanhl.c: Likewise.
48935 * math/s_ctanl.c: Likewise.
48936 * math/s_ldexp.c: Likewise.
48937 * math/s_ldexpf.c: Likewise.
48938 * math/s_ldexpl.c: Likewise.
48939 * math/s_significand.c: Likewise.
48940 * math/s_significandf.c: Likewise.
48941 * math/s_significandl.c: Likewise.
48942 * math/w_acos.c: Likewise.
48943 * math/w_acosf.c: Likewise.
48944 * math/w_acosh.c: Likewise.
48945 * math/w_acoshf.c: Likewise.
48946 * math/w_acoshl.c: Likewise.
48947 * math/w_acosl.c: Likewise.
48948 * math/w_asin.c: Likewise.
48949 * math/w_asinf.c: Likewise.
48950 * math/w_asinl.c: Likewise.
48951 * math/w_atan2.c: Likewise.
48952 * math/w_atan2f.c: Likewise.
48953 * math/w_atan2l.c: Likewise.
48954 * math/w_atanh.c: Likewise.
48955 * math/w_atanhf.c: Likewise.
48956 * math/w_atanhl.c: Likewise.
48957 * math/w_cosh.c: Likewise.
48958 * math/w_coshf.c: Likewise.
48959 * math/w_coshl.c: Likewise.
48960 * math/w_dremf.c: Likewise.
48961 * math/w_exp10.c: Likewise.
48962 * math/w_exp10f.c: Likewise.
48963 * math/w_exp10l.c: Likewise.
48964 * math/w_exp2.c: Likewise.
48965 * math/w_exp2f.c: Likewise.
48966 * math/w_fmod.c: Likewise.
48967 * math/w_fmodf.c: Likewise.
48968 * math/w_fmodl.c: Likewise.
48969 * math/w_hypot.c: Likewise.
48970 * math/w_hypotf.c: Likewise.
48971 * math/w_hypotl.c: Likewise.
48972 * math/w_j0.c: Likewise.
48973 * math/w_j0f.c: Likewise.
48974 * math/w_j0l.c: Likewise.
48975 * math/w_j1.c: Likewise.
48976 * math/w_j1f.c: Likewise.
48977 * math/w_j1l.c: Likewise.
48978 * math/w_jn.c: Likewise.
48979 * math/w_jnf.c: Likewise.
48980 * math/w_jnl.c: Likewise.
48981 * math/w_lgamma.c: Likewise.
48982 * math/w_lgamma_r.c: Likewise.
48983 * math/w_lgammaf.c: Likewise.
48984 * math/w_lgammaf_r.c: Likewise.
48985 * math/w_lgammal.c: Likewise.
48986 * math/w_lgammal_r.c: Likewise.
48987 * math/w_log.c: Likewise.
48988 * math/w_log10.c: Likewise.
48989 * math/w_log10f.c: Likewise.
48990 * math/w_log10l.c: Likewise.
48991 * math/w_log2.c: Likewise.
48992 * math/w_log2f.c: Likewise.
48993 * math/w_log2l.c: Likewise.
48994 * math/w_logf.c: Likewise.
48995 * math/w_logl.c: Likewise.
48996 * math/w_pow.c: Likewise.
48997 * math/w_powf.c: Likewise.
48998 * math/w_powl.c: Likewise.
48999 * math/w_remainder.c: Likewise.
49000 * math/w_remainderf.c: Likewise.
49001 * math/w_remainderl.c: Likewise.
49002 * math/w_scalb.c: Likewise.
49003 * math/w_scalbf.c: Likewise.
49004 * math/w_scalbl.c: Likewise.
49005 * math/w_sinh.c: Likewise.
49006 * math/w_sinhf.c: Likewise.
49007 * math/w_sinhl.c: Likewise.
49008 * math/w_sqrt.c: Likewise.
49009 * math/w_sqrtf.c: Likewise.
49010 * math/w_sqrtl.c: Likewise.
49011 * math/w_tgamma.c: Likewise.
49012 * math/w_tgammaf.c: Likewise.
49013 * math/w_tgammal.c: Likewise.
49014
49015 * po/ja.po: Update from translation team.
49016
49017 2011-09-29 Andreas Jaeger <aj@suse.de>
49018
49019 [BZ #13179]
49020 * sunrpc/netname.c (netname2host): Fix logic.
49021
49022 [BZ #6779]
49023 [BZ #6783]
49024 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49025 correctly.
49026 * math/w_remainder.c (__remainder): Likewise.
49027 * math/w_remainderf.c (__remainderf): Likewise.
49028 * math/libm-test.inc (remainder_test): Add test cases.
49029
49030 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49031
49032 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49033 sdiv_qrnnd.
49034
49035 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49036
49037 * string/test-memcmp.c: Avoid unncessary #defines.
49038 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49039
49040 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49041
49042 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49043 Use new sse2 version for core i3 - i7 as it's faster
49044 than sse42 version.
49045 (bit_Prefer_PMINUB_for_stringop): New.
49046 * sysdeps/x86_64/rawmemchr.S: Update.
49047 Replace with faster SSE2 version.
49048 * sysdeps/x86_64/memrchr.S: New file.
49049 * sysdeps/x86_64/memchr.S: Update.
49050 Replace with faster SSE2 version.
49051
49052 2011-09-12 Marek Polacek <mpolacek@redhat.com>
49053
49054 * elf/dl-load.c (lose): Add cast to avoid warning.
49055
49056 2011-10-07 Ulrich Drepper <drepper@gmail.com>
49057
49058 * po/ca.po: Update from translation team.
49059
49060 * inet/getnetgrent_r.c: Hook up nscd.
49061 * nscd/Makefile (routines): Add nscd_netgroup.
49062 (nscd-modules): Add netgroupcache.
49063 (CFLAGS-netgroupcache.c): Define.
49064 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49065 (cache_search): Add const to second parameter.
49066 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49067 INNETGR.
49068 (dbs): Add netgrdb entry.
49069 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49070 (verify_persistent_db): Handle netgrdb.
49071 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49072 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49073 GETFDNETGR.
49074 (netgroup_response_header): Define.
49075 (innetgroup_response_header): Define.
49076 (datahead): Add netgroup_response_header and innetgroup_response_header
49077 elements.
49078 * nscd/nscd.conf: Add entries for netgroup cache.
49079 * nscd/nscd.h (dbtype): Add netgrdb.
49080 (_PATH_NSCD_NETGROUP_DB): Define.
49081 (netgroup_iov_disabled): Declare.
49082 (xmalloc, xcalloc, xrealloc): Move declarations here.
49083 (cache_search): Adjust prototype.
49084 Add netgroup-related prototypes.
49085 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49086 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49087 (__nscd_innetgr): Declare.
49088 * nscd/selinux.c (perms): Use access_vector_t as element type and
49089 add netgroup-related initializers.
49090 * nscd/netgroupcache.c: New file.
49091 * nscd/nscd_netgroup.c: New file.
49092 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49093 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49094 For four parameters use innetgr.
49095 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49096 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49097 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49098 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49099
49100 * nscd/connections.c (register_traced_file): Don't register file
49101 for disabled databases.
49102
49103 2011-10-06 Ulrich Drepper <drepper@gmail.com>
49104
49105 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49106
49107 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49108 from tree and freeing node.
49109
49110 2011-09-25 Jiri Olsa <jolsa@redhat.com>
49111
49112 * nss/nsswitch.c (__nss_database_lookup): Handle
49113 nss_parse_service_list out of memory case.
49114
49115 2011-09-15 Jiri Olsa <jolsa@redhat.com>
49116
49117 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49118 out of memory case.
49119
49120 2011-10-04 Andreas Schwab <schwab@redhat.com>
49121
49122 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49123 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49124 pass it down.
49125 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49126 elf_machine_rela, elf_machine_lazy_rel.
49127 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49128 (ELF_DYNAMIC_DO_REL): Likewise.
49129 (ELF_DYNAMIC_DO_RELA): Likewise.
49130 (ELF_DYNAMIC_RELOCATE): Likewise.
49131 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49132 to ELF_DYNAMIC_DO_REL.
49133 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49134 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49135 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49136 elf_machine_rela.
49137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49138 skip_ifunc, don't call ifunc function if non-zero.
49139 (elf_machine_rela): Likewise.
49140 (elf_machine_lazy_rel): Likewise.
49141 (elf_machine_lazy_rela): Likewise.
49142 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49143 (elf_machine_lazy_rel): Likewise.
49144 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49145 Likewise.
49146 (elf_machine_lazy_rel): Likewise.
49147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49148 Likewise.
49149 (elf_machine_lazy_rel): Likewise.
49150 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49151 (elf_machine_lazy_rel): Likewise.
49152 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49153 (elf_machine_lazy_rel): Likewise.
49154 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49155 (elf_machine_lazy_rel): Likewise.
49156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49157 (elf_machine_lazy_rel): Likewise.
49158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49159 (elf_machine_lazy_rel): Likewise.
49160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49161 (elf_machine_lazy_rel): Likewise.
49162
49163 2011-09-28 Ulrich Drepper <drepper@gmail.com>
49164
49165 * nss/nss_files/files-init.c (_nss_files_init): Use static
49166 initialization for all the *_traced_file variables.
49167
49168 2011-09-28 Andreas Schwab <schwab@redhat.com>
49169
49170 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49171
49172 2011-09-27 Roland McGrath <roland@hack.frob.com>
49173
49174 [BZ #13226]
49175 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49176
49177 2011-09-27 Andreas Schwab <schwab@redhat.com>
49178
49179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49180 Reread the line before reparsing it.
49181
49182 2011-09-26 Andreas Schwab <schwab@redhat.com>
49183
49184 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49185
49186 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49187 Maxim Kuvyrkov <maxim@codesourcery.com>
49188 Joseph Myers <joseph@codesourcery.com>
49189
49190 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49191 if needed for __stack_chk_guard.
49192
49193 2011-09-19 Roland McGrath <roland@hack.frob.com>
49194
49195 * sysdeps/posix/spawni.c (script_execute): Always define it.
49196 It will be optimized away if unused.
49197 (maybe_script_execute): New function.
49198 (__spawni): Call it.
49199
49200 * Makerules: Don't include tls.make.
49201 (config-tls): Always set to thread.
49202 * tls.make.c: File removed.
49203
49204 2011-09-19 Mike Frysinger <vapier@gentoo.org>
49205
49206 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49207 * config.make.in (CPPFLAGS-config): New substituted variable.
49208
49209 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49210
49211 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49212
49213 [BZ #13192]
49214 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49215 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49216
49217 2011-09-15 Roland McGrath <roland@hack.frob.com>
49218
49219 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49220 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49222 (CALL_FAIL): Likewise.
49223 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49224 (CALL_FAIL): Macro removed.
49225 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49226
49227 2011-09-15 Ulrich Drepper <drepper@gmail.com>
49228
49229 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49230 for __FINITE_MATH_ONLY__ == 1.
49231
49232 2011-09-15 Andreas Schwab <schwab@redhat.com>
49233
49234 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49235 __ieee754_sqrt instead of sqrt.
49236 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49237 __ieee754_sqrtf instead of sqrtf.
49238 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49239 __floorf instead of floorf.
49240 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49241 __floorf, __truncf instead of floorf, truncf.
49242
49243 2011-09-14 Ulrich Drepper <drepper@gmail.com>
49244
49245 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49246
49247 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49248 __extern_always_inline.
49249 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49250 32-bit.
49251
49252 2011-09-14 Andreas Schwab <schwab@redhat.com>
49253
49254 * elf/rtld.c (dl_main): Also relocate in dependency order when
49255 doing symbol dependency testing.
49256
49257 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49258
49259 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49260 Always define `refsym'.
49261
49262 2011-09-13 Andreas Schwab <schwab@redhat.com>
49263
49264 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49265 (__FD_ELT): Renamed from __FDELT.
49266 * misc/bits/select2.h (__FD_ELT): Likewise.
49267 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49268 __FD_MASK instead of __FDELT, __FDMASK.
49269 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49270 Likewise.
49271 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49272 Likewise.
49273
49274 * elf/Makefile (gen-ldd): Fix pattern.
49275
49276 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49277 (init_tls): Likewise.
49278
49279 2011-09-12 Ulrich Drepper <drepper@gmail.com>
49280
49281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49282
49283 2011-09-12 Andreas Schwab <schwab@redhat.com>
49284
49285 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49286 `struct cmsghdr *' instead of `void *'.
49287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49288 Likewise.
49289
49290 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49291
49292 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49293 if non-absolute.
49294 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49295 ldd_rewrite_script.
49296
49297 2011-09-11 Ulrich Drepper <drepper@gmail.com>
49298
49299 * configure.in: Remove --with-tls option.
49300 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49301 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49302 out in case it is missing.
49303 * sysdeps/ia64/elf/configure.in: Likewise.
49304 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49305 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49306 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49307 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49308 * sysdeps/sh/elf/configure.in: Likewise.
49309 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49310 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49311 * sysdeps/x86_64/elf/configure.in: Likewise.
49312 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49313 * sysdeps/mach/hurd/tls.h: Likewise.
49314
49315 [BZ #13067]
49316 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49317
49318 [BZ #13090]
49319 * configure.in: Fix use of AC_INIT.
49320
49321 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49322
49323 2011-09-10 Ulrich Drepper <drepper@gmail.com>
49324
49325 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49326 __set_errno.
49327 * malloc/hooks.c: Likewise.
49328
49329 [BZ #11929]
49330 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49331 variables statically.
49332 (narenas): Initialize.
49333 (list_lock): Initialize.
49334 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49335 initializtion of main_arena and list_lock. Small cleanups.
49336 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49337 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49338 Add initializers to main_arena and mp_.
49339 (malloc_state): Remove pagesize member. Change all users to use
49340 GLRO(dl_pagesize).
49341
49342 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49343 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49344 is always initialized.
49345
49346 * malloc/malloc.c: Removed unused configurations and dead code.
49347 * malloc/arena.c: Likewise.
49348 * malloc/hooks.c: Likewise.
49349 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49350
49351 * include/tls.h: Removed. USE___THREAD must always be defined.
49352 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49353 * elf/dl-libc.c: Likewise.
49354 * elf/dl-tsd.c: Likewise.
49355 * include/errno.h: Likewise.
49356 * include/netdb.h: Likewise.
49357 * include/resolv.h: Likewise.
49358 * inet/herrno-loc.c: Likewise.
49359 * inet/herrno.c: Likewise.
49360 * malloc/arena.c: Likewise.
49361 * malloc/hooks.c: Likewise.
49362 * malloc/malloc.c: Likewise.
49363 * resolv/res-state.c: Likewise.
49364 * resolv/res_libc.c: Likewise.
49365 * sysdeps/i386/dl-machine.h: Likewise.
49366 * sysdeps/ia64/dl-machine.h: Likewise.
49367 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49368 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49369 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49370 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49371 * sysdeps/sh/dl-machine.h: Likewise.
49372 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49373 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49374 * sysdeps/unix/i386/sysdep.S: Likewise.
49375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49376 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49379 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49381 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49383 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49385 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49386 * sysdeps/x86_64/dl-machine.h: Likewise.
49387 * tls.make.c: Likewise.
49388
49389 * configure.in: Remove --with-__thread option. Make tests for
49390 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49391 tls_model attribute fail if no support is available. Remove
49392 USE_IN_LIBIO.
49393 * Makeconfig: Adjust for dropped configure option. All features are
49394 now mandatory.
49395 * Makerules: Likewise.
49396 * Versions.def: Likewise.
49397 * argp/argp-fmtstream.c: Likewise.
49398 * argp/argp-fmtstream.h: Likewise.
49399 * argp/argp-help.c: Likewise.
49400 * assert/assert.c: Likewise.
49401 * config.h.in: Likewise.
49402 * config.make.in: Likewise.
49403 * configure: Likewise.
49404 * configure.in: Likewise.
49405 * csu/Versions: Likewise.
49406 * csu/init.c: Likewise.
49407 * elf/tst-audit2.c: Likewise.
49408 * elf/tst-tls10.c: Likewise.
49409 * elf/tst-tls10.h: Likewise.
49410 * elf/tst-tls11.c: Likewise.
49411 * elf/tst-tls12.c: Likewise.
49412 * elf/tst-tls14.c: Likewise.
49413 * elf/tst-tlsmod11.c: Likewise.
49414 * elf/tst-tlsmod12.c: Likewise.
49415 * elf/tst-tlsmod13.c: Likewise.
49416 * elf/tst-tlsmod13a.c: Likewise.
49417 * elf/tst-tlsmod14a.c: Likewise.
49418 * elf/tst-tlsmod15b.c: Likewise.
49419 * elf/tst-tlsmod16a.c: Likewise.
49420 * elf/tst-tlsmod16b.c: Likewise.
49421 * elf/tst-tlsmod7.c: Likewise.
49422 * elf/tst-tlsmod8.c: Likewise.
49423 * elf/tst-tlsmod9.c: Likewise.
49424 * gmon/gmon.c: Likewise.
49425 * grp/fgetgrent_r.c: Likewise.
49426 * grp/putgrent.c: Likewise.
49427 * hurd/fopenport.c: Likewise.
49428 * include/libc-symbols.h: Likewise.
49429 * include/tls.h: Likewise.
49430 * intl/gettextP.h: Likewise.
49431 * intl/loadinfo.h: Likewise.
49432 * locale/global-locale.c: Likewise.
49433 * locale/localeinfo.h: Likewise.
49434 * mach/devstream.c: Likewise.
49435 * malloc/arena.c: Likewise.
49436 * malloc/set-freeres.c: Likewise.
49437 * misc/err.c: Likewise.
49438 * misc/getttyent.c: Likewise.
49439 * misc/mntent_r.c: Likewise.
49440 * posix/getopt.c: Likewise.
49441 * posix/wordexp.c: Likewise.
49442 * pwd/fgetpwent_r.c: Likewise.
49443 * resolv/Versions: Likewise.
49444 * resolv/res_hconf.c: Likewise.
49445 * shadow/fgetspent_r.c: Likewise.
49446 * shadow/putspent.c: Likewise.
49447 * stdio-common/printf_fphex.c: Likewise.
49448 * stdio-common/tmpfile.c: Likewise.
49449 * stdlib/abort.c: Likewise.
49450 * stdlib/fmtmsg.c: Likewise.
49451 * sunrpc/auth_unix.c: Likewise.
49452 * sunrpc/clnt_perr.c: Likewise.
49453 * sunrpc/clnt_tcp.c: Likewise.
49454 * sunrpc/clnt_udp.c: Likewise.
49455 * sunrpc/clnt_unix.c: Likewise.
49456 * sunrpc/openchild.c: Likewise.
49457 * sunrpc/svc_simple.c: Likewise.
49458 * sunrpc/svc_tcp.c: Likewise.
49459 * sunrpc/svc_udp.c: Likewise.
49460 * sunrpc/svc_unix.c: Likewise.
49461 * sunrpc/xdr.c: Likewise.
49462 * sunrpc/xdr_array.c: Likewise.
49463 * sunrpc/xdr_rec.c: Likewise.
49464 * sunrpc/xdr_ref.c: Likewise.
49465 * sunrpc/xdr_stdio.c: Likewise.
49466
49467 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49468
49469 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49470
49471 2011-07-03 Andreas Jaeger <aj@suse.de>
49472
49473 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49474 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49475 regenerate with gen-libm-tests.pl.
49476
49477 2010-05-12 Petr Baudis <pasky@suse.cz>
49478
49479 [BZ #11589]
49480 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49481 around j0() zero points by switching to j1().
49482 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49486
49487 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49488
49489 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49490 instead of 0.
49491 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49492 instead of 0.
49493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49494 Patch in part by Pavel Roskin <proski@gnu.org>.
49495
49496 [BZ #13138]
49497 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49498 realloc.
49499 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49500 Free memory block if necessary.
49501
49502 [BZ #12847]
49503 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49504 be NULL. Don't lock in this case.
49505
49506 2011-09-09 Roland McGrath <roland@hack.frob.com>
49507
49508 * elf/elf.h (ELFOSABI_GNU): New macro.
49509 (ELFOSABI_LINUX): Define to that.
49510
49511 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49512
49513 * string/strncat.c (strncat): Undef the symbol in case it has been
49514 defined in bits/string.h.
49515
49516 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49517
49518 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49519
49520 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49521 link map.
49522
49523 2011-08-17 Andreas Jaeger <aj@suse.de>
49524
49525 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49526
49527 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49528 Ian Lance Taylor <iant@google.com>
49529
49530 * math/libm-test.inc (lround_test): New testcase.
49531 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49532
49533 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49534
49535 * Makefile: Remove support for automatic cvs check-ins.
49536 * Makerules: Likewise.
49537 * config.make.in: Likewise.
49538 * configure.in: Likewise.
49539 * intl/Makefile: Likewise.
49540 * locale/Makefile: Likewise.
49541 * po/Makefile: Likewise.
49542 * posix/Makefile: Likewise.
49543 * sysdeps/gnu/Makefile: Likewise.
49544 * sysdeps/mach/hurd/Makefile: Likewise.
49545 * sysdeps/sparc/sparc32/Makefile: Likewise.
49546
49547 [BZ #13118]
49548 * posix/Makefile (bug-regex32-ENV): Define.
49549 Patch by John Stanley <jpsinthemix@verizon.net>.
49550
49551 * misc/Makefile (headers): Add bits/select2.h.
49552 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49553 * misc/bits/select2.h: New file.
49554 * include/bits/select2.h: New file.
49555 * debug/Makefile (routines): Add fdelt_chk.
49556 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49557 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49558 FD_ISSET.
49559 * debug/fdelt_chk.c: New file.
49560
49561 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49562 * wcsmbs/test-wmemcmp.c: Likewise.
49563 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49564 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49565
49566 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49567
49568 * string/Makefile (strop-tests): Add memcmp.
49569 * string/test-wmemcmp.c: New file.
49570 * string/test-memcmp.c: Add wmemcmp support.
49571
49572 2011-09-08 Roland McGrath <roland@hack.frob.com>
49573
49574 [BZ #13153]
49575 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49576 2011-07-19 change.
49577
49578 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49579 garbage value in a __mach_port_mod_refs call in the cases of the
49580 task-self and thread-self ports.
49581
49582 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49583
49584 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49585
49586 2011-09-08 Andreas Schwab <schwab@redhat.com>
49587
49588 * elf/dl-load.c (lose): Check for non-null L.
49589
49590 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49591
49592 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49593
49594 * elf/dl-libc.c (dlerror_run): Pass back error code from
49595 dl_catch_error.
49596
49597 [BZ #13123]
49598 * elf/dl-load.c (lose): Free l_origin if it is valid.
49599
49600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49601 names.
49602 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49603 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49604 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49605 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49606 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49607 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49608
49609 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49610
49611 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49612 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49613 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49614 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49615 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49616 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49617 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49618 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49619 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49620 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49621
49622 2011-08-15 Alan Modra <amodra@gmail.com>
49623
49624 [BZ #13092]
49625 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49626 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49627 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49628 ppc_mcount to static-only-routines.
49629 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49630 __mcount_internal.
49631 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49632 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49633
49634 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49635
49636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49637 for finite and infinity parameters.
49638
49639 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49640
49641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49642 and add nop instructions for throughput optimization.
49643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49644
49645 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49646
49647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49648 aligned copy for power7 with vector-scalar instructions.
49649 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49650
49651 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49652
49653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49654 AVX check.
49655
49656 2011-09-07 Andreas Schwab <schwab@redhat.com>
49657
49658 [BZ #13144]
49659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49660 last change.
49661
49662 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49663
49664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49665 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49666 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49667 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49668 clock_gettime.
49669
49670 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49671
49672 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49673 Forgot to demangle the pointer.
49674
49675 * sysdeps/i386/sysdep.h: Define atom_text_section.
49676 * sysdeps/x86_64/sysdep.h: Likewise.
49677 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49678 section with atom_text_section.
49679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49680 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49681 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49682 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49683 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49684
49685 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49686 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49687 already be defined. Change to take two parameters and don't assign
49688 result to variable. Adjust all users.
49689 Define INTERNAL_GETTIME if not already defined.
49690 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49691 call.
49692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49693 HAVE_CLOCK_GETTIME_VSYSCALL.
49694 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49695
49696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49697 gettimeofday vsyscall, just use time.
49698
49699 2011-09-06 Andreas Schwab <schwab@redhat.com>
49700
49701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49702 <errno.h>.
49703
49704 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49705
49706 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49707 syscall on x86-64.
49708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49709 syscall.
49710 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49712 syscall if possible.
49713
49714 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49715
49716 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49717 e_ident. Don't pass to find_mapsXX.
49718 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49719
49720 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49721
49722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49723 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49724 * sysdeps/x86_64/multiarch/strchr.S: Update.
49725 Check bit_slow_BSF bit.
49726 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49727 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49728 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49729
49730 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49731
49732 [BZ #13134]
49733 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49734 before glibc 2.15.
49735 (tryshell): Define.
49736 (__spawni): Change last parameter to be flag. Test
49737 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49738 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49739 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49740 * posix/spawni.c: Likewise.
49741 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49742 * posix/spawnp.c: Likewise. Change normal version to use
49743 SPAWN_XFLAGS_USE_PATH.
49744 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49745 SPAWN_XFLAGS_TRY_SHELL.
49746
49747 [BZ #13150]
49748 * posix/glob.h: Remove gcc 1.x support.
49749
49750 [BZ #13068]
49751 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49752
49753 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49754
49755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49756 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49757 strrchr-sse2-bsf
49758 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49759 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49760 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49761 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49762 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49763 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49764
49765 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49766
49767 * sysdeps/x86_64/wcscmp.S: New file.
49768
49769 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49770 wcscmp-c wcscmp-sse2
49771 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49772 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49773 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49774 * wcsmbs/wcscmp.c: Allow renaming.
49775
49776 2011-09-05 David S. Miller <davem@davemloft.net>
49777
49778 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49779 stack slot, rather than the struct return pointer slot.
49780 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49781 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49783 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49784
49785 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49786
49787 * po/ja.po: Update from translation team.
49788
49789 [BZ #13144]
49790 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49791 kernel in 64-bit binaries.
49792
49793 2011-09-01 David S. Miller <davem@davemloft.net>
49794
49795 * elf/elf.h (HWCAP_SPARC_*): Move to..
49796 * sysdeps/sparc/sysdep.h: this new file and add new values.
49797 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49798 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49799 _DL_HWCAP_COUNT to 24.
49800 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49801 entries.
49802 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49803 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49804 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49806 instead of magic constants.
49807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49808
49809 2011-08-31 David S. Miller <davem@davemloft.net>
49810
49811 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49813 Reimplement to do errno handling inline.
49814 (SYSCALL_ERROR_HANDLER): New macro.
49815 (__SYSCALL_STRING): Do not do errno handling in asm.
49816 (__CLONE_SYSCALL_STRING): Delete.
49817 (__INTERNAL_SYSCALL_STRING): Delete.
49818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49819 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49820 (PSEUDO): Reimplement to do errno handling inline.
49821 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49822 (SYSCALL_ERROR_HANDLER): New macro.
49823 (__SYSCALL_STRING): Do not do errno handling in asm.
49824 (__CLONE_SYSCALL_STRING): Delete.
49825 (__INTERNAL_SYSCALL_STRING): Delete.
49826 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49827 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49828 i386.
49829 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49830 (inline_syscall*): Add 'err' argument.
49831 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49832 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49833 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49834 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49835
49836 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49837 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49838
49839 2011-08-30 Andreas Schwab <schwab@redhat.com>
49840
49841 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49842
49843 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49844
49845 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49846 directive.
49847
49848 2011-08-24 David S. Miller <davem@davemloft.net>
49849
49850 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49851
49852 2011-08-24 Andreas Schwab <schwab@redhat.com>
49853
49854 * elf/Makefile: Add rules to build and run unload8 test.
49855 * elf/unload8.c: New file.
49856 * elf/unload8mod1.c: New file.
49857 * elf/unload8mod1x.c: New file.
49858 * elf/unload8mod2.c: New file.
49859 * elf/unload8mod3.c: New file.
49860
49861 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49862 it wasn't used.
49863
49864 2011-08-23 David S. Miller <davem@davemloft.net>
49865
49866 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49867 subtract stack bias.
49868 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49869 %sp not %fp in calculations.
49870 (_JMPBUF_UNWINDS_ADJ): Likewise.
49871
49872 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49873 (aio_suspend): Call it to force an exception region around the
49874 AIO_MISC_WAIT() invocation.
49875
49876 2011-08-23 Andreas Schwab <schwab@redhat.com>
49877
49878 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49879 backslash.
49880
49881 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49882
49883 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49884 protection macro.
49885 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49886 and <dl-machine.h>.
49887 (Elf64_FuncDesc): Remove.
49888
49889 2011-08-22 David S. Miller <davem@davemloft.net>
49890
49891 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49892 sigaltstack check, add missing cfi directives.
49893 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49894 missing cfi directives, and sigaltstack handling.
49895
49896 2011-08-16 Andreas Schwab <schwab@redhat.com>
49897
49898 [BZ #11724]
49899 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49900 object is seen twice.
49901 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49902
49903 * elf/Makefile (distribute): Add tst-initorder2.c.
49904 (tests): Add tst-initorder2.
49905 (modules-names): Add tst-initorder2a tst-initorder2b
49906 tst-initorder2c tst-initorder2d. Add rules to build them.
49907 ($(objpfx)tst-initorder2.out): New rule.
49908 * elf/tst-initorder2.c: New file.
49909 * elf/tst-initorder2.exp: New file.
49910
49911 2011-08-22 Andreas Schwab <schwab@redhat.com>
49912
49913 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49914
49915 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49916 dependencies back to end of function.
49917
49918 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49919 $(elfobjdir)/ld.so.
49920
49921 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49922
49923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49924 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49925 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49926 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49927 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49928 of __vdso_gettimeofday.
49929 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49930 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49931 attribute_hidden.
49932 (_libc_vdso_platform_setup): Remove initialization of
49933 __vdso_gettimeofday and __vdso_time.
49934
49935 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49936
49937 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49938 and fgetc_unlocked.
49939 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49940 getc_unlocked.
49941
49942 * elf/dl-open.c (add_to_global): Report additions to the global scope
49943 for LD_DEBUG=scopes.
49944 (dl_open_worker): Also print scope of newly loaded dependencies.
49945 (_dl_show_scope): Indicate if there is no scope.
49946
49947 [BZ #13114]
49948 * stdio-common/Makefile (tests): Add bug24.
49949 * stdio-common/bug24.c: New file.
49950
49951 2011-08-19 Andreas Jaeger <aj@suse.de>
49952
49953 [BZ #13114]
49954 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49955 non-existant file when using close-on-exec mode.
49956
49957 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49958
49959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49960 the very first instruction.
49961
49962 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49963 the CFI state in the end.
49964 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49965 inclusion of dl-trampoline.h.
49966 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49967
49968 2011-08-19 Andreas Schwab <schwab@redhat.com>
49969
49970 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49971 expectations for long double.
49972
49973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49974 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49975
49976 2011-08-14 David S. Miller <davem@davemloft.net>
49977
49978 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49979 artificual limit depends upon the system page size.
49980
49981 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49982
49983 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49984 * resolv/Makefile: Define CFLAGS-libresolv.
49985
49986 2011-08-17 Andreas Schwab <schwab@redhat.com>
49987
49988 * nss/makedb.c (compute_tables): Make variables used in nested
49989 function static.
49990
49991 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49992
49993 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49994 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49995 if buffer was too small.
49996
49997 * elf/pldd.c (main): Attach to all threads in the process.
49998 Rewrite /proc handling to use *at functions.
49999
50000 2011-08-16 Ulrich Drepper <drepper@gmail.com>
50001
50002 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50003 specifies first scope to show.
50004 (dl_open_worker): Update callers. Move printing scope of new
50005 object to before the relocation.
50006 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50007 * sysdeps/generic/ldsodefs.h: Update declaration.
50008
50009 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50010 string for the scope number.
50011
50012 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50013
50014 * nscd/servicescache.c (cache_addserv): Make sure written is always
50015 initialized.
50016
50017 2011-08-14 Roland McGrath <roland@hack.frob.com>
50018
50019 * sysdeps/i386/i486/bits/atomic.h
50020 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50021 statement expression, so as to suppress "set but not used" warning.
50022 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50023
50024 * string/strncat.c (STRNCAT): Use prototype definition.
50025
50026 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50027 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50028 -Iprograms here.
50029 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50030 (localedef-modules): Add localedef.
50031 (locale-modules): Add locale.
50032
50033 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50034 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50035 to avoid a warning.
50036
50037 2011-08-14 David S. Miller <davem@davemloft.net>
50038
50039 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50040 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50041
50042 2011-08-13 Ulrich Drepper <drepper@gmail.com>
50043
50044 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50045 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50046 * elf/rtld.c (dl_main): Set l_name of vDSO.
50047 Call _dl_show_scope when DL_DEBUG_SCOPES.
50048 (process_dl_debug): Recognize scopes flag and also set it for all.
50049 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50050 Declare _dl_show_scope.
50051
50052 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50053 (do_dlopen): Pass caller_dlopen to dl_open.
50054 (__libc_dlopen_mode): Initialize caller_dlopen.
50055
50056 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50057 of libc. Make tolower call locale-independent. Optimize a bit by
50058 using isdigit instead of isalnum.
50059 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50060
50061 2011-08-12 Ulrich Drepper <drepper@gmail.com>
50062
50063 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50064 was a dependency or dynamically loaded.
50065
50066 2011-08-11 Ulrich Drepper <drepper@gmail.com>
50067
50068 * intl/l10nflist.c: Allow architecture-specific pop function.
50069 * sysdeps/x86_64/l10nflist.c: New file.
50070
50071 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50072 classification.
50073
50074 2011-08-10 Andreas Schwab <schwab@redhat.com>
50075
50076 * include/dirent.h: Add libc_hidden_proto for scandirat and
50077 scandirat64. Don't declare __scandirat64.
50078 * dirent/scandirat.c: Add libc_hidden_def.
50079 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50080 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50081
50082 2011-08-10 David S. Miller <davem@davemloft.net>
50083
50084 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50085 enum.
50086 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50087 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50088 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50089
50090 2011-08-09 Ulrich Drepper <drepper@gmail.com>
50091
50092 * Versions.def [libc]: Add GLIBC_2.15.
50093 * dirent/Makefile (routines): Add scandirat and scandirat64.
50094 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50095 GLIBC_2.15.
50096 * dirent/dirent.h: Declare scandirat and scandirat64.
50097 * dirent/scandirat.c: New file.
50098 * dirent/scandirat64.c: New file.
50099 * sysdeps/wordsize-64/scandirat.c: New file.
50100 * sysdeps/wordsize-64/scandirat64.c: New file.
50101 * dirent/opendir.c: Define opendirat.
50102 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50103 using scandirat.
50104 * dirent/scandir64.c: Adjust for scandir.c change.
50105 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50106 __scandirat64, and __scandir_cancel_handler.
50107 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50108 additional parameter and use openat instead of open (outside of ld.so).
50109 Add new __opendir as wrapper around __opendirat.
50110 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50111 here without requiring old scandirat implementation.
50112
50113 2011-08-08 Ulrich Drepper <drepper@gmail.com>
50114
50115 * dirent/scandir.c (cancel_handler): Renamed to
50116 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50117 defined. Adjust users.
50118 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50119 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50120
50121 2011-08-04 Ulrich Drepper <drepper@gmail.com>
50122
50123 * string/test-string.h (IMPL): Use __STRING to expand name and then
50124 stringify it.
50125
50126 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50127 of cleanups.
50128
50129 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50130
50131 * string/Makefile: Update.
50132 (strop-tests): Append strncat.
50133 * string/test-wcscmp.c: New file.
50134 New comprehensive test for wcscmp.
50135 * string/test-strcmp.c: Update.
50136 (WIDE): New define.
50137
50138 2011-07-22 Andreas Schwab <schwab@redhat.com>
50139
50140 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50141 line.
50142
50143 2011-07-26 Andreas Schwab <schwab@redhat.com>
50144
50145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50146 encoding to ACE if AI_IDN.
50147
50148 2011-08-01 Jakub Jelinek <jakub@redhat.com>
50149
50150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50151 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50152
50153 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50154
50155 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50156 Fix overflow bug in strncat.
50157 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50158
50159 * string/test-strncat.c: Update.
50160 Add new tests for checking overflow bugs.
50161
50162 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50163
50164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50165 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50166 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50167 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50169 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50170 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50171 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50172 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50173
50174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50175 (USE_AS_STRCAT): Define.
50176 Add strcat and strncat support.
50177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50178
50179 2011-07-25 Andreas Schwab <schwab@redhat.com>
50180
50181 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50182 __n bigger than INT_MAX+1.
50183 (__strncmp_g): Likewise.
50184
50185 2011-07-23 Ulrich Drepper <drepper@gmail.com>
50186
50187 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50188 * libio/stido.h: Likewise.
50189
50190 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50191 (AF_NFC): Define.
50192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50193 (AF_NFC): Define.
50194
50195 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50199 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50200
50201 [BZ #13021]
50202 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50203 installed.
50204
50205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50206 typo.
50207 (_dl_x86_64_save_sse): Likewise.
50208
50209 2011-07-22 Ulrich Drepper <drepper@gmail.com>
50210
50211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50212 OSXSAVE.
50213 (_dl_x86_64_save_sse): Likewise.
50214
50215 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50216
50217 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50218
50219 2011-07-21 Andreas Schwab <schwab@redhat.com>
50220
50221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50222 change.
50223 (_dl_x86_64_save_sse): Use correct AVX check.
50224
50225 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50226
50227 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50228 bug in strncpy/strncat.
50229 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50230
50231 2011-07-21 Ulrich Drepper <drepper@gmail.com>
50232
50233 * string/tester.c (test_strcat): Add tests for different alignments
50234 of source and destination.
50235 (test_strncat): Likewise.
50236
50237 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50238
50239 [BZ #12852]
50240 * posix/glob.c (glob): Check passed in values before using them in
50241 expressions to avoid some overflows.
50242 (glob_in_dir): Likewise.
50243
50244 [BZ #13007]
50245 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50246 check for AVX enablement so that we don't crash with old kernels and
50247 new hardware.
50248 * elf/tst-audit4.c: Add same checks here.
50249 * elf/tst-audit6.c: Likewise.
50250
50251 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50252
50253 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50254
50255 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50256
50257 2011-07-20 Ulrich Drepper <drepper@gmail.com>
50258
50259 * po/cs.po: Update from translation team.
50260 * po/bg.po: Likewise.
50261
50262 2011-07-12 Marek Polacek <mpolacek@redhat.com>
50263
50264 * misc/sys/cdefs.h: Add support for const attribute.
50265 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50266 to gnu_dev_{major,minor,makedev} functions.
50267
50268 2011-07-20 Marek Polacek <mpolacek@redhat.com>
50269
50270 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50271
50272 2011-07-20 Andreas Schwab <schwab@redhat.com>
50273
50274 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50275 strlen results.
50276
50277 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50278
50279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50280 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50281 register in order to avoid conflicts with the soft frame pointer
50282 being held in r11 when necessary.
50283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50284 (INTERNAL_VSYSCALL_NCS): Likewise.
50285
50286 2011-07-14 Marek Polacek <mpolacek@redhat.com>
50287
50288 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50289 * elf/dl-fini.c (_dl_fini): Adjust caller.
50290 * elf/dl-close.c (_dl_close_worker): Likewise.
50291 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50292
50293 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50294
50295 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50296 "aux_cache->nlibs < 0".
50297
50298 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50299 in the reload-count case.
50300
50301 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50302
50303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50304 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50305 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50306 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50307 * sysdeps/x86_64/multiarch/strcat.S: New file.
50308 * sysdeps/x86_64/multiarch/strncat.S: New file.
50309 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50311 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50312 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50314 (USE_AS_STRCAT): Define.
50315 Add strcat and strncat support.
50316 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50318 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50319 * string/strncat.c: Update.
50320 (USE_AS_STRNCAT): Define.
50321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50322 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50323 and i7.
50324 * sysdeps/x86_64/multiarch/init-arch.h
50325 (bit_Prefer_PMINUB_for_stringop): New.
50326 (index_Prefer_PMINUB_for_stringop): Likewise.
50327 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50328 bit_Prefer_PMINUB_for_stringop.
50329
50330 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50331
50332 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50333 buffer64.
50334 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50335 of casting of buffer.
50336 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50337 buffer32 and buffer64.
50338 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50339 writes instead of casting of buffer.
50340 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50341 buffer32.
50342 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50343 casting of buffer.
50344
50345 2011-07-19 Andreas Schwab <schwab@redhat.com>
50346
50347 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50348
50349 2011-07-19 Ulrich Drepper <drepper@gmail.com>
50350
50351 * nscd/nscd.c (termination_handler): Don't do anything for a database
50352 if it has not yet been initialized.
50353
50354 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50355
50356 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50357
50358 2011-07-15 Marek Polacek <mpolacek@redhat.com>
50359
50360 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50361
50362 2011-07-18 Ulrich Drepper <drepper@gmail.com>
50363
50364 * po/nl.po: Update from translation team.
50365 * po/sv.po: Likewise.
50366
50367 2011-07-16 Roland McGrath <roland@hack.frob.com>
50368
50369 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50370 now disallowed by GCC.
50371
50372 * configure.in (use-default-link): Default to yes if a test -shared
50373 link meets our qualifications.
50374 * configure: Regenerated.
50375
50376 * config.make.in (output-format): New variable.
50377 * configure.in: Check for ld --print-output-format support.
50378 * configure: Regenerated.
50379 * Makerules ($(common-objpfx)format.lds)
50380 [$(output-format) != unknown]: Just use $(output-format),
50381 instead of the linker-script munging.
50382
50383 2011-07-14 Roland McGrath <roland@hack.frob.com>
50384
50385 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50386 of $(common-objpfx)shlib.lds.
50387 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50388
50389 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50390 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50391
50392 * configure.in (-z relro check): Adjust test code to add a large
50393 writable data section after it.
50394 * configure: Regenerated.
50395
50396 2011-07-11 Roland McGrath <roland@hack.frob.com>
50397
50398 * configure.in (-z relro check): Fix test code to make the variable
50399 truly const.
50400 * configure: Regenerated.
50401
50402 2011-07-11 Ulrich Drepper <drepper@gmail.com>
50403
50404 * nscd/nscd.h (struct traced_file): Define.
50405 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50406 elements. Add traced_files.
50407 (inotify_fd): Declare.
50408 (register_traced_file): Declare.
50409 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50410 (inotify_fd): Export.
50411 (resolv_conf_descr): Remove.
50412 (nscd_init): Move inotify descriptor creation to main.
50413 Don't register files for notification here.
50414 (register_traced_file): New function.
50415 (invalidate_cache): Don't use reset_res to determine whether to call
50416 res_init, go through the list of registered files.
50417 (main_loop_poll): The inotify descriptors are now stored in the
50418 structures for the traced files.
50419 (main_loop_epoll): Likewise
50420 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50421 to __nss_disable_nscd.
50422 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50423 for a database anymore. Check the records for all the registered
50424 files instead.
50425 * nss/Makefile (libnss_files-routines): Add files-init.
50426 (libnss_db-routines): Add db-init.
50427 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50428 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50429 * nss/nss_db/db-init.c: New file.
50430 * nss/nss_files/files-init.c: New file.
50431 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50432 __nss_lookup_function.
50433 (__nss_lookup_function): Call nss_load_library.
50434 (nss_load_all_libraries): New function.
50435 (__nss_disable_nscd): Take parameter with callback function for files
50436 to register. Set is_nscd. Load all the DSOs for the NSS modules
50437 used for the cached services.
50438 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50439 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50440 options for features to all the files in nscd.
50441
50442 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50443
50444 2011-07-10 Roland McGrath <roland@hack.frob.com>
50445
50446 * csu/elf-init.c (__libc_csu_init): Comment typo.
50447
50448 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50449
50450 * po/pl.po: Update from translation team.
50451 * po/ja.po: Likewise.
50452 * po/ru.po: Likewise.
50453 * po/ko.po: Likewise.
50454 * po/fr.po: Likewise.
50455
50456 2011-07-09 Roland McGrath <roland@hack.frob.com>
50457
50458 * configure.in (.ctors/.dtors header and trailer check):
50459 Use an empirical test on a built program.
50460 * configure: Regenerated.
50461
50462 * configure.in (-z relro check): Use an empirical test on a built DSO.
50463 Detect, but do not require, on ia64.
50464 * configure: Regenerated.
50465
50466 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50467 Update tests that use readelf to use $READELF instead.
50468 * configure: Regenerated.
50469
50470 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50471
50472 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50473 if the result is not used.
50474
50475 2011-07-05 Andreas Jaeger <aj@suse.de>
50476
50477 [BZ#9696]
50478 * stdlib/tst-strtod.c: Add testcase.
50479
50480 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50481
50482 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50483 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50484 The latter has a higher limit. Take additional parameter to pass to
50485 the new function.
50486 (__pathconf): Pass file to __statfs_link_max.
50487 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50488 __statfs_link_max.
50489 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50490 __statfs_link_max.
50491
50492 [BZ #12868]
50493 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50495 Handle Lustre.
50496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50497 (__statfs_filesize_max): Likewise.
50498 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50499
50500 2011-07-05 Andreas Jaeger <aj@suse.de>
50501
50502 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50503
50504 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50505
50506 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50507 `status' variable.
50508 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50509 Likewise.
50510
50511 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50512
50513 * Makefile (strop-tests): Add strncat.
50514 * string/test-strncat.c: New file.
50515
50516 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50517
50518 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50519
50520 2011-06-21 Andreas Jaeger <aj@suse.de>
50521
50522 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50523 Copy rule from iconvdata/Makefile.
50524
50525 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50526
50527 [BZ #12922]
50528 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50529 but no long options are defined, just return 'W'.
50530
50531 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50532
50533 [BZ #9696]
50534 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50535
50536 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50537
50538 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50539 netgroups to read.
50540 (innetgr): Likewise.
50541
50542 2011-07-05 Roland McGrath <roland@hack.frob.com>
50543
50544 * config.make.in (install_root): Default to $(DESTDIR).
50545
50546 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50547
50548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50549
50550 2011-07-02 Roland McGrath <roland@hack.frob.com>
50551
50552 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50553
50554 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50555 containing directory rather than embedding absolute directory names.
50556
50557 * scripts/check-local-headers.sh: Rewritten using awk.
50558 Match by word, not by line. Print error messages for matches.
50559 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50560
50561 * Makerules [shlib-lds-flags empty]:
50562 ($(common-objpfx)libc_pic.opts): New target.
50563 ($(common-objpfx)libc_pic.os.clean): New target.
50564 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50565
50566 * config.make.in (OBJCOPY): New variable.
50567 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50568 * configure: Regenerated.
50569
50570 * config.make.in (use-default-link): New variable.
50571 * configure.in (use_default_link): Grok --with-default-link to set it.
50572 * configure: Regenerated.
50573 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50574 (shlib-lds, shlib-lds-flags): Define to empty.
50575
50576 * Makerules (shlib-lds): New variable.
50577 (shlib-lds-flags): New variable.
50578 (build-shlib, build-moduile, build-module-asneeded): Use it.
50579 ($(common-objpfx)libc.so): Use $(shlib-lds).
50580 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50581 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50582
50583 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50584 DT_FLAGS/DT_FLAGS_1 with zero flags.
50585
50586 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50587 linker script munging.
50588
50589 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50590
50591 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50592 as 128-bit value.
50593 * crypt/sha512.c (sha512_process_block): Perform total addition using
50594 128-bit if possible.
50595 (__sha512_finish_ctx): Likewise.
50596 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50597 as 64-bit value.
50598 * crypt/sha256.c (SWAP64): Define.
50599 (sha256_process_block): Perform total addition using 64-bit if
50600 possible.
50601 (__sha256_finish_ctx): Likewise.
50602
50603 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50604
50605 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50607 * nscd/hstcache.c (cache_addhst): Likewise.
50608 * nscd/grpcache.c (cache_addgr): Likewise.
50609 * nscd/aicache.c (addhstaiX): Likewise
50610 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50611
50612 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50613
50614 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50616 * nscd/hstcache.c (cache_addhst): Likewise.
50617 * nscd/grpcache.c (cache_addgr): Likewise.
50618 * nscd/aicache.c (addhstaiX): Likewise
50619
50620 2011-07-01 Andreas Schwab <schwab@redhat.com>
50621
50622 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50623 domain only when needed.
50624
50625 2011-06-30 Andreas Schwab <schwab@redhat.com>
50626
50627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50628 is always restored.
50629
50630 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50631
50632 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50633 are re-adding the entry.
50634 * nscd/servicescache.c (cache_addserv): Likewise.
50635
50636 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50637
50638 * sysdeps/generic/dl-irel.h: fix protection against multiple
50639 inclusions.
50640 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50641
50642 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50643
50644 [BZ #12935]
50645 * malloc/memusage.sh: Fix quoting in message.
50646 * debug/xtrace.sh: Likewise.
50647
50648 * configure.in: Remove support for --experimental-malloc option, make
50649 it the default.
50650 * config.make.in: Likewise.
50651 * malloc/Makefile: Likewise.
50652
50653 2011-06-27 Andreas Schwab <schwab@redhat.com>
50654
50655 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50656 two-byte characters.
50657
50658 2011-06-27 Roland McGrath <roland@hack.frob.com>
50659
50660 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50661 AC_CACHE_CHECK invocation.
50662 * configure: Regenerated.
50663
50664 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50665
50666 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50667
50668 [BZ #12350]
50669 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50670 bit from old_res_options.
50671
50672 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50673
50674 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50675 value type for setfct.
50676
50677 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50678
50679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50680 __gettimeofday instead of gettimeofday.
50681
50682 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50683
50684 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50685
50686 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50687
50688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50689
50690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50691 info.
50692
50693 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50694
50695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50696 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50697 strcpy-sse2-unaligned strncpy-sse2-unaligned
50698 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50699 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50700 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50701 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50702 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50703 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50704 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50705 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50706 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50707 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50708 (STRCPY): Support SSE2 and SSSE3 versions.
50709
50710 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50711
50712 [BZ #12874]
50713 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50714 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50715 kernels which artificially limit size of requests.
50716
50717 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50718
50719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50720 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50721 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50722 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50723 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50724 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50725 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50726 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50727 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50729 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50730 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50731 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50732 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50733 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50735 Enable unaligned load optimization for Intel Core i3, i5 and i7
50736 processors.
50737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50738 Define.
50739 (index_Fast_Unaligned_Load): Define.
50740 (HAS_FAST_UNALIGNED_LOAD): Define.
50741
50742 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50743
50744 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50745
50746 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50747
50748 [BZ #12907]
50749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50750 until it is clear that the information is realy needed.
50751 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50752
50753 2011-06-22 Andreas Schwab <schwab@redhat.com>
50754
50755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50756
50757 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50758
50759 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50760 /sys/devices/system/cpu/online if it is usable.
50761
50762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50763 reading the information from the /proc filesystem to once a second.
50764
50765 2011-06-21 Andreas Jaeger <aj@suse.de>
50766
50767 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50768 NULL after inclusion of kernel headers.
50769
50770 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50771
50772 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50773 calls to internal_setent.
50774
50775 [BZ #12885]
50776 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50777 addresses using gethostbyname4_r ignore IPv4 addresses.
50778
50779 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50780 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50781
50782 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50783
50784 2011-06-20 David S. Miller <davem@davemloft.net>
50785
50786 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50787 inclusions.
50788 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50789
50790 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50791 (elf_irel): Use it.
50792 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50793 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50794 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50795 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50796 * sysdeps/x86_64/dl-irel.h: Likewise.
50797
50798 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50799 * elf/dl-sym.c: Likewise.
50800
50801 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50802
50803 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50804 need to dereference resplen2.
50805
50806 2011-06-14 Andreas Schwab <schwab@redhat.com>
50807
50808 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50809
50810 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50811
50812 * Makeconfig: Define vardbdir and inst_vardbdir.
50813 * nss/Makefile: Add rules to install db-Makefile.
50814
50815 * nss/nss_db/db-XXX.c: Cleanup.
50816
50817 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50818 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50819 GLIBC_PRIVATE.
50820 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50821 * nss/makedb.c: Implement -g option to specify that value strings
50822 are generated and should not be added to table iterated over for
50823 get*ent calls.
50824 * nss/nss_db/db-initgroups.c: New file.
50825
50826 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50827 interface.
50828
50829 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50830 (internal_getgrouplist): Adjust to name change.
50831 Update use_initgroups_entry if this is not the first call.
50832 * nss/databases.def: Add initgroups entry.
50833
50834 * nss/makedb.c (compute_tables): Check result of multiple hash table
50835 sizes to minimize maximum chain length.
50836
50837 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50838
50839 * Versions.def: Add entry for libnss_db.
50840 * shlib-versions: Likewise.
50841 * nss/Makefile: Add rules to build libnss_db.
50842 * nss/Versions: Add libnss_db information. Organize libnss_files
50843 entries better.
50844 * nss/db-Makefile: Add gshadow support. Change rules for the new
50845 makedb progra. Some minor improvements to generate smaller files.
50846 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50847 here from...
50848 * nss/makedb.c: ...here.
50849 Improve database format to be smaller and require less memory at
50850 runtime.
50851 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50852 db anymore.
50853 * nss/nss_db/db-netgrp.c: Likewise.
50854 * nss/nss_db/db-open.c: Likewise.
50855 * nss/nss_files/flies-XXX.x: Adjust comments.
50856 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50857 * nss/nss_files/files-grp.c: Likewise.
50858 * nss/nss_files/files-hosts.c: Likewise.
50859 * nss/nss_files/files-network.c: Likewise.
50860 * nss/nss_files/files-proto.c: Likewise.
50861 * nss/nss_files/files-pwd.c: Likewise.
50862 * nss/nss_files/files-rpc.c: Likewise.
50863 * nss/nss_files/files-service.c: Likewise.
50864 * nss/nss_files/files-sgrp.c: Likewise.
50865 * nss/nss_files/files-spwd.c: Likewise.
50866 * nss/nss_db/db-alias.c: Removed.
50867 * nss/nss_db/dummy-db.h: Removed.
50868
50869 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50870
50871 * nss/makedb.c: Rewritten to not use database library.
50872 * nss/Makefile: Update to build new makedb program.
50873
50874 2011-06-14 Andreas Jaeger <aj@suse.de>
50875
50876 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50877 memset declaration.
50878
50879 2011-06-10 Andreas Schwab <schwab@redhat.com>
50880
50881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50882 tmpbuf.
50883
50884 2011-06-10 Roland McGrath <roland@hack.frob.com>
50885
50886 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50887 * elf/Makefile ($(objpfx)ld.so): Likewise.
50888
50889 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50890 Don't list ld.so twice in dependencies.
50891
50892 * posix/bug-regex31.c: Include <stdlib.h>.
50893
50894 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50895
50896 * nis/nss_compat/compat-spwd.c
50897 (getspent_next_nss_netgr): Remove unused variable.
50898 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50899
50900 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50901 nonmembers" output to use the right array.
50902
50903 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50904
50905 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50906
50907 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50908 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50909 * catgets/gencat.c (read_input_file): Likewise.
50910 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50911
50912 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50913 variable definition inside #if's controlling its use.
50914
50915 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50916
50917 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50918
50919 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50920
50921 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50922 unreachable code.
50923
50924 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50925
50926 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50927 * configure: Regenerated.
50928
50929 * Makerules: Revert last change.
50930 * elf/Makefile: Likewise.
50931
50932 2011-06-09 Roland McGrath <roland@hack.frob.com>
50933
50934 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50935 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50936 (reloc-link): Likewise.
50937
50938 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50939
50940 * elf/Makefile: Add rules to build pldd.
50941 * elf/pldd.c: New file.
50942 * elf/pldd-xx.c: New file.
50943
50944 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50945
50946 * version.h: Update for 2.15 development version.
50947
50948 2011-06-07 David S. Miller <davem@davemloft.net>
50949
50950 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50951 ifuncs.
50952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50953 elf_machine_lazy_rel): Likewise.
50954 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50956 elf_machine_lazy_rel): Likewise.
50957 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50958 dl_hwcap via passed in argument.
50959 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50960 Likewise.
50961
50962 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50963
50964 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50965
50966 2011-06-06 Roland McGrath <roland@hack.frob.com>
50967
50968 [BZ #12849]
50969 * manual/fdl-1.1.texi: New file, verbatim from:
50970 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50971 * manual/lgpl-2.1.texi: New file, verbatim from:
50972 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50973 * manual/Makefile (licenses): New variable, list those new file names.
50974 (texis): Use it.
50975 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50976
50977 * manual/fdl.texi: File removed.
50978 * manual/lesser.texi: File removed.
50979 * manual/libc.texinfo (Copying, Documentation License):
50980 Use new @include file names, put @appendix directive before @include.
50981
50982 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50983
50984 [BZ #12841]
50985 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50986 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50987 (mq_open): Add __NTH.
50988
50989 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50990
50991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50992 Assume Intel Core i3/i5/i7 processor if AVX is available.
50993
50994 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50995
50996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50997 typo.
50998
50999 2011-05-31 Andreas Schwab <schwab@redhat.com>
51000
51001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51002 memory. Use alloca_account. Fix memory leak when retrying.
51003
51004 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51005
51006 * version.h (RELEASE): Bump for 2.14 release.
51007 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51008
51009 * config.make.in (RANLIB): Remove entry.
51010
51011 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51012
51013 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51014 (libc.pot): Work around missing support for .ksh extension in xgettext.
51015
51016 [BZ #12684]
51017 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51018 if both request failed.
51019 (send_dg): In case of server errors clear resplen or *resplen2.
51020
51021 [BZ #12454]
51022 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51023 when there are multiple maps.
51024 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51025 (_dl_fini): Remove test here.
51026
51027 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51028
51029 2011-05-29 Ulrich Drepper <drepper@gmail.com>
51030
51031 [BZ #12350]
51032 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51033 bit from old_res_options.
51034 (gaih_inet): Likewise.
51035
51036 [BZ #11099]
51037 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51038 as signed.
51039
51040 * resolv/res_init.c (res_setoptions): Make the code more compact.
51041
51042 [BZ #11558]
51043 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51044 set RES_USEVC.
51045
51046 [BZ #11634]
51047 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51048
51049 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51050
51051 [BZ #11781]
51052 * malloc/malloc.h: Declare malloc hook variables as volatile.
51053
51054 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51055 in last patch.
51056
51057 [BZ #11799]
51058 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51059 raise in the comment.
51060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51062 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51063
51064 2011-05-28 Ulrich Drepper <drepper@gmail.com>
51065
51066 [BZ #12811]
51067 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51068 grow the buffers more if it already has to be sufficient.
51069 (build_wcs_upper_buffer): Likewise.
51070 * posix/regexec.c (check_matching): Likewise.
51071 (clean_state_log_if_needed): Likewise.
51072 (extend_buffers): Don't enlarge buffers beyond size of the input
51073 buffer.
51074 Patches mostly by Emil Wojak <emil@wojak.eu>.
51075 * posix/bug-regex32.c: New file.
51076 * posix/Makefile (tests): Add bug-regex32.
51077
51078 * locale/findlocale.c (_nl_find_locale): Return right away if
51079 _nl_explode_name failed.
51080 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51081
51082 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51083
51084 * debug/xtrace.sh: Unify messages.
51085 * malloc/memusage.sh: Likewise.
51086
51087 [BZ #12813]
51088 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51089 time symbol from vDSO. Substitute with vsyscall if not available.
51090 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51091 __vdso_time.
51092
51093 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51094 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51095 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51096 Add sendmmsg and internal_sendmmsg.
51097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51098 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51099 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51100
51101 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51102 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51104
51105 2011-05-27 Ulrich Drepper <drepper@gmail.com>
51106
51107 [BZ #12813]
51108 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51109 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51110 available.
51111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51112 __vdso_getcpu.
51113
51114 [BZ #12814]
51115 * iconvdata/Makefile (tests): Add bug-iconv9.
51116 * iconvdata/bug-iconv9.c: New file.
51117
51118 2011-05-27 Andreas Schwab <schwab@redhat.com>
51119
51120 [BZ #12814]
51121 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51122
51123 2011-05-25 Jakub Jelinek <jakub@redhat.com>
51124
51125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51126 (struct user_regs_struct): Change intcs field back to cs.
51127
51128 2011-05-25 Ulrich Drepper <drepper@gmail.com>
51129
51130 * po/ja.po: Update from translation team.
51131
51132 2011-05-23 Ulrich Drepper <drepper@gmail.com>
51133
51134 [BZ #12795]
51135 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51136 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51137
51138 2011-05-20 Andreas Schwab <schwab@redhat.com>
51139
51140 * stdlib/longlong.h: Update from GCC.
51141
51142 2011-05-23 Andreas Schwab <schwab@redhat.com>
51143
51144 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51145 parameter name.
51146 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51147 Add parameter name.
51148 (__sysconf): Pass it down.
51149
51150 2011-05-22 Ulrich Drepper <drepper@gmail.com>
51151
51152 [BZ #12671]
51153 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51154 some situations.
51155 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51156 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51157 add in in __libc_use_alloca calls. Adjust callers.
51158 (glob): Use malloc in some situations.
51159
51160 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51161 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51162 pltexit.
51163
51164 2011-05-21 Ulrich Drepper <drepper@gmail.com>
51165
51166 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51167 and CLOCK_BOOTTIME_ALARM.
51168
51169 [BZ #12782]
51170 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51171 is returned.
51172
51173 * string/_strerror.c (__strerror_r): Print negative errors as signed
51174 numbers.
51175
51176 [BZ #12777]
51177 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51178 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51179 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51180
51181 * configure.in: Fix typo in redirection and correct removal of test
51182 files in two cases.
51183
51184 [BZ #12788]
51185 * locale/setlocale.c (new_composite_name): Fix test to check for
51186 identical name of all categories.
51187
51188 [BZ #12792]
51189 * libio/filedoalloc.c (local_isatty): New function.
51190 (_IO_file_doallocate): Use local_isatty.
51191 * stdio-common/perror.c (perror): In case a new stream is used
51192 forward the stream error.
51193 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51194 error flag.
51195
51196 2011-05-20 Ulrich Drepper <drepper@gmail.com>
51197
51198 [BZ #11869]
51199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51200 alloca.
51201 * include/alloca.h (extend_alloca_account): Define.
51202
51203 [BZ #11857]
51204 * posix/regex.h: Fix comments with documentation of user-accessible
51205 fields after compilation and describe correct free'ing of pattern
51206 after re_compile_pattern.
51207 Patch by Reuben Thomas <rrt@sc3d.org>.
51208
51209 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51210
51211 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51212 and -mno-altivec to prevent the compiler from using Altivec and/or
51213 VSX instructions when the corresponding registers are not available.
51214
51215 2011-05-19 Andreas Schwab <schwab@redhat.com>
51216
51217 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51218
51219 2011-05-19 Ulrich Drepper <drepper@gmail.com>
51220
51221 * libio/freopen.c (freopen): Use __dup2, not dup2.
51222 * libio/freopen64.c (freopen64): Likewise.
51223
51224 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51225
51226 [BZ #12775]
51227 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51228 * math/Makefile (tests): Add test-powl.
51229 (CFLAGS-test-powl.c): Define.
51230 * math/test-powl.c: New file.
51231
51232 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51233
51234 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51235
51236 2011-05-17 Ulrich Drepper <drepper@gmail.com>
51237
51238 [BZ #11837]
51239 * iconvdata/gb18030.c: Update to GB18020-2005.
51240
51241 2011-05-16 Ulrich Drepper <drepper@gmail.com>
51242
51243 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51244 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51245 Patch by Aharon Robbins <arnold@skeeve.com>.
51246
51247 [BZ #11892]
51248 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51249 on the stack.
51250
51251 [BZ #11895]
51252 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51253 through underflows.
51254
51255 [BZ #12766]
51256 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51257 point to strings before performing equality test for error_one_per_line
51258 mode.
51259
51260 [BZ #11697]
51261 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51262
51263 [BZ #11820]
51264 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51265 (struct user_fpregs_struct): Avoid __uint*_t types.
51266
51267 [BZ #6420]
51268 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51269 symbol info. Use it instead of calling _dl_addr locally.
51270 (lock_and_info): New function.
51271 (tr_freehook): Call lock_and_info and pass symbol info as additional
51272 parameter to tr_where.
51273 (tr_mallochook): Likewise.
51274 (tr_reallochook): Likewise.
51275 (tr_memalignhook): Likewise.
51276
51277 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51278 used and couldn't be at all thread-safe.
51279
51280 2011-05-15 Ulrich Drepper <drepper@gmail.com>
51281
51282 * libio/freopen.c (freopen): Don't close old file descriptor
51283 before the new one is opened. Instead dup the new file descriptor
51284 to the old one after the new stream is created.
51285 * libio/freopen64.c (freopen64): Likewise.
51286 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51287 * libio/fileops.c (_IO_new_file_close_it): Handle new
51288 _IO_FLAGS2_NOCLOSE flag.
51289 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51290 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51291 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51292 _IO_FLAGS2_NOCLOSE flag.
51293 * include/unistd.h: Add hidden_proto for dup3.
51294 Define __have_dup3.
51295 * io/dup3.c: Define hidden symbol.
51296 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51297
51298 [BZ #7101]
51299 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51300 when an incomplete long option is used.
51301 * posix/tst-getopt_long1.c: New file.
51302 * posix/Makefile (tests): Add tst-getopt_long1.
51303
51304 [BZ #10138]
51305 * scripts/config.guess: Update from autoconf-2.68.
51306 * scripts/config.sub: Likewise.
51307
51308 [BZ #10157]
51309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51310 tests into ...
51311 (has_cpuclock): ...this. New function.
51312 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51313 macro here based on has_cpuclock code.
51314
51315 [BZ #10149]
51316 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51317 First byte (not low byte) is now always NUL.
51318 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51319
51320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51321 Use non-cancelable interfaces.
51322
51323 [BZ #9809]
51324 * locale/iso-639.def: Add entry for Sorani.
51325
51326 [BZ #11901]
51327 * include/stdlib.h: Move include protection to the right place.
51328 Define abort_msg_s. Declare __abort_msg with it.
51329 * stdlib/abort.c (__abort_msg): Adjust type.
51330 * assert/assert.c (__assert_fail_base): New function. Majority
51331 of code from __assert_fail. Allocate memory for __abort_msg with
51332 mmap.
51333 (__assert_fail): Now call __assert_fail_base.
51334 * assert/assert-perr.c: Remove bulk of implementation. Use
51335 __assert_fail_base.
51336 * include/assert.hL Declare __assert_fail_base.
51337 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51338 mmap.
51339 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51340
51341 2011-05-14 Ulrich Drepper <drepper@gmail.com>
51342
51343 [BZ #11952]
51344 [BZ #12453]
51345 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51346 until all modules are registered in the DTV.
51347 * elf/Makefile: Add rules to build and run tst-tls19.
51348 * elf/tst-tls19.c: New file.
51349 * elf/tst-tls19mod1.c: New file.
51350 * elf/tst-tls19mod2.c: New file.
51351 * elf/tst-tls19mod3.c: New file.
51352 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51353
51354 [BZ #12083]
51355 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51356 correctly.
51357
51358 [BZ #12601]
51359 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51360 two-byte sequence errors.
51361 * iconvdata/Makefile (tests): Add bug-iconv8.
51362 * iconvdata/bug-iconv8.c: New file.
51363
51364 [BZ #12626]
51365 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51366 buf2 definition.
51367
51368 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51369
51370 [BZ #12432]
51371 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51372 (dummy_getcfa): New function.
51373 (init): Get _Unwind_GetCFA address, use dummy if not found.
51374 (backtrace_helper): In recursion check, also check whether CFA changes.
51375 (__backtrace): Completely initialize arg.
51376
51377 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51378 storing incomplete byte sequence in state object. Avoid testing for
51379 guaranteed too small input if we know there is enough data available.
51380
51381 2011-05-11 Andreas Schwab <schwab@redhat.com>
51382
51383 * Makeconfig (+link-pie): Indent.
51384 * Rules (binaries-pie): Define if $(have-fpie) and
51385 $(build-shared).
51386 (binaries-shared): Also filter out $(binaries-pie).
51387 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51388 * nscd/Makefile (others-pie): Add nscd.
51389 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51390 ($(objpfx)nscd): Remove command override.
51391 * login/Makefile (others-pie): Add pt_chown.
51392 ($(objpfx)pt_chown): Remove command override.
51393 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51394 remove command overrides.
51395
51396 2011-05-13 Ulrich Drepper <drepper@gmail.com>
51397
51398 * libio/tst_putwc.c: Fix error messages.
51399
51400 [BZ #12724]
51401 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51402 currently writing and seek to current position when not.
51403 * libio/Makefile (tests): Add bug-fclose1.
51404 * libio/bug-fclose1.c: New file.
51405
51406 2011-05-12 Ulrich Drepper <drepper@gmail.com>
51407
51408 [BZ #12511]
51409 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51410 don't set DF_1_NODELETE here.
51411 (do_lookup_x): When entering new entry test for copy relocation
51412 and if necessary set DF_1_NODELETE flag.
51413 * elf/tst-unique4.cc: New file.
51414 * elf/tst-unique4.h: New file.
51415 * elf/tst-unique4lib.cc: New file.
51416 * elf/Makefile: Add rules to build and run tst-unique4.
51417 Patch by Piotr Bury <pbury@goahead.com>.
51418
51419 2011-05-11 Ulrich Drepper <drepper@gmail.com>
51420
51421 [BZ #12052]
51422 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51423
51424 [BZ #12625]
51425 * misc/mntent_r.c (addmntent): Flush the stream after the output
51426
51427 [BZ #12393]
51428 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51429 (is_trusted_path_normalize): Skip initial colon. Append slash
51430 to empty buffer. Duplicate is_trusted_path code but allow
51431 constructed patch to be prefix.
51432 (is_dst): Allow $ORIGIN followed by /.
51433 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51434 Correct testing of result of is_trusted_path_normalize
51435 (decompose_rpath): Fix warning.
51436
51437 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51438
51439 [BZ #11257]
51440 * grp/initgroups.c (internal_getgrouplist): When we found the service
51441 list through the initgroups entry in nsswitch.conf do not always
51442 continue on a successful lookup. Don't always use the
51443 __nss_group_database value if it is set.
51444 * nss/nsswitch.conf (initgroups): Change action for successful db
51445 lookup to continue for compatibility.
51446
51447 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51448
51449 [BZ #11532]
51450 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51451 and CP774 modules.
51452 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51453 and CP774 modules.
51454 * iconvdata/tst-tables.sh: Likewise.
51455 * iconvdata/cp770.c: New file.
51456 * iconvdata/cp771.c: New file.
51457 * iconvdata/cp772.c: New file.
51458 * iconvdata/cp773.c: New file.
51459 * iconvdata/cp774.c: New file.
51460 * iconvdata/testdata/CP770: New file.
51461 * iconvdata/testdata/CP770..UTF8: New file.
51462 * iconvdata/testdata/CP771: New file.
51463 * iconvdata/testdata/CP771..UTF8: New file.
51464 * iconvdata/testdata/CP772: New file.
51465 * iconvdata/testdata/CP772..UTF8: New file.
51466 * iconvdata/testdata/CP773: New file.
51467 * iconvdata/testdata/CP773..UTF8: New file.
51468 * iconvdata/testdata/CP774: New file.
51469 * iconvdata/testdata/CP774..UTF8: New file.
51470
51471 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51472 END CHARMAP line.
51473 * iconvdata/gen-8bit-gap.sh: Likewise.
51474 * iconvdata/gen-8bit.sh: Likewise.
51475
51476 * locale/iso-639.def: Add ary entry.
51477
51478 [BZ #11258]
51479 * locale/C-translit.h.in: Add U20A1 transliteration.
51480
51481 [BZ #12178]
51482 * locale/iso-639.def: Add wae entry.
51483 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51484
51485 [BZ #12545]
51486 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51487 for n.
51488
51489 [BZ #12711]
51490 * locale/C-translit.h.in: Add entry for U20B9.
51491 Patch by pravin.d.s@gmail.com.
51492
51493 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51494
51495 [BZ #12713]
51496 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51497 ENAMETOOLONG use generic getcwd.
51498 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51499 in rtld. Use *stat64.
51500 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51501 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51502 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51503 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51504 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51505 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51506 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51507 __fstatat64 macros.
51508 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51509 * dirent/rewinddir.c: Add libc_hidden_def.
51510 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51511 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51512
51513 * include/dirent.h (__alloc_dir): Add flags parameter.
51514 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51515 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51516 __alloc_dir.
51517 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51518 from fdopendir if O_CLOEXEC is already set.
51519
51520 2011-03-15 Alan Modra <amodra@gmail.com>
51521
51522 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51523 l_tls_firstbyte_offset non-zero. Save padding offset in
51524 l_tls_firstbyte_offset for later use.
51525 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51526 freeing static tls block.
51527
51528 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51529
51530 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51531 where #ifdef was intended. The intent is to prevent ARG_MAX from
51532 being defined by the kernel headers.
51533
51534 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51535
51536 [BZ #12734]
51537 * resolv/resolv.h: Define RES_NOTLDQUERY.
51538 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51539 no-tld-query and set RES_NOTLDQUERY.
51540 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51541 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51542 modern BIND to search name as TLD unless forbidden.
51543
51544 2011-05-07 Petr Baudis <pasky@suse.cz>
51545 Ulrich Drepper <drepper@gmail.com>
51546
51547 [BZ #12393]
51548 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51549 (is_trusted_path): ...to here.
51550 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51551 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51552 using is_trusted_path_normalize() in setuid scripts.
51553
51554 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51555
51556 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51557 __BEGIN/__END_DECLS.
51558
51559 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51560
51561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51562 NSS_STATUS_NOTFOUND if no record was found.
51563
51564 2011-05-05 Andreas Schwab <schwab@redhat.com>
51565
51566 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51567 (headers-not-in-tirpc): Remove rpc/netdb.h
51568 * resolv/netdb.h: Revert last change.
51569
51570 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51571
51572 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51573 circular dependency between libgcc.a and libc.a.
51574
51575 2011-05-05 Andreas Schwab <schwab@redhat.com>
51576
51577 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51578 * nis/Makefile: Don't install rpcsvc/*.
51579 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51580 instead of <rpc/types.h>.
51581 (MAXHOSTNAMELEN): Define.
51582
51583 2011-05-03 Andreas Schwab <schwab@redhat.com>
51584
51585 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51586
51587 2011-04-28 Maciej Babinski <mbabinski@google.com>
51588
51589 [BZ #12714]
51590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51591 gethostbyname4_r when IPv6 results are possible.
51592
51593 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51594
51595 [BZ #12723]
51596 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51597 _PC_PIPE_BUF handling.
51598
51599 2011-04-30 Bruno Haible <bruno@clisp.org>
51600
51601 [BZ #12717]
51602 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51603 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51604 to 'int'.
51605 * inet/getnameinfo.c (getnameinfo): Likewise.
51606
51607 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51608
51609 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51610 to groups setting in database lookup.
51611 * nss/nsswitch.conf: Add initgroups entry.
51612
51613 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51614
51615 [BZ #12685]
51616 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51617 mode string.
51618 Patch by Eric Blake <eblake@redhat.com>.
51619
51620 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51621
51622 * sunrpc/Makefile (need-export-routines): Add svc_run.
51623 (routines): Remove svc_run.
51624 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51625 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51626 * sunrpc/svc_run.c (svc_run): Likewise.
51627 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51628
51629 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51630
51631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51632 problem in reallocation in last patch.
51633
51634 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51635
51636 * sunrpc/Makefile: Move inclusion of Rules.
51637
51638 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51639
51640 * nss/nss_files/files-initgroups.c: New file.
51641 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51642 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51643 _nss_files_initgroups_dyn.
51644
51645 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51646
51647 * elf/elf.h (R_ARM_IRELATIVE): Define.
51648
51649 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51650
51651 * po/ru.po: Update from translation team.
51652
51653 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51654
51655 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51656 dependencies.
51657
51658 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51659
51660 [BZ #12653]
51661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51662 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51663 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51666
51667 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51668
51669 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51670 differing bytes.
51671 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51674
51675 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51676
51677 [BZ #12420]
51678 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51679 storing it.
51680 * stdlib/bug-getcontext.c: New file.
51681 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51682
51683 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51684
51685 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51686 instructions into .machine "z9-109".
51687 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51688 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51689
51690 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51691
51692 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51693 between environment variables and auxiliary vector.
51694
51695 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51696
51697 * Makefile: Add rules to build linkobj/libc.so.
51698 * include/libc-symbols.h: Define libc_hidden_nolink.
51699 * include/rpc/auth.h: Mark functions which are to be hidden.
51700 * include/rpc/auth_des.h: Likewise.
51701 * include/rpc/auth_unix.h: Likewise.
51702 * include/rpc/clnt.h: Likewise.
51703 * include/rpc/des_crypt.h: Likewise.
51704 * include/rpc/key_prot.h: Likewise.
51705 * include/rpc/pmap_clnt.h: Likewise.
51706 * include/rpc/pmap_prot.h: Likewise.
51707 * include/rpc/pmap_rmt.h: Likewise.
51708 * include/rpc/rpc_msg.h: Likewise.
51709 * include/rpc/svc.h: Likewise.
51710 * include/rpc/svc_auth.h: Likewise.
51711 * include/rpc/xdr.h: Likewise.
51712 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51713 * nss/Makefile: Likewise.
51714 * sunrpc/Makefile: Don't install headers. Build library with normal
51715 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51716 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51717 for the compat linking library. Remove use of INTDEF/INTUSE.
51718 * sunrpc/auth_none.c: Likewise.
51719 * sunrpc/auth_unix.c: Likewise.
51720 * sunrpc/authdes_prot.c: Likewise.
51721 * sunrpc/authuxprot.c: Likewise.
51722 * sunrpc/clnt_gen.c: Likewise.
51723 * sunrpc/clnt_perr.c: Likewise.
51724 * sunrpc/clnt_raw.c: Likewise.
51725 * sunrpc/clnt_simp.c: Likewise.
51726 * sunrpc/clnt_tcp.c: Likewise.
51727 * sunrpc/clnt_udp.c: Likewise.
51728 * sunrpc/clnt_unix.c: Likewise.
51729 * sunrpc/des_crypt.c: Likewise.
51730 * sunrpc/des_soft.c: Likewise.
51731 * sunrpc/get_myaddr.c: Likewise.
51732 * sunrpc/key_call.c: Likewise.
51733 * sunrpc/key_prot.c: Likewise.
51734 * sunrpc/netname.c: Likewise.
51735 * sunrpc/pm_getmaps.c: Likewise.
51736 * sunrpc/pm_getport.c: Likewise.
51737 * sunrpc/pmap_clnt.c: Likewise.
51738 * sunrpc/pmap_prot.c: Likewise.
51739 * sunrpc/pmap_prot2.c: Likewise.
51740 * sunrpc/pmap_rmt.c: Likewise.
51741 * sunrpc/publickey.c: Likewise.
51742 * sunrpc/rpc_cmsg.c: Likewise.
51743 * sunrpc/rpc_common.c: Likewise.
51744 * sunrpc/rpc_dtable.c: Likewise.
51745 * sunrpc/rpc_prot.c: Likewise.
51746 * sunrpc/rpc_thread.c: Likewise.
51747 * sunrpc/rtime.c: Likewise.
51748 * sunrpc/svc.c: Likewise.
51749 * sunrpc/svc_auth.c: Likewise.
51750 * sunrpc/svc_authux.c: Likewise.
51751 * sunrpc/svc_raw.c: Likewise.
51752 * sunrpc/svc_run.c: Likewise.
51753 * sunrpc/svc_simple.c: Likewise.
51754 * sunrpc/svc_tcp.c: Likewise.
51755 * sunrpc/svc_udp.c: Likewise.
51756 * sunrpc/svc_unix.c: Likewise.
51757 * sunrpc/svcauth_des.c: Likewise.
51758 * sunrpc/xcrypt.c: Likewise.
51759 * sunrpc/xdr.c: Likewise.
51760 * sunrpc/xdr_array.c: Likewise.
51761 * sunrpc/xdr_float.c: Likewise.
51762 * sunrpc/xdr_intXX_t.c: Likewise.
51763 * sunrpc/xdr_mem.c: Likewise.
51764 * sunrpc/xdr_rec.c: Likewise.
51765 * sunrpc/xdr_ref.c: Likewise.
51766 * sunrpc/xdr_sizeof.c: Likewise.
51767 * sunrpc/xdr_stdio.c: Likewise.
51768
51769 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51770
51771 [BZ #12650]
51772 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51773 * sysdeps/ia64/dl-tls.h: Likewise.
51774 * sysdeps/powerpc/dl-tls.h: Likewise.
51775 * sysdeps/s390/dl-tls.h: Likewise.
51776 * sysdeps/sh/dl-tls.h: Likewise.
51777 * sysdeps/sparc/dl-tls.h: Likewise.
51778 * sysdeps/x86_64/dl-tls.h: Likewise.
51779 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51780
51781 2011-03-14 Andreas Schwab <schwab@redhat.com>
51782
51783 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51784 rpath element also skip the following colon.
51785 (expand_dynamic_string_token): Add is_path parameter and pass
51786 down to DL_DST_REQUIRED and _dl_dst_substitute.
51787 (decompose_rpath): Call expand_dynamic_string_token with
51788 non-zero is_path. Ignore empty rpaths.
51789 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51790 with zero is_path.
51791
51792 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51793
51794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51795 Make cancelable.
51796
51797 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51798
51799 [BZ #12655]
51800 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51801 Patch by Filipe David Manana <fdmanana@apache.org>.
51802
51803 2011-04-07 Andreas Schwab <schwab@redhat.com>
51804
51805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51806 Maintain aligned stack.
51807 (CHECK_RSP): Remove unused macro.
51808
51809 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51810
51811 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51812 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51813
51814 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51815
51816 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51817
51818 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51819
51820 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51821
51822 [BZ #12518]
51823 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51824 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51825 * sysdeps/x86_64/memmove.c: New file.
51826 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51827 (memcpy): Renamed to ...
51828 (__new_memcpy): This.
51829 (memcpy): Provide GLIBC_2_14 memcpy.
51830 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51831 (memcpy): Provide GLIBC_2_2_5 memcpy.
51832
51833 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51834
51835 [BZ #12631]
51836 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51837
51838 2011-03-30 Andreas Schwab <schwab@redhat.com>
51839
51840 * misc/syncfs.c: New file.
51841 * misc/Makefile (routines): Add syncfs.
51842 * posix/unistd.h: Declare syncfs.
51843 * sysdeps/unix/syscalls.list: Add syncfs.
51844
51845 2011-04-01 Andreas Schwab <schwab@redhat.com>
51846
51847 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51848 open_by_handle_at.
51849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51852 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51854 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51856
51857 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51858
51859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51861 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51862 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51863 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51866
51867 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51868 sync_file_range.c with -fexceptions.
51869 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51870 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51871 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51872 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51873 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51874 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51875 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51876 sync_file_range as cancellation point
51877 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51878 now a wrapper around __call_sync_file_range with cancellation handling.
51879 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51880 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51881 function name to __call_sync_file_range.
51882 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51883 Add call_sync_file_range.
51884
51885 2011-04-01 Andreas Schwab <schwab@redhat.com>
51886
51887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51888 bits/timex.h.
51889
51890 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51891
51892 * iconv/iconv.h: Fix typo in comment.
51893 * io/fcntl.h: Likewise.
51894 * libio/stdio.h: Likewise.
51895 * posix/spawn.h: Likewise.
51896 * posix/unistd.h: Likewise.
51897 * stdlib/stdlib.h: Likewise.
51898 * time/time.h: Likewise.
51899 * wcsmbs/wchar.h: Likewise.
51900
51901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51902 open_by_handle): Add.
51903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51904 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51905 Augment a few comments.
51906 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51908 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51911 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51912 open_by_handle.
51913
51914 * io/fcntl.h (AT_EMPTY_PATH): Define.
51915
51916 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51917
51918 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51919 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51920 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51921 to...
51922 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51923 * Versions.def: Add GLIBC_2.14.
51924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51925 Export.
51926
51927 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51928
51929 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51930 round counter.
51931 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51932
51933 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51934
51935 [BZ #12597]
51936 * string/test-strncmp.c (do_page_test): New function.
51937 (check2): Likewise.
51938 (test_main): Call check2.
51939 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51940
51941 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51942
51943 [BZ #12587]
51944 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51945 Handle cache information in CPU leaf 4.
51946 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51947
51948 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51949
51950 [BZ #12583]
51951 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51952 character representation.
51953 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51954
51955 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51956
51957 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51958 END(__isnan) to END(__isnanf) to match function entry point/label
51959 EALIGN(__isnanf,...).
51960
51961 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51962
51963 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51964
51965 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51966
51967 [BZ #12510]
51968 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51969 copy from the symbol referenced in the relocation to initialize the
51970 used variable.
51971 Patch by Piotr Bury <pbury@goahead.com>.
51972 * elf/Makefile: Add rules to build and tst-unique3.
51973 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51974 * elf/tst-unique3.cc: New file.
51975 * elf/tst-unique3.h: New file.
51976 * elf/tst-unique3lib.cc: New file.
51977 * elf/tst-unique3lib2.cc: New file.
51978
51979 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51980
51981 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51982
51983 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51984 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51985 to _start.
51986
51987 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51988
51989 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51990 to-be-loaded object along a path to loader is ld.so.
51991
51992 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51993 Ulrich Drepper <drepper@gmail.com>
51994
51995 * sysdeps/x86_64/memset.S: After aligning destination, code
51996 branches to different locations depending on the value of
51997 misalignment, when multiarch is enabled. Fix this.
51998
51999 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52000
52001 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52002 Set _x86_64_preferred_memory_instruction for AMD processsors.
52003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52004 Set bit_Prefer_SSE_for_memop for AMD processors.
52005
52006 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52007
52008 * libio/fmemopen.c (fmemopen): Optimize a bit.
52009
52010 2011-03-03 Andreas Schwab <schwab@redhat.com>
52011
52012 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52013
52014 2011-03-03 Roland McGrath <roland@redhat.com>
52015
52016 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52017
52018 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52019
52020 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52021 __bzero_ultra1 instead of __memset_ultra1.
52022
52023 2011-02-23 Andreas Schwab <schwab@redhat.com>
52024 Ulrich Drepper <drepper@gmail.com>
52025
52026 [BZ #12509]
52027 * include/link.h (struct link_map): Add l_orig_initfini.
52028 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52029 returning unsuccessfully.
52030 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52031 close of a file loaded at startup, restore the original l_initfini
52032 list.
52033 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52034 list, store the pointer.
52035 * elf/Makefile ($(objpfx)noload-mem): New rule.
52036 (noload-ENV): Define.
52037 (tests): Add $(objpfx)noload-mem.
52038 * elf/noload.c: Include <memcheck.h>.
52039 (main): Call mtrace. Close all opened handles.
52040
52041 2011-02-17 Andreas Schwab <schwab@redhat.com>
52042
52043 [BZ #12454]
52044 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52045 dependencies are missing.
52046
52047 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52048
52049 Fix __if_freereq crash: Unlike the generic version which uses free,
52050 Hurd needs munmap.
52051 * sysdeps/mach/hurd/ifreq.h: New file.
52052
52053 2011-01-27 Petr Baudis <pasky@suse.cz>
52054 Ulrich Drepper <drepper@gmail.com>
52055
52056 [BZ 12445]#
52057 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52058 to extend_alloca().
52059 * stdio-common/bug23.c: New file.
52060 * stdio-common/Makefile (tests): Add bug23.
52061
52062 2010-09-28 Andreas Schwab <schwab@redhat.com>
52063 Ulrich Drepper <drepper@gmail.com>
52064
52065 [BZ #12489]
52066 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52067 before performing relro protection. At old place add assertion
52068 to make sure nothing changed.
52069
52070 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52071 Glauber de Oliveira Costa <glommer@gmail.com>
52072
52073 * elf/elf.h: Add new ARM TLS relocs.
52074
52075 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52076
52077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52078 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52079 cast from r3.
52080 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52081 'tests' variable.
52082 * sysdeps/wordsize-64/tst-writev.c: New file.
52083
52084 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52085
52086 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52087 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52088 insns in _dl_start to prevent a TOC reference before relocs are
52089 resolved.
52090
52091 2011-02-15 Ulrich Drepper <drepper@gmail.com>
52092
52093 [BZ #12469]
52094 * Makeconfig: Remove RANLIB definition.
52095 * Makerules: Don't use RANLIB.
52096 * aclocal.m4: Remove ranlib test.
52097 * configure.in: No need to check for ranlib.
52098 * elf/rtld-Rules: Don't use RANLIB.
52099
52100 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52101
52102 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52103 protection macro.
52104 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52105 inclusion protection macro.
52106
52107 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52108 SIGRTMIN and SIGRTMAX and print information in that case only when
52109 SIGRTMIN is defined.
52110
52111 2011-02-11 Jakub Jelinek <jakub@redhat.com>
52112
52113 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52114 arginfo fn returning -1.
52115
52116 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52117 and thousands string is zero terminated.
52118
52119 2011-02-03 Andreas Schwab <schwab@redhat.com>
52120
52121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52122 sysdeps/unix/sysv/linux/bits/socket.h.
52123
52124 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52125
52126 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52127 (__CPU_COUNT): Remove old macros.
52128 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52129 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52130 (__CPU_ALLOC, __CPU_FREE): Add macros.
52131 (__sched_cpualloc, __sched_cpufree): Add declarations.
52132
52133 2011-02-05 Ulrich Drepper <drepper@gmail.com>
52134
52135 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52136 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52137 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52138 (readdhstai): Return value of addhstaiX call.
52139 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52140 (addgrbyX): Return value returned by cache_addgr.
52141 (readdgrbyname): Return value returned by addgrbyX.
52142 (readdgrbygid): Likewise.
52143 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52144 (addpwbyX): Return value returned by cache_addpw.
52145 (readdpwbyname): Return value returned by addhstbyX.
52146 (readdpwbyuid): Likewise.
52147 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52148 (addservbyX): Return value returned by cache_addserv.
52149 (readdservbyname): Return value returned by addservbyX:
52150 (readdservbyport): Likewise.
52151 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52152 (addhstbyX): Return value returned by cache_addhst.
52153 (readdhstbyname): Return value returned by addhstbyX.
52154 (readdhstbyaddr): Likewise.
52155 (readdhstbynamev6): Likewise.
52156 (readdhstbyaddrv6): Likewise.
52157 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52158 (readdinitgroups): Return value returned by addinitgroupsX.
52159 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52160 (prune_cache): Keep track of timeout value of re-added entries.
52161 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52162 * nscd/nscd.h: Adjust prototypes of readd* functions.
52163
52164 2011-02-04 Roland McGrath <roland@redhat.com>
52165
52166 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52167 (nis_stats): Likewise.
52168 * nis/nis_modify.c (nis_modify): Likewise.
52169 * nis/nis_remove.c (nis_remove): Likewise.
52170 * nis/nis_add.c (nis_add): Likewise.
52171
52172 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52173
52174 * posix/fnmatch_loop.c: Add some consts.
52175
52176 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52177
52178 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52179
52180 [BZ #12460]
52181 * config.make.in (config-cflags-novzeroupper): Define.
52182 * configure.in: Substitute libc_cv_cc_novzeroupper.
52183 * elf/Makefile (AVX-CFLAGS): Define.
52184 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52185 (CFLAGS-tst-auditmod4a.c): Likewise.
52186 (CFLAGS-tst-auditmod4b.c): Likewise.
52187 (CFLAGS-tst-auditmod6b.c): Likewise.
52188 (CFLAGS-tst-auditmod6c.c): Likewise.
52189 (CFLAGS-tst-auditmod7b.c): Likewise.
52190 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52191
52192 2011-02-02 Ulrich Drepper <drepper@gmail.com>
52193
52194 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52195 function to the callback.
52196 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52197
52198 2011-02-02 Andreas Schwab <schwab@redhat.com>
52199
52200 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52201 of errno.
52202
52203 2011-01-19 Ulrich Drepper <drepper@gmail.com>
52204
52205 [BZ #11724]
52206 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52207 of constructors.
52208 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52209 of destructors.
52210 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52211
52212 [BZ #11724]
52213 * elf/Makefile: Add rules to build and run new test.
52214 * elf/tst-initorder.c: New file.
52215 * elf/tst-initorder.exp: New file.
52216 * elf/tst-initordera1.c: New file.
52217 * elf/tst-initordera2.c: New file.
52218 * elf/tst-initordera3.c: New file.
52219 * elf/tst-initordera4.c: New file.
52220 * elf/tst-initorderb1.c: New file.
52221 * elf/tst-initorderb2.c: New file.
52222 * elf/tst-order-a1.c: New file.
52223 * elf/tst-order-a2.c: New file.
52224 * elf/tst-order-a3.c: New file.
52225 * elf/tst-order-a4.c: New file.
52226 * elf/tst-order-b1.c: New file.
52227 * elf/tst-order-b2.c: New file.
52228 * elf/tst-order-main.c: New file.
52229 New test case by George Gensure <werkt0@gmail.com>.
52230
52231 2010-10-01 Andreas Schwab <schwab@redhat.com>
52232
52233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52234 decoding ACE if AI_CANONIDN.
52235
52236 2011-01-18 Ulrich Drepper <drepper@gmail.com>
52237
52238 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52239
52240 2011-01-17 Ulrich Drepper <drepper@gmail.com>
52241
52242 * version.h (RELEASE): Bump for 2.13 release.
52243 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52244
52245 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52246
52247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52248 MADV_NOHUGEPAGE.
52249 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52251 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52253 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52254 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52255
52256 * posix/getconf.c: Update copyright year.
52257 * catgets/gencat.c: Likewise.
52258 * csu/version.c: Likewise.
52259 * debug/catchsegv.sh: Likewise.
52260 * debug/xtrace.sh: Likewise.
52261 * elf/ldconfig.c: Likewise.
52262 * elf/ldd.bash.in: Likewise.
52263 * elf/sprof.c (print_version): Likewise.
52264 * iconv/iconv_prog.c: Likewise.
52265 * iconv/iconvconfig.c: Likewise.
52266 * locale/programs/locale.c: Likewise.
52267 * locale/programs/localedef.c: Likewise.
52268 * malloc/memusage.sh: Likewise.
52269 * malloc/mtrace.pl: Likewise.
52270 * nscd/nscd.c (print_version): Likewise.
52271 * nss/getent.c: Likewise.
52272
52273 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52274 PF_CAIF, and PF_ALG.
52275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52276
52277 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52278
52279 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52280 (modules-names): Use them.
52281 (ifunc-test-modules, ifunc-pie-tests): Define.
52282 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52283 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52284 (test-extras): Likewise.
52285 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52286 $(compile-command.c).
52287 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52288 (all-built-dso): Define.
52289 (check-textrel.out, check-execstack.out): Depend on it.
52290
52291 * configure.in: Don't override --enable-multi-arch.
52292
52293 2011-01-15 Ulrich Drepper <drepper@gmail.com>
52294
52295 [BZ #6812]
52296 * nscd/hstcache.c (tryagain): Define.
52297 (cache_addhst): Return tryagain not notfound for temporary errors.
52298 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52299 failed.
52300
52301 2011-01-14 Ulrich Drepper <drepper@gmail.com>
52302
52303 [BZ #10563]
52304 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52305 to make the syscall.
52306 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52307
52308 [BZ #12378]
52309 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52310 and fall back to matching as normal character if the string ends before
52311 the matching ']' is found. This is what POSIX requires.
52312 * posix/testfnm.c: Adjust test result.
52313 * posix/globtest.sh: Adjust test result. Add new test.
52314 * posix/tst-fnmatch.input: Likewise.
52315 * posix/tst-fnmatch2.c: Add new test.
52316
52317 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52318
52319 * elf/Makefile (check-execstack): Revert last change. Depend on
52320 check-execstack.h.
52321 (check-execstack.h): New target.
52322 (generated): Add check-execstack.h.
52323 * elf/check-execstack.c: Include "check-execstack.h".
52324 (main): Revert last change.
52325 (handle_file): Return zero if GNU_STACK is absent and
52326 DEFAULT_STACK_PERMS doesn't include PF_X.
52327
52328 2011-01-13 Ulrich Drepper <drepper@gmail.com>
52329
52330 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52331 in child fails because the descriptor is already closed.
52332 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52333 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52334 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52335
52336 [BZ #12397]
52337 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52338 syscall.
52339
52340 [BZ #10484]
52341 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52342 temporary buffer used to handle multi lookups locally.
52343 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52344
52345 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52346
52347 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52348 loader is ld.so.
52349
52350 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52351
52352 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52353 alignment for SSE2.
52354
52355 2011-01-12 Ulrich Drepper <drepper@gmail.com>
52356
52357 [BZ #12394]
52358 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52359 characters. When rounding increased number of integer digits recompute
52360 number of groups.
52361 * stdio-common/tst-grouping.c: New file.
52362 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52363
52364 2011-01-09 Ulrich Drepper <drepper@gmail.com>
52365
52366 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52367 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52368
52369 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52370 void.
52371 * bits/select.h: Likewise.
52372
52373 2011-01-08 Ulrich Drepper <drepper@gmail.com>
52374
52375 * po/ja.po: Update from translation team.
52376
52377 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
52378
52379 [BZ #11155]
52380 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52381 implementation just like for lxstat, fxstatat, et al.
52382
52383 2010-12-27 Jim Meyering <meyering@redhat.com>
52384
52385 [BZ #12348]
52386 * posix/regexec.c (build_trtable): Return failure indication upon
52387 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52388
52389 2010-12-25 Ulrich Drepper <drepper@gmail.com>
52390
52391 [BZ #12201]
52392 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52393 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52394 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52395 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52396
52397 [BZ #12207]
52398 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52399
52400 [BZ #12204]
52401 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52402 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52403
52404 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52405
52406 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52407 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52408 script has SORT_BY_INIT_PRIORITY.
52409 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52410 NO_CTORS_DTORS_SECTIONS is defined.
52411 * elf/soinit.c: Likewise.
52412 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52413 NO_CTORS_DTORS_SECTIONS is defined.
52414 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52415 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52416 * sysdeps/sh/init-first.c: Likewise.
52417 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52418
52419 2010-12-24 Ulrich Drepper <drepper@gmail.com>
52420
52421 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52422 always use the slow path.
52423
52424 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52425
52426 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52427 similar rule which adds the sysdep directories to the header search in
52428 order to pick up the correct platform stackinfo.h.
52429 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52430 perform test if it is, otherwise return successfully without testing.
52431 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52432 DEFAULT_STACK_PERMS define in stackinfo.h.
52433 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52434 defined in stackinfo.h.
52435 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52436 DEFAULT_STACK_PERMS defined in stackinfo.h.
52437 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52438 * sysdeps/ia64/stackinfo.h: Likewise.
52439 * sysdeps/s390/stackinfo.h: Likewise.
52440 * sysdeps/sh/stackinfo.h: Likewise.
52441 * sysdeps/sparc/stackinfo.h: Likewise.
52442 * sysdeps/x86_64/stackinfo.h: Likewise.
52443 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52444 PF_X for powerpc64. Retain PF_X for powerpc32.
52445
52446 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52447
52448 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52449 accurately.
52450 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52451 GETDENTS_64BIT_ALIGNED.
52452
52453 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52454
52455 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52456
52457 2010-12-10 Andreas Schwab <schwab@redhat.com>
52458
52459 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52460 _GNU_SOURCE.
52461
52462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52463 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52464 Remove __restrict.
52465 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52466 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52467
52468 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52469
52470 [BZ #11655]
52471 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52472 are initialized.
52473
52474 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52475
52476 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52477
52478 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52479
52480 * po/it.po: Update from translation team.
52481
52482 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52483
52484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52485 unused codes.
52486
52487 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52488
52489 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52490
52491 2010-11-24 Andreas Schwab <schwab@redhat.com>
52492
52493 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52494 specially.
52495 (gaih_getanswer_slice): Likewise.
52496
52497 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52498
52499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52500
52501 2010-05-31 Petr Baudis <pasky@suse.cz>
52502
52503 [BZ #11149]
52504 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52505 silently even in the chroot mode.
52506
52507 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52508
52509 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52510 last patch a bit. Pretty printing
52511
52512 2010-05-31 Petr Baudis <pasky@suse.cz>
52513
52514 [BZ #10085]
52515 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52516 initialization of skip_initgroups_dyn.
52517
52518 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52519
52520 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52522
52523 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52524
52525 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52526
52527 2010-11-11 Andreas Schwab <schwab@redhat.com>
52528
52529 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52530 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52531 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52532 ($(objpfx)tst-fnmatch-mem): New rule.
52533 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52534 * posix/tst-fnmatch.c (main): Call mtrace.
52535
52536 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52537
52538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52539 Support Intel processor model 6 and model 0x2c.
52540
52541 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52542
52543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52544 signed comparison.
52545
52546 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52547
52548 [BZ #12205]
52549 * string/test-strncasecmp.c (check_result): New function.
52550 (do_one_test): Use it.
52551 (check1): New function.
52552 (test_main): Use it.
52553 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52554 Support strcasecmp and strncasecmp.
52555
52556 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52557
52558 [BZ #12194]
52559 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52561
52562 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52563
52564 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52565 IFUNC support.
52566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52567 memset-x86-64.
52568 * sysdeps/x86_64/multiarch/bzero.S: New file.
52569 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52570 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52571 * sysdeps/x86_64/multiarch/memset.S: New file.
52572 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52574 Set bit_Prefer_SSE_for_memop for Intel processors.
52575 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52576 Define.
52577 (index_Prefer_SSE_for_memop): Define.
52578 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52579
52580 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52581
52582 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52583 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52584
52585 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52586
52587 [BZ #12191]
52588 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52589 (__x86_64_raw_data_cache_size_half): Likewise.
52590 (__x86_64_raw_shared_cache_size): Likewise.
52591 (__x86_64_raw_shared_cache_size_half): Likewise.
52592
52593 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52594 (__x86_64_raw_data_cache_size_half): Likewise.
52595 (__x86_64_raw_shared_cache_size): Likewise.
52596 (__x86_64_raw_shared_cache_size_half): Likewise.
52597 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52598 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52599 and __x86_64_raw_shared_cache_size_half. Round
52600 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52601 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52602 to multiple of 256 bytes.
52603
52604 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52605
52606 [BZ #12167]
52607 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52608 of inacessible symlinks. Verify result of symlink before returning it.
52609 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52610 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52611
52612 2010-10-28 Erich Ritz <erichritz@gmail.com>
52613
52614 * math/math.h (isinf): Fix typo in comment.
52615
52616 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52617
52618 * po/da.po: Update from translation team.
52619
52620 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52621
52622 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52623 is added to the list.
52624
52625 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52626 Ulrich Drepper <drepper@gmail.com>
52627
52628 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52629 the global list here. Move code to...
52630 (_dl_add_to_namespace_list): ...here. New function.
52631 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52632 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52633 * elf/dl-load.c (lose): Don't remove the element from the list.
52634 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52635 (_dl_map_object): Likewise.
52636
52637 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52638
52639 [BZ #12159]
52640 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52641 into all bytes of SSE register.
52642 Patch by Richard Li <richardpku@gmail.com>.
52643
52644 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52645
52646 [BZ #12140]
52647 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52648 perturbing.
52649
52650 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52651
52652 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52653 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52655 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52657 submachine.
52658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52659
52660 2010-10-22 Andreas Schwab <schwab@redhat.com>
52661
52662 * include/dlfcn.h (__RTLD_SECURE): Define.
52663 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52664 mode & __RTLD_SECURE instead.
52665 (open_path): Rename preloaded parameter to secure.
52666 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52667 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52668 * elf/dl-deps.c (openaux): Likewise.
52669 * elf/rtld.c (struct map_args): Remove is_preloaded.
52670 (map_doit): Don't use it.
52671 (dl_main): Likewise.
52672 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52673 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52674
52675 2010-09-09 Andreas Schwab <schwab@redhat.com>
52676
52677 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52678 (sysd-rules-targets): Remove duplicates.
52679 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52680 rtld-%.$o dependency.
52681
52682 2010-10-18 Andreas Schwab <schwab@redhat.com>
52683
52684 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52685 _dl_map_object do it.
52686
52687 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52688
52689 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52690 fast fma builtins, define the macros in the C99 standard.
52691 (FP_FAST_FMAF): Likewise.
52692 (FP_FAST_FMAL): Likewise.
52693 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52694
52695 * bits/mathdef.h: Update copyright year.
52696 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52697
52698 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52699
52700 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52701 builtins, define the macros in the C99 standard.
52702 (FP_FAST_FMAF): Likewise.
52703 (FP_FAST_FMAL): Likewise.
52704 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52705 multiply/add.
52706 (FP_FAST_FMAF): Likewise.
52707
52708 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52709
52710 [BZ #3268]
52711 * math/libm-test.inc (fma_test): Some new testcases.
52712 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52713 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52714 y and infinite z. Do multiplication by C already in long double.
52715 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52717 y and infinite z. Do bitwise or of inexact bit into u.d.
52718 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52719 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52720 * sysdeps/i386/fpu/s_fma.S: Removed.
52721 * sysdeps/i386/fpu/s_fmal.S: Removed.
52722
52723 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52724
52725 [BZ #3268]
52726 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52728 computation is not scheduled after fetestexcept. Fix value
52729 of minimum denormal long double.
52730
52731 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52732
52733 [BZ #3268]
52734 * math/libm-test.inc (fma_test): Add some more tests.
52735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52736 correctly.
52737
52738 2010-10-15 Andreas Schwab <schwab@redhat.com>
52739
52740 * scripts/data/localplt-s390-linux-gnu.data: New file.
52741 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52742
52743 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52744
52745 [BZ #3268]
52746 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52747 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52748 instead of dbl-64.
52749 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52750 inlines.
52751 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52752 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52753 if one of x and y is very large and the other is subnormal.
52754 * sysdeps/s390/fpu/s_fmaf.c: New file.
52755 * sysdeps/s390/fpu/s_fma.c: New file.
52756 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52757 * sysdeps/powerpc/fpu/s_fma.S: New file.
52758 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52759 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52760 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52761
52762 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52763
52764 [BZ #3268]
52765 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52766 fma tests.
52767 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52768 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52769 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52770 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52771 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52772 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52773 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52774
52775 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52776
52777 [BZ #12078]
52778 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52779 * posix/bug-regex31.input: Add test case.
52780
52781 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52782
52783 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52784 * posix/bug-regex31.input: New file.
52785
52786 [BZ #12078]
52787 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52788 (parse_sub_exp): Fix last change, use postorder.
52789
52790 * posix/bug-regex31.c: New file.
52791 * posix/Makefile: Add rules to build and run bug-regex31.
52792
52793 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52794
52795 [BZ #12078]
52796 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52797
52798 [BZ #12108]
52799 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52800 to have entries in sys_siglist.
52801
52802 [BZ #12093]
52803 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52804 be NULL.
52805
52806 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52807
52808 [BZ #3268]
52809 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52810 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52811 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52812 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52813 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52814 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52815 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52816 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52817 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52818 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52819 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52820 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52821 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52822 * math/ftestexcept.c (fetestexcept): Likewise.
52823 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52824 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52825 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52826 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52827 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52828 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52829 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52830
52831 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52832
52833 [BZ #12107]
52834 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52835 newline.
52836
52837 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52838
52839 * string/bug-strstr1.c: New file.
52840 * string/Makefile: Add rules to build and run bug-strstr1.
52841
52842 2010-10-05 Eric Blake <eblake@redhat.com>
52843
52844 [BZ #12092]
52845 * string/str-two-way.h (two_way_long_needle): Always clear memory
52846 when skipping input due to the shift table.
52847
52848 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52849
52850 [BZ #12005]
52851 * malloc/mcheck.c: Handle large requests.
52852
52853 [BZ #12077]
52854 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52855 for strncmp and strncasecmp.
52856 * string/stratcliff.c: Add tests for strcmp and strncmp.
52857 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52858
52859 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52860
52861 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52862 __set_fpscr.
52863
52864 2010-09-30 Andreas Jaeger <aj@suse.de>
52865
52866 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52867 (CGROUP_SUPER_MAGIC): Define.
52868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52869 Handle btrfs and cgroup file systems.
52870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52871 Likewise.
52872
52873 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52874
52875 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52876 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52877
52878 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52879
52880 [BZ #12067]
52881 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52882 trying to locate the ELF header.
52883
52884 2010-09-27 Andreas Schwab <schwab@redhat.com>
52885
52886 [BZ #11611]
52887 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52888 Mask out sign-bit copies when constructing f_fsid.
52889
52890 2010-09-24 Petr Baudis <pasky@suse.cz>
52891
52892 * debug/stack_chk_fail_local.c: Add missing licence exception.
52893 * debug/warning-nop.c: Likewise.
52894
52895 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52896
52897 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52898 implementing getdents64 using getdents syscall, set d_type if
52899 __ASSUME_GETDENTS32_D_TYPE.
52900
52901 2010-09-16 Andreas Schwab <schwab@redhat.com>
52902
52903 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52904 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52905
52906 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52907
52908 [BZ #12037]
52909 * posix/unistd.h: Undo change of feature selection for ftruncate from
52910 2010-01-11.
52911
52912 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52913
52914 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52915 detection.
52916
52917 2010-09-20 Andreas Schwab <schwab@redhat.com>
52918
52919 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52920 fanotify_mark.
52921 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52922
52923 2010-09-14 Andreas Schwab <schwab@redhat.com>
52924
52925 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52926 variables after CHECK_SP call.
52927 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52928
52929 2010-09-13 Andreas Schwab <schwab@redhat.com>
52930 Ulrich Drepper <drepper@redhat.com>
52931
52932 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52933 re-relocationg ld.so.
52934 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52935 _dl_init_paths call.
52936 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52937 here anymore.
52938
52939 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52940
52941 * resolv/res_init.c (__res_vinit): Count the default server we added.
52942
52943 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52944 Ulrich Drepper <drepper@redhat.com>
52945
52946 [BZ #11968]
52947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52948 (____longjmp_chk): Use %ebx for saving value across system call.
52949 Add unwind info.
52950
52951 2010-09-06 Andreas Schwab <schwab@redhat.com>
52952
52953 * manual/Makefile: Don't mix pattern rules with normal rules.
52954
52955 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52956
52957 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52958 operation.
52959 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52960 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52961 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52962 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52964 Likewise.
52965
52966 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52967
52968 [BZ #11979]
52969 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52970 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52971
52972 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52973
52974 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52975 * sysdeps/x86_64/addmul_1.S: Likewise.
52976 * sysdeps/x86_64/lshift.S: Likewise.
52977 * sysdeps/x86_64/mul_1.S: Likewise.
52978 * sysdeps/x86_64/rshift.S: Likewise.
52979 * sysdeps/x86_64/sub_n.S: Likewise.
52980 * sysdeps/x86_64/submul_1.S: Likewise.
52981
52982 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52983
52984 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52985 Define __sched_param instead of SCHED_* and sched_param when
52986 <bits/sched.h> is included with __need_schedparam defined.
52987 * bits/sched.h [__need_schedparam]
52988 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52989 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52990 (__defined_schedparam): Define to 1.
52991 (__sched_param): New structure, identical to sched_param.
52992 (__need_schedparam): Undefine.
52993
52994 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52995
52996 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52997 (epoll_create1): Declare.
52998
52999 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53000
53001 2010-08-31 Andreas Schwab <schwab@redhat.com>
53002
53003 [BZ #7066]
53004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53005 shifting retval into place.
53006
53007 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53008
53009 * nis/rpcsvc/nis.h: Update copyright notice.
53010 * nis/rpcsvc/nis.x: Likewise.
53011 * nis/rpcsvc/nis_callback.h: Likewise.
53012 * nis/rpcsvc/nis_callback.x: Likewise.
53013 * nis/rpcsvc/nis_object.x: Likewise.
53014 * nis/rpcsvc/nis_tags.h: Likewise.
53015 * nis/rpcsvc/yp.h: Likewise.
53016 * nis/rpcsvc/yp.x: Likewise.
53017 * nis/rpcsvc/ypupd.h: Likewise.
53018 * nis/yp_xdr.c: Likewise.
53019 * nis/ypupdate_xdr.c: Likewise.
53020
53021 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53022 mainly the body of pmap_getport. Add parameters to specify timeouts.
53023 (pmap_getport): Use __libc_rpc_getport.
53024 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53025 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53026 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53027
53028 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53029
53030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53031 fanotify_mark.
53032
53033 2010-08-27 Roland McGrath <roland@redhat.com>
53034
53035 * sysdeps/i386/i686/multiarch/Makefile
53036 (CFLAGS-varshift.c): New variable.
53037
53038 2010-08-27 Ulrich Drepper <drepper@redhat.com>
53039
53040 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53041 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53042
53043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53044
53045 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53046
53047 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53048
53049 * sysdeps/x86_64/strlen.S: Unroll the loop.
53050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53051 strlen-sse2 strlen-sse2-bsf.
53052 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53053 __strlen_no_bsf if bit_Slow_BSF is set.
53054 (__strlen_sse42): Removed.
53055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53056 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53057
53058 2010-08-25 Roland McGrath <roland@redhat.com>
53059
53060 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53061 * sysdeps/x86_64/multiarch/varshift.c: New file.
53062 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53063 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53064 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53065 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53066
53067 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53068
53069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53070 strlen-sse2 strlen-sse2-bsf.
53071 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53072 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53073 (__strlen_sse2): Removed.
53074 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53077 bit_Slow_BSF for Atom.
53078 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53079 (index_Slow_BSF): Define.
53080 (HAS_SLOW_BSF): Define.
53081
53082 2010-08-25 Ulrich Drepper <drepper@redhat.com>
53083
53084 [BZ #10851]
53085 * resolv/res_init.c (__res_vinit): When no server address at all
53086 is given default to loopback.
53087
53088 2010-08-24 Roland McGrath <roland@redhat.com>
53089
53090 * configure.in: Remove config-name.h generation.
53091 * configure: Regenerated.
53092 * config-name.in: File removed.
53093 * scripts/config-uname.sh: New file.
53094 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53095 ($(objdir)config-name.h): New target.
53096
53097 * sunrpc/rpc_parse.h: Avoid nested comment.
53098
53099 2010-08-24 Richard Henderson <rth@redhat.com>
53100 Ulrich Drepper <drepper@redhat.com>
53101 H.J. Lu <hongjiu.lu@intel.com>
53102
53103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53105 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53106 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53107 _mm_alignr_epi8 with _mm_loadu_si128.
53108 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53109 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53110 (__m128i_shift_right): Removed.
53111 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53112 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53113 * sysdeps/x86_64/multiarch/varshift.h: New file.
53114 * sysdeps/x86_64/multiarch/varshift.S: New file.
53115
53116 2010-08-21 Mike Frysinger <vapier@gentoo.org>
53117
53118 * configure.in: Move assembler checks to before sysdep dir checking.
53119
53120 2010-08-20 Petr Baudis <pasky@suse.cz>
53121
53122 * LICENSES: Sync the sunrpc license.
53123
53124 2010-08-19 Ulrich Drepper <drepper@redhat.com>
53125
53126 * sunrpc/auth_des.c: Update copyright notice once again.
53127 * sunrpc/auth_none.c: Likewise.
53128 * sunrpc/auth_unix.c: Likewise.
53129 * sunrpc/authdes_prot.c: Likewise.
53130 * sunrpc/authuxprot.c: Likewise.
53131 * sunrpc/bindrsvprt.c: Likewise.
53132 * sunrpc/clnt_gen.c: Likewise.
53133 * sunrpc/clnt_perr.c: Likewise.
53134 * sunrpc/clnt_raw.c: Likewise.
53135 * sunrpc/clnt_simp.c: Likewise.
53136 * sunrpc/clnt_tcp.c: Likewise.
53137 * sunrpc/clnt_udp.c: Likewise.
53138 * sunrpc/clnt_unix.c: Likewise.
53139 * sunrpc/des_crypt.c: Likewise.
53140 * sunrpc/des_soft.c: Likewise.
53141 * sunrpc/get_myaddr.c: Likewise.
53142 * sunrpc/getrpcport.c: Likewise.
53143 * sunrpc/key_call.c: Likewise.
53144 * sunrpc/key_prot.c: Likewise.
53145 * sunrpc/openchild.c: Likewise.
53146 * sunrpc/pm_getmaps.c: Likewise.
53147 * sunrpc/pm_getport.c: Likewise.
53148 * sunrpc/pmap_clnt.c: Likewise.
53149 * sunrpc/pmap_prot.c: Likewise.
53150 * sunrpc/pmap_prot2.c: Likewise.
53151 * sunrpc/pmap_rmt.c: Likewise.
53152 * sunrpc/rpc/auth.h: Likewise.
53153 * sunrpc/rpc/auth_unix.h: Likewise.
53154 * sunrpc/rpc/clnt.h: Likewise.
53155 * sunrpc/rpc/des_crypt.h: Likewise.
53156 * sunrpc/rpc/key_prot.h: Likewise.
53157 * sunrpc/rpc/netdb.h: Likewise.
53158 * sunrpc/rpc/pmap_clnt.h: Likewise.
53159 * sunrpc/rpc/pmap_prot.h: Likewise.
53160 * sunrpc/rpc/pmap_rmt.h: Likewise.
53161 * sunrpc/rpc/rpc.h: Likewise.
53162 * sunrpc/rpc/rpc_des.h: Likewise.
53163 * sunrpc/rpc/rpc_msg.h: Likewise.
53164 * sunrpc/rpc/svc.h: Likewise.
53165 * sunrpc/rpc/svc_auth.h: Likewise.
53166 * sunrpc/rpc/types.h: Likewise.
53167 * sunrpc/rpc/xdr.h: Likewise.
53168 * sunrpc/rpc_clntout.c: Likewise.
53169 * sunrpc/rpc_cmsg.c: Likewise.
53170 * sunrpc/rpc_common.c: Likewise.
53171 * sunrpc/rpc_cout.c: Likewise.
53172 * sunrpc/rpc_dtable.c: Likewise.
53173 * sunrpc/rpc_hout.c: Likewise.
53174 * sunrpc/rpc_main.c: Likewise.
53175 * sunrpc/rpc_parse.c: Likewise.
53176 * sunrpc/rpc_parse.h: Likewise.
53177 * sunrpc/rpc_prot.c: Likewise.
53178 * sunrpc/rpc_sample.c: Likewise.
53179 * sunrpc/rpc_scan.c: Likewise.
53180 * sunrpc/rpc_scan.h: Likewise.
53181 * sunrpc/rpc_svcout.c: Likewise.
53182 * sunrpc/rpc_tblout.c: Likewise.
53183 * sunrpc/rpc_util.c: Likewise.
53184 * sunrpc/rpc_util.h: Likewise.
53185 * sunrpc/rpcinfo.c: Likewise.
53186 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53187 * sunrpc/rpcsvc/key_prot.x: Likewise.
53188 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53189 * sunrpc/rpcsvc/mount.x: Likewise.
53190 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53191 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53192 * sunrpc/rpcsvc/rex.x: Likewise.
53193 * sunrpc/rpcsvc/rstat.x: Likewise.
53194 * sunrpc/rpcsvc/rusers.x: Likewise.
53195 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53196 * sunrpc/rpcsvc/spray.x: Likewise.
53197 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53198 * sunrpc/rtime.c: Likewise.
53199 * sunrpc/svc.c: Likewise.
53200 * sunrpc/svc_auth.c: Likewise.
53201 * sunrpc/svc_authux.c: Likewise.
53202 * sunrpc/svc_raw.c: Likewise.
53203 * sunrpc/svc_run.c: Likewise.
53204 * sunrpc/svc_simple.c: Likewise.
53205 * sunrpc/svc_tcp.c: Likewise.
53206 * sunrpc/svc_udp.c: Likewise.
53207 * sunrpc/svc_unix.c: Likewise.
53208 * sunrpc/svcauth_des.c: Likewise.
53209 * sunrpc/xcrypt.c: Likewise.
53210 * sunrpc/xdr.c: Likewise.
53211 * sunrpc/xdr_array.c: Likewise.
53212 * sunrpc/xdr_float.c: Likewise.
53213 * sunrpc/xdr_mem.c: Likewise.
53214 * sunrpc/xdr_rec.c: Likewise.
53215 * sunrpc/xdr_ref.c: Likewise.
53216 * sunrpc/xdr_sizeof.c: Likewise.
53217 * sunrpc/xdr_stdio.c: Likewise.
53218
53219 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53220 handling.
53221
53222 2010-08-19 Andreas Schwab <schwab@redhat.com>
53223
53224 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53225
53226 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
53227
53228 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53229 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53230 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53231 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53232 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53233 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53234 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53235 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53236 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53237 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53238 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53239 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53240 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53241 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53242
53243 2010-07-26 Anton Blanchard <anton@samba.org>
53244
53245 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53246 * malloc/arena.c (heap_trim): Likewise.
53247
53248 2010-08-16 Ulrich Drepper <drepper@redhat.com>
53249
53250 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53251 here. Not...
53252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53253 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53254
53255 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53256
53257 * sysdeps/i386/elf/Makefile: New file.
53258
53259 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53260
53261 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53262 from fanotify_init.
53263 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53265
53266 2010-08-15 Ulrich Drepper <drepper@redhat.com>
53267
53268 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53269 of strncasecmp_l.
53270 * sysdeps/multiarch/strcmp.S: Likewise.
53271
53272 2010-08-14 Ulrich Drepper <drepper@redhat.com>
53273
53274 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53275 strncase_l-nonascii.
53276 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53277 Add strncase_l-ssse3.
53278 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53279 * sysdeps/x86_64/strcmp.S: Likewise.
53280 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53281 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53282 * sysdeps/x86_64/strncase.S: New file.
53283 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53284 * sysdeps/x86_64/strncase_l.S: New file.
53285 * string/Makefile (strop-tests): Add strncasecmp.
53286 * string/test-strncasecmp.c: New file.
53287
53288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53289 warning.
53290
53291 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53292 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53293
53294 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53295
53296 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53297
53298 2010-08-12 Ulrich Drepper <drepper@redhat.com>
53299
53300 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53301 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53302 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53303
53304 2010-05-01 Alan Modra <amodra@gmail.com>
53305
53306 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53307 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53308 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53309 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53310 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53311 tidying. Don't tail-call __sigjmp_save for static lib.
53312 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53313 save location.
53314 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53315 (CALL_MCOUNT): Add eh info, and nop after bl.
53316 (TAIL_CALL_SYSCALL_ERROR): New macro.
53317 (PSEUDO_RET): Use it.
53318 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53319 Correct save location of integer regs and cr.
53320 (_dl_profile_resolve): Correct cr save location. Delete nops
53321 after bl when SHARED. Reduce cfi size a little by better
53322 placement of cfi directives.
53323 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53324 make a stack frame. Instead use parm save area as a temp.
53325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53326 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53328 Don't make a stack frame for parent, use parm save area.
53329 Increase child stack frame to 112 bytes. Don't save unused reg,
53330 and adjust reg usage. Set up cfi on error recovery and
53331 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53333 (__makecontext): Add dummy nop after jump to exit.
53334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53335 Use correct parm save area and cr save, reduce stack frame.
53336 Correct cfi for possible PSEUDO_RET frame setup.
53337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53338 Branch to local label emitted by PSEUDO_RET rather than
53339 __syscall_error.
53340
53341 2010-08-12 Andreas Schwab <schwab@redhat.com>
53342
53343 [BZ #11904]
53344 * locale/programs/locale.c (print_assignment): New function.
53345 (show_locale_vars): Use it.
53346
53347 2010-08-11 Ulrich Drepper <drepper@redhat.com>
53348
53349 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53350 field.
53351 (struct statfs64): Likewise.
53352 (_STATFS_F_FLAGS): Define.
53353 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53355 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53356 (ST_VALID): Define locally.
53357 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53358 __statvfs_getflags, use the provided value.
53359 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53360 __ASSUME_STATFS_F_FLAGS.
53361
53362 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53363
53364 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53365 Add sys/fanotify.h.
53366 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53367 fanotify_mask for GLIBC_2.13.
53368 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53369 fanotify_init and fanotify_mark.
53370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53371 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53372
53373 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53374 Add prlimit.
53375 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53376 prlimit64 for GLIBC_2.13.
53377 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53378 prlimit64.
53379 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53380 syscall.
53381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53383 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53384 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53385 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53386 add prlimit alias.
53387 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53388
53389 [BZ #11903]
53390 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53391 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53392
53393 * nss/Makefile: Add rules to build and run tst-nss-test1.
53394 * shlib-versions: Add entry for libnss_test1.
53395 * nss/nss_test1.c: New file.
53396 * nss/tst-nss-test1.c: New file.
53397
53398 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53399 (__nss_configure_lookup): Set appropriate entry in
53400 __nss_configure_lookup to true.
53401 * nss/nsswitch.h: Define enum with indeces of databases in
53402 databases and __nss_database_custom arrays. Declare
53403 __nss_database_custom.
53404 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53405 to avoid using nscd when custom rules are installed.
53406 * nss/getXXbyYY_r.c: Likewise.
53407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53408
53409 * nss/nss_files/files-parse.c: Whitespace fixes.
53410
53411 2010-08-09 Ulrich Drepper <drepper@redhat.com>
53412
53413 [BZ #11883]
53414 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53415 * posix/fnmatch_loop.c: Likewise.
53416
53417 2010-07-17 Andi Kleen <ak@linux.intel.com>
53418
53419 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53420 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53421 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53422 * Versions.def [GLIBC_2.13]: Add.
53423
53424 2010-08-06 Ulrich Drepper <drepper@redhat.com>
53425
53426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53427 Also fail if tpwd after pwuid call is NULL.
53428
53429 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53430
53431 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53432 when converting to ms.
53433
53434 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53435
53436 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53437 EOPNOTSUPP errors with ENOTTY.
53438 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53439 EOPNOTSUPP errors with ENOTTY.
53440
53441 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53442
53443 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53444 Add strcasecmp_l-ssse3.
53445 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53446 strcasecmp.
53447 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53448 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53449 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53450
53451 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53452
53453 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53454
53455 * string/Makefile (strop-tests): Add strcasecmp.
53456 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53457 strcasecmp_l-nonascii.
53458 (gen-as-const-headers): Add locale-defines.sym.
53459 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53460 * sysdeps/x86_64/strcasecmp.S: New file.
53461 * sysdeps/x86_64/strcasecmp_l.S: New file.
53462 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53463 * sysdeps/x86_64/locale-defines.sym: New file.
53464 * string/test-strcasecmp.c: New file.
53465
53466 * string/test-strcasestr.c: Test both ends of the range of characters.
53467 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53468
53469 2010-07-29 Roland McGrath <roland@redhat.com>
53470
53471 [BZ #11856]
53472 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53473
53474 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53475
53476 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53477 for ld.so.
53478
53479 2010-07-27 Andreas Schwab <schwab@redhat.com>
53480
53481 * manual/memory.texi (Malloc Tunable Parameters): Document
53482 M_PERTURB.
53483
53484 2010-07-26 Roland McGrath <roland@redhat.com>
53485
53486 [BZ #11840]
53487 * configure.in (-fgnu89-inline check): Set and substitute
53488 gnu89_inline, not libc_cv_gnu89_inline.
53489 * configure: Regenerated.
53490 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53491
53492 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53493
53494 * string/test-strnlen.c: New file.
53495 * string/Makefile (strop-tests): Add strnlen.
53496 * string/tester.c (test_strnlen): Add a few more test cases.
53497 * string/tst-strlen.c: Better error reporting.
53498
53499 * sysdeps/x86_64/strnlen.S: New file.
53500
53501 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53502
53503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53504 lower-latency instructions.
53505
53506 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53507
53508 * string/test-strcasestr.c: New file.
53509 * string/test-strstr.c: New file.
53510 * string/Makefile (strop-tests): Add strstr and strcasestr.
53511 * string/str-two-way.h: Don't undefine MAX.
53512 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53513
53514 2010-07-21 Andreas Schwab <schwab@redhat.com>
53515
53516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53517 strcasestr-nonascii.
53518 (CFLAGS-strcasestr-nonascii.c): Define.
53519 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53521 Remove unused attribute.
53522
53523 2010-07-20 Roland McGrath <roland@redhat.com>
53524
53525 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53526 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53527 ld.so.cache was broken. With it, there is no way to disable dsocaps
53528 like LD_HWCAP_MASK can disable hwcaps.
53529
53530 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53531
53532 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53533
53534 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53535
53536 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53537 call in strcasestr.
53538 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53539 __strcasestr_sse42_nonascii.
53540 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53541 strcasestr-nonascii.c.
53542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53543
53544 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53545
53546 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53547 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53548 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53549 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53550
53551 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53552
53553 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53554 fcntl.
53555
53556 2010-07-06 Andreas Schwab <schwab@redhat.com>
53557
53558 [BZ #11577]
53559 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53560 dl_signal_cerror.
53561
53562 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53563
53564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53565 _PC_PIPE_BUF using F_GETPIPE_SZ.
53566
53567 2010-07-05 Roland McGrath <roland@redhat.com>
53568
53569 * manual/arith.texi (Rounding Functions): Fix rint description
53570 implicit in round description.
53571
53572 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53573
53574 * elf/Makefile: Fix linking for a few tests to make recent linker
53575 happy.
53576
53577 2010-06-30 Andreas Schwab <schwab@redhat.com>
53578
53579 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53580 $(common-objpfx)libc_nonshared.a.
53581
53582 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53583
53584 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53585 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53586 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53587 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53588 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53589 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53590 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53591 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53606 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53607 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53608 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53609 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53610 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53611 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53612 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53613 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53614 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53615 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53616 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53617 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53632
53633 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53634
53635 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53636 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53637 * string/memmove.c (memmove): Renamed to ...
53638 (MEMMOVE): ...this. Default to memmove.
53639 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53640 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53641 (END_CHK): Define.
53642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53643 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53644 mempcpy-ssse3-back memmove-ssse3-back.
53645 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53647 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53648 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53649 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53650 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53651 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53652 * sysdeps/x86_64/multiarch/memmove.c: New file.
53653 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53654 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53655 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53656 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53657 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53659 Define.
53660 (index_Fast_Copy_Backward): Define.
53661 (HAS_ARCH_FEATURE): Define.
53662 (HAS_FAST_REP_STRING): Define.
53663 (HAS_FAST_COPY_BACKWARD): Define.
53664
53665 2010-06-21 Andreas Schwab <schwab@redhat.com>
53666
53667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53668 Restore proper fallback handling.
53669
53670 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53671
53672 [BZ #11701]
53673 * posix/group_member.c (__group_member): Correct checking loop.
53674
53675 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53676 OOM in getpwuid_r correctly. Return error number when the caller
53677 should return, otherwise -1.
53678 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53679 call returning > 0 value.
53680 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53681
53682 2010-06-07 Andreas Schwab <schwab@redhat.com>
53683
53684 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53685 libc_nonshared.a from targets in modules-names.
53686
53687 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53688
53689 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53690 requires it.
53691
53692 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53693
53694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53695 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53697 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53698
53699 2010-06-02 Andreas Schwab <schwab@redhat.com>
53700
53701 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53702
53703 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53704
53705 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53706 and F_GETPIPE_SZ.
53707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53708 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53711 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53712 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53713
53714 2010-06-14 Roland McGrath <roland@redhat.com>
53715
53716 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53717
53718 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53719
53720 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53721 __REDIRECT followed by __THROW.
53722 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53723 * posix/getopt.h (getopt): Likewise.
53724
53725 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53726
53727 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53728 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53729 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53730 in AT_FLAGS.
53731 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53732 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53733
53734 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53735
53736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53737
53738 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53739
53740 [BZ #11640]
53741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53742 Properly check family and model.
53743
53744 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53745
53746 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53747
53748 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53749
53750 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53751
53752 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53753
53754 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53755 symbol reference.
53756
53757 2010-05-19 Andreas Schwab <schwab@redhat.com>
53758
53759 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53760 symbol reference.
53761
53762 2010-05-21 Andreas Schwab <schwab@redhat.com>
53763
53764 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53765 and internal_recvmmsg.
53766 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53767 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53768 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53769 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53770
53771 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53772 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53773 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53774
53775 2010-05-20 Andreas Schwab <schwab@redhat.com>
53776
53777 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53778
53779 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53780
53781 POWER7 optimizations.
53782 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53783 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53784
53785 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53786
53787 * version.h: Update for 2.13 development version.
53788
53789 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53790
53791 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53792 exceptions. Return 0.
53793
53794 2010-05-07 Roland McGrath <roland@redhat.com>
53795
53796 * elf/ldconfig.c (main): Add a const.
53797
53798 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53799
53800 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53801 (args_options): Add no-idn option.
53802 (ahosts_keys_int): Add idn_flags to ai_flags.
53803 (parse_option): Handle 'i' option to clear idn_flags.
53804
53805 * malloc/malloc.c (_int_free): Possible race in the most recently
53806 added check. Only act on the data if no current modification
53807 happened.
53808
53809 See ChangeLog.17 for earlier changes.