]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix warnings
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2
3 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4 libc-modules.h
5 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6 unused declaration of _hurd_intr_rpc_msg_in_trap.
7 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
8 defined instead of whether it is non-zero.
9 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
10 input constraint instead of both input and output constraint. Use ecx
11 clobber instead of %ecx.
12 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13 mutex_unlock): Use a statement expression instead of an expression list.
14 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15 type to vm_size_t instead of vm_address_t.
16 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17 defined instead of whether it is non-zero.
18 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21 comparisons with mapaddr.
22 * nscd/nscd-client.h: Include <time.h>.
23 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24 9th parameter to __vm_region instead of int.
25
262015-03-19 Roland McGrath <roland@hack.frob.com>
27
28 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
29 to account for alignment padding.
30 * sysdeps/arm/memmove.S: Likewise.
31
322015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
33
34 * sysdeps/unix/sysv/linux/generic/README: New file.
35
362015-03-18 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #18138]
39 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
40 (futex_abstimed_wait)
41 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
42 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
43 of lll_futex_timed_wait.
44
452015-03-18 Brad Hubbard <bhubbard@redhat.com>
46
47 [BZ #17542]
48 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
49
502015-03-17 Alexandre Oliva <aoliva@redhat.com>
51
52 [BZ #17090]
53 [BZ #17620]
54 [BZ #17621]
55 [BZ #17628]
56 * NEWS: Update.
57 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
58 entries with Static TLS too. Skip entries past the end of the
59 allocated DTV, from Alan Modra.
60 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
61 Static TLS DTV entry set up from...
62 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
63 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
64 * nptl/allocatestack.c (init_one_static_tls): ... and here...
65 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
66 for Static TLS.
67 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
68 that the slot we find is associated with the given map before
69 using its generation count.
70 * nptl_db/db_info.c: Include ldsodefs.h.
71 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
72 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
73 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
74 (link_map::l_tls_offset): New struct field.
75 (dtv_t::counter): Likewise.
76 (rtld_global): New struct.
77 (_rtld_global): New rtld variable.
78 (dl_tls_dtv_slotinfo_list): New rtld global field.
79 (dtv_slotinfo_list): New struct.
80 (dtv_slotinfo): Likewise.
81 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
82 (td_lookup): Rename to...
83 (td_mod_lookup): ... this. Use new mod parameter instead of
84 LIBPTHREAD_SO.
85 * nptl_db/td_thr_tlsbase.c: Include link.h.
86 (dtv_slotinfo_list, dtv_slotinfo): New functions.
87 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
88 addresses even if the DTV is out of date or missing them.
89 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
90 index zero-length arrays.
91 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
92 (td_lookup): Make it a macro implemented in terms of...
93 (td_mod_lookup): ... this declaration.
94 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
95 (DB_MAIN_VARIABLE): Likewise.
96
972015-03-16 H.J. Lu <hongjiu.lu@intel.com>
98
99 [BZ #18134]
100 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
101
1022015-03-15 Paul Eggert <eggert@cs.ucla.edu>
103
104 * stdlib/setenv.c (__add_to_environ): Revert previous change.
105
1062015-03-14 Andreas Schwab <schwab@linux-m68k.org>
107
108 [BZ #18128]
109 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
110 (atomic_add, atomic_increment_and_test)
111 (atomic_decrement_and_test): Fix 64-bit arithmetic.
112
1132015-03-13 Paul Eggert <eggert@cs.ucla.edu>
114
115 * stdlib/setenv.c (__add_to_environ):
116 Dump core quickly if setenv (..., NULL, ...) is called.
117
1182015-03-13 Roland McGrath <roland@hack.frob.com>
119
120 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
121 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
122 all the necessary asm magic in one place.
123 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
124 using those.
125
1262015-03-13 Carlos O'Donell <carlos@redhat.com>
127
128 [BZ #14906]
129 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
130 traced file mtime. Use consistent log message.
131 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
132 (register_traced_file): Call install_watches. Always set mtime.
133 (invalidate_cache): Iterate over all trace files. Call install_watches.
134 (inotify_check_files): Don't inline. Handle watching parent
135 directories and configuration file movement in and out.
136 (handle_inotify_events): New function.
137 (main_loop_poll): Call handle_inotify_events.
138 (main_loop_epoll): Likewise.
139 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
140 (struct traced_file): Use array of inotify fds. Add parent directory,
141 and basename.
142 (struct database_dyn): Remove unused file_mtime.
143 (init_traced_file): New inline function.
144 (define_traced_file): New macro.
145 * nss/nss_db/db-init.c: Use define_traced_file.
146 (_nss_db_init): Use init_traced_file.
147 * nss/nss_files/files-init.c: Use define_traced_file.
148 (_nss_files_init): Use init_traced_file.
149
1502015-03-12 Joseph Myers <joseph@codesourcery.com>
151
152 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
153 [_LIBC]: Do not include <stdlib.h>.
154 [!_LIBC] (abort): Remove declaration.
155 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
156 _FP_STATIC_ASSERT instead of conditionally calling abort.
157 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
158 (_FP_EXTEND_CNAN): Likewise.
159 (FP_TRUNC): Likewise.
160 (__FP_CLZ): Likewise.
161 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
162
1632015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
164
165 * manual/string.texi (XPG basename): Fix prototype.
166
1672015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
168
169 [BZ #18080]
170 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
171 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
172 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
173 (__setcontext): Likewise.
174 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
175 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
176 Call rt_sigprocmask syscall one time to set new signal mask
177 and retrieve the current signal mask instead of two calls.
178 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
179 (__swapcontext): Likewise.
180 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
181 * stdlib/tst-setcontext2.c: New file.
182
1832015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
184
185 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
186
1872015-03-11 Aurelien Jarno <aurelien@aurel32.net>
188
189 [BZ #18093]
190 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
191 the wrong size.
192
1932015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
194
195 [BZ #18043]
196 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
197
1982015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
199
200 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
201 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
202 Remove define.
203 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
204 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
205 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
206 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
207 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
208 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
209 define.
210 * nptl_db/td_symbol_list.c (td_lookup): Remove
211 HAVE_ASM_GLOBAL_DOT_NAME code.
212 * sysdeps/powerpc/powerpc64/configure.ac: Remove
213 HAVE_ASM_GLOBAL_DOT_NAME check.
214 * sysdeps/powerpc/powerpc64/configure: Regenerate.
215 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
216 (DOT_LABEL): Remove define.
217 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
218 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
219 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
220 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
221 (__TLS_GET_ADDR): Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
223 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
224
2252015-03-11 Carlos O'Donell <carlos@redhat.com>
226
227 [BZ #18111]
228 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
229 (_FPU_SETCW): Initialize cw from fpsr before storing.
230 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
231 (fesetexceptflag): Rewrite using fpu_control.h.
232 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
233
2342015-03-11 John David Anglin <danglin@gcc.gnu.org>
235
236 [BZ #18110]
237 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
238 asms.
239 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
240
2412015-03-11 Joseph Myers <joseph@codesourcery.com>
242
243 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
244 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
245 abort.
246 (_FP_FMA): Likewise.
247 (_FP_DIV): Likewise.
248
2492015-03-10 Roland McGrath <roland@hack.frob.com>
250
251 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
252 with 0 in that case.
253 * Makefile (summarize-tests): New canned sequence, factored out of
254 commands for targets tests and xtests. Display summary lines that
255 don't start with PASS: or XFAIL: rather than ones that do start with
256 ERROR: or FAIL:. Make the commands fail if any summary lines fail
257 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
258 do start with ERROR: or FAIL:.
259 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
260 (except for [$(build-shared) = yes]).
261 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
262 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
263 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
264 * nptl/Makefile: Revert 2015-03-04 changes.
265 [$(CXX) empty] (tests-unsupported): New variable.
266 * debug/Makefile: Likewise.
267
268 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
269 gnulib file. Replace __attribute with __attribute__ throughout.
270
2712015-03-10 Carlos O'Donell <carlos@redhat.com>
272
273 * sysdeps/hppa/fpu/libm-test-ulps: Update.
274
2752015-03-10 Joseph Myers <joseph@codesourcery.com>
276
277 [BZ #18104]
278 * math/auto-libm-test-in: Add another test of pow.
279 * math/auto-libm-test-out: Regenerated.
280
2812015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
284 $(config-cflags-nofma).
285
2862015-03-10 Joseph Myers <joseph@codesourcery.com>
287
288 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
289 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
290 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
291 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
292 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
293 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
294 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
295 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
296 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
297 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
298 Add comment on closing #endif.
299
3002015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
301
302 * posix/wordexp.c (CHAR_IN_SET): New macro.
303 (parse_param): Use it.
304
3052015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306
307 * sysdeps/powerpc/fpu/libm-test-ulps: update.
308
3092015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
310
311 [BZ #18043]
312 * posix/wordexp.c (parse_param): Fix buffer overflow.
313 * posix/wordexp-test.c (test_case): Add test case.
314
3152015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
316
317 [BZ #18042]
318 * posix/wordexp.c (parse_backtick): Fix off-by-one.
319 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
320
3212015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
322
323 [BZ #18043]
324 * posix/wordexp-test.c (test_case): Add test for BZ #18043
325 (do_bz18043): Delete.
326 (at_page_end): New.
327 (testit): Refactor to have words at the edge of unreadable page.
328
3292015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
330
331 [BZ #16734]
332 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
333 Cleanup read-only streams as well.
334 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
335
3362015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
337
338 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
339 <bits/libc-lockP.h>
340
3412015-03-07 Joseph Myers <joseph@codesourcery.com>
342
343 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
344 on [__KERNEL__].
345 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
346 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
347 * soft-fp/op-common.h (_FP_DECL): Likewise.
348
3492015-03-06 H.J. Lu <hongjiu.lu@intel.com>
350
351 * elf/ifuncdep2.c (global): Replace
352 __attribute__((visibility("protected"))) with
353 asm (".protected global").
354 * elf/ifuncmod1.c (global): Likewise.
355 * elf/ifuncmod5.c (global): Likewise.
356
3572015-03-06 Joseph Myers <joseph@codesourcery.com>
358
359 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
360 <asm/sfp-machine.h> instead of <sfp-machine.h>.
361
3622015-03-06 Roland McGrath <roland@hack.frob.com>
363
364 * manual/install.texi (Configuring and compiling):
365 Document test-wrapper-env-only.
366 * INSTALL: Regenerated.
367
3682015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
369
370 [BZ #18043]
371 * posix/wordexp.c (parse_param): Fix buffer overflow.
372 * posix/wordexp-test.c (do_bz18043): Add test case.
373
3742015-03-06 Vincent Bernat <vincent@bernat.im>
375
376 * time/tst-strptime2.c (do_test): Ensure failing tests are
377 reported correctly.
378 * time/tst-strptime3.c (do_test): Likewise.
379
3802015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
381
382 Fix aio_error thread-safety.
383 * sysdeps/pthread/aio_error.c: New file
384 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
385 synchronization.
386
3872015-03-06 Florian Weimer <fweimer@redhat.com>
388
389 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
390 (group_number, vfprintf): Use it.
391 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
392 (JUMP, REF): Use it.
393 (WORK_BUFFER_SIZE): New enum constant.
394 (process_arg, vfprintf): Use it.
395
3962015-03-06 Rical Jasan <ricaljasan@pacific.net>
397
398 * manual/errno.texi (Error Messages): Complete example function
399 by adding missing #define.
400 (program_invocation_name): Add statement indicating GNU
401 extension and reference which header file declares the variable.
402 (program_invocation_short_name): Likewise.
403
4042015-03-06 Mike Frysinger <vapier@gentoo.org>
405
406 * manual/errno.texi (Error Messages): Delete strerror ISO C89
407 compatibility note.
408
4092015-03-05 Roland McGrath <roland@hack.frob.com>
410
411 * Makeconfig (test-wrapper-env-only): New variable.
412 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
413 then use that with $(test-wrapper-env-only) rather than using
414 $(test-wrapper-env) $(run-program-env) $($*-ENV).
415
4162015-03-05 H.J. Lu <hongjiu.lu@intel.com>
417
418 [BZ #18082]
419 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
420 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
421 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
422 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
423 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
424 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
425 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
426 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
427 Likewise.
428 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
429 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
430 Likewise.
431 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
432 Likewise.
433 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
434 Likewise.
435 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
436 Likewise.
437 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
439 Likewise.
440 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
441 Likewise.
442 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
443 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
444
4452015-03-04 Roland McGrath <roland@hack.frob.com>
446
447 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
448 (ETH_ALEN): New macro.
449 (struct ether_addr): Use it for length of ether_addr_octet.
450
451 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
452 (setdb): Don't call __nss_configure_lookup for "rpc".
453 (do_test): Don't call test_rpc.
454 (output_rpcent, test_rpc): Functions moved ...
455 * sunrpc/test-rpcent.c: ... to this new file.
456 * sunrpc/Makefile (tests): Add it.
457
458 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
459 __xpg_sigpause.
460 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
461 * nptl/tst-signal6.c: Likewise.
462 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
463 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
464
465 * configure.ac (libc_cv_cxx_link_ok): New check.
466 Reset CXX to empty if it fails to link.
467 * configure: Regenerated.
468 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
469 bug-atexit3-lib only if $(CXX) is nonempty.
470 * nptl/Makefile (tests): Likewise for tst-cancel24.
471 (tests, tests-static): Likewise for tst-cancel24-static.
472 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
473 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
474 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
475 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
476
4772015-03-04 Andreas Schwab <schwab@suse.de>
478
479 [BZ #17631]
480 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
481 for non-GCC compilers.
482 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
483 Likewise.
484
4852015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
486
487 [BZ #17776]
488 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
489 integer before bitwise and assembly operations.
490 (feclearexcept): Likewise.
491 * math/test-fenvinline.c: New file.
492 * math/Makefile: Add test-fenvinline test.
493
4942015-03-03 Alan Modra <amodra@gmail.com>
495
496 [BZ #16512]
497 * scripts/localplt.awk: Strip off symbol version.
498 * NEWS: Mention bug fix.
499
5002015-03-02 Roland McGrath <roland@hack.frob.com>
501
502 * sysdeps/pthread/timer_routines.c
503 (timer_free_list, thread_free_list, thread_active_list): Make static.
504
5052015-03-02 Joseph Myers <joseph@codesourcery.com>
506
507 [BZ #17779]
508 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
509 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
510 Undefine.
511 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
512 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
513 Likewise.
514 * sysdeps/unix/sysv/linux/sh/kernel-features.h
515 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
516 Likewise.
517
5182015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
519
520 [BZ #18036]
521 * posix/fnmatch_loop.c (END): Detect invalid pattern.
522 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
523
5242015-03-02 Andreas Schwab <schwab@suse.de>
525
526 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
527 variable name.
528
5292015-03-02 Florian Weimer <fweimer@redhat.com>
530
531 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
532 Return error status.
533
5342015-02-27 Alexandre Oliva <aoliva@redhat.com>
535
536 [BZ #15969]
537 * locale/findlocale.c (_nl_find_locale): Introduce const
538 version of loc_name and drop unsafe type casts.
539
5402015-02-27 Roland McGrath <roland@hack.frob.com>
541
542 * dlfcn/tststatic2.c (main): Converted to ...
543 (do_test): ... this.
544 (TEST_FUNCTION): New macro.
545 Include test-skeleton.c.
546
5472015-02-27 H.J. Lu <hongjiu.lu@intel.com>
548
549 [BZ #17711]
550 * elf/Makefile (tests): Add vismain only if PIE is enabled.
551 (tests-pie): Add vismain.
552 (CFLAGS-vismain.c): New.
553 * elf/vismain.c: Add comments for PIE requirement.
554
5552015-02-27 Joseph Myers <joseph@codesourcery.com>
556
557 [BZ #18046]
558 [BZ #18047]
559 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
560 0x1p-56L as threshold for just returning the argument.
561 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
562 0x1p-32L as threshold for just returning the argument.
563 * math/auto-libm-test-in: Add more tests of atanh.
564 * math/auto-libm-test-out: Regenerated.
565 * sysdeps/i386/fpu/libm-test-ulps: Update.
566 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
567
5682015-02-27 Wilco Dijkstra wdijkstr@arm.com
569
570 * string/bcopy.c (bcopy): Call memmove for performance.
571
5722015-02-27 Wilco Dijkstra wdijkstr@arm.com
573
574 * string/bzero.c (__bzero): Call memset for performance.
575
5762015-02-27 John David Anglin <dave.anglin@bell.net>
577
578 [BZ #18068]
579 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
580 to 00100000.
581
5822015-02-27 Joseph Myers <joseph@codesourcery.com>
583
584 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
585
5862015-02-26 Joseph Myers <joseph@codesourcery.com>
587
588 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
589 (__kernel_standard): Use CSTR macro when setting exc.name.
590 * sysdeps/ieee754/Makefile [$(subdir) = math]
591 (CFLAGS-k_standard.c): Remove variable.
592
593 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
594 setting p and q from "else if" to "else".
595 (qzero): Likewise.
596 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
597 (qone): Likewise.
598 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
599 (qzerof): Likewise.
600 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
601 (qonef): Likewise.
602 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
603 (qzero): Likewise.
604 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
605 (qone): Likewise.
606
607 [BZ #18038]
608 [BZ #18039]
609 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
610 return pi/2 for arguments below 0x1p-113L.
611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
612 return pi/2 for arguments below 0x1p-106L.
613 * math/auto-libm-test-in: Add more tests of acos.
614 * math/auto-libm-test-out: Regenerated.
615
616 [BZ #16351]
617 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
618 (MO): New macro.
619 (__ieee754_asin): Force underflow exception for results with small
620 absolute value.
621 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
622 (MO): New macro.
623 (__ieee754_asinf): Force underflow exception for results with
624 small absolute value.
625 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
626 (__ieee754_asin): Force underflow exception for results with small
627 absolute value.
628 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
629 (__ieee754_asinf): Force underflow exception for results with
630 small absolute value.
631 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
632 (__ieee754_asinl): Force underflow exception for results with
633 small absolute value.
634 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
635 (__ieee754_asinl): Force underflow exception for results with
636 small absolute value.
637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
638 (__ieee754_asinl): Force underflow exception for results with
639 small absolute value.
640 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
641 Include <math.h>.
642 * math/auto-libm-test-in: Do not mark underflow exceptions as
643 possibly missing for bug 16351.
644 * math/auto-libm-test-out: Regenerated.
645
646 [BZ #18030]
647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
648 of power of 2 down when low part has opposite sign.
649 * math/libm-test.inc (logb_test_data): Add more tests.
650
6512015-02-26 Andreas Schwab <schwab@suse.de>
652
653 [BZ #18032]
654 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
655 over collating symbol inside a bracket expression. Minor cleanup.
656 * posix/tst-fnmatch3.c (do_test): Add test case.
657
6582015-02-26 Joseph Myers <joseph@codesourcery.com>
659
660 [BZ #18029]
661 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
662 Adjust exponent of power of 2 down when low part has opposite
663 sign.
664 * math/libm-test.inc (ilogb_test_data): Add more tests.
665
6662015-02-26 Alexandre Oliva <aoliva@redhat.com>
667
668 [BZ #15969]
669 * locale/findlocale.c (_nl_find_locale): Fix constness error in
670 the previous change.
671
672 [BZ #15969]
673 * locale/findlocale.c (_nl_find_locale): Retry archive search
674 after alias expansion.
675
6762015-02-25 Roland McGrath <roland@hack.frob.com>
677
678 * iconv/tst-iconv3.c (main): Converted to ...
679 (do_test): ... this.
680 (TEST_FUNCTION): New macro.
681 Include test-skeleton.c.
682
683 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
684 (convert): Make function static.
685 (test_unalign): Likewise. Add const to argument pointee types.
686 (main): Replace with static function do_test.
687 Print "Succeeded." only if RET is zero.
688 (TEST_FUNCTION): New macro.
689 Include test-skeleton.c.
690
691 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
692 returns a null pointer.
693
6942015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695
696 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
697 to __memcpy_ppc only for static builds.
698
6992015-02-25 Joseph Myers <joseph@codesourcery.com>
700
701 [BZ #18020]
702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
703 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
704 * math/auto-libm-test-in: Add more tests of asinh.
705 * math/auto-libm-test-out: Regenerated.
706 * sysdeps/i386/fpu/libm-test-ulps: Update.
707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
708
7092015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
710
711 [BZ #15850]
712 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
713 and ip6_mtuinfo definitions here.
714 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
715 in this define too. Update comment.
716
7172015-02-24 Benno Schulenberg <bensberg@justemail.net>
718
719 * elf/sprof.c (load_shobj): Tweak error message to match others.
720
7212015-02-24 Kevin Easton <kevin@guarana.org>
722
723 [BZ #16145] (partial fix)
724 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
725 to reduce lock contention.
726
7272015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
728
729 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
730 (struct timex): Update time comment.
731 (ADJ_SETOFFSET): Define.
732
7332015-02-24 Joseph Myers <joseph@codesourcery.com>
734
735 [BZ #18019]
736 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
737 2**56 not 2**28 as threshold for log (2x) formula.
738 * math/auto-libm-test-in: Add more tests of acosh.
739 * math/auto-libm-test-out: Regenerated.
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
742
7432015-02-24 Mike Frysinger <vapier@gentoo.org>
744
745 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
746 parenthesis around the buf assignment.
747 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
748
7492015-02-24 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #16783]
752 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
753 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
754 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
755 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
756 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
757 * math/libm-test.inc (scalb_test_data): Add more tests.
758
7592015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
760
761 [BZ #17916]
762 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
763 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
764
7652015-02-24 Eric Rannaud <e@nanocritical.com>
766
767 [BZ #17523]
768 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
769 * io/bits/fcntl2.h (open): Use it.
770 (openat): Likewise.
771 * io/open.c (__libc_open): Likewise.
772 * io/open64.c (__libc_open64): Likewise.
773 * io/open64_2.c (__open64_2): Likewise.
774 * io/open_2.c (__open_2): Likewise.
775 * io/openat.c (__openat): Likewise.
776 * io/openat64.c (__openat64): Likewise.
777 * io/openat64_2.c (__openat64_2): Likewise.
778 * io/openat_2.c (__openat_2): Likewise.
779 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
780 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
781 * sysdeps/posix/open64.c (__libc_open64): Likewise.
782 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
783 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
784 (__open_nocancel): Likewise.
785 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
786 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
787 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
788
7892015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
790
791 [BZ #14841]
792 * resolv/gethnamaddr.c (getanswer): Skip logging if
793 RES_USE_DNSSEC is set.
794 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
795
7962015-02-24 Mike Frysinger <vapier@gentoo.org>
797
798 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
799
8002015-02-23 Alexandre Oliva <aoliva@redhat.com>
801
802 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
803 201304L, for Unicode 7.
804
8052015-02-23 H.J. Lu <hongjiu.lu@intel.com>
806
807 [BZ #17836]
808 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
809 shared library. Add gmon-start.os otherwise.
810 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
811 $(objpfx)gmon-start.os if builing shared library.
812 ($(objpfx)g$(static-start-installed-name)): Likewise.
813
8142015-02-23 Andreas Schwab <schwab@suse.de>
815
816 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
817
8182015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
819
820 [BZ #17269]
821 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
822 (enlarge_userbuf): Likewise.
823
8242015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
825
826 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
827 * math/atest-exp.c (TIMEOUT): Adjust to 200.
828 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
829 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
830
8312015-02-20 Joseph Myers <joseph@codesourcery.com>
832
833 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
834 expression inside statement expression.
835
8362015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
837
838 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
839 <sysdeps/nptl/lowlevellock.h> and remove macros and
840 functions that are now defined there.
841 (SYS_futex): Remove.
842 (lll_compare_and_swap): Remove.
843 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
844
8452015-02-19 Joseph Myers <joseph@codesourcery.com>
846
847 [BZ #17999]
848 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
849 instead of scandirat.
850 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
851 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
852 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
853 __scandirat.
854 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
855 (__scandirat): Declare. Use libc_hidden_proto.
856 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
857 Remove variable.
858 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
859
8602015-02-18 Joseph Myers <joseph@codesourcery.com>
861
862 [BZ #15319]
863 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
864 (MO): New macro.
865 (__ieee754_atan2): For results with small absolute value, force
866 underflow exception and remove excess range and precision from
867 return value.
868 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
869 (MO): New macro.
870 (__ieee754_atan2f): For results with small absolute value, force
871 underflow exception and remove excess range and precision from
872 return value.
873 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
874 (MO): New macro.
875 (__atan): For results with small absolute value, force underflow
876 exception and remove excess range and precision from return value.
877 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
878 (MO): New macro.
879 (__atanf): For results with small absolute value, force underflow
880 exception and remove excess range and precision from return value.
881 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
882 <math.h>.
883 (__ieee754_atan2): Force underflow exception for results with
884 small absolute value.
885 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
886 <math_private.h>.
887 (atan): Force underflow exception for results with small absolute
888 value.
889 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
890 (__atanf): Force underflow exception for results with small
891 absolute value.
892 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
893 <math.h>.
894 (__atanl): Force underflow exception for results with small
895 absolute value.
896 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
897 (__atanl): Force underflow exception for results with small
898 absolute value.
899 * sysdeps/x86/fpu/bits/mathinline.h
900 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
901 (__ieee754_atan2): Only define inline for long double.
902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
903 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
904 * math/auto-libm-test-in: Do not mark underflow exceptions as
905 possibly missing for bug 15319. Add more tests of atan2.
906 * math/auto-libm-test-out: Regenerated.
907 * math/libm-test.inc (casin_test_data): Do not mark underflow
908 exceptions as possibly missing for bug 15319.
909 (casinh_test_data): Likewise.
910 * sysdeps/i386/fpu/libm-test-ulps: Update.
911
9122015-02-18 Steve Ellcey <sellcey@imgtec.com>
913
914 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
915 * sysdeps/mips/bits/endian.h: Fix comments.
916
9172015-02-18 Joseph Myers <joseph@codesourcery.com>
918
919 [BZ #17996]
920 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
921 (hdestroy_r): Likewise.
922 (hsearch_r): Likewise.
923 (__hcreate_r): Declare and use libc_hidden_proto.
924 (__hdestroy_r): Likewise.
925 (__hsearch_r): Likewise.
926 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
927 (hcreate): Call __hcreate_r instead of hcreate_r.
928 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
929 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
930 as weak alias of __hcreate_r.
931 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
932 __hdestroy_r.
933 (hsearch_r): Rename to __hsearch_r and define as weak alias of
934 __hsearch_r.
935 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
936 Remove variable.
937 (test-xfail-XPG4/search.h/linknamespace): Likewise.
938 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
939 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
940 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
941
9422015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
943
944 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
945 arena_lock into a single arena_get.
946
9472015-02-17 Carlos O'Donell <carlos@redhat.com>
948
949 * dl-reloc.c: Inlucde libc-internal.h.
950 (_dl_try_allocate_static_tls): Call ALIGN_UP.
951 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
952 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
953 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
954 (grow_heap): Likewise.
955 * malloc/malloc.c: Include libc-internal.h.
956 (do_check_malloc): Call powerof2.
957 (sysmalloc): Use pagesize. Call ALIGN_UP.
958 (systrim): Use pagesize.
959 (mremap_chunk): Use pagesize. Call ALIGN_UP.
960 (__libc_valloc): Use pagesize.
961 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
962
9632015-02-17 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #17991]
966 * include/sys/resource.h (__getrlimit64): Declare. Use
967 libc_hidden_proto.
968 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
969 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
970 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
971 getrlimit64.
972 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
973 __getrlimit64.
974 [!getrlimit64] (getrlimit64): Define as weak alias of
975 __getrlimit64. Use libc_hidden_weak.
976 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
977 using __getrlimit64 not __new_getrlimit64.
978 (__GI_getrlimit64): Likewise.
979 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
980 Likewise.
981 (__GI_getrlimit64): Likewise.
982 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
984 (getrlimit): Add __getrlimit64 alias.
985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
986 Likewise.
987 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
988 Remove variable.
989 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
990 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
991
9922015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
993
994 * libio/fileops.c: Add missing sys/mman.h
995 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
996
9972015-02-17 Joseph Myers <joseph@codesourcery.com>
998
999 * manual/math.texi (Errors in Math Functions): Clarify goals
1000 regarding inexact and underflow exceptions.
1001
10022015-02-17 Steve Ellcey <sellcey@imgtec.com>
1003
1004 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1005 * sysdeps/mips/memset.S: Ditto.
1006
10072015-02-17 Steve Ellcey <sellcey@imgtec.com>
1008
1009 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1010
10112015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1012
1013 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1014 (__v1longjmp): Remove versioned symbol.
1015 (__v1siglongjmp): Remove alias and versioned symbol.
1016 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1017 (__v2siglongjmp): Likewise.
1018
10192015-02-16 Torvald Riegel <triegel@redhat.com>
1020
1021 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1022
10232015-02-16 Mike Frysinger <vapier@gentoo.org>
1024
1025 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1026
10272015-02-16 Joseph Myers <joseph@codesourcery.com>
1028
1029 [BZ #17987]
1030 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1031 zero result does not depend on the sign resulting from
1032 subtraction.
1033 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1034 Likewise.
1035 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1036 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1037 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1038 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1039 * math/libm-test.inc (remquo_test_data): Add more tests.
1040
10412015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1042
1043 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1044 Problem reported by J William Piggott.
1045
10462015-02-16 Joseph Myers <joseph@codesourcery.com>
1047
1048 [BZ #17978]
1049 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1050 products 4 * y and 2 * y where those would overflow.
1051 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1052 Likewise.
1053 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1054 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1056 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1057 * math/libm-test.inc (remquo_test_data): Add more tests.
1058
1059 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1060
1061 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1062 [defined _COMPILING_NEWLIB].
1063 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1064 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1065
1066 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1067 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1068
10692015-02-16 Torvald Riegel <triegel@redhat.com>
1070
1071 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1072 acquired.
1073
10742015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1075
1076 [BZ #17792]
1077 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1078 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1079 HOST_STACK_END_ADDR): Likewise.
1080
10812015-02-13 Steve Ellcey <sellcey@imgtec.com>
1082
1083 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1084 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1085 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1086
10872015-02-13 Roland McGrath <roland@hack.frob.com>
1088
1089 * sysdeps/generic/c++-types.data: New file.
1090 * sysdeps/generic/ld.abilist: New file.
1091 * sysdeps/generic/libBrokenLocale.abilist: New file.
1092 * sysdeps/generic/libanl.abilist: New file.
1093 * sysdeps/generic/libc.abilist: New file.
1094 * sysdeps/generic/libcrypt.abilist: New file.
1095 * sysdeps/generic/libdl.abilist: New file.
1096 * sysdeps/generic/libm.abilist: New file.
1097 * sysdeps/generic/libpthread.abilist: New file.
1098 * sysdeps/generic/libresolv.abilist: New file.
1099 * sysdeps/generic/librt.abilist: New file.
1100
11012015-02-13 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #17569]
1104 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1105 Compute absolute value of x as modified by fmod, not original
1106 value of x.
1107 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1108 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1109 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1110 RUN_TEST_ffI_f1_mod8.
1111 (remquo_test_data): Add more tests.
1112
11132015-02-13 Roland McGrath <roland@hack.frob.com>
1114
1115 * sysdeps/init_array/pt-crti.S: New file.
1116
11172015-02-13 Joseph Myers <joseph@codesourcery.com>
1118
1119 [BZ #17967]
1120 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1121 __builtin_fmaf instead of relying on contraction of a * b + c.
1122
11232015-02-12 J William Piggott <elseifthen@gmx.com>
1124
1125 [BZ #17969]
1126 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1127 node.
1128
11292015-02-12 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #17964]
1132 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1133 __builtin_fma instead of relying on contraction of a * b + c.
1134
11352015-02-12 Roland McGrath <roland@hack.frob.com>
1136
1137 * Makeconfig (ASFLAGS): Add -Werror=undef.
1138 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1139 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1140 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1141
1142 * Makeconfig (after-link): New variable.
1143 (+link-pie, +link-pie-tests): Use it.
1144 (+link-static, +link-static-tests): Likewise.
1145 (+link, +link-tests): Likewise.
1146 * Makerules (build-module, build-module-asneeded): Likewise.
1147 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1148 Likewise.
1149 * elf/Makefile ($(objpfx)ld.so): Likewise.
1150
11512015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1152
1153 [BZ #17965]
1154 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1155 both struct timeval and struct timespec.
1156
11572015-02-12 Joseph Myers <joseph@codesourcery.com>
1158
1159 [BZ #16560]
1160 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1161 and redefine.
1162 (__ieee754_exp2l): Do not multiply small fractional parts by
1163 M_LN2l.
1164 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1165 small argument.
1166 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1167 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1168 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1169 * math/auto-libm-test-in: Add more tests of exp2.
1170 * math/auto-libm-test-out: Regenerated.
1171
11722015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1173
1174 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1175 unaligned path.
1176
11772015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178
1179 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1180 little endian.
1181
11822015-02-12 Andreas Schwab <schwab@suse.de>
1183
1184 [BZ #15790]
1185 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1186 Filter out elision flags from value returned in kind.
1187 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1188 * nptl/tst-pthread-mutexattr.c: New file.
1189
11902015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1191
1192 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1193 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1194 into gnu-gnu, and update comment to refer to abi-tags.
1195
11962015-02-11 Joseph Myers <joseph@codesourcery.com>
1197
1198 [BZ #15467]
1199 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1200 (__sincos): Set errno to EDOM for infinite argument.
1201 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1202 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1203 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1204 (__sincosl): Set errno to EDOM for infinite argument.
1205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1206 (__sincosl): Set errno to EDOM for infinite argument.
1207 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1208 (__sincosl): Set errno to EDOM for infinite argument.
1209 * math/libm-test.inc (sincos_test_data): Test errno setting.
1210
12112015-02-11 Leonhard Holz <leonhard.holz@web.de>
1212
1213 * string/strxfrm_l.c: Remove #define STRCMP.
1214 * string/strcoll_l.c: Remove #define STRLEN.
1215 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1216 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1217
12182015-02-10 Joseph Myers <joseph@codesourcery.com>
1219
1220 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1221 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1222 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1223 * sysdeps/mips/mips64/Makefile: ... here.
1224 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1225 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1226 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1227 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1228 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1229 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1230 * sysdeps/mips/mips64/n64/Implies: Likewise.
1231
12322015-02-10 Roland McGrath <roland@hack.frob.com>
1233
1234 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1235 <sys/time.h>, <string.h>, and <errno.h>.
1236 (dest_offset, dest_address, value, zero): Remove unused variables.
1237 (ldouble): Remove typedef.
1238 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1239 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1240 1). Fix code style.
1241 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1242 (check): Function removed.
1243 (CHECK): New macro.
1244 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1245 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1246 Don't call set_sigaction_FP and remove_sigaction_FP here.
1247 (ldouble_test): Just use 'long double' as macro argument, no need for
1248 the 'ldouble' typedef.
1249 (do_test): Set up SIGFPE handler at start, using plain signal rather
1250 than sigaction. Fix code style.
1251
12522015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1253
1254 [BZ #17949]
1255 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1256 jump label.
1257
12582015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1259
1260 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1261 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1262
1263 * sysdeps/powerpc/configure.ac: Remove file.
1264 * sysdeps/powerpc/configure: Likewise.
1265
1266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1267 [sysdep_routines]: Remove wordcopy-power6 object.
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1269 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1271 (__memmove_ppc32): Likewise.
1272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1273 file.
1274 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1275 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1276 Remove preprocessor.
1277
1278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1279 [sysdep_routines]: Remove wide chars objects.
1280 [wcsmbs]: New rule for wide char objects.
1281
1282 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1283 Remove wordcopy-power6 obejct.
1284 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1285 Use local call for wordcopy and memcpy symbols.
1286 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1287 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1288 implementation for loader.
1289 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1290
1291 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1292 Remove wordcopy-power7 object.
1293 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1294 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1295 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1296 (_wordcopy_fwd_dest_aligned): Likewise.
1297 (_wordcopy_bwd_aligned): Likewise.
1298 (_wordcopy_bwd_dest_aligned): Likewise.
1299
1300 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1301 Rewrite to call __memmove_ppc instead of include default
1302 implementation.
1303
1304 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1305 Remove wide chars objects.
1306 [wcsmbs]: New rule for wide char objects.
1307
13082015-02-09 Andreas Schwab <schwab@suse.de>
1309
1310 [BZ #17912]
1311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1312 in terms of __O_DIRECTORY.
1313
13142015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1315
1316 * time/getdate.c: Include <stdbool.h>.
1317 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1318 call PTR_MANGLE.
1319 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1320 PTR_DEMANGLE.
1321
13222015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1323
1324 Add ersatz _Static_assert on older C hosts
1325 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1326 pre-C11 C platform that is not known to support _Static_assert.
1327
13282015-02-07 Richard Braun <rbraun@sceen.net>
1329
1330 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1331 sigstate.
1332 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1333
13342015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1335
1336 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1337 priority against unexistent AIO_PRIO_DELTA_MAX.
1338 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1339 instead of int.
1340 * misc/fchflags.c (fchflags): Likewise.
1341 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1342 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1343 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1344 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1345 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1346 Declare macros.
1347 [__USE_MISC] (chflags, fchflags): Declare functions.
1348 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1349 EINVAL when nfds is greater than FD_SETSIZE.
1350 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1351 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1352 45.
1353 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1354 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1355 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1356 MACH_RCV_TIMED_OUT.
1357 * hurd/hurd/signal.h (_hurd_self_sigstate,
1358 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1359 Explicit casts from void *.
1360 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1361 * abi-tags: Rename gnu-gnu os into gnu.
1362
1363 [BZ #4719]
1364 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1365 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1366 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1367 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1368 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1369 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1370
1371 [BZ #17944]
1372 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1373 duplicates ADDR->sun_path with sockaddr LEN limitation.
1374 * sysdeps/mach/hurd/connect.c: Include <string.h>
1375 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1376 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1377 * sysdeps/mach/hurd/sendto.c: Likewise.
1378 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1379 implementing it by hand.
1380
13812015-02-06 Roland McGrath <roland@hack.frob.com>
1382
1383 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1384 Use sfi_breg on ldr.
1385 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1386 Likewise.
1387
1388 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1389 it's defined.
1390 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1391 Test SIGSETXID only if it's defined.
1392
1393 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1394
1395 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1396 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1397
1398 * nptl/tst-align2.c: Moved ...
1399 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1400 * nptl/Makefile (tests): Remove tst-align2.
1401 * sysdeps/unix/sysv/linux/Makefile
1402 [$(subdir) = nptl] (tests): Add tst-align-clone.
1403 * nptl/tst-getpid1.c: Moved ...
1404 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1405 * nptl/tst-getpid2.c: Moved ...
1406 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1407 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1408 * sysdeps/unix/sysv/linux/Makefile
1409 [$(subdir) = nptl] (tests): ... here.
1410 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1411 * sysdeps/unix/sysv/linux/Makefile
1412 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1413
1414 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1415 Drop trailing \n from perror argument. Use return rather than exit.
1416
1417 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1418 on [SA_SIGINFO].
1419 * nptl/tst-cancel21.c (do_test): Likewise.
1420 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1421 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1422 [!SA_SIGINFO]: Make it a stub test.
1423
1424 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1425 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1426
1427 * posix/tst-getlogin.c: Move to ...
1428 * login/tst-getlogin.c: ... here.
1429 * posix/Makefile (tests): Move tst-getlogin to ...
1430 * login/Makefile (tests): ... here.
1431
1432 * libio/tst-atime.c (do_test): Move local variables SV and E
1433 inside [ST_NOATIME] conditional.
1434
1435 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1436
1437 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1438
1439 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1440 (wait_code): New function replaces macro.
1441 Call nanosleep rather than syscall.
1442
1443 * nptl/pt-system.c: Rewritten. Put everything under
1444 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1445 Use IFUNC to redirect when possible.
1446
1447 * nptl/pt-longjmp.c: Rewritten. Put everything under
1448 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1449 Use IFUNC to redirect when possible.
1450
1451 * nptl/pt-fork.c: Rewritten. Put everything under
1452 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1453 Use IFUNC to redirect when possible.
1454 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1455
1456 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1457 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1458 unconditionally nowadays. This included the only reference to
1459 __vdso_clock_gettime that appears outside libc proper.
1460 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1461 Remove version set (containing only __vdso_clock_gettime).
1462 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1463 Add attribute_hidden.
1464 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1465 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1466 libc_hidden_data_def.
1467 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1469
1470 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1471 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1472 setrpcent, and getrpcport to ...
1473 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1474 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1475 getrpcbynumber_r, and getrpcent_r to ...
1476 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1477 * inet/getrpcbyname.c: Moved ...
1478 * sunrpc/getrpcbyname.c: ... here.
1479 * inet/getrpcbyname_r.c: Moved ...
1480 * sunrpc/getrpcbyname_r.c: ... here.
1481 * inet/getrpcbynumber.c: Moved ...
1482 * sunrpc/getrpcbynumber.c: ... here.
1483 * inet/getrpcbynumber_r.c: Moved ...
1484 * sunrpc/getrpcbynumber_r.c: ... here.
1485 * inet/getrpcent.c: Moved ...
1486 * sunrpc/getrpcent.c: ... here.
1487 * inet/getrpcent_r.c: Moved ...
1488 * sunrpc/getrpcent_r.c: ... here.
1489 * inet/Makefile (routines): Move those to ...
1490 * sunrpc/Makefile (routines): ... here.
1491 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1492 the $(subdirs) list.
1493 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1494 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1495 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1496 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1497
1498 * elf/Makefile (routines): Include $(all-dl-routines), not just
1499 $(dl-routines).
1500 (rtld-routines): Likewise. Use = rather than :=.
1501 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1502 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1503 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1504 * sysdeps/arm/Makefile: Likewise.
1505 * sysdeps/i386/Makefile: Likewise.
1506 * sysdeps/x86_64/Makefile: Likewise.
1507 * sysdeps/hppa/Makefile [$(subdir) = elf]
1508 (sysdep_routines, sysdep-rtld-routines): Don't add
1509 $(sysdep-dl-routines) to these.
1510 * sysdeps/ia64/Makefile: Likewise.
1511 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1512 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1513 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1514 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1515 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1516 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1517 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1518 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1519 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1520 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1521 these; sysdep-dl-routines alone is enough.
1522
15232015-02-06 Joseph Myers <joseph@codesourcery.com>
1524
1525 [BZ #17932]
1526 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1527 where multiplication results in zero and third argument is finite
1528 and nonzero.
1529 * math/auto-libm-test-in: Add more tests of fma.
1530 * math/auto-libm-test-out: Regenerated.
1531
1532 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1533 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1534 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1535 (_FP_CMP_EQ): Likewise.
1536 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1537
1538 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1539 extra argument CHECK_NAN. Redefine as wrapper around
1540 _FP_EXTEND_CNAN.
1541
15422015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1543
1544 * version.h (RELEASE): Set to "stable".
1545 (VERSION): Set to "2.21"
1546 * include/features.h (__GLIBC_MINOR__): Set to 21.
1547
1548 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1549
15502015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1551 Paul Eggert <eggert@cs.ucla.edu>
1552
1553 [BZ #16618]
1554 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1556 size in bytes. Store needed elements in wpmax. Use needed size
1557 in bytes for extend_alloca.
1558
15592015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1560
1561 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1562 binutls 2.25, and texinfo 5.2.
1563 * INSTALL: Regenerate.
1564 * sysdeps/nios2/configure: Regenerate.
1565 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1566 * manual/contrib.texi: Update.
1567 * po/be.po: Update.
1568 * po/bg.po: Update.
1569 * po/ca.po: Update.
1570 * po/cs.po: Update.
1571 * po/da.po: Update.
1572 * po/de.po: Update.
1573 * po/el.po: Update.
1574 * po/eo.po: Update.
1575 * po/es.po: Update.
1576 * po/fi.po: Update.
1577 * po/fr.po: Update.
1578 * po/gl.po: Update.
1579 * po/hr.po: Update.
1580 * po/hu.po: Update.
1581 * po/ia.po: Update.
1582 * po/id.po: Update.
1583 * po/it.po: Update.
1584 * po/ja.po: Update.
1585 * po/ko.po: Update.
1586 * po/lt.po: Update.
1587 * po/nb.po: Update.
1588 * po/nl.po: Update.
1589 * po/pl.po: Update.
1590 * po/pt_BR.po: Update.
1591 * po/ru.po: Update.
1592 * po/rw.po: Update.
1593 * po/sk.po: Update.
1594 * po/sl.po: Update.
1595 * po/sv.po: Update.
1596 * po/tr.po: Update.
1597 * po/uk.po: Update.
1598 * po/vi.po: Update.
1599 * po/zh_CN.po: Update.
1600 * po/zh_TW.po: Update.
1601
1602 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1603 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1604 * sysdeps/hppa/dl-irel.h: Remove #warning.
1605 * sysdeps/hppa/entry.h: Provide prototype for
1606 __canonicalize_funcptr_for_compare and cast argument.
1607 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1608 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1609 * sysdeps/hppa/sotruss-lib.c: New file.
1610 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1611 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1612 (atomic_compare_and_exchange_bool_acq): Likewise.
1613 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1614 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1615
1616 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1617 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1618 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1619
16202015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1621
1622 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1623 called function in non-PIC case.
1624
16252015-01-31 David S. Miller <davem@davemloft.net>
1626
1627 * sysdeps/sparc/sparc32/bits/atomic.h
1628 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1629 unlock not after it.
1630 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1631 volatile register usage warnings from the compiler.
1632
1633 * sysdeps/sparc/nptl/sem_init.c: Delete.
1634 * sysdeps/sparc/nptl/sem_post.c: Delete.
1635 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1636 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1637 * sysdeps/sparc/sparc32/sem_init.c: New file.
1638 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1639 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1640 padding explicitly initialized.
1641 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1642 padding for in-semaphore spinlock.
1643 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1644 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1645 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1646 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1647 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1648 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1649 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1650 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1651 version.
1652 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1653 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1654
16552015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 [BZ #17801]
1658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1659 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1660 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1661 New.
1662 (index_AVX_Fast_Unaligned_Load): Likewise.
1663 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1664 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1665 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1666 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1667 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1668 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1669 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1670 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1671 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1672
16732015-01-29 Andreas Schwab <schwab@suse.de>
1674
1675 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1676
16772015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1678
1679 [BZ #17892]
1680 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1681
16822015-01-28 Martin Sebor <msebor@redhat.com>
1683
1684 * math/README.libm-test: Clarify. Add "How to read the test output."
1685
16862015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1687
1688 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1689 Define to 0.
1690
16912015-01-28 Joseph Myers <joseph@codesourcery.com>
1692
1693 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1694 (__HAVE_64B_ATOMICS): Define to 0.
1695
16962015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1697
1698 [BZ #17885]
1699 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1700 value to set as new flag.
1701
1702 [BZ #16576]
1703 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1704 and use _ARCH_PPCSQ instead.
1705 (__ieee754_sqrt): Likewise.
1706 (__ieee754_sqrtf): Likewise.
1707 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1708 _ARCH_PPCSQ is defined.
1709 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1710 fsqrt instruction.
1711 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1712 _ARCH_PPCSQ is defined.
1713 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1714 fsqrts instruction.
1715 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1716
17172015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1718
1719 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1720 bug (GCC BZ #64739).
1721
17222015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1723
1724 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1725 Mark _retval as used.
1726 (lll_futex_wake_unlock): Likewise.
1727 (lll_futex_timed_wait_requeue_pi): Likewise.
1728
1729 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1730 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1731 register variables.
1732
1733 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1734 libm_hidden_def.
1735
1736 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1737 (__bswap_64): Mark as __always_inline.
1738
17392015-01-25 Bram <bug_rh@spam.wizbit.be>
1740
1741 [BZ #15378]
1742 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1743 when none of the search directories exist.
1744
17452015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1746
1747 [BZ #17869]
1748 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1749 power8 in .machine directive.
1750
1751 [BZ #17868]
1752 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1753 set dependency from opd value.
1754
17552015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1756
1757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1758 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1759 architecture.
1760
17612015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1762
1763 [BZ #17870]
1764 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1765 with uint64_t.
1766 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1767 (uint64_t) 1.
1768 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1769 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1770 Replace 1UL with (uint64_t) 1.
1771 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1772 int with uint64_t.
1773
17742015-01-23 Roland McGrath <roland@hack.frob.com>
1775
1776 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1777 (if_freenameindex): Likewise.
1778
1779 * resource/getrlimit64.c: Add missing libc_hidden_def.
1780
17812015-01-22 Joseph Myers <joseph@codesourcery.com>
1782
1783 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1784 __label__.
1785 (_FP_FMA): Likewise.
1786 (_FP_TO_INT_ROUND): Likewise.
1787 (_FP_FROM_INT): Likewise.
1788
17892015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790
1791 [BZ #16418]
1792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1793 Make code racy and cancel safe.
1794
17952015-01-21 Carlos O'Donell <carlos@redhat.com>
1796
1797 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1798 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1799 attribution.
1800
1801 * pwd/tst-getpw.c: Rewrite.
1802
1803 [BZ #17702]
1804 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1805 (modules-names): Add moddummy1 and moddummy2.
1806 ($(objpfx)tst-rec-dlopen): Define.
1807 * dlfcn/moddummy1.c: New file.
1808 * dlfcn/moddummy2.c: New file.
1809 * dlfcn/tst-rec-dlopen.c: New file.
1810 * elf/dl-cache.c (_dl_load_cache_lookup):
1811 Return char*. Copy result with alloca/strcpy/strdup.
1812 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1813 returns char*. Free cached. If not saving realname
1814 free cached.
1815 * elf/dl-open.c (dl_open_worker): Do not assert that
1816 _r_debug->r_state is RT_CONSISTENT.
1817 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1818 returns char*.
1819
18202015-01-21 Torvald Riegel <triegel@redhat.com>
1821 Carlos O'Donell <carlos@redhat.com>
1822
1823 [BZ #12674]
1824 * nptl/sem_waitcommon.c: New file.
1825 * nptl/sem_wait.c: Include sem_waitcommon.c.
1826 (__sem_wait_cleanup, do_futex_wait): Remove.
1827 (__new_sem_wait): Adapt.
1828 (__new_sem_trywait): New function.
1829 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1830 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1831 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1832 (sem_timedwait): Adapt.
1833 * nptl/sem_post.c (__new_sem_post): Adapt.
1834 (futex_wake): New function.
1835 (__old_sem_post): Add release MO fence.
1836 * nptl/sem_open.c (sem_open): Adapt.
1837 * nptl/sem_init.c (__new_sem_init): Adapt.
1838 (futex_private_if_supported): New function.
1839 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1840 (__old_sem_getvalue): Add using previous code.
1841 * sysdeps/nptl/internaltypes.h: Adapt.
1842 * nptl/tst-sem13.c (do_test): Adapt.
1843 * nptl/tst-sem11.c (main): Adapt.
1844 * nptl/sem_trywait.c: Remove.
1845 * nptl/DESIGN-sem.txt: Remove.
1846 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1847 (gen-as-const-headers): Remove structsem.sym.
1848 * nptl/structsem.sym: Remove.
1849 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1850 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1851 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1852 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1853 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1854 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1855 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1856 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1857 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1858 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1859 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1860 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1861 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1862 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1863 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1864 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1865 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1866 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1867 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1868 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1869 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1870 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1871
18722015-01-20 Carlos O'Donell <carlos@redhat.com>
1873
1874 * INSTALL: Regenerated.
1875
1876 * po/libc.pot: Regenerated.
1877
18782015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1879 Sandra Loosemore <sandra@codesourcery.com>
1880 Andrew Jenner <andrew@codesourcery.com>
1881 Joseph Myers <joseph@codesourcery.com>
1882 Nathan Sidwell <nathan@codesourcery.com>
1883
1884 * NEWS: Mention new Nios II port.
1885 * sysdeps/nios2/Implies: New file.
1886 * sysdeps/nios2/Makefile: New file.
1887 * sysdeps/nios2/Subdirs: New file.
1888 * sysdeps/nios2/Versions: New file.
1889 * sysdeps/nios2/__longjmp.S: New file.
1890 * sysdeps/nios2/abort-instr.h: New file.
1891 * sysdeps/nios2/backtrace.c: New file.
1892 * sysdeps/nios2/bits/endian.h: New file.
1893 * sysdeps/nios2/bits/fenv.h: New file.
1894 * sysdeps/nios2/bits/link.h: New file.
1895 * sysdeps/nios2/bits/setjmp.h: New file.
1896 * sysdeps/nios2/bsd-_setjmp.S: New file.
1897 * sysdeps/nios2/bsd-setjmp.S: New file.
1898 * sysdeps/nios2/configure: New generated file.
1899 * sysdeps/nios2/configure.ac: New file.
1900 * sysdeps/nios2/crti.S: New file.
1901 * sysdeps/nios2/crtn.S: New file.
1902 * sysdeps/nios2/dl-init.c: New file.
1903 * sysdeps/nios2/dl-machine.h: New file.
1904 * sysdeps/nios2/dl-sysdep.h: New file.
1905 * sysdeps/nios2/dl-tls.h: New file.
1906 * sysdeps/nios2/dl-trampoline.S: New file.
1907 * sysdeps/nios2/gccframe.h: New file.
1908 * sysdeps/nios2/gmp-mparam.h: New file.
1909 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1910 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1911 * sysdeps/nios2/ldsodefs.h: New file.
1912 * sysdeps/nios2/libc-tls.c: New file.
1913 * sysdeps/nios2/libm-test-ulps: New file.
1914 * sysdeps/nios2/machine-gmon.h: New file.
1915 * sysdeps/nios2/math-tests.h: New file.
1916 * sysdeps/nios2/math_private.h: New file.
1917 * sysdeps/nios2/memusage.h: New file.
1918 * sysdeps/nios2/nptl/Makefile: New file.
1919 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1920 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1921 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1922 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1923 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1924 * sysdeps/nios2/nptl/tls.h: New file.
1925 * sysdeps/nios2/preconfigure: New file.
1926 * sysdeps/nios2/s_fma.c: New file.
1927 * sysdeps/nios2/s_fmaf.c: New file.
1928 * sysdeps/nios2/setjmp.S: New file.
1929 * sysdeps/nios2/sfp-machine.h: New file.
1930 * sysdeps/nios2/sotruss-lib.c: New file.
1931 * sysdeps/nios2/stackguard-macros.h: New file.
1932 * sysdeps/nios2/stackinfo.h: New file.
1933 * sysdeps/nios2/start.S: New file.
1934 * sysdeps/nios2/sysdep.h: New file.
1935 * sysdeps/nios2/tls-macros.h: New file.
1936 * sysdeps/nios2/tst-audit.h: New file.
1937 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1938 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1939 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1940 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1941 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1942 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1943 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1944 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1945 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1946 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1947 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1948 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1949 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1950 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1951 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1952 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1953 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1954 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1955 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1956 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1957 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1958 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1959 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1960 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1961 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1962 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1963 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1964 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1965 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1966 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1967 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1968 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1969 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1970 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1971 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1972 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1973 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1974 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1975 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1976 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1977 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1978 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1979 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1980 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1981
19822015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1983
1984 [BZ #17844]
1985 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1986 (getutent): Use weak_alias in non SHARED case
1987 and default_symbol_version in SHARED case.
1988 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1989 (getutent_r, pututline): Likewise.
1990 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1991 (getutid): Likewise.
1992 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1993 (getutid_r): Likewise.
1994 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1995 (getutline): Likewise.
1996 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1997 (getutline_r): Likewise.
1998 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1999 (updwtmp): Likewise.
2000
20012015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2002
2003 [BZ #17848]
2004 * sysdeps/s390/s390-32/memcmp.S
2005 (memcmp_g5): Rename to __memcmp_g5.
2006 * sysdeps/s390/s390-32/memcpy.S
2007 (memcpy_g5): Rename to __memcpy_g5.
2008 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2009 (memcpy_mvcle) Rename to __memcpy_mvcle.
2010 * sysdeps/s390/s390-32/memset.S
2011 (memset_g5): Rename to __memset_g5.
2012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2013 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2014 and use prefixed functions.
2015 * sysdeps/s390/s390-32/multiarch/memcmp.S
2016 (memcmp_z196): Rename to __memcmp_z196.
2017 (memcmp_z10): Rename to __memcmp_z10.
2018 (memcmp): Set alias to __memcmp_g5.
2019 (bcmp): Set alias to __memcmp_g5.
2020 * sysdeps/s390/s390-32/multiarch/memcpy.S
2021 (memcpy_z196): Rename to __memcpy_z196.
2022 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2023 (memcpy_z10): Rename to __memcpy_z10.
2024 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2025 (memcpy): Set alias to __memcpy_g5.
2026 * sysdeps/s390/s390-32/multiarch/memset.S
2027 (memset_z196): Rename to __memset_z196.
2028 Jump to __memset_mvcle instead of memset_mvcle.
2029 (memset_z10): Rename to __memset_z10.
2030 Jump to __memset_mvcle instead of memset_mvcle.
2031 (memset_mvcle) Rename to __memset_mvcle.
2032 (memset): Set alias to __memset_g5.
2033 * sysdeps/s390/s390-64/memcmp.S
2034 (memcmp_z900): Rename to __memcmp_z900.
2035 * sysdeps/s390/s390-64/memcpy.S
2036 (memcpy_z900): Rename to __memcpy_z900.
2037 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2038 (memcpy_mvcle) Rename to __memcpy_mvcle.
2039 * sysdeps/s390/s390-64/memset.S
2040 (memset_z900): Rename to __memset_z900.
2041 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2042 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2043 and use prefixed functions.
2044 * sysdeps/s390/s390-64/multiarch/memcmp.S
2045 (memcmp_z196): Rename to __memcmp_z196.
2046 (memcmp_z10): Rename to __memcmp_z10.
2047 (memcmp): Set alias to __memcmp_z900.
2048 (bcmp): Set alias to __memcmp_z900.
2049 * sysdeps/s390/s390-64/multiarch/memcpy.S
2050 (memcpy_z196): Rename to __memcpy_z196.
2051 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2052 (memcpy_z10): Rename to __memcpy_z10.
2053 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2054 (memcpy): Set alias to __memcpy_z900.
2055 * sysdeps/s390/s390-64/multiarch/memset.S
2056 (memset_z196): Rename to __memset_z196.
2057 Jump to __memset_mvcle instead of memset_mvcle.
2058 (memset_z10): Rename to __memset_z10.
2059 Jump to __memset_mvcle instead of memset_mvcle.
2060 (memset_mvcle) Rename to __memset_mvcle.
2061 (memset): Set alias to __memset_z900.
2062
20632015-01-14 Joseph Myers <joseph@codesourcery.com>
2064
2065 [BZ #17748]
2066 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2067 __fesetenv instead of fesetenv.
2068
20692015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2070
2071 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2072 macro.
2073
20742015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2075
2076 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2077 regression on LE.
2078
2079 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2080 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2081 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2082 strncmp-power8 object.
2083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2084 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2085 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2086 * NEWS: Update.
2087
20882015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2089 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090
2091 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2092 trailing byte check.
2093
20942015-01-13 David S. Miller <davem@davemloft.net>
2095
2096 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2097
20982015-01-13 Roland McGrath <roland@hack.frob.com>
2099
2100 * login/logout.c (logout): Use memset rather than bzero.
2101 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2102 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2103 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2104 (_gethtbyaddr): Likewise.
2105 * locale/programs/simple-hash.c (bcopy): Macro removed.
2106
21072015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108
2109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2110 Add strcmp-power8 object.
2111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2112 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2113 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2114 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2115 __strcmp_power8 implementation.
2116 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2117 * NEWS: Update.
2118
2119 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2120 Add strncpy-power8 and stpncpy-power8 objects.
2121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2122 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2123 implementations.
2124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2125 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2126 __stpncpy_power8 implementation.
2127 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2128 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2129 __strncpy_power8 implementation.
2130 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2131 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2132 * NEWS: Update.
2133
2134 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2135 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2136 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2137
2138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2139 strncat-power8 object.
2140 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2141 __strcat_power8 implementation.
2142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2143 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2144 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2145 optimized strcat for power8.
2146
2147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2148 strcpy-power8 and stpcpy-power8 objects.
2149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2150 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2151 implementations.
2152 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2153 multiarch stpcpy implementation for POWER8.
2154 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2155 multiarch strcpy implementation for POWER8.
2156 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2157 __strcpy_power8 function.
2158 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2159 stpcpy for POWER8.
2160 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2161 strcpy for POWER8.
2162 * NEWS: Update.
2163
21642015-01-13 Leonhard Holz <leonhard.holz@web.de>
2165
2166 [BZ #16009]
2167 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2168 weights and rules. Use do_xfrm_cached if data fits in cache,
2169 do_xfrm otherwise. Moved former main loop to...
2170 * (do_xfrm_cached): New function.
2171 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2172 find_idx, find_position and stack_push.
2173 * (find_idx): New function.
2174 * (find_position): Likewise.
2175 * localedata/sort-test.sh: Added test run for do_xfrm.
2176 * localedata/xfrm-test.c (main): Added command line option
2177 -nocache to run the test with strings that are too large for
2178 the STRXFRM cache.
2179
21802015-01-13 Torvald Riegel <triegel@redhat.com>
2181
2182 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2183 variable to lll_futex_wake call, not the value itself.
2184
21852015-01-12 Joseph Myers <joseph@codesourcery.com>
2186
2187 [BZ #17803]
2188 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2189 twom64. Adjust value to 0x1p-64L.
2190 (__scalblnl): Only return standard underflowing result for K <=
2191 -64 not K <= -63; adjust exponent for underflowing result by 64
2192 not 63.
2193 * math/libm-test.inc (scalbn_test_data): Add more tests.
2194 (scalbln_test_data): Likewise.
2195
2196 [BZ #17834]
2197 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2198 0x1p63L.
2199 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2200 not HX.
2201 * math/libm-test.inc (scalbn_test_data): Add more tests.
2202 (scalbln_test_data): Likewise.
2203
22042015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2205 Stefani Seibold <stefani@seibold.net>
2206
2207 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2208 (sysdep_routines): Add dl-vdso here, ...
2209 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2210 (sysdep_routines): ... not here.
2211 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2212 fallback when vDSO is not presented.
2213 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2214 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2215 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2216 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2217 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2219 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2221 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2223 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2224 fallback configurable symbol when vDSO is not available.
2225 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2226 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2227 be able to redefine fallback symbol when vDSO is not available.
2228 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2229 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2230
22312015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2232
2233 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2234 (TLS_INIT_TP): Add tm_capable initialization.
2235 (TLS_DEFINE_INIT_TP): Likewise.
2236 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2237 TCB.
2238 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2239 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2240 calculation.
2241 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2242 transactoion is lock elision is built and TCB tm_capable is set.
2243 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2245 (INTERNAL_SYSCALL_NCS): Likewise.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2247 (INTERNAL_SYSCALL_NCS): Likewise.
2248 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2249
2250 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2251 for powerpc.
2252 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2253 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2254 and remove it for 32 bits case.
2255 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2257 initialization.
2258 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2259 Disable lock elision with rdlocks if elision is not available.
2260
2261 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2262 (sysdep_routines): Add lock elision objects.
2263 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2264 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2265 [pthread_mutex_t] (__elision): Add field.
2266 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2267 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2268 elision definitions for powerpc.
2269 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2270 implementation of lock elision for powerpc.
2271 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2272 implementation of timed lock elision for powerpc.
2273 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2274 implementation of trylock with lock elision for powerpc.
2275 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2276 implementaion of unlock for lock elision for powerpc.
2277 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2278 automatic enable lock elision for mutexes.
2279 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2280 transaction execution definitions for powerpc.
2281 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2282 definitions.
2283 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2284 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2286 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2287 * NEWS: Update.
2288
22892015-01-09 Roland McGrath <roland@hack.frob.com>
2290
2291 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2292 for #include of <shm-directory.h>.
2293
22942015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2295
2296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2297 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2298
22992015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2300
2301 [BZ #17791]
2302 * NEWS: Mention bug fix.
2303 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2304 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2305 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2306
23072015-01-09 Torvald Riegel <triegel@redhat.com>
2308
2309 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2310
23112015-01-09 Torvald Riegel <triegel@redhat.com>
2312
2313 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2314
23152015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2316
2317 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2318 pointer and cast to uintptr_t.
2319
23202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2321
2322 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2323 removed.
2324 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2325
23262015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2327
2328 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2329 of 0.
2330
23312015-01-08 Roland McGrath <roland@hack.frob.com>
2332
2333 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2334 <nptl/pthreadP.h> instead.
2335 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2336
2337 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2338 already defined.
2339 [__SIGRTMIN] (init): Function removed.
2340 [__SIGRTMIN] (initialized): Variable removed.
2341 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2342 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2343 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2344 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2345 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2346 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2347 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2348 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2349 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2350 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2351 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2352 * sysdeps/nptl/allocrtsig.c: New file.
2353 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2354 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2355 * sysdeps/generic/testrtsig.h: File removed.
2356
2357 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2358 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2359
2360 * nptl/nptl-init.c (pthread_functions): Conditionalize
2361 .ptr__nptl_setxid initialization on [SIGSETXID].
2362
2363 * sysdeps/nptl/sys/procfs.h: New file.
2364 * nptl_db/Makefile (headers): Add it.
2365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2366
2367 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2368 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2369 * nptl/pthread_attr_setaffinity.c: Include it.
2370 * nptl/pthread_setattr_default_np.c: Likewise.
2371 * nptl/check-cpuset.h: New file.
2372
23732015-01-08 Richard Henderson <rth@redhat.com>
2374
2375 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2376 (CFLAGS-tst-execstack-prog.c): Likewise.
2377 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2378
23792015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2380 Sandra Loosemore <sandra@codesourcery.com>
2381 Andrew Jenner <andrew@codesourcery.com>
2382 Joseph Myers <joseph@codesourcery.com>
2383 Nathan Sidwell <nathan@codesourcery.com>
2384
2385 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2386 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2387 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2388 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2389 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2390 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2391 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2392 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2393 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2394 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2395 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2396 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2397 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2398 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2399 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2400 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2401 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2402
24032015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2406 timespec struct member in syscall macro.
2407 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2408 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2409 first timeval struct member in syscall macro.
2410 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2411
24122015-01-07 Joseph Myers <joseph@codesourcery.com>
2413
2414 [BZ #17748]
2415 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2416 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2417 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2418 __feupdateenv and define as weak alias of __feupdateenv. Use
2419 libm_hidden_weak.
2420 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2421 libm_hidden_def.
2422 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2423 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2424 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2425 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2426 libm_hidden_def.
2427 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2428 __feupdateenv and define as weak alias of __feupdateenv. Use
2429 libm_hidden_weak.
2430 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2431 libm_hidden_def.
2432 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2433 __feupdateenv and define as weak alias of __feupdateenv. Use
2434 libm_hidden_weak.
2435 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2436 libm_hidden_def.
2437 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2438 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2439 (__feupdateenv): Likewise.
2440 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2441 __feupdateenv and define as weak alias of __feupdateenv. Use
2442 libm_hidden_weak.
2443 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2444 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2445 libm_hidden_def.
2446 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2447 function.
2448 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2449 libm_hidden_def.
2450 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2451 __feupdateenv instead of feupdateenv.
2452 (default_libc_feupdateenv_test): Likewise.
2453 (libc_feresetround_ctx): Likewise.
2454
24552015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2456
2457 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2458 prototype.
2459
24602015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2461
2462 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2463 COLL_SYM in a couple of places to avoid uninitialized variable
2464 wanings on tilegx gcc 4.8.2.
2465
24662015-01-07 Richard Earnshaw <rearnsha@arm.com>
2467
2468 * sysdeps/aarch64/strcpy.S: New file.
2469 * sysdeps/aarch64/stpcpy.S: New file.
2470 * NEWS: Updated.
2471
24722015-01-07 Richard Earnshaw <rearnsha@arm.com>
2473
2474 * sysdeps/aarch64/strrchr.S: New file.
2475 * NEWS: Updated.
2476
24772015-01-07 Eric Biggers <ebiggers3@gmail.com>
2478
2479 [BZ #17658]
2480 * stdlib/setenv.c: Fix memory leak when setting large,
2481 duplicate string.
2482
24832015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2484
2485 [BZ #17273]
2486 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2487 and tabs from buffer before parsing fstab entry.
2488 * misc/tst-mntent.c (main): Add test for mount entry with
2489 trailing spaces and tabs.
2490
24912015-01-06 Joseph Myers <joseph@codesourcery.com>
2492
2493 [BZ #17748]
2494 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2495 * math/fesetround.c (fesetround): Rename to __fesetround and
2496 define as weak alias of __fesetround. Use libm_hidden_weak.
2497 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2498 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2499 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2500 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2501 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2502 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2503 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2504 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2505 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2506 __fesetround_inline.
2507 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2508 __fesetround_inline instead of __fesetround.
2509 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2510 __fesetround and define as weak alias of __fesetround. Use
2511 libm_hidden_weak. Call __fesetround_inline instead of
2512 __fesetround.
2513 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2514 __fesetround and define as weak alias of __fesetround. Use
2515 libm_hidden_weak.
2516 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2517 Likewise.
2518 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2520 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2521 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2522 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2523 __fesetround and define as weak alias of __fesetround. Use
2524 libm_hidden_weak.
2525 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2526 __fesetround instead of fesetround.
2527 (default_libc_feholdexcept_setround): Likewise.
2528 (libc_feholdsetround_ctx): Likewise.
2529 (libc_feholdsetround_noex_ctx): Likewise.
2530
2531 [BZ #17748]
2532 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2533 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2534 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2535 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2536 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2537 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2538 define as weak alias of __fesetenv. Use libm_hidden_weak.
2539 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2540 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2541 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2542 define as weak alias of __fesetenv. Use libm_hidden_weak.
2543 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2544 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2545 define as weak alias of __fesetenv. Use libm_hidden_weak.
2546 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2547 libm_hidden_def.
2548 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2549 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2550 Likewise.
2551 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2552 define as weak alias of __fesetenv. Use libm_hidden_weak.
2553 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2554 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2555 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2556 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2557 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2558 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2559 __fesetenv instead of fesetenv.
2560 (libc_feresetround_noex_ctx): Likewise.
2561 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2562 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2563 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2564 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2565 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2566 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2567 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2568 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2569 (__feupdateenv): Likewise.
2570 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2571 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2572 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2573 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2574
25752015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2576
2577 [BZ #17806]
2578 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2579 addresses have been freed.
2580
25812015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2582
2583 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2584 and nservall.
2585
25862015-01-06 Ondřej Bílka <neleai@seznam.cz>
2587
2588 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2589 Clean up check_pf allocation pattern. addresses
2590
25912015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2594 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2595 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2596 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2597 * nptl/pthread_join.c (pthread_join): Likewise.
2598 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2599 * sysdeps/posix/waitid.c (__waitid): Likewise.
2600 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2601 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2602 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2603 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2604 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2605 Likewise.
2606 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2607 (__libc_pread64): Likewise.
2608 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2609 (__libc_pwrite): Likewise.
2610 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2611 (__libc_pwrite64): Likewsie.
2612 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2613 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2614 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2615 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2616 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2617 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2618 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2620 Likewise.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2622 (__libc_pread64): Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2624 Likewise.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2626 (__libc_pwrite64): Likewise.
2627 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2628 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2629 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2630 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2631 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2632 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2633 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2634 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2635 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2636 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2637 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2638 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2639 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2640 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2641 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2643 Likewise.
2644
26452015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2646
2647 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2648 (CFLAGS-test-double.c): Likewise.
2649 (CFLAGS-test-ldouble.c): Likewise.
2650 (CPPFLAGS-test-ifloat.c): Likewise.
2651 (CPPFLAGS-test-idouble.c): Likewise.
2652 (CPPFLAGS-test-ildoubl.c): Likewise.
2653 (CFLAGS-test-test-fenv.c): Remove variable.
2654 (CFLAGS-test-misc.c): Likewise.
2655
26562015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 [BZ #17797]
2659 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2660 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2661 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2662 CLOCKS_PER_SEC == 1000000.
2663 * time/clocktest.c (main): Replace %ld with %jd and cast to
2664 intmax_t.
2665
26662015-01-05 Roland McGrath <roland@hack.frob.com>
2667
2668 * sysdeps/generic/unwind-resume.h: New file.
2669 * sysdeps/gnu/unwind-resume.c: Include it.
2670 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2671 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2672 argument list.
2673 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2674 global rather than static.
2675 (_Unwind_Resume): Update user.
2676 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2677 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2678 rather than static. Add __attribute__ ((cold)).
2679 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2680 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2681 * sysdeps/arm/arm-unwind-resume.S: New file.
2682 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2683 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2684 * sysdeps/arm/Makefile [$(subdir) = csu]
2685 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2686 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2687 Add rt-arm-unwind-resume.
2688 [$(subdir) = nptl]
2689 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2690 Add pt-arm-unwind-resume.
2691 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2692 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2693
26942015-01-05 Joseph Myers <joseph@codesourcery.com>
2695
2696 [BZ #17748]
2697 * include/fenv.h (__feholdexcept): Declare. Use
2698 libm_hidden_proto.
2699 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2700 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2701 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2702 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2703 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2704 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2705 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2706 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2707 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2708 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2709 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2710 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2711 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2712 (feholdexcept): Likewise.
2713 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2714 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2715 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2716 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2717 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2718 __feholdexcept instead of feholdexcept.
2719 (default_libc_feholdexcept_setround): Likewise.
2720
27212015-01-05 Steve Ellcey <sellcey@imgtec.com>
2722
2723 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2724 to avoid using stl/str to align destination.
2725
27262015-01-05 Steve Ellcey <sellcey@imgtec.com>
2727
2728 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2729
27302015-01-05 Joseph Myers <joseph@codesourcery.com>
2731
2732 [BZ #17796]
2733 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2734 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2735 Define as weak alias not strong alias.
2736
27372015-01-05 Steve Ellcey <sellcey@imgtec.com>
2738
2739 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2740 bltzal with addiupc.
2741 (RTLD_START): Ditto.
2742
27432015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2744
2745 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2746 for __vdso_* functions in declarations.
2747 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2748 definitions.
2749 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2750 INTERNAL_VSYSCALL): Use struct return types to check for error.
2751
2752 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2753 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2754 function with cast from llround().
2755 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2756 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2757 Define.
2758
27592015-01-05 Joseph Myers <joseph@codesourcery.com>
2760
2761 [BZ #17793]
2762 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2763 Define as weak alias not strong alias.
2764
2765 [BZ #17635]
2766 * ctype/ctype-c99.c: New file. isblank implementation moved from
2767 ...
2768 * ctype/ctype-extn.c: ... here.
2769 (__isblank_l): Move to ...
2770 * ctype/ctype-c99_l.c: ... here. New file.
2771 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2772 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2773 Remove variable.
2774 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2775 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2776 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2777 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2778 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2779
2780 [BZ #17777]
2781 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2782 (posix_fadvise64): Define as weak alias not strong alias.
2783 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2784 (posix_fallocate64): Likewise.
2785 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2786 Remove variable.
2787 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2788 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2789 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2790 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2791 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2792
27932015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2794
2795 [BZ #16191]
2796 * NEWS: Mention bug fix.
2797 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2798 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2799 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2800 (HOST_STACK_END_ADDR): Likewise.
2801
28022015-01-02 Joseph Myers <joseph@codesourcery.com>
2803
2804 [BZ #17748]
2805 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2806 * math/fegetround.c (fegetround): Rename to __fegetround and
2807 define as weak alias of __fegetround. Use libm_hidden_weak.
2808 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2809 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2810 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2811 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2812 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2813 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2814 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2815 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2816 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2817 Undefine after rather than before function definition; use
2818 parentheses around function name in definition.
2819 (__fegetround): Also undefine macro after function definition.
2820 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2821 __fegetround and define as weak alias of __fegetround. Use
2822 libm_hidden_weak. Do not undefine as macro.
2823 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2824 Likewise.
2825 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2826 __fegetround and define as weak alias of __fegetround. Use
2827 libm_hidden_weak.
2828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2829 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2830 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2831 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2832 __fegetround and define as weak alias of __fegetround. Use
2833 libm_hidden_weak.
2834 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2835 __fegetround instead of fegetround.
2836
2837 [BZ #17782]
2838 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2839 Condition macro definition on [__USE_MISC].
2840
2841 [BZ #17781]
2842 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2843 (struct sigaction): Change type of sa_flags field to int.
2844
2845 [BZ #17780]
2846 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2847 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2848 __glibc_reserved0.
2849
2850 * nptl/version.c (banner): Use single year in copyright notice.
2851
2852 * NEWS: Update copyright dates.
2853 * catgets/gencat.c (print_version): Likewise.
2854 * csu/version.c (banner): Likewise.
2855 * debug/catchsegv.sh: Likewise.
2856 * debug/pcprofiledump.c (print_version): Likewise.
2857 * debug/xtrace.sh (do_version): Likewise.
2858 * elf/ldconfig.c (print_version): Likewise.
2859 * elf/ldd.bash.in: Likewise.
2860 * elf/pldd.c (print_version): Likewise.
2861 * elf/sotruss.sh: Likewise.
2862 * elf/sprof.c (print_version): Likewise.
2863 * iconv/iconv_prog.c (print_version): Likewise.
2864 * iconv/iconvconfig.c (print_version): Likewise.
2865 * locale/programs/locale.c (print_version): Likewise.
2866 * locale/programs/localedef.c (print_version): Likewise.
2867 * login/programs/pt_chown.c (print_version): Likewise.
2868 * malloc/memusage.sh (do_version): Likewise.
2869 * malloc/memusagestat.c (print_version): Likewise.
2870 * malloc/mtrace.pl: Likewise.
2871 * manual/libc.texinfo: Likewise.
2872 * nptl/version.c (banner): Likewise.
2873 * nscd/nscd.c (print_version): Likewise.
2874 * nss/getent.c (print_version): Likewise.
2875 * nss/makedb.c (print_version): Likewise.
2876 * posix/getconf.c (main): Likewise.
2877 * scripts/test-installation.pl: Likewise.
2878 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2879
28802015-01-02 Will Newton <will.newton@linaro.org>
2881
2882 * sysdeps/arm/armv7/configure: Removed.
2883 * sysdeps/arm/armv7/configure.ac: Likewise.
2884
28852015-01-02 Joseph Myers <joseph@codesourcery.com>
2886
2887 * All files with FSF copyright notices: Update copyright dates
2888 using scripts/update-copyrights.
2889 * intl/plural.c: Regenerated.
2890 * locale/programs/charmap-kw.h: Likewise.
2891 * locale/programs/locfile-kw.h: Likewise.
2892
28932015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2894
2895 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2896
28972014-12-31 Joseph Myers <joseph@codesourcery.com>
2898
2899 [BZ #17748]
2900 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2901 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2902 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2903 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2904 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2905 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2906 define as weak alias of __fegetenv. Use libm_hidden_weak.
2907 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2908 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2909 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2910 define as weak alias of __fegetenv. Use libm_hidden_weak.
2911 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2912 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2913 define as weak alias of __fegetenv. Use libm_hidden_weak.
2914 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2915 libm_hidden_def.
2916 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2918 Likewise.
2919 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2920 define as weak alias of __fegetenv. Use libm_hidden_weak.
2921 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2922 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2923 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2924 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2925 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2926 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2927 __fegetenv instead of fegetenv.
2928 (libc_feholdsetround_noex_ctx): Likewise.
2929
29302014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2931
2932 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2933 (Elf_MIPS_ABIFlags_v0): New structure.
2934 (EF_MIPS_FP64): Define.
2935 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2936 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2937 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2938 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2939 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2940 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2941 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2942 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2943 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2944 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2945 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2946 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2947 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2948 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2949 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2950 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2951 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2952 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2953 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2954 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2955 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2956 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2957 field.
2958 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2959 EF_MIPS_FP64.
2960 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2961 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2962 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2963 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2964 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2965 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2966 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2967 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2968 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2969 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2970 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2971 record the current FP ABI extension.
2972 (mips-mode-switch): Define to show if kernel headers support mode
2973 switching.
2974 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2975 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2976 supported SYSV ABI version to 3.
2977 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2978 feature.
2979
29802014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2981 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2982
2983 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2984 path.
2985 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2986
29872014-12-31 Joseph Myers <joseph@codesourcery.com>
2988
2989 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2990 __fegetround and redefine to call __fegetround. Remove condition
2991 on [!__NO_MATH_INLINES].
2992 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2993 function.
2994 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2995 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2996 Remove macro.
2997 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2998 instead of <fenv_libc.h>.
2999 (__llrintl): Call fegetround instead of __fegetround.
3000 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3001 instead of <fenv_libc.h>.
3002 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3003 (__lrintl): Call fegetround instead of __fegetround.
3004 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3005 instead of <fenv_libc.h>.
3006 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3007 (__rintl): Call fegetround instead of __fegetround.
3008
30092014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3010
3011 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3012 arrays.
3013
30142014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3015
3016 [BZ #17775]
3017 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3018 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3019 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3020
30212014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3022
3023 * sysdeps/i386/tls-macros.h: Include <features.h>.
3024 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3025 (TLS_IE): Likewise.
3026 (TLS_LD): Likewise.
3027 (TLS_GD): Likewise.
3028 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3029 define for GCC >= 5.0.
3030
30312014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3032
3033 * math/test-fenv.c (test_single_exception, set_single_exc,
3034 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3035 feexcp_mask_test, feenable_test, fe_single_test): Add
3036 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3037 case where they are not used.
3038 * math/libm-test.inc: Likewise.
3039 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3040 unused in the absence of FP rounding/exception support.
3041 * stdio-common/tst-printf-round.c: Likewise.
3042 * stdlib/tst-strtod-round.c: Likewise.
3043 * stdlib/tst-strtod-underflow.c: Likewise.
3044
30452014-12-30 Joseph Myers <joseph@codesourcery.com>
3046
3047 [BZ #17723]
3048 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3049 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3050 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3051 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3052 libm_hidden_weak.
3053 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3054 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3055 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3056 libm_hidden_def.
3057 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3058 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3059 libm_hidden_weak.
3060 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3061 Likewise.
3062 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3063 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3064 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3065 libm_hidden_weak.
3066 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3067 libm_hidden_def.
3068 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3069 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3070 (__feraiseexcept): Likewise.
3071 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3072 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3073 libm_hidden_weak.
3074 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3075 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3076 libm_hidden_def.
3077 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3078 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3079 Use libm_hidden_def.
3080 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3081 libm_hidden_def.
3082 (feraiseexcept): Define as weak not strong alias. Use
3083 libm_hidden_weak.
3084 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3085 New inline function. Factored out of ...
3086 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3087 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3088 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3089 feraiseexcept.
3090 * math/w_acos.c (__acos): Likewise.
3091 * math/w_asin.c (__asin): Likewise.
3092 * math/w_ilogb.c (__ilogb): Likewise.
3093 * math/w_j0.c (y0): Likewise.
3094 * math/w_j1.c (y1): Likewise.
3095 * math/w_jn.c (yn): Likewise.
3096 * math/w_log.c (__log): Likewise.
3097 * math/w_log10.c (__log10): Likewise.
3098 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3099 * sysdeps/aarch64/fpu/math_private.h
3100 (libc_feupdateenv_test_aarch64): Likewise.
3101 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3102 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3103 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3104 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3105 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3106 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3107 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3108 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3109 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3110 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3111
31122014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3113
3114 [BZ #17732]
3115 * io/test-utime.c (main): Replace %ld with %jd and cast to
3116 intmax_t.
3117 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3118 * nptl/tst-mutex5.c: Include <stdint.h>.
3119 (do_test): Replace %ld with %jd and cast to intmax_t.
3120 * posix/tst-regex.c (run_test): Likewise.
3121 (run_test_backwards): Likewise.
3122 * rt/tst-clock.c: Include <stdint.h>.
3123 (clock_test): Replace %ld with %jd and cast to intmax_t.
3124 * rt/tst-cpuclock1.c: Include <stdint.h>.
3125 (do_test): Replace %lu with %ju and cast to uintmax_t.
3126 * rt/tst-cpuclock2.c: Include <stdint.h>.
3127 (do_test): Replace %lu with %ju and cast to uintmax_t.
3128 * rt/tst-mqueue1.c: Include <stdint.h>.
3129 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3130 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3131 intmax_t.
3132 * rt/tst-mqueue4.c (do_test): Likewise.
3133 * rt/tst-timer4.c: Include <stdint.h>.
3134 (check_ts): Replace %ld with %jd and cast to intmax_t.
3135 (do_test): Likewise.
3136 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3137 and cast to intmax_t.
3138 * sysdeps/pthread/tst-timer.c (main): Likewise.
3139 * time/clocktest.c (main): Likewise.
3140 * time/tst-posixtz.c (do_test): Likewise.
3141 * timezone/tst-timezone.c (main): Likewise.
3142
31432014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3144 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3147 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3151 version if bit_Fast_Unaligned_Load is set.
3152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3159 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3160 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3161 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3162 to 4.
3163 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3164 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3165 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3166 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3167
31682014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3169
3170 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3171 instead of #if to avoid a Wundef warning.
3172 * stdlib/tst-limits.c (do_test): Likewise.
3173
3174 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3175 parallel other exception macros.
3176 (fegetenv): Convert from macro to extern inline so that it applies
3177 retroactively to inline functions already seen by the compiler.
3178 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3179
3180 * posix/Makefile (before-compile): Use $(objpfx) for
3181 posix-conf-vars-def.h.
3182
31832014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3184
3185 * posix/getconf.c (main): Use size_t for type of I.
3186 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3187 NSPEC.
3188
3189 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3190 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3191 * posix/posix-envs.def: Likewise.
3192 * sysdeps/posix/sysconf.c: Likewise.
3193 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3194 (specs): Remove array.
3195 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3196 array.
3197
3198 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3199 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3200 (__sysconf): Use CONF_IS_* macros.
3201
3202 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3203 ($(objpfx)posix-conf-vars-def.h): New target.
3204 * posix/posix-conf-vars.list: New file.
3205 * posix/posix-conf-vars.h: New file.
3206 * posix/confstr.c: Include posix-conf-vars.h.
3207 (confstr): Use CONF_IS_* macros.
3208 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3209 CONF_IS_* macros.
3210 * scripts/gen-posix-conf-vars.awk: New file.
3211
32122014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3213
3214 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3215 fegetround): Add no-op macros to avoid linknamespace issues.
3216
3217 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3218 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3219
3220 * sysdeps/unix/sysv/linux/tile/sysdep.h
3221 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3222 assembly-specific section to avoid a redefinition warning.
3223
3224 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3225 long before casting to pointer to avoid a cast warning.
3226
32272014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3228
3229 * sysdeps/tile/tilegx/Implies: New file.
3230
32312014-12-23 Richard Earnshaw <rearnsha@arm.com>
3232
3233 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3234
32352014-12-23 Florian Weimer <fweimer@redhat.com>
3236
3237 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3238
32392014-12-22 Joseph Myers <joseph@codesourcery.com>
3240
3241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3242 not define.
3243 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3244 <kernel-features.h>.
3245 (__utimes) [__NR_utimes]: Make code unconditional.
3246 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3247 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3248 (__ASSUME_UTIMES): Do not undefine.
3249 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3250 (__ASSUME_UTIMES): Likewise.
3251 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3252 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3253 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3254 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3255
32562014-12-22 Steve Ellcey <sellcey@imgtec.com>
3257
3258 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3259
32602014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3261
3262 [BZ #17747]
3263 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3264 alias to weak alias for j0l, y0l.
3265 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3266 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3267
3268 [BZ #17746]
3269 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3270 conversion.
3271
32722014-12-22 Steve Ellcey <sellcey@imgtec.com>
3273
3274 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3275 to zero if not already defined.
3276
32772014-12-22 Joseph Myers <joseph@codesourcery.com>
3278
3279 [BZ #17724]
3280 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3281 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3282 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3283 (char *) casts added.
3284 * sysdeps/ieee754/k_standardf.c: New file.
3285 * sysdeps/ieee754/k_standardl.c: Likewise.
3286 * math/Makefile (libm-support): Remove k_standard.
3287 (libm-calls): Add k_standard.
3288
32892014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3290
3291 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3292 Optimize to avoid an unnecessary FPCR read.
3293
32942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3295
3296 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3297 Optimize to reduce FPCR/FPSR accesses.
3298
32992014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3300
3301 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3302 Call libc_fetestexcept_aarch64.
3303
33042014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3305
3306 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3307 Call libc_fesetround_aarch64.
3308
33092014-12-22 Joseph Myers <joseph@codesourcery.com>
3310
3311 [BZ #17733]
3312 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3313 (__bind): Do not define as weak alias.
3314 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3315 define.
3316 (__getsockname): Do not define as weak alias.
3317
33182014-12-22 Will Newton <will.newton@linaro.org>
3319
3320 * manual/install.texi: Document that we require bison 2.7
3321 or above.
3322 * INSTALL: Regenerate.
3323 * configure.ac: Use AC_CHECK_PROG_VER instead of
3324 AC_PATH_PROG when checking for bison and check for
3325 version 2.7 or above.
3326 * configure: Regenerate.
3327
33282014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3329
3330 [BZ #17745]
3331 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3332 * sysdeps/tile/ffsll.c (ffsll): To here.
3333
3334 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3335
33362014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3339 if not defined.
3340 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3341 definition.
3342 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3343 hidden ___tls_get_addr.
3344 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3345 hidden __tls_get_addr.
3346 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3347 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3348 Likewise.
3349
33502014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3351
3352 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3353 _dl_init call.
3354
33552014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3356
3357 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3358 from "call _dl_init@PLT".
3359 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3360
33612014-12-21 Anders Kaseorg <andersk@mit.edu>
3362
3363 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3364 guarantees.
3365
33662014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3367
3368 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3369
33702014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3371
3372 [BZ #17744]
3373 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3374 strnlen.
3375
33762014-12-19 Steve Ellcey <sellcey@imgtec.com>
3377
3378 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3379 of multu on MIPSr6.
3380 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3381 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3382 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3383 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3384 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3385
33862014-12-19 Steve Ellcey <sellcey@imgtec.com>
3387
3388 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3389 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3390 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3391 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3392 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3393 mips32r6/mips64r6.
3394 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3395
33962014-12-19 Ondřej Bílka <neleai@seznam.cz>
3397
3398 * string/strncat.c (STRNCAT): Simplify implementation.
3399
34002014-12-19 David S. Miller <davem@davemloft.net>
3401
3402 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3403 access the quad as both a long double and as a series of 4 words.
3404
3405 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3406 link_map->l_info array access.
3407
34082014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3409
3410 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3411
3412 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3413 * math/atest-exp2.c (TIMEOUT): Likewise.
3414 * math/atest-sincos.c (TIMEOUT): Likewise.
3415
34162014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3417
3418 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3419 -Wno-error with -fno-builtin-lround.
3420
34212014-12-19 Torvald Riegel <triegel@redhat.com>
3422
3423 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3424 Contains futex constants and functions moved over from ...
3425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3426 <lowlevellock-futex.h>.
3427 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3428 (lll_timedwait_tid): Add comments and parentheses around macro
3429 arguments.
3430
34312014-12-19 Torvald Riegel <triegel@redhat.com>
3432
3433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3434 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3435 (__lll_private_flag): Remove.
3436 (lll_futex_wait): Likewise.
3437 (lll_futex_timed_wait): Likewise.
3438 (lll_futex_wake): Likewise.
3439 (lll_futex_requeue): Likewise.
3440 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3441 (__lll_timedwait_tid): Spell out argument names.
3442 (lll_timedwait_tid): Add comments and parentheses around macro
3443 arguments.
3444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3445 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3446
34472014-12-19 Torvald Riegel <triegel@redhat.com>
3448
3449 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3450 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3451 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3452 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3453 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3454 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3455 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3456 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3457 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3460 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3461 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3462 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3463 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3464 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3465 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3466 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3467 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3468
34692014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3470
3471 * sysdeps/x86_64/x32/Makefile: New file.
3472
34732014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3474
3475 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3476 1L with (mp_limb_t) 1.
3477
34782014-12-17 Roland McGrath <roland@hack.frob.com>
3479
3480 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3481 * nptl/libc_pthread_init.c: ... here.
3482 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3483 * nptl/register-atfork.c: ... here.
3484
3485 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3486 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3487 Use assert_perror to check its return value.
3488 (__gai_create_helper_thread): Likewise.
3489
3490 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3491
3492 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3493
34942014-12-17 Joseph Myers <joseph@codesourcery.com>
3495
3496 [BZ #17725]
3497 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3498 __profil_counter.
3499 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3500 Likewise.
3501 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3502 Likewise.
3503 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3504 Likewise.
3505 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3506 (profil_counter): Likewise.
3507 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3508 (profil_counter): Likewise.
3509 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3510 Likewise.
3511 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3512 Likewise.
3513 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3514 (profil_counter): Likewise.
3515 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3516 Likewise.
3517 [!__profil_counter] (profil_counter): Define as weak alias of
3518 __profil_counter.
3519 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3520 (profil_counter): Rename to __profil_counter.
3521 [!__profil_counter] (profil_counter): Define as weak alias of
3522 __profil_counter.
3523 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3524 (profil_counter): Rename to __profil_counter.
3525 [!__profil_counter] (profil_counter): Define as weak alias of
3526 __profil_counter.
3527 * sysdeps/posix/profil.c: Update comment referring to
3528 profil_counter.
3529 (__profil): Use __profil_counter instead of profil_counter.
3530 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3531 __profil_counter. Use __profil_counter_ushort and
3532 __profil_counter_uint in definitions.
3533 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3534 instead of profil_counter_uint and profil_counter_ushort.
3535
3536 [BZ #17722]
3537 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3538 define as weak alias of __inet_makeaddr.
3539 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3540 as weak alias of __inet_addr.
3541 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3542 as weak alias of __inet_pton. Use libc_hidden_weak.
3543 * include/arpa/inet.h (__inet_pton): Declare. Use
3544 libc_hidden_proto.
3545 (inet_makeaddr): Don't use libc_hidden_proto.
3546 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3547 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3548 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3549 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3550 Remove variable.
3551 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3552 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3553
35542014-12-17 Steve Ellcey <sellcey@imgtec.com>
3555
3556 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3557
35582014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3559
3560 * stdio-common/bug-vfprintf-nargs.c (do_test):
3561 Cast value to intptr_t to avoid format warning
3562 for usage with PRIdPTR printing macro.
3563
35642014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3565
3566 * libio/tst-widetext.c (do_test):
3567 Use format type %td instead of %Zd for ptrdiff_t
3568 in order to avoid format warning.
3569
35702014-12-17 Andreas Schwab <schwab@suse.de>
3571
3572 * nscd/mem.c (gc): Add size_t cast to match printf format.
3573
35742014-12-16 Roland McGrath <roland@hack.frob.com>
3575
3576 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3577 (init): Apply PTR_MANGLE to pointers before storing them.
3578 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3579 before using them.
3580
35812014-12-16 Joseph Myers <joseph@codesourcery.com>
3582
3583 [BZ #17719]
3584 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3585 define as weak alias of __memrchr.
3586 (__memrchr): Do not define as strong alias of memrchr.
3587 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3588 Remove variable.
3589 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3590 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3591 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3592
3593 [BZ #17717]
3594 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3595 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3596 (if_indextoname): Rename to __if_indextoname and define as weak
3597 alias of __if_indextoname. Use libc_hidden_weak.
3598 (if_freenameindex): Rename to __if_freenameindex and define as
3599 weak alias of __if_freenameindex.
3600 (if_nameindex): Rename to __if_nameindex and define as weak alias
3601 of __if_nameindex.
3602 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3603 __if_nametoindex and define as weak alias of __if_nametoindex.
3604 Use libc_hidden_weak.
3605 (if_freenameindex): Rename to __if_freenameindex and define as
3606 weak alias of __if_freenameindex.
3607 (if_nameindex): Rename to __if_nameindex and define as weak alias
3608 of __if_nameindex.
3609 (if_indextoname): Rename to __if_indextoname and define as weak
3610 alias of __if_indextoname. Use libc_hidden_weak.
3611 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3612 __if_nametoindex and define as weak alias of __if_nametoindex.
3613 Use libc_hidden_weak.
3614 (if_freenameindex): Rename to __if_freenameindex and define as
3615 weak alias of __if_freenameindex. Use libc_hidden_weak.
3616 (if_nameindex_netlink): Use __if_freenameindex instead of
3617 if_freenameindex.
3618 (if_nameindex): Rename to __if_nameindex and define as weak alias
3619 of __if_nameindex. Use libc_hidden_weak.
3620 (if_indextoname): Rename to __if_indextoname and define as weak
3621 alias of __if_indextoname. Use libc_hidden_weak.
3622 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3623 libc_hidden_proto.
3624 [!_ISOMAC] (__if_freenameindex): Likewise.
3625 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3626 if_nametoindex.
3627 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3628 variable.
3629 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3630 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3631 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3632 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3633 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3634 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3635 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3636
3637 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3638 Remove variable.
3639 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3640 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3641
36422014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3643
3644 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3645 subscript above bounds'
3646
3647 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3648 bounds.
3649
36502014-12-16 Arjun Shankar <arjun.is@lostca.se>
3651
3652 * libio/tst-fopenloc.c: Use test-skeleton.c.
3653
3654 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3655 (entry): Rename to ITEM.
3656 (do_test, comp): Adjust.
3657
3658 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3659
36602014-12-16 Torvald Riegel <triegel@redhat.com>
3661
3662 * string/tester.c: Include <libc-internal.h>.
3663 (test_memset): Ignore -Wmemset-transposed-args.
3664
36652014-12-16 Torvald Riegel <triegel@redhat.com>
3666
3667 * misc/tst-mntent2.c (do_test): Fix warning.
3668
36692014-12-16 Torvald Riegel <triegel@redhat.com>
3670
3671 * elf/tst-unique4lib.cc(a): Mark as used.
3672
36732014-12-16 Florian Weimer <fweimer@redhat.com>
3674
3675 [BZ #17630]
3676 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3677 names.
3678
36792014-12-16 Allan McRae <allan@archlinux.org>
3680
3681 * stdio-common/Makefile (tests): Re-add bug26.
3682
36832014-12-15 Ondřej Bílka <neleai@seznam.cz>
3684
3685 [BZ #17657]
3686 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3687 static array.
3688
36892014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3690
3691 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3692 (__lll_lock_wait): Likewise.
3693 (__lll_timedlock_wait): Likewise.
3694 (__lll_timedwait_tid): Likewise.
3695 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3696 (__lll_robust_timedlock_wait): Likewise.
3697 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3698 (lll_cond_trylock): Likewise.
3699 (__lll_lock): Likewise.
3700 (__lll_robust_lock): Likewise.
3701 (__lll_cond_lock): Likewise.
3702 (lll_robust_cond_lock): Likewise.
3703 (__lll_timedlock): Likewise.
3704 (__lll_robust_timedlock): Likewise.
3705 (__lll_unlock): Likewise.
3706 (__lll_robust_unlock): Likewise.
3707 (lll_wait_tid): Likewise.
3708 (lll_timedwait_tid): Likewise.
3709
37102014-12-15 Torvald Riegel <triegel@redhat.com>
3711
3712 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3713
37142014-12-15 Torvald Riegel <triegel@redhat.com>
3715
3716 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3717
37182014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3719
3720 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3721 * stdio-common/tst-sprintf.c: Likewise.
3722
37232014-12-15 Torvald Riegel <triegel@redhat.com>
3724
3725 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3726
37272014-12-15 Jeff Law <law@redhat.com>
3728
3729 [BZ #16617]
3730 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3731 on the heap. (CVE-2012-3406)
3732 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3733 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3734 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3735
37362014-12-15 Will Newton <will.newton@linaro.org>
3737
3738 * manual/install.texi: Bump required version of texinfo
3739 to 4.7 from 4.5.
3740 * INSTALL: Regenerated.
3741 * configure.ac: Check for makeinfo version 4.7 and above.
3742 * configure: Regenerated.
3743
37442014-12-12 Roland McGrath <roland@hack.frob.com>
3745
3746 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3747 PREFIX, string constant to insert between directory and name.
3748 * sysdeps/posix/shm_open.c: Update caller.
3749 * sysdeps/posix/shm_unlink.c: Likewise.
3750 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3751 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3752 (SEM_SHM_PREFIX): New macro.
3753 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3754 [$(have-thread-library) = no].
3755 * nptl/Makefile (libpthread-routines): Add shm-directory.
3756 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3757 * sysdeps/nptl/shm-directory.h: New file.
3758 * sysdeps/posix/shm-directory.c
3759 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3760 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3761 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3762 INTERNAL_SYSCALL.
3763 (__where_is_shmfs): Function removed.
3764 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3765 Variables removed.
3766 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3767 Use SHM_GET_NAME.
3768 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3769
3770 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3771 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3772 unconditional for use inside libpthread.
3773 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3774
37752014-12-12 Roland McGrath <roland@hack.frob.com>
3776
3777 * nptl/pthread_getaffinity.c: New file.
3778 * nptl/pthread_setaffinity.c: New file.
3779 * nptl/pthread_getname.c: New file.
3780 * nptl/pthread_setname.c: New file.
3781
3782 * nptl/pthread_create.c (START_THREAD_DEFN)
3783 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3784
37852014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3786 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3787
3788 * resolv/res_send.c (send_vc): Disable warning resplen may
3789 be used uninitialized.
3790
37912014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3792
3793 * nptl/tst-mutex6.c
3794 (ATTR_NULL): New define checks ATTR against NULL.
3795 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3796 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3797
37982014-12-11 James Lemke <jwlemke@codesourcery.com>
3799
3800 [BZ #17581]
3801 * malloc/hooks.c
3802 (mem2mem_check): Revert my previous change.
3803 (malloc_check_get_size): Revert my previous change.
3804 (mem2chunk_check): Revert my previous change.
3805
38062014-12-11 Roland McGrath <roland@hack.frob.com>
3807
3808 * sysdeps/posix/shm-directory.c: New file.
3809 * sysdeps/posix/shm-directory.h: New file.
3810 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3811 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3812 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3813 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3814 Transmute EPERM to EACCES.
3815 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3816 from ...
3817 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3818 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3819
38202014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3821
3822 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3823 pointer and cast to uintptr_t.
3824 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3825 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3826 Add cast to avoid warning.
3827 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3828
38292014-12-11 Joseph Myers <joseph@codesourcery.com>
3830
3831 * nptl/semaphore.h: Move to ...
3832 * sysdeps/pthread/semaphore.h: ... here.
3833 * Makefile (installed-headers): Change nptl/semaphore.h to
3834 sysdeps/pthread/semaphore.h.
3835
38362014-12-11 Roland McGrath <roland@hack.frob.com>
3837
3838 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3839 generated error format strings.
3840
3841 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3842 -Wformat-extra-args warnings for scanf formats.
3843 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3844 test of zero-length format (duh).
3845 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3846 corner-case scanf format test.
3847 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3848 generated fprintf format string.
3849 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3850 corner-case sprintf format tests.
3851 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3852 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3853 -Wformat-extra-args warnings throughout.
3854 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3855 (CFLAGS-scanf4.c): Likewise.
3856 (CFLAGS-scanf7.c): Likewise.
3857 (CFLAGS-tst-sprintf.c): Likewise.
3858 (CFLAGS-tst-printf.c): Likewise.
3859 (CFLAGS-tst-printfsz.c): Likewise.
3860
38612014-12-11 Joseph Myers <joseph@codesourcery.com>
3862
3863 * include/cpio.h: New file.
3864 * include/fmtmsg.h: Likewise.
3865
3866 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3867 corresponding format argument to size_t.
3868 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3869 arguments.
3870 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3871 corresponding format argument to size_t.
3872 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3873 arguments.
3874 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3875 corresponding format argument to size_t.
3876 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3877 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3878 (CFLAGS-tst-mbswcs2.c): Likewise.
3879 (CFLAGS-tst-mbswcs3.c): Likewise.
3880 (CFLAGS-tst-mbswcs4.c): Likewise.
3881 (CFLAGS-tst-mbswcs5.c): Likewise.
3882 (CFLAGS-tst-trans.c): Likewise
3883
38842014-12-11 Roland McGrath <roland@hack.frob.com>
3885
3886 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3887 rather than assuming they won't contain any '%'s.
3888
38892014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3890
3891 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3892 inhibit_loop_to_libcall to avoid recursive calls.
3893 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3894 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3895
38962014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3897
3898 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3899 prototype.
3900
39012014-12-11 Steve Ellcey <sellcey@imgtec.com>
3902
3903 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3904 integer value instead of boolean.
3905
39062014-12-11 Steve Ellcey <sellcey@imgtec.com>
3907
3908 * malloc/malloc.c: Fix powerof2 check.
3909
39102014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3911
3912 * locale/programs/locfile.h (maybe_swap_uint32):
3913 Remove inline and add unused attribute.
3914
39152014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3916
3917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3918 Truncating assembler expression to a .long expression.
3919
39202014-12-11 Andreas Schwab <schwab@suse.de>
3921
3922 * elf/rtld.c (struct map_args): Constify str member.
3923 (do_preload): Constify fname argument.
3924
39252014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926
3927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3928 constants definition.
3929
39302014-12-11 Andreas Schwab <schwab@suse.de>
3931
3932 [BZ #16657]
3933 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3934 FORCE_ELISION instead of DO_ELISION.
3935 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3936 Remove.
3937 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3938 Likewise.
3939
3940 * iconvdata/gconv-modules: Remove duplicate entry.
3941
39422014-12-11 Will Newton <will.newton@linaro.org>
3943
3944 Merge gettext 0.19.3 into intl/.
3945
3946 This involves a number of cosmetic changes to comments
3947 and ANSI function definitions and prototypes throughout
3948 all the files. The gettext copyright header is used but
3949 with the date ranges taken from the glibc copy.
3950
3951 * NEWS: Add gettext merge to 2.21.
3952 * intl/bindtextdom.c: Switch to gettext copyright.
3953 Use ANSI definitions and prototypes.
3954 Use gl_* locking primitives rather than __libc_* ones.
3955 Use __builtin_expect rather than __glibc_likely/unlikely.
3956 * intl/dcgettext.c: Switch to gettext copyright.
3957 Use ANSI definitions and prototypes.
3958 * intl/dcigettext.c: Switch to gettext copyright.
3959 Use ANSI definitions and prototypes.
3960 (INTDIV0_RAISES_SIGFPE): New define.
3961 Use gl_* locking primitives rather than __libc_* ones.
3962 Include eval-plural.h instead of plural-eval.c.
3963 Use __builtin_expect rather than __glibc_likely/unlikely.
3964 * intl/dcngettext.c: Switch to gettext copyright.
3965 Use ANSI definitions and prototypes.
3966 * intl/dgettext.c: Likewise.
3967 * intl/dngettext.c: Likewise.
3968 * intl/plural-eval.c: Renamed to...
3969 * intl/eval-plural.h: ...this.
3970 * intl/explodename.c: Switch to gettext copyright.
3971 Use ANSI definitions and prototypes.
3972 (_nl_explode_name): Use strchr instead of __rawmemchr.
3973 * intl/finddomain.c: Switch to gettext copyright.
3974 Use ANSI definitions and prototypes.
3975 Use gl_* locking primitives rather than __libc_* ones.
3976 (_nl_find_domain): Use malloc rather than alloca for
3977 allocation of temporary locale name.
3978 * intl/gettext.c: Switch to gettext copyright.
3979 Use ANSI definitions and prototypes.
3980 * intl/gettextP.h: Switch to gettext copyright.
3981 Use ANSI definitions and prototypes.
3982 Use gl_* locking primitives rather than __libc_* ones.
3983 * intl/gmo.h: Switch to gettext copyright.
3984 (struct sysdep_string): Move struct segment_pair outside of
3985 struct definition.
3986 * intl/hash-string.c: Use ANSI definitions and prototypes.
3987 * intl/hash-string.h: Switch to gettext copyright.
3988 Use ANSI definitions and prototypes.
3989 * intl/l10nflist.c: Switch to gettext copyright.
3990 Use ANSI definitions and prototypes.
3991 (_nl_normalize_codeset): Avoid integer overflow.
3992 * intl/loadinfo.h: Switch to gettext copyright.
3993 Use ANSI definitions and prototypes.
3994 (LIBINTL_DLL_EXPORTED): New define.
3995 (PATH_SEPARATOR): New define.
3996 * intl/loadmsgcat.c: Switch to gettext copyright.
3997 * intl/localealias.c: Switch to gettext copyright.
3998 Use ANSI definitions and prototypes.
3999 (_nl_expand_alias): Use PATH_SEPARATOR.
4000 * intl/ngettext.c: Switch to gettext copyright.
4001 Use ANSI definitions and prototypes.
4002 * intl/plural-exp.c: Likewise.
4003 * intl/plural-exp.h: Switch to gettext copyright.
4004 Use ANSI definitions and prototypes.
4005 (struct expression): Move definition of enum operator outside
4006 of struct definition.
4007 * intl/plural.c: Regenerate.
4008 * intl/plural.y: Switch to gettext copyright.
4009 Use ANSI definitions and prototypes.
4010 Port to bison 3.0.
4011 * intl/textdomain.c: Switch to gettext copyright.
4012 Use ANSI definitions and prototypes.
4013 Use gl_* locking primitives rather than __libc_* ones.
4014
40152014-12-10 Steve Ellcey <sellcey@imgtec.com>
4016
4017 * debug/warning-nop.c: Add used atrribute.
4018
40192014-12-10 Joseph Myers <joseph@codesourcery.com>
4020
4021 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4022
4023 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4024 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4025 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4026
40272014-12-10 Joseph Myers <joseph@codesourcery.com>
4028 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 [BZ #17634]
4031 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4032 Undefine after defining function. Define as weak alias of
4033 __wcschr. Use libc_hidden_weak.
4034 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4035 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4036 (libc_hidden_def): Also define __GI___wcschr alias.
4037 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4038 __wcschr and define as weak alias of __wcschr.
4039 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4040 __wcschr.
4041 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4042 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4043 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4044 libc_hidden_weak. Do not use libc_hidden_def.
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4046 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4047 __GI___wcschr alias.
4048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4049 [IS_IN (libc)] (wcschr): Define as macro expanding to
4050 __redirect_wcschr.
4051 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4052 [IS_IN (libc)] (__wcschr_power6): Likewise.
4053 [IS_IN (libc)] (__wcschr_power7): Likewise.
4054 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4055 instead of wcschr.
4056 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4057 __libc_wcschr.
4058 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4059 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4060 __wcschr and define as weak alias of __wcschr. Use
4061 libc_hidden_builtin_def.
4062 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4063 as weak alias of __wcschr. Use libc_hidden_weak.
4064 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4065 wcschr.
4066 * time/era.c (_nl_init_era_entries): Likewise.
4067 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4068 variable.
4069 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4070 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4071
40722014-12-10 Joseph Myers <joseph@codesourcery.com>
4073
4074 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4075 format for long int variable.
4076
40772014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4078
4079 [BZ #10672]
4080 * manual/search.texi: (Array Sort Function): Remove claim how to make
4081 qsort stable.
4082
40832014-12-10 Andreas Schwab <schwab@suse.de>
4084
4085 [BZ #12847]
4086 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4087 user-controlled locks.
4088
40892014-12-10 Richard Earnshaw <rearnsha@arm.com>
4090
4091 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4092 register.
4093
40942014-12-10 Joseph Myers <joseph@codesourcery.com>
4095
4096 * configure.ac (--disable-werror): New configure option.
4097 (enable_werror): New AC_SUBST.
4098 * configure: Regenerated.
4099 * config.make.in (enable-werror): New variable.
4100 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4101 -Wno-error=undef.
4102 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4103 * manual/install.texi (Configuring and compiling): Document
4104 --disable-werror.
4105 * INSTALL: Regenerated.
4106 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4107 (CFLAGS-tst-chk2.c): Likewise.
4108 (CFLAGS-tst-chk3.c): Likewise.
4109 (CFLAGS-tst-chk4.cc): Likewise.
4110 (CFLAGS-tst-chk5.cc): Likewise.
4111 (CFLAGS-tst-chk6.cc): Likewise.
4112 (CFLAGS-tst-lfschk1.c): Likewise.
4113 (CFLAGS-tst-lfschk2.c): Likewise.
4114 (CFLAGS-tst-lfschk3.c): Likewise.
4115 (CFLAGS-tst-lfschk4.cc): Likewise.
4116 (CFLAGS-tst-lfschk5.cc): Likewise.
4117 (CFLAGS-tst-lfschk6.cc): Likewise.
4118
4119 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4120 (main): Disable -Wdeprecated-declarations around calls to
4121 register_printf_function.
4122
4123 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4124 (do_test): Disable -Wdiv-by-zero around some calls to
4125 fwrite_unlocked and fread_unlocked.
4126
4127 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4128 (DIAG_POP_NEEDS_COMMENT): Likewise.
4129 (_DIAG_STR1): Likewise.
4130 (_DIAG_STR): Likewise.
4131 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4132 * stdio-common/bug21.c: Include <libc-internal.h>.
4133 (do_test): Disable -Wformat around call to sscanf.
4134 * stdio-common/scanf14.c: Include <libc-internal.h>.
4135 (main): Disable -Wformat around some calls to scanf functions.
4136
41372014-12-09 Torvald Riegel <triegel@redhat.com>
4138
4139 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4140
41412014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4142
4143 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4144 stack variable alignment.
4145
41462014-12-06 Joseph Myers <joseph@codesourcery.com>
4147
4148 [BZ #17682]
4149 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4150 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4151 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4152 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4153 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4154 __getrlimit instead of getrlimit.
4155 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4156 __gettimeofday instead of gettimeofday.
4157 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4158 Likewise.
4159 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4160 Likewise.
4161 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4162 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4163 Remove variable.
4164 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4165 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4166
41672014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4168
4169 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4170 for wide-character tests.
4171
41722014-12-04 Roland McGrath <roland@hack.frob.com>
4173
4174 * io/openat64.c: #include <libc-internal.h>
4175 (__openat64): Prototypify. Use ignore_value on MODE.
4176 * io/openat.c: Likewise.
4177 * misc/reboot.c: #include <libc-internal.h>
4178 (reboot): Prototypify. Use ignore_value on HOWTO.
4179 * misc/ptrace.c: #include <libc-internal.h>
4180 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4181
41822014-12-04 Joseph Myers <joseph@codesourcery.com>
4183
4184 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4185 XPG4, UNIX98 and XOPEN2K.
4186 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4187 Remove variable.
4188 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4189
41902014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4191
4192 * libio/fileops.c: Use ISO C style for function definitions.
4193 * libio/iofopen.c: Likewise.
4194 * libio/wfileops.c: Likewise.
4195
4196 [BZ #17653]
4197 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4198 offset on EOF.
4199 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4200 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4201 (fgets_func): Function pointer to fgets and fgetws.
4202 (do_ftell_test): Add test to verify ftell value after read
4203 EOF.
4204 (do_test): Set fgets_func.
4205
4206 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4207 O_TRUNC flag for w and w+ modes.
4208 (do_rewind_test): Likewise.
4209 (do_ftell_test): Likewise.
4210 (do_write_test): Likewise.
4211
4212 [BZ #17647]
4213 * libio/fileops.c (do_ftell): Seek only when there are
4214 unflushed writes.
4215 * libio/wfileops.c (do_ftell_wide): Likewise.
4216 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4217 test case.
4218 (do_one_test): Call it.
4219
42202014-12-03 Joseph Myers <joseph@codesourcery.com>
4221
4222 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4223 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4224 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4225 Remove variable.
4226 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4227 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4228 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4229
42302014-12-02 Joseph Myers <joseph@codesourcery.com>
4231
4232 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4233 Remove variable.
4234 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4235
4236 [BZ #17668]
4237 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4238 as weak alias of __getifaddrs. Use libc_hidden_weak.
4239 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4240 __freeifaddrs. Use libc_hidden_weak.
4241 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4242 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4243 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4244 __freeifaddrs. Use libc_hidden_weak.
4245 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4246 __getifaddrs and define as weak alias of __getifaddrs. Use
4247 libc_hidden_weak.
4248 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4249 __freeifaddrs. Use libc_hidden_weak.
4250 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4251 Remove variable.
4252 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4253 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4254
42552014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4256
4257 [BZ #17601]
4258 * sysdeps/mips/start.S (__start): Use indirect jump to call
4259 __libc_start_main.
4260
42612014-12-02 Joseph Myers <joseph@codesourcery.com>
4262
4263 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4264
4265 * nptl/tst-mutex1.c: Include <stdbool.h>.
4266 [!ATTR] (ATTR_NULL): New macro.
4267 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4268 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4269 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4270
4271 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4272 to char *.
4273
4274 [BZ #17665]
4275 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4276 Change conditional to [__USE_MISC].
4277
4278 [BZ #17664]
4279 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4280 fgets_unlocked.
4281 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4282 __fgets_unlocked.
4283 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4284 fgets_unlocked.
4285 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4286 Remove variable.
4287 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4288 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4289 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4290 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4291 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4292 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4293 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4294 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4295 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4296
4297 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4298
42992014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4300
4301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4302 Remove strpbrk objects.
4303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4304 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4305 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4306 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4307 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4308 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4309
4310 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4311 Remove strcspn objects.
4312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4313 (__libc_ifunc_impl_list): Remove strcspn implementation.
4314 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4315 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4316 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4317 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4318
4319 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4320 Remove strspn objetcs.
4321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4322 (__libc_ifunc_impl_list): Remove strspn implementation.
4323 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4324 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4325 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4326 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4327
43282014-12-01 James Lemke <jwlemke@codesourcery.com>
4329
4330 [BZ #17581]
4331 * malloc/hooks.c
4332 (mem2mem_check): Add a terminator to the chain of checking blocks.
4333 (malloc_check_get_size): Use it here.
4334 (mem2chunk_check): Ditto.
4335
43362014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4337
4338 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4339 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4340
43412014-11-29 Carlos O'Donell <carlos@redhat.com>
4342
4343 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4344
4345 * nptl/nptl-init.c: Include libc-internal.h.
4346 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4347
4348 * elf/ldconfig.c (search_dir): Expand comment.
4349
43502014-11-29 Joseph Myers <joseph@codesourcery.com>
4351
4352 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4353 variable.
4354 (linknamespace-symlist-stdlibs-tests): Likewise.
4355 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4356 instead of $(objpfx)symlist-stdlibs.
4357 (linknamespace-libs-isoc): New variable.
4358 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4359 (linknamespace-libs-ISO): New variable.
4360 (linknamespace-libs-ISO99): Likewise.
4361 (linknamespace-libs-ISO11): Likewise.
4362 (linknamespace-libs-XPG3): Likewise.
4363 (linknamespace-libs-XPG4): Likewise.
4364 (linknamespace-libs-POSIX): Likewise.
4365 (linknamespace-libs-UNIX98): Likewise.
4366 (linknamespace-libs-XOPEN2K): Likewise.
4367 (linknamespace-libs-POSIX2008): Likewise.
4368 (linknamespace-libs-XOPEN2K8): Likewise.
4369 ($(objpfx)symlist-stdlibs): Replace by
4370 $(linknamespace-symlist-stdlibs-tests). Use
4371 $(linknamespace-libs-$*) as set of libraries.
4372 ($(linknamespace-header-tests)): Update dependencies. Use
4373 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4374 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4375 * conform/linknamespace.pl: Remove comment about considering
4376 definitions of symbols from irrelevant libraries.
4377
43782014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4379
4380 [BZ #13862]
4381 * elf/dl-tls.c: Include <atomic.h>.
4382 (oom): Remove #ifdef SHARED/#endif.
4383 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4384 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4385 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4386 big enough.
4387 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4388 * nptl/Makefile (tests): Add tst-stack4.
4389 (modules-names): Add tst-stack4mod.
4390 ($(objpfx)tst-stack4): New.
4391 (tst-stack4mod.sos): Likewise.
4392 ($(objpfx)tst-stack4.out): Likewise.
4393 ($(tst-stack4mod.sos)): Likewise.
4394 (clean): Likewise.
4395 * nptl/tst-stack4.c: New file.
4396 * nptl/tst-stack4mod.c: Likewise.
4397
43982014-11-27 J. Brown <jb999@gmx.de>
4399
4400 * sysdeps/x86/bits/string.h: Add recent CPUs.
4401
44022014-11-27 Joseph Myers <joseph@codesourcery.com>
4403
4404 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4405 sigblock.
4406
4407 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4408 feof.
4409
4410 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4411 variable.
4412
44132014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4414
4415 * nscd/connections.c: Include libc-internal.h because of macro
4416 usage ignore_value.
4417
44182014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4419
4420 * string/bits/string3.h (__warn_memset_zero_len): Don't
4421 declare for gcc newer than 5.0.
4422 (memset): Don't test for zero-length __LEN for gcc newer than
4423 5.0.
4424
44252014-11-27 Joseph Myers <joseph@codesourcery.com>
4426
4427 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4428 size_t for %zu format.
4429
4430 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4431 difference, not %ju.
4432
44332014-11-26 Joseph Myers <joseph@codesourcery.com>
4434
4435 * include/libc-internal.h (ignore_value): New macro.
4436 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4437 with ignore_value.
4438
4439 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4440 definition.
4441
4442 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4443 pthread_cleanup_push to void *.
4444
4445 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4446 Undefine.
4447
4448 [BZ #16619]
4449 [BZ #16740]
4450 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4451 instead of 1L << 52.
4452
4453 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4454 * libio/bug-rewind2.c (do_test): Likewise.
4455
4456 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4457 * debug/test-strcpy_chk-ifunc.c: Likewise.
4458 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4459 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4460 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4461 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4462 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4463 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4464 * Rules [$(multi-arch) = no] (tests): Do not filter out
4465 $(tests-ifunc).
4466 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4467 * debug/Makefile (tests-ifunc): Remove variable.
4468 (tests): Do not add $(tests-ifunc).
4469 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4470 (tests): Do not add $(tests-ifunc).
4471 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4472 [TEST_IFUNC]: Remove conditionals.
4473 * string/test-string.h (TEST_IFUNC): Remove macro.
4474 [TEST_IFUNC]: Remove conditionals.
4475
4476 * string/test-strchr.c [!WIDE] (L): New macro.
4477 [WIDE] (L): Likewise.
4478 (check1): Use CHAR instead of char. Use L on string and character
4479 constants.
4480
44812014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4482
4483 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4484 tests.
4485 * sysdeps/powerpc/bits/atomic.h
4486 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4487 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4488 (atomic_exchange_and_add_acq): Likewise.
4489 (atomic_exchange_and_add_rel): Likewise.
4490 * sysdeps/powerpc/powerpc32/bits/atomic.h
4491 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4492 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4493 * sysdeps/powerpc/powerpc64/bits/atomic.h
4494 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4495 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4496
44972014-11-26 Torvald Riegel <triegel@redhat.com>
4498
4499 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4500 Change synchronization of __sched_fifo_min_prio and
4501 __sched_fifo_max_prio.
4502 * nptl/pthread_mutexattr_getprioceiling.c
4503 (pthread_mutexattr_getprioceiling): Likewise.
4504 * nptl/pthread_mutexattr_setprioceiling.c
4505 (pthread_mutexattr_setprioceiling): Likewise.
4506 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4507 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4508 Likewise.
4509
45102014-11-26 Joseph Myers <joseph@codesourcery.com>
4511
4512 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4513 void.
4514
45152014-11-25 Joseph Myers <joseph@codesourcery.com>
4516
4517 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4518 third argument const.
4519
45202014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4521
4522 fnmatch: work around GCC compiler warning bug with uninit var
4523 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4524 This works around a bug with x86-64 GCC 4.9.2 and earlier
4525 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4526 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4527 used uninitialized in this function [-Wmaybe-uninitialized]".
4528
45292014-11-25 Joseph Myers <joseph@codesourcery.com>
4530
4531 * posix/bug-regex31.c (main): Return RES not 0.
4532
45332014-11-25 Anton Blanchard <anton@samba.org>
4534
4535 * sysdeps/powerpc/bits/atomic.h
4536 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4537
45382014-11-24 Sterling Augustine <saugustine@google.com>
4539
4540 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4541
45422014-11-24 Ryan Cumming <etaoins@gmail.com>
4543
4544 [BZ #17608]
4545 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4546
45472014-11-24 Joseph Myers <joseph@codesourcery.com>
4548
4549 [BZ #17633]
4550 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4551 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4552 variable.
4553 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4554 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4555
45562014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4557
4558 * string/strncpy.c (strncpy): Improve performance by using memset.
4559
45602014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4561
4562 * string/strcpy.c (strcpy):
4563 Improve performance by using strlen and memcpy.
4564
45652014-11-24 Leonhard Holz <leonhard.holz@web.de>
4566
4567 * string/strcoll_l.c (get_next_seq): __always_inline.
4568 * string/strcoll_l.c (do_compare): __always_inline.
4569
45702014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4571
4572 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4573 defined.
4574 * include/mqueue.h: Likewise.
4575 * include/stdlib.h: Likewise.
4576
4577 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4578 (get_null_defines): Adjust.
4579 * sunrpc/Makefile: Adjust comment.
4580 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4581 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4582 (CFLAGS-interp.c): Likewise.
4583 (CFLAGS-ldconfig.c): Likewise.
4584 (CPPFLAGS-.os): Likewise.
4585 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4586 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4587 * extra-modules.mk (extra-modules.mk): Likewise.
4588 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4589 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4590 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4591 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4592 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4593 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4594 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4595 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4596 * iconvdata/Makefile (CPPFLAGS): Likewise.
4597 (cpp-srcs-left): Add libof for all iconvdata routines.
4598 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4599 * include/assert.h: Likewise.
4600 * include/ctype.h: Likewise.
4601 * include/errno.h: Likewise.
4602 * include/libc-symbols.h: Likewise.
4603 * include/math.h: Likewise.
4604 * include/netdb.h: Likewise.
4605 * include/resolv.h: Likewise.
4606 * include/stdio.h: Likewise.
4607 * include/stdlib.h: Likewise.
4608 * include/string.h: Likewise.
4609 * include/sys/stat.h: Likewise.
4610 * include/wctype.h: Likewise.
4611 * intl/l10nflist.c: Likewise.
4612 * libidn/idn-stub.c: Likewise.
4613 * libio/libioP.h: Likewise.
4614 * nptl/libc_multiple_threads.c: Likewise.
4615 * nptl/pthreadP.h: Likewise.
4616 * posix/regex_internal.h: Likewise.
4617 * resolv/res_hconf.c: Likewise.
4618 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4619 * sysdeps/arm/memmove.S: Likewise.
4620 * sysdeps/arm/sysdep.h: Likewise.
4621 * sysdeps/generic/_itoa.h: Likewise.
4622 * sysdeps/generic/symbol-hacks.h: Likewise.
4623 * sysdeps/gnu/errlist.awk: Likewise.
4624 * sysdeps/gnu/errlist.c: Likewise.
4625 * sysdeps/i386/i586/memcpy.S: Likewise.
4626 * sysdeps/i386/i586/memset.S: Likewise.
4627 * sysdeps/i386/i686/memcpy.S: Likewise.
4628 * sysdeps/i386/i686/memmove.S: Likewise.
4629 * sysdeps/i386/i686/mempcpy.S: Likewise.
4630 * sysdeps/i386/i686/memset.S: Likewise.
4631 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4632 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4633 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4634 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4635 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4637 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4638 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4647 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4648 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4649 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4650 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4651 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4652 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4653 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4654 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4655 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4656 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4657 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4658 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4660 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4661 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4664 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4669 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4670 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4671 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4678 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4683 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4686 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4689 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4691 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4692 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4693 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4694 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4695 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4696 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4697 * sysdeps/posix/closedir.c: Likewise.
4698 * sysdeps/posix/opendir.c: Likewise.
4699 * sysdeps/posix/readdir.c: Likewise.
4700 * sysdeps/posix/rewinddir.c: Likewise.
4701 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4702 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4703 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4704 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4705 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4707 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4708 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4709 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4713 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4714 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4715 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4716 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4717 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4718 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4719 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4720 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4721 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4722 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4723 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4724 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4726 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4728 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4729 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4736 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4737 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4738 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4741 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4742 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4743 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4745 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4746 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4747 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4749 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4750 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4751 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4752 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4753 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4754 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4755 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4758 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4760 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4761 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4762 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4763 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4764 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4767 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4769 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4770 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4771 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4772 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4773 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4774 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4775 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4777 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4778 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4779 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4780 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4784 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4785 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4787 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4788 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4789 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4791 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4792 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4793 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4797 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4799 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4800 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4802 * sysdeps/unix/alpha/sysdep.S: Likewise.
4803 * sysdeps/unix/alpha/sysdep.h: Likewise.
4804 * sysdeps/unix/make-syscalls.sh: Likewise.
4805 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4807 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4808 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4809 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4810 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4811 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4812 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4813 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4814 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4815 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4816 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4818 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4819 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4820 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4821 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4822 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4823 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4824 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4825 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4826 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4827 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4828 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4829 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4830 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4831 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4834 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4835 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4843 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4844 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4845 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4846 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4848 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4849 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4855 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4856 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4857 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4858 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4859 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4860 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4861 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4863 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4864 * sysdeps/x86_64/memcpy.S: Likewise.
4865 * sysdeps/x86_64/memmove.c: Likewise.
4866 * sysdeps/x86_64/memset.S: Likewise.
4867 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4868 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4869 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4870 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4871 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4874 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4875 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4876 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4877 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4878 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4879 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4880 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4881 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4882 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4883 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4884 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4885 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4886 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4888 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4891 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4892 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4893 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4894 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4895 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4896 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4897 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4899 * sysdeps/x86_64/strcmp.S: Likewise.
4900
4901 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4902
4903 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4904 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4905 * elf/rtld-Rules: Likewise.
4906 * elf/setup-vdso.h: Likewise.
4907 * include/assert.h: Likewise.
4908 * include/bits/stdlib-float.h: Likewise.
4909 * include/errno.h: Likewise.
4910 * include/sys/stat.h: Likewise.
4911 * include/unistd.h: Likewise.
4912 * sysdeps/aarch64/setjmp.S: Likewise.
4913 * sysdeps/alpha/setjmp.S: Likewise.
4914 * sysdeps/arm/__longjmp.S: Likewise.
4915 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4916 * sysdeps/arm/setjmp.S: Likewise.
4917 * sysdeps/arm/sysdep.h: Likewise.
4918 * sysdeps/generic/_itoa.h: Likewise.
4919 * sysdeps/generic/dl-sysdep.h: Likewise.
4920 * sysdeps/generic/ldsodefs.h: Likewise.
4921 * sysdeps/i386/dl-tls.h: Likewise.
4922 * sysdeps/i386/setjmp.S: Likewise.
4923 * sysdeps/m68k/setjmp.c: Likewise.
4924 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4925 * sysdeps/mach/hurd/opendir.c: Likewise.
4926 * sysdeps/posix/getcwd.c: Likewise.
4927 * sysdeps/posix/opendir.c: Likewise.
4928 * sysdeps/posix/profil.c: Likewise.
4929 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4930 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4932 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4933 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4934 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4935 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4936 * sysdeps/s390/dl-tls.h: Likewise.
4937 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4938 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4939 * sysdeps/sh/sh3/setjmp.S: Likewise.
4940 * sysdeps/sh/sh4/setjmp.S: Likewise.
4941 * sysdeps/unix/alpha/sysdep.h: Likewise.
4942 * sysdeps/unix/arm/sysdep.S: Likewise.
4943 * sysdeps/unix/i386/sysdep.S: Likewise.
4944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4945 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4946 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4947 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4949 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4950 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4951 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4952 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4953 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4954 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4955 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4959 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4961 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4962 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4963 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4964 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4967 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4968 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4971 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4972 * sysdeps/x86_64/setjmp.S: Likewise.
4973
4974 * include/math.h: Use IS_IN instead of IS_IN_libm.
4975 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4987 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4990 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4992 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4995 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4996 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4997 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4998 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4999 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5000 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5002 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5003 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5004 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5005 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5007 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5009 Likewise.
5010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5011 Likewise.
5012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5013 Likewise.
5014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5015 Likewise.
5016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5017 Likewise.
5018 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5019 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5020 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5021 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5023 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5032 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5034 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5035 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5037 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5038 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5039 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5042 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5044 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5045
5046 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5047 * nptl/pthreadP.h: Likewise.
5048 * nptl_db/structs.def: Likewise.
5049 * sysdeps/arm/sysdep.h: Likewise.
5050 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5051 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5052 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5053 * sysdeps/unix/alpha/sysdep.h: Likewise.
5054 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5056 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5057 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5058 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5059 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5060 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5061 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5062 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5063 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5064 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5065 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5066 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5067 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5072 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5075 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5076 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5077 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5078 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5079 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5080
5081 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5082 * nptl/pthreadP.h: Likewise.
5083 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5084 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5085 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5086 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5089 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5090 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5091 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5092 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5093 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5094 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5096 Likewise.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5098 Likewise.
5099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5101 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5104 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5105 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5106 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5107
5108 * dlfcn/dladdr.c: Use IS_IN.
5109 * dlfcn/dladdr1.c: Likewise.
5110 * dlfcn/dlclose.c: Likewise.
5111 * dlfcn/dlerror.c: Likewise.
5112 * dlfcn/dlinfo.c: Likewise.
5113 * dlfcn/dlmopen.c: Likewise.
5114 * dlfcn/dlopen.c: Likewise.
5115 * dlfcn/dlsym.c: Likewise.
5116 * dlfcn/dlvsym.c: Likewise.
5117
5118 * include/ifaddrs.h: Use IS_IN.
5119 * inet/check_pf.c: Likewise.
5120 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5121 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5122
5123 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5124 IS_IN_ldconfig.
5125 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5126 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5127
5128 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5129 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5130 IS_IN (libc).
5131
5132 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5133
5134 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5135 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5136 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5137 * include/libc-symbols.h (IS_IN_LIB): New macro.
5138 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5139 * include/netdb.h: Likewise.
5140 * include/stap-probe.h: Remove all uses of IN_LIB.
5141
5142 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5143 instead of IN_MODULE.
5144 * include/libc-symbols.h (IN_MODULE): Define using
5145 MODULE_NAME.
5146 (PASTE_NAME, PASTE_NAME1): New macros.
5147 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5148 of IN_LIB.
5149 (STAP_PROBE_ASM): Likewise.
5150
51512014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5152
5153 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5154 __mach_init in dlopened libc.
5155
51562014-11-22 Mike Frysinger <vapier@gentoo.org>
5157
5158 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5159 * sysdeps/arm/preconfigure: Regenerate.
5160
51612014-11-21 Roland McGrath <roland@hack.frob.com>
5162
5163 * nptl/pthread_create.c (__pthread_create_2_1): Set
5164 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5165 when copying values from IATTR into PD.
5166
51672014-11-21 Will Newton <will.newton@linaro.org>
5168 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5169
5170 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5171 Refactor inline-asm. Also add comment.
5172
5173 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5174 ElfW macro instead of hardcoded Elf64 types.
5175 (la_aarch64_gnu_pltenter): Likewise.
5176 * sysdeps/aarch64/dl-machine.h
5177 (elf_machine_runtime_setup): Use ElfW(Addr).
5178
5179 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5180 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5181 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5182 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5183 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5184 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5185 (R_AARCH64_TLS_DTPMOD): This.
5186 (R_AARCH64_TLS_DTPREL64): Rename to ...
5187 (R_AARCH64_TLS_DTPREL): This.
5188 (R_AARCH64_TLS_TPREL64): Rename to ...
5189 (R_AARCH64_TLS_TPREL): This.
5190 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5191 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5192 R_AARCH64_TLS_TPREL64.
5193 (elf_machine_rela): Likewise.
5194
51952014-11-21 Torvald Riegel <triegel@redhat.com>
5196
5197 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5198 by setting it to 0. 64b atomics are not supported currently.
5199
52002014-11-21 Alexandre Oliva <aoliva@redhat.com>
5201
5202 [BZ #16469]
5203 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5204 search domain names.
5205
52062014-11-21 Alexandre Oliva <aoliva@redhat.com>
5207
5208 [BZ #16469]
5209 * NEWS: Update.
5210 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5211 trailing dot.
5212 * posix/tst-getaddrinfo5.c: New.
5213 * posix/Makefile (tests): Add it.
5214
52152014-11-21 Alexandre Oliva <aoliva@redhat.com>
5216
5217 [BZ #14498]
5218 * NEWS: Fixed.
5219 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5220 after parsing line but before break_if_match.
5221 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5222 if there is a protocol mismatch.
5223
52242014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5225
5226 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5227 because the potential race is on the user-supplied stream.
5228
52292014-11-21 Alexandre Oliva <aoliva@redhat.com>
5230
5231 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5232 string literal if not passed a buffer.
5233 * manual/job.texi (ctermid): Update reasoning, note deviation
5234 from posix, suggest mtasurace when not passed a buffer, for
5235 future non-preliminary safety notes.
5236
52372014-11-21 Alexandre Oliva <aoliva@redhat.com>
5238
5239 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5240 of not passing it a buffer.
5241 Reported by Peng Haitao.
5242
52432014-11-21 Alexandre Oliva <aoliva@redhat.com>
5244
5245 * manual/Makefile ($(objpfx)stamp-summary): Require
5246 check-safety.sh to pass.
5247 * manual/check-safety.sh: Wish for verification that every
5248 @deftypefn and @deftypefun is followed by a @safety remark.
5249
52502014-11-20 Roland McGrath <roland@hack.frob.com>
5251
5252 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5253
5254 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5255 PTHREAD_CANCEL_ASYNCHRONOUS.
5256 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5257 send SIGCANCEL.
5258
5259 * nptl/default-sched.h: New file.
5260 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5261 * nptl/pthread_create.c: Include it.
5262 (__pthread_create_2_1): Use collect_default_sched instead of making
5263 Linux syscalls here directly.
5264
52652014-11-20 Torvald Riegel <triegel@redhat.com>
5266
5267 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5268 __pthread_once): Use C11 atomics.
5269
52702014-11-20 Torvald Riegel <triegel@redhat.com>
5271
5272 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5273
52742014-11-20 Torvald Riegel <triegel@redhat.com>
5275
5276 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5277 atomic_thread_fence_acquire, atomic_thread_fence_release,
5278 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5279 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5280 atomic_compare_exchange_weak_relaxed,
5281 atomic_compare_exchange_weak_acquire,
5282 atomic_compare_exchange_weak_release,
5283 atomic_exchange_acquire, atomic_exchange_release,
5284 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5285 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5286 atomic_fetch_and_acquire,
5287 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5288
52892014-11-20 Torvald Riegel <triegel@redhat.com>
5290
5291 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5292 USE_ATOMIC_COMPILER_BUILTINS): Define.
5293 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5295 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5297 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5298 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5299 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5301 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5303 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5305 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5307 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5309 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5311 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5313 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5314 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5315 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5317 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5319 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5320 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5321 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5323 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5325 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5326 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5327 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5328 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5329 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5330 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5331 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5332 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5333
53342014-11-19 Roland McGrath <roland@hack.frob.com>
5335
5336 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5337 the sched_priority value here. It was already checked when the user
5338 called pthread_attr_setschedparam.
5339
5340 * nptl/tst-bad-schedattr.c: New file.
5341 * nptl/Makefile (tests): Add it.
5342
53432014-11-19 Carlos O'Donell <carlos@redhat.com>
5344 Florian Weimer <fweimer@redhat.com>
5345 Joseph Myers <joseph@codesourcery.com>
5346 Adam Conrad <adconrad@0c3.net>
5347 Andreas Schwab <schwab@suse.de>
5348 Brooks <bmoses@google.com>
5349
5350 [BZ #17625]
5351 * wordexp-test.c (__dso_handle): Add prototype.
5352 (__register_atfork): Likewise.
5353 (__app_register_atfork): New function.
5354 (registered_forks): New global.
5355 (register_fork): New function.
5356 (test_case): Add 3 new tests for WRDE_CMDSUB.
5357 (main): Call __app_register_atfork.
5358 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5359 fork count is non-zero fail the test.
5360 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5361 is set.
5362 (parse_dollars): Remove check for WRDE_NOCMD.
5363 (parse_dquote): Likewise.
5364
53652014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5366
5367 * Makeconfig (built-modules): List non-library modules to be
5368 built.
5369 (module-cppflags): Include libc-modules.h for
5370 everything except shlib-versions.v.i.
5371 (CPPFLAGS): Use it.
5372 (before-compile): Add libc-modules.h.
5373 ($(common-objpfx)libc-modules.h,
5374 $(common-objpfx)libc-modules.stmp): New targets.
5375 (common-generated): Add libc-modules.h and libc-modules.stmp.
5376 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5377 * include/libc-symbols.h: Don't include libc-modules.h.
5378 * include/libc-modules.h: Remove file.
5379 * scripts/gen-libc-modules.awk: New script to generate
5380 libc-modules.h.
5381 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5382 Depend on libc-modules.stmp.
5383
5384 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5385
5386 * Makeconfig (in-module): Get value of libof set for the
5387 translation unit.
5388 (CPPFLAGS): Use $(in-module).
5389 * Makerules: Don't suffix routine names for nonlib.
5390 * include/libc-modules.h: New file.
5391 * include/libc-symbols.h: Include libc-modules.h
5392 (IS_IN): New macro to replace IS_IN_* macros.
5393 * elf/Makefile: Set libof-* for each routine.
5394 * elf/rtld-Rules: Likewise.
5395 * extra-modules.mk: Likewise.
5396 * iconv/Makefile: Likewise.
5397 * iconvdata/Makefile: Likewise.
5398 * locale/Makefile: Likewise.
5399 * malloc/Makefile: Likewise.
5400 * nss/Makefile: Likewise.
5401 * sysdeps/gnu/Makefile: Likewise.
5402 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5403 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5404 * sysdeps/s390/s390-64/Makefile: Likewise.
5405 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5406 CPPFLAGS for nscd instead of nonlib.
5407
54082014-11-18 Roland McGrath <roland@hack.frob.com>
5409
5410 * nptl/createthread.c: New file.
5411
5412 * nptl/createthread.c: Moved ...
5413 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5414
5415 * nptl/createthread.c: Add proper top-line comment.
5416 (do_clone): Folded into ...
5417 (create_thread): ... here. Take new arguments STOPPED_START and
5418 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5419 increment __nptl_threads, do event-reporting logic, do
5420 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5421 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5422 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5423 just send SIGCANCEL.
5424 * nptl/pthread_create.c: Forward-declare create_thread before
5425 including createthread.c.
5426 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5427 declaration, and new macro START_THREAD_SELF to replace argument.
5428 Remove return statement.
5429 (report_thread_creation): New function.
5430 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5431 synchronization logic, and __nptl_nthreads increment here, around
5432 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5433 PD->parent_cancelhandling here, before create_thread. When
5434 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5435 __deallocate_stack, and ENOMEM translation here.
5436
54372014-11-18 Joseph Myers <joseph@codesourcery.com>
5438
5439 [BZ #17616]
5440 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5441 (mptwo): Rename to __mptwo.
5442 (__inv): Use __mptwo instead of mptwo.
5443 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5444 (mptwo): Rename to __mptwo.
5445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5446 of mpone and __mptwo instead of mptwo.
5447 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5448 instead of mpone.
5449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5450 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5451 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5452 of mpone and __mptwo instead of mptwo.
5453 (__mpranred): Use __mpone instead of mpone.
5454 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5455 variable.
5456 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5457 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5458 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5459 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5460 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5461 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5462 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5463 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5464 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5465 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5466 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5467 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5468 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5469 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5470 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5471 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5472 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5473 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5474 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5475
54762014-11-18 Tom de Vries <tom@codesoucery.com>
5477
5478 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5479 replace BSD Handler xref with BSD Signal Handling.
5480
54812014-11-17 Richard Henderson <rth@redhat.com>
5482
5483 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5484 (_FP_PACK_RAW_2): Remove.
5485 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5486 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5487 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5488 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5489 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5490 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5491 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5492 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5493 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5494 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5495 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5496 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5497 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5498 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5499 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5500 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5501
55022014-11-14 Roland McGrath <roland@hack.frob.com>
5503
5504 * signal/signal.h [__USE_MISC]
5505 (struct sigvec): Remove type.
5506 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5507 (sigvec): Remove declaration.
5508 * sysdeps/posix/sigvec.c: Moved ...
5509 * signal/sigvec.c: ... here, replacing old file.
5510 (struct sigvec): New type, copied from old signal.h definition.
5511 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5512 (__sigvec): Convert definition to prototype.
5513 (sigvec): Replace weak_alias with compat_symbol.
5514 * signal/Versions (libc: GLIBC_2.21): New version set.
5515 * include/signal.h: Remove __sigvec declaration.
5516 * sysdeps/unix/bsd/sigvec.c: Remove file.
5517 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5518 * manual/signal.texi (BSD Handler): Remove subsection.
5519 Move siginterrupt up to ...
5520 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5521 (Blocking in BSD): Fold subsection into its parent.
5522 * NEWS: Mention sigvec removal.
5523
55242014-11-14 Joseph Myers <joseph@codesourcery.com>
5525
5526 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5527 (DLA_FMS): Make definition conditional only on [__FMA4__].
5528 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5529 definition.
5530
5531 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5532 Make definition conditional only on [PROF].
5533 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5534 definition.
5535 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5536 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5537
5538 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5539 !__GNUC__].
5540 * include/signal.h (__sigpause): Move declaration above call to
5541 libc_hidden_proto.
5542 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5543 variable.
5544 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5545 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5546
55472014-11-14 David S. Miller <davem@davemloft.net>
5548
5549 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5550 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5551
55522014-11-14 Joseph Myers <joseph@codesourcery.com>
5553
5554 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5555 * configure: Regenerated.
5556 * manual/install.texi (Tools for Compilation): Document a
5557 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5558 compiler verified to work.
5559 * INSTALL: Regenerated.
5560
5561 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5562 redeclare with asm name.
5563 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5564 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5565 including <string.h>.
5566 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5567 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5568 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5569 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5570 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5571 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5572 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5573
55742014-11-13 Joseph Myers <joseph@codesourcery.com>
5575
5576 * stdlib/strtol.c (__strtol): Use prototype definition.
5577
5578 [BZ #17594]
5579 * stdlib/strtol.c (SYM__): New macro.
5580 (SYM__1): Likewise.
5581 (__strtol): Likewise.
5582 (strtol): Rename to __strtol and define as weak alias of
5583 __strtol. Use libc_hidden_weak.
5584
55852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5586
5587 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5588 Use numbered labels in inline assembly.
5589
55902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5591
5592 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5593 Add setjmp LIBC_PROBE.
5594 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5595 Likewise.
5596 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5597 Add longjmp, longjmp_target LIBC_PROBE.
5598 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5599 Likewise.
5600
56012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5602
5603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5604 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5605 to get rid of unused variable warning.
5606
56072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5608
5609 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5610 Check for unwind_backtrace == NULL only in SHARED case.
5611 (__backchain_backtrace): Compile only in SHARED case.
5612 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5613 Likewise.
5614 (__backchain_backtrace): Declare as static.
5615
56162014-11-12 Roland McGrath <roland@hack.frob.com>
5617
5618 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5619 (__libc_multiple_threads_ptr): Variable moved ...
5620 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5621
56222014-11-12 Joseph Myers <joseph@codesourcery.com>
5623
5624 * conform/GlibcConform.pm: New file.
5625 * conform/conformtest.pl: Use GlibcConform module.
5626 * conform/linknamespace.pl: New file.
5627 * conform/list-header-symbols.pl: Likewise.
5628 * conform/Makefile (linknamespace-symlists-base): New variable.
5629 (linknamespace-symlists-tests): Likewise.
5630 (linknamespace-header-base): Likewise.
5631 (linknamespace-header-tests): Likewise.
5632 (tests-special): Add new tests.
5633 ($(linknamespace-symlists-tests)): New rule.
5634 (linknamespace-libs): New variable.
5635 ($(objpfx)symlist-stdlibs): New rule.
5636 ($(linknamespace-header-tests)): Likewise.
5637 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5638 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5639 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5640 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5641 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5642 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5643 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5644 (test-xfail-ISO/math.h/linknamespace): Likewise.
5645 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5646 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5647 (test-xfail-ISO/time.h/linknamespace): Likewise.
5648 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5649 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5650 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5651 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5652 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5653 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5654 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5655 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5656 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5657 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5658 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5659 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5660 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5661 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5662 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5663 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5664 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5665 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5666 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5667 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5668 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5669 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5670 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5671 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5672 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5673 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5674 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5675 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5676 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5677 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5678 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5679 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5680 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5681 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5682 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5683 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5684 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5685 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5686 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5687 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5688 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5689 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5690 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5691 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5692 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5693 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5694 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5695 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5696 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5697 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5698 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5699 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5700 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5701 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5702 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5703 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5704 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5705 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5706 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5707 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5708 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5709 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5710 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5711 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5712 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5713 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5714 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5715 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5716 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5717 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5718 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5719 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5720 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5721 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5722 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5723 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5724 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5725 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5726 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5727 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5728 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5729 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5730 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5731 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5732 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5733 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5734 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5735 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5736 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5737 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5738 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5739 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5740 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5741 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5742 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5743 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5744 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5745 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5746 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5747 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5748 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5749 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5750 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5751 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5752 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5753 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5754 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5755 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5756 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5757 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5758 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5759 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5760 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5761 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5762 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5763 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5764 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5765 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5766 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5767 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5768 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5769 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5770 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5771 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5772 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5773 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5774 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5775 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5776 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5777 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5778 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5779 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5780 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5781 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5782 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5783 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5784 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5785 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5786 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5787 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5788 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5789 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5790 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5791 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5792 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5793 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5794 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5795 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5796 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5797 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5798
5799 [BZ #17589]
5800 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5801 of fgets_unlocked.
5802
5803 [BZ #17585]
5804 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5805 (memmem): Rename to __memmem and define as weak alias of
5806 __memmem. Use libc_hidden_weak.
5807 (__memmem): Use libc_hidden_def.
5808 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5809 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5810 memmem.
5811
5812 [BZ #17582]
5813 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5814 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5815 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5816 and define as weak alias of __fgets_unlocked. Use
5817 libc_hidden_weak.
5818 (__fgets_unlocked): Use libc_hidden_def.
5819 * include/stdio.h (__fgets_unlocked): Declare. Use
5820 libc_hidden_proto.
5821 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5822 __fgets_unlocked instead of fgets_unlocked.
5823 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5824 (GET_NPROCS_CONF_PARSER): Likewise.
5825 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5826 (GET_NPROCS_CONF_PARSER): Likewise.
5827
5828 [BZ #17574]
5829 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5830 weak alias of __wmemset. Use libc_hidden_weak.
5831 (__wmemset): Use libc_hidden_def.
5832 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5833 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5834 of wmemset.
5835
5836 [BZ #17573]
5837 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5838 with asm name __mempcpy.
5839 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5840
5841 [BZ #17572]
5842 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5843 and define as weak alias of __rawmemchr.
5844 (__rawmemchr): Do not define as strong alias of rawmemchr.
5845
5846 [BZ #17571]
5847 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5848 alias of __qsort_r.
5849 (qsort): Call __qsort_r instead of qsort_r.
5850 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5851 (__qsort_r): Declare. Call libc_hidden_proto.
5852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5853 instead of qsort_r.
5854 * nscd/gai.c (__qsort_r): Define to qsort_r.
5855 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5856 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5857 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5858
5859 [BZ #17570]
5860 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5861 define as weak alias of __malloc_info.
5862
5863 [BZ #17584]
5864 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5865 as weak alias of __rewinddir. Don't use libc_hidden_def.
5866 (__rewinddir): Use libc_hidden_def.
5867 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5868 as weak alias of __rewinddir. Don't use libc_hidden_def.
5869 (__rewinddir): Use libc_hidden_def.
5870 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5871 weak alias of __rewinddir. Don't use libc_hidden_def.
5872 (__rewinddir): Use libc_hidden_def.
5873 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5874 (__rewinddir): Use libc_hidden_proto.
5875 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5876 rewinddir.
5877 (__getcwd): Use __rewinddir instead of rewinddir.
5878
5879 [BZ #17583]
5880 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5881 alias of __fileno. Use libc_hidden_weak.
5882 (__fileno): Use libc_hidden_def.
5883 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5884 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5885 alias of __ftello.
5886 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5887 __ftello.
5888 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5889 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5890 libc_hidden_def.
5891 (fread_unlocked): Don't use libc_hidden_ver.
5892 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5893 and define as weak alias of __fread_unlocked. Don't use
5894 libc_hidden_def.
5895 (__fread_unlocked): Use libc_hidden_def.
5896 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5897 (ftello): Don't use libc_hidden_proto.
5898 (__ftello): Declare. Use libc_hidden_proto.
5899 (fread_unlocked): Don't use libc_hidden_proto.
5900 (__fread_unlocked): Declare. Use libc_hidden_proto.
5901 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5902 and __ftello instead of fileno, fread_unlocked and ftello.
5903
59042012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5905
5906 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5907 GOT12.
5908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5909 Likewise.
5910 (_dl_start_user): Likewise.
5911 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5912
59132014-11-12 Carlos O'Donell <carlos@redhat.com>
5914 Siddhesh Poyarekar <siddhesh@redhat.com>
5915
5916 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5917 Move argv and envp down instead of moving argc up.
5918 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5919
59202014-11-12 Leonhard Holz <leonhard.holz@web.de>
5921
5922 [BZ #17506]
5923 * test-skeleton.c (main): Return successful if one of
5924 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5925 * string/tst-strcoll-overflow.c: Define expected status.
5926
59272014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5928
5929 [BZ #17475]
5930 * locale/iso-639.def: Define Bhili and Tulu language codes.
5931
59322014-11-11 Alan Hayward <alan.hayward@arm.com>
5933
5934 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5935
59362014-11-10 Renlin Li <Renlin.Li@arm.com>
5937
5938 [BZ #17555]
5939 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5940
59412014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5942
5943 * configure.ac: Updated check of minimal required version to
5944 2.22.
5945 * manual/install.texi (Tools for Compilation): Updated version
5946 number.
5947 * configure: Regenerated.
5948 * INSTALL: Likewise.
5949
59502014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5951
5952 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5953 __tls_get_addr.
5954
59552014-11-07 Joseph Myers <joseph@codesourcery.com>
5956
5957 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5958 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5959 (__waitpid): Don't define as alias. Use libc_hidden_def not
5960 libc_hidden_weak.
5961 (waitpid): Define as alias of __waitpid.
5962 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5963 __waitpid.
5964 (__waitpid): Don't define as alias. Use libc_hidden_def not
5965 libc_hidden_weak.
5966 (waitpid): Define as alias of __waitpid.
5967 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5968 __libc_waitpid alias.
5969 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5970 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5971 Likewise.
5972 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5973 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5974 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5975 alias.
5976 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5977 __waitpid.
5978 (__waitpid): Don't define as alias. Use libc_hidden_def not
5979 libc_hidden_weak.
5980 (waitpid): Define as alias of __waitpid.
5981
59822014-11-06 Carlos O'Donell <carlos@redhat.com>
5983
5984 * manual/llio.texi: Add comment that write safety has been
5985 fixed in Linux.
5986
5987 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5988 (localplt-build-dso): Add elf/ld.so.
5989 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5990 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5991 and free for ld.so.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5993 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5995 Likewise.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5997 Likewise.
5998 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5999 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6000 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6001 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6002 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6003 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6004 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6005 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6006 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6007 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6009
60102014-11-05 Joseph Myers <joseph@codesourcery.com>
6011
6012 [BZ #14132]
6013 * include/libc-symbols.h (INTUSE): Remove macro.
6014 (INTDEF): Likewise.
6015 (INTVARDEF): Likewise.
6016 (_INTVARDEF): Likewise.
6017 (INTDEF2): Likewise.
6018 (INTVARDEF2): Likewise.
6019 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6020 rtld_hidden_def instead of INTVARDEF.
6021 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6022 (_dl_starting_up_internal): Remove declaration.
6023 (_dl_starting_up): Use rtld_hidden_proto.
6024 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6025 declaration.
6026 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6027 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6028 _dl_starting_up.
6029 * elf/dl-writev.h (_dl_writev): Likewise.
6030 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6031 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6032 _dl_starting_up_internal.
6033
60342014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035
6036 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6037 test-skeleton.c.
6038
60392014-11-05 Will Newton <will.newton@linaro.org>
6040
6041 * benchtests/Makefile: (bench-malloc): Add malloc thread
6042 scalability benchmark.
6043 * benchtests/bench-malloc-threads.c: New file.
6044
60452014-11-05 Richard Earnshaw <rearnsha@arm.com>
6046
6047 * sysdeps/aarch64/strchrnul.S: New file.
6048
60492014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6050
6051 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6052 definition.
6053 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6054 Likwise.
6055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6056 Likewise.
6057 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6058 Likewise.
6059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6060 Likewise.
6061 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6062 Likewise.
6063
60642014-11-05 Arjun Shankar <arjun.is@lostca.se>
6065
6066 * catgets/test-gencat.c: Use test-skeleton.c.
6067 * catgets/tst-catgets.c: Likewise.
6068 * csu/tst-empty.c: Likewise.
6069 * elf/tst-audit2.c: Likewise.
6070 * elf/tst-global1.c: Likewise.
6071 * elf/tst-pathopt.c: Likewise.
6072 * elf/tst-piemod1.c: Likewise.
6073 * elf/tst-tls10.c: Likewise.
6074 * elf/tst-tls11.c: Likewise.
6075 * elf/tst-tls12.c: Likewise.
6076 * gnulib/tst-gcc.c: Likewise.
6077 * iconvdata/tst-e2big.c: Likewise.
6078 * iconvdata/tst-loading.c: Likewise.
6079 * iconv/tst-iconv1.c: Likewise.
6080 * iconv/tst-iconv2.c: Likewise.
6081 * inet/test-inet6_opt.c: Likewise.
6082 * inet/tst-gethnm.c: Likewise.
6083 * inet/tst-network.c: Likewise.
6084 * inet/tst-ntoa.c: Likewise.
6085 * intl/tst-codeset.c: Likewise.
6086 * intl/tst-gettext2.c: Likewise.
6087 * intl/tst-gettext3.c: Likewise.
6088 * intl/tst-ngettext.c: Likewise.
6089 * intl/tst-translit.c: Likewise.
6090 * io/test-stat.c: Likewise.
6091 * libio/test-fmemopen.c: Likewise.
6092 * libio/tst-freopen.c: Likewise.
6093 * libio/tst-sscanf.c: Likewise.
6094 * libio/tst-ungetwc1.c: Likewise.
6095 * libio/tst-ungetwc2.c: Likewise.
6096 * libio/tst-widetext.c: Likewise.
6097 * localedata/tst-ctype.c: Likewise.
6098 * localedata/tst-digits.c: Likewise.
6099 * localedata/tst-leaks.c: Likewise.
6100 * localedata/tst-mbswcs1.c: Likewise.
6101 * localedata/tst-mbswcs2.c: Likewise.
6102 * localedata/tst-mbswcs3.c: Likewise.
6103 * localedata/tst-mbswcs4.c: Likewise.
6104 * localedata/tst-mbswcs5.c: Likewise.
6105 * localedata/tst-setlocale.c: Likewise.
6106 * localedata/tst-trans.c: Likewise.
6107 * localedata/tst-wctype.c: Likewise.
6108 * localedata/tst-xlocale1.c: Likewise.
6109 * login/tst-grantpt.c: Likewise.
6110 * malloc/tst-calloc.c: Likewise.
6111 * malloc/tst-malloc.c: Likewise.
6112 * malloc/tst-mallocstate.c: Likewise.
6113 * malloc/tst-mcheck.c: Likewise.
6114 * malloc/tst-mtrace.c: Likewise.
6115 * malloc/tst-obstack.c: Likewise.
6116 * math/atest-exp2.c: Likewise.
6117 * math/atest-exp.c: Likewise.
6118 * math/atest-sincos.c: Likewise.
6119 * math/test-matherr.c: Likewise.
6120 * math/test-misc.c: Likewise.
6121 * math/test-powl.c: Likewise.
6122 * math/tst-definitions.c: Likewise.
6123 * misc/tst-dirname.c: Likewise.
6124 * misc/tst-efgcvt.c: Likewise.
6125 * misc/tst-fdset.c: Likewise.
6126 * misc/tst-hsearch.c: Likewise.
6127 * misc/tst-mntent2.c: Likewise.
6128 * nptl/tst-sem7.c: Likewise.
6129 * nptl/tst-sem8.c: Likewise.
6130 * nptl/tst-sem9.c: Likewise.
6131 * nss/test-netdb.c: Likewise.
6132 * posix/tst-fnmatch.c: Likewise.
6133 * posix/tst-getlogin.c: Likewise.
6134 * posix/tst-gnuglob.c: Likewise.
6135 * posix/tst-mmap.c: Likewise.
6136 * pwd/tst-getpw.c: Likewise.
6137 * resolv/tst-inet_ntop.c: Likewise.
6138 * rt/tst-timer.c: Likewise.
6139 * stdio-common/test-fseek.c: Likewise.
6140 * stdio-common/test-popen.c: Likewise.
6141 * stdio-common/test-vfprintf.c: Likewise.
6142 * stdio-common/tst-cookie.c: Likewise.
6143 * stdio-common/tst-fileno.c: Likewise.
6144 * stdio-common/tst-gets.c: Likewise.
6145 * stdio-common/tst-obprintf.c: Likewise.
6146 * stdio-common/tst-perror.c: Likewise.
6147 * stdio-common/tst-sprintf2.c: Likewise.
6148 * stdio-common/tst-sprintf3.c: Likewise.
6149 * stdio-common/tst-sprintf.c: Likewise.
6150 * stdio-common/tst-swprintf.c: Likewise.
6151 * stdio-common/tst-tmpnam.c: Likewise.
6152 * stdio-common/tst-unbputc.c: Likewise.
6153 * stdio-common/tst-wc-printf.c: Likewise.
6154 * stdlib/tst-environ.c: Likewise.
6155 * stdlib/tst-fmtmsg.c: Likewise.
6156 * stdlib/tst-limits.c: Likewise.
6157 * stdlib/tst-rand48-2.c: Likewise.
6158 * stdlib/tst-rand48.c: Likewise.
6159 * stdlib/tst-random2.c: Likewise.
6160 * stdlib/tst-random.c: Likewise.
6161 * stdlib/tst-strtol.c: Likewise.
6162 * stdlib/tst-strtoll.c: Likewise.
6163 * stdlib/tst-tls-atexit.c: Likewise.
6164 * stdlib/tst-xpg-basename.c: Likewise.
6165 * string/test-ffs.c: Likewise.
6166 * string/tst-bswap.c: Likewise.
6167 * string/tst-inlcall.c: Likewise.
6168 * string/tst-strtok.c: Likewise.
6169 * string/tst-strxfrm.c: Likewise.
6170 * sysdeps/x86_64/tst-audit10.c: Likewise.
6171 * sysdeps/x86_64/tst-audit3.c: Likewise.
6172 * sysdeps/x86_64/tst-audit4.c: Likewise.
6173 * sysdeps/x86_64/tst-audit5.c: Likewise.
6174 * time/tst-ftime_l.c: Likewise.
6175 * time/tst-getdate.c: Likewise.
6176 * time/tst-mktime3.c: Likewise.
6177 * time/tst-mktime.c: Likewise.
6178 * time/tst-posixtz.c: Likewise.
6179 * time/tst-strptime2.c: Likewise.
6180 * time/tst-strptime3.c: Likewise.
6181 * wcsmbs/tst-btowc.c: Likewise.
6182 * wcsmbs/tst-mbrtowc.c: Likewise.
6183 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6184 * wcsmbs/tst-wchar-h.c: Likewise.
6185 * wcsmbs/tst-wcpncpy.c: Likewise.
6186 * wcsmbs/tst-wcrtomb.c: Likewise.
6187 * wcsmbs/tst-wcsnlen.c: Likewise.
6188 * wcsmbs/tst-wcstof.c: Likewise.
6189
61902014-11-04 Joseph Myers <joseph@codesourcery.com>
6191
6192 [BZ #14132]
6193 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6194 INTDEF.
6195 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6196 declaration.
6197 (_dl_mcount): Use rtld_hidden_proto.
6198 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6199 _dl_mcount.
6200 * elf/rtld.c (_rtld_global_ro): Likewise.
6201
6202 [BZ #14132]
6203 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6204 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6205 of _dl_init_internal.
6206 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6207 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6208 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6209 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6210 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6211 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6212 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6213 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6214 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6215 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6216 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6217 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6218 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6219 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6220 * sysdeps/tile/dl-start.S (_start): Likewise.
6221 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6222 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6223
6224 [BZ #14132]
6225 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6226 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6227 (rtld_progname): Make macro definition unconditional.
6228 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6229 INTDEF.
6230 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6231 (dl_main): Likewise.
6232 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6233 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6234 instead of _dl_argv_internal.
6235 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6236 __GI__dl_argv instead of INTUSE(_dl_argv).
6237 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6238 __GI__dl_argv instead of _dl_argv_internal.
6239
6240 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6241 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6242 macro.
6243 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6244 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6245 New macro.
6246 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6247 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6248 macro.
6249 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6250 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6251
62522014-11-04 Andreas Schwab <schwab@suse.de>
6253
6254 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6255
62562014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257
6258 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6259 mtvsrd instruction in binary form.
6260
62612014-11-03 Andreas Schwab <schwab@suse.de>
6262
6263 [BZ #17522]
6264 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6265 for less than MB_LEN_MAX use a local buffer of that size.
6266 * libio/tst-fputws.c: New file.
6267 * libio/Makefile (tests): Add tst-fputws.
6268
62692014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6270
6271 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6272 the size of the fpu_fr.fpu_dregs[] array.
6273
62742014-11-01 Joseph Myers <joseph@codesourcery.com>
6275
6276 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6277 (__nanosleep): Do not define as alias.
6278 (nanosleep): Define as alias of __nanosleep.
6279 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6280 __libc_nanosleep name.
6281
62822014-10-31 Joseph Myers <joseph@codesourcery.com>
6283
6284 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6285 install.texi in comment.
6286
62872014-10-31 Torvald Riegel <triegel@redhat.com>
6288
6289 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6290 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6291 ... add here and use lwsync or sync ...
6292 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6293 ... and add here using lwsync.
6294
62952014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6296
6297 * elf/dl-machine-reject-phdr.h: New file.
6298 * elf/dl-load.c: #include that.
6299 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6300 if that returned true.
6301
63022014-10-31 Roland McGrath <roland@hack.frob.com>
6303
6304 [BZ #17496]
6305 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6306 gen-as-const-headers chunk. Add a big scare comment after the last
6307 safe place to touch before-compile.
6308
63092014-10-31 Joseph Myers <joseph@codesourcery.com>
6310
6311 * manual/install.texi (Tools for Compilation): Update autoconf
6312 version requirements.
6313 * INSTALL: Regenerated.
6314
6315 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6316 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6317 (__libc_pselect): Likewise.
6318
6319 [BZ #14138]
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6324
63252014-10-31 Torvald Riegel <triegel@redhat.com>
6326
6327 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6328 correct barrier instruction.
6329 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6330 Likewise.
6331 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6332 Likewise.
6333
63342014-10-30 Roland McGrath <roland@hack.frob.com>
6335
6336 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6337 after defining inlines. Instead, just use parens to defeat macro
6338 expansion of __isctype in its declaration.
6339
63402014-10-30 Joseph Myers <joseph@codesourcery.com>
6341
6342 * include/sys/uio.h (__libc_readv): Remove declaration.
6343 (__libc_writev): Likewise.
6344 * misc/readv.c (__libc_readv): Rename to __readv.
6345 (__readv): Do not define as alias.
6346 (readv): Define as alias of __readv.
6347 * misc/writev.c (__libc_writev): Rename to __writev.
6348 (__writev): Do not define as alias.
6349 (writev): Define as alias of __writev.
6350 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6351 (__readv): Do not define as alias.
6352 (readv): Define unconditionally as alias of __readv.
6353 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6354 (__writev): Do not define as alias.
6355 (writev): Define unconditionally as alias of __writev.
6356 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6357 name.
6358 (writev): Do not define __libc_writev name.
6359
63602014-10-30 Roland McGrath <roland@hack.frob.com>
6361
6362 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6363 (convert_charseq): New function, broken out of ...
6364 (use_from_charmap): ... here. Call it.
6365 (use_to_charmap): Use convert_charseq and free instead of duplicating
6366 its code with a variable-length stack struct.
6367
63682014-10-30 Joseph Myers <joseph@codesourcery.com>
6369
6370 * include/fcntl.h (__libc_creat): Remove declaration.
6371 * io/creat.c (__libc_creat): Rename to creat.
6372 (creat): Do not define as alias.
6373 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6374 of creat instead of __libc_creat.
6375 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6376 to creat.
6377 (creat): Do not define as alias.
6378 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6379 __libc_creat.
6380 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6381 __libc_creat name.
6382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6383 Likewise.
6384
63852014-10-29 Carlos O'Donell <carlos@redhat.com>
6386
6387 * manual/llio.texi: Add comments discussing why write() may be
6388 considered MT-unsafe on Linux.
6389
63902014-10-28 Carlos O'Donell <carlos@redhat.com>
6391
6392 * dl-load.c (local_strdup): Remove.
6393 (expand_dynamic_string_token): Use __strdup.
6394 (decompose_rpath): Likewise.
6395 (_dl_map_object): Likewise.
6396
63972014-10-28 Joseph Myers <joseph@codesourcery.com>
6398
6399 [BZ #14132]
6400 * sysdeps/generic/unwind-dw2-fde.c
6401 (__register_frame_info_bases_internal): Do not declare.
6402 (__register_frame_info_table_bases_internal): Likewise.
6403 (__deregister_frame_info_bases_internal): Likewise.
6404 (__register_frame_info_bases): Declare and use hidden_proto before
6405 definition. Use hidden_def instead of INTDEF.
6406 (__register_frame_info_table_bases): Likewise.
6407 (__deregister_frame_info_bases): Likewise.
6408 (__register_frame_info): Do not use INTUSE.
6409 (__register_frame): Likewise.
6410 (__register_frame_info_table): Likewise.
6411 (__register_frame_table): Likewise.
6412 (__deregister_frame_info): Likewise.
6413 (__deregister_frame): Likewise.
6414
64152014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6416
6417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6418 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6419 not undefine.
6420 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6421 Likewise.
6422 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6423 Likewise.
6424
64252014-10-27 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #14138]
6428 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6429 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6430 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6431 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6432 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6433 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6434 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6435 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6437 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6440 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6441 syscall.
6442 (setfsuid): Likewise.
6443 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6444 (setfsuid): Likewise.
6445 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6446 (setfsuid): Likewise.
6447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6448 Likewise.
6449 (setfsuid): Likewise.
6450 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6451 (setfsuid): Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6453 Likewise.
6454 (setfsuid): Likewise.
6455
64562014-10-27 Andreas Schwab <schwab@suse.de>
6457
6458 [BZ #17501]
6459 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6460 check for Slow_SSE4_2 feature bit.
6461 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6462 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6463 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6464 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6465
64662014-10-24 Roland McGrath <roland@hack.frob.com>
6467
6468 * configure.ac: Validate compiler version with a empirical test of
6469 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6470 $CC -v output.
6471 * configure: Regenerated.
6472
6473 * inet/htons.c (htons): Prototypify.
6474 * inet/htonl.c (htonl): Likewise.
6475
64762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6477
6478 * string/strncat.c (strncat): Improve performance by using strlen.
6479
64802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6481
6482 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6483
64842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6485
6486 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6487 Call libc_fetestexcept_aarch64.
6488
64892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6490
6491 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6492 Call libc_feholdexcept_aarch64.
6493
64942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6495
6496 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6497 Call get_rounding_mode.
6498
64992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6500
6501 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6502 Simplify logic.
6503
65042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6505
6506 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6507 Simplify logic.
6508
65092014-10-24 Joseph Myers <joseph@codesourcery.com>
6510
6511 [BZ #14138]
6512 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6513 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6514 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6515 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6516 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6517 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6518 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6519 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6520 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6521 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6522 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6523 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6524 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6525 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6526 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6527 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6528 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6529 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6530 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6531 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6532 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6534 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6535 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6536 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6537 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6538 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6539 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6540 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6541 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6542 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6543 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6544 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6545 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6546 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6547 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6548 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6550 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6551 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6552 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6553 syscall.
6554 (geteuid): Likewise.
6555 (getgid): Likewise.
6556 (getuid): Likewise.
6557 (getresgid): Likewise.
6558 (getresuid): Likewise.
6559 (getgroups): Likewise.
6560 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6561 (geteuid): Likewise.
6562 (getgid): Likewise.
6563 (getuid): Likewise.
6564 (getresgid): Likewise.
6565 (getresuid): Likewise.
6566 (getgroups): Likewise.
6567 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6568 (geteuid): Likewise.
6569 (getgid): Likewise.
6570 (getuid): Likewise.
6571 (getresgid): Likewise.
6572 (getresuid): Likewise.
6573 (getgroups): Likewise.
6574 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6575 Likewise.
6576 (geteuid): Likewise.
6577 (getgid): Likewise.
6578 (getuid): Likewise.
6579 (getresgid): Likewise.
6580 (getresuid): Likewise.
6581 (getgroups): Likewise.
6582 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6583 (geteuid): Likewise.
6584 (getgid): Likewise.
6585 (getuid): Likewise.
6586 (getresgid): Likewise.
6587 (getresuid): Likewise.
6588 (getgroups): Likewise.
6589 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6590 Likewise.
6591 (geteuid): Likewise.
6592 (getgid): Likewise.
6593 (getuid): Likewise.
6594 (getgroups): Likewise.
6595
6596 [BZ #14138]
6597 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6598 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6599 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6601 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6602 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6603 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6604 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6605 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6606 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6607 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6608 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6609 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6610 __chown.
6611 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6612 (lchown): Likewise.
6613 (fchown): Likewise.
6614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6615 Likewise.
6616 (lchown): Likewise.
6617 (fchown): Likewise.
6618 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6619 (lchown): Likewise.
6620 (fchown): Likewise.
6621 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6622 Likewise.
6623 (lchown): Likewise.
6624 (fchown): Likewise.
6625
66262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6627
6628 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6629 Simplify logic.
6630
66312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6632
6633 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6634 Cleanup logic.
6635
66362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6637
6638 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6639 Remove unused include.
6640
66412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6642
6643 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6644 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6645 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6646 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6647
66482014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6649 Helge Deller <deller@gmx.de>
6650
6651 [BZ #17508]
6652 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6653 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6654 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6655
66562014-10-23 Joseph Myers <joseph@codesourcery.com>
6657
6658 [BZ #14132]
6659 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6660 Remove macro definition.
6661 (__ashrdi3_v_glibc20): Likewise.
6662 (__lshrdi3_v_glibc20): Likewise.
6663 (__cmpdi2_v_glibc20): Likewise.
6664 (__ucmpdi2_v_glibc20): Likewise.
6665 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6666 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6667 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6668 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6669 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6670 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6671
66722014-10-22 Roland McGrath <roland@hack.frob.com>
6673
6674 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6675 old GNU extension [0] syntax.
6676 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6677 alloca rather than an array member with variable length.
6678 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6679 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6680 (parse_opt): ... here. Likewise use alloca there.
6681 Validate the -i argument before checking for rootness.
6682 (send_shutdown): New function, broken out of ...
6683 (parse_opt): ... here.
6684
66852014-10-22 Roland McGrath <roland@hack.frob.com>
6686
6687 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6688 macro to get at the _rt_local_ro field.
6689 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6690 ([PIC] case) or _dl_hwcap ([!PIC] case).
6691 * sysdeps/arm/setjmp.S: Likewise.
6692
6693 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6694 * sysdeps/arm/configure.ac: New check to define it.
6695 * sysdeps/arm/configure: Regenerated.
6696 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6697 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6698 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6699 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6700 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6701 Use move/movt pair instead of a load.
6702 (LDST_GLOBAL): Macro removed.
6703 (LDR_GLOBAL): New macro replaces it.
6704 (LDR_HIDDEN): New macro.
6705 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6706 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6707
6708 * setjmp/tst-setjmp-static.c: New file.
6709 * setjmp/Makefile (tests): Add it.
6710 (tests-static): New variable.
6711
67122014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6713
6714 [BZ #17485]
6715 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6716
67172014-10-21 Joseph Myers <joseph@codesourcery.com>
6718
6719 [BZ #14132]
6720 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6721
67222014-10-21 Roland McGrath <roland@hack.frob.com>
6723
6724 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6725
67262014-10-20 Roland McGrath <roland@hack.frob.com>
6727
6728 * io/fts.c (dirent_not_directory): New function.
6729 (fts_build): Call it.
6730
67312014-10-20 Roland McGrath <roland@hack.frob.com>
6732
6733 * nptl/version.c (__nptl_main): Use normal __write rather than
6734 INTERNAL_SYSCALL.
6735 (banner): Update copyright years.
6736
6737 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6738 gettimeofday.
6739 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6740 * nptl/pthread_cond_timedwait.c: Likewise.
6741 * nptl/pthread_mutex_timedlock.c: Likewise.
6742 * nptl/sem_timedwait.c: Likewise.
6743
6744 * sysdeps/nptl/bits/libc-lock.h
6745 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6746 (__libc_lock_init_recursive): Return void, not 0.
6747 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6748 (__libc_rwlock_init): Likewise.
6749 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6750
67512014-10-20 Torvald Riegel <triegel@redhat.com>
6752
6753 [BZ #15215]
6754 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6755 (__pthread_once_slow): ... here.
6756 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6757 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6758
67592014-10-20 Torvald Riegel <triegel@redhat.com>
6760
6761 [BZ #15215]
6762 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6763 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6764 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6765 * nptl/pthread_once.c (__pthread_once): Likewise.
6766 Update comments.
6767
67682014-10-20 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #14138]
6771 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6772 name.
6773 (writev): Use __libc_writev as strong name.
6774 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6775 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6776
67772014-10-17 Roland McGrath <roland@hack.frob.com>
6778
6779 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6780
6781 * sysdeps/i386/nptl/tls.h
6782 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6783 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6784 New macros.
6785 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6786 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6787 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6788 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6789 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6790 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6791
6792 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6793 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6794 on [__NR_futex].
6795 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6796 broken out of ...
6797 (__pthread_mutex_init): ... here. Call it.
6798 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6799 Conditionalize PI cases on [__NR_futex].
6800 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6801 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6802 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6803
6804 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6805 conditional on [SIGSETXID].
6806 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6807 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6808 is defined. Likewise for SIGSETXID.
6809 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6810 Conditionalize definitions on [SIGSETXID].
6811 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6812 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6813 unblocking on [SIGCANCEL].
6814
6815 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6816 [__NR_set_robust_list].
6817
68182014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6819
6820 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6821 (do_compare): Likewise.
6822
68232014-10-17 Leonhard Holz <leonhard.holz@web.de>
6824
6825 [BZ #15884]
6826 * string/strcoll_l.c: Don't include stdio.h.
6827 (coll_seq): Remove members idxarr and rulearr.
6828 (get_next_seq_cached): Remove function.
6829 (get_next_seq): Likewise.
6830 (get_next_seq_nocache): Rename to get_next_seq.
6831 (do_compare): Remove function.
6832 (do_compare_nocache): Rename to do_compare.
6833 (STRCOLL): Remove weight and rules cache.
6834
68352014-10-16 Roland McGrath <roland@hack.frob.com>
6836
6837 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6838 * sysdeps/arm/sfp-machine.h: ... to here.
6839 * sysdeps/arm/Implies: Remove arm/soft-fp.
6840
68412014-10-14 Joseph Myers <joseph@codesourcery.com>
6842
6843 * conform/data/sys/utsname.h-data (*_t): Allow.
6844 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6845 [POSIX] (WEXITED): Do not expect constant.
6846 [POSIX] (WSTOPPED): Likewise.
6847 [POSIX] (WNOHANG): Likewise.
6848 [POSIX] (WNOWAIT): Likewise.
6849 [POSIX] (siginfo_t): Do not expect type or elements.
6850 [POSIX] (pid_t): Do not expect type.
6851 [POSIX] (signal.h): Do not allow header.
6852 [POSIX] (sys/resource.h): Likewise.
6853 [POSIX] (si_*): Do not allow pattern.
6854 [POSIX] (W*): Likewise.
6855 [POSIX] (P_*): Likewise.
6856 [POSIX] (BUS_*): Likewise.
6857 [POSIX] (CLD_*): Likewise.
6858 [POSIX] (FPE_*): Likewise.
6859 [POSIX] (ILL_*): Likewise.
6860 [POSIX] (POLL_*): Likewise.
6861 [POSIX] (SEGV_*): Likewise.
6862 [POSIX] (SI_*): Likewise.
6863 [POSIX] (TRAP_*): Likewise.
6864 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6865 variable.
6866
68672014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6868
6869 [BZ #12926]
6870 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6871 infinite loop when __recvmsg returns 0.
6872
68732014-10-10 Joseph Myers <joseph@codesourcery.com>
6874
6875 * CANCEL-FCT-WAIVE: Remove file.
6876 * CANCEL-FILE-WAIVE: Likewise.
6877
6878 [BZ #14132]
6879 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6880 instead of INTVARDEF.
6881 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6882 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6883 rtld_hidden_data_def instead of INTVARDEF.
6884 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6885 * elf/dl-deps.c (expand_dst): Likewise.
6886 * elf/dl-load.c (_dl_dst_count): Likewise.
6887 (_dl_dst_substitute): Likewise.
6888 (decompose_rpath): Likewise.
6889 (_dl_init_paths): Likewise.
6890 (open_path): Likewise.
6891 (_dl_map_object): Likewise.
6892 * elf/rtld.c (dl_main): Likewise.
6893 (process_dl_audit): Likewise.
6894 (process_envvars): Likewise.
6895 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6896 Remove declaration.
6897 (__libc_enable_secure): Use rtld_hidden_proto.
6898
68992014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6900
6901 * elf/dl-load.c
6902 (add_path): New function broken out of _dl_rtld_di_serinfo.
6903 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6904
69052014-10-09 Joseph Myers <joseph@codesourcery.com>
6906
6907 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6908 parentheses around macro arguments.
6909 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6911 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6912 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6913 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6914 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6915 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6916 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6917 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6918 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6920 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6921 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6922 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6923 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6924 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6925 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6926 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6927 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6929 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6930 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6932 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6933 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6934 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6935 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6936 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6938 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6939 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6940 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6941 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6942 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6943 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6944 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6945 Likewise.
6946 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6947 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6948 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6949 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6950 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6951 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6952 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6953 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6954 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6955 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6956 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6957 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6958 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6959 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6960 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6961 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6962 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6963 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6964 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6965 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6966 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6967 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6968 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6969 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6970 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6971 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6972 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6973 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6974 (_FP_FRAC_SRS_1): Likewise.
6975 (_FP_FRAC_CLZ_1): Likewise.
6976 (_FP_MUL_MEAT_1_imm): Likewise.
6977 (_FP_MUL_MEAT_1_wide): Likewise.
6978 (_FP_MUL_MEAT_1_hard): Likewise.
6979 (_FP_SQRT_MEAT_1): Likewise.
6980 (_FP_FRAC_ASSEMBLE_1): Likewise.
6981 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6982 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6983 (__FP_CLZ_2): Likewise.
6984 (_FP_MUL_MEAT_2_wide): Likewise.
6985 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6986 (_FP_MUL_MEAT_2_gmp): Likewise.
6987 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6988 (_FP_SQRT_MEAT_2): Likewise.
6989 (_FP_FRAC_ASSEMBLE_2): Likewise.
6990 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6991 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6992 (_FP_FRAC_CLZ_4): Likewise.
6993 (_FP_MUL_MEAT_4_wide): Likewise.
6994 (_FP_MUL_MEAT_4_gmp): Likewise.
6995 (_FP_SQRT_MEAT_4): Likewise.
6996 (_FP_FRAC_ASSEMBLE_4): Likewise.
6997 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6998 * soft-fp/op-common.h (_FP_CMP): Likewise.
6999 (_FP_CMP_EQ): Likewise.
7000 (_FP_CMP_UNORD): Likewise.
7001 (_FP_TO_INT): Likewise.
7002 (_FP_FROM_INT): Likewise.
7003 [!__FP_CLZ] (__FP_CLZ): Likewise.
7004 (_FP_DIV_HELP_imm): Likewise.
7005 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7006 Likewise.
7007 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7009 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7010 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7011 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7012 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7013 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7014 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7015 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7016 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7017 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7018 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7019 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7020 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7021 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7022 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7023 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7024 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7025 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7027 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7028 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7029 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7030 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7031 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7032 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7033 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7034 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7035 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7036 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7037 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7038 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7039 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7040 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7041 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7042 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7043 (FP_UNPACK_RAW_SP): Likewise.
7044 (FP_PACK_RAW_S): Likewise.
7045 (FP_PACK_RAW_SP): Likewise.
7046 (FP_UNPACK_S): Likewise.
7047 (FP_UNPACK_SP): Likewise.
7048 (FP_UNPACK_SEMIRAW_S): Likewise.
7049 (FP_UNPACK_SEMIRAW_SP): Likewise.
7050 (FP_PACK_S): Likewise.
7051 (FP_PACK_SP): Likewise.
7052 (FP_PACK_SEMIRAW_S): Likewise.
7053 (FP_PACK_SEMIRAW_SP): Likewise.
7054 (_FP_SQRT_MEAT_S): Likewise.
7055 (FP_CMP_S): Likewise.
7056 (FP_CMP_EQ_S): Likewise.
7057 (FP_CMP_UNORD_S): Likewise.
7058 (FP_TO_INT_S): Likewise.
7059 (FP_FROM_INT_S): Likewise.
7060
7061 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7062
7063 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7064 (FP_EX_INVALID_IMZ): Likewise.
7065 (FP_EX_INVALID_IMZ_FMA): Likewise.
7066 (FP_EX_INVALID_ISI): Likewise.
7067 (FP_EX_INVALID_ZDZ): Likewise.
7068 (FP_EX_INVALID_IDI): Likewise.
7069 (FP_EX_INVALID_SQRT): Likewise.
7070 (FP_EX_INVALID_CVI): Likewise.
7071 (FP_EX_INVALID_VC): Likewise.
7072 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7073 "invalid" exceptions.
7074 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7075 (_FP_ADD_INTERNAL): Likewise.
7076 (_FP_MUL): Likewise.
7077 (_FP_FMA): Likewise.
7078 (_FP_DIV): Likewise.
7079 (_FP_CMP_CHECK_NAN): Likewise.
7080 (_FP_SQRT): Likewise.
7081 (_FP_TO_INT): Likewise.
7082 (FP_EXTEND): Likewise.
7083
70842014-10-09 Allan McRae <allan@archlinux.org>
7085
7086 * po/fr.po: Update French translation from translation project.
7087
70882014-10-09 Joseph Myers <joseph@codesourcery.com>
7089
7090 [BZ #14132]
7091 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7092 of INTDEF.
7093 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7094 (__cxa_atexit): Use libc_hidden_proto.
7095 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7096
7097 [BZ #14132]
7098 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7099 declaration.
7100 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7101 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7102 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7103 [!_ISOMAC] (__iswctype_internal): Likewise.
7104 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7105 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7106 alias.
7107 (fcntl): Remove __fcntl_internal alias.
7108 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7109 __connect_internal alias.
7110 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7111 Likewise.
7112
7113 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7114 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7115 FP_DENORM_ZERO.
7116 (_FP_CHECK_FLUSH_ZERO): New macro.
7117 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7118 (_FP_CMP): Likewise.
7119 (_FP_CMP_EQ): Likewise.
7120 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7121 FP_DENORM_ZERO.
7122 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7123 (FP_TRUNC): Likewise.
7124
7125 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7126 treated as invalid conversion, not as normal exponent.
7127
7128 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7129 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7130 (_FP_CMP_EQ): Likewise.
7131 (_FP_CMP_UNORD): Likewise.
7132 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7133 (FP_CMP_EQ_D): Likewise.
7134 (FP_CMP_UNORD_D): Likewise.
7135 * soft-fp/extended.h (FP_CMP_E): Likewise.
7136 (FP_CMP_EQ_E): Likewise.
7137 (FP_CMP_UNORD_E): Likewise.
7138 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7139 (FP_CMP_EQ_Q): Likewise.
7140 (FP_CMP_UNORD_Q): Likewise.
7141 * soft-fp/single.h (FP_CMP_S): Likewise.
7142 (FP_CMP_EQ_S): Likewise.
7143 (FP_CMP_UNORD_S): Likewise.
7144 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7145 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7146 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7147 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7148 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7149 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7150 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7151 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7152 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7153 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7154 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7155 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7156 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7157 to FP_CMP_Q.
7158 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7159 FP_CMP_Q.
7160 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7161 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7162 FP_CMP_EQ_Q.
7163 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7164 FP_CMP_Q.
7165 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7166 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7167 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7168 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7169 FP_CMP_EQ_Q.
7170 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7171 FP_CMP_Q.
7172 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7173 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7174 FP_CMP_EQ_Q.
7175 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7176 FP_CMP_Q.
7177 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7178 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7179 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7180 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7181 FP_CMP_EQ_Q.
7182
7183 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7184 a subnormal result, set the underflow exception if trapping on
7185 underflow is enabled.
7186 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7187 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7188 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7189 redefine to 0.
7190 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7191 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7192 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7193 * soft-fp/extendxftf2.c (__extendxftf2): Use
7194 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7195
7196 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7197 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7198 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7199 FP_HANDLE_EXCEPTIONS.
7200 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7201 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7202 FP_HANDLE_EXCEPTIONS.
7203 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7204 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7205 FP_HANDLE_EXCEPTIONS.
7206 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7207 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7208 FP_HANDLE_EXCEPTIONS.
7209
72102014-10-08 Joseph Myers <joseph@codesourcery.com>
7211
7212 [BZ #14132]
7213 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7214 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7215 use INTUSE.
7216 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7217 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7218 Remove alias.
7219 (__adjtimex): Define using libc_hidden_ver.
7220 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7221 Remove declaration.
7222 (ntp_gettime): Call __adjtimex directly.
7223 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7224 Remove declaration.
7225 (ntp_gettimex): Call __adjtimex directly.
7226 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7227 __adjtimex_internal alias.
7228
72292014-10-08 Roland McGrath <roland@hack.frob.com>
7230
7231 [BZ #17460]
7232 * nscd/nscd.c (more_help): Rewrite list of tables collection
7233 using xstrdup and asprintf.
7234
7235 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7236
72372014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7238 Roland McGrath <roland@hack.frob.com>
7239
7240 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7241 (do_lookup_unique): ... local function 'enter' here; update callers.
7242
72432014-10-06 Joseph Myers <joseph@codesourcery.com>
7244
7245 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7246 compat_symbol calls on [SHARED].
7247 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7248 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7249 Remove.
7250 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7251 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7252 (oldsetrlimit): Remove.
7253 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7255 (lchown): New syscall entry.
7256 (oldsetrlimit): Remove.
7257 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7259 (oldsetrlimit): Remove.
7260 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7261
7262 [BZ #14138]
7263 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7264 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7265 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7266 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7267 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7268 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7269 (fchown): Likewise.
7270 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7271 (fchown): Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7273 Likewise.
7274
72752014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7276
7277 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7278 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7279 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7280 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7281 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7282 Likewise.
7283 (__old_sem_post): Likewise.
7284
72852014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7286
7287 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7288 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7289 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7290 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7291 Use INLINE_VSYSCALL macro.
7292 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7293 __vdso_clock_gettime.
7294 * sysdeps/unix/sysv/linux/tile/init-first.c
7295 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7296 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7297 __vdso_clock_gettime.
7298
7299 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7300 to set up frame more cleanly.
7301
7302 * sysdeps/tile/memcmp.c: New file.
7303
7304 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7305
7306 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7307 * sysdeps/tile/tilegx/strcasestr.c: New file.
7308 * sysdeps/tile/tilegx/strnlen.c: New file.
7309 * sysdeps/tile/tilegx/strstr.c: New file.
7310
7311 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7312
73132014-10-06 Arjun Shankar <arjun.is@lostca.se>
7314
7315 * nptl/tst-setuid3.c: Write errors to stdout.
7316
73172014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7318
7319 * elf/dl-deps.c
7320 (preload): New functions broken out of _dl_map_object_deps.
7321 (_dl_map_object_deps): Remove a nested function. Update call sites.
7322
73232014-10-01 Joseph Myers <joseph@codesourcery.com>
7324
7325 [BZ #14138]
7326 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7327 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7328
73292014-10-01 Steve Ellcey <sellcey@mips.com>
7330
7331 * sysdeps/mips/strcmp.S: New.
7332
73332014-09-30 Joseph Myers <joseph@codesourcery.com>
7334
7335 [BZ #14138]
7336 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7337 (linkat): Likewise.
7338 (mkdirat): Likewise.
7339 (readlinkat): Likewise.
7340 (renameat): Likewise.
7341 (symlinkat): Likewise.
7342 (unlinkat): Likewise.
7343 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7344 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7345 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7346 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7347 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7348 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7349 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7350
73512014-09-30 Will Newton <will.newton@linaro.org>
7352
7353 * math/math.h: Define long double math functions if
7354 _LIBC_TEST is defined.
7355 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7356
7357 * localedata/Makefile: Move assignment to tests-special
7358 into an ifdef testing run-built-tests.
7359 * timezone/Makefile: Likewise.
7360
73612014-09-29 Joseph Myers <joseph@codesourcery.com>
7362
7363 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7364 with $(BASH) not $(SHELL).
7365
73662014-09-29 Carlos O'Donell <carlos@redhat.com>
7367 Matthew LeGendre <legendre1@llnl.gov>
7368
7369 [BZ #17411]
7370 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7371 l_reloc_result.
7372
73732014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7374
7375 * stdio-common/printf_fp.c
7376 (hack_digit): New function, broken out of ...
7377 (__printf_fp): ... local function here. Update call sites.
7378 hack_digit now takes an additional parameter that is a pointer
7379 to a struct of the referenced locals. Those locals moved inside
7380 the struct and references updated.
7381
73822014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7383
7384 * aclocal.m4: Require autoconf 2.69.
7385 * configure: Regenerated.
7386 * sysdeps/aarch64/configure: Likewise.
7387 * sysdeps/alpha/configure: Likewise.
7388 * sysdeps/arm/armv7/configure: Likewise.
7389 * sysdeps/arm/configure: Likewise.
7390 * sysdeps/ia64/configure: Likewise.
7391 * sysdeps/mach/configure: Likewise.
7392 * sysdeps/mips/configure: Likewise.
7393 * sysdeps/s390/configure: Likewise.
7394 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7396
7397 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7398 file.
7399 * sysdeps/ia64/configure.ac: Likewise.
7400
74012014-09-26 Joseph Myers <joseph@codesourcery.com>
7402
7403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7404 specify symbol version for ld.so. Do not include entry for
7405 libpthread.
7406 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7407 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7408 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7409
7410 [BZ #14171]
7411 * Makeconfig [$(build-shared) = yes]
7412 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7413 makefiles.
7414 [$(build-shared) = yes && $(soversions.mk-done) = t]
7415 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7416 [$(build-shared) = yes && $(soversions.mk-done) = t]
7417 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7418 to Makerules.
7419 [$(build-shared) = yes && $(soversions.mk-done) = t]
7420 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7421 here.
7422 [$(build-shared) = yes && $(soversions.mk-done) = t]
7423 (common-generated): Don't append gnu/lib-names.h and
7424 gnu/lib-names.stmp here.
7425 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7426 (lib-names-h-abi): New variable.
7427 [$(build-shared) = yes && $(soversions.mk-done) = t]
7428 (lib-names-stmp-abi): Likewise.
7429 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7430 abi-variants] (before-compile): Append
7431 $(common-objpfx)$(lib-names-h-abi).
7432 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7433 abi-variants] (common-generated): Append gnu/lib-names.h.
7434 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7435 abi-variants] (install-others-nosubdir): Depend on
7436 $(inst_includedir)/$(lib-names-h-abi).
7437 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7438 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7439 [$(build-shared) = yes && $(soversions.mk-done) = t]
7440 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7441 [$(build-shared) = yes && $(soversions.mk-done) = t]
7442 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7443 [$(build-shared) = yes && $(soversions.mk-done) = t]
7444 (common-generated): Append $(lib-names-h-abi) and
7445 $(lib-names-stmp-abi).
7446 * scripts/lib-names.awk: Do not handle multi being set.
7447 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7448 Remove variable.
7449 (abi-lp64_be-ld-soname): Likewise.
7450 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7451 Likewise.
7452 (abi-hard-ld-soname): Likewise.
7453 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7454 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7455 Remove variable.
7456 (abi-o32_hard-ld-soname): Likewise.
7457 (abi-o32_soft_2008-ld-soname): Likewise.
7458 (abi-o32_hard_2008-ld-soname): Likewise.
7459 (abi-n32_soft-ld-soname): Likewise.
7460 (abi-n32_hard-ld-soname): Likewise.
7461 (abi-n32_soft_2008-ld-soname): Likewise.
7462 (abi-n32_hard_2008-ld-soname): Likewise.
7463 (abi-n64_soft-ld-soname): Likewise.
7464 (abi-n64_hard-ld-soname): Likewise.
7465 (abi-n64_soft_2008-ld-soname): Likewise.
7466 (abi-n64_hard_2008-ld-soname): Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7468 Likewise.
7469 (abi-64-v2-ld-soname): Likewise.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7471 ld.so entries.
7472 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7473 variable.
7474 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7475 entry.
7476 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7477 variable.
7478 (abi-64-ld-soname): Likewise.
7479 (abi-x32-ld-soname): Likewise.
7480 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7481 entry.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7483
74842014-09-23 Joseph Myers <joseph@codesourcery.com>
7485
7486 [BZ #14138]
7487 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7488 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7489 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7490 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7491 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7492 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7493 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7494 syscall entry for GLIBC_2.2 symbol version.
7495 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7496 Likewise.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7498 (setrlimit): Likewise.
7499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7500 Likewise.
7501
75022014-09-23 Will Newton <will.newton@linaro.org>
7503
7504 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7505 _LINUX_ARM_SYSDEP_H include guard too.
7506 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7507 define.
7508
75092014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7510
7511 * sysdeps/unix/sysv/linux/eventfd.c:
7512 Make first argument unsigned.
7513 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7514 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7515
75162014-09-20 Ondřej Bílka <neleai@seznam.cz>
7517
7518 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7519 * socket/sys/socket.h: Likewise
7520 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7521
75222014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7523
7524 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7525
75262014-09-17 Arjun Shankar <arjun.is@lostca.se>
7527
7528 * time/tst-ftime.c: New test.
7529 * time/Makefile (tests): Add tst-ftime.
7530
75312014-09-17 Joseph Myers <joseph@codesourcery.com>
7532
7533 * soft-fp/extended.h: Fix comment formatting.
7534 * soft-fp/op-1.h: Likewise.
7535 * soft-fp/op-2.h: Likewise.
7536 * soft-fp/op-4.h: Likewise.
7537 * soft-fp/op-8.h: Likewise.
7538 * soft-fp/op-common.h: Likewise.
7539 * soft-fp/soft-fp.h: Likewise.
7540
7541 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7542
75432014-09-16 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #6652]
7546 * Makeconfig (soversions-default-setname): Remove variable.
7547 ($(common-objpfx)soversions.i): Don't pass default_setname to
7548 soversions.awk.
7549 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7550 oldest_abi to abi-versions.awk.
7551 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7552 * config.make.in (oldest-abi): Remove variable.
7553 * configure.ac (--enable-oldest-abi): Remove configure option.
7554 * configure: Regenerated.
7555 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7556 text.
7557 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7558 * scripts/soversions.awk: Do not handle default_setname variable.
7559 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7560 variable.
7561 * sysdeps/mach/hurd/configure: Regenerated.
7562 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7563 variable.
7564 * sysdeps/unix/sysv/linux/configure: Regenerated.
7565
75662014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
7568 * elf/Makefile (CFLAGS-interp.c): Remove.
7569 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7570 path string.
7571 * elf/interp.c: Include generated runtime-linker.h
7572
7573 * Makerules (lib%.so): Don't include $(+interp) in
7574 prerequisites.
7575 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7576 * dlfcn/eval.c: Remove file.
7577
7578 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7579 macros.
7580
7581 [BZ #17266]
7582 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7583 4.2 and newer.
7584
7585 [BZ #17370]
7586 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7587
75882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7589 Jakub Jelinek <jakub@redhat.com>
7590
7591 [BZ #17266]
7592 * libio/stdio.h: Check definition of __fortify_function
7593 instead of __extern_always_inline to include bits/stdio2.h.
7594 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7595 check if __extern_always_inline is defined.
7596 [__USE_MISC || __USE_XOPEN]: Likewise.
7597 [__USE_ISOC99] Likewise.
7598 * misc/sys/cdefs.h (__fortify_function): Define only if
7599 __extern_always_inline is defined.
7600 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7601 __extern_always_inline and __extern_inline only for g++-4.3
7602 and newer or a compatible gcc.
7603
76042014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7605
7606 [BZ #17371]
7607 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7608 last change to handle zero prefix length.
7609
76102014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7611
7612 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7613 _SC_REGEX_VERSION.
7614
7615 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7616 _POSIX_RAW_SOCKETS.
7617
76182014-09-13 Allan McRae <allan@archlinux.org>
7619
7620 * po/ru.po: Update Russian translation from translation project.
7621
76222014-09-12 Roland McGrath <roland@hack.frob.com>
7623
7624 * locale/programs/locale.c (show_locale_vars): Inline local function
7625 into its sole call site. Clean up some style nits.
7626 (print_item): New function, broken out of ...
7627 (show_info): ... local function here. Clean up style nits.
7628
7629 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7630 out of ...
7631 (set_class_defaults): ... local function set_default here.
7632 Define set_default as a macro locally to pass constant parameters.
7633 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7634 rather than a shared local.
7635
7636 * stdlib/rpmatch.c (try): New function, broken out of ...
7637 (rpmatch): ... local function here. Also, prototypify definition.
7638
76392014-09-12 Joseph Myers <joseph@codesourcery.com>
7640
7641 * scripts/soversions.awk: Do not handle configuration names.
7642 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7643 vendor and os variables to soversions.awk.
7644 * configure.ac: Do not modify gnu-* host_os.
7645 * configure: Regenerated
7646 * shlib-versions: Remove first column with configuration names.
7647 * nptl/shlib-versions: Likewise.
7648 * nptl_db/shlib-versions: Likewise.
7649 * sysdeps/hppa/shlib-versions: Likewise.
7650 * sysdeps/m68k/shlib-versions: Likewise.
7651 * sysdeps/mach/hurd/shlib-versions: Likewise.
7652 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7653 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7654 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7655 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7656 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7657 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7658 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7659 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7661 Likewise.
7662 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7663 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7664 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7665 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7667 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7668 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7669 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7670
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7672 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7674 Regenerated.
7675 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7677 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7678
7679 * shlib-versions: Remove OS-specific entries. Moved to files in
7680 sysdeps.
7681 * sysdeps/mach/hurd/shlib-versions: New file.
7682 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7683
7684 * nptl/shlib-versions: Remove architecture-specific entries.
7685 Moved to files in sysdeps.
7686 * shlib-versions: Likewise.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7688 file.
7689 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7690 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7691 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7692 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7693
7694 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7695 (UDP_NO_CHECK6_RX): Likewise.
7696
76972014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7698
7699 * sysdeps/posix/sysconf.c (__sysconf): Spell
7700 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7701
77022014-08-12 Florian Weimer <fweimer@redhat.com>
7703
7704 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7705 loading.
7706 * iconv/Versions (__gconv_transliterate): Export for use from
7707 gconv modules.
7708 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7709 (struct __gconv_trans_data, __gconv_trans_fct,
7710 __gconv_trans_context_fct, __gconv_trans_query_fct,
7711 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7712 definitions.
7713 (struct __gconv_step_data): Remove __trans member.
7714 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7715 longer hidden. Remove unused trans_data argument.
7716 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7717 (__gconv_translit_find): Remove declaration.
7718 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7719 prototype.
7720 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7721 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7722 trans_data argument. Add hidden definition.
7723 (__gconv_translit_find): Remove.
7724 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7725 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7726 * iconv/skeleton.c: Remove transliteration initialization.
7727 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7728 __gconv_step_data initialization.
7729 * libio/iofwide.c (__libio_translit_): Remove.
7730 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7731 * wcsmbs/btowc.c (__btowc): Likewise.
7732 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7733 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7734 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7735 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7736 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7737 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7738 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7739 * wcsmbs/wctob.c (wctob): Likewise.
7740
77412014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7742
7743 [BZ #16194]
7744 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7745 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7746 register usage.
7747 * sysdeps/x86/Makefile: Adjust.
7748
77492014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7750 Roland McGrath <roland@hack.frob.com>
7751
7752 * locale/weight.h: Add include guard.
7753 (findidx): Make static rather than auto; take new parameters
7754 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7755 * locale/weightwc.h: Likewise.
7756 * posix/fnmatch_loop.c
7757 (FCT): Change type of EXTRA from int32_t to wint_t.
7758 Don't include either header inside the function.
7759 Call FINDIDX rather than findidx, and pass new arguments.
7760 #undef FINDIDX at the end of the file.
7761 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7762 FINDIDX before including fnmatch_loop.c for the non-wide version.
7763 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7764 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7765 for the wide version.
7766 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7767 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7768 Pass new arguments to findidx.
7769 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7770 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7771 Don't #include it inside the function. Pass new arguments to findidx.
7772 * posix/regex_internal.h
7773 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7774 (re_string_elem_size_at): Don't #include it inside the function.
7775 Pass new arguments to findidx.
7776 * string/strcoll_l.c: #include WEIGHT_H at top level.
7777 (get_next_seq): Don't #include it inside the function.
7778 Pass new arguments to findidx.
7779 (get_next_seq_nocache): Likewise.
7780 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7781 (STRXFRM): Don't #include it inside the function.
7782 Pass new arguments to findidx.
7783
77842014-09-11 Florian Weimer <fweimer@redhat.com>
7785
7786 [BZ #17344]
7787 * malloc/malloc.c (unlink): Turn asserts into a call to
7788 malloc_printerr.
7789
77902014-09-11 Tim Lammens <tim.lammens@gmail.com>
7791
7792 [BZ #17370]
7793 * libio/wfileops (do_ftell_wide): Free OUT.
7794
77952014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7796
7797 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7798
77992014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7800
7801 [BZ #17363]
7802 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7803 group if the current group is empty.
7804
78052014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7806
7807 * benchtests/bench-memset.c (test_main): Add more test from size
7808 from 32 to 512 bytes.
7809 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7810 Add POWER8 memset object.
7811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7812 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7813 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7814 implementation.
7815 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7816 Likewise.
7817 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7818 multiarch POWER8 memset optimization.
7819 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7820 POWER8 memset optimization.
7821
7822 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7823 Remove bzero multiarch objects.
7824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7825 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7826 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7827 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7828 Remove define.
7829 [__bzero]: Redefine to specific name.
7830 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7831 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7832 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7833 define.
7834 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7835 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7836
78372014-09-10 Florian Weimer <fweimer@redhat.com>
7838
7839 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7840 warnings into errors.
7841
7842 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7843 __cxa_thread_atexit_impl prototype.
7844
78452014-09-09 Steve Ellcey <sellcey@mips.com>
7846
7847 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7848 Fix capitalization of error message.
7849
78502014-09-09 Steve Ellcey <sellcey@mips.com>
7851
7852 * sysdeps/mips/preconfigure: Modify ABI tests.
7853
78542014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7855
7856 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7857
78582014-09-07 Roland McGrath <roland@hack.frob.com>
7859 Carlos O'Donell <carlos@systemhalted.org>
7860
7861 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7862 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7863 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7864 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7865 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7866 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7867 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7868 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7869 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7870 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7871 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7872 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7873 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7874 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7875 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7876 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7877 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7878 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7879 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7880 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7881 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7882 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7883 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7884 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7885 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7886 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7887 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7888 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7889 Deconditionalize the code that was previously under [RESET_PID].
7890 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7891 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7892 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7893 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7894 include sysdep.h.
7895
78962014-09-08 Allan McRae <allan@archlinux.org>
7897
7898 * version.h (RELEASE): Set to "development".
7899 (VERSION): Set to "2.20.90"
7900
79012014-09-07 Allan McRae <allan@archlinux.org
7902
7903 * version.h (RELEASE): Set to "stable".
7904 (VERSION): Set to "2.20"
7905 * include/features.h (__GLIBC_MINOR__): Set to 20.
7906
7907 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7908 Liebler.
7909
7910 * po/ko.po: Update Korean translation from translation project.
7911
79122014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7913
7914 [BZ #17354]
7915 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7916 macro for handling signed relocations.
7917
79182014-09-03 Florian Weimer <fweimer@redhat.com>
7919
7920 [BZ #17325]
7921 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7922 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7923 assert.
7924 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7925 * iconvdata/ibm935.c (BODY): Likewise.
7926 * iconvdata/ibm937.c (BODY): Likewise.
7927 * iconvdata/ibm939.c (BODY): Likewise.
7928 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7929 assert.
7930 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7931 script.
7932 * iconvdata/run-iconv-test.sh: New test loop for checking for
7933 decoder crashers.
7934
79352014-09-02 Khem Raj <raj.khem@gmail.com>
7936
7937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7938 libm_hidden_ver.
7939
79402014-09-01 Allan McRae <allan@archlinux.org>
7941
7942 * po/eo.po: Update Esperanto translation from translation project.
7943
7944 * po/ca.po: Update Catalan translation from translation project.
7945
79462014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7947
7948 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7949 __proc_dostop call.
7950
79512014-08-27 Mark Wielaard <mjw@redhat.com>
7952
7953 [BZ #17319]
7954 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7955 to call set_thread_area instead of hand written asm.
7956 (__NR_set_thread_area): Removed define.
7957 (TLS_FLAG_WRITABLE): Likewise.
7958 (__ASSUME_SET_THREAD_AREA): Remove check.
7959 (TLS_EBX_ARG): Remove define.
7960 (TLS_LOAD_EBX): Likewise.
7961
79622014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7963
7964 Simplify atomicity of socket creation in bind.
7965
7966 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7967 looking up the name after linking the file.
7968
79692014-08-27 Allan McRae <allan@archlinux.org>
7970
7971 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7972
79732014-08-26 Florian Weimer <fweimer@redhat.com>
7974
7975 [BZ #17187]
7976 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7977 trans_compare, open_translit, __gconv_translit_find):
7978 Remove module loading code.
7979
79802014-08-26 Allan McRae <allan@archlinux.org>
7981
7982 * po/vi.po: Update Vietnamese translation from translation project.
7983
7984 * po/uk.po: Update Ukrainian translation from translation project.
7985
7986 * po/fr.po: Update French translation from translation project.
7987
7988 * po/ru.po: Update Russian translation from translation project.
7989
7990 * po/pl.po: Update Polish translation from translation project.
7991
7992 * po/cs.po: Update Czech translation from translation project.
7993
7994 * po/de.po: Update German translation from translation project.
7995
7996 * po/bg.po: Update Bulgarian translation from translation project.
7997
7998 * po/sv.po: Update Sweedish translation from translation project.
7999
8000 * po/nl.po: Update Dutch translation from translation project.
8001
8002 * po/es.po: Update Spanish translation from translation project.
8003
80042014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8005
8006 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8007
8008 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8009 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8010 (CPPFLAGS-iconvconfig): Likewise.
8011 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8012
8013 * include/libc-symbols.h: Remove unnecessary check for
8014 NOT_IN_libc.
8015 * nptl/pthreadP.h: Likewise.
8016 * sysdeps/aarch64/setjmp.S: Likewise.
8017 * sysdeps/alpha/setjmp.S: Likewise.
8018 * sysdeps/arm/sysdep.h: Likewise.
8019 * sysdeps/i386/setjmp.S: Likewise.
8020 * sysdeps/m68k/setjmp.c: Likewise.
8021 * sysdeps/posix/getcwd.c: Likewise.
8022 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8024 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8025 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8026 * sysdeps/sh/sh3/setjmp.S: Likewise.
8027 * sysdeps/sh/sh4/setjmp.S: Likewise.
8028 * sysdeps/unix/alpha/sysdep.h: Likewise.
8029 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8030 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8031 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8032 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8037 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8040 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8042 * sysdeps/x86_64/setjmp.S: Likewise.
8043
80442014-08-13 Joseph Myers <joseph@codesourcery.com>
8045
8046 [BZ #17263]
8047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8048 <stdint.h>.
8049 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8050 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8051
80522014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8053
8054 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8055
8056 [BZ #17262]
8057 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8058 and __x86_64__ when disabling x87 inline functions.
8059
80602014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8061
8062 [BZ #17259]
8063 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8064 asm statement with __cpuid_count.
8065
80662014-08-12 Mike Frysinger <vapier@gentoo.org>
8067
8068 * configure.ac: Change __ehdr_start code to dereference the struct.
8069 Run readelf on the output to look for relocations.
8070 * configure: Regenerated.
8071
80722014-08-12 Joseph Myers <joseph@codesourcery.com>
8073
8074 [BZ #17261]
8075 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8076 value to 0.
8077 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8078
80792014-08-12 Roland McGrath <roland@hack.frob.com>
8080
8081 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8082
80832014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8084
8085 [BZ #16892]
8086 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8087 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8088
80892014-08-12 Sean Anderson <seanga2@gmail.com>
8090
8091 * malloc/malloc.c: Fix typo in comment.
8092
80932014-08-09 Allan McRae <allan@archlinux.org>
8094
8095 * Regenerate libc.po.
8096
80972014-08-08 Mike Frysinger <vapier@gentoo.org>
8098
8099 * intl/tst-gettext2.sh: Check every lang file for creation.
8100
81012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8102
8103 * sysdeps/aarch64/fpu/math_private.h
8104 (libc_feholdsetround_noex_aarch64_ctx): New function.
8105
81062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8107
8108 * sysdeps/arm/armv6/strcpy.S (strcpy):
8109 Fix performance issue in misaligned cases.
8110
81112014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8112
8113 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8114 Move definition from termios.h.
8115 (struct termio): Likewise.
8116 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8117 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8118 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8119 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8120 Likewise.
8121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8122 Move definition to ioctl-types.h
8123 (struct termio): Likewise.
8124 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8125 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8126 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8127 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8128 Likewise.
8129
81302014-08-05 Richard Henderson <rth@redhat.com>
8131
8132 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8133 exceptions.
8134 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8135 Add fraiseexcpt.
8136 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8137 Use __feraiseexcept.
8138 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8139 Protect libm symbols with IS_IN_libm.
8140
8141 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8142
81432014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8144
8145 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8146
81472014-08-04 Will Newton <will.newton@linaro.org>
8148
8149 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8150 file.
8151
81522014-08-04 Mike Frysinger <vapier@gentoo.org>
8153
8154 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8155 variants for each function.
8156
81572014-08-04 Roland McGrath <roland@hack.frob.com>
8158
8159 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8160 appended ...
8161 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8162 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8163 appended ...
8164 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8165 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8166 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8167 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8168 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8169 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8170 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8171 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8172 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8173 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8174 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8175 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8176 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8177 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8178 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8179 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8180 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8182 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8184 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8188 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8189 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8190 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8200 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8201 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8202 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8203 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8204 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8206 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8207 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8208 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8209 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8210 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8211 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8212 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8213 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8214 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8215 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8216 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8217 Update #include.
8218 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8219 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8220
82212014-08-04 Roland McGrath <roland@hack.frob.com>
8222
8223 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8224 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8225 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8226 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8227 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8228 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8229
82302014-08-04 Roland McGrath <roland@hack.frob.com>
8231
8232 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8233 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8234 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8235 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8236
82372014-08-04 Roland McGrath <roland@hack.frob.com>
8238
8239 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8240 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8241 (__libc_vfork): Define function under this name.
8242 (__vfork): Define as an alias.
8243 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8244 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8245
82462014-08-04 Roland McGrath <roland@hack.frob.com>
8247
8248 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8249 that was previously under [RESET_PID].
8250 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8251
82522014-08-04 Andreas Schwab <schwab@suse.de>
8253
8254 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8255
82562014-08-03 Mike Frysinger <vapier@gentoo.org>
8257
8258 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8259 (main): Likewise.
8260
82612014-08-01 Roland McGrath <roland@hack.frob.com>
8262
8263 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8264
82652014-08-01 Richard Henderon <rth@redhat.com>
8266
8267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8268 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8269 typo in exact zero test.
8270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8271 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8273
82742014-08-01 Roland McGrath <roland@hack.frob.com>
8275
8276 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8277 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8278 * sysdeps/arm/sysdep.h: ... here.
8279 [!__ASSEMBLER__]: Include <stdint.h>.
8280
82812014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
8283 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8284 (HAVE_WCTYPE_H): Likewise.
8285 (HAVE_ISWCTYPE): Likewise.
8286 (ENABLE_NLS): Likewise.
8287 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8288 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8289
8290 * posix/regex_internal.c: Check if DEBUG is defined and is
8291 set.
8292
8293 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8294 (HAVE_MBSRTOWCS): Likewise.
8295 * posix/fnmatch.c: Include string.h unconditionally.
8296
82972014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8298
8299 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8300 reversal.
8301
83022014-07-31 Roland McGrath <roland@hack.frob.com>
8303
8304 * sysdeps/generic/safe-fatal.h: New file.
8305 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8306 * nptl/forward.c: Include it.
8307 (__pthread_unwind): Use __safe_fatal as default action, rather
8308 than a bogus use of INTERNAL_SYSCALL that could never work.
8309
8310 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8311 * configure.ac (libc_cv_builtin_trap): New test.
8312 * configure: Regenerated.
8313 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8314 (ABORT_INSTRUCTION): Define using __builtin_trap.
8315
8316 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8317 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8318 * sysdeps/nptl/nptl-signals.h: New file.
8319 * nptl/pthreadP.h: Include <nptl-signals.h>.
8320
83212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8322
8323 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8324 (ONE_DIRECTION): Define.
8325 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8326 (ONE_DIRECTION): Define.
8327 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8328 (ONE_DIRECTION): Define.
8329
83302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8331
8332 * sysdeps/s390/Makefile: Delete file.
8333 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8334 * sysdeps/s390/__longjmp.c: Delete file.
8335 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8336 Remove fields __flags and __reserved.
8337 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8338 and add versioning.
8339 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8340 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8341 * sysdeps/s390/rtld-setjmp.S: Likewise.
8342 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8343 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8344 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8345 * sysdeps/s390/s390-32/setjmp.S: ... here.
8346 Add versioning.
8347 (__sigsetjmp): Remove setting __flags field.
8348 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8349 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8350 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8351 * sysdeps/s390/s390-64/setjmp.S: ... here.
8352 Add versioning.
8353 (__sigsetjmp): Remove setting __flags field.
8354 * sysdeps/s390/setjmp.S: Delete file.
8355 * sysdeps/s390/sigjmp.c: Likewise.
8356 * sysdeps/s390/v1-longjmp.c: Likewise.
8357 * sysdeps/s390/v1-setjmp.h: Likewise.
8358 * sysdeps/s390/v1-sigjmp.c: Likewise.
8359 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8360 Remove v1-longjmp_chk.
8361 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8362 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8363 Include debug/longjmp_chk.c and add versioning.
8364 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8365 Include nptl/pt-longjmp.c and add versioning.
8366 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8367 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8368 Include __longjmp.c.
8369 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8370 Move to ...
8371 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8372 (__getcontext): Remove setting __flags field.
8373 Add versioning.
8374 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8375 Don't restore upper high grps.
8376 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8377 Likewise.
8378 (__swapcontext): Remove setting uc_flags field.
8379 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8380 Delete file.
8381 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8382 Include __longjmp.c.
8383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8384 Move to ...
8385 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8386 (__getcontext): Remove setting __flags field.
8387 Add versioning.
8388 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8389 (__swapcontext): Remove setting uc_flags field.
8390 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8391 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8392 Remove fields uc_high_gprs and __reserved.
8393 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8394 New file with reverted content.
8395 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8397 Regenerated.
8398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8399 Regenerated.
8400
84012014-07-31 Andreas Schwab <schwab@suse.de>
8402
8403 * config.h.in (HAVE_IFUNC): Define to 0.
8404 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8405 definedness.
8406
84072014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8408
8409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8410 memmove-avx-unaligned, memcpy-avx-unaligned and
8411 mempcpy-avx-unaligned.
8412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8413 Add tests for AVX memcpy functions.
8414 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8415 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8416 memcpy_chk.
8417 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8418 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8419 memmove_chk.
8420 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8421 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8422 mempcpy_chk.
8423 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8424 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8425 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8426
84272013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428
8429 [BZ #17213]
8430 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8431 powerpc64le.
8432
84332014-07-29 Jeff Layton <jlayton@poochiereds.net>
8434
8435 [BZ #16839]
8436 * manual/llio.texi: Add section about open file description locks.
8437 * manual/examples/ofdlocks.c: Example of open file description
8438 lock usage.
8439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8440 F_OFD_SETLK, and F_OFD_SETLKW.
8441
84422014-07-23 Allan McRae <allan@archlinux.org>
8443
8444 * po/es.po: Update Spanish translation from translation project.
8445
84462014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8447
8448 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8449
84502014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8451
8452 [BZ #17078]
8453 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8454 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8455 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8456
84572014-07-17 Joseph Myers <joseph@codesourcery.com>
8458
8459 [BZ #17088]
8460 * math/fesetenv.c (__fesetenv)
8461 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8462 * math/feupdateenv.c (__feupdateenv)
8463 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8464
8465 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8466 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8467 (__ASSUME_SOCKETCALL): Do not define.
8468
8469 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8470 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8471 (__ASSUME_SOCKETCALL): Do not define.
8472 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8473 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8474 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8475 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8476 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8477 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8478 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8479 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8480
8481 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8482 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8483 (__ASSUME_SOCKETCALL): Do not define.
8484 (__ASSUME_IPC64): Define unconditionally.
8485 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8486 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8487 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8488 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8489 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8490 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8491 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8492 Likewise.
8493
8494 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8495 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8496 (__ASSUME_SOCKETCALL): Do not define.
8497 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8498 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8499 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8500 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8501 (__ASSUME_REQUEUE_PI): Define unconditionally.
8502 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8503 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8504 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8505 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8506 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8507 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8508
8509 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8510 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8511 (__ASSUME_SOCKETCALL): Do not define.
8512 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8513 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8514 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8515 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8516 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8517 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8518
8519 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8520 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8521 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8522 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8523 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8524 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8526 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8527 (__ASSUME_GETCPU_SYSCALL): Likewise.
8528
8529 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8530 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8531 cases for individual architectures.
8532 * sysdeps/gnu/configure: Regenerated.
8533 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8534 LIBC_SLIBDIR_RTLDDIR.
8535 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8536 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8537 LIBC_SLIBDIR_RTLDDIR.
8538 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8540 LIBC_SLIBDIR_RTLDDIR.
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8542 Regenerated.
8543 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8544 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8545 file.
8546 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8547 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8548 file.
8549 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8550 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8552 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8553
8554 * sysdeps/aarch64/shlib-versions: Move to ...
8555 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8556 * sysdeps/alpha/shlib-versions: Move to ...
8557 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8558 * sysdeps/arm/shlib-versions: Move to ...
8559 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8560 * sysdeps/hppa/shlib-versions: Move all contents except for
8561 libgcc_s entry to ...
8562 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8563 entry from ...
8564 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8565 * sysdeps/ia64/shlib-versions: Move to ...
8566 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8567 entry from ...
8568 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8569 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8570 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8571 * sysdeps/microblaze/shlib-versions: Move to ...
8572 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8573 * sysdeps/mips/shlib-versions: Move to ...
8574 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8575 entry from ...
8576 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8577 * sysdeps/tile/shlib-versions: Move to ...
8578 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8579 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8580 from ...
8581 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8582 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8583 entry from ...
8584 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8585
85862014-07-17 Will Newton <will.newton@linaro.org>
8587
8588 * sysdeps/arm/bits/atomic.h
8589 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8590 (__arch_compare_and_exchange_bool_16_int): Likewise.
8591 (__arch_compare_and_exchange_bool_64_int): Likewise.
8592
8593 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8594 into an #else block.
8595
85962014-07-16 Roland McGrath <roland@hack.frob.com>
8597
8598 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8599 just Linux configurations. Test empirically that the compiler sets
8600 __ARM_EABI__, rather than using the tuple to decide.
8601 * sysdeps/arm/preconfigure: Regenerated.
8602 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8603 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8604 contents appended ...
8605 * sysdeps/arm/configure.ac: ... here.
8606 * sysdeps/arm/configure: Regenerated.
8607
86082014-07-15 Roland McGrath <roland@hack.frob.com>
8609
8610 * nptl/pthread_kill.c: New file.
8611 * nptl/pthread_sigmask.c: New file.
8612 * nptl/pthread_sigqueue.c: New file.
8613
8614 * sysdeps/nptl/lowlevellock.h: New file.
8615 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8616 * sysdeps/nptl/lowlevellock-futex.h: New file.
8617
8618 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8619 Remove dead declarations.
8620
86212014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8624 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8625 config-cflags-avx2.
8626 * sysdeps/x86_64/configure.ac: Likewise.
8627 * sysdeps/i386/configure: Regenerated.
8628 * sysdeps/x86_64/configure: Likewise.
8629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8630 memset-avx2 only if config-cflags-avx2 is yes.
8631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8632 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8633 defined.
8634 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8635 only if HAVE_AVX2_SUPPORT is defined.
8636 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8637
86382014-07-14 Alan Modra <amodra@gmail.com>
8639
8640 [BZ #17153]
8641 * elf/elf.h (DT_PPC64_NUM): Correct value.
8642 * NEWS: Add to fixed bug list.
8643
86442014-07-13 Jim Meyering <meyering@fb.com>
8645
8646 [BZ 17150]
8647 regex: don't deref NULL upon heap allocation failure
8648 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8649 failure in one more place.
8650 To trigger the segfault, configure grep -with-included-regex,
8651 build it, and run these commands:
8652 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8653
86542014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8655
8656 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8657
86582014-07-11 Richard Henderson <rth@redhat.com>
8659
8660 * sysdeps/aarch64/libm-test-ulps: Update.
8661
86622014-07-10 Florian Weimer <fweimer@redhat.com>
8663
8664 [BZ #17135]
8665 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8666 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8667 (__nptl_setxid): Initialize error member. Call
8668 __nptl_setxid_error.
8669 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8670 * nptl/descr.h (struct xid_command): Add error member.
8671 * nptl/tst-setuid3.c: New file.
8672 * nptl/Makefile (tests): Add it.
8673
86742014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8675
8676 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8677 New define.
8678 (__lll_trylock): Use __lll_base_trylock.
8679 (__lll_cond_trylock): Likewise.
8680
86812014-07-10 Roland McGrath <roland@hack.frob.com>
8682
8683 * nptl/pthread_create.c (start_thread): Use atomic_or and
8684 lll_futex_wake directly rather than lll_robust_dead.
8685 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8686 (lll_robust_dead): Macro removed.
8687 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8688 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8689 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8690 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8691 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8692 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8693 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8694 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8695 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8697 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8698 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8699 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8700 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8702
8703 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8704 Use atomic_compare_and_exchange_val_acq directly rather than
8705 lll_robust_trylock.
8706 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8707 (__lll_robust_trylock, lll_robust_trylock): Removed.
8708 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8709 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8710 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8711 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8712 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8713 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8714 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8715 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8716 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8717 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8718 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8720 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8722
87232014-07-02 Florian Weimer <fweimer@redhat.com>
8724
8725 * manual/locale.texi (Locale Names): New section documenting
8726 locale name syntax. Adjust menu and node chaining accordingly.
8727 (Choosing Locale): Reference Locale Names, Locale Categories.
8728 Mention setting LC_ALL=C. Reflect that name syntax is now
8729 documented.
8730 (Locale Categories): New section title. Reference Locale Names.
8731 LC_ALL is an environment variable, but not a category.
8732 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8733 description, now in Locale Name. Reference that section. Locale
8734 name syntax is now documented.
8735
87362014-07-02 Florian Weimer <fweimer@redhat.com>
8737
8738 [BZ #17137]
8739 * locale/findlocale.c (name_present, valid_locale_name): New
8740 functions.
8741 (_nl_find_locale): Use the loc_name variable to store name
8742 candidates. Call name_present and valid_locale_name to check and
8743 validate locale names. Return an error if the locale is invalid.
8744
87452014-07-02 Florian Weimer <fweimer@redhat.com>
8746
8747 * locale/setlocale.c (setlocale): Use strdup for allocating
8748 composite name copy.
8749
87502014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8751
8752 Sync up with gnulib.
8753 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8754 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8755 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8756 and _GL_ARG_NONNULL.
8757 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8758 [!_LIBC]: Include code for Windows and Cygwin.
8759 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8760 Include prototype for int strerror_r.
8761 [!_LIBC] (is_open): New function.
8762 (flush_stdout): New function.
8763 (print_errno_message): Use it.
8764 (error): Likewise.
8765 (error_at_line): Likewise.
8766 (error_tail) Add function attribute macros. Use
8767 __builtin_expect.
8768
8769 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8770
8771 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8772
8773 * io/ftw.c: Include sys/param.h unconditionally.
8774
8775 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8776
8777 [BZ #17125]
8778 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8779 libc_freeres_ptr.
8780 (freecache): New function to free CACHE on exit.
8781
8782 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8783 initialization.
8784
87852014-07-09 David S. Miller <davem@davemloft.net>
8786
8787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8788
8789 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8790 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8791 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8792 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8793 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8794 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8795 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8796 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8797 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8798 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8799 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8800 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8801 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8802
88032014-07-09 Andreas Schwab <schwab@suse.de>
8804
8805 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8806 output.
8807 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8808 (do_test): Likewise.
8809
8810 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8811
88122014-07-09 Will Newton <will.newton@linaro.org>
8813
8814 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8815 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8816 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8817 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8818 * sysdeps/hppa/start.S (_start): Likewise.
8819
88202014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8821
8822 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8823
8824 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8825 defined.
8826
88272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
8829 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8830 after checking that it is non-NULL.
8831
8832 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8833
88342014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8835
8836 * sysdeps/powerpc/memmove.c: Remove file.
8837 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8838 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8840 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8841 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8842 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8843 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8844 string memmove instead of removed powerpc one.
8845
8846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8847 [weak_alias]: Fix compiler warning due trailing data.
8848 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8849 [weak_alias]: Likewise.
8850 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8851 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8852
8853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8854 (__libc_ifunc_impl_list): Add memmove functions.
8855
88562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
8858 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8859 Remove code.
8860 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8861 Likewise
8862 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8863 Likewise
8864 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8865 Likewise
8866 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8867 Likewise
8868 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8869 Likewise
8870 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8871 Likewise
8872 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8873 Likewise
8874 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8875 Likewise
8876 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8877 Likewise
8878 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8879 Likewise
8880 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8881 Likewise
8882 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8883 Likewise
8884 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8885 Likewise
8886 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8887 Likewise
8888 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8889 Likewise
8890 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8891 Likewise
8892
88932014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8894
8895 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8896 to avoid alignment traps in non-cacheable memory.
8897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8898
8899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8900 multiarch objects.
8901 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8902 file: multiarch power7 memmove.
8903 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8904 multiarch default memmove.
8905 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8906 multiarch memove for powerpc32/power4.
8907
8908 * string/bcopy.c: Use full path to include memmove.c.
8909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8910 multiarch objects.
8911 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8912 bcopy for powerpc64.
8913 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8914 bcopy for powerpc64.
8915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8916 and memmove implementations.
8917 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8918 optimized multiarch memmove for POWER7/powerpc64.
8919 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8920 default multiarch memmove for powerpc64.
8921 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8922 multiarch for powerpc64.
8923 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8924 for POWER7/powerpc64.
8925 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8926 memmove for POWER7/powerpc64.
8927
8928 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8929 glibc default one.
8930
8931 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8932 __ELF_NATIVE_CLASS equal to 64.
8933
89342014-07-07 Roland McGrath <roland@hack.frob.com>
8935
8936 * sysdeps/nptl/lowlevellock.h: File removed.
8937
8938 * NEWS: NPTL is no longer an add-on!
8939 * nptl/internaltypes.h: Moved ...
8940 * sysdeps/nptl/internaltypes.h: ... here.
8941 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8942 * sysdeps/nptl/fork.c: Likewise.
8943 * sysdeps/nptl/gai_misc.h: Likewise.
8944 * sysdeps/nptl/librt-cancellation.c: Likewise.
8945 * sysdeps/nptl/jmp-unwind.c: Likewise.
8946 * sysdeps/nptl/setxid.h: Likewise.
8947 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8948 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8949 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8950 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8951 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8952 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8953 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8954 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8955 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8956 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8957 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8958 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8959 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8960 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8961 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8962 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8963 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8964 * nptl/Makeconfig: Moved ...
8965 * sysdeps/nptl/Makeconfig: ... here.
8966 * nptl/configure: File removed.
8967 * nptl/ANNOUNCE: File removed.
8968 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8969 * sysdeps/unix/sysv/linux/configure: Regenerated.
8970
8971 * nptl/Makefile (routines): Add libc_pthread_init,
8972 libc_multiple_threads, register-atfork and unregister-atfork.
8973 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8974 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8975 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8976 pthread-pi-defines.sym, structsem.sym.
8977 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8978 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8979 [$(subdir) = nptl] (tests): Add tst-setgetname.
8980 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8981 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8982 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8983 [!LIBC_SIGACTION]: Remove aliases.
8984 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8985 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8986 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8987 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8988 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8989 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8991 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8993 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8994 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8995 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8996 __libc_allocate_rtsig_private.
8997 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8998 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8999 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9000 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9001 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9002 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9003 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9004 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9005 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9006 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9007 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9008 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9009 * nptl/internaltypes.h: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9011 * sysdeps/nptl/jmp-unwind.c: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9013 * nptl/libc-lowlevellock.c: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9015 * nptl/libc_multiple_threads.c: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9017 * nptl/libc_pthread_init.c: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9019 * nptl/lowlevelbarrier.sym: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9021 * nptl/lowlevelcond.sym: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9023 * nptl/lowlevellock.c: ... here.
9024 * nptl/lowlevellock.h: Moved ...
9025 * sysdeps/nptl/lowlevellock.h: ... here.
9026 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9027 * nptl/lowlevelrobustlock.c: ... here.
9028 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9029 * nptl/lowlevelrobustlock.sym: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9031 * nptl/lowlevelrwlock.sym: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9033 * nptl/pt-fork.c: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9035 * nptl/pthread-pi-defines.sym: ... here.
9036 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9037 * nptl/pthread_attr_getaffinity.c: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9039 * nptl/pthread_attr_setaffinity.c: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9041 * nptl/pthread_mutex_cond_lock.c: ... here.
9042 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9043 Update #include.
9044 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9045 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9046 * nptl/pthread_once.c: ... here, replacing old file.
9047 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9048 * nptl/pthread_yield.c: ... here.
9049 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9050 * nptl/register-atfork.c: ... here.
9051 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9052 * nptl/sem_post.c: ... here.
9053 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9054 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9055 * nptl/sem_timedwait.c: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9057 * nptl/sem_trywait.c: ... here.
9058 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9059 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9060 * nptl/sem_wait.c: ... here.
9061 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9062 * nptl/structsem.sym: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9064 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9065 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9066 * nptl/unregister-atfork.c: ... here.
9067 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9068 * nptl/unwindbuf.sym: ... here.
9069 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9070 * sysdeps/nptl/fork.c: ... here.
9071 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9072 * sysdeps/nptl/fork.h: ... here.
9073 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9074 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9075 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9076 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9077 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9078 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9079 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9080 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9081 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9082 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9083 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9084 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9085 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9086 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9087 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9088 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9089 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9090 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9091 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9092 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9093 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9094 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9095 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9096 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9097 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9098 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9099 * sysdeps/unix/sysv/linux/raise.c: ... here.
9100 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9101 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9102 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9103 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9104 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9105 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9106 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9107 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9108 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9109 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9110 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9111 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9112 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9113 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9114 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9115
91162014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
9118 * sysdeps/generic/memcopy.h: Add comment for
9119 MEMCPY_OK_FOR_FWD_MEMMOVE.
9120
91212014-07-04 Will Newton <will.newton@linaro.org>
9122
9123 * string/memchr.c: Merge from gnulib.
9124 [_LIBC]: Remove conditionals.
9125 (__ptr_t): Remove define.
9126 (LONG_MAX_32_BITS): Likewise.
9127 (LONG_MAX): Likewise.
9128 (MEMCHR): Use ANSI prototype and optimize algorithm.
9129
9130 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9131
91322014-07-03 Roland McGrath <roland@hack.frob.com>
9133
9134 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9135 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9136
9137 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9138 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9139 in a bare environment with no <stdlib.h> installed.
9140 * sysdeps/nptl/configure: Regenerated.
9141
9142 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9143
9144 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9145 AC_EGREP_CPP for kernel header checks, so they only succeed if
9146 including <linux/version.h> actually works right.
9147 * sysdeps/unix/sysv/linux/configure: Regenerated.
9148
9149 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9150 value so it's not diagnosed as unused.
9151
9152 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9153 thing) with "ifeq ($(subdir),rt)".
9154
91552014-07-03 Richard Henderson <rth@redhat.com>
9156
9157 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9158 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9159 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9160
9161 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9162 (math_force_eval): New.
9163
9164 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9165 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9166
9167 * sysdeps/alpha/fpu/s_round.c: Remove file.
9168 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9169
9170 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9171 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9172 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9173 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9174 (_dl_start, print_statistics): Likewise.
9175 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9176 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9177
9178 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9179 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9180 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9181 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9182 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9183 (HP_SMALL_TIMING_AVAIL): Define.
9184 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9185 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9186 (HP_SMALL_TIMING_AVAIL): Define.
9187 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9188 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9189
9190 * sysdeps/aarch64/hp-timing.h: New file.
9191
9192 * sysdeps/generic/hp-timing.h: Remove dead comment.
9193 * sysdeps/generic/hp-timing-common.h: New file.
9194 * sysdeps/alpha/hp-timing.h: Include it.
9195 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9196 * sysdeps/i386/i686/hp-timing.h: Likewise.
9197 * sysdeps/ia64/hp-timing.h: Likewise.
9198 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9199 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9201 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9202 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9203 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9204 (hp_timing_t): New.
9205
9206 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9207 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9208 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9209 * elf/rtld.c (_dl_start_final): Likewise.
9210 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9211 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9212 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9213 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9214 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9216 (HP_TIMING_DIFF_INIT): Remove.
9217 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9218 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9219 (HP_TIMING_DIFF_INIT): Remove.
9220 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9221 * sysdeps/i386/i686/hp-timing.c: Remove file.
9222 * sysdeps/x86_64/hp-timing.c: Remove file.
9223 * sysdeps/ia64/hp-timing.c: Remove file.
9224 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9225 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9227 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9228
9229 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9230 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9231 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9232 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9233 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9234 (HP_TIMING_ACCUM): Remove.
9235 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9236 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9237 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9238
9239 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9240 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9241 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9242 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9243 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9244 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9246 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9247
9248 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9249
92502014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9251
9252 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9253
92542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9255
9256 Sync up with gettext.
9257 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9258 [_MSC_VER]: Include malloc.h
9259 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9260 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9261 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9262 TEMP_FAILURE_RETRY. Cast return of alloca.
9263 [!_LIBC] Call gl_rwlock_init.
9264 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9265
92662014-07-02 Roland McGrath <roland@hack.frob.com>
9267
9268 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9269 before checking its value.
9270
92712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9272
9273 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9274
9275 * debug/memcpy_chk.c: Don't include pagecopy.h.
9276 * debug/mempcpy_chk.c: Likewise.
9277 * string/memcpy.c: Likewise.
9278 * string/memmove.c: Likewise.
9279 * sysdeps/powerpc/memmove.c: Likewise.
9280 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9281 definition of PAGE_COPY_FWD_MAYBE here...
9282 * sysdeps/generic/pagecopy.h: ... from here.
9283 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9284
92852014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9286 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9287
9288 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9290 optimizations.
9291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9292 (__libc_ifunc_impl_list): Likewise.
9293 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9294 multiarch strcat for PPC64.
9295 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9296 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9297
92982014-07-02 Roland McGrath <roland@hack.frob.com>
9299
9300 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9301
93022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9303
9304 * intl/loadmsgcat.c: Remove declaration of
9305 get_sysdep_segment_value.
9306 (get_sysdep_segment_value): Use ISO C style.
9307 (_nl_load_domain): Use ISO C style. Get rid of redundant
9308 semicolon. Fix typo and formatting in comment.
9309 (_nl_unload_domain): Use ISO C style.
9310
9311 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9312
93132014-07-02 Will Newton <will.newton@linaro.org>
9314
9315 * malloc/obstack.c: Merge from gnulib master.
9316 [HAVE_CONFIG_H]: Remove conditional code.
9317 [!_LIBC]: Include config.h.
9318 [!ELIDE_CODE]: Don't include inttypes.h, include
9319 stdint.h unconditionally.
9320 (print_and_abort): Mark as _Noreturn.
9321 (_obstack_allocated_p): Mark as __attribute_pure__.
9322 (obstack_free): Rename to __obstack_free.
9323 [!__attribute__]: Remove conditional code.
9324 * malloc/obstack.h: Merge from gnulib master.
9325 [__cplusplus]: Move conditional down.
9326 [!__attribute_pure__]: Define __attribute_pure__ here
9327 if it is not already defined.
9328 (_obstack_memory_used): Mark as __attribute_pure__.
9329 [!__obstack_free]: Define as obstack_free.
9330 [__GNUC__]: Remove check for ancient NeXT gcc.
9331
93322014-07-02 Will Newton <will.newton@linaro.org>
9333 Paul Eggert <eggert@cs.ucla.edu>
9334
9335 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9336
93372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9338
9339 * resolv/gethnamaddr.c: Add comment warning that the file is
9340 not maintained.
9341
93422014-07-01 Carlos O'Donell <carlos@redhat.com>
9343
9344 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9345 entries.
9346
9347 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9348 entry for aio_cancel and aio_cancel64.
9349 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9350 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9351 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9352 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9353 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9354 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9355 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9356 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9357 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9358 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9359 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9360 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9361 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9362
93632014-07-01 Roland McGrath <roland@hack.frob.com>
9364
9365 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9366 * nptl/pthread_mutex_lock.c: Likewise.
9367 * nptl/pthread_mutex_timedlock.c: Likewise.
9368 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9369
93702014-07-01 Richard henderson <rth@redhat.com>
9371
9372 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9373 (__isnan, __isnanl): Remove.
9374 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9375
9376 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9377
93782014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9379
9380 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9381
93822014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9383
9384 * resolv/nss_dns/dns-host.c (getanswer_r)
9385 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9386
93872014-07-01 Joseph Myers <joseph@codesourcery.com>
9388
9389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9390 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9391 undefine.
9392 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9393 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9394
93952014-07-01 Roland McGrath <roland@hack.frob.com>
9396
9397 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9398 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9399
9400 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9401 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9402
9403 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9404 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9405 ... here.
9406 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9407 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9408
9409 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9410 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9411 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9412 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9413
9414 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9415 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9416 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9417 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9418 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9419 Moved ...
9420 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9421 ... here.
9422 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9423 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9424 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9425 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9426 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9427 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9431 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9433 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9434 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9435 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9442 ... here.
9443 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9444 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9445 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9446 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9447 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9448 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9449 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9450 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9451
94522014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9453
9454 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9455 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9456 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9457 Add sysdep.
9458
94592014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9460
9461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9462
94632014-06-30 Joseph Myers <joseph@codesourcery.com>
9464
9465 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9466 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9467
9468 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9469
9470 * sysdeps/arm/libm-test-ulps: Regenerated.
9471
94722014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9473 Roland McGrath <roland@hack.frob.com>
9474
9475 * test-skeleton.c (signal_handler): Kill the whole process group
9476 before killing the child individually.
9477 (main): Report any failure on `setpgid'.
9478
94792014-06-30 Roland McGrath <roland@hack.frob.com>
9480
9481 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9482 from _TLS_H to _ARM_NPTL_TLS_H.
9483 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9484 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9485
94862014-06-30 Joseph Myers <joseph@codesourcery.com>
9487
9488 [BZ #16539]
9489 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9490 (__expm1l): Return argument unchanged when small but not
9491 subnormal.
9492
9493 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9494 include macro name.
9495 (_FP_UNPACK_RAW_1_P): Likewise.
9496 (_FP_PACK_RAW_1): Likewise.
9497 (_FP_PACK_RAW_1_P): Likewise.
9498 (_FP_MUL_MEAT_1_wide): Likewise.
9499 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9500 (_FP_MUL_MEAT_1_hard): Likewise.
9501 (_FP_DIV_MEAT_1_imm): Likewise.
9502 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9503 (_FP_DIV_MEAT_1_udiv): Likewise.
9504 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9505 (_FP_UNPACK_RAW_2): Likewise.
9506 (_FP_UNPACK_RAW_2_P): Likewise.
9507 (_FP_PACK_RAW_2): Likewise.
9508 (_FP_PACK_RAW_2_P): Likewise.
9509 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9510 (_FP_MUL_MEAT_2_wide): Likewise.
9511 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9512 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9513 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9514 (_FP_MUL_MEAT_2_gmp): Likewise.
9515 (_FP_DIV_MEAT_2_udiv): Likewise.
9516 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9517 (_FP_FRAC_SRL_4): Likewise.
9518 (_FP_FRAC_SRST_4): Likewise.
9519 (_FP_FRAC_SRS_4): Likewise.
9520 (_FP_UNPACK_RAW_4): Likewise.
9521 (_FP_UNPACK_RAW_4_P): Likewise.
9522 (_FP_PACK_RAW_4): Likewise.
9523 (_FP_PACK_RAW_4_P): Likewise.
9524 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9525 (_FP_MUL_MEAT_4_wide): Likewise.
9526 (_FP_MUL_MEAT_4_gmp): Likewise.
9527 (umul_ppppmnnn): Likewise.
9528 (_FP_DIV_MEAT_4_udiv): Likewise.
9529 (__FP_FRAC_ADD_4): Likewise.
9530 (__FP_FRAC_SUB_3): Likewise.
9531 (__FP_FRAC_SUB_4): Likewise.
9532 (__FP_FRAC_DEC_3): Likewise.
9533 (__FP_FRAC_DEC_4): Likewise.
9534 (__FP_FRAC_ADDI_4): Likewise.
9535 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9536 (_FP_FRAC_SRL_8): Likewise.
9537 (_FP_FRAC_SRS_8): Likewise.
9538
9539 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9540 include macro name.
9541 (FP_UNPACK_RAW_EP): Likewise.
9542 (FP_PACK_RAW_E): Likewise.
9543 (FP_PACK_RAW_EP): Likewise.
9544 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9545 (_FP_ISSIGNAN): Likewise.
9546 (_FP_ADD_INTERNAL): Likewise.
9547 (_FP_FMA): Likewise.
9548 (_FP_CMP): Likewise.
9549 (_FP_SQRT): Likewise.
9550 (_FP_TO_INT): Likewise.
9551 (_FP_FROM_INT): Likewise.
9552 (FP_EXTEND): Likewise.
9553 (_FP_DIV_MEAT_N_loop): Likewise.
9554
95552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9556
9557 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9558 throughout.
9559
95602014-06-29 Joseph Myers <joseph@codesourcery.com>
9561
9562 [BZ #17097]
9563 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9564 result with correct sign in case of exponents that produce
9565 overflow except for X very close to 1.
9566
95672014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9568
9569 mktime: merge #if/#ifdef usage from glibc
9570 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9571 as that works with both Glibc's and Gnulib's style.
9572 See thread starting at Siddhesh Poyarekar's bug report at:
9573 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9574
95752014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9576
9577 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9578 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9579 * sysdeps/tile/tilegx/memmove.c: Remove file.
9580
95812014-06-27 Joseph Myers <joseph@codesourcery.com>
9582
9583 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9584 abi-name definition.
9585 * scripts/soversions.awk: Do not handle or generate ABI lines.
9586 * shlib-versions: Remove ABI entries.
9587 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9588 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9589
95902014-06-27 Roland McGrath <roland@hack.frob.com>
9591
9592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9593 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9595 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9596 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9597 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9599 Moved ...
9600 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9601 ... here.
9602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9613 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9615 Moved ...
9616 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9618 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9620 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9622 Moved ...
9623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9625 Moved ...
9626 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9630 Moved ...
9631 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9635 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9639 Moved ...
9640 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9642 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9644 Moved ...
9645 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9647 Moved ...
9648 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9649 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9650 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9651 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9652 Moved ...
9653 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9654 ... here.
9655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9656 Identical file removed.
9657 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9658 Moved ...
9659 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9660 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9661 Identical file removed.
9662 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9663 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9668 Identical file removed.
9669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9672 Identical file removed.
9673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9676 Identical file removed.
9677 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9678 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9680 Identical file removed.
9681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9682 Moved ...
9683 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9684 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9685 Identical file removed.
9686 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9687 Moved ...
9688 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9690 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9692 Identical file removed.
9693 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9696 ... here.
9697 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9698 Identical file removed.
9699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9700 Moved ...
9701 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9703 Identical file removed.
9704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9707 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9708 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9710 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9711 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9712 Moved ...
9713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9715 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9716
9717 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9718 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9719 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9720 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9721 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9722
97232014-06-27 Arjun Shankar <arjun.is@lostca.se>
9724
9725 [BZ #17092]
9726 * nscd/nscd.c (monitor_child): Return exit status of child
9727 instead of return value from wait syscall.
9728
97292014-06-27 Joseph Myers <joseph@codesourcery.com>
9730
9731 * configure.ac (libc_commonpagesize): Remove variable.
9732 (libc_relro_required): Likewise.
9733 (libc_cv_z_relro): Remove configure test.
9734 * configure: Regenerated.
9735 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9736 variable.
9737 (libc_relro_required): Likewise.
9738 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9739 (libc_relro_required): Likewise.
9740 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9741 (libc_relro_required): Likewise.
9742 * sysdeps/arm/preconfigure: Regenerated.
9743 * sysdeps/ia64/preconfigure: Remove file.
9744 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9745 variable.
9746 (libc_relro_required): Likewise.
9747
9748 [BZ #16561]
9749 [BZ #16562]
9750 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9751 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9752 recompute overflowing results in original rounding mode.
9753 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9754 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9755 recompute overflowing results in original rounding mode.
9756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9757 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9758 recompute overflowing results in original rounding mode.
9759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9760 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9761 recompute overflowing results in original rounding mode.
9762 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9763 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9764 recompute overflowing results in original rounding mode.
9765 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9766 (libc_feholdsetround_ctx): New macro.
9767 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9768 * sysdeps/i386/fpu/libm-test-ulps: Update.
9769 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9770
97712014-06-26 Joseph Myers <joseph@codesourcery.com>
9772
9773 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9774 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9775 corresponding .cpsetup call.
9776
97772014-06-26 Roland McGrath <roland@hack.frob.com>
9778
9779 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9780 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9781 * sysdeps/arm/Makefile [$(subdir) = csu]
9782 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9783 (static-only-routines): Add aeabi_read_tp here.
9784 (shared-only-routines): Add libc-aeabi_read_tp here.
9785 (CFLAGS-libc-start.c): Add -fexceptions here.
9786 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9787 (sysdep_routines, static-only-routines, shared-only-routines):
9788 Don't add to these here.
9789 (CFLAGS-libc-start.c): Likewise.
9790
9791 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9792 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9793 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9794 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9795 * sysdeps/arm/Makefile [$(subdir) = rt]
9796 (librt-sysdep_routines, librt-shared-only-routines):
9797 Append rt-aeabi_unwind_cpp_pr1 here.
9798 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9799 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9800 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9801 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9802 Append nptl-aeabi_unwind_cpp_pr1 here.
9803 (tests): Filter out tst-cleanupx4 here.
9804 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9805 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9806 Don't do those here.
9807
98082014-06-26 Joseph Myers <joseph@codesourcery.com>
9809
9810 * scripts/list-sources.sh: Do not handle ports specially.
9811
98122014-06-26 Roland McGrath <roland@hack.frob.com>
9813
9814 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9815 * sysdeps/arm/feupdateenv.c: Likewise.
9816
9817 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9818
98192014-06-26 Joseph Myers <joseph@codesourcery.com>
9820
9821 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9822 trailing whitespace removed.
9823 * scripts/config.guess: Update to version 2014-03-23.
9824 * scripts/config.sub: Update to version 2014-05-01
9825 * scripts/install-sh: Update to version 2013-12-25.23.
9826 * scripts/move-if-change: Update from gnulib.
9827
98282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
9830 * debug/memmove_chk.c: Remove pagecopy.h include.
9831
98322014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9833
9834 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9835 identical to gnulib mktime.
9836
98372014-06-26 Joseph Myers <joseph@codesourcery.com>
9838
9839 * configure.ac: Do not test for machine being rs6000. Do not test
9840 for powerpc*-*soft.
9841 * configure: Regenerated.
9842
9843 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9844 test.
9845 * configure: Regenerated.
9846 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9847 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9848 Remove configure test.
9849 * sysdeps/arm/configure: Regenerated.
9850 * sysdeps/nptl/configure.ac: Do not check
9851 libc_cv_asm_cfi_directives.
9852 * sysdeps/nptl/configure: Regenerated.
9853 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9854 * sysdeps/x86_64/nptl/configure: Remove generated file.
9855 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9856 unconditional.
9857 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9858
98592014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9860
9861 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9862 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9863 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9864 it is defined.
9865
9866 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9867 instead of whether it is defined.
9868 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9869 * sysdeps/hppa/dl-machine.h: Likewise.
9870 * sysdeps/ia64/dl-machine.h: Likewise.
9871 * sysdeps/m68k/dl-machine.h: Likewise.
9872 * sysdeps/microblaze/dl-machine.h: Likewise.
9873 * sysdeps/mips/dl-machine.: Likewise.
9874 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9875 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9876 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9877 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9878 * sysdeps/sh/dl-machine.h: Likewise.
9879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9881 * sysdeps/tile/dl-machine.h: Likewise.
9882 * sysdeps/x86_64/dl-machine.h: Likewise.
9883
9884 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9885 code.
9886 (verify_persistent_db): Likewise.
9887
98882014-06-26 Roland McGrath <roland@hack.frob.com>
9889
9890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9891 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9893 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9895 Moved ...
9896 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9897 ... here.
9898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9901 Identical file removed.
9902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9905 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9907 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9911 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9913 Moved ...
9914 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9916 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9920 Moved ...
9921 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9923 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9925 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9927 Identical file removed.
9928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9929 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9931 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9933 Moved ...
9934 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9935 ... here.
9936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9939 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9941 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9943 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9945 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9947 Moved ...
9948 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9950 Moved ...
9951 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9953 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9955 Moved ...
9956 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9959
9960 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9961 folded into ...
9962 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9963 * sysdeps/unix/sysv/linux/s390/Versions
9964 (libpthread: GLIBC_2.19): New version set.
9965 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9966 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9967 (librt: GLIBC_2.3.3): New version set.
9968 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9969 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9970 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9972 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9973 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9974 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9975 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9976 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9977 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9978 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9979 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9980 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9981 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9982 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9983 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9984 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9985 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9986 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9987 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9988 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9990 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9991 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9992 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9993 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9994 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9995 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9996 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9998 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9999 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10004 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10006 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10007 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10008 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10010 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10012 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10013
10014 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10015 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10016 (__libc_vfork): Define the function under this name.
10017 [!NOT_IN_libc] (__vfork): Make this an alias.
10018 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10020 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10021 (__libc_vfork): Define the function under this name.
10022 [!NOT_IN_libc] (__vfork): Make this an alias.
10023 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10024 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10027 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10028 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10029
10030 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10031 code that was previously under [RESET_PID].
10032 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10033 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10034 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10035
10036 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10037 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10038 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10039 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10040 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10041 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10042 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10043 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10044 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10045 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10047 Moved ...
10048 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10049 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10050 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10051 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10052 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10058 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10059 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10060 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10061 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10062 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10063 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10064 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10065 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10066 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10067 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10068 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10069 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10070 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10071 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10072 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10073 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10074 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10076 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10077
100782014-06-25 Roland McGrath <roland@hack.frob.com>
10079
10080 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10081 that was previously under [RESET_PID].
10082 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10083
100842014-06-25 Joseph Myers <joseph@codesourcery.com>
10085
10086 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10087 not undefine and redefine.
10088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10089 [O_CLOEXEC]: Make code unconditional.
10090 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10091 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10092 <kernel-features.h>.
10093 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10094 conditional variable definition.
10095 (shm_open) [O_CLOEXEC]: Make code unconditional.
10096 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10097 code.
10098
10099 * configure.ac (USE_REGPARMS): Don't define here.
10100 * configure: Regenerated.
10101 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10102 * sysdeps/i386/configure: Regenerated.
10103
10104 * nptl/createthread.c: Don't include kernel-features.h.
10105 * nptl/pthread_cancel.c: Likewise.
10106 * nptl/pthread_condattr_setclock.c: Likewise.
10107 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10108 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10109 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10110 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10111 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10112 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10113 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10116 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10117 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10118 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10119 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10120 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10121 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10122 * nscd/gai.c: Likewise.
10123 * nss/nss_db/db-open.c: Likewise.
10124 * sysdeps/generic/ldsodefs.h: Likewise.
10125 * sysdeps/sh/nptl/tls.h: Likewise.
10126 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10127 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10128 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10129 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10130 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10131 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10132 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10133 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10135 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10136 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10137 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10138 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10139 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10140 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10141 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10142 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10143 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10144 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10145 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10146 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10147 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10148 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10149 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10150 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10151 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10153 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10154 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10155 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10156 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10157 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10158 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10159 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10160 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10161 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10162 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10163 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10164 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10165 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10166 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10167 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10168 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10169 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10170 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10171 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10172 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10173 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10174 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10175 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10176 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10177 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10178 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10179 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10180 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10181 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10182 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10183 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10206 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10207 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10208 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10209 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10210 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10211 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10212 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10213 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10214 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10215 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10216 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10217 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10218 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10219 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10220 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10221 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10224 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10225 * sysdeps/unix/sysv/linux/system.c: Likewise.
10226 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10227 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10230 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10231 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10232 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10233
10234 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10235 * configure: Regenerated.
10236 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10237
10238 * configure.ac (base_machine): Do not set specially for particular
10239 machines here.
10240 * configure: Regenerated.
10241 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10242 settings from configure.ac.
10243 * sysdeps/i386/preconfigure: New file.
10244 * sysdeps/s390/preconfigure: Likewise.
10245 * sysdeps/sh/preconfigure: Likewise.
10246 * sysdeps/sparc/preconfigure: Likewise.
10247
102482014-06-25 Roland McGrath <roland@hack.frob.com>
10249
10250 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10251 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10252 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10253 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10254 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10255 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10256 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10257 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10258 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10259 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10260 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10261 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10262 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10263 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10264 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10265 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10266 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10267 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10268 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10269
10270 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10271 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10272 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10273 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10274 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10275 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10276 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10277 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10278 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10279 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10280 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10281 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10282 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10283 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10284 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10285 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10286 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10287 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10288 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10289 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10290 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10291 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10292 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10293 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10294 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10295 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10296 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10297 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10298 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10299 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10300 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10301 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10302 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10303 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10304 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10305 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10306 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10307 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10308
10309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10310 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10314 Moved ...
10315 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10316 ... here.
10317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10318 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10322 Moved ...
10323 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10325 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10331 Moved ...
10332 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10334 Moved ...
10335 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10337 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10339 Moved ...
10340 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10344 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10346 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10348 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10350 Moved ...
10351 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10352 ... here.
10353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10354 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10356 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10358 Moved ...
10359 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10367 Moved ...
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10370 Moved ...
10371 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10375 Moved ...
10376 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10378 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10381
103822014-06-25 Joseph Myers <joseph@codesourcery.com>
10383
10384 * timezone/checktab.awk: Update from tzcode 2014e.
10385 * timezone/private.h: Likewise.
10386 * timezone/tzfile.h: Likewise.
10387 * timezone/zdump.c: Likewise.
10388 * timezone/zic.c: Likewise.
10389
10390 * sysdeps/unix/sysv/linux/kernel-features.h
10391 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10393 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10394 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10395 Remove conditional code.
10396
103972014-06-25 Will Newton <will.newton@linaro.org>
10398
10399 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10400 (_dl_arm_cap_flags): Add HWCAP2 values.
10401 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10402 (_DL_HWCAP_COUNT): Increase to 37.
10403 (_DL_HWCAP_LAST): New define.
10404 (_DL_HWCAP2_LAST): New define.
10405 (_dl_procinfo): Add support for printing
10406 AT_HWCAP2 entries.
10407 (_dl_string_hwcap): Use _dl_hwcap_string.
10408
104092014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10410
10411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10412
104132014-06-25 Joseph Myers <joseph@codesourcery.com>
10414
10415 * README: Do not mention ports directory.
10416
10417 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10418 Remove macro.
10419 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10420 <kernel-features.h>.
10421 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10422 conditional variable definition.
10423 (__futimes): Update comment.
10424 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10425 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10426
10427 [BZ #16560]
10428 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10429 arguments close to 0.
10430 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10431 Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10433 Likewise.
10434 * math/auto-libm-test-in: Add more tests of exp10.
10435 * math/auto-libm-test-out: Regenerated.
10436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10437
10438 * sysdeps/unix/sysv/linux/kernel-features.h
10439 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10440 * sysdeps/unix/sysv/linux/readv.c: Do not include
10441 <kernel-features.h>.
10442 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10443 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10444 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10445 unconditional.
10446 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10447 conditional code.
10448 * sysdeps/unix/sysv/linux/writev.c: Do not include
10449 <kernel-features.h>.
10450 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10451 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10452 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10453 unconditional.
10454 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10455 conditional code.
10456
104572014-06-25 Will Newton <will.newton@linaro.org>
10458
10459 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10460 comment changes throughout the file. Remove checks
10461 for HAVE_*_H definitions that are not required.
10462 (__gen_tempname): Call abort if an unknown kind value is
10463 passed.
10464
104652014-06-25 Andreas Schwab <schwab@suse.de>
10466
10467 [BZ #17086]
10468 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10469 scalbln, scalblnf, scalblnl in libc.
10470
104712014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10472
10473 [BZ #17086]
10474 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10475 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10476 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10477
104782014-06-24 Roland McGrath <roland@hack.frob.com>
10479
10480 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10481 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10482 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10483 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10484 Update #include.
10485 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10486 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10487 Update #include.
10488 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10489 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10490 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10491 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10492 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10493 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10494 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10495 * sysdeps/x86/bits/semaphore.h: ... here.
10496 * sysdeps/x86/nptl/elide.h: Moved ...
10497 * sysdeps/x86/elide.h: ... here.
10498 * sysdeps/x86_64/nptl/Implies: File removed.
10499 * sysdeps/i386/nptl/Implies: File removed.
10500
105012014-06-24 Joseph Myers <joseph@codesourcery.com>
10502
10503 [BZ #16539]
10504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10505 return the argument for normal arguments with exponent below -64.
10506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10507 Likewise.
10508 * math/auto-libm-test-in: Add another test of expm1.
10509 * math/auto-libm-test-out: Regenerated.
10510
10511 [BZ #16287]
10512 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10513 calling __erfcl for arguments at least 16.
10514 * math/auto-libm-test-in: Add more tests of erf.
10515 * math/auto-libm-test-out: Regenerated.
10516
10517 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10518 individual architectures.
10519 * sysdeps/unix/sysv/linux/configure: Regenerated.
10520 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10521 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10522 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10523 (ldd_rewrite_script): Define variable.
10524 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10526 file.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10528 generated file.
10529 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10530 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10531 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10532 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10533 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10534 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10535 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10536 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10537
105382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10539
10540 [BZ #17084]
10541 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10542 Rename member __data.d to __data.__elision_data.
10543
105442014-06-24 Wilco <wdijkstr@arm.com>
10545
10546 * NEWS: Add 16918 to fixed bug list.
10547
105482014-06-24 Wilco <wdijkstr@arm.com>
10549
10550 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10551
105522014-06-24 Wilco <wdijkstr@arm.com>
10553
10554 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10555 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10556 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10557 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10558 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10559 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10560 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10561 Use _FPU_MASK_RM.
10562
105632014-06-24 Wilco <wdijkstr@arm.com>
10564
10565 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10566
105672014-06-24 Wilco <wdijkstr@arm.com>
10568
10569 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10570 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10571 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10572 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10573
105742014-06-24 Wilco <wdijkstr@arm.com>
10575
10576 [BZ #16918]
10577 * sysdeps/arm/feupdateenv.c (feupdateenv):
10578 Rewrite to reduce FPSCR accesses and fix return value.
10579
105802014-06-24 Wilco <wdijkstr@arm.com>
10581
10582 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10583 Optimize to avoid unnecessary FPSCR writes.
10584 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10585 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10586 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10587 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10588
105892014-06-24 Wilco <wdijkstr@arm.com>
10590
10591 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10592 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10593 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10594 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10595 Call libc_fetestexcept_vfp.
10596 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10597 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10598 __SOFTFP__ ifdef so that they can be built for softfp.
10599
106002014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
10602 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10603 argument type signed char.
10604
10605 * Makerules (check-abi): Dump diff of symlist if the test
10606 fails.
10607
106082014-06-23 Roland McGrath <roland@hack.frob.com>
10609
10610 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10611 using abort.
10612
10613 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10614 Remove unused variable ST.
10615
106162014-06-23 Joseph Myers <joseph@codesourcery.com>
10617
10618 [BZ #16354]
10619 [BZ #17061]
10620 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10621 small arguments before calling __expm1.
10622 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10623 small arguments before calling __expm1f.
10624 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10625 small arguments before calling __expm1l.
10626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10627 Likewise.
10628 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10629 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10630 spurious underflow for some cosh tests.
10631 * math/auto-libm-test-out: Regenerated.
10632 * sysdeps/i386/fpu/libm-test-ulps: Update.
10633
10634 [BZ #17050]
10635 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10636 (__ieee754_y1): Set errno if return value overflows.
10637 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10638 (__ieee754_y1f): Set errno if return value overflows.
10639 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10640 (__ieee754_y1l): Set errno if return value overflows.
10641 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10642 (__ieee754_y1l): Set errno if return value overflows.
10643 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10644 * math/auto-libm-test-out: Regenerated.
10645
10646 * math/gen-auto-libm-tests.c: Document use of
10647 ignore-zero-inf-sign.
10648 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10649 (input_flags): Add ignore-zero-inf-sign.
10650 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10651 * math/gen-libm-test.pl (generate_testfile): Handle
10652 ignore-zero-inf-sign.
10653 * math/auto-libm-test-in: Mark some cpow tests with
10654 ignore-zero-inf-sign and some with xfail-rounding.
10655 * math/auto-libm-test-out: Regenerated.
10656 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10657 * sysdeps/i386/fpu/libm-test-ulps: Update.
10658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659
10660 [BZ #16315]
10661 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10662 overflowing or underflowing operations take place with sign of
10663 result.
10664 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10665 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10666 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10667 (__ieee754_pow): Recompute overflowing and underflowing results in
10668 original rounding mode.
10669 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10670 (__powl_helper): Allow negative argument X and scale negated value
10671 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10672 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10673 overflowing or underflowing operations take place with sign of
10674 result.
10675 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10676 Include <math.h>.
10677 * math/auto-libm-test-in: Add more tests of pow.
10678 * math/auto-libm-test-out: Regenerated.
10679 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10680 (pow_tonearest_test_data): Remove.
10681 (pow_test_tonearest): Likewise.
10682 (pow_towardzero_test_data): Likewise.
10683 (pow_test_towardzero): Likewise.
10684 (pow_downward_test_data): Likewise.
10685 (pow_test_downward): Likewise.
10686 (pow_upward_test_data): Likewise.
10687 (pow_test_upward): Likewise.
10688 (main): Don't call removed functions.
10689 * sysdeps/i386/fpu/libm-test-ulps: Update.
10690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10691
106922014-06-23 Roland McGrath <roland@hack.frob.com>
10693
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10695 Moved ...
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10698 Moved ...
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10701 Moved ...
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10704 Moved ...
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10707 File removed.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10709 File removed.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10711 File removed.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10713 File removed.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10715 File removed.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10717 File removed.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10719 File removed.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10721 File removed.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10723 File removed.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10725 File removed.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10727 File removed.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10729 File removed.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10731 Moved ...
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10734 Moved ...
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10736 ... here.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10738 Moved ...
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10741 Moved ...
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10744 Moved ...
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10747 Moved ...
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10750 Moved ...
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10753 Moved ...
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10756 Moved ...
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10760 ... here.
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10762 Moved ...
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10765 Moved ...
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10767 ... here.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10769 Moved ...
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10771 ... here.
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10773 Moved ...
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10775 ... here.
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10777 Moved ...
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10780 Moved ...
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10785 Moved ...
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10787 ... here.
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10789 Moved ...
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10791 ... here.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10793 Moved ...
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10796 Moved ...
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10799 Moved ...
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10802 Moved ...
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10805 Moved ...
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10807 ... here.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10809 Moved ...
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10812 Moved ...
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10815 Moved ...
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10818 Moved ...
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10823 Moved ...
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10826 Moved ...
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10829 Moved ...
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10831 ... here.
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10833 Moved ...
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10835 ... here.
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10837 Moved ...
10838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10839 ... here.
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10841 Moved ...
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10844 Moved ...
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10847 Moved ...
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10850 Moved ...
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10852 ... here.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10854 Moved ...
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10856 ... here.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10858 Moved ...
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10860 ... here.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10862 Moved ...
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10865 Moved ...
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10867
108682014-06-23 Will Newton <will.newton@linaro.org>
10869 Wilco <wdijkstr@arm.com>
10870
10871 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10872 implementation. Include get-rounding-mode.h.
10873 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10874 [!libc_feholdsetround_noex_ctx]: Define
10875 libc_feholdsetround_noex_ctx.
10876 [!libc_feholdsetround_noexf_ctx]: Define
10877 libc_feholdsetround_noexf_ctx.
10878 [!libc_feholdsetround_noexl_ctx]: Define
10879 libc_feholdsetround_noexl_ctx.
10880 (libc_feholdsetround_ctx): New function.
10881 (libc_feresetround_ctx): New function.
10882 (libc_feholdsetround_noex_ctx): New function.
10883 (libc_feresetround_noex_ctx): New function.
10884
108852014-06-23 Roland McGrath <roland@hack.frob.com>
10886
10887 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10888 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10889 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10890 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10891 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10892 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10893
10894 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10895 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10896 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10897 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10898 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10899 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10900 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10901 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10902 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10903 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10905 Moved ...
10906 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10907 ... here.
10908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10909 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10911 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10912 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10913 Moved ...
10914 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10916 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10918 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10920 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10922 Moved ...
10923 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10925 Moved ...
10926 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10928 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10930 Moved ...
10931 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10933 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10934 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10935 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10936 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10937 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10938 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10939 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10941 Moved ...
10942 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10943 ... here.
10944 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10947 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10949 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10951 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10953 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10954 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10955 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10956 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10957 Moved ...
10958 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10960 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10964 Moved ...
10965 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10966 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10967 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10968 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10969 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10970
10971 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10972 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10973 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10992 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10998 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10999
110002014-06-23 Joseph Myers <joseph@codesourcery.com>
11001
11002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11003 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11004 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11005 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11006 (IPV6_PMTUDISC_INTERFACE): Likewise.
11007 (IPV6_PMTUDISC_OMIT): Likewise.
11008
110092014-06-23 Andreas Schwab <schwab@suse.de>
11010
11011 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11012 Remove unused errout label.
11013
110142014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11015
11016 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11017 macro: hardware supports Vector Crypto instructions.
11018
110192014-06-23 Will Newton <will.newton@linaro.org>
11020
11021 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11022 rather than __builtin_expect.
11023
11024 * elf/dl-lookup.c (undefined_msg): Remove variable.
11025 (_dl_lookup_symbol_x): Replace undefined_msg with string
11026 literal.
11027
11028 * elf/dl-lookup.c (do_lookup_unique): New function.
11029 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11030 to a separate function.
11031
110322014-06-23 Andreas Schwab <schwab@suse.de>
11033
11034 [BZ #17079]
11035 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11036 before reading the next line.
11037
110382014-06-23 Will Newton <will.newton@linaro.org>
11039
11040 * test-skeleton.c (signal_handler): Use printf and %m
11041 rather than perror. Use printf rather than fprintf to
11042 stderr. Use puts rather than fputs to stderr.
11043 (main): Likewise.
11044
110452014-06-22 Ludovic Courtès <ludo@gnu.org>
11046
11047 * nscd/nscd.c (thread_info_t): Remove typedef.
11048 (thread_info): Remove variable.
11049
110502014-06-21 Allan McRae <allan@archlinux.org>
11051
11052 * NEWS: Mention CVE-2014-4043.
11053
110542014-06-20 Roland McGrath <roland@hack.frob.com>
11055
11056 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11057 * nptl/smp.h: ... here.
11058
11059 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11060
11061 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11062 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11063 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11064 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11065
11066 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11067 * nptl/stack-aliasing.h: New file.
11068 * sysdeps/i386/i686/stack-aliasing.h: New file.
11069 * sysdeps/i386/i686/nptl/Makefile: File removed.
11070 * sysdeps/x86_64/stack-aliasing.h: New file.
11071 * sysdeps/x86_64/nptl/Makefile
11072 (CFLAGS-pthread_create.c): Variable removed.
11073
11074 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11075 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11076 old file.
11077 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11078 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11079 old file.
11080
110812014-06-21 Joseph Myers <joseph@codesourcery.com>
11082
11083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11084 (__ASSUME_SIGFRAME_V2): Remove macro.
11085 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11086 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11087 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11088 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11089 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11090 Declare as function. Remove conditional macro definitions.
11091 (__default_rt_sa_restorer): Likewise.
11092 (__default_sa_restorer_v1): Remove declaration.
11093 (__default_sa_restorer_v2): Likewise.
11094 (__default_rt_sa_restorer_v1): Likewise.
11095 (__default_rt_sa_restorer_v2): Likewise.
11096 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11097 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11098 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11099
111002014-06-20 Roland McGrath <roland@hack.frob.com>
11101
11102 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11103 (libpthread-routines): Add sysdep.
11104 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11105 * sysdeps/unix/sysv/linux/sparc/Versions
11106 (libpthread: GLIBC_2.3.3): New version set.
11107 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11108 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11109 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11110 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11111 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11112 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11113 Moved ...
11114 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11115 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11116 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11117 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11118 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11120 * sysdeps/sparc/nptl/sem_init.c: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11122 * sysdeps/sparc/nptl/sem_post.c: ... here.
11123 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11124 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11126 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11127 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11128 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11129 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11130 (libpthread-routines): Add cpu_relax.
11131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11132 File removed.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11134 (librt: GLIBC_2.3.3): New version set.
11135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11136 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11137 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11138 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11141 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11143 Moved ...
11144 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11146 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11148 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11150 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11152 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11154 Moved ...
11155 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11156 Update #include.
11157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11158 Moved ...
11159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11160 Update #include.
11161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11162 Moved ...
11163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11164 Update #include.
11165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11166 Moved ...
11167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11168 Update #include.
11169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11170 Moved ...
11171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11172 Update #include.
11173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11174 Moved ...
11175 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11176 Update #include.
11177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11178 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11184 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11186 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11188 Moved ...
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11191 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11193 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11194
111952014-06-20 Joseph Myers <joseph@codesourcery.com>
11196
11197 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11198 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11199 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11200 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11201 * nscd/nscd.c: Likewise.
11202 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11203 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11204 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11205 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11206
11207 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11208 <kernel-features.h>.
11209 (init_mq_netlink): Remove conditional have_sock_cloexec
11210 definitions. Remove code conditional on have_sock_cloexec < 0.
11211 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11212 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11213 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11214 <kernel-features.h>.
11215 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11216 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11217
112182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11219
11220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11221 Add tests for memset_chk and memset.
11222
11223 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11224 with AVX2_Usable.
11225
112262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11227
11228 [BZ #16046]
11229 * elf/tst-dl-iter-static.c: New file.
11230 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11231
11232 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11233 error.
11234
112352014-06-20 Joseph Myers <joseph@codesourcery.com>
11236
11237 * sysdeps/unix/sysv/linux/kernel-features.h
11238 (__ASSUME_F_GETOWN_EX): Remove macro.
11239 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11240 <kernel-features.h>.
11241 (miss_F_GETOWN_EX): Remove variable or macro.
11242 (do_fcntl): Do not check miss_F_GETOWN_EX.
11243 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11244
11245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11246 Remove macro.
11247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11248 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11249 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11250
11251 * sysdeps/unix/sysv/linux/kernel-features.h
11252 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11253 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11254 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11255 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11256
112572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11258
11259 [BZ #17075]
11260 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11261 Fix calculation of the symbol's value.
11262 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11263 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11264 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11265 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11266 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11267 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11268 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11269 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11270 (modules-names): Add `tst-armtlsdescmod',
11271 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11272 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11273 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11274 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11275 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11276 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11277 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11278 ($(objpfx)tst-armtlsdescloc): New dependency.
11279 ($(objpfx)tst-armtlsdescextnow): Likewise.
11280 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11281 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11282 TLS scheme support.
11283 * sysdeps/arm/configure: Regenerate.
11284
112852014-06-20 Joseph Myers <joseph@codesourcery.com>
11286
11287 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11288 (__atfct_seterrno_2): Likewise.
11289 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11290 <kernel-features.h>.
11291 (__ASSUME_ATFCTS): Do not undefine and redefine.
11292 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11293 (__have_atfcts): Remove conditional definition.
11294 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11295 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11296 unreachable if [__ASSUME_ATFCTS].
11297 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11298 not undefine and redefine.
11299 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11300 <kernel-features.h>.
11301 (faccessat) [__NR_faccessat]: Make code unconditional.
11302 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11303 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11304 <kernel-features.h>.
11305 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11306 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11307 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11308 <kernel-features.h>.
11309 (fchownat) [__NR_fchownat]: Make code unconditional.
11310 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11311 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11312 <kernel-features.h>.
11313 (futimesat) [__NR_futimesat]: Make code unconditional.
11314 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11315 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11316 <kernel-features.h>.
11317 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11318 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11319 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11320 <kernel-features.h>.
11321 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11322 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11323 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11324 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11325 <kernel-features.h>.
11326 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11327 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11328 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11329 <kernel-features.h>.
11330 (linkat) [__NR_linkat]: Make code unconditional.
11331 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11332 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11333 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11334 <kernel-features.h>.
11335 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11336 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11337 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11338 <kernel-features.h>.
11339 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11340 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11341 * sysdeps/unix/sysv/linux/openat.c: Do not include
11342 <kernel-features.h>.
11343 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11344 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11345 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11346 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11347 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11348 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11349 <kernel-features.h>.
11350 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11351 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11352 result of INLINE_SYSCALL directly, not via int variable.
11353 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11354 <kernel-features.h>.
11355 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11356 (renameat) [__NR_renameat]: Make code unconditional.
11357 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11358 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11359 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11360 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11361 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11362 (__ASSUME_ATFCTS): Do not undefine and redefine.
11363 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11364 <kernel-features.h>.
11365 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11366 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11367 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11368 <kernel-features.h>.
11369 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11370 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11371 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11372 (__ASSUME_ATFCTS): Do not undefine and redefine.
11373 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11374 <kernel-features.h>.
11375 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11376 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11377 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11378 <kernel-features.h>.
11379 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11380 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11381
113822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11383
11384 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11385
113862014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11387
11388 [BZ #17069]
11389 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11390 constructed tree before returning error.
11391 * posix/bug-regexp36.c: Expand test case.
11392
113932014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11394
11395 [BZ #6803]
11396 * math/libm-test.inc (scalbln_test_date):
11397 Add errno expectations.
11398 * math/w_scalblnf.c: New File.
11399 Add wrapper which checks for setting errno to ERANGE.
11400 Add weak_alias for corresponding scalbln function.
11401 * math/w_scalbln.c: Likewise.
11402 * math/w_scalblnl.c: Likewise.
11403 * math/Makefile (libm-calls): Add w_scalbln.
11404 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11405 Remove weak_alias for corresponding scalbln function.
11406 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11410 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11411 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11412 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11413 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11414 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11415 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11416 Remove long_double_symbol for scalblnl function in libm, libc.
11417 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11418 Add wrapper which checks for setting errno to ERANGE.
11419 Add long_double_symbol for scalblnl function in libm, libc.
11420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11421 Remove long_double_symbol for scalblnl in libm.
11422 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11423 Add wrapper which checks for setting errno to ERANGE.
11424 Add long_double_symbol for scalblnl function in libm.
11425 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11426 Do not use wrapper because of own implementation.
11427
114282014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11429
11430 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11431 3 bytes for __pad1 for x32.
11432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11433
114342014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11435 H.J. Lu <hongjiu.lu@intel.com>
11436
11437 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11438 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11439 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11440 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11441 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11442
114432014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11444
11445 [BZ #17069]
11446 * posix/regcomp.c (parse_expression): Deallocate partially
11447 constructed tree before returning error.
11448 * posix/Makefile.c (tests): Add bug-regex36.
11449 (generated): Add bug-regex36.mtrace.
11450 (tests-special): Add $(objpfx)bug-regex36-mem.out
11451 (bug-regex36-ENV): New variable.
11452 ($(objpfx)bug-regex36-mem.out): New rule.
11453 * posix/bug-regex36.c: New file.
11454
114552014-06-19 Will Newton <will.newton@linaro.org>
11456
11457 * malloc/malloc.c (systrim): If extra is zero then return
11458 early.
11459
114602014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11461
11462 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11463
114642014-06-19 Richard Earnshaw <rearnsha@arm.com>
11465
11466 * sysdeps/aarch64/strchr.S: New file.
11467
114682014-06-18 Joseph Myers <joseph@codesourcery.com>
11469
11470 [BZ #17022]
11471 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11472 from arguments -2 or below.
11473 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11474 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11475
114762014-06-18 Andreas Schwab <schwab@suse.de>
11477
11478 [BZ #17062]
11479 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11480 of a bracket expr not to run off the end of the string.
11481 * posix/Makefile (tests): Add tst-fnmatch3.
11482 * posix/tst-fnmatch3.c: New file.
11483
114842014-06-18 Joseph Myers <joseph@codesourcery.com>
11485
11486 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11487 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11488 [$(cross-compiling) = no]: Likewise.
11489 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11490 [$(cross-compiling) = no]: Likewise.
11491
114922014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11493
11494 [BZ #17031]
11495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11496 double, adjusted for any remainder from the high double.
11497 * math/libm-test.inc (nearbyint): Add tests.
11498 (rint): Likewise.
11499
115002014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11501
11502 * nptl/sysdeps/powerpc/Makefile: Moved ...
11503 * sysdeps/powerpc/nptl/Makefile: ... here.
11504 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11505 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11506 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11507 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11508 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11509 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11510 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11511 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11512 * nptl/sysdeps/powerpc/tls.h: Moved ...
11513 * sysdeps/powerpc/nptl/tls.h: ... here.
11514
115152014-06-16 Joseph Myers <joseph@codesourcery.com>
11516
11517 [BZ #16681]
11518 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11519 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11520 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11521 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11522 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11523 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11524 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11525 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11526 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11527
115282014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11529
11530 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11531
115322014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11533
11534 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11535 defined operator.
11536
11537 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11538 $TIMEOUTFACTOR.
11539
115402014-06-16 Florian Weimer <fweimer@redhat.com>
11541
11542 [BZ #17058]
11543 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11544 non-executed part of the test.
11545
115462014-06-16 Andreas Schwab <schwab@suse.de>
11547
11548 * string/bits/string2.h (strdup, strndup): Update feature guard.
11549
115502014-06-14 David S. Miller <davem@davemloft.net>
11551
11552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11553
115542014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11555
11556 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11557 that was previously under [RESET_PID].
11558 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11559
11560 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11561 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11562 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11563 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11564 (__libc_vfork): New strong alias.
11565 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11566
115672014-06-14 Andi Kleen <ak@linux.intel.com>
11568
11569 * sysdeps/generic/elide.h: New file.
11570
115712014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11572
11573 * Makefile (installed-headers): Adjust path of pthread.h header.
11574
115752014-06-13 Roland McGrath <roland@hack.frob.com>
11576
11577 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11578 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11579 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11580 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11581
11582 * nptl/sysdeps/s390/Makefile: Moved ...
11583 * sysdeps/s390/nptl/Makefile: ... here.
11584 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11585 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11586 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11587 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11588 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11589 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11590 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11591 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11592 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11593 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11594 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11595 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11596 * nptl/sysdeps/s390/tls.h: Moved ...
11597 * sysdeps/s390/nptl/tls.h: ... here.
11598
11599 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11600 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11601
116022014-06-13 David S. Miller <davem@davemloft.net>
11603
11604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11607 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11611 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11612 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11613 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11614 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11615 Remove RESET_PID cpp guards.
11616 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11617 Remove RESET_PID cpp guards.
11618 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11619
116202014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11621
11622 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11623 __sp to uintptr_t.
11624
116252014-06-13 Andi Kleen <ak@linux.intel.com>
11626
11627 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11628 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11629 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11630 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11631 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11632 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11633 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11634 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11635 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11636 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11638 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11639 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11640 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11641 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11643 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11645 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11647
11648 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11649 (pthread_rwlock_rdlock): Add elision.
11650 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11651 (pthread_rwlock_wrlock): Add elision.
11652 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11653 (pthread_rwlock_trywrlock): Add elision.
11654 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11655 (pthread_rwlock_tryrdlock): Add elision.
11656 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11657 (pthread_rwlock_tryrdlock): Add elision unlock.
11658 * nptl/sysdeps/pthread/pthread.h:
11659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11660 (PTHREAD_RWLOCK_INITIALIZER,
11661 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11662 Handle new elision field.
11663 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11664 * sysdeps/arm/nptl/bits/pthreadtypes.h
11665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11666 * sysdeps/sh/nptl/bits/pthreadtypes.h
11667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11668 * sysdeps/tile/nptl/bits/pthreadtypes.h
11669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11670 * sysdeps/a/nptl/bits/pthreadtypes.h
11671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11672 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11674 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11676 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11678 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11680 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11682 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11683 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11684 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11685 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11686 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11687 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11688 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11689 (elision_init): Set try_xbegin to zero when no RTM.
11690 * sysdeps/x86/nptl/bits/pthreadtypes.h
11691 (pthread_rwlock_t): Change __pad1 to __rwelision.
11692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11693
116942014-06-13 Andi Kleen <ak@linux.intel.com>
11695
11696 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11697 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11698 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11699 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11700
117012014-06-13 Meador Inge <meadori@codesourcery.com>
11702
11703 [BZ #16996]
11704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11705 that the cached result has been set before returning it.
11706
117072014-06-12 Roland McGrath <roland@hack.frob.com>
11708
11709 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11710 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11711 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11712 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11713 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11714 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11715
11716 * nptl/sysdeps/sparc/Makefile: Moved ...
11717 * sysdeps/sparc/nptl/Makefile: ... here.
11718 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11719 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11720 * nptl/sysdeps/sparc/tls.h: Moved ...
11721 * sysdeps/sparc/nptl/tls.h: ... here.
11722 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11723 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11724 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11725 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11726 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11727 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11728 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11729 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11730 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11731 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11732 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11733 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11734 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11735 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11736 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11737 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11738 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11739 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11740 Update #include.
11741 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11743 Update #include.
11744 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11745 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11746 Update #include.
11747 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11749 Update #include.
11750
11751 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11752
11753 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11754 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11755
11756 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11757 (struct list_links): Type removed.
11758 (struct thread_node, struct timer_node): Replace struct list_links
11759 with struct list_head.
11760 (list_unlink_ip): Likewise.
11761 * sysdeps/pthread/timer_routines.c
11762 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11763 (list_append, list_insbefore): Likewise.
11764 (list_init): Function removed.
11765 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11766 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11767 * sysdeps/pthread/Makefile: ... here, new file.
11768
11769 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11770 * sysdeps/nptl/Implies: ... here.
11771 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11772 * nptl/sysdeps/pthread/list.h: Moved ...
11773 * include/list.h: ... here.
11774 * nptl/sysdeps/pthread/createthread.c: Moved ...
11775 * nptl/createthread.c: ... here.
11776 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11777 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11778 * nptl/pt-longjmp.c: ... here.
11779 * nptl/sysdeps/pthread/Makefile: Moved ...
11780 * sysdeps/nptl/Makefile: ... here.
11781 * nptl/sysdeps/pthread/Subdirs: Moved ...
11782 * sysdeps/nptl/Subdirs: ... here.
11783 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11784 * sysdeps/nptl/aio_misc.h: ... here.
11785 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11786 * sysdeps/nptl/bits/libc-lock.h: ... here.
11787 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11788 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11789 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11790 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11791 * nptl/sysdeps/pthread/configure: Moved ...
11792 * sysdeps/nptl/configure: ... here.
11793 * nptl/sysdeps/pthread/configure.ac: Moved ...
11794 * sysdeps/nptl/configure.ac: ... here.
11795 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11796 * sysdeps/nptl/gai_misc.h: ... here.
11797 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11798 * sysdeps/nptl/librt-cancellation.c: ... here.
11799 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11800 * sysdeps/nptl/malloc-machine.h: ... here.
11801 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11802 * sysdeps/nptl/pthread-functions.h: ... here.
11803 * nptl/sysdeps/pthread/pthread.h: Moved ...
11804 * sysdeps/nptl/pthread.h: ... here.
11805 * nptl/sysdeps/pthread/setxid.h: Moved ...
11806 * sysdeps/nptl/setxid.h: ... here.
11807 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11808 * sysdeps/nptl/sigfillset.c: ... here.
11809 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11810 * sysdeps/nptl/tcb-offsets.h: ... here.
11811 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11812 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11813 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11814 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11815 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11816 * sysdeps/pthread/allocalim.h: ... here.
11817 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11818 * sysdeps/pthread/bits/sigthread.h: ... here.
11819 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11820 * sysdeps/pthread/flockfile.c: ... here.
11821 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11822 * sysdeps/pthread/ftrylockfile.c: ... here.
11823 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11824 * sysdeps/pthread/funlockfile.c: ... here.
11825 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11826 * sysdeps/pthread/posix-timer.h: ... here.
11827 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11828 * sysdeps/pthread/timer_create.c: ... here.
11829 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11830 * sysdeps/pthread/timer_delete.c: ... here.
11831 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11832 * sysdeps/pthread/timer_getoverr.c: ... here.
11833 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11834 * sysdeps/pthread/timer_gettime.c: ... here.
11835 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11836 * sysdeps/pthread/timer_routines.c: ... here.
11837 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11838 * sysdeps/pthread/timer_settime.c: ... here.
11839 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11840 * sysdeps/pthread/tst-timer.c: ... here.
11841 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11842 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11843
11844 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11845 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11846
11847 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11848 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11849 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11850 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11851 Update #include target.
11852 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11853 * sysdeps/i386/i686/nptl/Makefile: ... here.
11854 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11855 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11856 Update #include target.
11857 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11858 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11859 * nptl/sysdeps/i386/Makefile: Moved ...
11860 * sysdeps/i386/nptl/Makefile: ... here.
11861 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11862 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11863 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11864 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11865 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11866 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11867 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11868 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11869 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11870 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11871 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11872 * nptl/sysdeps/i386/tls.h: Moved ...
11873 * sysdeps/i386/nptl/tls.h: ... here.
11874
11875 * sysdeps/sh/Makefile [$(subdir) = csu]
11876 (gen-as-const-headers): Add tcb-offsets.sym.
11877 * nptl/sysdeps/sh/Makefile: File removed.
11878 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11879 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11880 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11881 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11882 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11883 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11884 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11885 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11886 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11887 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11888 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11889 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11890 * nptl/sysdeps/sh/tls.h: Moved ...
11891 * sysdeps/sh/nptl/tls.h: ... here.
11892 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11893 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11894 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11895 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11897 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11898 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11899 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11901 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11903 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11905 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11907 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11909 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11910 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11911 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11912 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11913 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11917 Moved ...
11918 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11920 Moved ...
11921 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11922 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11923 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11924 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11925 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11926 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11927 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11928 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11929 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11930 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11931 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11933 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11934 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11935 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11936 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11937 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11938 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11939 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11940
119412014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11942
11943 * posix/spawn_faction_addopen.c: Include string.h.
11944
119452014-06-11 Roland McGrath <roland@hack.frob.com>
11946
11947 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11948 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11949 * nptl/sysdeps/x86_64/Makefile: Moved ...
11950 * sysdeps/x86_64/nptl/Makefile: ... here.
11951 * nptl/sysdeps/x86_64/configure: Moved ...
11952 * sysdeps/x86_64/nptl/configure: ... here.
11953 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11954 * sysdeps/x86_64/nptl/configure.ac: ... here.
11955 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11956 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11957 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11958 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11959 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11960 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11961 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11962 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11963 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11964 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11965 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11966 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11967 * nptl/sysdeps/x86_64/tls.h: Moved ...
11968 * sysdeps/x86_64/nptl/tls.h: ... here.
11969 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11970 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11971 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11972 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11973
11974 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11975
119762014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11977
11978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11979
119802014-06-11 Joseph Myers <joseph@codesourcery.com>
11981
11982 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11983 type.
11984 [POSIX] (off_t): Likewise.
11985 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11986 [POSIX] (S_ISBLK): Require macro.
11987 [POSIX] (S_ISCHR): Likewise.
11988 [POSIX] (S_ISDIR): Likewise.
11989 [POSIX] (S_ISFIFO): Likewise.
11990 [POSIX] (S_ISREG): Likewise.
11991 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11992 optional-macro.
11993 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11994 type.
11995 [POSIX] (time_t): Likewise.
11996 [POSIX] (timer_t): Likewise.
11997
119982014-06-11 Florian Weimer <fweimer@redhat.com>
11999
12000 [BZ #17048]
12001 * posix/spawn_int.h (struct __spawn_action): Make the path string
12002 non-const to support deallocation.
12003 * posix/spawn_faction_addopen.c
12004 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12005 * posix/spawn_faction_destroy.c
12006 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12007 path in all spawn_do_open actions.
12008 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12009 posix_spawn_file_actions_addopen.
12010
120112014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12012
12013 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12014 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12015 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12016 conditional code always true.
12017 (__libc_vfork): New alias.
12018
120192014-06-11 Roland McGrath <roland@hack.frob.com>
12020
12021 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12022 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12023
12024 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12025
12026 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12027 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12028
12029 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12030 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12031
12032 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12033 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12034
120352014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12036
12037 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12038 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12039 multiarch strcmp for PPC64.
12040 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12041 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12043 multiarch optimizations.
12044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12045 (__libc_ifunc_impl_list): Likewise.
12046
120472014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12048
12049 * benchtests/scripts/validate_benchout.py: New script.
12050 * benchtests/Makefile (bench-func): Call it.
12051 * benchtests/scripts/benchout.schema.json: New file.
12052
120532014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12054
12055 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12056 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12057 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12058 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12059 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12060 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12061 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12062 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12063 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12064 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12065 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12066 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12067 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12068 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12069 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12070 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12072 Moved ...
12073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12074 ... here.
12075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12076 Moved ...
12077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12079 Moved ...
12080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12081 ... here.
12082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12083 Moved ...
12084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12085 ... here.
12086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12087 Moved ...
12088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12090 Moved ...
12091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12092 ... here.
12093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12094 Moved ...
12095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12096 ... here.
12097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12098 Moved ...
12099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12101 Moved ...
12102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12103 ... here.
12104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12105 Moved ...
12106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12107 ... here.
12108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12109 Moved ...
12110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12111 ... here.
12112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12113 Moved ...
12114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12116 Moved ...
12117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12118 ... here.
12119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12120 Moved ...
12121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12122 ... here.
12123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12124 Moved ...
12125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12126 ... here.
12127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12128 Moved ...
12129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12131 Moved ...
12132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12133 ... here.
12134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12135 Moved ...
12136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12137 ... here.
12138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12139 Moved ...
12140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12142 Moved ...
12143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12144 ... here.
12145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12146 Moved ...
12147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12149 Moved ...
12150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12152 Moved ...
12153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12154 ... here.
12155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12156 Moved ...
12157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12158 ... here.
12159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12160 Moved ...
12161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12162 ... here.
12163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12164 Moved ...
12165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12167 Moved ...
12168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12169 ... here.
12170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12171 Moved ...
12172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12173 ... here.
12174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12175 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12177 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12179 Moved ...
12180 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12181 ... here.
12182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12183 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12185 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12187 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12188 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12189 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12190 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12191 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12193 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12195 Moved ...
12196 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12198 Moved ...
12199 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12200 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12201 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12202 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12203 Moved ...
12204 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12208 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12209 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12210 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12211
122122014-06-10 Wilco <wdijkstr@arm.com>
12213
12214 * math/test-fenv-return.c: New file.
12215 * math/Makefile: Add new test test-fenv-return.
12216
122172014-06-10 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #17042]
12220 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12221 when x - 1 is zero.
12222 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12223 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12224 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12225 0.0L for an argument of 1.0L.
12226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12227 Likewise.
12228 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12229 value when x - 1 is zero.
12230 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12231 * sysdeps/i386/fpu/libm-test-ulps: Update.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12233
122342014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12235
12236 [BZ #15119]
12237 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12238
122392014-06-09 Roland McGrath <roland@hack.frob.com>
12240
12241 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12242 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12243
122442014-06-09 Roland McGrath <roland@hack.frob.com>
12245
12246 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12247 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12248
12249 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12250 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12251
12252 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12253 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12254
12255 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12256 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12257
12258 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12259 if not already defined.
12260 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12261 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12262 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12263 (TLS_INIT_TP): Use it.
12264 (TLS_DEFINE_INIT_TP): New macro.
12265 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12266
122672014-06-09 Joseph Myers <joseph@codesourcery.com>
12268
12269 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12270 constant.
12271 [POSIX] (IXANY): Likewise.
12272 [POSIX] (OLCUC): Likewise.
12273 [POSIX || POSIX2008] (CBAUD): Do not allow.
12274 [POSIX || POSIX2008] (DEFECHO): Likewise.
12275 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12276 [POSIX || POSIX2008] (ECHOKE): Likewise.
12277 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12278 [POSIX || POSIX2008] (EXTA): Likewise.
12279 [POSIX || POSIX2008] (EXTB): Likewise.
12280 [POSIX || POSIX2008] (FLUSHO): Likewise.
12281 [POSIX || POSIX2008] (LOBLK): Likewise.
12282 [POSIX || POSIX2008] (PENDIN): Likewise.
12283 [POSIX || POSIX2008] (SWTCH): Likewise.
12284 [POSIX || POSIX2008] (VDISCARD): Likewise.
12285 [POSIX || POSIX2008] (VDSUSP): Likewise.
12286 [POSIX || POSIX2008] (VLNEXT): Likewise.
12287 [POSIX || POSIX2008] (VREPRINT): Likewise.
12288 [POSIX || POSIX2008] (VSTATUS): Likewise.
12289 [POSIX || POSIX2008] (VWERASE): Likewise.
12290 (B*): Change to B[0123456789]*.
12291 * conform/data/time.h-data [POSIX || UNIX98]
12292 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12293 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12294 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12295 [POSIX] (tm_*): Do not allow.
12296
122972014-06-07 Joseph Myers <joseph@codesourcery.com>
12298
12299 * Makefile (install): Don't set LANGUAGE.
12300 * Makefile.in (install): Likewise.
12301 * assert/Makefile (test-assert-ENV): Remove variable.
12302 (test-assert-perr-ENV): Likewise.
12303 * elf/Makefile (neededtest4-ENV): Likewise.
12304 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12305 [$(cross-compiling) = no]: Don't set LANGUAGE.
12306 * io/ftwtest-sh (LANG): Remove variable.
12307 * libio/Makefile (tst-widetext-ENV): Likewise.
12308 * manual/install.texi (Running make install): Don't refer to
12309 environment settings for make install.
12310 * INSTALL: Regenerated.
12311 * nptl/tst-tls6.sh: Don't set LANG.
12312 * posix/globtest.sh (LANG): Remove variable.
12313 * string/Makefile (tester-ENV): Likewise.
12314 (inl-tester-ENV): Likewise.
12315 (noinl-tester-ENV): Likewise.
12316 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12317 [$(cross-compiling) = no]: Don't set LANGUAGE.
12318 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12319 without explicit environment settings.
12320
123212014-06-06 Roland McGrath <roland@hack.frob.com>
12322
12323 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12324 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12326 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12327
123282014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12329
12330 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12331 other files in the crypt directory.
12332 * crypt/crypt.c: Remove duplicate includes.
12333 * crypt/crypt-entry.c: Likewise.
12334 * crypt/crypt_util.c: Likewise.
12335
123362014-06-06 Joseph Myers <joseph@codesourcery.com>
12337
12338 * Makeconfig (run-program-env): New variable.
12339 (run-program-prefix-before-env): Likewise.
12340 (run-program-prefix-after-env): Likewise.
12341 (run-program-prefix): Define in terms of new variables.
12342 (built-program-cmd-before-env): New variable.
12343 (built-program-cmd-after-env): Likewise.
12344 (built-program-cmd): Define in terms of new variables.
12345 (test-program-prefix-before-env): New variable.
12346 (test-program-prefix-after-env): Likewise.
12347 (test-program-prefix): Define in terms of new variables.
12348 (test-program-cmd-before-env): New variable.
12349 (test-program-cmd-after-env): Likewise.
12350 (test-program-cmd): Define in terms of new variables.
12351 * Rules (make-test-out): Use $(run-program-env).
12352 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12353 (help): Do not mention environment variables. Mention
12354 --timeoutfactor option.
12355 (timeoutfactor): New variable.
12356 (blacklist_exports): Remove function.
12357 (exports): Remove variable.
12358 (command): Do not include ${exports}.
12359 * manual/install.texi (Configuring and compiling): Do not mention
12360 test wrappers preserving environment variables. Mention that last
12361 assignment to a variable must take precedence.
12362 * INSTALL: Regenerated.
12363 * benchtests/Makefile (run-bench): Use $(run-program-env).
12364 * catgets/Makefile ($(objpfx)test1.cat): Use
12365 $(built-program-cmd-before-env), $(run-program-env) and
12366 $(built-program-cmd-after-env).
12367 ($(objpfx)test2.cat): Do not specify environment variables
12368 explicitly.
12369 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12370 $(run-program-env) and $(built-program-cmd-after-env).
12371 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12372 $(run-program-env) and $(test-program-cmd-after-env).
12373 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12374 explicitly.
12375 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12376 run_program_env and test_program_cmd_after_env arguments.
12377 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12378 * elf/tst-pathopt.sh: Use run_program_env argument.
12379 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12380 $(test-wrapper-env) and $(run-program-env).
12381 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12382 run_program_env arguments.
12383 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12384 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12385 $(test-program-prefix-before-env), $(run-program-env) and
12386 $(test-program-prefix-after-env).
12387 ($(objpfx)tst-gettext2.out): Likewise.
12388 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12389 run_program_env and test_program_prefix_after_env arguments.
12390 * intl/tst-gettext2.sh: Likewise.
12391 * intl/tst-gettext4.sh: Do not set environment variables
12392 explicitly.
12393 * intl/tst-gettext6.sh: Likewise.
12394 * intl/tst-translit.sh: Likewise.
12395 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12396 $(test-program-prefix-before-env), $(run-program-env) and
12397 $(test-program-prefix-after-env).
12398 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12399 run_program_env and test_program_prefix_after_env arguments.
12400 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12401 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12402 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12403 explicitly with each use of ${test_wrapper_env}.
12404 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12405 $(test-program-prefix-before-env), $(run-program-env) and
12406 $(test-program-prefix-after-env).
12407 * posix/tst-getconf.sh: Do not set environment variables
12408 explicitly.
12409 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12410 run_program_env and test_program_prefix_after_env arguments.
12411 * stdio-common/tst-printf.sh: Do not set environment variables
12412 explicitly.
12413 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12414 $(test-program-prefix-before-env), $(run-program-env) and
12415 $(test-program-prefix-after-env).
12416 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12417 run_program_env and test_program_prefix_after_env arguments.
12418 Split $test calls into $test_pre and $test.
12419 * timezone/Makefile (build-testdata): Use
12420 $(built-program-cmd-before-env), $(run-program-env) and
12421 $(built-program-cmd-after-env).
12422
124232014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12424
12425 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12426 strlen for non SHARED builds.
12427
124282014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12429
12430 * nptl/allocatestack.c (check_list): Inlined function...
12431 (__reclaim_stacks): ... here.
12432
124332014-06-05 Ondřej Bílka <neleai@seznam.cz>
12434
12435 [BZ #15698]
12436 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12437 memory overrun.
12438
124392014-06-05 Joseph Myers <joseph@codesourcery.com>
12440
12441 * Rules (make-test-out): Include
12442 LOCPATH=$(common-objpfx)localedata in default environment.
12443 * debug/Makefile (tst-chk1-ENV): Remove variable.
12444 (tst-chk2-ENV): Likewise.
12445 (tst-chk3-ENV): Likewise.
12446 (tst-chk4-ENV): Likewise.
12447 (tst-chk5-ENV): Likewise.
12448 (tst-chk6-ENV): Likewise.
12449 (tst-lfschk1-ENV): Likewise.
12450 (tst-lfschk2-ENV): Likewise.
12451 (tst-lfschk3-ENV): Likewise.
12452 (tst-lfschk4-ENV): Likewise.
12453 (tst-lfschk5-ENV): Likewise.
12454 (tst-lfschk6-ENV): Likewise.
12455 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12456 (tst-iconv7-ENV): Likewise.
12457 * intl/Makefile (LOCPATH-ENV): Likewise.
12458 (tst-codeset-ENV): Likewise.
12459 (tst-gettext3-ENV): Likewise.
12460 (tst-gettext5-ENV): Likewise.
12461 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12462 (tst-fopenloc-ENV): Likewise.
12463 (tst-fgetws-ENV): Remove variable.
12464 (tst-ungetwc1-ENV): Likewise.
12465 (tst-ungetwc2-ENV): Likewise.
12466 (bug-ungetwc2-ENV): Likewise.
12467 (tst-swscanf-ENV): Likewise.
12468 (bug-ftell-ENV): Likewise.
12469 (tst-fgetwc-ENV): Likewise.
12470 (tst-fseek-ENV): Likewise.
12471 (tst-ftell-partial-wide-ENV): Likewise.
12472 (tst-ftell-active-handler-ENV): Likewise.
12473 (tst-ftell-append-ENV): Likewise.
12474 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12475 (tst-regexloc-ENV): Likewise.
12476 (bug-regex1-ENV): Likewise.
12477 (tst-regex-ENV): Likewise.
12478 (tst-regex2-ENV): Likewise.
12479 (bug-regex5-ENV): Likewise.
12480 (bug-regex6-ENV): Likewise.
12481 (bug-regex17-ENV): Likewise.
12482 (bug-regex18-ENV): Likewise.
12483 (bug-regex19-ENV): Likewise.
12484 (bug-regex20-ENV): Likewise.
12485 (bug-regex22-ENV): Likewise.
12486 (bug-regex23-ENV): Likewise.
12487 (bug-regex25-ENV): Likewise.
12488 (bug-regex26-ENV): Likewise.
12489 (bug-regex30-ENV): Likewise.
12490 (bug-regex32-ENV): Likewise.
12491 (bug-regex33-ENV): Likewise.
12492 (bug-regex34-ENV): Likewise.
12493 (bug-regex35-ENV): Likewise.
12494 (tst-rxspencer-ENV): Likewise.
12495 (tst-rxspencer-no-utf8-ENV): Likewise.
12496 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12497 (tst-sscanf-ENV): Likewise.
12498 (tst-swprintf-ENV): Likewise.
12499 (tst-swscanf-ENV): Likewise.
12500 (test-vfprintf-ENV): Likewise.
12501 (scanf13-ENV): Likewise.
12502 (bug14-ENV): Likewise.
12503 (tst-grouping-ENV): Likewise.
12504 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12505 (tst-strtod3-ENV): Likewise.
12506 (tst-strtod4-ENV): Likewise.
12507 (tst-strtod5-ENV): Likewise.
12508 (testmb2-ENV): Likewise./
12509 * string/Makefile (tst-strxfrm-ENV): Likewise.
12510 (tst-strxfrm2-ENV): Likewise.
12511 (bug-strcoll1-ENV): Likewise.
12512 (test-strcasecmp-ENV): Likewise.
12513 (test-strncasecmp-ENV): Likewise.
12514 * time/Makefile (tst-strptime-ENV): Likewise.
12515 (tst-ftime_l-ENV): Likewise.
12516 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12517 (tst-mbrtowc-ENV): Likewise.
12518 (tst-wcrtomb-ENV): Likewise.
12519 (tst-mbrtowc2-ENV): Likewise.
12520 (tst-c16c32-1-ENV): Likewise.
12521 (tst-mbsnrtowcs-ENV): Likewise.
12522
125232014-06-05 Ondřej Bílka <neleai@seznam.cz>
12524
12525 * manual/resource.texi (How to get information about the memory
12526 subsystem?): Fix typo.
12527 Reported by Peon de la Parra Ivan <peon@keba.com>
12528
125292014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12530
12531 [BZ #16882]
12532 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12533 (pthread_spin_lock): Branch out of spin loop to proper location.
12534 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12535 (pthread_spin_lock): Likewise.
12536
12537 * nptl/tst-spin4.c: New test.
12538 * nptl/Makefile (tests): Add tst-spin4.
12539
125402014-06-03 Andreas Schwab <schwab@suse.de>
12541
12542 [BZ #15946]
12543 * resolv/res_send.c (send_dg): Reload file descriptor after
12544 calling reopen.
12545
125462014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12547
12548 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12549
125502014-06-03 Richard Henderson <rth@redhat.com>
12551
12552 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12553 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12554 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12555 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12556 in the SAVE_PID block.
12557 (__libc_vfork): New alias.
12558 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12559
12560 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12561 child in registers, not on the stack. Remove RESET_PID conditionals.
12562 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12563
125642014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12565
12566 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12567
125682014-06-03 Wilco <wdijkstr@arm.com>
12569
12570 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12571 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12572 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12573 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12574 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12575 Likewise.
12576
125772014-06-03 Wilco <wdijkstr@arm.com>
12578
12579 * sysdeps/aarch64/fpu/math_private.h
12580 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12581 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12582 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12583 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12584 Fix declarations.
12585
125862014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12587
12588 * crypt/crypt-private.h: Include ufc-crypt.h.
12589 (__b64_from_24bit): Declare extern.
12590 * crypt/crypt_util.c(__b64_from_24bit): New function.
12591 (b64t): New static const variable.
12592 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12593 (b64t): Remove variable.
12594 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12595 * crypt/sha256-crypt.c: Include crypt-private.h.
12596 (b64t): Remove variable.
12597 (__sha256_crypt_r): Remove b64_from_24bit and replace
12598 with __b64_from_24bit.
12599 * crypt/sha512-crypt.c: Likewise.
12600
126012014-06-02 Roland McGrath <roland@hack.frob.com>
12602
12603 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12604 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12605 Label the code __libc_vfork rather than __vfork.
12606 [!NOT_IN_libc] (vfork): Define as weak alias.
12607 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12608 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12609 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12610
126112014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12612
12613 * malloc/malloc.c (malloc_info): Fix format specifier for
12614 n_mmaps.
12615
126162014-06-02 Wilco <wdijkstr@arm.com>
12617
12618 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12619 FPCR write.
12620
126212014-06-02 Wilco <wdijkstr@arm.com>
12622
12623 [BZ #17009]
12624 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12625 Rewrite to reduce FPCR/FPSR accesses.
12626
126272014-06-01 David S. Miller <davem@davemloft.net>
12628
12629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12630
126312014-05-31 David S. Miller <davem@davemloft.net>
12632
12633 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12634 to occur in round to nearest mode when |x| >= 2.0
12635
126362014-05-30 Richard Henderson <rth@twiddle.net>
12637
12638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12639 (PSEUDO_RET_NOERRNO): Remove.
12640 (ret): Don't redefine.
12641 (ret_NOERRNO): Define in terms of ret.
12642 (ret_ERRVAL): Likewise.
12643
12644 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12645 use of PSEUDO_RET; perform the error check directly.
12646
126472014-05-30 Marko Myllynen <myllynen@redhat.com>
12648
12649 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12650 with __int128_t.
12651
126522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12653
12654 * malloc/malloc (malloc_info): Fix formatting.
12655
126562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12657 Roland McGrath <roland@hack.frob.com>
12658
12659 * malloc/malloc (malloc_info): Also print mmapped statistics.
12660
126612014-05-30 Roland McGrath <roland@hack.frob.com>
12662
12663 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12664 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12665
126662014-05-30 Ondřej Bílka <neleai@seznam.cz>
12667
12668 * malloc/malloc.c (malloc_info): Inline mi_arena.
12669
126702014-05-29 Richard Henderson <rth@twiddle.net>
12671
12672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12673 Remove comma before expanding ASM_ARGS_##nr.
12674 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12675 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12676 of ASM_ARGS_##nr.
12677 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12678 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12679 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12680 (ASM_ARGS_1): Add leading comma.
12681
12682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12683 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12684 to __errno_location.
12685 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12686 Remove the expected plt for __errno_location.
12687
12688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12689 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12690 call to __read_tp.
12691
12692 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12693 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12694 it and break it down.
12695 (DOCARGS_0, DOCARGS_1): Do nothing.
12696 (DOCARGS_2): Update to store into the new stack frame.
12697 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12698 (UNDOCARGS_1): Update to restore from the new stack frame.
12699 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12700 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12701
12702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12703 (SINGLE_THREAD_P): New parameter for result regno.
12704 (PSEUDO): Update to match; use cbz instead of beq.
12705
12706 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12707 Use ENTRY to define the _nocancel entry point. Share the syscall
12708 and syscall error check paths with the cancel path.
12709 (PSEUDO_END): New.
12710
12711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12712 whitespace; tabs before and after asm mnemonics.
12713
127142014-05-29 Eric Wong <normalperson@yhbt.net>
12715
12716 [BZ #15132]
12717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12718 Call fstat64 or stat64 internally, depending on arguments passed.
12719 Replace stat buffer argument with file descriptor argument.
12720 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12721 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12722 Pass fd to __internal_statvfs instead of calling fstat64.
12723 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12724 Pass fd to __internal_statvfs64 instead of calling fstat64.
12725 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12726 Pass -1 to __internal_statvfs instead of calling stat64.
12727 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12728 Pass -1 to __internal_statvfs64 instead of calling stat64.
12729
127302014-05-28 Roland McGrath <roland@hack.frob.com>
12731
12732 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12733 that was previously under [RESET_PID].
12734 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12735
12736 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12737 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12738
127392014-05-27 Roland McGrath <roland@hack.frob.com>
12740
12741 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12742
12743 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12744 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12745
127462014-05-27 Ondřej Bílka <neleai@seznam.cz>
12747
12748 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12749
127502014-05-27 Andreas Schwab <schwab@suse.de>
12751
12752 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12753 TLS_INIT_TP macro.
12754 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12755 * elf/rtld.c (init_tls, dl_main): Likewise.
12756 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12757 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12758 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12759 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12760 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12761 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12762 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12763 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12764 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12765 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12766 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12767 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12768 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12769 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12770 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12771 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12772 * sysdeps/generic/tls.h: Update description.
12773
127742014-05-27 Will Newton <will.newton@linaro.org>
12775
12776 [BZ #16990]
12777 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12778 and restore r2 rather than just restoring.
12779
127802014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12781
12782 [BZ #16724]
12783 * libio/tst-ftell-append.c: New test case.
12784 * libio/Makefile (tests): Add test case.
12785 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12786 append mode.
12787 * libio/wfileops.c (do_ftell_wide): Likewise.
12788
127892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12790
12791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12792
12793 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12794 ...
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12797 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12798 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12799 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12800 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12801 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12802 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12804 Moved ...
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12807 Moved ...
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12809 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12810 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12811 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12812 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12813 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12814 ...
12815 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12816 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12817 Moved ...
12818 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12819 here.
12820 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12821 ...
12822 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12823 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12824 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12825
12826 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12827 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12829 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12830
12831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12832 merge into ...
12833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12835 ...
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12838 ...
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12841 Moved ...
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12843 here.
12844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12845 Moved ...
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12848 Moved ...
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12850
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12852 conditional [RESET_PID].
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12855 removed.
12856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12857 removed.
12858
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12860 <tcb-offsets.h>.
12861 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12862 (__libc_vfork): New strong alias.
12863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12864 removed.
12865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12866 Removed.
12867
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12869 <tcb-offsets.h>.
12870 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12871 (__libc_vfork): New strong alias.
12872 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12873 removed.
12874 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12875 removed.
12876
128772014-05-26 Carlos O'Donell <carlos@redhat.com>
12878
12879 * malloc/malloc.c (mi_arena): New function.
12880 (malloc_info): Remove nested function mi_arena. Call non-nosted
12881 function mi_arena.
12882
128832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12884
12885 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12886 by insrwi.
12887 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12888 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12889 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12890 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12891 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12892 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12894
128952014-05-26 Andreas Schwab <schwab@suse.de>
12896
12897 [BZ #16984]
12898 * locale/programs/repertoire.c (repertoire_read): Add slash
12899 between I18NPATH element and file name.
12900 * locale/programs/locfile.c (locfile_read): Likewise.
12901
129022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12903
12904 * nptl/pthread_mutexattr_settype.c
12905 (__pthread_mutexattr_settype):
12906 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12907
129082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12909
12910 * nptl/tst-mutex5 (do_test):
12911 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12912
129132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12914
12915 * benchtests/README: Document 'init' directive.
12916 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12917 BENCH_INIT.
12918 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12919 (parse_file): Recognize 'init' directive.
12920
129212014-05-26 Kyle McMartin <kyle@redhat.com>
12922
12923 [BZ #16796]
12924 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12925 alignment of struct pthread.
12926
129272014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12928
12929 [BZ #16878]
12930 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12931 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12932 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12933 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12934
129352014-05-25 Richard Henderson <rth@twiddle.net>
12936
12937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12938 (SINGLE_THREAD_P_PIC): Remove.
12939 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12940 (SINGLE_THREAD_P_PIC): Remove.
12941
12942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12943 branch to syscall error ...
12944 (PSEUDO): ... here.
12945 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12946 from __local_syscall_error to .Lsyscall_error.
12947 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12948 (SYSCALL_ERROR): Update label name.
12949
12950 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12951 Do not use DOARGS/UNDOARGS.
12952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12953 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12954 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12955 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12956 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12957
12958 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12959 block comment.
12960
12961 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12962 define if !NOT_IN_libc.
12963 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12964 define with non-default symbol versions.
12965
129662014-05-23 Richard Henderson <rth@twiddle.net>
12967
12968 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12969 (vfork, __vfork): Define via compat_symbol.
12970
12971 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12972 [!HAVE_IFUNC] (vfork_compat): Remove.
12973 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12974
129752014-05-23 Joseph Myers <joseph@codesourcery.com>
12976
12977 [BZ #16978]
12978 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12979 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12980 variable.
12981
129822014-05-23 Richard Henderson <rth@twiddle.net>
12983
12984 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12985 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12986 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12987 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12988
12989 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12990 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12991 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12992 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12993 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12994 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12995 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12996 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12997 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12998 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12999 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13000 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13001 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13002 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13003 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13004 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13005 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13006 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13007 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13008 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13009 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13010 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13011 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13012 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13013 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13014 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13015 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13016 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13017 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13018 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13019 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13020 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13021 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13022 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13023 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13024 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13025 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13026 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13027 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13028 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13029 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13031 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13032 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13033 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13034 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13036 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13037 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13038 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13039 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13040 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13041 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13042 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13043 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13044 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13045
13046 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13047 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13048 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13049 before exiting on error.
13050 (__libc_vfork): New strong alias.
13051 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13052 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13053
13054 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13055 that was previously under [RESET_PID].
13056 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13057
13058 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13059
130602014-05-23 Joseph Myers <joseph@codesourcery.com>
13061
13062 [BZ #16977]
13063 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13064 value when x - 1 is zero.
13065 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13066 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13067 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13068 0.0L for an argument of 1.0L.
13069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13070 Likewise.
13071 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13072 value when x - 1 is zero.
13073 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
130772014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13078
13079 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13080 alphasort and versionsort.
13081
130822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13083
13084 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13085 macro.
13086 [copysignf]: Likewise.
13087
130882014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13089
13090 * crypt/md5-crypt.c: Fix formatting.
13091
130922014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13093
13094 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13095 (b64_from_24bit): New function.
13096
130972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13098
13099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13100 libc_hidden_builtin_def to ifunc.
13101 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13102 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13103
131042014-05-21 Roland McGrath <roland@hack.frob.com>
13105
13106 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13107 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13108
131092014-05-21 Joseph Myers <joseph@codesourcery.com>
13110
13111 * nscd/Depend (linuxthreads): Remove.
13112 (nptl): Add.
13113 * resolv/Depend (linuxthreads): Remove.
13114 * rt/Depend (linuxthreads): Remove.
13115
13116 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13117 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13118 $(common-objpfx)elf/.
13119 (link-libc-before-gnulib): Likewise.
13120 (elfobjdir): Remove variable.
13121 * Makefile (install): Use $(elf-objpfx) instead of
13122 $(common-objpfx)elf/.
13123 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13124 $(elfobjdir)/.
13125 (link-libc-deps): Likewise.
13126 ($(common-objpfx)libc.so): Likewise.
13127 ($(common-objpfx)linkobj/libc.so): Likewise.
13128 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13129 instead of $(common-objpfx)elf/.
13130 (symbolic-link-list): Likewise.
13131 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13132 [$(cross-compiling) = no]: Likewise.
13133 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13134 $(elfobjdir)/.
13135 (static-gnulib-arch): Likewise.
13136 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13137 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13138 $(common-objpfx)elf/.
13139
131402014-05-21 Richard Henderson <rth@redhat.com>
13141
13142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13143 (SINGLE_THREAD_P): Use the correct width load. Fold
13144 into the ldr offset.
13145
13146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13147 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13148
131492014-05-20 Joseph Myers <joseph@codesourcery.com>
13150
13151 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13152 (libgcc_s_resume): Use __attribute_used__.
13153 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13154 Likewise.
13155
131562014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13157
13158 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13159 optimization when used with float constants.
13160
13161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13162
131632014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13164
13165 [BZ #16915]
13166 * locale/nl_langinfo_l.c: Make direct reference to every
13167 _nl_current_CATEGORY symbol.
13168 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13169 (tests-static): Add tst-langinfo-static.
13170 (tests-special): Add tst-langinfo-static.out.
13171 ($(objpfx)tst-langinfo.out): Redirect output.
13172 ($(objpfx)tst-langinfo-static.out): New.
13173 * localedata/tst-langinfo.sh: Send output to stdout.
13174 * localedata/tst-langinfo-static.c: New file.
13175
13176 [BZ #16965]
13177 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13178 when the shift amount is modulo the limb size.
13179
131802014-05-20 Richard Henderson <rth@redhat.com>
13181
13182 [BZ #16967]
13183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13184 Change type of sa_flags from unsigned int to int.
13185
13186 [BZ #16966]
13187 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13188
13189 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13190
131912014-05-20 Will Newton <will.newton@linaro.org>
13192
13193 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13194 Test the return value of the system call in the nocancel case.
13195
131962014-05-20 Will Newton <will.newton@linaro.org>
13197 Yvan Roux <yvan.roux@linaro.org>
13198
13199 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13200 #include of asm/ptrace.h.
13201 (PTRACE_GET_THREAD_AREA): Remove #undef.
13202 (PTRACE_GETHBPREGS): Likewise.
13203 (PTRACE_SETHBPREGS): Likewise.
13204 (struct user_regs_struct): New structure.
13205 (struct user_fpsimd_struct): New structure.
13206 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13207 #include of asm/ptrace.h and second #include of sys/user.h.
13208 (PTRACE_GET_THREAD_AREA): Remove #undef.
13209 (PTRACE_GETHBPREGS): Likewise.
13210 (PTRACE_SETHBPREGS): Likewise.
13211 (ELF_NGREG): Use new struct user_regs_struct.
13212 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13213
132142014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13215
13216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13218
132192014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13220
13221 [BZ #16958]
13222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13223 membar to avoid block loads/stores to overlap previous stores.
13224
132252014-05-17 Richard Henderson <rth@redhat.com>
13226
13227 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13228 Create the __##syscall_name##_nocancel entry point.
13229 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13230 Remove; let the sysdep-cancel.h code create it.
13231
132322014-05-17 David S. Miller <davem@davemloft.net>
13233
13234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13235 Protect with __USE_GNU.
13236 (TIOCSET_TEMPT): Likewise.
13237 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13238 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13239 these are already provided in bits/ioctl-types.h
13240
132412014-05-16 Roland McGrath <roland@hack.frob.com>
13242
13243 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13244 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13245
13246 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13247 Use wait4 regardless of [__NR_waitpid].
13248
132492014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13250
13251 PR libgcc/60166
13252 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13253 (_FP_NANSIGN_Q): Set the quiet bit.
13254
132552014-05-16 Joseph Myers <joseph@codesourcery.com>
13256
13257 * benchtests/Makefile
13258 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13259 not $(common-objpfx)math/libm.so.
13260 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13261 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13262 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13263 $(common-objpfx)dlfcn/libdl.so.
13264 ($(objpfx)tst-audit8): Depend on $(libm), not
13265 $(common-objpfx)math/libm.so.
13266 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13267 not $(common-objpfx)dlfcn/libdl.so.
13268 * math/Makefile
13269 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13270 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13271 [$(build-shared) = yes].
13272 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13273 $(common-objpfx)nptl/libpthread.so.
13274 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13275 $(common-objpfx)math/libm.so$(libm.so-version) or
13276 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13277 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13278 $(common-objpfx)dlfcn/libdl.so.
13279 * setjmp/Makefile (link-libm): Remove variable.
13280 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13281 * stdio-common/Makefile (link-libm): Remove variable.
13282 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13283 * stdlib/Makefile (link-libm): Remove variable.
13284 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13285 ($(objpfx)tst-strtod-round): Likewise.
13286 ($(objpfx)tst-tininess): Likewise.
13287 ($(objpfx)tst-strtod-underflow): Likewise.
13288 ($(objpfx)tst-strtod6): Likewise.
13289 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13290 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13291 $(common-objpfx)dlfcn/libdl.so.
13292
132932014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13294
13295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13296 BSD terminal modes definitions.
13297
132982014-05-16 Roland McGrath <roland@hack.frob.com>
13299
13300 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13301 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13302
13303 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13304 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13305 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13306 Don't do #include_next.
13307 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13308 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13309 Don't do #include_next.
13310 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13311 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13312 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13313 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13314
133152014-05-16 Allan McRae <allan@archlinux.org>
13316
13317 * po/sv.po: Update Swedish translation from translation project.
13318
13319 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13320 in sed expression.
13321
133222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13323
13324 [BZ #16917]
13325 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13326 errno if the TIOCGPTN ioctl fails with an error different than
13327 EINVAL.
13328 * login/tst-ptsname.c: New file.
13329 * login/Makefile (tests): Add tst-ptsname.
13330
13331 [BZ #16943]
13332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13333 and prlimit64.
13334
133352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13336
13337 [BZ #16849]
13338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13339 herrno to return EAI_AGAIN.
13340
133412014-05-14 Roland McGrath <roland@hack.frob.com>
13342
13343 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13344 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13345 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13346 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13347 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13348 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13349 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13350 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13352 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13353 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13354 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13355 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13356 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13357 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13358 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13359 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13360 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13361 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13362 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13363 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13364 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13365 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13366 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13367 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13368 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13369 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13370 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13371 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13372 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13374 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13378 Moved ...
13379 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13381 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13385 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13387 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13389 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13391 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13393 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13395 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13397 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13399 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13401 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13403 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13405 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13407 Moved ...
13408 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13410 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13412 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13414 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13416 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13420 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13428 Moved ...
13429 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13432
13433 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13434 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13435 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13436 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13437 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13438 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13439 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13440 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13441 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13442 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13443 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13444 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13445 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13446 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13447 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13448 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13449 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13451 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13453 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13454 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13455 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13457 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13458 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13459 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13460 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13461 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13462 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13463 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13464
13465 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13466 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13467
13468 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13469 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13470 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13472 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13474 Moved ...
13475 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13477 Moved ...
13478 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13480 Moved ...
13481 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13483 Moved ...
13484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13485 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13486 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13487 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13488 Moved ...
13489 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13490 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13491 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13493 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13494 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13495 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13497 Moved ...
13498 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13500 Moved ...
13501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13502 ... here.
13503 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13504 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13506 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13507 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13508 Moved ...
13509 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13510 ... here.
13511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13512 Moved ...
13513 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13514 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13515 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13516 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13517 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13519 Moved ...
13520 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13522 Moved ...
13523 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13525 Moved ...
13526 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13528 Moved ...
13529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13530 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13531 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13532 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13533 Moved ...
13534 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13535 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13536 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13538 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13540 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13542 Moved ...
13543 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13545 Moved ...
13546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13547 ... here.
13548 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13549 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13551 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13552 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13553 Moved ...
13554 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13555 ... here.
13556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13557 Moved ...
13558 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13559 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13560 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13561 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13562 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13563 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13564 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13566 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13567 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13568 Moved ...
13569 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13571 Moved ...
13572 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13574 Moved ...
13575 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13577 Moved ...
13578 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13579 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13580 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13581 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13582 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13583 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13584 Moved ...
13585 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13586 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13587 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13588 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13589 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13590 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13591 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13593 Moved ...
13594 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13596 Moved ...
13597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13598 ... here.
13599 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13600 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13601 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13602 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13603 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13604 Moved ...
13605 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13606 ... here.
13607 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13608 Moved ...
13609 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13610 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13611 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13612 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13613 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13614 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13615 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13616 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13617 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13618 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13619 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13620
13621 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13622 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13623
13624 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13625 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13626
13627 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13628 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13629 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13630 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13631 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13632 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13633 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13634 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13635 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13636 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13638 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13639 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13641 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13643 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13645 Moved ...
13646 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13648 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13649 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13650 Moved ...
13651 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13653 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13655 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13659 Moved ...
13660 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13662 Moved ...
13663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13667 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13669 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13670 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13671 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13672 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13673 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13674 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13675 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13676 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13677 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13678 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13679 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13680
13681 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13682 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13683 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13684 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13685 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13686
13687 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13688 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13689 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13690 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13691 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13692 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13693 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13694 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13695 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13696 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13697
13698 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13699 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13700
13701 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13702 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13703 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13704 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13706 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13707 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13708 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13709 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13710 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13711 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13712 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13713 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13714 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13716 Update #include.
13717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13718 Likewise.
13719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13720 Likewise.
13721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13722 Likewise.
13723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13724 Likewise.
13725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13726 Likewise.
13727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13728 Likewise.
13729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13730 Likewise.
13731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13732 Likewise.
13733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13734 Likewise.
13735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13742 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13744 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13745 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13747 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13748 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13749 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13750
13751 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13752 that was previously under [RESET_PID].
13753 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13754 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13755 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13756
13757 * sysdeps/i386/nptl/Implies: New file.
13758 * sysdeps/x86_64/nptl/Implies: New file.
13759 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13760 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13761 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13762 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13763
13764 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13765 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13766 (__libc_vfork): New strong alias.
13767 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13768 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13769
13770 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13771 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13772 (__libc_vfork): New strong alias.
13773 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13774 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13775
13776 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13777 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13778 (__libc_vfork): New strong alias.
13779 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13780 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13781 * nptl/pt-vfork.c: New file.
13782 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13783 (libpthread: GLIBC_2.20): New version set (empty).
13784
137852014-05-14 Will Newton <will.newton@linaro.org>
13786
13787 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13788 rather than #if.
13789
137902014-05-14 Joseph Myers <joseph@codesourcery.com>
13791
13792 [BZ #16564]
13793 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13794 arguments with exponent 65 or above.
13795 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13796 arguments 0x1p113L or above.
13797 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13798 to arguments 0x1p107L or above.
13799 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13800 positive arguments with exponent 65 or above.
13801 * math/auto-libm-test-in: Add more tests of log1p.
13802 * math/auto-libm-test-out: Regenerated.
13803
13804 [BZ #16928]
13805 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13806 non-finite arguments is +0.
13807 * math/s_cacosf.c (__cacosf): Likewise.
13808 * math/s_cacosl.c (__cacosl): Likewise.
13809 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13810 * sysdeps/i386/fpu/libm-test-ulps: Update.
13811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13812
13813 [BZ #16927]
13814 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13815 value.
13816 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13817 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13818 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13819 for explicit high bit of mantissa when testing for argument equal
13820 to 1.
13821 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13822 * sysdeps/i386/fpu/libm-test-ulps: Update.
13823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13824
13825 [BZ #16516]
13826 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13827 (__erf): Scale by 16 instead of 8 in potentially underflowing
13828 case. Ensure exception if result actually underflows.
13829 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13830 (__erff): Scale by 16 instead of 8 in potentially underflowing
13831 case. Ensure exception if result actually underflows.
13832 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13833 (efx8): Remove variable.
13834 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13835 case. Ensure exception if result actually underflows.
13836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13837 (efx8): Remove variable.
13838 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13839 case. Ensure exception if result actually underflows.
13840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13841 (efx8): Remove variable.
13842 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13843 case. Ensure exception if result actually underflows.
13844 * math/auto-libm-test-in: Add more tests of erf.
13845 * math/auto-libm-test-out: Regenerated.
13846
138472014-05-14 Andreas Schwab <schwab@suse.de>
13848
13849 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13850 Remove code conditionalized on USE___THREAD.
13851
13852 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13853 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13854 not definedness.
13855
138562014-05-14 Joseph Myers <joseph@codesourcery.com>
13857
13858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13859 Define unconditionally.
13860 (__ASSUME_O_CLOEXEC): Likewise.
13861 (__ASSUME_SOCK_CLOEXEC): Likewise.
13862 (__ASSUME_IN_NONBLOCK): Likewise.
13863 (__ASSUME_PIPE2): Likewise.
13864 (__ASSUME_EVENTFD2): Likewise.
13865 (__ASSUME_SIGNALFD4): Likewise.
13866 (__ASSUME_DUP3): Likewise.
13867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13868 (__ASSUME_DUP3): Do not define.
13869 (__ASSUME_EVENTFD2): Likewise.
13870 (__ASSUME_IN_NONBLOCK): Likewise.
13871 (__ASSUME_O_CLOEXEC): Likewise.
13872 (__ASSUME_PIPE2): Likewise.
13873 (__ASSUME_SIGNALFD4): Likewise.
13874 (__ASSUME_SOCK_CLOEXEC): Likewise.
13875 (__ASSUME_UTIMES): Undefine.
13876 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13877 (__ASSUME_UTIMES): Do not define.
13878 (__ASSUME_O_CLOEXEC): Likewise.
13879 (__ASSUME_SOCK_CLOEXEC): Likewise.
13880 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13881 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13882 0x020621].
13883 (__ASSUME_PIPE2): Likewise.
13884 (__ASSUME_EVENTFD2): Likewise.
13885 (__ASSUME_SIGNALFD4): Likewise.
13886 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13887 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13888 Do not define.
13889 (__ASSUME_EVENTFD2): Likewise.
13890 (__ASSUME_SIGNALFD4): Likewise.
13891 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13892 (__ASSUME_32BITUIDS): Likewise.
13893 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13894 (__ASSUME_IPC64): Likewise.
13895 (__ASSUME_ST_INO_64_BIT): Likewise.
13896 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13897 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13898 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13899 (__ASSUME_UTIMES): Do not define.
13900 (__ASSUME_PSELECT): Likewise.
13901 (__ASSUME_PPOLL): Likewise.
13902 (__ASSUME_O_CLOEXEC): Likewise.
13903 (__ASSUME_SOCK_CLOEXEC): Likewise.
13904 (__ASSUME_IN_NONBLOCK): Likewise.
13905 (__ASSUME_PIPE2): Likewise.
13906 (__ASSUME_EVENTFD2): Likewise.
13907 (__ASSUME_SIGNALFD4): Likewise.
13908 (__ASSUME_DUP3): Likewise.
13909 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13910 (__ASSUME_UTIMES): Likewise.
13911 (__ASSUME_O_CLOEXEC): Likewise.
13912 (__ASSUME_SOCK_CLOEXEC): Likewise.
13913 (__ASSUME_IN_NONBLOCK): Likewise.
13914 (__ASSUME_PIPE2): Likewise.
13915 (__ASSUME_EVENTFD2): Likewise.
13916 (__ASSUME_SIGNALFD4): Likewise.
13917 (__ASSUME_DUP3): Likewise.
13918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13919 (__ASSUME_UTIMES): Likewise.
13920 (__ASSUME_O_CLOEXEC): Likewise.
13921 (__ASSUME_SOCK_CLOEXEC): Likewise.
13922 (__ASSUME_IN_NONBLOCK): Likewise.
13923 (__ASSUME_PIPE2): Likewise.
13924 (__ASSUME_EVENTFD2): Likewise.
13925 (__ASSUME_SIGNALFD4): Likewise.
13926 (__ASSUME_DUP3): Likewise.
13927 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13928 Likewise.
13929 (__ASSUME_UTIMES): Likewise.
13930 (__ASSUME_EVENTFD2): Likewise.
13931 (__ASSUME_SIGNALFD4): Likewise.
13932 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13933 (__ASSUME_O_CLOEXEC): Likewise.
13934 (__ASSUME_SOCK_CLOEXEC): Likewise.
13935 (__ASSUME_IN_NONBLOCK): Likewise.
13936 (__ASSUME_PIPE2): Likewise.
13937 (__ASSUME_EVENTFD2): Likewise.
13938 (__ASSUME_SIGNALFD4): Likewise.
13939 (__ASSUME_DUP3): Likewise.
13940 (__ASSUME_UTIMES): Undefine.
13941
13942 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13943 feclearexcept. Remove symbol versioning code.
13944 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13945 symbol versioning code.
13946 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13947 symbol versioning code.
13948 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13949 feupdateenv. Remove symbol versioning code.
13950 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13951 fegetexceptflag. Remove symbol versioning code.
13952 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13953 fesetexceptflag. Remove symbol versioning code.
13954 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13955 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13956 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13957 (__posix_fadvise64_l32): Remove prototype.
13958 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13959 code.
13960
139612014-05-13 Roland McGrath <roland@hack.frob.com>
13962
13963 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13964 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13965 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13966 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13967
139682014-05-13 Sami Kerola <kerolasa@iki.fi>
13969
13970 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13971 current working directory
13972
139732014-05-13 Roland McGrath <roland@hack.frob.com>
13974
13975 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13976 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13977 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13978 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13979 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13980 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13981 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13982 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13983 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13984 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13985 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13988 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13989 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13990 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13991 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13992 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13993 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13994 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13995 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13996 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13997 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13998 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13999 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14000 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14001 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14002 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14003 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14004 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14005 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14006 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14007 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14008 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14009 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14010 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14011 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14012 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14013 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14014 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14015 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14016 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14017
14018 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14019 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14020
14021 * sysdeps/unix/sysv/linux/arm/Makefile
14022 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14023 Add rt-aeabi_unwind_cpp_pr1.
14024 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14025 Add nptl-aeabi_unwind_cpp_pr1.
14026 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14027 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14028 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14029 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14030 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14031 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14032
14033 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14034 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14035 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14036 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14037
14038 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14039 Deconditionalize the code that was previously under [RESET_PID].
14040 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14041
14042 * sysdeps/generic/exit-thread.h: New file.
14043 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14044 * include/unistd.h (__exit_thread): Remove declaration.
14045 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14046 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14047 * csu/libc-start.c: Include <exit-thread.h>.
14048 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14049 * nptl/pthread_create.c: Include <exit-thread.h>.
14050 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14051 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14052 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14053 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14054 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14055 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14056 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14057 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14058 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14059 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14060 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14061 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14062 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14063 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14064 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14065 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14066 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14067
140682014-05-13 Andreas Schwab <schwab@suse.de>
14069
14070 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14071
140722014-05-12 Joseph Myers <joseph@codesourcery.com>
14073
14074 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14075 (__ASSUME_UTIMES): Do not condition on kernel version.
14076 (__ASSUME_PSELECT): Define unconditionally.
14077 (__ASSUME_PPOLL): Likewise.
14078 (__ASSUME_ATFCTS): Likewise.
14079 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14080 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14081 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14082 (__ASSUME_UTIMENSAT): Define unconditionally.
14083 (__ASSUME_PRIVATE_FUTEX): Likewise.
14084 (__ASSUME_FALLOCATE): Likewise.
14085 (__ASSUME_O_CLOEXEC): Likewise.
14086 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14087 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14088 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14089 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14090 (__ASSUME_IN_NONBLOCK): Likewise.
14091 (__ASSUME_PIPE2): Likewise.
14092 (__ASSUME_EVENTFD2): Likewise.
14093 (__ASSUME_SIGNALFD4): Likewise.
14094 (__ASSUME_DUP3): Likewise.
14095 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14096 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14097 (__ASSUME_AT_RANDOM): Likewise.
14098 (__ASSUME_PREADV): Likewise.
14099 (__ASSUME_PWRITEV): Likewise.
14100 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14101 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14102 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14103 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14104 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14105 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14106 (__ASSUME_O_CLOEXEC): Define unconditionally.
14107 (__ASSUME_PSELECT): Do not undefine conditionally.
14108 (__ASSUME_PPOLL): Likewise.
14109 (__ASSUME_ATFCTS): Likewise.
14110 (__ASSUME_SET_ROBUST_LIST): Likewise.
14111 (__ASSUME_UTIMENSAT): Likewise.
14112 (__ASSUME_FDATASYNC): Define unconditionally.
14113 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14114 (__ASSUME_SIGFRAME_V2): Likewise.
14115 )__ASSUME_EVENTFD2): Likewise.
14116 (__ASSUME_SIGNALFD4): Likewise.
14117 (__ASSUME_PSELECT): Do not undefine conditionally.
14118 (__ASSUME_PPOLL): Likewise.
14119 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14120 (__ASSUME_PSELECT): Define unconditionally.
14121 (__ASSUME_PPOLL): Likewise.
14122 (__ASSUME_O_CLOEXEC): Likewise.
14123 (__ASSUME_SOCK_CLOEXEC): Likewise.
14124 (__ASSUME_IN_NONBLOCK): Likewise.
14125 (__ASSUME_PIPE2): Likewise.
14126 (__ASSUME_EVENTFD2): Likewise.
14127 (__ASSUME_SIGNALFD4): Likewise.
14128 (__ASSUME_DUP3): Likewise.
14129 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14130 (__ASSUME_O_CLOEXEC): Likewise.
14131 (__ASSUME_SOCK_CLOEXEC): Likewise.
14132 (__ASSUME_IN_NONBLOCK): Likewise.
14133 (__ASSUME_PIPE2): Likewise.
14134 (__ASSUME_EVENTFD2): Likewise.
14135 (__ASSUME_SIGNALFD4): Likewise.
14136 (__ASSUME_DUP3): Likewise.
14137 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14138 (__ASSUME_EVENTFD2): Likewise.
14139 (__ASSUME_SIGNALFD4): Likewise.
14140 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14141
141422014-05-12 Andreas Schwab <schwab@suse.de>
14143
14144 [BZ #16932]
14145 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14146 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14147 than maximum RPC packet size.
14148 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14149 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14150 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14151 (_nss_nis_getservbyport_r): Likewise.
14152
141532014-05-12 Will Newton <will.newton@linaro.org>
14154
14155 * malloc/Makefile (tests): Add tst-mallopt.
14156 * malloc/tst-mallopt.c: New file.
14157
141582014-05-09 Roland McGrath <roland@hack.frob.com>
14159
14160 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14161 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14162
141632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14164
14165 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14166 (tst-tlsmod6.so): Likewise.
14167
141682014-05-09 Roland McGrath <roland@hack.frob.com>
14169
14170 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14171
141722014-05-09 Joseph Myers <joseph@codesourcery.com>
14173
14174 [BZ #16064]
14175 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14176 and <dl-procinfo.h>.
14177 (__fegetenv): Save SSE state in envp->__eip if supported.
14178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14179 envp->__eip if supported.
14180 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14181 and <dl-procinfo.h>.
14182 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14183 __data_offset and __data_selector in environment to 0. Set SSE
14184 state if supported.
14185 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14186 test-fenv-sse.
14187 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14188 -mfpmath=sse.
14189 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14190
141912014-05-09 Will Newton <will.newton@linaro.org>
14192
14193 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14194 and libc_relro_required for ARM.
14195 * sysdeps/arm/preconfigure: Regenerate.
14196
141972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14198 Stefan Liebler <stli@linux.vnet.ibm.com>
14199
14200 * config.make.in (enable-lock-elision): New Makefile variable.
14201 * configure.ac: Likewise.
14202 * configure: Regenerate.
14203 * sysdeps/s390/configure.ac:
14204 Add check for gcc transactions support.
14205 * sysdeps/s390/configure: Regenerate.
14206 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14207 Build elision files if enabled.
14208 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14209 Add lock elision support for s390.
14210 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14211 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14212 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14213 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14214 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14215 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14216 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14217 Likewise.
14218 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14219 Likewise.
14220 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14221 Likewise.
14222 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14223 Likewise.
14224 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14225 (__lll_timedlock_elision, __lll_lock_elision)
14226 (__lll_unlock_elision, __lll_trylock_elision)
14227 (lll_timedlock_elision, lll_lock_elision)
14228 (lll_unlock_elision, lll_trylock_elision): Add.
14229 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14230 (pthread_mutex_t): Add lock elision support for s390.
14231
142322014-05-14 Wilco <wdijkstr@arm.com>
14233
14234 * sysdeps/arm/fclrexcpt.c: Cleanup.
14235 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14236 * sysdeps/arm/feenablxcpt.c: Cleanup.
14237 * sysdeps/arm/fegetenv.c: Cleanup.
14238 * sysdeps/arm/fegetexcept.c: Cleanup.
14239 * sysdeps/arm/fegetround.c: Cleanup.
14240 * sysdeps/arm/feholdexcpt.c: Cleanup.
14241 * sysdeps/arm/fesetenv.c: Cleanup.
14242 * sysdeps/arm/fesetround.c: Cleanup.
14243 * sysdeps/arm/feupdateenv.c: Cleanup.
14244 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14245 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14246 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14247 * sysdeps/arm/ftestexcept.c: Cleanup.
14248 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14249 * sysdeps/arm/setfpucw.c: Cleanup.
14250
142512014-05-09 Will Newton <will.newton@linaro.org>
14252
14253 * sysdeps/arm/armv7/strcmp.S: New file.
14254 * NEWS: Mention addition of ARMv7 optimized strcmp.
14255
142562014-05-08 Roland McGrath <roland@hack.frob.com>
14257
14258 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14259 look for %.ac rather than %.in.
14260
14261 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14262 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14263 * sysdeps/mach/hurd/configure: Regenerated.
14264 * sysdeps/unix/sysv/linux/configure: Regenerated.
14265
14266 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14267
142682014-05-07 Steve Ellcey <sellcey@mips.com>
14269
14270 [BZ# 16922]
14271 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14272 (LONG_SUB): Ditto.
14273 (PTR_SUB): Ditto.
14274
142752014-05-07 Andreas Schwab <schwab@suse.de>
14276
14277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14278 when skipping over non-matching result from nscd.
14279
142802014-05-07 Ondřej Bílka <neleai@seznam.cz>
14281
14282 [BZ #16876]
14283 * nptl/sockperf.c (client): Check socket return value.
14284
14285 [BZ #16877]
14286 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14287 nscd security class.
14288
142892014-05-06 Roland McGrath <roland@hack.frob.com>
14290
14291 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14292 * sysdeps/arm/unwind.h: ... here.
14293
142942014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14295
14296 [BZ# 16916]
14297 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14298 Define.
14299
143002014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14301
14302 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14303 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14304 multiarch strncpy for PPC64.
14305 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14306 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14308 multiarch optimizations.
14309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14310 (__libc_ifunc_impl_list): Likewise.
14311 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14312 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14313 multiarch stpncpy for PPC64.
14314 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14315 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14316
143172014-05-06 Andreas Schwab <schwab@suse.de>
14318
14319 [BZ #16912]
14320 * gmon/mcount.c (_MCOUNT_DECL): Use
14321 atomic_compare_and_exchange_bool_acq instead of
14322 catomic_compare_and_exchange_bool_acq.
14323
143242014-05-05 Roland McGrath <roland@hack.frob.com>
14325
14326 * elf/Makefile (others, install-bin): Remove pldd.
14327 (pldd-modules): Variable removed.
14328 ($(objpfx)pldd): Target removed.
14329 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14330 (others, install-bin): Append pldd here.
14331 ($(objpfx)pldd): New target.
14332
14333 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14334 to 0, so the first #if test emitted later doesn't see it undefined.
14335 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14336 * sysdeps/gnu/errlist.c: Regenerated.
14337
143382014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14339
14340 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14341 [libc_hidden_builtin_def]: Define to empty value.
14342 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14343 [libc_hidden_builtin_def]: Likewise.
14344 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14345 [libc_hidden_builtin_def]: Likewise.
14346 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14347 [libc_hidden_builtin_def]: Likewise.
14348 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14349 __redirect_memcpy and define ifunc as default hidden symbol.
14350 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14351 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14352
143532014-05-04 Adam Conrad <adconrad@0c3.net>
14354
14355 * locale/iso-4217.def: Reintroduce XDR currency.
14356
143572014-05-04 Allan McRae <allan@archlinux.org>
14358
14359 * po/eo.po: Update Esperanto translation from translation project.
14360
143612014-05-02 Carlos O'Donell <carlos@redhat.com>
14362
14363 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14364 and FEATURE_INDEX_MAX to 1.
14365 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14366
143672014-05-01 Steve Ellcey <sellcey@mips.com>
14368
14369 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14370 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14371 * iconvdata/big5.c (ONE_DIRECTION): Define.
14372 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14373 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14374 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14375 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14376 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14377 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14378 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14379 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14380 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14381 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14382 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14383 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14384 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14385 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14386 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14387 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14388 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14389 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14390 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14391 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14392 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14393 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14394 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14395 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14396 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14397 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14398 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14399 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14400 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14401 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14402 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14403 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14404 * iconvdata/johab.c (ONE_DIRECTION): Define.
14405 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14406 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14407 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14408 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14409 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14410 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14411 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14412 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14413 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14414 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14415
144162014-05-01 Roland McGrath <roland@hack.frob.com>
14417
14418 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14419 (_IO_JUMPS_OFFSET): Define to 0.
14420
14421 * nptl/sysdeps/pthread/bits/libc-lock.h
14422 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14423 (__libc_lock_define_initialized_recursive): Always define using
14424 initializer. Modern compilers treat uninitialized (implicit zero) and
14425 explicit zero initializers the same (i.e. put the datum in bss).
14426
144272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14428
14429 * nscd/nscd-client.h: Include <string.h>.
14430
144312014-05-01 David S. Miller <davem@davemloft.net>
14432
14433 [BZ #16885]
14434 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14435 multiple zero bytes exist at the end of a string.
14436 Reported by Aurelien Jarno <aurelien@aurel32.net>
14437
14438 * string/test-strcmp.c (check): Add explicit test for situations where
14439 there are multiple zero bytes after the first.
14440
144412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14442
14443 [BZ #16890]
14444 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14445 when compiling wprintf.
14446 * stdio-common/tstdiomisc.c (t3): New function.
14447 (main): Call it.
14448
144492014-05-01 Steve Ellcey <sellcey@mips.com>
14450
14451 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14452 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14453 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14454 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14455
144562014-05-01 Steve Ellcey <sellcey@mips.com>
14457
14458 * stdlib/longlong.h: Updated from GCC.
14459
144602014-05-01 Will Newton <will.newton@linaro.org>
14461 Bernard Ogden <bernie.ogden@linaro.org>
14462
14463 * NEWS: Update fixed bug list.
14464
14465 [BZ #15119]
14466 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14467
144682014-04-30 David S. Miller <davem@davemloft.net>
14469
14470 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14471 (libc_feholdexcept_setround_sparc_ctx): New function.
14472 (libc_fesetenv_sparc_ctx): Likewise.
14473 (libc_feupdateenv_sparc_ctx): Likewise.
14474 (libc_feholdsetround_sparc_ctx): Likewise.
14475 (libc_feholdexcept_setround_ctx): Define.
14476 (libc_feholdexcept_setroundf_ctx): Likewise.
14477 (libc_feholdexcept_setroundl_ctx): Likewise.
14478 (libc_fesetenv_ctx): Likewise.
14479 (libc_fesetenvf_ctx): Likewise.
14480 (libc_fesetenvl_ctx): Likewise.
14481 (libc_feupdateenv_ctx): Likewise.
14482 (libc_feupdateenvf_ctx): Likewise.
14483 (libc_feupdateenvl_ctx): Likewise.
14484 (libc_feresetround_ctx): Likewise.
14485 (libc_feresetroundf_ctx): Likewise.
14486 (libc_feresetroundl_ctx): Likewise.
14487 (libc_feholdsetround_ctx): Likewise.
14488 (libc_feholdsetroundf_ctx): Likewise.
14489 (libc_feholdsetroundl_ctx): Likewise.
14490
14491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14492 with __USE_GNU instead of XOPEN cpp guards.
14493
14494 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14495 0.
14496
14497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14498 with XOPEN cpp guards.
14499
145002014-04-30 Julian Brown <julian@codesourcery.com>
14501
14502 [BZ #16888]
14503 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14504 handling.
14505
145062014-04-30 Joseph Myers <joseph@codesourcery.com>
14507
14508 [BZ #9894]
14509 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14510 Change to 2.6.32.
14511 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14512 * sysdeps/unix/sysv/linux/configure: Regenerated.
14513 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14514 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14515 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14516 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14517 * README: Update reference to required Linux kernel version.
14518 * manual/install.texi (Linux): Update reference to required Linux
14519 kernel headers version.
14520 * INSTALL: Regenerated.
14521
14522 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14523 header inclusion.
14524 [POSIX] (limits.h): Likewise.
14525 [POSIX] (math.h): Likewise.
14526 [POSIX] (sys/wait.h): Likewise.
14527 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14528 function.
14529 [POSIX] (stddef.h): Do not allow header inclusion.
14530
145312014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14532
14533 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14534
145352014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14536
14537 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14538 Return immediately after lll_futex_wake.
14539
145402014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14541
14542 [BZ #16791]
14543 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14544 structure.
14545 (datahead_init_pos): Call datahead_init_common early.
14546 (datahead_init_neg): Likewise.
14547
14548 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14549 datahead_init_neg): New functions.
14550 * nscd/aicache.c (addhstaiX): Use them.
14551 * nscd/grpcache.c (cache_addgr): Likewise.
14552 * nscd/hstcache.c (cache_addhst): Likewise.
14553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14554 * nscd/netgroupcache.c (do_notfound): Likewise.
14555 (addgetnetgrentX): Likewise.
14556 (addinnetgrX): Likewise.
14557 * nscd/pwdcache.c (cache_addpw): Likewise.
14558 * nscd/servicescache.c (cache_addserv): Likewise.
14559
145602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14561 Atsushi Onoe <atsushi@onoe.org>
14562
14563 [BZ #14308]
14564 [BZ #12994]
14565 [BZ #13651]
14566 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14567 one response is valid.
14568 * resolv/res_send.c (send_dg): Check for validity of other
14569 response if the current response is a referral.
14570
145712014-04-29 Steve Ellcey <sellcey@mips.com>
14572
14573 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14574
145752014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14576
14577 [BZ #16823]
14578 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14579 Always divide by positive zero when computing -Inf result.
14580 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14581 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14582
145832014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14584
14585 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14586 FPSCR if value do not change.
14587 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14588 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14589 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14590 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14591 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14592 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14593 function.
14594
145952014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14596
14597 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14598 * sysdeps/unix/sysv/linux/hppa: Move directory from
14599 ports/systeps/unix/sysv/linux/hppa.
14600 * README: Update listing for hppa-*-linux-gnu.
14601
146022014-04-28 Ondřej Bílka <neleai@seznam.cz>
14603
14604 [BZ #16754]
14605 * manual/stdio.texi (Hook functions): Fix types of stream hook
14606 functions.
14607 [BZ #16854]
14608 * socket/sys/socket.h: Fix typo in comment.
14609
146102014-04-28 Wilco <wdijkstr@arm.com>
14611
14612 * sysdeps/arm/fenv_private.h: New file.
14613 * sysdeps/arm/math_private.h: New file.
14614 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14615
146162014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14619 with __int128_t.
14620 (La_x86_64_retval): Likewise.
14621
146222014-04-24 Ian Bolton <ian.bolton@arm.com>
14623
14624 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14625 fpsr if value didn't change.
14626 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14627 to fpcr if value didn't change.
14628 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14629 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14630 fpsr or fpcr if value didn't change.
14631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14632 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14633 fpcr if value didn't change.
14634 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14635 to fpsr if value didn't change.
14636
146372014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14638
14639 * nptl/tst-sem3.c: Use test-skeleton.c
14640 (main): Rename to do_test. Use return instead of
14641 exit.
14642 * nptl/tst-sem4.c: Use test-skeleton.c
14643 (main): Rename to do_test.
14644
146452014-04-22 David S. Miller <davem@davemloft.net>
14646
14647 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14648 (struct sigaction): New struct member __glibc_reserved0, change
14649 type of sa_flags to int.
14650
146512014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14652
14653 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14654 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14655
146562014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14657
14658 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14659 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14660
146612014-04-22 Will Newton <will.newton@linaro.org>
14662 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14663
14664 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14665 (__longjmp): Add longjmp and longjmp_target SystemTap
14666 probes.
14667 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14668 (__sigsetjmp): Add setjmp SystemTap probe.
14669
146702014-04-17 Carlos O'Donell <carlos@redhat.com>
14671
14672 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14673 match manual order.
14674
146752014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14676
14677 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14678
14679 * sysdeps/powerpc/fpu/fenv_private.h
14680 (libc_feholdexcept_setroundl_ctx): Define to
14681 libc_feholdexcept_setround_ppc_ctx.
14682 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14683 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14684 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14685 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14686
146872014-04-17 Ian Bolton <ian.bolton@arm.com>
14688
14689 * sysdeps/aarch64/math-tests.h: New file.
14690
146912014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14692
14693 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14694 New.
14695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14696 Check and set bit_AVX2_Usable.
14697 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14698 macro.
14699 (bit_AVX2): Likewise.
14700 (index_AVX2_Usable): Likewise.
14701 (CPUID_AVX2): Likewise.
14702 (HAS_AVX2): Likewise.
14703
147042014-04-17 Will Newton <will.newton@linaro.org>
14705
14706 * manual/setjmp.texi (System V contexts): Add note that
14707 calling setcontext on a context created by a call to a
14708 signal handler is undefined. Update text to note that
14709 setcontext from a signal handler is possible but not
14710 recommended.
14711
14712 [BZ #16629]
14713 * stdlib/tst-setcontext.c: Include signal.h.
14714 (main): Check that the signal stack before and
14715 after swapcontext is the same.
14716
14717 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14718 Re-implement to restore registers in user code and avoid
14719 rt_sigreturn system call.
14720
147212014-04-17 Wilco <wdijkstr@arm.com>
14722
14723 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14724 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14725 * math/test-fenv.c: Skip exception trap tests on targets which only
14726 support non-stop mode.
14727
147282014-04-17 Ian Bolton <ian.bolton@arm.com>
14729 Wilco Dijkstra <wilco.dijkstra@arm.com>
14730
14731 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14732 (libc_feholdsetround_aarch64_ctx)
14733 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14734 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14735 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14736 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14737 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14738 (libc_feresetround_noexl_ctx): Define.
14739
147402014-04-16 Richard Henderson <rth@redhat.com>
14741
14742 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14743
14744 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14745 unwind tables.
14746
14747 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14748 const from the non-libc, non-ldso copy.
14749
14750 * sysdeps/alpha/libm-test-ulps: Regenerate.
14751
147522014-04-16 Ian Bolton <ian.bolton@arm.com>
14753 Wilco Dijkstra <wilco.dijkstra@arm.com>
14754
14755 * sysdeps/aarch64/fpu/math_private.h: New file.
14756
147572014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14758
14759 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14760
147612014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14762
14763 [BZ #16275]
14764 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14765 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14767 Intel MPX bound registers before _dl_profile_fixup.
14768 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14769 registers after _dl_profile_fixup. Save and restore bound
14770 registers bnd0/bnd1 when calling _dl_call_pltexit.
14771 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14772 (LR_BND_OFFSET): Likewise.
14773 (LRV_BND0_OFFSET): Likewise.
14774 (LRV_BND1_OFFSET): Likewise.
14775
147762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14777
14778 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14779 to...
14780 * sysdeps/mach/hurd/i386/tls.h: ... here.
14781 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14782 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14783 fields.
14784
147852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14786
14787 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14788
147892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14790
14791 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14792
147932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14794
14795 [BZ #14770]
14796 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14797 * sysdeps/s390/configure: Regenerate.
14798
14799 [BZ #16824]
14800 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14801 Set round-to-nearest internally to reduce error accumulation.
14802
148032014-04-16 Alan Modra <amodra@gmail.com>
14804
14805 [BZ #16740]
14806 [BZ #16619]
14807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14808 * math/libm-test.inc (frexp_test_data): Add tests.
14809 * NEWS: Update fixed bug list.
14810
148112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14812
14813 * benchtests/Makefile: Depend on libraries in build directory.
14814 (bench-math): Separate out math tests.
14815 (bench-pthread): Separate out pthread tests.
14816 (bench): Include math and pthread tests.
14817
148182014-04-14 Carlos O'Donell <carlos@redhat.com>
14819
14820 [BZ #16831]
14821 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14822 _dl_debug_initialize.
14823
14824 * configure.ac: Remove SELinux header check.
14825 * configure: Regenerate.
14826 * nscd/selinux.c (perms): Array of const char* to permission names.
14827 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14828 default policy. Call string_to_security_class and string_to_av_perm to
14829 translate strings. Enforce default policy and call avs_has_perm with
14830 results of translated strings.
14831
148322014-04-13 David S. Miller <davem@davemloft.net>
14833
14834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14835
148362014-04-12 Allan McRae <allan@archlinux.org>
14837
14838 [BZ #16838]
14839 * manual/string.texi (Collation Functions): Fix qsort argument
14840 order in example.
14841 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14842
148432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14844
14845 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14846 Make the test a no-op if there are no exceptions defined.
14847
148482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14849
14850 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14851 enable-hardcoded-path-in-tests
14852
148532014-04-11 Will Newton <will.newton@linaro.org>
14854
14855 * benchtests/Makefile (extra-objs): Add json-lib.o.
14856 (bench-func): Tidy up JSON output.
14857 * benchtests/bench-skeleton.c: Include json-lib.h.
14858 (main): Use JSON library functions to do output of
14859 benchmark results.
14860 * benchtests/bench-timing-type.c (main): Output the
14861 timing type simply, leaving formatting to the user.
14862 * benchtests/json-lib.c: New file.
14863 * benchtests/json-lib.h: Likewise.
14864
148652014-04-11 Torvald Riegel <triegel@redhat.com>
14866
14867 [BZ #15215]
14868 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14869 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14870 memory barriers. Add comments.
14871 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14872 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14873 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14874 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14875 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14876 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14877
148782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14879
14880 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14881 * sysdeps/s390/s390-64/configure.ac: ... this ...
14882 * sysdeps/s390/configure.ac: ... to here.
14883 * sysdeps/s390/s390-32/configure: Delete file.
14884 * sysdeps/s390/s390-64/configure: Delete file.
14885 * sysdeps/s390/configure: Regenerate.
14886
148872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14888
14889 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14890
148912014-04-11 Will Newton <will.newton@linaro.org>
14892
14893 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14894 to zero if it is not defined elsewhere. (mtrim): Test
14895 the value of MALLOC_DEBUG with #if rather than #ifdef.
14896
148972014-04-10 Torvald Riegel <triegel@redhat.com>
14898
14899 * benchtests/pthread_once-inputs: New file.
14900 * benchtests/pthread_once-source.c: New file.
14901 * benchtests/README: Update documentation.
14902
149032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14904 H.J. Lu <hongjiu.lu@intel.com>
14905
14906 [BZ #16275]
14907 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14908 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14909 * sysdeps/x86_64/configure: Regenerated.
14910 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14911 macro.
14912 (REGISTER_SAVE_RAX): Likewise.
14913 (REGISTER_SAVE_RCX): Likewise.
14914 (REGISTER_SAVE_RDX): Likewise.
14915 (REGISTER_SAVE_RSI): Likewise.
14916 (REGISTER_SAVE_RDI): Likewise.
14917 (REGISTER_SAVE_R8): Likewise.
14918 (REGISTER_SAVE_R9): Likewise.
14919 (REGISTER_SAVE_BND0): Likewise.
14920 (REGISTER_SAVE_BND1): Likewise.
14921 (REGISTER_SAVE_BND2): Likewise.
14922 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14923 bound registers when calling _dl_fixup.
14924
149252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14926
14927 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14928 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14929 of its definition.
14930 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14931 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14932 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14933 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14934 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14935 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14936 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14937
149382014-04-09 Peter Brett <peter@peter-b.co.uk>
14939
14940 [BZ #15514]
14941 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14942 pathconf(_PC_NAME_MAX).
14943
149442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14945
14946 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14947 Remove macro usage.
14948 (__PTHREAD_SPINS): Move definition to ...
14949 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14950 (__PTHREAD_SPINS): ... here.
14951 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14952 (__PTHREAD_SPIN): Likewise.
14953 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14954 (__PTHREAD_SPIN): Likewise.
14955 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14956 (__PTHREAD_SPIN): Likewise.
14957 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14958 (__PTHREAD_SPIN): Likewise.
14959 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14960 (__PTHREAD_SPIN): Likewise.
14961 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14962 (__PTHREAD_SPIN): Likewise.
14963 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14964 (__PTHREAD_SPIN): Likewise.
14965 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14966 (__PTHREAD_SPIN): Likewise.
14967 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14968 (__PTHREAD_SPIN): Likewise.
14969 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14970 (__PTHREAD_SPIN): Likewise.
14971 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14972 (__PTHREAD_SPIN): Likewise.
14973 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14974 (__PTHREAD_SPIN): Likewise.
14975
14976 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14977 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14978 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14979 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14980 imply folder.
14981 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14982 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14983 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14984 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14985 correct imply path.
14986 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14987 strlen symbol for non multi-arch builds.
14988 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14989 missing hidden_def and weak_alias.
14990
149912014-04-08 Carlos O'Donell <carlos@redhat.com>
14992
14993 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14994
149952014-04-07 Will Newton <will.newton@linaro.org>
14996
14997 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14998 and contents. [!_LIBC] Remove #ifndef and contents.
14999 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15000 * string/memccpy.c (__memccpy): Use ANSI prototype.
15001 * string/memfrob.c (memfrob): Likewise.
15002 * string/strcoll.c (STRCOLL): Likewise.
15003 * string/strlen.c (strlen): Likewise.
15004 * string/strtok.c (STRTOK): Likewise.
15005 * string/strcat.c: Remove unused #include of memcopy.h.
15006 (strcat): Use ANSI prototype.
15007 * string/strchr.c: Remove unused #include of memcopy.h.
15008 (strchr): Use ANSI prototype.
15009 * string/strcmp.c: Remove unused #include of memcopy.h.
15010 (strcmp): Use ANSI prototype.
15011 * string/strcpy.c: Remove unused #include of memcopy.h.
15012 (strcpy): Use ANSI prototype.
15013
150142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15015
15016 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15017 * config.make.in (config-extra-cppflags): Set it from
15018 libc_extra_cppflags.
15019 * configure.ac (libc_extra_cflags): Make it accumulate over
15020 configure fragments.
15021 (libc_extra_cppflags): New flag.
15022 * configure. Regenerate.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15024 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15025 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15027
15028 [BZ #16815]
15029 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15030 result for FE_DOWNWARD rounding mode.
15031 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15032 Likewise.
15033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15034
150352014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15036
15037 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15038 in function argument name.
15039
150402014-04-03 David Svoboda <svoboda@cert.org>
15041
15042 [BZ #5666]
15043 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15044 explicitly.
15045
150462014-04-03 Roland McGrath <roland@hack.frob.com>
15047
15048 * elf/dl-unmap-segments.h: New file.
15049 * sysdeps/generic/ldsodefs.h
15050 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15051 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15052 * elf/dl-fptr.c: Likewise.
15053 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15054 * sysdeps/aarch64/tlsdesc.c: Likewise.
15055 * sysdeps/arm/tlsdesc.c: Likewise.
15056 * sysdeps/i386/tlsdesc.c: Likewise.
15057 * sysdeps/tile/dl-runtime.c: Likewise.
15058 * sysdeps/x86_64/tlsdesc.c: Likewise.
15059 * elf/dl-load.h: New file.
15060 * elf/dl-load.c: Include it.
15061 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15062 Macros moved to dl-load.h.
15063 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15064 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15065 Use _dl_unmap_segments in place of __munmap.
15066 Break out segment-mapping loop into ...
15067 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15068
150692014-04-03 Will Newton <will.newton@linaro.org>
15070
15071 * elf/dl-lookup.c (do_lookup_x): Remove comment
15072 referring to nested function and move variable
15073 declarations down to before first use.
15074
150752014-04-02 Joseph Myers <joseph@codesourcery.com>
15076
15077 [BZ #16799]
15078 [BZ #16800]
15079 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15080 with 0 numerator.
15081 * math/s_catanf.c (__catanf): Likewise.
15082 * math/s_catanh.c (__catanh): Likewise.
15083 * math/s_catanhf.c (__catanhf): Likewise.
15084 * math/s_catanhl.c (__catanhl): Likewise.
15085 * math/s_catanl.c (__catanl): Likewise.
15086 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15087 by positive zero when computing -Inf result.
15088 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15089 (catanh_test): Likewise.
15090 * sysdeps/i386/fpu/libm-test-ulps: Update.
15091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15092
15093 [BZ #16789]
15094 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15095 instead of using underflowing value in computing result.
15096 * math/s_clog10.c (__clog10): Likewise.
15097 * math/s_clog10f.c (__clog10f): Likewise.
15098 * math/s_clog10l.c (__clog10l): Likewise.
15099 * math/s_clogf.c (__clogf): Likewise.
15100 * math/s_clogl.c (__clogl): Likewise.
15101 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15102 (clog10_test): Likewise.
15103 * sysdeps/i386/fpu/libm-test-ulps: Update.
15104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15105
151062014-04-02 Alan Modra <amodra@gmail.com>
15107
15108 [BZ #16739]
15109 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15110 output when value is near a power of two. Use int64_t for lx and
15111 remove casts. Use decimal rather than hex exponent constants.
15112 Don't use long double multiplication when double will suffice.
15113 * math/libm-test.inc (nextafter_test_data): Add tests.
15114 * NEWS: Add 16739 and 16786 to bug list.
15115
15116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15117
15118 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15119
151202014-04-01 Will Newton <will.newton@linaro.org>
15121
15122 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15123 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15124
151252014-04-01 Florian Weimer <fweimer@redhat.com>
15126
15127 [BZ #13347]
15128 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15129 * nptl/tst-setuid2.c: New file.
15130 * nptl/Makefile (xtests): Add tst-setuid2.
15131
151322014-04-01 Alan Modra <amodra@gmail.com>
15133
15134 [BZ #16786]
15135 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15136
151372014-03-31 Joseph Myers <joseph@codesourcery.com>
15138
15139 [BZ #6803]
15140 [BZ #6804]
15141 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15142 set errno as appropriate.
15143 * math/w_scalbf.c (__scalbf): Likewise.
15144 * math/w_scalbl.c (__scalbl): Likewise.
15145 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15146 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15147 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15148 Add more NaN tests.
15149
15150 [BZ #16349]
15151 * math/w_atan2.c: Include <errno.h>.
15152 (__atan2): Set errno for result underflowing to zero.
15153 * math/w_atan2f.c: Include <errno.h>.
15154 (__atan2f): Set errno for result underflowing to zero.
15155 * math/w_atan2l.c: Include <errno.h>.
15156 (__atan2l): Set errno for result underflowing to zero.
15157 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15158 tests.
15159 * math/auto-libm-test-out: Regenerated.
15160
151612014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15162
15163 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15164 Encode instruction correctly in little endian.
15165 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15166 Likewise.
15167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15168 Likewise.
15169 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15170 Likewise.
15171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15172 Likewise.
15173
151742014-03-31 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #9894]
15177 * sysdeps/unix/sysv/linux/kernel-features.h
15178 [__sparc__ && !__arch64__ && !__sparc_v9__]
15179 (__ASSUME_SET_ROBUST_LIST): Do not define.
15180 [__sparc__ && !__arch64__ && !__sparc_v9__]
15181 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15182 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15183 Likewise.
15184 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15185 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15186 (__ASSUME_REQUEUE_PI): Likewise.
15187 (__ASSUME_SET_ROBUST_LIST): Likewise.
15188 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15189 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15190 Undefine.
15191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15192 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15193 Likewise.
15194 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15195 Likewise.
15196 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15197 Likewise.
15198 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15199 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15200 Undefine.
15201 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15202 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15203 Likewise.
15204
15205 [BZ #16648]
15206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15207 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15208 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15209
152102014-03-31 Will Newton <will.newton@linaro.org>
15211
15212 * benchtests/Makefile (bench): Add ffs and ffsll to list
15213 of tests.
15214 * benchtests/ffs-inputs: New file.
15215 * benchtests/ffsll-inputs: Likewise.
15216
152172014-03-29 Joseph Myers <joseph@codesourcery.com>
15218
15219 [BZ #16770]
15220 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15221 too large before casting to int.
15222 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15223 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15224 * math/libm-test.inc (scalb_test_data): Add more tests.
15225
152262014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15227
15228 * benchtests/Makefile (DETAILED_OPT): New make option.
15229 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15230 set.
15231 * benchtests/bench-skeleton.c: Include stdbool.h.
15232 (main): Store and print timings per input.
15233 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15234 member to each argument value.
15235 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15236 (_print_arg_data): Initialize per-input timing to 0.
15237
15238 * benchtests/Makefile (timing-type): New binary.
15239 (bench-clean): Also remove bench-timing-type.
15240 (bench): New target for timing-type.
15241 (bench-func): Print output in JSON format.
15242 * benchtests/bench-skeleton.c (main): Print output in JSON
15243 format.
15244 * benchtests/bench-timing-type.c: New file.
15245 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15246 (TIMING_PRINT_STATS): Remove.
15247 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15248 name separately.
15249
15250 * benchtests/bench-modf.c: Remove.
15251 * benchtests/modf-inputs: New inputs file.
15252
152532014-03-28 Joseph Myers <joseph@codesourcery.com>
15254
15255 [BZ #16362]
15256 * math/s_clog10.c (M_PI_LOG10E): New macro.
15257 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15258 imaginary parts are 0.
15259 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15260 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15261 imaginary parts are 0.
15262 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15263 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15264 imaginary parts are 0.
15265 * math/libm-test.inc (clog10_test_data): Update expected results
15266 for when real and imaginary parts are 0.
15267
152682014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15269
15270 * elf/dl-load.c: Finish conversion of __builtin_expect into
15271 __glibc_{un}likely.
15272
152732014-03-27 Joseph Myers <joseph@codesourcery.com>
15274
15275 [BZ #16348]
15276 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15277 1+x for argument with exponent below -67.
15278 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15279 Likewise.
15280 * math/auto-libm-test-in: Add more tests of exp.
15281 * math/auto-libm-test-out: Regenerated.
15282
152832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
15285 [BZ #16759]
15286 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15287 (nscd_getnetgrent): Use it.
15288
15289 [BZ #16760]
15290 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15291 of stpcpy.
15292
152932014-03-27 Andi Kleen <ak@linux.intel.com>
15294
15295 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15296 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15297 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15298 (lll_robust_unlock): Remove out of line section. Use cfi
15299 intrinsics.
15300 (LLL_STUB_UNWIND_INFO*): Remove.
15301 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15302 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15303 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15304 (lll_robust_unlock): Remove out of line section. Use cfi
15305 intrinsics.
15306 (LLL_STUB_UNWIND_INFO*): Remove.
15307
153082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15309
15310 [BZ #16758]
15311 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15312 blank values.
15313
153142014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15315
15316 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15317
153182014-03-26 Joseph Myers <joseph@codesourcery.com>
15319
15320 [BZ #16198]
15321 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15322 fnstenv.
15323 * math/test-fenv-preserve.c: New file.
15324 * math/Makefile (tests): Add test-fenv-preserve.
15325
153262014-03-26 Will Newton <will.newton@linaro.org>
15327
15328 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15329
153302014-03-25 Roland McGrath <roland@hack.frob.com>
15331
15332 * scripts/versionlist.awk: Partition the version sets and emit all
15333 GLIBC_* (sorted) before all others (sorted).
15334
153352014-03-25 Joseph Myers <joseph@codesourcery.com>
15336
15337 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15338 GLIBC_2.2.5 version.
15339
153402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15341
15342 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15343 calls.
15344
15345 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15346 previous change.
15347
15348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15349
153502014-03-25 Andreas Schwab <schwab@suse.de>
15351
15352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15353 label to be used after in6ailist is initialized.
15354
153552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15356
15357 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15358 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15359
153602014-03-25 Joseph Myers <joseph@codesourcery.com>
15361
15362 [BZ #16357]
15363 [BZ #16599]
15364 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15365 min_plus_half.
15366 (fp_formats): Update initializers.
15367 (init_fp_formats): Initialize new field.
15368 (output_for_one_input_case): Allow underflow for results up to
15369 min_plus_half.
15370 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15371 * math/auto-libm-test-in: Don't mark some underflows from asin and
15372 atanh as spurious.
15373 * math/auto-libm-test-out: Regenerated.
15374 * sysdeps/i386/fpu/libm-test-ulps: Update.
15375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15376
153772014-03-25 Andreas Schwab <schwab@suse.de>
15378
15379 * libio/Makefile (tst-ftell-partial-wide-ENV)
15380 (tst-ftell-active-handler-ENV): Define.
15381
153822014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15383
15384 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15385
153862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15387
15388 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15389
153902014-03-24 Joseph Myers <joseph@codesourcery.com>
15391
15392 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15393 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15394 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15395
153962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15397
15398 [BZ #16634]
15399 * elf/dl-load.c (open_verify): Add mode parameter.
15400 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15401 (open_path): Change from boolean 'secure' to complete flag 'mode'
15402 (_dl_map_object): Adjust.
15403 * elf/Makefile (tests): Add tst-dlopen-aout.
15404 * elf/tst-dlopen-aout.c: New test.
15405
154062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15407
15408 [BZ #16714]
15409 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15410 (struct stat): Rename member pad0 to __glibc_reserved0.
15411
15412 [BZ #16712]
15413 * sysdeps/s390/s390-32/bits/wordsize.h
15414 (__WORDSIZE32_SIZE_ULONG): New define.
15415 * sysdeps/s390/s390-64/bits/wordsize.h
15416 (__WORDSIZE32_SIZE_ULONG): Likewise.
15417 * sysdeps/generic/stdint.h (SIZE_MAX):
15418 Define as UL if __WORDSIZE32_SIZE_ULONG.
15419
15420 [BZ #16713]
15421 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15422 (__glibc_reserved0): New variable.
15423 (sa_flags): Change type to int.
15424
15425 * posix/Makefile (before-compile): Use += before-compile instead
15426 of a :=.
15427
15428 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15429 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15430
154312014-03-20 Andreas Schwab <schwab@suse.de>
15432
15433 [BZ #16743]
15434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15435 non-matching result from nscd.
15436
154372014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15438
15439 * scripts/bench.py: Moved to ...
15440 * benchtests/scripts/bench.py: ... here.
15441 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15442
154432014-03-24 Andreas Schwab <schwab@suse.de>
15444
15445 [BZ #16002]
15446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15447 alloca_account and account alloca use for struct in6ailist.
15448
154492014-03-24 Joseph Myers <joseph@codesourcery.com>
15450
15451 [BZ #16284]
15452 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15453 rounding mode to recompute results that overflow to infinity or
15454 underflow to zero.
15455 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15456 bug 16284.
15457 * math/auto-libm-test-out: Regenerated.
15458 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15459 (ccosh_test): Likewise.
15460 (csin_test_data): Use plus_oflow.
15461 (csin_test): Use ALL_RM_TEST.
15462 (csinh_test_data): Use plus_oflow.
15463 (csinh_test): Use ALL_RM_TEST.
15464 * sysdeps/i386/fpu/libm-test-ulps: Update.
15465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15466
154672014-03-21 Joseph Myers <joseph@codesourcery.com>
15468
15469 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15470 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15471 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15472
15473 [BZ #16731]
15474 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15475 when x - 1 is zero.
15476 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15477 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15478 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15479 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15480 argument is 1.
15481 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15482 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15483 zero.
15484 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15485 * sysdeps/i386/fpu/libm-test-ulps: Update.
15486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15487
154882014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15489
15490 * scripts/bench.pl: Remove file.
15491 * scripts/bench.py: New benchmark script.
15492 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15493 * benchtests/README: Mention python dependency.
15494 * scripts/pylintrc: New file.
15495 * scripts/pylint: New file.
15496
15497 * bits/mathdef.h: Use #ifdef instead of #if.
15498 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15499 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15500 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15501 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15502 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15503 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15504
155052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15506 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15507
15508 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15510 and strpbrk-ppc64 objects.
15511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15512 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15513 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15514 multiarch strpbrk for POWER7.
15515 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15516 multiarch strpbrk for PPC64.
15517 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15518 ifunc selector.
15519 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15520 strpbrk for POWER7.
15521
155222014-03-20 Joseph Myers <joseph@codesourcery.com>
15523
15524 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15525 (atan_test): Likewise.
15526 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15527 (atanh_test): Use ALL_RM_TEST.
15528 (atan2_test_data): Likewise.
15529 (cabs_test): Likewise.
15530 (cacosh_test): Likewise.
15531 (carg_test): Likewise.
15532 (casin_test): Likewise.
15533 (casinh_test): Likewise.
15534 (cbrt_test): Likewise.
15535 (csqrt_test): Likewise.
15536 (erf_test): Likewise.
15537 (erfc_test): Likewise.
15538 (pow10_test): Likewise.
15539 (exp2_test): Likewise.
15540 (hypot_test): Likewise.
15541 (j0_test): Likewise.
15542 (j1_test): Likewise.
15543 (lgamma_test): Likewise.
15544 (gamma_test): Likewise.
15545 (sincos_test): Likewise.
15546 (tanh_test): Likewise.
15547 (y0_test): Likewise.
15548 (y1_test): Likewise.
15549 * sysdeps/i386/fpu/libm-test-ulps: Update.
15550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15551
155522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15553
15554 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15556 and strcspn-ppc64 objects.
15557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15558 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15559 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15560 multiarch strcspn for POWER7.
15561 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15562 multiarch strcspn for PPC64.
15563 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15564 ifunc selector.
15565 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15566 strcspn for POWER7.
15567
155682014-03-20 Joseph Myers <joseph@codesourcery.com>
15569
15570 * math/gen-libm-test.pl (generate_testfile): Expect only function
15571 name as argument to AUTO_TESTS_* and pass results for all rounding
15572 modes to parse_args.
15573 (parse_auto_input): Separate inputs of automatic tests from
15574 outputs before storing in %auto_tests.
15575 * math/libm-test.inc (acos_test_data): Update call to
15576 AUTO_TESTS_f_f.
15577 (acos_test): Use ALL_RM_TEST.
15578 (acos_tonearest_test_data): Remove.
15579 (acos_test_tonearest): Likewise.
15580 (acos_towardzero_test_data): Likewise.
15581 (acos_test_towardzero): Likewise.
15582 (acos_downward_test_data): Likewise.
15583 (acos_test_downward): Likewise.
15584 (acos_upward_test_data): Likewise.
15585 (acos_test_upward): Likewise.
15586 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15587 (asin_test_data): Likewise.
15588 (asin_test): Use ALL_RM_TEST.
15589 (asin_tonearest_test_data): Remove.
15590 (asin_test_tonearest): Likewise.
15591 (asin_towardzero_test_data): Likewise.
15592 (asin_test_towardzero): Likewise.
15593 (asin_downward_test_data): Likewise.
15594 (asin_test_downward): Likewise.
15595 (asin_upward_test_data): Likewise.
15596 (asin_test_upward): Likewise.
15597 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15598 (atan_test_data): Likewise.
15599 (atanh_test_data): Likewise.
15600 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15601 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15602 (carg_test_data): Likewise.
15603 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15604 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15605 (ccosh_test_data): Likewise.
15606 (cexp_test_data): Likewise.
15607 (clog_test_data): Likewise.
15608 (clog10_test_data): Likewise.
15609 (cos_test_data): Update call to AUTO_TESTS_f_f.
15610 (cos_test): Use ALL_RM_TEST.
15611 (cos_tonearest_test_data): Remove.
15612 (cos_test_tonearest): Likewise.
15613 (cos_towardzero_test_data): Likewise.
15614 (cos_test_towardzero): Likewise.
15615 (cos_downward_test_data): Likewise.
15616 (cos_test_downward): Likewise.
15617 (cos_upward_test_data): Likewise.
15618 (cos_test_upward): Likewise.
15619 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15620 (cosh_test): Use ALL_RM_TEST.
15621 (cosh_tonearest_test_data): Remove.
15622 (cosh_test_tonearest): Likewise.
15623 (cosh_towardzero_test_data): Likewise.
15624 (cosh_test_towardzero): Likewise.
15625 (cosh_downward_test_data): Likewise.
15626 (cosh_test_downward): Likewise.
15627 (cosh_upward_test_data): Likewise.
15628 (cosh_test_upward): Likewise.
15629 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15630 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15631 (ctan_test_data): Likewise.
15632 (ctan_test): Use ALL_RM_TEST.
15633 (ctan_tonearest_test_data): Remove.
15634 (ctan_test_tonearest): Likewise.
15635 (ctan_towardzero_test_data): Likewise.
15636 (ctan_test_towardzero): Likewise.
15637 (ctan_downward_test_data): Likewise.
15638 (ctan_test_downward): Likewise.
15639 (ctan_upward_test_data): Likewise.
15640 (ctan_test_upward): Likewise.
15641 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15642 (ctanh_test): Use ALL_RM_TEST.
15643 (ctanh_tonearest_test_data): Remove.
15644 (ctanh_test_tonearest): Likewise.
15645 (ctanh_towardzero_test_data): Likewise.
15646 (ctanh_test_towardzero): Likewise.
15647 (ctanh_downward_test_data): Likewise.
15648 (ctanh_test_downward): Likewise.
15649 (ctanh_upward_test_data): Likewise.
15650 (ctanh_test_upward): Likewise.
15651 (erf_test_data): Update call to AUTO_TESTS_f_f.
15652 (erfc_test_data): Likewise.
15653 (exp_test_data): Likewise.
15654 (exp_test): Use ALL_RM_TEST.
15655 (exp_tonearest_test_data): Remove.
15656 (exp_test_tonearest): Likewise.
15657 (exp_towardzero_test_data): Likewise.
15658 (exp_test_towardzero): Likewise.
15659 (exp_downward_test_data): Likewise.
15660 (exp_test_downward): Likewise.
15661 (exp_upward_test_data): Likewise.
15662 (exp_test_upward): Likewise.
15663 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15664 (exp10_test): Use ALL_RM_TEST.
15665 (exp10_tonearest_test_data): Remove.
15666 (exp10_test_tonearest): Likewise.
15667 (exp10_towardzero_test_data): Likewise.
15668 (exp10_test_towardzero): Likewise.
15669 (exp10_downward_test_data): Likewise.
15670 (exp10_test_downward): Likewise.
15671 (exp10_upward_test_data): Likewise.
15672 (exp10_test_upward): Likewise.
15673 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15674 (expm1_test_data): Likewise.
15675 (expm1_test): Use ALL_RM_TEST.
15676 (expm1_tonearest_test_data): Remove.
15677 (expm1_test_tonearest): Likewise.
15678 (expm1_towardzero_test_data): Likewise.
15679 (expm1_test_towardzero): Likewise.
15680 (expm1_downward_test_data): Likewise.
15681 (expm1_test_downward): Likewise.
15682 (expm1_upward_test_data): Likewise.
15683 (expm1_test_upward): Likewise.
15684 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15685 (fma_test): Use ALL_RM_TEST.
15686 (fma_towardzero_test_data): Remove.
15687 (fma_test_towardzero): Likewise.
15688 (fma_downward_test_data): Likewise.
15689 (fma_test_downward): Likewise.
15690 (fma_upward_test_data): Likewise.
15691 (fma_test_upward): Likewise.
15692 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15693 (j0_test_data): Update call to AUTO_TESTS_f_f.
15694 (j1_test_data): Likewise.
15695 (jn_test_data): Update call to AUTO_TESTS_if_f.
15696 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15697 (log_test_data): Update call to AUTO_TESTS_f_f.
15698 (log10_test_data): Likewise.
15699 (log1p_test_data): Likewise.
15700 (log2_test_data): Likewise.
15701 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15702 (pow_tonearest_test_data): Likewise.
15703 (sin_test_data): Update call to AUTO_TESTS_f_f.
15704 (sin_test): Use ALL_RM_TEST.
15705 (sin_tonearest_test_data): Remove.
15706 (sin_test_tonearest): Likewise.
15707 (sin_towardzero_test_data): Likewise.
15708 (sin_test_towardzero): Likewise.
15709 (sin_downward_test_data): Likewise.
15710 (sin_test_downward): Likewise.
15711 (sin_upward_test_data): Likewise.
15712 (sin_test_upward): Likewise.
15713 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15714 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15715 (sinh_test): Use ALL_RM_TEST.
15716 (sinh_tonearest_test_data): Remove.
15717 (sinh_test_tonearest): Likewise.
15718 (sinh_towardzero_test_data): Likewise.
15719 (sinh_test_towardzero): Likewise.
15720 (sinh_downward_test_data): Likewise.
15721 (sinh_test_downward): Likewise.
15722 (sinh_upward_test_data): Likewise.
15723 (sinh_test_upward): Likewise.
15724 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15725 (sqrt_test): Use ALL_RM_TEST.
15726 (sqrt_tonearest_test_data): Remove.
15727 (sqrt_test_tonearest): Likewise.
15728 (sqrt_towardzero_test_data): Likewise.
15729 (sqrt_test_towardzero): Likewise.
15730 (sqrt_downward_test_data): Likewise.
15731 (sqrt_test_downward): Likewise.
15732 (sqrt_upward_test_data): Likewise.
15733 (sqrt_test_upward): Likewise.
15734 (tan_test_data): Update call to AUTO_TESTS_f_f.
15735 (tan_test): Use ALL_RM_TEST.
15736 (tan_tonearest_test_data): Remove.
15737 (tan_test_tonearest): Likewise.
15738 (tan_towardzero_test_data): Likewise.
15739 (tan_test_towardzero): Likewise.
15740 (tan_downward_test_data): Likewise.
15741 (tan_test_downward): Likewise.
15742 (tan_upward_test_data): Likewise.
15743 (tan_test_upward): Likewise.
15744 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15745 (tgamma_test_data): Likewise.
15746 (y0_test_data): Likewise.
15747 (y1_test_data): Likewise.
15748 (yn_test_data): Update call to AUTO_TESTS_if_f.
15749 (main): Do not call removed functions.
15750
157512014-03-19 Joseph Myers <joseph@codesourcery.com>
15752
15753 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15754 (ldexp_test_data): Remove.
15755 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15756 scalbn_test_data.
15757 (scalb_test): Use ALL_RM_TEST.
15758
157592014-03-19 Andreas Schwab <schwab@suse.de>
15760
15761 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15762
157632014-03-19 Joseph Myers <joseph@codesourcery.com>
15764
15765 [BZ #16649]
15766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15768 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15770 (__ASSUME_PREADV): Undefine.
15771 (__ASSUME_PWRITEV): Likewise.
15772
157732014-03-18 Roland McGrath <roland@hack.frob.com>
15774
15775 * bits/mman-linux.h: Add comment about non-Linux use.
15776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15777 bits/mman-linux.h resting place.
15778
15779 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15780 * bits/mman-linux.h: ... here.
15781
157822014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15783
15784 * conform/conformtest.pl: Add standard definition when calling C
15785 preprocessor on data files.
15786 (checknamespace): Remove unused variable.
15787
157882014-03-18 Joseph Myers <joseph@codesourcery.com>
15789
15790 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15791 minus_oflow, plus_uflow and minus_uflow in expected results.
15792 * math/libm-test.inc (scalbn_test_data): Add more tests of
15793 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15794 minus_uflow.
15795 (scalbn_test): Use ALL_RM_TEST.
15796 (scalbln_test_data): Add more tests of negative arguments. Use
15797 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15798 (scalbln_test): Use ALL_RM_TEST.
15799
158002014-03-18 Roland McGrath <roland@hack.frob.com>
15801
15802 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15803
158042014-03-18 Will Newton <will.newton@linaro.org>
15805
15806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15807 inaccurate comment.
15808
158092014-03-18 Joseph Myers <joseph@codesourcery.com>
15810
15811 * Makerules [!subdir] (check-abi): Exit with error status if a
15812 test failed.
15813
158142014-03-17 Joseph Myers <joseph@codesourcery.com>
15815
15816 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15817 for rint. Include results for all rounding modes.
15818 (nearbyint_test): Use ALL_RM_TEST.
15819 (rint_test_data): Include all tests used for nearbyint.
15820
158212014-03-17 Will Newton <will.newton@linaro.org>
15822
15823 * nptl/sysdeps/pthread/pthread.h: Revert previous
15824 change.
15825
15826 * sysdeps/generic/ldsodefs.h: Revert previous
15827 change.
15828
15829 * libio/genops.c: Revert previous change.
15830 * libio/libioP.h: Likewise.
15831 * stdio-common/vfprintf.c: Likewise.
15832
15833 * sysdeps/generic/math_private.h: Revert previous
15834 change.
15835
15836 * sysdeps/generic/math_private.h: Check whether
15837 HAVE_RM_CTX is defined with #ifdef rather
15838 than #if.
15839
15840 * argp/argp-fmtstream.h: Check whether
15841 __STRICT_ANSI__ is defined with #ifdef rather
15842 than #if.
15843 * argp/argp.h: Likewise.
15844
15845 * libio/genops.c: Check whether
15846 _IO_JUMPS_OFFSET is defined with #ifdef rather
15847 than #if.
15848 * libio/libioP.h: Likewise.
15849 * stdio-common/vfprintf.c: Likewise.
15850
15851 * sysdeps/generic/ldsodefs.h: Check whether
15852 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15853 than #if.
15854
15855 * nptl/sysdeps/pthread/pthread.h: Check
15856 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15857 its value.
15858
158592014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15860
15861 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15862 setting O_APPEND.
15863 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15864 test case.
15865
15866 [BZ #16680]
15867 * libio/fileops.c (_IO_file_open): Seek to end of file but
15868 don't cache the offset.
15869 (get_file_offset): Remove function.
15870 (do_ftell): Use cached offset when available.
15871 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15872 don't cache the offset.
15873 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15874 case.
15875 (do_one_test): Call it.
15876 (do_ftell_test): Fix up expected old offset for a+ mode.
15877 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15878 available.
15879
15880 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15881 up test status with function return status.
15882 (do_write_test): Likewise.
15883 (do_append_test): Likewise.
15884
15885 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15886 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15887 Remove.
15888
158892014-03-17 Joseph Myers <joseph@codesourcery.com>
15890
15891 * math/gen-libm-test.pl (parse_args): Handle results specified for
15892 each rounding mode separately.
15893 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15894 tests and results from lrint_tonearest_test_data,
15895 lrint_towardzero_test_data, lrint_downward_test_data and
15896 lrint_upward_test_data.
15897 (lrint_test): Use ALL_RM_TEST.
15898 (lrint_tonearest_test_data): Remove.
15899 (lrint_test_tonearest): Likewise.
15900 (lrint_towardzero_test_data): Likewise.
15901 (lrint_test_towardzero): Likewise.
15902 (lrint_downward_test_data): Likewise.
15903 (lrint_test_downward): Likewise.
15904 (lrint_upward_test_data): Likewise.
15905 (lrint_test_upward): Likewise.
15906 (llrint_test_data): Merge in per-rounding-mode tests and results
15907 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15908 llrint_downward_test_data and llrint_upward_test_data.
15909 (llrint_test): Use ALL_RM_TEST.
15910 (llrint_tonearest_test_data): Remove.
15911 (llrint_test_tonearest): Likewise.
15912 (llrint_towardzero_test_data): Likewise.
15913 (llrint_test_towardzero): Likewise.
15914 (llrint_downward_test_data): Likewise.
15915 (llrint_test_downward): Likewise.
15916 (llrint_upward_test_data): Likewise.
15917 (llrint_test_upward): Likewise.
15918 (rint_test_data): Merge in per-rounding-mode tests and results
15919 from rint_tonearest_test_data, rint_towardzero_test_data,
15920 rint_downward_test_data and rint_upward_test_data. Add
15921 per-rounding-mode results for tests not in those arrays.
15922 (rint_test): Use ALL_RM_TEST.
15923 (rint_tonearest_test_data): Remove.
15924 (rint_test_tonearest): Likewise.
15925 (rint_towardzero_test_data): Likewise.
15926 (rint_test_towardzero): Likewise.
15927 (rint_downward_test_data): Likewise.
15928 (rint_test_downward): Likewise.
15929 (rint_upward_test_data): Likewise.
15930 (rint_test_upward): Likewise.
15931 (main): Don't call removed functions.
15932
159332014-03-14 Roland McGrath <roland@hack.frob.com>
15934
15935 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15936 "Compiled on ..." crapola. It is anti-useful.
15937
159382014-03-14 Joseph Myers <joseph@codesourcery.com>
15939
15940 * scripts/evaluate-test.sh: Handle fourth argument to determine
15941 whether test run should stop on failure.
15942 * Makeconfig (stop-on-test-failure): New variable.
15943 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15944 $(stop-on-test-failure).
15945 * Makefile (tests): Give a summary of results from testing and
15946 exit with failure status if they include an ERROR or FAIL.
15947 (xtests): Likewise.
15948 * manual/install.texi (Configuring and compiling): Mention
15949 stop-on-test-failure=y.
15950 * INSTALL: Regenerated.
15951
159522014-03-14 Roland McGrath <roland@hack.frob.com>
15953
15954 * scripts/versionlist.awk: New file.
15955 * Makerules [$(build-shared) = yes]
15956 (postclean-generated): Add Versions.def, not Versions.def.v and
15957 Versions.def.v.i.
15958 ($(common-objpfx)Versions.def.v.i): Target removed.
15959 ($(common-objpfx)Versions.def): New target.
15960 ($(common-objpfx)Versions.all): Depend on that rather that
15961 $(common-objpfx)Versions.def.v.
15962 * Versions.def: File removed.
15963
15964 * Makeconfig (+gccwarn): Add -Wundef.
15965 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15966 a dl-sysdep.h breaking its contract.
15967 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15968 * include/stackinfo.h: New file.
15969 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15970 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15971 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15972 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15973 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15974 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15975 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15976 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15977 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15978 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15979 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15980 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15981 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15982 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15983 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15984
159852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15986
15987 [BZ #16707]
15988 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15989 implementation.
15990 * math/libm-test.inc (round_test_data): Add more tests.
15991
15992 [BZ #16706]
15993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15994 implementation.
15995 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15996
15997 [BZ #16701]
15998 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15999 implementation.
16000 * math/libm-test.inc (ceil_test_data): Add more tests.
16001
16002 * math/libm-test.inc (trunc_test_data): Add more tests related to
16003 BZ#16414.
16004
160052014-03-14 Roland McGrath <roland@hack.frob.com>
16006
16007 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16008 with #if rather than #ifdef.
16009 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16010
160112014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16012
16013 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16014 first. Disable AVX-512 GCC support if assembler doesn't support
16015 it.
16016 * sysdeps/x86_64/configure: Regenerated.
16017
160182014-03-13 Carlos O'Donell <carlos@redhat.com>
16019
16020 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16021 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16022 (__old_pthread_attr_setstack): Likewise.
16023 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16024 [!_STACK_GROWS_DOWN]: Likewise.
16025
160262014-03-13 Mike Frysinger <vapier@gentoo.org>
16027
16028 * config.make.in (have-bash2): Delete.
16029 * configure.ac (libc_cv_have_bash2): Delete.
16030 * configure: Regenerate.
16031 * elf/Makefile (common-ldd-rewrite): Rename to ...
16032 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16033 (sh-ldd-rewrite): Delete.
16034 (bash-ldd-rewrite): Delete.
16035 (have-bash2): Delete checks.
16036 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16037 ldd-rewrite.
16038
16039 * config.make.in (have-ksh): Delete.
16040 (KSH): Delete.
16041 * configure.ac (libc_cv_have_ksh): Delete.
16042 * configure: Regenerate.
16043
16044 * elf/Makefile: Delete $(have-ksh) check.
16045 ($(objpfx)sotruss): Change KSH to BASH.
16046 * elf/sotruss.ksh: Rename to ...
16047 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16048 function style to match POSIX. Drop ksh vim mode setting.
16049
16050 * manual/time.texi (Specifying the Time Zone with TZ): Change
16051 Tuesday to Thursday.
16052
16053 * debug/tst-longjmp_chk2.c: Update header comment.
16054 (stackoverflow_handler): Add comment. Call assert on pass value.
16055
160562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16057
16058 [BZ #16194]
16059 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16060 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16061 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16062 (La_x86_64_vector): Add zmm.
16063 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16064 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16065 ($(objpfx)tst-audit10): New target.
16066 ($(objpfx)tst-audit10.out): Likewise.
16067 (tst-audit10-ENV): New.
16068 (AVX512-CFLAGS): Likewise.
16069 (CFLAGS-tst-audit10.c): Likewise.
16070 (CFLAGS-tst-auditmod10a.c): Likewise.
16071 (CFLAGS-tst-auditmod10b.c): Likewise.
16072 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16073 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16074 * sysdeps/x86_64/configure: Regenerated.
16075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16076 AVX-512 zmm register support.
16077 (_dl_x86_64_save_sse): Likewise.
16078 (_dl_x86_64_restore_sse): Likewise.
16079 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16080 size vector registers.
16081 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16082 (ZMM_SIZE): Likewise.
16083 * sysdeps/x86_64/tst-audit10.c: New file.
16084 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16085 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16086
160872014-03-13 Roland McGrath <roland@hack.frob.com>
16088
16089 * configure.ac (HAVE_EHDR_START): New check.
16090 * configure: Regenerated.
16091 * config.h.in (HAVE_EHDR_START): New #undef.
16092 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16093 assuming the lowest-addressed segment maps the start of the file.
16094
160952014-03-13 Joseph Myers <joseph@codesourcery.com>
16096
16097 * INSTALL: Regenerated.
16098
160992014-03-13 Will Newton <will.newton@linaro.org>
16100
16101 * manual/setjmp.texi (System V contexts): Improve
16102 clarity and grammar of documentation.
16103
161042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16105
16106 [BZ #16381]
16107 * elf/Makefile (tests): Add tst-pie2.
16108 (tests-pie): Add tst-pie2.
16109 * elf/tst-pie2.c: New file.
16110 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16111 for ET_EXEC.
16112 * elf/rtld.c (map_doit): Load executable as lt_executable.
16113 (dl_main): Likewise.
16114
161152014-03-12 Joseph Myers <joseph@codesourcery.com>
16116
16117 [BZ #16642]
16118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16119 (__ASSUME_PSELECT): Undefine.
16120
161212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16122
16123 [BZ #16689]
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16125 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16126 static build.
16127 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16128 selector for static builds.
16129
161302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16131
16132 [BZ #16695]
16133 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16134 key in the buffer.
16135
161362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16137
16138 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16139 IFUNC selector for static builds.
16140
161412014-03-11 Joseph Myers <joseph@codesourcery.com>
16142
16143 * sysdeps/mips/math_private.h [__mips_hard_float]
16144 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16145 libc_feresetround_mips_ctx.
16146 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16147 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16148 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16149
16150 [BZ #16677]
16151 * math/s_nextafter.c (__nextafter): Do not return value from
16152 overflowing computation.
16153 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16154 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16156 Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16158 Likewise.
16159 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16160 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16161
161622014-03-11 Roland McGrath <roland@hack.frob.com>
16163
16164 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16165 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16166 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16167 the new mov targetting sp.
16168
161692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16170
16171 [BZ #16683]
16172 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16173 Define it for static builds as well.
16174 (NO_BZERO_IMPL): Likewise.
16175
161762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16177
16178 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16179 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16180 multiarch strspn for PPC64.
16181 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16182 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16184 (__libc_ifunc_impl_list): Likewise.
16185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16186 multiarch optimizations
16187 * string/strspn.c (strspn): Using macro to redefine symbol name.
16188
161892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16190 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16191
16192 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16193 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16194 multiarch strncat for PPC64.
16195 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16196 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16198 (__libc_ifunc_impl_list): Likewise.
16199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16200 multiarch optimizations
16201
162022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16203
16204 [BZ #16639]
16205 * nscd/nscd.service: Make service type forking.
16206
162072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16208
16209 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16210 sign in non default rounding modes.
16211 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16212
162132014-03-08 Joseph Myers <joseph@codesourcery.com>
16214
16215 * math/libm-test.inc (ALL_RM_TEST): New macro.
16216 (ceil_test): Use ALL_RM_TEST.
16217 (cimag_test): Likewise.
16218 (conj_test): Likewise.
16219 (copysign_test): Likewise.
16220 (cproj_test): Likewise.
16221 (creal_test): Likewise.
16222 (fabs_test): Likewise.
16223 (floor_test): Likewise.
16224 (fmax_test): Likewise.
16225 (fmin_test): Likewise.
16226 (fmod_test): Likewise.
16227 (fpclassify_test): Likewise.
16228 (frexp_test): Likewise.
16229 (ilogb_test): Likewise.
16230 (isfinite_test): Likewise.
16231 (finite_test): Likewise.
16232 (isgreater_test): Likewise.
16233 (isgreaterequal_test): Likewise.
16234 (isinf_test): Likewise.
16235 (isless_test): Likewise.
16236 (islessequal_test): Likewise.
16237 (islessgreater_test): Likewise.
16238 (isnan_test): Likewise.
16239 (isnormal_test): Likewise.
16240 (issignaling_test): Likewise.
16241 (isunordered_test): Likewise.
16242 (logb_test): Likewise.
16243 (logb_downward_test_data): Remove.
16244 (logb_test_downward): Likewise.
16245 (lround_test): Use ALL_RM_TEST.
16246 (llround_test): Likewise.
16247 (modf_test): Likewise.
16248 (nexttoward_test): Likewise.
16249 (remainder_test): Likewise.
16250 (drem_test): Likewise.
16251 (remainder_tonearest_test_data): Likewise.
16252 (remainder_test_tonearest): Likewise.
16253 (drem_test_tonearest): Likewise.
16254 (remainder_towardzero_test_data): Likewise.
16255 (remainder_test_towardzero): Likewise.
16256 (drem_test_towardzero): Likewise.
16257 (remainder_downward_test_data): Likewise.
16258 (remainder_test_downward): Likewise.
16259 (drem_test_downward): Likewise.
16260 (remainder_upward_test_data): Likewise.
16261 (remainder_test_upward): Likewise.
16262 (drem_test_upward): Likewise.
16263 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16264 (round_test): Use ALL_RM_TEST.
16265 (signbit_test): Likewise.
16266 (trunc_test): Likewise.
16267 (significand_test): Likewise.
16268 (main): Don't call removed functions.
16269
162702014-03-07 Joseph Myers <joseph@codesourcery.com>
16271
16272 [BZ #16674]
16273 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16274 || __USE_XOPEN2K8].
16275 (ILL_ILLOPN): Likewise.
16276 (ILL_ILLADR): Likewise.
16277 (ILL_ILLTRP): Likewise.
16278 (ILL_PRVOPC): Likewise.
16279 (ILL_PRVREG): Likewise.
16280 (ILL_COPROC): Likewise.
16281 (ILL_BADSTK): Likewise.
16282 (FPE_INTDIV): Likewise.
16283 (FPE_INTOVF): Likewise.
16284 (FPE_FLTDIV): Likewise.
16285 (FPE_FLTOVF): Likewise.
16286 (FPE_FLTUND): Likewise.
16287 (FPE_FLTRES): Likewise.
16288 (FPE_FLTINV): Likewise.
16289 (FPE_FLTSUB): Likewise.
16290 (SEGV_MAPERR): Likewise.
16291 (SEGV_ACCERR): Likewise.
16292 (BUS_ADRALN): Likewise.
16293 (BUS_ADRERR): Likewise.
16294 (BUS_OBJERR): Likewise.
16295 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16296 (TRAP_TRACE): Likewise.
16297 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16298 __USE_XOPEN2K8].
16299 (CLD_KILLED): Likewise.
16300 (CLD_DUMPED): Likewise.
16301 (CLD_TRAPPED): Likewise.
16302 (CLD_STOPPED): Likewise.
16303 (CLD_CONTINUED): Likewise.
16304 (POLL_IN): Likewise.
16305 (POLL_OUT): Likewise.
16306 (POLL_MSG): Likewise.
16307 (POLL_ERR): Likewise.
16308 (POLL_PRI): Likewise.
16309 (POLL_HUP): Likewise.
16310 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16311 Likewise.
16312 (ILL_ILLOPN): Likewise.
16313 (ILL_ILLADR): Likewise.
16314 (ILL_ILLTRP): Likewise.
16315 (ILL_PRVOPC): Likewise.
16316 (ILL_PRVREG): Likewise.
16317 (ILL_COPROC): Likewise.
16318 (ILL_BADSTK): Likewise.
16319 (FPE_INTDIV): Likewise.
16320 (FPE_INTOVF): Likewise.
16321 (FPE_FLTDIV): Likewise.
16322 (FPE_FLTOVF): Likewise.
16323 (FPE_FLTUND): Likewise.
16324 (FPE_FLTRES): Likewise.
16325 (FPE_FLTINV): Likewise.
16326 (FPE_FLTSUB): Likewise.
16327 (SEGV_MAPERR): Likewise.
16328 (SEGV_ACCERR): Likewise.
16329 (BUS_ADRALN): Likewise.
16330 (BUS_ADRERR): Likewise.
16331 (BUS_OBJERR): Likewise.
16332 (BUS_MCEERR_AR): Likewise.
16333 (BUS_MCEERR_AO): Likewise.
16334 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16335 (TRAP_TRACE): Likewise.
16336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16337 __USE_XOPEN2K8].
16338 (CLD_KILLED): Likewise.
16339 (CLD_DUMPED): Likewise.
16340 (CLD_TRAPPED): Likewise.
16341 (CLD_STOPPED): Likewise.
16342 (CLD_CONTINUED): Likewise.
16343 (POLL_IN): Likewise.
16344 (POLL_OUT): Likewise.
16345 (POLL_MSG): Likewise.
16346 (POLL_ERR): Likewise.
16347 (POLL_PRI): Likewise.
16348 (POLL_HUP): Likewise.
16349 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16350 (ILL_ILLOPN): Likewise.
16351 (ILL_ILLADR): Likewise.
16352 (ILL_ILLTRP): Likewise.
16353 (ILL_PRVOPC): Likewise.
16354 (ILL_PRVREG): Likewise.
16355 (ILL_COPROC): Likewise.
16356 (ILL_BADSTK): Likewise.
16357 (FPE_INTDIV): Likewise.
16358 (FPE_INTOVF): Likewise.
16359 (FPE_FLTDIV): Likewise.
16360 (FPE_FLTOVF): Likewise.
16361 (FPE_FLTUND): Likewise.
16362 (FPE_FLTRES): Likewise.
16363 (FPE_FLTINV): Likewise.
16364 (FPE_FLTSUB): Likewise.
16365 (SEGV_MAPERR): Likewise.
16366 (SEGV_ACCERR): Likewise.
16367 (BUS_ADRALN): Likewise.
16368 (BUS_ADRERR): Likewise.
16369 (BUS_OBJERR): Likewise.
16370 (BUS_MCEERR_AR): Likewise.
16371 (BUS_MCEERR_AO): Likewise.
16372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16373 (TRAP_TRACE): Likewise.
16374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16375 __USE_XOPEN2K8].
16376 (CLD_KILLED): Likewise.
16377 (CLD_DUMPED): Likewise.
16378 (CLD_TRAPPED): Likewise.
16379 (CLD_STOPPED): Likewise.
16380 (CLD_CONTINUED): Likewise.
16381 (POLL_IN): Likewise.
16382 (POLL_OUT): Likewise.
16383 (POLL_MSG): Likewise.
16384 (POLL_ERR): Likewise.
16385 (POLL_PRI): Likewise.
16386 (POLL_HUP): Likewise.
16387 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16388 Likewise.
16389 (ILL_ILLOPN): Likewise.
16390 (ILL_ILLADR): Likewise.
16391 (ILL_ILLTRP): Likewise.
16392 (ILL_PRVOPC): Likewise.
16393 (ILL_PRVREG): Likewise.
16394 (ILL_COPROC): Likewise.
16395 (ILL_BADSTK): Likewise.
16396 (ILL_BADIADDR): Likewise.
16397 (ILL_BREAK): Likewise.
16398 (FPE_INTDIV): Likewise.
16399 (FPE_INTOVF): Likewise.
16400 (FPE_FLTDIV): Likewise.
16401 (FPE_FLTOVF): Likewise.
16402 (FPE_FLTUND): Likewise.
16403 (FPE_FLTRES): Likewise.
16404 (FPE_FLTINV): Likewise.
16405 (FPE_FLTSUB): Likewise.
16406 (FPE_DECOVF): Likewise.
16407 (FPE_DECDIV): Likewise.
16408 (FPE_DECERR): Likewise.
16409 (FPE_INVASC): Likewise.
16410 (FPE_INVDEC): Likewise.
16411 (SEGV_MAPERR): Likewise.
16412 (SEGV_ACCERR): Likewise.
16413 (SEGV_PSTKOVF): Likewise.
16414 (BUS_ADRALN): Likewise.
16415 (BUS_ADRERR): Likewise.
16416 (BUS_OBJERR): Likewise.
16417 (BUS_MCEERR_AR): Likewise.
16418 (BUS_MCEERR_AO): Likewise.
16419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16420 (TRAP_TRACE): Likewise.
16421 (TRAP_BRANCH): Likewise.
16422 (TRAP_HWBKPT): Likewise.
16423 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16424 __USE_XOPEN2K8].
16425 (CLD_KILLED): Likewise.
16426 (CLD_DUMPED): Likewise.
16427 (CLD_TRAPPED): Likewise.
16428 (CLD_STOPPED): Likewise.
16429 (CLD_CONTINUED): Likewise.
16430 (POLL_IN): Likewise.
16431 (POLL_OUT): Likewise.
16432 (POLL_MSG): Likewise.
16433 (POLL_ERR): Likewise.
16434 (POLL_PRI): Likewise.
16435 (POLL_HUP): Likewise.
16436 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16437 (ILL_ILLOPN): Likewise.
16438 (ILL_ILLADR): Likewise.
16439 (ILL_ILLTRP): Likewise.
16440 (ILL_PRVOPC): Likewise.
16441 (ILL_PRVREG): Likewise.
16442 (ILL_COPROC): Likewise.
16443 (ILL_BADSTK): Likewise.
16444 (FPE_INTDIV): Likewise.
16445 (FPE_INTOVF): Likewise.
16446 (FPE_FLTDIV): Likewise.
16447 (FPE_FLTOVF): Likewise.
16448 (FPE_FLTUND): Likewise.
16449 (FPE_FLTRES): Likewise.
16450 (FPE_FLTINV): Likewise.
16451 (FPE_FLTSUB): Likewise.
16452 (SEGV_MAPERR): Likewise.
16453 (SEGV_ACCERR): Likewise.
16454 (BUS_ADRALN): Likewise.
16455 (BUS_ADRERR): Likewise.
16456 (BUS_OBJERR): Likewise.
16457 (BUS_MCEERR_AR): Likewise.
16458 (BUS_MCEERR_AO): Likewise.
16459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16460 (TRAP_TRACE): Likewise.
16461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16462 __USE_XOPEN2K8].
16463 (CLD_KILLED): Likewise.
16464 (CLD_DUMPED): Likewise.
16465 (CLD_TRAPPED): Likewise.
16466 (CLD_STOPPED): Likewise.
16467 (CLD_CONTINUED): Likewise.
16468 (POLL_IN): Likewise.
16469 (POLL_OUT): Likewise.
16470 (POLL_MSG): Likewise.
16471 (POLL_ERR): Likewise.
16472 (POLL_PRI): Likewise.
16473 (POLL_HUP): Likewise.
16474 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16475 (ILL_ILLOPN): Likewise.
16476 (ILL_ILLADR): Likewise.
16477 (ILL_ILLTRP): Likewise.
16478 (ILL_PRVOPC): Likewise.
16479 (ILL_PRVREG): Likewise.
16480 (ILL_COPROC): Likewise.
16481 (ILL_BADSTK): Likewise.
16482 (FPE_INTDIV): Likewise.
16483 (FPE_INTOVF): Likewise.
16484 (FPE_FLTDIV): Likewise.
16485 (FPE_FLTOVF): Likewise.
16486 (FPE_FLTUND): Likewise.
16487 (FPE_FLTRES): Likewise.
16488 (FPE_FLTINV): Likewise.
16489 (FPE_FLTSUB): Likewise.
16490 (SEGV_MAPERR): Likewise.
16491 (SEGV_ACCERR): Likewise.
16492 (BUS_ADRALN): Likewise.
16493 (BUS_ADRERR): Likewise.
16494 (BUS_OBJERR): Likewise.
16495 (BUS_MCEERR_AR): Likewise.
16496 (BUS_MCEERR_AO): Likewise.
16497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16498 (TRAP_TRACE): Likewise.
16499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16500 __USE_XOPEN2K8].
16501 (CLD_KILLED): Likewise.
16502 (CLD_DUMPED): Likewise.
16503 (CLD_TRAPPED): Likewise.
16504 (CLD_STOPPED): Likewise.
16505 (CLD_CONTINUED): Likewise.
16506 (POLL_IN): Likewise.
16507 (POLL_OUT): Likewise.
16508 (POLL_MSG): Likewise.
16509 (POLL_ERR): Likewise.
16510 (POLL_PRI): Likewise.
16511 (POLL_HUP): Likewise.
16512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16513 (ILL_ILLOPN): Likewise.
16514 (ILL_ILLADR): Likewise.
16515 (ILL_ILLTRP): Likewise.
16516 (ILL_PRVOPC): Likewise.
16517 (ILL_PRVREG): Likewise.
16518 (ILL_COPROC): Likewise.
16519 (ILL_BADSTK): Likewise.
16520 (FPE_INTDIV): Likewise.
16521 (FPE_INTOVF): Likewise.
16522 (FPE_FLTDIV): Likewise.
16523 (FPE_FLTOVF): Likewise.
16524 (FPE_FLTUND): Likewise.
16525 (FPE_FLTRES): Likewise.
16526 (FPE_FLTINV): Likewise.
16527 (FPE_FLTSUB): Likewise.
16528 (SEGV_MAPERR): Likewise.
16529 (SEGV_ACCERR): Likewise.
16530 (BUS_ADRALN): Likewise.
16531 (BUS_ADRERR): Likewise.
16532 (BUS_OBJERR): Likewise.
16533 (BUS_MCEERR_AR): Likewise.
16534 (BUS_MCEERR_AO): Likewise.
16535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16536 (TRAP_TRACE): Likewise.
16537 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16538 __USE_XOPEN2K8].
16539 (CLD_KILLED): Likewise.
16540 (CLD_DUMPED): Likewise.
16541 (CLD_TRAPPED): Likewise.
16542 (CLD_STOPPED): Likewise.
16543 (CLD_CONTINUED): Likewise.
16544 (POLL_IN): Likewise.
16545 (POLL_OUT): Likewise.
16546 (POLL_MSG): Likewise.
16547 (POLL_ERR): Likewise.
16548 (POLL_PRI): Likewise.
16549 (POLL_HUP): Likewise.
16550 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16551 (ILL_ILLOPN): Likewise.
16552 (ILL_ILLADR): Likewise.
16553 (ILL_ILLTRP): Likewise.
16554 (ILL_PRVOPC): Likewise.
16555 (ILL_PRVREG): Likewise.
16556 (ILL_COPROC): Likewise.
16557 (ILL_BADSTK): Likewise.
16558 (ILL_DBLFLT): Likewise.
16559 (ILL_HARDWALL): Likewise.
16560 (FPE_INTDIV): Likewise.
16561 (FPE_INTOVF): Likewise.
16562 (FPE_FLTDIV): Likewise.
16563 (FPE_FLTOVF): Likewise.
16564 (FPE_FLTUND): Likewise.
16565 (FPE_FLTRES): Likewise.
16566 (FPE_FLTINV): Likewise.
16567 (FPE_FLTSUB): Likewise.
16568 (SEGV_MAPERR): Likewise.
16569 (SEGV_ACCERR): Likewise.
16570 (BUS_ADRALN): Likewise.
16571 (BUS_ADRERR): Likewise.
16572 (BUS_OBJERR): Likewise.
16573 (BUS_MCEERR_AR): Likewise.
16574 (BUS_MCEERR_AO): Likewise.
16575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16576 (TRAP_TRACE): Likewise.
16577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16578 __USE_XOPEN2K8].
16579 (CLD_KILLED): Likewise.
16580 (CLD_DUMPED): Likewise.
16581 (CLD_TRAPPED): Likewise.
16582 (CLD_STOPPED): Likewise.
16583 (CLD_CONTINUED): Likewise.
16584 (POLL_IN): Likewise.
16585 (POLL_OUT): Likewise.
16586 (POLL_MSG): Likewise.
16587 (POLL_ERR): Likewise.
16588 (POLL_PRI): Likewise.
16589 (POLL_HUP): Likewise.
16590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16591 (ILL_ILLOPN): Likewise.
16592 (ILL_ILLADR): Likewise.
16593 (ILL_ILLTRP): Likewise.
16594 (ILL_PRVOPC): Likewise.
16595 (ILL_PRVREG): Likewise.
16596 (ILL_COPROC): Likewise.
16597 (ILL_BADSTK): Likewise.
16598 (FPE_INTDIV): Likewise.
16599 (FPE_INTOVF): Likewise.
16600 (FPE_FLTDIV): Likewise.
16601 (FPE_FLTOVF): Likewise.
16602 (FPE_FLTUND): Likewise.
16603 (FPE_FLTRES): Likewise.
16604 (FPE_FLTINV): Likewise.
16605 (FPE_FLTSUB): Likewise.
16606 (SEGV_MAPERR): Likewise.
16607 (SEGV_ACCERR): Likewise.
16608 (BUS_ADRALN): Likewise.
16609 (BUS_ADRERR): Likewise.
16610 (BUS_OBJERR): Likewise.
16611 (BUS_MCEERR_AR): Likewise.
16612 (BUS_MCEERR_AO): Likewise.
16613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16614 (TRAP_TRACE): Likewise.
16615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16616 __USE_XOPEN2K8].
16617 (CLD_KILLED): Likewise.
16618 (CLD_DUMPED): Likewise.
16619 (CLD_TRAPPED): Likewise.
16620 (CLD_STOPPED): Likewise.
16621 (CLD_CONTINUED): Likewise.
16622 (POLL_IN): Likewise.
16623 (POLL_OUT): Likewise.
16624 (POLL_MSG): Likewise.
16625 (POLL_ERR): Likewise.
16626 (POLL_PRI): Likewise.
16627 (POLL_HUP): Likewise.
16628 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16629 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16630
16631 [BZ #16670]
16632 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16633 before #include of <time.h>.
16634 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16635 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16636 (test-xfail-UNIX98/sched.h/conform): Likewise.
16637
166382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16639
16640 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16641 error absence of trapping exception support.
16642 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16643
166442014-03-07 Joseph Myers <joseph@codesourcery.com>
16645
16646 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16647 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16648 * timezone/Makefile (testdata): Move definition above include of
16649 Rules.
16650 (test-zones): New variable.
16651 (tests-special): Add zone files.
16652 (build-testdata): Use $(evaluate-test).
16653
16654 * elf/Makefile (tests-special): Rename tests to end with .out.
16655 ($(objpfx)noload-mem): Likewise.
16656 ($(objpfx)tst-leaks1-mem): Likewise.
16657 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16658 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16659 $(objpfx)test-iconvconfig.out.
16660 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16661 set -e inside subshell and redirect output to file.
16662 * iconvdata/Makefile (generated): Rename tests to end with .out.
16663 Correct type.
16664 (tests-special): Rename tests to end with .out.
16665 ($(objpfx)mtrace-tst-loading): Likewise.
16666 * intl/Makefile (generated): Likewise.
16667 (tests-special): Likewise.
16668 ($(objpfx)mtrace-tst-gettext): Likewise.
16669 * misc/Makefile (generated): Likewise.
16670 (tests-special): Likewise.
16671 ($(objpfx)tst-error1-mem): Likewise.
16672 * nptl/Makefile (tests-special): Likewise.
16673 ($(objpfx)tst-stack3-mem): Likewise.
16674 (generated): Likewise.
16675 * posix/Makefile (generated): Likewise.
16676 (tests-special): Likewise.
16677 (xtests-special): Likewise.
16678 ($(objpfx)tst-fnmatch-mem): Likewise.
16679 ($(objpfx)bug-regex2-mem): Likewise.
16680 ($(objpfx)bug-regex14-mem): Likewise.
16681 ($(objpfx)bug-regex21-mem): Likewise.
16682 ($(objpfx)bug-regex31-mem): Likewise.
16683 ($(objpfx)tst-vfork3-mem): Likewise.
16684 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16685 ($(objpfx)tst-pcre-mem): Likewise.
16686 ($(objpfx)tst-boost-mem): Likewise.
16687 ($(objpfx)bug-ga2-mem): Likewise.
16688 ($(objpfx)bug-glob2-mem): Likewise.
16689 * resolv/Makefile (generate): Likewise.
16690 (tests-special): Likewise.
16691 (xtests-special): Likewise.
16692 (generated): Likewise.
16693 ($(objpfx)mtrace-tst-leaks): Likewise.
16694 ($(objpfx)mtrace-tst-leaks2): Likewise.
16695
16696 * scripts/merge-test-results.sh: New file.
16697 * Makefile (tests-special-notdir): New variable.
16698 (tests): Run merge-test-results.sh.
16699 (xtests): Likewise.
16700 * Rules (tests-special-notdir): New variable.
16701 (xtests-special-notdir): Likewise.
16702 (tests): Run merge-test-results.sh
16703 (xtests): Likewise.
16704
16705 * Makeconfig (test-xfail-name): New variable.
16706 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16707 compute variable name for expected failures.
16708 * conform/Makefile (conformtest-headers-data): New variable.
16709 (conformtest-standards): Likewise.
16710 (conformtest-headers-ISO): Likewise.
16711 (conformtest-headers-ISO99): Likewise.
16712 (conformtest-headers-ISO11): Likewise.
16713 (conformtest-headers-POSIX): Likewise.
16714 (conformtest-headers-XPG3): Likewise.
16715 (conformtest-headers-XPG4): Likewise.
16716 (conformtest-headers-UNIX98): Likewise.
16717 (conformtest-headers-XOPEN2K): Likewise.
16718 (conformtest-headers-POSIX2008): Likewise.
16719 (conformtest-headers-XOPEN2K8): Likewise.
16720 (conformtest-header-list-base): Likewise.
16721 (conformtest-header-list-tests): Likewise.
16722 (conformtest-header-base): Likewise.
16723 (conformtest-header-tests): Likewise.
16724 (tests-special): Add $(conformtest-header-list-tests). If
16725 [$(fast-check) && !$(cross-compiling)], add
16726 $(conformtest-header-tests) instead of
16727 $(objpfx)run-conformtest.out.
16728 (generated): Add $(conformtest-header-list-base). If
16729 [$(fast-check) && !$(cross-compiling)], add
16730 $(conformtest-header-base). Remove previous setting.
16731 ($(conformtest-header-list-tests)): New target.
16732 (test-xfail-run-conformtest): Remove variable.
16733 ($(objpfx)run-conformtest.out): Remove target.
16734 (test-xfail-ISO11/complex.h/conform): New variable.
16735 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16736 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16737 (test-xfail-XPG3/varargs.h/conform): Likewise.
16738 (test-xfail-XPG4/varargs.h/conform): Likewise.
16739 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16740 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16741 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16742 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16743 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16744 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16745 (test-xfail-XPG3/ftw.h/conform): Likewise.
16746 (test-xfail-XPG3/grp.h/conform): Likewise.
16747 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16748 (test-xfail-XPG3/limits.h/conform): Likewise.
16749 (test-xfail-XPG3/pwd.h/conform): Likewise.
16750 (test-xfail-XPG3/search.h/conform): Likewise.
16751 (test-xfail-XPG3/signal.h/conform): Likewise.
16752 (test-xfail-XPG3/stdio.h/conform): Likewise.
16753 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16754 (test-xfail-XPG3/string.h/conform): Likewise.
16755 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16756 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16757 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16758 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16759 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16760 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16761 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16762 (test-xfail-XPG3/termios.h/conform): Likewise.
16763 (test-xfail-XPG3/time.h/conform): Likewise.
16764 (test-xfail-XPG3/unistd.h/conform): Likewise.
16765 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16766 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16767 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16768 (test-xfail-XPG4/netdb.h/conform): Likewise.
16769 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16770 (test-xfail-XPG4/signal.h/conform): Likewise.
16771 (test-xfail-XPG4/stdio.h/conform): Likewise.
16772 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16773 (test-xfail-XPG4/stropts.h/conform): Likewise.
16774 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16775 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16776 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16777 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16778 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16779 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16780 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16781 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16782 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16783 (test-xfail-XPG4/termios.h/conform): Likewise.
16784 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16785 (test-xfail-XPG4/unistd.h/conform): Likewise.
16786 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16787 (test-xfail-POSIX/sched.h/conform): Likewise.
16788 (test-xfail-POSIX/signal.h/conform): Likewise.
16789 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16790 (test-xfail-POSIX/tar.h/conform): Likewise.
16791 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16792 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16793 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16794 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16795 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16796 (test-xfail-UNIX98/sched.h/conform): Likewise.
16797 (test-xfail-UNIX98/signal.h/conform): Likewise.
16798 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16799 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16800 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16801 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16802 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16803 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16804 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16805 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16806 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16807 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16808 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16809 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16810 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16811 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16812 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16813 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16814 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16815 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16816 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16817 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16818 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16819 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16820 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16821 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16822 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16823 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16824 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16825 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16826 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16827 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16828 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16829 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16830 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16831 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16832 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16833 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16834 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16835 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16836 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16837 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16838 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16839 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16840 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16841 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16842 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16843 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16844 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16845 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16846 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16847 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16848 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16849 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16850 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16851 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16852 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16853 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16854 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16855 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16856 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16857 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16858 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16859 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16860 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16861 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16862 (conformtest-cc-flags): Likewise.
16863 ($(conformtest-header-tests): New target.
16864 * conform/check-header-lists.sh: New file.
16865 * conform/run-conformtest.sh: Remove.
16866
16867 * conform/conformtest.pl: Allow ' and \ in values given for
16868 constants.
16869 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16870 inclusion.
16871 [POSIX] (sys/types.h): Likewise.
16872 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16873 inclusion.
16874 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16875 inclusion.
16876 * conform/data/signal.h-data (SIGIO): Remove expectation.
16877 [XPG3] (SIGBUS): Do not expect.
16878 [POSIX || XPG3] (SIGPOLL): Likewise.
16879 [POSIX || XPG3] (SIGPROF): Likewise.
16880 [POSIX || XPG3] (SIGSYS): Likewise.
16881 [XPG3] (SIGTRAP): Likewise.
16882 [POSIX || XPG3] (SIGURG): Likewise.
16883 [POSIX || XPG3] (SIGVTALRM): Likewise.
16884 [POSIX || XPG3] (SIGXCPU): Likewise.
16885 [POSIX || XPG3] (SIGXFSZ): Likewise.
16886 [POSIX] (SA_SIGINFO): Expect.
16887 [XPG3] (siginfo_t): Do not expect type or contents.
16888 [POSIX] (si_pid): Do not expect element.
16889 [POSIX] (si_uid): Likewise.
16890 [POSIX] (si_addr): Likewise.
16891 [POSIX] (si_status): Likewise.
16892 [POSIX] (si_band): Likewise.
16893 [XPG4] (si_value): Likewise.
16894 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16895 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16896 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16897 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16898 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16899 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16900 [POSIX || XPG3] (ILL_COPROC): Likewise.
16901 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16902 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16903 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16904 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16905 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16906 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16907 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16908 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16909 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16910 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16911 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16912 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16913 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16914 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16915 [POSIX || XPG3] (CLD_EXITED): Likewise.
16916 [POSIX || XPG3] (CLD_KILLED): Likewise.
16917 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16918 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16919 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16920 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16921 [POSIX || XPG3] (POLL_IN): Likewise.
16922 [POSIX || XPG3] (POLL_OUT): Likewise.
16923 [POSIX || XPG3] (POLL_MSG): Likewise.
16924 [POSIX || XPG3] (POLL_ERR): Likewise.
16925 [POSIX || XPG3] (POLL_PRI): Likewise.
16926 [POSIX || XPG3] (POLL_HUP): Likewise.
16927 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16928 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16929 (SIG*): Do not allow.
16930 [XPG3] (si_*): Likewise.
16931 [XPG3] (SI_*): Likewise.
16932 [XPG3 || XPG4] (sigev_*): Likewise.
16933 [XPG3 || XPG4] (SIGEV_*): Likewise.
16934 [XPG3 || XPG4] (sival_*): Likewise.
16935 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16936 [POSIX || XPG3] (BUS_*): Likewise.
16937 [POSIX || XPG3] (CLD_*): Likewise.
16938 [POSIX || XPG3] (FPE_*): Likewise.
16939 [POSIX || XPG3] (ILL_*): Likewise.
16940 [POSIX || XPG3] (POLL_*): Likewise.
16941 [POSIX || XPG3] (SEGV_*): Likewise.
16942 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16943 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16944 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16945 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16946 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16947 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16948 Specify type and value.
16949 (TVERSLEN): Likewise.
16950 (REGTYPE): Likewise.
16951 (AREGTYPE): Likewise.
16952 (LNKTYPE): Likewise.
16953 (SYMTYPE): Likewise.
16954 (CHRTYPE): Likewise.
16955 (BLKTYPE): Likewise.
16956 (DIRTYPE): Likewise.
16957 (FIFOTYPE): Likewise.
16958 (CONTTYPE): Likewise.
16959 (TSUID): Likewise.
16960 (TSGID): Likewise.
16961 (TSVTX): Likewise.
16962 (TUREAD): Likewise.
16963 (TUWRITE): Likewise.
16964 (TUEXEC): Likewise.
16965 (TGREAD): Likewise.
16966 (TGWRITE): Likewise.
16967 (TGEXEC): Likewise.
16968 (TOREAD): Likewise.
16969 (TOWRITE): Likewise.
16970 (TOEXEC): Likewise.
16971 [POSIX] (TSVTX): Expect constant.
16972
169732014-03-06 Joseph Myers <joseph@codesourcery.com>
16974
16975 * Makefile (tests): Change dependencies to ....
16976 (tests-special): ... additions to this variable.
16977 (tests): Depend on $(tests-special).
16978 * Makerules (check-abi-list): New variable.
16979 (check-abi): Depend on $(check-abi-list).
16980 [$(subdir) = elf] (tests-special): Add
16981 $(objpfx)check-abi-libc.out.
16982 [$(build-shared) = yes && subdir] (tests-special): Add
16983 $(check-abi-list).
16984 [$(build-shared) = yes && subdir] (tests): Do not depend on
16985 check-abi.
16986 * Rules (tests): Depend on $(tests-special).
16987 (xtests): Depend on $(xtests-special).
16988 * catgets/Makefile (tests): Change dependencies to ....
16989 (tests-special): ... additions to this variable.
16990 * conform/Makefile (tests): Change dependencies to ....
16991 (tests-special): ... additions to this variable.
16992 * elf/Makefile (tests): Change dependencies to ....
16993 (tests-special): ... additions to this variable.
16994 * grp/Makefile (tests): Change dependencies to ....
16995 (tests-special): ... additions to this variable.
16996 * iconv/Makefile (xtests): Change dependencies to ....
16997 (xtests-special): ... additions to this variable.
16998 * iconvdata/Makefile (tests): Change dependencies to ....
16999 (tests-special): ... additions to this variable.
17000 * intl/Makefile (tests): Change dependencies to ....
17001 (tests-special): ... additions to this variable. Also add
17002 $(objpfx)tst-gettext.out.
17003 * io/Makefile (tests): Change dependencies to ....
17004 (tests-special): ... additions to this variable.
17005 * libio/Makefile (tests): Change dependencies to ....
17006 (tests-special): ... additions to this variable.
17007 * malloc/Makefile (tests): Change dependencies to ....
17008 (tests-special): ... additions to this variable.
17009 * misc/Makefile (tests): Change dependencies to ....
17010 (tests-special): ... additions to this variable.
17011 * nptl/Makefile (tests): Change dependencies to ....
17012 (tests-special): ... additions to this variable.
17013 * nptl_db/Makefile (tests): Change dependencies to ....
17014 (tests-special): ... additions to this variable.
17015 * posix/Makefile (tests): Change dependencies to ....
17016 (tests-special): ... additions to this variable.
17017 (xtests): Change dependencies to ....
17018 (xtests-special): ... additions to this variable.
17019 * resolv/Makefile (tests): Change dependencies to ....
17020 (tests-special): ... additions to this variable.
17021 (xtests): Change dependencies to ....
17022 (xtests-special): ... additions to this variable.
17023 * stdio-common/Makefile (tests): Change dependencies to ....
17024 (tests-special): ... additions to this variable.
17025 (do-tst-unbputc): Remove target.
17026 (do-tst-printf): Likewise.
17027 * stdlib/Makefile (tests): Change dependencies to ....
17028 (tests-special): ... additions to this variable.
17029 * string/Makefile (tests): Change dependencies to ....
17030 (tests-special): ... additions to this variable.
17031 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17032 (tests-special): ... additions to this variable.
17033
17034 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17035 whole file.
17036 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17037 whole file.
17038 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17039 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17040
17041 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17042 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17043 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17044 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17045 * conform/data/libgen.h-data [XPG3]: Likewise.
17046 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17047 * conform/data/ndbm.h-data [XPG3]: Likewise.
17048 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17049 * conform/data/netdb.h-data [XPG3]: Likewise.
17050 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17051 * conform/data/poll.h-data [XPG3]: Likewise.
17052 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17053 * conform/data/strings.h-data [XPG3]: Likewise.
17054 * conform/data/stropts.h-data [XPG3]: Likewise.
17055 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17056 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17057 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17058 Likewise.
17059 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17060 * conform/data/sys/time.h-data [XPG3]: Likewise.
17061 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17062 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17063 * conform/data/sys/un.h-data [XPG3]: Likewise.
17064 * conform/data/syslog.h-data [XPG3]: Likewise.
17065 * conform/data/ucontext.h-data [XPG3]: Likewise.
17066 * conform/data/utmpx.h-data [XPG3]: Likewise.
17067 * conform/data/varargs.h-data [UNIX98]: Enable file.
17068
17069 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17070
17071 * math/libm-test.inc (struct test_f_f_data): Move expected results
17072 into structure for each rounding mode.
17073 (struct test_ff_f_data): Likewise.
17074 (struct test_ff_f_data_nexttoward): Likewise.
17075 (struct test_fi_f_data): Likewise.
17076 (struct test_fl_f_data): Likewise.
17077 (struct test_if_f_data): Likewise.
17078 (struct test_fff_f_data): Likewise.
17079 (struct test_c_f_data): Likewise.
17080 (struct test_f_f1_data): Likewise.
17081 (struct test_fF_f1_data): Likewise.
17082 (struct test_ffI_f1_data): Likewise.
17083 (struct test_c_c_data): Likewise.
17084 (struct test_cc_c_data): Likewise.
17085 (struct test_f_i_data): Likewise.
17086 (struct test_ff_i_data): Likewise.
17087 (struct test_f_l_data): Likewise.
17088 (struct test_f_L_data): Likewise.
17089 (struct test_fFF_11_data): Likewise.
17090 (RM_): New macro.
17091 (RM_FE_DOWNWARD): Likewise.
17092 (RM_FE_TONEAREST): Likewise.
17093 (RM_FE_TOWARDZERO): Likewise.
17094 (RM_FE_UPWARD): Likewise.
17095 (RUN_TEST_LOOP_f_f): Update references to expected results.
17096 (RUN_TEST_LOOP_2_f): Likewise.
17097 (RUN_TEST_LOOP_fff_f): Likewise.
17098 (RUN_TEST_LOOP_c_f): Likewise.
17099 (RUN_TEST_LOOP_f_f1): Likewise.
17100 (RUN_TEST_LOOP_fF_f1): Likewise.
17101 (RUN_TEST_LOOP_fI_f1): Likewise.
17102 (RUN_TEST_LOOP_ffI_f1): Likewise.
17103 (RUN_TEST_LOOP_c_c): Likewise.
17104 (RUN_TEST_LOOP_cc_c): Likewise.
17105 (RUN_TEST_LOOP_f_i): Likewise.
17106 (RUN_TEST_LOOP_f_i_tg): Likewise.
17107 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17108 (RUN_TEST_LOOP_f_b): Likewise.
17109 (RUN_TEST_LOOP_f_b_tg): Likewise.
17110 (RUN_TEST_LOOP_f_l): Likewise.
17111 (RUN_TEST_LOOP_f_L): Likewise.
17112 (RUN_TEST_LOOP_fFF_11): Likewise.
17113 * math/gen-libm-test.pl (parse_args): Output four copies of
17114 expected results for each test.
17115
17116 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17117 (__ASSUME_UTIMES): Remove.
17118 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17119 (__ASSUME_UTIMES): Likewise.
17120
17121 * math/gen-auto-libm-tests.c: Update comment on output format.
17122 (output_for_one_input_case): Generate before-rounding and
17123 after-rounding information as conditions on output flags not
17124 floating-point format.
17125 * math/auto-libm-test-out: Regenerated.
17126 * math/gen-libm-test.pl (cond_value): New function.
17127 (or_cond_value): Use cond_value.
17128 (generate_testfile): Handle conditional exceptions.
17129
171302014-03-05 Joseph Myers <joseph@codesourcery.com>
17131
17132 * math/libm-test.inc (max_valid_error): New variable.
17133 (init_max_error): Take new argument specifying whether function
17134 results are exactly determined. Set max_valid_error and bound
17135 other variables for errors based on this argument.
17136 (set_max_error): Do not record results above max_valid_error.
17137 (check_float_internal): Only accept errors of up to 0.5ulps if
17138 also at most max_valid_error.
17139 (START): Take new argument EXACT and pass it to init_max_error.
17140 (acos_test): Update call to START.
17141 (acos_test_tonearest): Likewise.
17142 (acos_test_towardzero): Likewise.
17143 (acos_test_downward): Likewise.
17144 (acos_test_upward): Likewise.
17145 (acosh_test): Likewise.
17146 (asin_test): Likewise.
17147 (asin_test_tonearest): Likewise.
17148 (asin_test_towardzero): Likewise.
17149 (asin_test_downward): Likewise.
17150 (asin_test_upward): Likewise.
17151 (asinh_test): Likewise.
17152 (atan_test): Likewise.
17153 (atanh_test): Likewise.
17154 (atan2_test): Likewise.
17155 (cabs_test): Likewise.
17156 (cacos_test): Likewise.
17157 (cacosh_test): Likewise.
17158 (carg_test): Likewise.
17159 (casin_test): Likewise.
17160 (casinh_test): Likewise.
17161 (catan_test): Likewise.
17162 (catanh_test): Likewise.
17163 (cbrt_test): Likewise.
17164 (ccos_test): Likewise.
17165 (ccosh_test): Likewise.
17166 (ceil_test): Likewise.
17167 (cexp_test): Likewise.
17168 (cimag_test): Likewise.
17169 (clog_test): Likewise.
17170 (clog10_test): Likewise.
17171 (conj_test): Likewise.
17172 (copysign_test): Likewise.
17173 (cos_test): Likewise.
17174 (cos_test_tonearest): Likewise.
17175 (cos_test_towardzero): Likewise.
17176 (cos_test_downward): Likewise.
17177 (cos_test_upward): Likewise.
17178 (cosh_test): Likewise.
17179 (cosh_test_tonearest): Likewise.
17180 (cosh_test_towardzero): Likewise.
17181 (cosh_test_downward): Likewise.
17182 (cosh_test_upward): Likewise.
17183 (cpow_test): Likewise.
17184 (cproj_test): Likewise.
17185 (creal_test): Likewise.
17186 (csin_test): Likewise.
17187 (csinh_test): Likewise.
17188 (csqrt_test): Likewise.
17189 (ctan_test): Likewise.
17190 (ctan_test_tonearest): Likewise.
17191 (ctan_test_towardzero): Likewise.
17192 (ctan_test_downward): Likewise.
17193 (ctan_test_upward): Likewise.
17194 (ctanh_test): Likewise.
17195 (ctanh_test_tonearest): Likewise.
17196 (ctanh_test_towardzero): Likewise.
17197 (ctanh_test_downward): Likewise.
17198 (ctanh_test_upward): Likewise.
17199 (erf_test): Likewise.
17200 (erfc_test): Likewise.
17201 (exp_test): Likewise.
17202 (exp_test_tonearest): Likewise.
17203 (exp_test_towardzero): Likewise.
17204 (exp_test_downward): Likewise.
17205 (exp_test_upward): Likewise.
17206 (exp10_test): Likewise.
17207 (exp10_test_tonearest): Likewise.
17208 (exp10_test_towardzero): Likewise.
17209 (exp10_test_downward): Likewise.
17210 (exp10_test_upward): Likewise.
17211 (pow10_test): Likewise.
17212 (exp2_test): Likewise.
17213 (expm1_test): Likewise.
17214 (expm1_test_tonearest): Likewise.
17215 (expm1_test_towardzero): Likewise.
17216 (expm1_test_downward): Likewise.
17217 (expm1_test_upward): Likewise.
17218 (fabs_test): Likewise.
17219 (fdim_test): Likewise.
17220 (floor_test): Likewise.
17221 (fma_test): Likewise.
17222 (fma_test_towardzero): Likewise.
17223 (fma_test_downward): Likewise.
17224 (fma_test_upward): Likewise.
17225 (fmax_test): Likewise.
17226 (fmin_test): Likewise.
17227 (fmod_test): Likewise.
17228 (fpclassify_test): Likewise.
17229 (frexp_test): Likewise.
17230 (hypot_test): Likewise.
17231 (ilogb_test): Likewise.
17232 (isfinite_test): Likewise.
17233 (finite_test): Likewise.
17234 (isgreater_test): Likewise.
17235 (isgreaterequal_test): Likewise.
17236 (isinf_test): Likewise.
17237 (isless_test): Likewise.
17238 (islessequal_test): Likewise.
17239 (islessgreater_test): Likewise.
17240 (isnan_test): Likewise.
17241 (isnormal_test): Likewise.
17242 (issignaling_test): Likewise.
17243 (isunordered_test): Likewise.
17244 (j0_test): Likewise.
17245 (j1_test): Likewise.
17246 (jn_test): Likewise.
17247 (ldexp_test): Likewise.
17248 (lgamma_test): Likewise.
17249 (gamma_test): Likewise.
17250 (lrint_test): Likewise.
17251 (lrint_test_tonearest): Likewise.
17252 (lrint_test_towardzero): Likewise.
17253 (lrint_test_downward): Likewise.
17254 (lrint_test_upward): Likewise.
17255 (llrint_test): Likewise.
17256 (llrint_test_tonearest): Likewise.
17257 (llrint_test_towardzero): Likewise.
17258 (llrint_test_downward): Likewise.
17259 (llrint_test_upward): Likewise.
17260 (log_test): Likewise.
17261 (log10_test): Likewise.
17262 (log1p_test): Likewise.
17263 (log2_test): Likewise.
17264 (logb_test): Likewise.
17265 (logb_test_downward): Likewise.
17266 (lround_test): Likewise.
17267 (llround_test): Likewise.
17268 (modf_test): Likewise.
17269 (nearbyint_test): Likewise.
17270 (nextafter_test): Likewise.
17271 (nexttoward_test): Likewise.
17272 (pow_test): Likewise.
17273 (pow_test_tonearest): Likewise.
17274 (pow_test_towardzero): Likewise.
17275 (pow_test_downward): Likewise.
17276 (pow_test_upward): Likewise.
17277 (remainder_test): Likewise.
17278 (drem_test): Likewise.
17279 (remainder_test_tonearest): Likewise.
17280 (drem_test_tonearest): Likewise.
17281 (remainder_test_towardzero): Likewise.
17282 (drem_test_towardzero): Likewise.
17283 (remainder_test_downward): Likewise.
17284 (drem_test_downward): Likewise.
17285 (remainder_test_upward): Likewise.
17286 (drem_test_upward): Likewise.
17287 (remquo_test): Likewise.
17288 (rint_test): Likewise.
17289 (rint_test_tonearest): Likewise.
17290 (rint_test_towardzero): Likewise.
17291 (rint_test_downward): Likewise.
17292 (rint_test_upward): Likewise.
17293 (round_test): Likewise.
17294 (scalb_test): Likewise.
17295 (scalbn_test): Likewise.
17296 (scalbln_test): Likewise.
17297 (signbit_test): Likewise.
17298 (sin_test): Likewise.
17299 (sin_test_tonearest): Likewise.
17300 (sin_test_towardzero): Likewise.
17301 (sin_test_downward): Likewise.
17302 (sin_test_upward): Likewise.
17303 (sincos_test): Likewise.
17304 (sinh_test): Likewise.
17305 (sinh_test_tonearest): Likewise.
17306 (sinh_test_towardzero): Likewise.
17307 (sinh_test_downward): Likewise.
17308 (sinh_test_upward): Likewise.
17309 (sqrt_test): Likewise.
17310 (sqrt_test_tonearest): Likewise.
17311 (sqrt_test_towardzero): Likewise.
17312 (sqrt_test_downward): Likewise.
17313 (sqrt_test_upward): Likewise.
17314 (tan_test): Likewise.
17315 (tan_test_tonearest): Likewise.
17316 (tan_test_towardzero): Likewise.
17317 (tan_test_downward): Likewise.
17318 (tan_test_upward): Likewise.
17319 (tanh_test): Likewise.
17320 (tgamma_test): Likewise.
17321 (trunc_test): Likewise.
17322 (y0_test): Likewise.
17323 (y1_test): Likewise.
17324 (yn_test): Likewise.
17325 (significand_test): Likewise.
17326
17327 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17328 individual tests in comment.
17329 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17330 (prev_max_error): New variable.
17331 (prev_real_max_error): Likewise.
17332 (prev_imag_max_error): Likewise.
17333 (compare_ulp_data): Don't refer to test names in comment.
17334 (find_test_ulps): Remove function.
17335 (find_function_ulps): Likewise.
17336 (find_complex_function_ulps): Likewise.
17337 (init_max_error): Take function name as argument. Look up ulps
17338 for that function.
17339 (print_ulps): Remove function.
17340 (print_max_error): Use prev_max_error instead of calling
17341 find_function_ulps.
17342 (print_complex_max_error): Use prev_real_max_error and
17343 prev_imag_max_error instead of calling find_complex_function_ulps.
17344 (check_float_internal): Take max_ulp parameter instead of calling
17345 find_test_ulps. Don't call print_ulps.
17346 (check_float): Update call to check_float_internal.
17347 (check_complex): Update calls to check_float_internal.
17348 (START): Pass argument to init_max_error.
17349 * math/gen-libm-test.pl (%results): Don't include "kind"
17350 information.
17351 (parse_ulps): Don't handle ulps of individual tests.
17352 (print_ulps_file): Likewise.
17353 (output_ulps): Likewise.
17354 * math/README.libm-test: Update.
17355 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17356 individual tests.
17357 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17358 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17359 * sysdeps/arm/libm-test-ulps: Likewise.
17360 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17361 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17362 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17363 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17364 * sysdeps/microblaze/libm-test-ulps: Likewise.
17365 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17368 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17370 * sysdeps/sh/libm-test-ulps: Likewise.
17371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17372 * sysdeps/tile/libm-test-ulps: Likewise.
17373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17374
173752014-03-04 Joseph Myers <joseph@codesourcery.com>
17376
17377 * math/libm-test.inc (print_complex_max_error): Check separately
17378 whether real and imaginary errors are within allowed range and
17379 pass 0 to print_complex_function_ulps instead of value within
17380 allowed range.
17381
173822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17383
17384 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17385 formatting.
17386 (get_handles_fopen): Likewise.
17387 (do_write_test): Likewise.
17388
17389 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17390
17391 * libio/fileops.c (do_ftell): Use cached offset when
17392 available.
17393 * libio/iofwide.c (do_ftell_wide): Likewise.
17394 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17395 _IO_file_attach.
17396 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17397
17398 [BZ #16532]
17399 * libio/libioP.h (get_file_offset): New function.
17400 * libio/fileops.c (get_file_offset): Likewise.
17401 (do_ftell): Likewise.
17402 (_IO_new_file_seekoff): Split out ftell logic.
17403 * libio/wfileops.c (do_ftell_wide): Likewise.
17404 (_IO_wfile_seekoff): Split out ftell logic.
17405 * libio/tst-ftell-active-handler.c: New test case.
17406 * libio/Makefile (tests): Add it.
17407
174082014-03-03 Roland McGrath <roland@hack.frob.com>
17409
17410 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17411 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17412
174132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17414
17415 [BZ #16639]
17416 * nscd/connections.c (nscd_init): Call do_exit.
17417 (start_threads): Call do_exit and notify_parent.
17418 (begin_drop_privileges): Call do_exit.
17419 (finish_drop_privileges): Likewise.
17420 * nscd/selinux.c (preserve_capabilities): Likewise.
17421 (install_real_capabilities): Likewise.
17422 (nscd_selinux_enabled): Likewise.
17423 (avc_create_thread): Likewise.
17424 (avc_alloc_lock): Likewise.
17425 (nscd_avc_init): Likewise.
17426 * nscd/nscd.c (parent_fd): New static variable.
17427 (main): Create a pipe between parent and child processes.
17428 Skip closing parent_fd.
17429 (monitor_child): New function.
17430 (do_exit): Likewise.
17431 (notify_parent): Likewise.
17432 * nscd/nscd.h (notify_parent): Likewise.
17433 (do_exit): Likewise.
17434
174352014-03-03 Carlos O'Donell <carlos@redhat.com>
17436
17437 * malloc/malloc.c (__libc_calloc): Revert last change.
17438
174392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17440
17441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17442
174432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17444
17445 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17447 implementation.
17448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17449 (__libc_ifunc_impl_list): Likewise.
17450 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17451 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17452 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17453 * string/strrchr.c: Define STRRCHR.
17454
174552014-02-28 Ondřej Bílka <neleai@seznam.cz>
17456
17457 * benchtest/bench-strtok.c (simple_strtok): Delete.
17458 (strtok_string): Use as benchmark.
17459 * string/strtok (STRTOK): New macro.
17460
174612014-02-28 Carlos O'Donell <carlos@redhat.com>
17462
17463 * manual/threads.texi: Add header and standard comments to all
17464 functions.
17465
17466 * elf/dl-lookup.c (check_match): New function.
17467 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17468 (do_lookup_x): Remove nested function check_match. Use non-nested
17469 function check_match.
17470
174712014-02-28 Roland McGrath <roland@hack.frob.com>
17472
17473 * csu/Makefile (generated, before-compile): Use += rather than =.
17474 * catgets/Makefile (generated, generated-dirs): Likewise.
17475 * debug/Makefile (generated): Likewise.
17476 * dlfcn/Makefile (generated): Likewise.
17477 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17478 * iconvdata/Makefile (before-compile, generated): Likewise.
17479 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17480 * libio/Makefile (generated): Likewise.
17481 * malloc/Makefile (generated): Likewise.
17482 * manual/Makefile (generated, generated-dirs): Likewise.
17483 * misc/Makefile (generated): Likewise.
17484 * posix/Makefile (generated): Likewise.
17485 * resolv/Makefile (generated): Likewise.
17486 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17487 * timezone/Makefile (generated, generated-dirs): Likewise.
17488
17489 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17490
174912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17492
17493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17494 power8 implementation.
17495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17496 file: POWER8 llround ifunc implementation.
17497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17498 (__lllround): Add POWER8 implementation.
17499 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17500 POWER8 llround implementation.
17501
17502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17503 power8 implementation.
17504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17505 file: POWER8 llrint ifunc implementation.
17506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17507 Add POWER8 implementation.
17508 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17509 POWER8 llrint implementation.
17510
17511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17512 power8 implementation.
17513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17514 file: POWER8 finite ifunc implementation.
17515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17516 Add POWER8 implementation.
17517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17518 Likewise.
17519 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17520 POWER8 finite implementation.
17521 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17522
17523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17524 power8 implementation.
17525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17526 file: POWER8 isinf ifunc implementation.
17527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17528 POWER8 implementation.
17529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17530 Likewise.
17531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17532 isinf implementation.
17533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17534
17535 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17536 (INIT_ARCH): Add hwcap2 initialization.
17537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17538 power8 implementation.
17539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17540 file: POWER8 isnan ifunc implementation.
17541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17542 POWER8 implementation.
17543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17544 Likewise.
17545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17546 isnan implementation.
17547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17548
175492014-02-27 Joey Ye <joey.ye@arm.com>
17550
17551 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17552 (_FP_NANFRAC_Q): Set to zero.
17553
175542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17555
17556 [BZ #16623]
17557 * math/auto-libm-test-in: New test inputs.
17558 * math/auto-libm-test-out: Regenerate.
17559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17560 and DA.
17561 (__cos): Likewise.
17562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17563
175642014-02-27 Joseph Myers <joseph@codesourcery.com>
17565
17566 * scripts/evaluate-test.sh: Take new argument indicating whether
17567 failure is expected.
17568 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17569 indicating whether failure is expected.
17570 * conform/Makefile (test-xfail-run-conformtest): New variable.
17571 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17572 level.
17573 * posix/Makefile (test-xfail-annexc): New variable.
17574 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17575
175762014-02-26 Joseph Myers <joseph@codesourcery.com>
17577
17578 * argp/Makefile: Include Makeconfig immediately after defining
17579 subdir.
17580 * assert/Makefile: Likewise.
17581 * benchtests/Makefile: Likewise.
17582 * catgets/Makefile: Likewise.
17583 * conform/Makefile: Likewise.
17584 * crypt/Makefile: Likewise.
17585 * csu/Makefile: Likewise.
17586 (all): Remove target.
17587 * ctype/Makefile: Include Makeconfig immediately after defining
17588 subdir.
17589 * debug/Makefile: Likewise.
17590 * dirent/Makefile: Likewise.
17591 * dlfcn/Makefile: Likewise.
17592 * gmon/Makefile: Likewise.
17593 * gnulib/Makefile: Likewise.
17594 * grp/Makefile: Likewise.
17595 * gshadow/Makefile: Likewise.
17596 * hesiod/Makefile: Likewise.
17597 * hurd/Makefile: Likewise.
17598 (all): Remove target.
17599 * iconvdata/Makefile: Include Makeconfig immediately after
17600 defining subdir.
17601 * inet/Makefile: Likewise.
17602 * intl/Makefile: Likewise.
17603 * io/Makefile: Likewise.
17604 * libio/Makefile: Likewise.
17605 (all): Remove target.
17606 * locale/Makefile: Include Makeconfig immediately after defining
17607 subdir.
17608 * login/Makefile: Likewise.
17609 * mach/Makefile: Likewise.
17610 (all): Remove target.
17611 * malloc/Makefile: Include Makeconfig immediately after defining
17612 subdir.
17613 (all): Remove target.
17614 * manual/Makefile: Include Makeconfig immediately after defining
17615 subdir.
17616 * math/Makefile: Likewise.
17617 * misc/Makefile: Likewise.
17618 * nis/Makefile: Likewise.
17619 * nss/Makefile: Likewise.
17620 * po/Makefile: Likewise.
17621 (all): Remove target.
17622 * posix/Makefile: Include Makeconfig immediately after defining
17623 subdir.
17624 * pwd/Makefile: Likewise.
17625 * resolv/Makefile: Likewise.
17626 * resource/Makefile: Likewise.
17627 * rt/Makefile: Likewise.
17628 * setjmp/Makefile: Likewise.
17629 * shadow/Makefile: Likewise.
17630 * signal/Makefile: Likewise.
17631 * socket/Makefile: Likewise.
17632 * soft-fp/Makefile: Likewise.
17633 * stdio-common/Makefile: Likewise.
17634 * stdlib/Makefile: Likewise.
17635 * streams/Makefile: Likewise.
17636 * string/Makefile: Likewise.
17637 * sunrpc/Makefile: Likewise.
17638 (all): Remove target.
17639 * sysvipc/Makefile: Include Makeconfig immediately after defining
17640 subdir.
17641 * termios/Makefile: Likewise.
17642 * time/Makefile: Likewise.
17643 * timezone/Makefile: Likewise.
17644 (all): Remove target.
17645 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17646 subdir.
17647 * wctype/Makefile: Likewise.
17648
176492014-02-26 Steve Ellcey <sellcey@mips.com>
17650
17651 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17652 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17653 (libc_feholdexcept_setround_mips): Ditto.
17654 (libc_feholdsetround): New.
17655 (libc_feholdsetroundf): New.
17656 (libc_feholdsetroundl): New.
17657 (libc_feupdateenv_test_mips): New.
17658 (libc_feupdateenv_test): New.
17659 (libc_feupdateenv_testf): New.
17660 (libc_feupdateenv_testl): New.
17661 (libc_feresetround): New.
17662 (libc_feresetroundf): New.
17663 (libc_feresetroundl): New.
17664 (libc_fetestexcept_mips): New.
17665 (libc_fetestexcept): New.
17666 (libc_fetestexceptf): New.
17667 (libc_fetestexceptl): New.
17668 (HAVE_RM_CTX): New.
17669 (libc_feholdexcept_setround_mips_ctx): New.
17670 (libc_feholdexcept_setround_ctx): New.
17671 (libc_feholdexcept_setroundf_ctx): New.
17672 (libc_feholdexcept_setroundl_ctx): New.
17673 (libc_fesetenv_mips_ctx): New.
17674 (libc_fesetenv_ctx): New.
17675 (libc_fesetenv_ctxf): New.
17676 (libc_fesetenv_ctxl): New.
17677 (libc_feupdateenv_mips_ctx): New.
17678 (libc_feupdateenv_ctx): New.
17679 (libc_feupdateenvf_ctx): New.
17680 (libc_feupdateenvl_ctx): New.
17681 (libc_feholdsetround_mips_ctx): New.
17682 (libc_feholdsetround_ctx): New.
17683 (libc_feholdsetroundf_ctx): New.
17684 (libc_feholdsetroundl_ctx): New.
17685 (libc_feresetround_mips_ctx): New.
17686 (libc_feresetround_ctx): New.
17687 (libc_feresetroundf_ctx): New.
17688 (libc_feresetroundl_ctx): New.
17689
176902014-02-26 Carlos O'Donell <carlos@redhat.com>
17691
17692 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17693
17694 * manual/ipc.texi: New file.
17695 * manual/Makefile (chapters): Add ipc.
17696 * manual/job.texi: Add "Inter-Process Communication" to next.
17697 * manual/process.texi: Add "Inter-Process Communication" to prev.
17698
176992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17700
17701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17702
177032014-02-26 Ondřej Bílka <neleai@seznam.cz>
17704
17705 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17706
17707 * manual/arith.texi: Fix spaces after sentences.
17708 * manual/charset.texi: Likewise.
17709 * manual/errno.texi: Likewise.
17710 * manual/install.texi: Likewise.
17711 * manual/llio.texi: Likewise.
17712 * manual/locale.texi: Likewise.
17713 * manual/maint.texi: Likewise.
17714 * manual/math.texi: Likewise.
17715 * manual/memory.texi: Likewise.
17716 * manual/message.texi: Likewise.
17717 * manual/probes.texi: Likewise.
17718 * manual/resource.texi: Likewise.
17719 * manual/signal.texi: Likewise.
17720 * manual/socket.texi: Likewise.
17721 * manual/stdio.texi: Likewise.
17722 * manual/string.texi: Likewise.
17723 * manual/time.texi: Likewise.
17724 * manual/users.texi: Likewise.
17725
177262014-02-25 Carlos O'Donell <carlos@redhat.com>
17727
17728 [BZ #16632]
17729 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17730 _DEFAULT_SOURCE is defined.
17731
177322014-02-25 Ulrich Drepper <drepper@gmail.com>
17733 Carlos O'Donell <carlos@redhat.com>
17734
17735 [BZ #16613]
17736 * elf/dl-tls.c (_dl_count_modids): New function.
17737 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17738 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17739 audit library and increment generation counter.
17740 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17741 * elf/tst-audit9.c: New file.
17742 * elf/tst-auditmod9a.c: New file.
17743 * elf/tst-auditmod9b.c: New file.
17744 * elf/Makefile: Add rules to build and run tst-audit9.
17745
177462014-02-25 Florian Weimer <fweimer@redhat.com>
17747
17748 [BZ #15347]
17749 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17750
177512014-02-25 Will Newton <will.newton@linaro.org>
17752
17753 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17754 (__longjmp): Restore sp and lr before restoring callee
17755 saved registers. Add longjmp and longjmp_target
17756 SystemTap probe point.
17757 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17758 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17759 Define to zero to match jmpbuf layout.
17760 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17761 (__sigsetjmp): Save sp and lr before saving callee
17762 saved registers. Add setjmp SystemTap probe point.
17763
177642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17765
17766 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17767
177682014-02-24 Andreas Schwab <schwab@suse.de>
17769
17770 [BZ #15804]
17771 * elf/pldd.c (wait_for_ptrace_stop): New function.
17772 (main): Call it after attaching.
17773
177742014-02-22 Roland McGrath <roland@hack.frob.com>
17775
17776 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17777 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17778 Versions files is now verboten.
17779 * hurd/Versions (libc: GLIBC_2.0):
17780 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17781 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17782 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17783 * mach/Versions: Likewise.
17784
17785 * csu/Versions: Remove unused %include.
17786 * resolv/Versions: Likewise.
17787
177882014-02-21 Joseph Myers <joseph@codesourcery.com>
17789
17790 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17791 ($(objpfx)check-local-headers.out): Likewise.
17792 ($(objpfx)begin-end-check.out): Likewise.
17793 * Makerules (check-abi-%.out): Likewise.
17794 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17795 ($(objpfx)test2.cat): Likewise.
17796 ($(objpfx)de/libc.cat): Likewise.
17797 ($(objpfx)test-gencat.out): Likewise.
17798 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17799 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17800 ($(objpfx)noload-mem): Likewise.
17801 ($(objpfx)tst-pathopt.out): Likewise.
17802 ($(objpfx)tst-rtld-load-self.out): Likewise.
17803 ($(objpfx)tst-array1-cmp.out): Likewise.
17804 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17805 ($(objpfx)tst-array2-cmp.out): Likewise.
17806 ($(objpfx)tst-array3-cmp.out): Likewise.
17807 ($(objpfx)tst-array4-cmp.out): Likewise.
17808 ($(objpfx)tst-array5-cmp.out): Likewise.
17809 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17810 ($(objpfx)check-textrel.out): Likewise.
17811 ($(objpfx)check-execstack.out): Likewise.
17812 ($(objpfx)check-localplt.out): Likewise.
17813 ($(objpfx)order2-cmp.out): Likewise.
17814 ($(objpfx)tst-leaks1-mem): Likewise.
17815 ($(objpfx)tst-leaks1-static-mem): Likewise.
17816 ($(objpfx)tst-initorder-cmp.out): Likewise.
17817 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17818 ($(objpfx)tst-unused-dep.out): Likewise.
17819 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17821 * iconv/Makefile (test-iconvconfig): Likewise.
17822 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17823 ($(objpfx)iconv-test.out): Likewise.
17824 ($(objpfx)tst-tables.out): Likewise.
17825 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17826 ($(objpfx)tst-gettext.out): Likewise.
17827 ($(objpfx)tst-translit.out): Likewise.
17828 ($(objpfx)tst-gettext2.out): Likewise.
17829 ($(objpfx)tst-gettext4.out): Likewise.
17830 ($(objpfx)tst-gettext6.out): Likewise.
17831 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17832 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17833 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17834 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17835 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17836 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17837 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17838 ($(objpfx)wordexp-tst.out): Likewise.
17839 ($(objpfx)annexc.out): Likewise.
17840 ($(objpfx)tst-fnmatch-mem): Likewise.
17841 ($(objpfx)bug-regex2-mem): Likewise.
17842 ($(objpfx)bug-regex14-mem): Likewise.
17843 ($(objpfx)bug-regex21-mem): Likewise.
17844 ($(objpfx)bug-regex31-mem): Likewise.
17845 ($(objpfx)tst-vfork3-mem): Likewise.
17846 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17847 ($(objpfx)tst-pcre-mem): Likewise.
17848 ($(objpfx)tst-boost-mem): Likewise.
17849 ($(objpfx)tst-getconf.out): Likewise.
17850 ($(objpfx)bug-ga2-mem): Likewise.
17851 ($(objpfx)bug-glob2-mem): Likewise.
17852 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17853 ($(objpfx)mtrace-tst-leaks2): Likewise.
17854 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17855 ($(objpfx)tst-printf.out): Likewise.
17856 ($(objpfx)tst-setvbuf1.out): Likewise.
17857 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17858 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17859 ($(objpfx)tst-fmtmsg.out): Likewise.
17860 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17861 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17862
17863 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17864 * bits/sigaction.h [__USE_MISC]: Likewise.
17865 * bits/waitstatus.h: Update #endif comments.
17866 * ctype/ctype.h: Likewise.
17867 * dirent/dirent.h: Likewise.
17868 [__USE_MISC]: Remove redundant conditionals.
17869 * grp/grp.h: Update #endif comments.
17870 [__USE_GNU]: Remove redundant conditionals.
17871 [__USE_MISC]: Likewise.
17872 * inet/netinet/in.h [__USE_GNU]: Likewise.
17873 * io/sys/stat.h [__USE_MISC]: Likewise.
17874 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17875 * libio/bits/stdio.h: Update #endif comments.
17876 [__USE_MISC]: Remove redundant conditionals.
17877 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17878 * libio/stdio.h: Update #endif comments.
17879 [__USE_MISC]: Remove redundant conditionals.
17880 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17881 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17882 * math/math.h: Update #else and #endif comments.
17883 [__USE_MISC]: Remove redundant conditionals.
17884 * misc/sys/uio.h: Update #endif comments.
17885 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17886 * posix/glob.h [__USE_MISC]: Likewise.
17887 * posix/sys/types.h: Update #endif comments.
17888 [__USE_MISC]: Remove redundant conditionals.
17889 * posix/sys/wait.h: Update #endif comments.
17890 [__USE_MISC]: Remove redundant conditionals.
17891 * posix/unistd.h: Update #endif comments.
17892 [__USE_MISC]: Remove redundant conditionals.
17893 * pwd/pwd.h [__USE_GNU]: Likewise.
17894 [__USE_MISC]: Likewise.
17895 * resolv/netdb.h [__USE_GNU]: Likewise.
17896 * signal/signal.h: Update #endif comments.
17897 [__USE_MISC]: Remove redundant conditionals.
17898 * stdlib/stdlib.h: Update #else and #endif comments.
17899 [__USE_MISC]: Remove redundant conditionals.
17900 [__USE_GNU]: Likewise.
17901 * string/bits/string2.h [__USE_MISC]: Likewise.
17902 * string/string.h: Update #endif comments.
17903 [__USE_MISC]: Remove redundant conditionals.
17904 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17905 Likewise.
17906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17907 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17908 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17909 Likewise.
17910 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17911 Likewise.
17912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17913 comments.
17914 [__USE_MISC]: Remove redundant conditionals.
17915 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17916 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17917 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17918 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17919 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17920 Likewise.
17921 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17922 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17923 Likewise.
17924 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17925 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17926 Likewise.
17927 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17928 Likewise.
17929 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17930 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17931 Likewise.
17932 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17933 Likewise.
17934 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17935 * sysdeps/x86/bits/string.h: Update #endif comments.
17936 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17937 conditionals.
17938 * time/sys/time.h: Update #endif comments.
17939 * time/time.h: Likewise.
17940 [__USE_MISC]: Remove redundant conditionals.
17941
179422014-02-21 Yury Gribov <y.gribov@samsung.com>
17943
17944 [BZ #16600]
17945 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17946
179472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17948
17949 * Versions.def (librt): Add GLIBC_2.17.
17950
179512014-02-21 Adam Conrad <adconrad@0c3.net>
17952
17953 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17954 synonym for _SYS_AUXV_H to allow direct inclusion.
17955 * sysdeps/sparc/bits/hwcap.h: Likewise.
17956 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17957 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17958 * sysdeps/sparc/sysdep.h: Likewise.
17959
179602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17961
17962 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17963
179642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17965
17966 * benchtests/bench-strrchr.c: Print length instead of position.
17967
179682014-02-20 Joseph Myers <joseph@codesourcery.com>
17969
17970 [BZ #16611]
17971 * sysdeps/unix/sysv/linux/kernel-features.h
17972 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17973 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17974 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17975 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17976 Likewise.
17977 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17978 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17979 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17980 (__ASSUME_SENDMMSG): Define instead of using previous
17981 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17983 (__ASSUME_SENDMMSG_SYSCALL): Define.
17984 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17985 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17986 Likewise.
17987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17988 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17989 Likewise.
17990 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17991 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17992 Likewise.
17993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17994 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17996 [__ASSUME_SENDMMSG]: Change conditionals to
17997 [__ASSUME_SENDMMSG_SOCKETCALL].
17998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17999 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18000 Define.
18001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18002 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18003 Likewise.
18004 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18005 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18006 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18007 [!__ASSUME_SENDMMSG]: Change conditional to
18008 [!__ASSUME_SENDMMSG_SOCKETCALL].
18009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18011 Define.
18012
18013 [BZ #16610]
18014 * sysdeps/unix/sysv/linux/kernel-features.h
18015 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18016 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18017 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18018 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18019 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18020 [__i386__ || __sparc__]
18021 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18022 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18023 (__ASSUME_RECVMMSG): Define instead of using previous
18024 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18025 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18026 (__ASSUME_RECVMMSG_SYSCALL): Define.
18027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18029 Likewise.
18030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18032 Likewise.
18033 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18034 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18035 Likewise.
18036 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18037 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18038 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18039 [__ASSUME_RECVMMSG]: Change condition to
18040 [__ASSUME_RECVMMSG_SOCKETCALL].
18041 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18043 Define.
18044 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18047 Likewise.
18048 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18049 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18050 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18051 [!__ASSUME_RECVMMSG]: Change condition to
18052 [!__ASSUME_RECVMMSG_SOCKETCALL].
18053 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18054 (__ASSUME_RECVMMSG_SYSCALL): Define.
18055
18056 [BZ #16609]
18057 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18058 __powerpc__ || __s390__ || __sh__ || __sparc__]
18059 (__ASSUME_SOCKETCALL): Define.
18060 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18061 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18062 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18063 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18064 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18065 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18066 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18067 (__ASSUME_ACCEPT4): Define instead of using previous
18068 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18069 __powerpc__ || __sparc__ || __s390__)] condition.
18070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18071 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18072 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18073 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18075 [!__ASSUME_ACCEPT4]: Change condition to
18076 [!__ASSUME_ACCEPT4_SOCKETCALL].
18077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18078 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18079 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18081 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18082 __ASSUME_ACCEPT4_SYSCALL.
18083 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18084 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18085 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18086 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18087 __ASSUME_ACCEPT4_SYSCALL.
18088 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18089 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18090 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18091 [__ASSUME_ACCEPT4]: Change condition to
18092 [__ASSUME_ACCEPT4_SOCKETCALL].
18093 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18094 (__ASSUME_SOCKETCALL): Define.
18095 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18097 (__ASSUME_SOCKETCALL): Define.
18098 (__ASSUME_ACCEPT4): Remove.
18099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18100 Define.
18101 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18102 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18103 Likewise.
18104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18105 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18106
18107 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18108 macro.
18109 (HWCAP_ARM_LPAE): Likewise.
18110 (HWCAP_ARM_EVTSTRM): Likewise.
18111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18112 Add vpfd32, lpae and evtstrm.
18113 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18114 Increase to 22.
18115
181162014-02-19 Joseph Myers <joseph@codesourcery.com>
18117
18118 * math/auto-libm-test-in: Add tests of clog10.
18119 * math/auto-libm-test-out: Regenerated.
18120 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18121 * sysdeps/i386/fpu/libm-test-ulps: Update.
18122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18123
181242014-02-18 Andreas Schwab <schwab@suse.de>
18125
18126 [BZ #16574]
18127 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18128 Store non-zero if the second buffer was newly allocated.
18129 (send_dg): Likewise.
18130 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18131 to send_vc and send_dg.
18132 (res_nsend): Pass NULL for ansp2_malloced.
18133 * resolv/res_query.c (__libc_res_nquery): Add parameter
18134 answerp2_malloced and pass it down to __libc_res_nsend.
18135 (res_nquery): Pass additional NULL to __libc_res_nquery.
18136 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18137 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18138 second answer buffer if answerp2_malloced was set.
18139 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18140 (__libc_res_nquerydomain): Add parameter
18141 answerp2_malloced and pass it down to __libc_res_nquery.
18142 (res_nquerydomain): Pass additional NULL to
18143 __libc_res_nquerydomain.
18144 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18145 additional NULL to __libc_res_nsend and __libc_res_nquery.
18146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18147 additional NULL to __libc_res_nsearch.
18148 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18149 parameter of __libc_res_nsearch to check for separately allocated
18150 second buffer.
18151 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18152 __libc_res_nquery.
18153 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18154 additional NULL to __libc_res_nquery.
18155 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18156 __libc_res_nsearch.
18157 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18158 * include/resolv.h: Update prototypes of __libc_res_nquery,
18159 __libc_res_nsearch, __libc_res_nsend.
18160
181612014-02-18 Joseph Myers <joseph@codesourcery.com>
18162
18163 * math/auto-libm-test-in: Add tests of fma.
18164 * math/auto-libm-test-out: Regenerated.
18165 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18166 (fma_towardzero_test_data): Likewise.
18167 (fma_downward_test_data): Likewise.
18168 (fma_upward_test_data): Likewise.
18169 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18170 mpc_mode.
18171 (rounding_modes): Add values for new field.
18172 (func_calc_method): Add value mpfr_fff_f.
18173 (func_calc_desc): Add mpfr_fff_f union field.
18174 (test_function): Add field exact_args.
18175 (FUNC): Add macro argument EXACT_ARGS.
18176 (FUNC_mpfr_f_f): Update call to FUNC.
18177 (FUNC_mpfr_f_f): Likewise.
18178 (FUNC_mpfr_ff_f): Likewise.
18179 (FUNC_mpfr_if_f): Likewise.
18180 (FUNC_mpc_c_f): Likewise.
18181 (FUNC_mpc_c_c): Likewise.
18182 (test_functions): Add fma. Update calls to FUNC.
18183 (handle_input_arg): Add argument exact_args.
18184 (add_test): Update call to handle_input_arg.
18185 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18186 (output_for_one_input_case): Update call to calc_generic_results.
18187 Recalculate exact zero results in each rounding mode.
18188
18189 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18190 non-negative before setting low bit.
18191 * math/auto-libm-test-in: Mark one asin test possibly having
18192 spurious underflow.
18193 * math/auto-libm-test-out: Regenerated.
18194 * sysdeps/i386/fpu/libm-test-ulps: Update.
18195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18196
181972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18198
18199 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18200 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18201 ports/sysdeps/unix/sysv/linux/microblaze.
18202 * README: Add missing listing for microblaze*-*-linux-gnu.
18203
182042014-02-16 Ondřej Bílka <neleai@seznam.cz>
18205
18206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18207 duplicate code
18208
182092014-02-16 Mike Frysinger <vapier@gentoo.org>
18210
18211 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18212 * sysdeps/unix/sysv/linux/ia64: Move directory from
18213 ports/sysdeps/unix/sysv/linux/ia64.
18214 * README: Update listing for ia64-*-linux-gnu.
18215
182162014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18217 Joseph Myers <joseph@codesourcery.com>
18218
18219 * Makeconfig (test-name): New variable.
18220 (evaluate-test): Likewise.
18221 * Makerules (do-test-clean): Remove .test-result files.
18222 (common-mostlyclean): Likewise.
18223 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18224 * scripts/evaluate-test.sh: New file.
18225
182262014-02-14 Joseph Myers <joseph@codesourcery.com>
18227
18228 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18229 separate $(objpfx)tst-fopenloc-cmp.out and
18230 $(objpfx)tst-fopenloc-mem.out targets.
18231 (tests): Update dependencies.
18232 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18233 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18234 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18235 (tst-rxspencer-no-utf8-ARGS): New variable.
18236 (tst-rxspencer-no-utf8-ENV): Likewise.
18237 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18238 instead of $(objpfx)tst-rxspencer-mem.
18239 ($(objpfx)tst-rxspencer-mem): Change target to
18240 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18241 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18242 * posix/tst-rxspencer-no-utf8.c: New file.
18243
18244 * elf/Makefile ($(objpfx)order.out): Remove rule.
18245 [$(run-built-tests) = yes] (tests): Depend on
18246 $(objpfx)order-cmp.out.
18247 ($(objpfx)order-cmp.out): New rule.
18248 [$(run-built-tests) = yes] (tests): Depend on
18249 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18250 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18251 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18252 $(objpfx)tst-array5-static-cmp.out.
18253 ($(objpfx)tst-array1.out): Remove rule.
18254 ($(objpfx)tst-array1-cmp.out): New rule.
18255 ($(objpfx)tst-array1-static.out): Remove rule.
18256 ($(objpfx)tst-array1-static-cmp.out): New rule.
18257 ($(objpfx)tst-array2.out): Remove rule.
18258 ($(objpfx)tst-array2-cmp.out): New rule.
18259 ($(objpfx)tst-array3.out): Remove rule.
18260 ($(objpfx)tst-array3-cmp.out): New rule.
18261 ($(objpfx)tst-array4.out): Remove rule.
18262 ($(objpfx)tst-array4-cmp.out): New rule.
18263 ($(objpfx)tst-array5.out): Remove rule.
18264 ($(objpfx)tst-array5-cmp.out): New rule.
18265 ($(objpfx)tst-array5-static.out): Remove rule.
18266 ($(objpfx)tst-array5-static-cmp.out): New rule.
18267 [$(run-built-tests) = yes] (tests): Depend on
18268 $(objpfx)order2-cmp.out.
18269 ($(objpfx)order2.out): Remove rule.
18270 ($(objpfx)order2-cmp.out): New rule.
18271 ($(objpfx)tst-initorder.out): Remove rule.
18272 [$(run-built-tests) = yes] (tests): Depend on
18273 $(objpfx)tst-initorder-cmp.out.
18274 ($(objpfx)tst-initorder-cmp.out): New rule.
18275 ($(objpfx)tst-initorder2.out): Remove rule.
18276 [$(run-built-tests) = yes] (tests): Depend on
18277 $(objpfx)tst-initorder2-cmp.out.
18278 ($(objpfx)tst-initorder2-cmp.out): New rule.
18279 [$(run-built-tests) = yes] (tests): Depend on
18280 $(objpfx)tst-unused-dep-cmp.out.
18281 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18282 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18283 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18284 on $(objpfx)tst-setvbuf1-cmp.out.
18285 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18286 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18287 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18288 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18289 ($(objpfx)tst-svc.out): Remove rule.
18290 ($(objpfx)tst-svc-cmp.out): New rule.
18291
182922014-02-13 Joseph Myers <joseph@codesourcery.com>
18293
18294 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18295 * ctype/ctype.h [__USE_MISC]: Likewise.
18296 * dirent/dirent.h [__USE_MISC]: Likewise.
18297 * grp/grp.h [__USE_MISC]: Likewise.
18298 * io/fcntl.h [__USE_MISC]: Likewise.
18299 * io/sys/stat.h [__USE_MISC]: Likewise.
18300 * libio/stdio.h [__USE_MISC]: Likewise.
18301 * posix/unistd.h [__USE_MISC]: Likewise.
18302 * pwd/pwd.h [__USE_MISC]: Likewise.
18303 * stdlib.h [__USE_MISC]: Likewise.
18304 * string/bits/string2.h [__USE_MISC]: Likewise.
18305 * string/string.h [__USE_MISC]: Likewise.
18306 * time/time.h [__USE_MISC]: Likewise.
18307
183082014-02-13 Andreas Schwab <schwab@suse.de>
18309
18310 [BZ #16574]
18311 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18312 second answer buffer if it was separately allocated.
18313
183142014-02-12 Joseph Myers <joseph@codesourcery.com>
18315
18316 * sysdeps/mips/math-tests.h: Include <features.h>.
18317 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18318 (ROUNDING_TESTS_long_double): Do not define.
18319 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18320 (EXCEPTION_TESTS_long_double): Likewise.
18321 * sysdeps/mips/mips64/libm-test-ulps: Update.
18322
18323 * include/features.h (__USE_BSD): Remove macro definitions.
18324 (__USE_SVID): Likewise.
18325 (_BSD_SOURCE): Likewise.
18326 (_SVID_SOURCE): Likewise.
18327 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18328 from definition of _DEFAULT_SOURCE.
18329 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18330 [_DEFAULT_SOURCE].
18331 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18332 * bits/mman.h [__USE_BSD]: Likewise.
18333 * bits/termios.h [__USE_BSD]: Likewise.
18334 * bits/waitstatus.h [__USE_BSD]: Likewise.
18335 * ctype/ctype.h [__USE_SVID]: Likewise.
18336 * dirent/dirent.h [__USE_BSD]: Likewise.
18337 * grp/grp.h [__USE_SVID]: Likewise.
18338 [__USE_BSD]: Likewise.
18339 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18340 * io/fcntl.h [__USE_BSD]: Likewise.
18341 * io/ftw.h [__USE_BSD]: Likewise.
18342 * io/sys/stat.h [__USE_BSD]: Likewise.
18343 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18344 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18345 * libio/stdio.h [__USE_SVID]: Likewise.
18346 [__USE_BSD]: Likewise.
18347 * math/math.h [__USE_SVID]: Likewise.
18348 [__USE_BSD]: Likewise.
18349 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18350 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18351 * misc/search.h [__USE_SVID]: Likewise.
18352 * misc/sys/mman.h [__USE_BSD]: Likewise.
18353 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18354 * misc/sys/uio.h [__USE_BSD]: Likewise.
18355 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18356 * posix/glob.h [__USE_BSD]: Likewise.
18357 * posix/regex.h [__USE_BSD]: Likewise.
18358 * posix/sys/types.h [__USE_BSD]: Likewise.
18359 [__USE_SVID]: Likewise.
18360 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18361 * posix/sys/wait.h [__USE_BSD]: Likewise.
18362 [__USE_SVID]: Likewise.
18363 * posix/unistd.h [__USE_BSD]: Likewise.
18364 [__USE_SVID]: Likewise.
18365 * pwd/pwd.h [__USE_SVID]: Likewise.
18366 * resolv/netdb.h [__USE_BSD]: Likewise.
18367 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18368 * signal/signal.h [__USE_BSD]: Likewise.
18369 [__USE_SVID]: Likewise.
18370 * socket/sys/socket.h [__USE_BSD]: Likewise.
18371 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18372 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18373 [__USE_SVID]: Likewise.
18374 * string/bits/string2.h [__USE_BSD]: Likewise.
18375 [__USE_SVID]: Likewise.
18376 * string/bits/string3.h [__USE_BSD]: Likewise.
18377 * string/endian.h [__USE_BSD]: Likewise.
18378 * string/string.h [__USE_SVID]: Likewise.
18379 [__USE_BSD]: Likewise.
18380 * string/strings.h [__USE_BSD]: Likewise.
18381 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18382 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18383 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18384 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18385 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18386 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18387 Likewise.
18388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18389 Likewise.
18390 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18391 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18394 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18395 Likewise.
18396 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18397 Likewise.
18398 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18399 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18401 Likewise.
18402 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18403 Likewise.
18404 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18405 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18406 * termios/termios.h [__USE_BSD]: Likewise.
18407 * time/sys/time.h [__USE_BSD]: Likewise.
18408 * time/time.h [__USE_BSD]: Likewise.
18409 [__USE_SVID]: Likewise.
18410
18411 * Makefile (subdir_targets): Remove subdir_lint.out.
18412
18413 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18414 (do-tst-printf): Likewise.
18415 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18416 $(objpfx)tst-printf.out.
18417
18418 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18419
18420 * Makerules (check-abi-%): Change target to
18421 $(objpfx)check-abi-%.out.
18422 (check-abi target): Update dependencies.
18423 (check-abi-pattern variable): Redirect output of diff to $@.
18424 (check-abi variable): Likewise.
18425 * elf/Makefile (check-abi): Update dependencies.
18426
18427 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18428 unused.
18429 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18430 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18431 subnormal range.
18432 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18433 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18434 value has largest subnormal exponent.
18435 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18436 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18437 * sysdeps/aarch64/soft-fp/sfp-machine.h
18438 (_FP_TININESS_AFTER_ROUNDING): New macro.
18439 * sysdeps/alpha/soft-fp/sfp-machine.h
18440 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18441 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18442 Likewise.
18443 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18444 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18445 * sysdeps/mips/soft-fp/sfp-machine.h
18446 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18447 * sysdeps/powerpc/soft-fp/sfp-machine.h
18448 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18449 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18450 Likewise.
18451 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18452 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18453 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18454 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18455 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18456 Likewise.
18457
184582014-02-12 Dylan Alex Simon <dylan@dylex.net>
18459
18460 [BZ #16545]
18461 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18462 model 1.
18463
184642014-02-12 Richard Henderson <rth@redhat.com>
18465
18466 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18467 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18468 * sysdeps/unix/sysv/linux/alpha: Move directory from
18469 ports/sysdeps/unix/sysv/linux/alpha.
18470 * README: Update listing for alpha-*-linux-gnu.
18471
184722014-02-11 Joseph Myers <joseph@codesourcery.com>
18473
18474 * include/features.h: Update comment documenting feature test
18475 macros.
18476 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18477 _DEFAULT_SOURCE.
18478 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18479 (_SVID_SOURCE): Likewise.
18480 (_DEFAULT_SOURCE): Update description of default features.
18481 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18482 with _GNU_SOURCE.
18483 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18484 (S_ISVTX): Likewise.
18485 * manual/math.texi (Mathematical Constants): Likewise.
18486 * manual/signal.texi (Interrupted Primitives): Likewise.
18487 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18488 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18489 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18490 Don't refer to _SVID_SOURCE in warning text.
18491
18492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18493
18494 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18495 already defined.
18496 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18497 * sysdeps/mips/dl-lookup.c: Remove.
18498 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18499
185002014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18501
18502 [BZ #16447]
18503 * math/auto-libm-test-in: Add testcase for expl.
18504 * math/auto-libm-test-out: Regenerate.
18505 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18506 calculation of unsafe.
18507 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18508
185092014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18510
18511 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18512 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18513 ports/sysdeps/unix/sysv/linux/aarch64.
18514 * README: Update listing for aarch64*-*-linux-gnu.
18515
185162014-02-11 Will Newton <will.newton@linaro.org>
18517
18518 * manual/probes.texi (Mathematical Function Probes): Use
18519 "triggered" instead of "hit".
18520
18521 * manual/probes.texi (Internal Probes): Add documentation
18522 of setjmp, longjmp and longjmp_target probes.
18523
18524 * include/stap-probe.h: Add comment about probe argument
18525 format.
18526
18527 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18528 definition. (tr_where, tr_freehook, tr_mallochook,
18529 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18530
185312014-02-11 David S. Miller <davem@davemloft.net>
18532
18533 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18534 processing int_tests.
18535
185362014-02-10 Joseph Myers <joseph@codesourcery.com>
18537
18538 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18539 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18540 * sysdeps/unix/sysv/linux/mips: Move directory from
18541 ports/sysdeps/unix/sysv/linux/mips.
18542 * README: Update listing for mips-*-linux-gnu and
18543 mips64-*-linux-gnu.
18544
185452014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18546
18547 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18548 * sysdeps/unix/sysv/linux/m68k: Move directory from
18549 ports/sysdeps/unix/sysv/linux/m68k.
18550 * README: Update listing for m68k-*-linux-gnu.
18551
185522014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18553
18554 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18555 * sysdeps/unix/sysv/linux/generic: Move directory from
18556 ports/sysdeps/unix/sysv/linux/generic.
18557 * sysdeps/unix/sysv/linux/tile: Move directory from
18558 ports/sysdeps/unix/sysv/linux/tile.
18559 * README: Update listing for tile*-*-linux-gnu.
18560
185612014-02-10 Ondřej Bílka <neleai@seznam.cz>
18562
18563 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18564 __builtin_expect.
18565 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18566 * catgets/open_catalog.c (__open_catalog): Likewise.
18567 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18568 * debug/confstr_chk.c: Likewise.
18569 * debug/fread_chk.c (__fread_chk): Likewise.
18570 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18571 * debug/getgroups_chk.c: Likewise.
18572 * debug/mbsnrtowcs_chk.c: Likewise.
18573 * debug/mbsrtowcs_chk.c: Likewise.
18574 * debug/mbstowcs_chk.c: Likewise.
18575 * debug/memcpy_chk.c: Likewise.
18576 * debug/memmove_chk.c: Likewise.
18577 * debug/mempcpy_chk.c: Likewise.
18578 * debug/memset_chk.c: Likewise.
18579 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18580 * debug/strcat_chk.c (__strcat_chk): Likewise.
18581 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18582 * debug/strncat_chk.c (__strncat_chk): Likewise.
18583 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18584 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18585 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18586 * debug/wcpncpy_chk.c: Likewise.
18587 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18588 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18589 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18590 * debug/wcsncpy_chk.c: Likewise.
18591 * debug/wcsnrtombs_chk.c: Likewise.
18592 * debug/wcsrtombs_chk.c: Likewise.
18593 * debug/wcstombs_chk.c: Likewise.
18594 * debug/wmemcpy_chk.c: Likewise.
18595 * debug/wmemmove_chk.c: Likewise.
18596 * debug/wmempcpy_chk.c: Likewise.
18597 * debug/wmemset_chk.c: Likewise.
18598 * dirent/scandirat.c (SCANDIRAT): Likewise.
18599 * dlfcn/dladdr1.c (dladdr1): Likewise.
18600 * dlfcn/dladdr.c (dladdr): Likewise.
18601 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18602 * dlfcn/dlerror.c (__dlerror): Likewise.
18603 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18604 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18605 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18606 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18607 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18608 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18609 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18610 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18611 Likewise.
18612 * elf/dl-conflict.c: Likewise.
18613 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18614 * elf/dl-dst.h: Likewise.
18615 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18616 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18617 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18618 * elf/dl-init.c (call_init, _dl_init): Likewise.
18619 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18620 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18621 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18622 Likewise.
18623 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18624 Likewise.
18625 * elf/dl-minimal.c (__libc_memalign): Likewise.
18626 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18627 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18628 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18629 * elf/dl-sym.c (do_sym): Likewise.
18630 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18631 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18632 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18633 * elf/dl-writev.h (_dl_writev): Likewise.
18634 * elf/ldconfig.c (search_dir): Likewise.
18635 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18636 (dl_main): Likewise.
18637 * elf/setup-vdso.h (setup_vdso): Likewise.
18638 * grp/compat-initgroups.c (compat_call): Likewise.
18639 * grp/fgetgrent.c (fgetgrent): Likewise.
18640 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18641 * grp/putgrent.c (putgrent): Likewise.
18642 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18643 Likewise.
18644 * hurd/hurdinit.c: Likewise.
18645 * iconvdata/8bit-gap.c (struct): Likewise.
18646 * iconvdata/ansi_x3.110.c : Likewise.
18647 * iconvdata/big5.c : Likewise.
18648 * iconvdata/big5hkscs.c : Likewise.
18649 * iconvdata/cp1255.c: Likewise.
18650 * iconvdata/cp1258.c : Likewise.
18651 * iconvdata/cp932.c : Likewise.
18652 * iconvdata/euc-cn.c: Likewise.
18653 * iconvdata/euc-jisx0213.c : Likewise.
18654 * iconvdata/euc-jp.c: Likewise.
18655 * iconvdata/euc-jp-ms.c : Likewise.
18656 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18657 * iconvdata/gb18030.c : Likewise.
18658 * iconvdata/gbbig5.c (const): Likewise.
18659 * iconvdata/gbgbk.c: Likewise.
18660 * iconvdata/gbk.c : Likewise.
18661 * iconvdata/ibm1364.c : Likewise.
18662 * iconvdata/ibm930.c : Likewise.
18663 * iconvdata/ibm932.c: Likewise.
18664 * iconvdata/ibm933.c : Likewise.
18665 * iconvdata/ibm935.c : Likewise.
18666 * iconvdata/ibm937.c : Likewise.
18667 * iconvdata/ibm939.c : Likewise.
18668 * iconvdata/ibm943.c: Likewise.
18669 * iconvdata/iso_11548-1.c: Likewise.
18670 * iconvdata/iso-2022-cn.c : Likewise.
18671 * iconvdata/iso-2022-cn-ext.c : Likewise.
18672 * iconvdata/iso-2022-jp-3.c: Likewise.
18673 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18674 * iconvdata/iso-2022-kr.c : Likewise.
18675 * iconvdata/iso646.c (gconv_end): Likewise.
18676 * iconvdata/iso_6937-2.c : Likewise.
18677 * iconvdata/iso_6937.c : Likewise.
18678 * iconvdata/iso8859-1.c: Likewise.
18679 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18680 * iconvdata/shift_jisx0213.c : Likewise.
18681 * iconvdata/sjis.c : Likewise.
18682 * iconvdata/t.61.c : Likewise.
18683 * iconvdata/tcvn5712-1.c : Likewise.
18684 * iconvdata/tscii.c: Likewise.
18685 * iconvdata/uhc.c : Likewise.
18686 * iconvdata/unicode.c (gconv_end): Likewise.
18687 * iconvdata/utf-16.c (gconv_end): Likewise.
18688 * iconvdata/utf-32.c (gconv_end): Likewise.
18689 * iconvdata/utf-7.c (base64): Likewise.
18690 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18691 * iconv/gconv_close.c (__gconv_close): Likewise.
18692 * iconv/gconv_open.c (__gconv_open): Likewise.
18693 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18694 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18695 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18696 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18697 (ucs4le_internal_loop_single): Likewise.
18698 * iconv/iconv.c (iconv): Likewise.
18699 * iconv/iconv_close.c: Likewise.
18700 * iconv/loop.c (SINGLE): Likewise.
18701 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18702 * include/atomic.h: Likewise.
18703 * inet/inet6_option.c (option_alloc): Likewise.
18704 * intl/bindtextdom.c (set_binding_values): Likewise.
18705 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18706 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18707 * intl/localealias.c (read_alias_file): Likewise.
18708 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18709 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18710 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18711 * libio/fmemopen.c (fmemopen): Likewise.
18712 * libio/iofgets.c (_IO_fgets): Likewise.
18713 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18714 * libio/iofgetws.c (fgetws): Likewise.
18715 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18716 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18717 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18718 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18719 * locale/findlocale.c (_nl_find_locale): Likewise.
18720 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18721 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18722 Likewise.
18723 * locale/setlocale.c (setlocale): Likewise.
18724 * login/programs/pt_chown.c (main): Likewise.
18725 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18726 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18727 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18728 (mmap, mmap64, mremap, munmap): Likewise.
18729 * math/e_exp2l.c: Likewise.
18730 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18731 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18732 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18733 * math/s_catan.c (__catan): Likewise.
18734 * math/s_catanf.c (__catanf): Likewise.
18735 * math/s_catanh.c (__catanh): Likewise.
18736 * math/s_catanhf.c (__catanhf): Likewise.
18737 * math/s_catanhl.c (__catanhl): Likewise.
18738 * math/s_catanl.c (__catanl): Likewise.
18739 * math/s_ccosh.c (__ccosh): Likewise.
18740 * math/s_ccoshf.c (__ccoshf): Likewise.
18741 * math/s_ccoshl.c (__ccoshl): Likewise.
18742 * math/s_cexp.c (__cexp): Likewise.
18743 * math/s_cexpf.c (__cexpf): Likewise.
18744 * math/s_cexpl.c (__cexpl): Likewise.
18745 * math/s_clog10.c (__clog10): Likewise.
18746 * math/s_clog10f.c (__clog10f): Likewise.
18747 * math/s_clog10l.c (__clog10l): Likewise.
18748 * math/s_clog.c (__clog): Likewise.
18749 * math/s_clogf.c (__clogf): Likewise.
18750 * math/s_clogl.c (__clogl): Likewise.
18751 * math/s_csin.c (__csin): Likewise.
18752 * math/s_csinf.c (__csinf): Likewise.
18753 * math/s_csinh.c (__csinh): Likewise.
18754 * math/s_csinhf.c (__csinhf): Likewise.
18755 * math/s_csinhl.c (__csinhl): Likewise.
18756 * math/s_csinl.c (__csinl): Likewise.
18757 * math/s_csqrt.c (__csqrt): Likewise.
18758 * math/s_csqrtf.c (__csqrtf): Likewise.
18759 * math/s_csqrtl.c (__csqrtl): Likewise.
18760 * math/s_ctan.c (__ctan): Likewise.
18761 * math/s_ctanf.c (__ctanf): Likewise.
18762 * math/s_ctanh.c (__ctanh): Likewise.
18763 * math/s_ctanhf.c (__ctanhf): Likewise.
18764 * math/s_ctanhl.c (__ctanhl): Likewise.
18765 * math/s_ctanl.c (__ctanl): Likewise.
18766 * math/w_pow.c: Likewise.
18767 * math/w_powf.c: Likewise.
18768 * math/w_powl.c: Likewise.
18769 * math/w_scalb.c (sysv_scalb): Likewise.
18770 * math/w_scalbf.c (sysv_scalbf): Likewise.
18771 * math/w_scalbl.c (sysv_scalbl): Likewise.
18772 * misc/error.c (error_tail): Likewise.
18773 * misc/pselect.c (__pselect): Likewise.
18774 * nis/nis_callback.c (__nis_create_callback): Likewise.
18775 * nis/nis_call.c (__nisfind_server): Likewise.
18776 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18777 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18778 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18779 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18780 * nis/nis_lookup.c (nis_lookup): Likewise.
18781 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18782 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18783 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18784 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18785 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18786 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18787 * nis/nss_compat/compat-initgroups.c (add_group)
18788 (internal_getgrent_r): Likewise.
18789 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18790 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18791 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18792 (internal_getspnam_r): Likewise.
18793 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18794 (_nss_nis_getaliasbyname_r): Likewise.
18795 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18796 (_nss_nis_getntohost_r): Likewise.
18797 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18798 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18799 (_nss_nis_getgrgid_r): Likewise.
18800 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18801 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18802 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18803 (_nss_nis_gethostbyname4_r): Likewise.
18804 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18805 (initgroups_netid): Likewise.
18806 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18807 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18808 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18809 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18810 (_nss_nis_getprotobynumber_r): Likewise.
18811 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18812 (_nss_nis_getsecretkey): Likewise.
18813 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18814 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18815 (_nss_nis_getpwuid_r): Likewise.
18816 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18817 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18818 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18819 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18820 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18821 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18822 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18823 Likewise.
18824 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18825 (_nss_nisplus_getntohost_r): Likewise.
18826 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18827 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18828 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18829 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18830 Likewise.
18831 * nis/nss_nisplus/nisplus-initgroups.c
18832 (_nss_nisplus_initgroups_dyn): Likewise.
18833 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18834 (_nss_nisplus_getnetbyaddr_r): Likewise.
18835 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18836 (_nss_nisplus_getprotobynumber_r): Likewise.
18837 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18838 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18839 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18840 Likewise.
18841 * nis/nss_nisplus/nisplus-service.c
18842 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18843 (_nss_nisplus_getservbyport_r): Likewise.
18844 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18845 (_nss_nisplus_getspnam_r): Likewise.
18846 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18847 Likewise.
18848 * nscd/aicache.c (addhstaiX): Likewise.
18849 * nscd/cache.c (cache_search, prune_cache): Likewise.
18850 * nscd/connections.c (register_traced_file, send_ro_fd)
18851 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18852 (main_loop_epoll): Likewise.
18853 * nscd/grpcache.c (addgrbyX): Likewise.
18854 * nscd/hstcache.c (addhstbyX): Likewise.
18855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18856 * nscd/mem.c (gc, mempool_alloc): Likewise.
18857 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18858 (addinnetgrX): Likewise.
18859 * nscd/nscd-client.h (__nscd_acquire_maplock)
18860 (__nscd_drop_map_ref): Likewise.
18861 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18862 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18863 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18864 Likewise.
18865 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18867 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18868 (__nscd_get_map_ref): Likewise.
18869 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18870 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18871 Likewise.
18872 * nscd/pwdcache.c (addpwbyX): Likewise.
18873 * nscd/selinux.c (preserve_capabilities): Likewise.
18874 * nscd/servicescache.c (addservbyX): Likewise.
18875 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18876 * posix/fnmatch.c (fnmatch): Likewise.
18877 * posix/getopt.c (_getopt_internal_r): Likewise.
18878 * posix/glob.c (glob, glob_in_dir): Likewise.
18879 * posix/wordexp.c (exec_comm_child): Likewise.
18880 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18881 (getanswer_r, gaih_getanswer_slice): Likewise.
18882 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18883 * resolv/res_init.c: Likewise.
18884 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18885 * resolv/res_query.c (__libc_res_nquery): Likewise.
18886 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18887 Likewise.
18888 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18889 * stdio-common/perror.c (perror): Likewise.
18890 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18891 * stdio-common/tmpnam.c (tmpnam): Likewise.
18892 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18893 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18894 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18895 Likewise.
18896 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18897 * stdlib/putenv.c (putenv): Likewise.
18898 * stdlib/setenv.c (__add_to_environ): Likewise.
18899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18900 * stdlib/strtol_l.c (INTERNAL): Likewise.
18901 * string/memmem.c (memmem): Likewise.
18902 * string/strerror.c (strerror): Likewise.
18903 * string/strnlen.c (__strnlen): Likewise.
18904 * string/test-memmem.c (simple_memmem): Likewise.
18905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18906 * sunrpc/pm_getport.c (__get_socket): Likewise.
18907 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18908 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18909 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18910 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18911 Likewise.
18912 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18914 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18915 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18916 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18917 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18918 Likewise.
18919 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18920 Likewise.
18921 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18922 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18924 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18925 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18927 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18928 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18929 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18930 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18931 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18932 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18933 Likewise.
18934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18935 Likewise.
18936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18937 Likewise.
18938 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18942 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18943 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18944 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18945 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18947 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18948 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18951 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18954 Likewise.
18955 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18956 Likewise.
18957 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18958 Likewise.
18959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18960 Likewise.
18961 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18963 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18964 Likewise.
18965 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18966 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18967 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18968 * sysdeps/posix/sleep.c: Likewise.
18969 * sysdeps/posix/tempname.c: Likewise.
18970 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18971 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18972 Likewise.
18973 * sysdeps/powerpc/powerpc32/dl-machine.h
18974 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18975 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18977 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18978 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18979 Likewise.
18980 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18982 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18984 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18985 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18986 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18987 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18988 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18989 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18991 (elf_machine_lazy_rel): Likewise.
18992 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18994 (elf_machine_lazy_rel): Likewise.
18995 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18996 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18997 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18998 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18999 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19000 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19001 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19003 Likewise.
19004 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19005 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19006 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19007 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19008 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19009 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19010 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19011 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19012 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19013 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19014 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19015 Likewise.
19016 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19017 (__posix_fallocate64_l64): Likewise.
19018 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19019 (posix_fallocate): Likewise.
19020 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19021 Likewise.
19022 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19023 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19024 (getifaddrs_internal): Likewise.
19025 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19026 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19027 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19028 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19029 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19030 (__posix_fallocate64_l64): Likewise.
19031 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19032 Likewise.
19033 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19034 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19035 (__get_clockfreq): Likewise.
19036 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19037 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19038 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19041 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19042 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19043 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19044 Likewise.
19045 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19046 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19047 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19050 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19051 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19052 Likewise.
19053 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19054 (posix_fallocate): Likewise.
19055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19056 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19057 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19058 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19059 (elf_machine_rela, elf_machine_rela_relative)
19060 (elf_machine_lazy_rel): Likewise.
19061 * time/asctime.c (asctime_internal): Likewise.
19062 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19063 * time/tzset.c (__tzset_parse_tz): Likewise.
19064 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19065 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19066 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19067 * wcsmbs/wcsmbsload.h: Likewise.
19068
19069 [BZ #15894]
19070 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19071
19072 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19073 (arena_get2): Remove THREAD_STATS conditionals.
19074 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19075 (__malloc_stats, int): Likewise.
19076
190772014-02-08 Mike Frysinger <vapier@gentoo.org>
19078
19079 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19080 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19081
19082 * manual/setjmp.texi: Fix typos/grammar errors.
19083
19084 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19085 Only return early when n is <= 0. Delete unused return statement.
19086
19087 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19088 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19089 * debug/tst-longjmp_chk3.c: New file.
19090
19091 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19092 (test_main): Replace code with set_fortify_handler call.
19093 * debug/test-strcpy_chk.c: Likewise.
19094 * debug/tst-chk1.c: Likewise.
19095 * debug/tst-longjmp_chk.c: Likewise.
19096 * test-skeleton.c: Include fcntl.h & paths.h
19097 (set_fortify_handler): Define.
19098
19099 * debug/tst-longjmp_chk.c: Add header comment and include
19100 ../test-skeleton.c.
19101 (do_test): Mark static.
19102 (TEST_FUNCTION): Define.
19103
19104 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19105 (IP_PMTUDISC_INTERFACE): Likewise.
19106 (IP_MULTICAST_IF): Likewise.
19107 (IP_MULTICAST_TTL): Likewise.
19108 (IP_MULTICAST_LOOP): Likewise.
19109 (IP_ADD_MEMBERSHIP): Likewise.
19110 (IP_DROP_MEMBERSHIP): Likewise.
19111 (IP_UNBLOCK_SOURCE): Likewise.
19112 (IP_BLOCK_SOURCE): Likewise.
19113 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19114 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19115 (IP_MSFILTER): Likewise.
19116 (MCAST_JOIN_GROUP): Likewise.
19117 (MCAST_BLOCK_SOURCE): Likewise.
19118 (MCAST_UNBLOCK_SOURCE): Likewise.
19119 (MCAST_LEAVE_GROUP): Likewise.
19120 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19121 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19122 (MCAST_MSFILTER): Likewise.
19123 (IP_MULTICAST_ALL): Likewise.
19124 (IP_UNICAST_IF): Likewise.
19125
19126 * timezone/Makefile: Delete $(have-ksh) check.
19127 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19128 * timezone/tzselect.ksh: Add +x mode bits.
19129
19130 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19131 (ANON_INODE_FS_MAGIC): Likewise.
19132 (BDEVFS_MAGIC): Likewise.
19133 (BINFMTFS_MAGIC): Likewise.
19134 (BTRFS_TEST_MAGIC): Likewise.
19135 (CRAMFS_MAGIC_WEND): Likewise.
19136 (DEBUGFS_MAGIC): Likewise.
19137 (ECRYPTFS_SUPER_MAGIC): Likewise.
19138 (EXT3_SUPER_MAGIC): Likewise.
19139 (EXT4_SUPER_MAGIC): Likewise.
19140 (FUTEXFS_SUPER_MAGIC): Likewise.
19141 (HOSTFS_SUPER_MAGIC): Likewise.
19142 (HUGETLBFS_MAGIC): Likewise.
19143 (MINIX3_SUPER_MAGIC): Likewise.
19144 (MTD_INODE_FS_MAGIC): Likewise.
19145 (NILFS_SUPER_MAGIC): Likewise.
19146 (OPENPROM_SUPER_MAGIC): Likewise.
19147 (PIPEFS_MAGIC): Likewise.
19148 (PSTOREFS_MAGIC): Likewise.
19149 (QNX6_SUPER_MAGIC): Likewise.
19150 (RAMFS_MAGIC): Likewise.
19151 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19152 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19153 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19154 (SECURITYFS_MAGIC): Likewise.
19155 (SELINUX_MAGIC): Likewise.
19156 (SMACK_MAGIC): Likewise.
19157 (SOCKFS_MAGIC): Likewise.
19158 (SQUASHFS_MAGIC): Likewise.
19159 (STACK_END_MAGIC): Likewise.
19160 (TMPFS_MAGIC): Likewise.
19161 (USBDEVICE_SUPER_MAGIC): Likewise.
19162 (V9FS_MAGIC): Likewise.
19163 (XENFS_SUPER_MAGIC): Likewise.
19164 (CRAMFS_MAGIC): Fix typo in comment.
19165 (EXT2_SUPER_MAGIC): Update comment.
19166 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19167
191682014-02-08 Joseph Myers <joseph@codesourcery.com>
19169
19170 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19171 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19172 * sysdeps/unix/sysv/linux/arm: Move directory from
19173 ports/sysdeps/unix/sysv/linux/arm.
19174 * README: Update listing for arm-*-linux-gnueabi.
19175
19176 * README: Remove mention of am33.
19177
191782014-02-07 Roland McGrath <roland@hack.frob.com>
19179
19180 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19181 than the comma operator, to avoid "rhs of comma has no effect"
19182 compiler warnings.
19183 (__sigfillset, __sigandset, __sigorset): Likewise.
19184 * include/signal.h (__sigemptyset): Likewise.
19185 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19186
191872014-02-07 Allan McRae <allan@archlinux.org>
19188
19189 * version.h (RELEASE): Set to "development".
19190 (VERSION): Set to "2.19.90"
19191 * NEWS: Add 2.20 section.
19192
191932014-02-06 Carlos O'Donell <carlos@redhat.com>
19194
19195 [BZ #16529]
19196 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19197
191982014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19199
19200 * manual/contrib.texi: Update entry for Carlos O'Donell,
19201 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19202
192032014-02-05 Carlos O'Donell <carlos@rehdat.com>
19204
19205 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19206
19207 * sysdeps/unix/sysv/linux/kernel-features.h
19208 [__LINUX_KERNEL_VERSION >= 0x020621]
19209 (__ASSUME_PROC_PID_TASK_COMM): Define.
19210
192112014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19212
19213 [BZ #16398]
19214 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19215 conversion when destination buffer does not have enough space.
19216 * libio/tst-ftell-partial-wide.c: New test case.
19217 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19218
19219 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19220 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19221 Leonard and Allan McRae.
19222
192232014-02-04 David S. Miller <davem@davemloft.net>
19224
19225 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19226 32-bit.
19227
192282014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19229
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19231 New file
19232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19233 New file
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19235 New file.
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19237 New file.
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19239 New file.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19241 New file.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19243 New file.
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19245 New file.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19247 New file.
19248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19249 New file.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19251 New file.
19252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19253 New file.
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19255 New file.
19256
192572014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19258
19259 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19260 * shlib-versions: Likewise.
19261
192622014-02-04 Roland McGrath <roland@hack.frob.com>
19263 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19264
19265 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19266 (abilist-pattern): New variable, set to %-le.abilist.
19267
19268 * Makerules (abilist-pattern): New variable.
19269 (vpath): Use $(abilist-pattern) in place of %.abilist.
19270 (check-abi-% pattern rule): Likewise.
19271 (check-abi, update-abi): Likewise.
19272
192732014-02-04 Eric Wong <normalperson@yhbt.net>
19274
19275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19276
192772014-02-03 Carlos O'Donell <carlos@redhat.com>
19278
19279 * manual/startup.texi: Add next, previous, and top entries for
19280 the `Program Arguments' and `Environment Variables' nodes.
19281
192822014-02-03 Alexandre Oliva <aoliva@redhat.com>
19283
19284 * manual/macros.texi: Add comments before MTASC-safety macros.
19285
19286 * manual/users.texi: Document MTASC-safety properties.
19287
19288 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19289 (pthread_getspecific, pthread_setspecific): Format with
19290 @deftypefun, and add @safety note.
19291 * manual/signal.texi: Move comments that analyze the above
19292 functions to their home place.
19293
192942014-02-03 Allan McRae <allan@archlinux.org>
19295
19296 * po/sl.po: Update Slovenian translation from translation project.
19297
192982014-02-02 Alexandre Oliva <aoliva@redhat.com>
19299
19300 * manual/time.texi (timegm): Add missing blank after @c.
19301 Reported by Joseph Myers <joseph@codesourcery.com>.
19302
193032014-02-01 Alexandre Oliva <aoliva@redhat.com>
19304
19305 * manual/check-safety.sh: New.
19306 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19307
19308 * manual/terminal.texi: Document MTASC-safety properties.
19309
19310 * manual/filesys.texi: Document MTASC-safety properties.
19311
19312 * manual/errno.texi: Document MTASC-safety properties.
19313
19314 * manual/intro.texi: Document safety identifiers and
19315 conditionals.
19316
19317 * manual/string.texi (wcstok): Fix prototype.
19318 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19319
19320 * manual/time.texi: Document MTASC-safety properties.
19321
19322 * manual/string.texi: Document MTASC-safety properties.
19323
19324 * manual/threads.texi: Document MTASC-safety properties.
19325
19326 * manual/stdio.texi: Document MTASC-safety properties.
19327
19328 * manual/syslog.texi: Document MTASC-safety properties.
19329
19330 * manual/sysinfo.texi: Document MTASC-safety properties.
19331
19332 * manual/startup.texi: Document MTASC-safety properties.
19333
19334 * manual/socket.texi: Document MTASC-safety properties.
19335
19336 * manual/signal.texi: Document MTASC-safety properties.
19337
193382014-01-31 Alexandre Oliva <aoliva@redhat.com>
19339
19340 * manual/setjmp.texi: Document MTASC-safety properties.
19341
19342 * manual/search.texi: Document MTASC-safety properties.
19343
19344 * manual/resource.texi: Document MTASC-safety properties.
19345
19346 * manual/process.texi: Document MTASC-safety properties.
19347
19348 * manual/platform.texi: Document MTASC-safety properties.
19349
19350 * manual/pipe.texi: Document MTASC-safety properties.
19351
19352 * manual/pattern.texi: Document MTASC-safety properties.
19353
19354 * manual/message.texi: Document MTASC-safety properties.
19355
19356 [BZ #12751]
19357 * manual/memory.texi: Document MTASC-safety properties.
19358
19359 * manual/math.texi: Document MTASC-safety properties.
19360
19361 * manual/locale.texi: Document MTASC-safety properties.
19362
19363 * manual/llio.texi: Document MTASC-safety properties.
19364
19365 * manual/libdl.texi: New.
19366
19367 * manual/lang.texi: Document MTASC-safety properties.
19368
19369 * manual/job.texi: Document MTASC-safety properties.
19370
19371 * manual/getopt.texi: Document MTASC-safety properties.
19372
19373 * manual/ctype.texi: Document MTASC-safety properties.
19374
193752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19376
19377 [BZ #16046]
19378 * csu/libc-tls.c (static_map): Remove variable.
19379 (__libc_setup_tls): Use main executable's link map for TLS data.
19380 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19381 casing for LM_ID_BASE and GL(dl_nns).
19382 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19383 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19384 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19385 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19386 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19387 member.
19388 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19389 l_phnum members.
19390
193912014-01-30 Alexandre Oliva <aoliva@redhat.com>
19392
19393 * manual/debug.texi: Document MTASC-safety properties.
19394
193952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19396
19397 [BZ #16510]
19398 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19399 of __x86_64__ when disabling x87 inline functions.
19400
194012014-01-29 Alexandre Oliva <aoliva@redhat.com>
19402
19403 * manual/charset.texi: Document MTASC-safety properties.
19404
19405 * manual/crypt.texi: Document MTASC-safety properties.
19406
19407 * manual/conf.texi: Document MTASC-safety properties.
19408
19409 * manual/arith.texi: Document MTASC-safety properties.
19410
19411 * manual/argp.texi: Document MTASC-safety properties.
19412
19413 * manual/macros.texi: Introduce macros to document multi
19414 thread, asynchronous signal and asynchronous cancellation
19415 safety properties.
19416 * manual/intro.texi: Introduce the properties themselves.
19417
194182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19419
19420 * sysdeps/sh/sh4/Makefile: New file.
19421
194222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19423
19424 * math/gen-libm-test.pl ($srcdir): New variable.
19425 ($auto_input): Use it.
19426
194272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19428
19429 [BZ #16506]
19430 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19431 access beyond array bounds when parsing netgroups file.
19432
19433 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19434 the old buffer before realloc.
19435
194362014-01-27 Allan McRae <allan@archlinux.org>
19437
19438 * po/fr.po: Update French translation from translation project.
19439
194402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19441
19442 * sysdeps/sh/libm-test-ulps: Regenerate.
19443
194442014-01-24 David S. Miller <davem@davemloft.net>
19445
19446 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19447
194482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19449
19450 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19451 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19452
194532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19454
19455 [BZ #16474]
19456 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19457 string pointers after reallocation.
19458
194592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19460
19461 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19462 __SH4A__ instead of __SH_FPU_ANY__.
19463
194642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19465
19466 * sysdeps/sh/fpu_control.h: New file.
19467 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19468 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19469 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19470 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19471 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19472 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19473 * sysdeps/sh/sys/ucontext.h: Remove.
19474 * sysdeps/sh/sys: Remove directory.
19475
194762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19477
19478 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19479 s390/sys/ucontext.h.
19480 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19482
194832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19484
19485 [BZ #15605]
19486 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19487
194882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19489
19490 [BZ#16431]
19491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19492 Adjust the vDSO correctly for internal calls.
19493 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19494
194952014-01-20 Allan McRae <allan@archlinux.org>
19496
19497 * po/ca.po: Update Catalan translation from translation project.
19498
194992014-01-16 Mike Frysinger <vapier@gentoo.org>
19500
19501 * sysdeps/s390/sotruss-lib.c: New file.
19502
195032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19504
19505 [BZ#16430]
19506 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19507 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19508 local calls issues by not having a PLT stub required for IFUNC calls.
19509 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19510
195112014-01-16 Joseph Myers <joseph@codesourcery.com>
19512
19513 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19514 * math/test-fpucw-static.c: Likewise.
19515
195162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19517
19518 [BZ #16453]
19519 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19520
195212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19522
19523 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19524 implementation for powerpc.
19525
195262014-01-15 Ondřej Bílka <neleai@seznam.cz>
19527
19528 [BZ #14782]
19529 * sysdeps/posix/system.c (__libc_system): Do not enable
19530 asynchronous cancellation.
19531
195322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19533
19534 [BZ #16427]
19535 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19536 handling only for numbers special also in the IEEE case.
19537
195382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19539
19540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19541
195422014-01-11 Allan McRae <allan@archlinux.org>
19543
19544 * po/bg.po: Update Bulgarian translation from translation project.
19545
19546 * po/de.po: Update German translation from translation project.
19547
195482014-01-10 Roland McGrath <roland@hack.frob.com>
19549
19550 * sysdeps/generic/gcc-compat.h: New file.
19551
195522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19553
19554 * benchtests/asin-inputs: Correct slow inputs.
19555 * benchtests/acos-inputs: Likewise.
19556
195572014-01-10 Allan McRae <allan@archlinux.org>
19558
19559 * po:sv.po: Update Swedish translation from translation project.
19560
19561 * po/vi.po: Update Vietnamese translation from translation project.
19562
19563 * po/eo.po: Update Esperanto translation from translation project.
19564
19565 * po/cs.po: Update Czech translation from translation project.
19566
19567 * po/nl.po: Update Dutch translation from translation project.
19568
19569 * po/pl.po: Update Polish translation from translation project.
19570
19571 * po/ru.po: Update Russian translation from translation project.
19572
19573 * po/uk.po: Update Ukrainian translation from translation project.
19574
195752014-01-08 Brooks Moses <bmoses@google.com>
19576
19577 * elf/dl-load.c: Fix comment typo.
19578
195792014-01-08 Carlos O'Donell <carlos@redhat.com>
19580
19581 * po/header.pot: Rename to...
19582 * po/pot.header: ... this.
19583 * po/Makefile: Use pot.header.
19584
195852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19586 Maxim Kuvyrkov <maxim@kugelworks.com>
19587
19588 [BZ #16394]
19589 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19590 SRC and DEST against LEN.
19591
195922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19593
19594 [BZ #16414]
19595 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19596 implementation.
19597 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19598
195992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19600
19601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19602
196032014-01-08 Joseph Myers <joseph@codesourcery.com>
19604
19605 [BZ #16408]
19606 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19607 for large positive arguments.
19608
196092014-01-07 Joseph Myers <joseph@codesourcery.com>
19610
19611 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19612
19613 * math/auto-libm-test-in: Mark various tests with
19614 xfail-rounding:ldbl-128ibm.
19615 * math/auto-libm-test-out: Regenerated.
19616
19617 [BZ #16407]
19618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19619 Increase overflow threshold.
19620
196212014-01-07 Ondřej Bílka <neleai@seznam.cz>
19622
19623 [BZ #14286]
19624 * stdio-common/vfprintf.c: Check for integer overflow.
19625
196262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19627
19628 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19629 the first argument and return value of __tls_get_addr_internal.
19630
196312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19632
19633 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19634 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19635
196362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19637
19638 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19639 * sysdeps/s390/rtld-global-offsets.sym: New file.
19640 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19641 GLIBC_2.19 symbol.
19642 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19643 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19645 ... this.
19646 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19647 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19648 ... this.
19649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19650 Regenerate.
19651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19652 Regenerate.
19653 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19654 halfs of GPRs for high_gprs contexts.
19655 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19656 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19657 field.
19658 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19659 uc_flags field.
19660 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19661 64 bit versions:
19662 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19663 for high GPRs (uc_high_gprs) and for future extensions
19664 (__reserved).
19665 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19666 for future extensions (__reserved).
19667 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19668 64 bit versions:
19669 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19670 SC_HIGHGPRS offset definition.
19671 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19672 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19673
19674 * Versions.def: Add GLIBC_2.19 for libpthread.
19675 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19676 siglongjmp for libpthread with GLIBC_2.19 symver.
19677 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19678 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19679 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19680 * sysdeps/s390/__longjmp.c: New file.
19681 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19682 * sysdeps/s390/longjmp.c: New file.
19683 * sysdeps/s390/setjmp.S: New file.
19684 * sysdeps/s390/sigjmp.S: New file.
19685 * sysdeps/s390/v1-longjmp.c: New file.
19686 * sysdeps/s390/v1-setjmp.h: New file.
19687 * sysdeps/s390/v1-sigjmp.c: New file.
19688 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19689 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19690 GLIBC_2.19 version.
19691 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19692 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19693 versioned symbols for ____longjmp_chk.
19694 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19695 Likewise.
19696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19697 Regenerate.
19698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19699 Regenerate.
19700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19701 Regenerate.
19702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19703 Regenerate.
19704 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19705 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19706 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19707 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19708 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19709 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19710 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19711 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19712 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19713 * sysdeps/s390/rtld-__longjmp.c: New file.
19714 * sysdeps/s390/rtld-setjmp.S: New file.
19715
197162014-01-06 Joseph Myers <joseph@codesourcery.com>
19717
19718 [BZ #16400]
19719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19720 Return -__logl (x) for small positive arguments without evaluating
19721 a polynomial.
19722
197232014-01-06 Mike Frysinger <vapier@gentoo.org>
19724
19725 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19726 Rename to ...
19727 (__ptrace_peeksiginfo_args): ... this.
19728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19731
197322014-01-06 Allan McRae <allan@archlinux.org>
19733
19734 * inet/netinet/in.h: Fix typo in comment.
19735
197362014-01-05 Andreas Jaeger <aj@suse.de>
19737
19738 * sysdeps/i386/fpu/libm-test-ulps: Update.
19739
197402014-01-05 Allan McRae <allan@archlinux.org>
19741
19742 * po/libc.pot: Regenerated.
19743
19744 * malloc/memusagestat.c: Fix gettext call formatting.
19745
197462014-01-04 Sami Kerola <kerolasa@iki.fi>
19747
19748 * nscd/nscd.c: Improve usage() output.
19749
197502014-01-04 Mike Frysinger <vapier@gentoo.org>
19751
19752 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19753 * sysdeps/unix/sysv/linux/configure: Regenerated.
19754 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19755 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19756
197572014-01-03 Joseph Myers <joseph@codesourcery.com>
19758
19759 [BZ #16390]
19760 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19761 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19762
197632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19764
19765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19766 extra tokens at end of #undef directive.
19767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19768 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19769 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19770
197712014-01-03 Joseph Myers <joseph@codesourcery.com>
19772
19773 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19774
19775 * math/auto-libm-test-in: Mark various tests with
19776 xfail-rounding:ldbl-128ibm.
19777 * math/auto-libm-test-out: Regenerated.
19778
197792014-01-02 Joseph Myers <joseph@codesourcery.com>
19780
19781 [BZ #16386]
19782 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19783 numbers with subnormal high part when calculating exponent.
19784
19785 [BZ #16385]
19786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19787 fabs.
19788
19789 [BZ #16384]
19790 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19791 M_LN2l.
19792 (__ieee754_acoshl): Use __log1pl not __log1p.
19793
197942013-01-02 Ondřej Bílka <neleai@seznam.cz>
19795
19796 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19797 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19798 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19799 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19800 (reused_arena, arena_get2): Convert to GNU style.
19801 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19802 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19803 (memalign_check, __malloc_set_state): Likewise.
19804 * malloc/mallocbug.c (main): Likewise.
19805 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19806 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19807 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19808 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19809 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19810 (__posix_memalign, malloc_info): Likewise.
19811 * malloc/malloc.h: Likewise.
19812 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19813 (mallochook, memalignhook, reallochook, mabort): Likewise.
19814 * malloc/mcheck.h: Likewise.
19815 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19816 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19817 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19818 * malloc/morecore.c (__default_morecore): Likewise.
19819 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19820 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19821 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19822 (print_and_abort): Likewise.
19823 * malloc/obstack.h: Likewise.
19824 * malloc/set-freeres.c (__libc_freeres): Likewise.
19825 * malloc/tst-mallocstate.c (main): Likewise.
19826 * malloc/tst-mtrace.c (main): Likewise.
19827 * malloc/tst-realloc.c (do_test): Likewise.
19828
198292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19830
19831 [BZ #16366]
19832 * nscd/netgroupcache.c (do_notfound): New function.
19833 (addgetnetgrentX): Use it.
19834
19835 [BZ # 16365]
19836 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19837 NSS_STATUS_NOTFOUND.
19838
198392014-01-01 Joseph Myers <joseph@codesourcery.com>
19840
19841 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19843
198442014-01-01 Allan McRae <allan@archlinux.org>
19845
19846 * scripts/update-copyrights: Update configure input file suffix.
19847
19848 * NEWS: Update copyright year.
19849 * catgets/gencat.c: Likewise.
19850 * csu/version.c: Likewise.
19851 * debug/catchsegv.sh: Likewise.
19852 * debug/pcprofiledump.c: Likewise.
19853 * debug/xtrace.sh: Likewise.
19854 * elf/ldconfig.c: Likewise.
19855 * elf/ldd.bash.in: Likewise.
19856 * elf/pldd.c: Likewise.
19857 * elf/sotruss.ksh: Likewise.
19858 * elf/sprof.c: Likewise.
19859 * iconv/iconv_prog.c: Likewise.
19860 * iconv/iconvconfig.c: Likewise.
19861 * locale/programs/locale.c: Likewise.
19862 * locale/programs/localedef.c: Likewise.
19863 * login/programs/pt_chown.c: Likewise.
19864 * malloc/memusage.sh: Likewise.
19865 * malloc/memusagestat.c: Likewise.
19866 * malloc/mtrace.pl: Likewise.
19867 * manual/libc.texinfo: Likewise.
19868 * nscd/nscd.c: Likewise.
19869 * nss/getent.c: Likewise.
19870 * nss/makedb.c: Likewise.
19871 * posix/getconf.c: Likewise.
19872 * scripts/test-installation.pl: Likewise.
19873
19874 * All files with FSF copyright notices: Update copyright dates
19875 using scripts/update-copyrights.
19876 * intl/plural.c: Regenerated.
19877 * locale/programs/charmap-kw.h: Likewise.
19878 * locale/programs/locfile-kw.h: Likewise.
19879
198802013-12-31 Mike Frysinger <vapier@gentoo.org>
19881
19882 * sysdeps/unix/sysv/linux/configure: Regenerated.
19883 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19884 the linux/fanotify.h header.
19885 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19886 HAVE_LINUX_FANOTIFY_H is defined.
19887
198882013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19889
19890 * benchtests/cos-inputs: New inputs.
19891 * benchtests/sin-inputs: Likewise.
19892
19893 * benchtests/atan-inputs: New inputs. Fix name of multiple
19894 precision fallback inputs.
19895
19896 * benchtests/atanh-inputs: New inputs.
19897 * benchtests/tanh-inputs: Likewise.
19898
19899 * benchtests/acosh-inputs: New inputs.
19900 * benchtests/asinh-inputs: Likewise.
19901
19902 * benchtests/cosh-inputs: New inputs.
19903 * benchtests/sinh-inputs: Likewise.
19904
19905 * benchtests/acos-inputs: Add more inputs.
19906 * benchtests/asin-inputs: Likewise.
19907
199082013-12-30 Ville Skytta <ville.skytta@iki.fi>
19909
19910 [BZ #16375]
19911 * manual/arith.texi: Fix spelling.
19912 * manual/charset.texi: Likewise.
19913 * manual/errno.texi: Likewise.
19914 * manual/filesys.texi: Likewise.
19915 * manual/lang.texi: Likewise.
19916 * manual/llio.texi: Likewise.
19917 * manual/locale.texi: Likewise.
19918 * manual/message.texi: Likewise.
19919 * manual/resource.texi: Likewise.
19920 * manual/search.texi: Likewise.
19921 * manual/setjmp.texi: Likewise.
19922 * manual/stdio.texi: Likewise.
19923 * manual/string.texi: Likewise.
19924 * manual/sysinfo.texi: Likewise.
19925 * manual/time.texi: Likewise.
19926
199272013-12-27 Carlos O'Donell <carlos@redhat.com>
19928
19929 * po/sl.po: New file.
19930
199312013-12-27 Mike Frysinger <vapier@gentoo.org>
19932
19933 * .gitignore: Add core/.gdbinit/.gdb_history.
19934
199352013-12-27 Allan McRae <allan@archlinux.org>
19936
19937 [BZ #16369]
19938 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19939 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19940
199412013-12-24 Brooks Moses <bmoses@google.com>
19942
19943 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19944 all compilers that claim C++98 compliance, not just GCC.
19945 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19946 Likewise.
19947
199482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19949
19950 * NEWS: Restore accidentally deleted bug-fix entries.
19951
199522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19953 Ondřej Bílka <neleai@seznam.cz>
19954
19955 [BZ #15073]
19956 * malloc/malloc.c (_int_free): Perform sanity check only if we
19957 have_lock.
19958
199592013-12-23 Ondřej Bílka <neleai@seznam.cz>
19960
19961 [BZ #12986]
19962 * manual/stdio.texi (String Input Conversions): Clarify that character
19963 classes are not supported.
19964
199652013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19966
19967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19968
199692013-12-22 Joseph Myers <joseph@codesourcery.com>
19970
19971 [BZ #16337]
19972 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19973 Calculate results for small negative arguments directly rather
19974 than using reflection formula with special underflow handling.
19975
19976 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19977 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19978 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19979 (fchflags): Likewise.
19980 (revoke): Likewise.
19981 (setlogin): Likewise.
19982 (sigaltstack): Likewise.
19983 (wait4): Likewise.
19984 (sigblock): Remove.
19985 (sigsetmask): Likewise.
19986 (wait3): Likewise.
19987 (waitpid): Likewise.
19988 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19989 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19990 file.
19991 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19992 * sysdeps/unix/bsd/Makefile: ... here.
19993 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19994 * sysdeps/unix/bsd/Versions: ... here.
19995 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19996 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19997 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19998 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19999 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20000 * sysdeps/unix/bsd/sigblock.c: ... here.
20001 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20002 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20003 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20004 * sysdeps/unix/bsd/sigvec.c: ... here.
20005 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20006 * sysdeps/unix/bsd/tcdrain.c: ... here.
20007 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20008 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20009 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20010 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20011 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20012 * sysdeps/unix/bsd/wait.c: ... here.
20013 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20014 * sysdeps/unix/bsd/wait3.c: ... here.
20015 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20016 * sysdeps/unix/bsd/waitpid.c: ... here.
20017
200182013-12-21 Joseph Myers <joseph@codesourcery.com>
20019
20020 [BZ #16356]
20021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20022 round-to-nearest for [!USE_AS_EXPM1L].
20023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20024 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20025 more tests of exp and exp10. Expect some exp10 tests to miss
20026 exceptions or fail in directed rounding modes.
20027 * math/auto-libm-test-out: Regenerated.
20028 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20029 (exp10_test_tonearest): New function.
20030 (exp10_towardzero_test_data): New array.
20031 (exp10_test_towardzero): New function.
20032 (exp10_downward_test_data): New array.
20033 (exp10_test_downward): New function.
20034 (exp10_upward_test_data): New array.
20035 (exp10_test_upward): New function.
20036 (main): Call the new functions.
20037 * sysdeps/i386/fpu/libm-test-ulps: Update.
20038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20039
200402013-12-20 Joseph Myers <joseph@codesourcery.com>
20041
20042 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20043 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20044 * math/auto-libm-test-out: Regenerated.
20045 * math/libm-test.inc (acosh_test_data): Add more tests.
20046 (atanh_test_data): Likewise.
20047 (ceil_test_data): Likewise.
20048 (copysign_test_data): Likewise.
20049 * sysdeps/i386/fpu/libm-test-ulps: Update.
20050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051
20052 * timezone/checktab.awk: Update from tzcode 2013i.
20053 * timezone/private.h: Likewise.
20054 * timezone/scheck.c: Likewise.
20055 * timezone/tzfile.h: Likewise.
20056 * timezone/tzselect.ksh: Likewise.
20057 * timezone/zdump.c: Likewise.
20058 * timezone/zic.c: Likewise.
20059
20060 * math/auto-libm-test-in: Add tests of cpow.
20061 * math/auto-libm-test-out: Regenerated.
20062 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20063 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20064 mpc_cc_c.
20065 (func_calc_desc): Add mpc_cc_c union field.
20066 (test_functions): Add cpow.
20067 (special_fill_2pi): New function.
20068 (special_real_inputs): Add 2pi.
20069 (calc_generic_results): Handle mpc_cc_c.
20070 * sysdeps/i386/fpu/libm-test-ulps: Update.
20071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20072
20073 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20074 csqrt, ctan and ctanh.
20075 * math/auto-libm-test-out: Regenerated.
20076 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20077 (TEST_COND_x86): Likewise.
20078 (ccos_test_data): Use AUTO_TESTS_c_c.
20079 (ccosh_test_data): Likewise.
20080 (cexp_test_data): Likewise.
20081 (clog_test_data): Likewise.
20082 (csqrt_test_data): Likewise.
20083 (ctan_test_data): Likewise.
20084 (ctan_tonearest_test_data): Likewise.
20085 (ctan_towardzero_test_data): Likewise.
20086 (ctan_downward_test_data): Likewise.
20087 (ctan_upward_test_data): Likewise.
20088 (ctanh_test_data): Likewise.
20089 (ctanh_tonearest_test_data): Likewise.
20090 (ctanh_towardzero_test_data): Likewise.
20091 (ctanh_downward_test_data): Likewise.
20092 (ctanh_upward_test_data): Likewise.
20093 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20094 mpc_c_c.
20095 (func_calc_desc): Add mpc_c_c union field.
20096 (FUNC_mpc_c_c): New macro.
20097 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20098 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20099 ctanh.
20100 (special_fill_min_subnorm_p120): New function.
20101 (special_real_inputs): Add min_subnorm_p120.
20102 (calc_generic_results): Handle mpc_c_c.
20103 * sysdeps/i386/fpu/libm-test-ulps: Update.
20104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20105
201062013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20107
20108 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20109 (do_sin_slow): New functions.
20110 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20111 (cslow2, csloww1, csloww2): Use the new functions.
20112
20113 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20114 Use M to change sign of result instead of X. Assume X is
20115 positive.
20116 (csloww1): Likewise.
20117 (__sin): Adjust.
20118 (__cos): Adjust.
20119
20120 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20121 arguments A and DA.
20122 (__sin): Adjust.
20123 (__cos): Likewise.
20124
20125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20126 (__cos): Likewise.
20127 (sloww1): Don't adjust sign of DX.
20128 (csloww1): Likewise.
20129 (sloww2): Use X directly and don't adjust sign of DX.
20130 (csloww2): Likewise.
20131
201322013-12-19 Joseph Myers <joseph@codesourcery.com>
20133
20134 * math/auto-libm-test-in: Add tests of cabs and carg.
20135 * math/auto-libm-test-out: Regenerated.
20136 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20137 (carg_test_data): Likewise.
20138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20139 mpc_c_f.
20140 (func_calc_desc): Add mpc_c_f union field.
20141 (test_functions): Add cabs and carg.
20142 (calc_generic_results): Handle mpc_c_f.
20143
20144 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20145 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20146 as a macro and a compat symbol.
20147 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20148 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20149 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20150 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20151 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20152 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20153 not use .hidden.
20154 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20155 Likewise.
20156 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20157 Likewise.
20158 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20159 Likewise.
20160 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20161 Likewise.
20162 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20163 Likewise.
20164 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20165 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20166 from GLIBC_2.3.2.
20167
201682013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20169
20170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20171
201722013-12-19 Joseph Myers <joseph@codesourcery.com>
20173
20174 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20175 trailing whitespace removed.
20176 * scripts/config.guess: Update to version 2013-11-29.
20177 * scripts/config.sub: Update to version 2013-10-01.
20178
20179 * math/auto-libm-test-in: Add tests of sincos.
20180 * math/auto-libm-test-out: Regenerated.
20181 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20183 mpfr_f_11.
20184 (func_calc_desc): Add mpfr_f_11 union field.
20185 (test_functions): Add sincos.
20186 (calc_generic_results): Handle mpfr_f_11.
20187 * sysdeps/i386/fpu/libm-test-ulps: Update.
20188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20189
201902013-12-19 Andreas Schwab <schwab@suse.de>
20191
20192 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20193 CALL_MCOUNT.
20194 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20195 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20196 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20197
201982013-12-19 Joseph Myers <joseph@codesourcery.com>
20199
20200 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20201 * sysdeps/i386/fpu/libm-test-ulps: Update.
20202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20203
20204 [BZ #16293]
20205 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20206 round-to-nearest mode when using frndint.
20207 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20208 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20210 Likewise.
20211 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20212 sinh test to fail.
20213 * math/auto-libm-test-out: Regenerated.
20214 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20215 (TEST_COND_x86): Likewise.
20216 (expm1_tonearest_test_data): New array.
20217 (expm1_test_tonearest): New function.
20218 (expm1_towardzero_test_data): New array.
20219 (expm1_test_towardzero): New function.
20220 (expm1_downward_test_data): New array.
20221 (expm1_test_downward): New function.
20222 (expm1_upward_test_data): New array.
20223 (expm1_test_upward): New function.
20224 (main): Run the new test functions.
20225 * sysdeps/i386/fpu/libm-test-ulps: Update.
20226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20227
20228 * include/features.h: Update comment documenting feature test
20229 macros. Mention _DEFAULT_SOURCE in comment.
20230 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20231 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20232 _BSD_SOURCE and _SVID_SOURCE.
20233 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20234 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20235 !_SVID_SOURCE]: Likewise.
20236 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20237 (__USE_POSIX_IMPLICITLY): Define.
20238 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20239 (_POSIX_SOURCE): Undefine and redefine.
20240 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20241 (_POSIX_C_SOURCE): Likewise.
20242 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20243 (Feature Test Macros): Update documentation of default features.
20244
202452013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20246
20247 * benchtests/Makefile: Add bench-strtok.
20248 * benchtests/bench-strtok.c: New file: strtok benchtest.
20249
202502013-12-19 Allan McRae <allan@archlinux.org>
20251
20252 * manual/install.texi: Suppress menu for plain text output.
20253 * INSTALL: Regenerated.
20254
202552013-12-18 Brooks Moses <bmoses@google.com>
20256
20257 [BZ #15846]
20258 * misc/getauxval.c: Include errno.h.
20259 (__getauxval): Set errno to ENOENT if the requested type is not
20260 found.
20261 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20262 don't declare with __attribute_const__.
20263 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20264 * manual/startup.texi: Document that getauxval sets errno.
20265
202662013-12-18 Joseph Myers <joseph@codesourcery.com>
20267
20268 * math/auto-libm-test-in: Add tests of jn and yn.
20269 * math/auto-libm-test-out: Regenerated.
20270 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20271 (yn_test_data): Likewise.
20272 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20273 mpfr_if_f.
20274 (func_calc_desc): Add mpfr_if_f union field.
20275 (FUNC_mpfr_if_f): New macro.
20276 (test_functions): Add jn and yn.
20277 (calc_generic_results): Assert type of second input for
20278 mpfr_ff_f. Handle mpfr_if_f.
20279 (output_for_one_input_case): Disable all checking for arguments
20280 fitting floating-point types in case of an integer argument.
20281 * sysdeps/i386/fpu/libm-test-ulps: Update.
20282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20283
20284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20285 Don't expect fegetround reference in libm.so.
20286
202872013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20288
20289 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20290 $(config-cflags-nofma).
20291
202922013-12-18 Joseph Myers <joseph@codesourcery.com>
20293
20294 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20295 * math/auto-libm-test-out: Regenerated.
20296
20297 [BZ #16338]
20298 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20299 to determine exponent and adjust argument to have exponent of -1.
20300 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20301 log2.
20302 * math/auto-libm-test-out: Regenerated.
20303 * sysdeps/i386/fpu/libm-test-ulps: Update.
20304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305
203062013-12-18 Ondřej Bílka <neleai@seznam.cz>
20307
20308 * manual/probes.texi: Remove cases when per-thread arenas are
20309 disabled.
20310
203112013-12-18 Andreas Schwab <schwab@suse.de>
20312
20313 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20314 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20315 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20316 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20317 * sysdeps/i386/i686/multiarch/Makefile: Update.
20318 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20319
203202013-12-17 Joseph Myers <joseph@codesourcery.com>
20321
20322 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20323 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20324
203252013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20326
20327 [BZ #15968]
20328 Support TZ transition times < 00:00:00.
20329 This is needed for version-3 tz-format files; it supports time
20330 stamps past 2037 for America/Godthab (the only entry in the tz
20331 database for which this change is relevant).
20332 * manual/time.texi (TZ Variable): Document transition times
20333 from -167:59:59 through -00:00:01.
20334 * time/tzset.c (tz_rule): Time of day is now signed.
20335 (__tzset_parse_tz): Parse negative time of day.
20336
20337 Document TZ transition times >= 25:00:00.
20338 * manual/time.texi (TZ Variable): Document transition times from
20339 25:00:00 through 167:59:59. These are already supported, and this
20340 support will help with version-3 tz-format files.
20341
20342 * manual/time.texi (TZ Variable): Modernize North America example
20343 to reflect current (i.e., 2007-and-later) daylight saving rules.
20344
20345 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20346
203472013-12-17 Joseph Myers <joseph@codesourcery.com>
20348
20349 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20350 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20353 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20354 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20355 * sysdeps/unix/bsd/clock.c: Likewise.
20356 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20357 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20358 * sysdeps/unix/bsd/init-posix.c: Likewise.
20359 * sysdeps/unix/bsd/poll.c: Likewise.
20360 * sysdeps/unix/bsd/ptsname.c: Likewise.
20361 * sysdeps/unix/bsd/seekdir.c: Likewise.
20362 * sysdeps/unix/bsd/setegid.c: Likewise.
20363 * sysdeps/unix/bsd/seteuid.c: Likewise.
20364 * sysdeps/unix/bsd/setgid.c: Likewise.
20365 * sysdeps/unix/bsd/setrgid.c: Likewise.
20366 * sysdeps/unix/bsd/setruid.c: Likewise.
20367 * sysdeps/unix/bsd/setsid.c: Likewise.
20368 * sysdeps/unix/bsd/setuid.c: Likewise.
20369 * sysdeps/unix/bsd/sigaction.c: Likewise.
20370 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20371 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20372 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20373 * sysdeps/unix/bsd/telldir.c: Likewise.
20374 * sysdeps/unix/bsd/times.c: Likewise.
20375 * sysdeps/unix/bsd/usleep.c: Likewise.
20376
20377 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20378 ($(objpfx)libbsd-compat.a): Remove rule.
20379
20380 * include/features.h (__FAVOR_BSD): Do not define.
20381 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20382 features conflicting with POSIX.
20383 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20384 (_BSD_SOURCE): Remove description of not being a subset of other
20385 feature test macros.
20386 * manual/job.texi (getpgrp): Do not document BSD version.
20387 (getpgid): Do not document by reference to BSD getpgrp.
20388 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20389 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20390 * signal/signal.h [__FAVOR_BSD]: Likewise.
20391 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20392 instead of making contents conditional on [__FAVOR_BSD].
20393 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20394
203952013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20396
20397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20398
203992013-12-17 Joseph Myers <joseph@codesourcery.com>
20400
20401 [BZ #16314]
20402 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20403 values below 2**-450, not 2**-500.
20404 * math/auto-libm-test-in: Don't allow spurious underflow from
20405 hypot.
20406 * math/auto-libm-test-out: Regenerated.
20407
20408 [BZ #16316]
20409 [BZ #16330]
20410 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20411 values of ha and hb and sort them after adjusting subnormal
20412 arguments.
20413 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20414 Likewise.
20415 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20416 values of ea and eb and sort them after adjusting subnormal
20417 arguments.
20418 * math/auto-libm-test-in: Do not expect some hypot tests of
20419 subnormals to fail. Add more hypot tests.
20420 * math/auto-libm-test-out: Regenerated.
20421
204222013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20423
20424 [BZ #13304]
20425 * sysdeps/sh/s_fma.c: New file.
20426 * sysdeps/sh/s_fmaf.c: New file.
20427 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20428 version.
20429 * sysdeps/sh/Implies: Add sh/soft-fp.
20430
204312013-12-16 Roland McGrath <roland@hack.frob.com>
20432
20433 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20434 level of indirection to members `objname', `errstring', `malloced'.
20435 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20436 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20437 it as the __longjmp argument (just pass 1 instead).
20438 (_dl_catch_error): Initialize C with argument pointers and address of
20439 volatile local ERRCODE rather than copying values out of C at return.
20440
204412013-12-16 Joseph Myers <joseph@codesourcery.com>
20442
20443 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20444 * math/auto-libm-test-out: Regenerated.
20445 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20446 (hypot_test_data): Likewise.
20447 (pow_test_data): Likewise.
20448 (pow_tonearest_test_data): Likewise.
20449 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20450 mpfr_ff_f.
20451 (func_calc_desc): Add mpfr_ff_f union field.
20452 (FUNC_mpfr_ff_f): New macro.
20453 (test_functions): Add atan2, hypot and pow.
20454 (special_fill_min): New function.
20455 (special_fill_minus_min): Likewise.
20456 (special_fill_min_subnorm): Likewise.
20457 (special_fill_minus_min_subnorm): Likewise.
20458 (special_real_inputs): Add min, -min, min_subnorm and
20459 -min_subnorm.
20460 (calc_generic_results): Handle mpfr_ff_f.
20461 * sysdeps/i386/fpu/libm-test-ulps: Update.
20462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20463
204642013-12-16 Will Newton <will.newton@linaro.org>
20465
20466 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20467 (Aligned Memory Blocks): Add documentation for aligned_alloc
20468 and suggest it as an alternative to posix_memalign.
20469 (Hooks for Malloc): Document __memalign_hook is also called
20470 for aligned_alloc. (Summary of Malloc): Add summary for
20471 aligned alloc. Document __memalign_hook is also called
20472 for aligned_alloc.
20473
204742013-12-16 Will Newton <will.newton@linaro.org>
20475
20476 * manual/memory.texi (Malloc Examples): Clarify default
20477 alignment documentation. Suggest posix_memalign rather
20478 than memalign or valloc.
20479 (Aligned Memory Blocks): Remove suggestion to use memalign
20480 or valloc. Remove obsolete comment about BSD.
20481 Document memalign errno values and mark the function obsolete.
20482 Document posix_memalign returned error codes. Mark valloc
20483 as obsolete. (Hooks for Malloc): __memalign_hook is also
20484 called for posix_memalign and valloc.
20485 (Summary of Malloc): Add posix_memalign to function summary.
20486 __memalign_hook is also called for posix_memalign and valloc.
20487
204882013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20489
20490 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20491 TAYLOR_SIN.
20492 (__sin): Adjust.
20493 (__cos): Likewise.
20494 (sloww): Use mynumber union. Expand ternary operator into
20495 if-else statements.
20496 (cslow): use mynumber union.
20497
204982013-12-16 Allan McRae <allan@archlinux.org>
20499
20500 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20501 * configure: Regenerated.
20502
20503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20504
20505 [BZ #14120]
20506 * configure.ac: Added --enable-maintainer-mode. Check for
20507 autoconf when enabled.
20508 * configure: Regenerated.
20509
20510 * nscd/nscd.service: New file.
20511 * nscd/nscd.tmpfiles: New file.
20512
205132013-12-14 Ondřej Bílka <neleai@seznam.cz>
20514
20515 [BZ #12100]
20516 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20517 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20518 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20519 (strstr): Add __strstr_sse2_unaligned ifunc.
20520 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20521 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20522 (strcasestr): Remove __strcasestr_sse42 ifunc.
20523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20526
205272013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20528
20529 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20530 * sysdeps/sh/bits/fenv.h: ... here.
20531 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20532
205332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20534
20535 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20536
20537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20538 hypotf multiarch implementations.
20539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20542 multiarch hypot for PPC64.
20543 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20544 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20545 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20546 multiarch hypotf for PPC64.
20547
20548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20549 modff multiarch implementations.
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20553 multiarch modf for PPC64.
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20557 multiarch modff for PPC64.
20558
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20560 and logl multiarch implementations.
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20564 multiarch logb for PPC64.
20565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20568 multiarch logb for PPC64.
20569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20572 multiarch logb for PPC64.
20573
20574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20575 isinff multiarch implementation.
20576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20577 file.
20578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20580 multiarch isinf for PPC64.
20581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20582 file.
20583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20584 multiarch isinff for PPC64.
20585
20586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20587 finitef multiarch implementation.
20588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20589 file.
20590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20592 multiarch finite for PPC64.
20593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20594 file.
20595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20596 multiarch finitef for PPC64.
20597
20598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20599 lrint multiarch implementation.
20600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20601 file.
20602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20604 multiarch llrint for PPC64.
20605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20606 multiarch lrint for PPC64.
20607
20608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20609 copysignf multiarch implementation.
20610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20611 file.
20612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20613 file.
20614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20615 multiarch copysign for PPC64.
20616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20617 multiarch copysignf for PPC64.
20618
20619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20620 multiarch implementation.
20621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20622 file.
20623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20624 file.
20625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20626 file.
20627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20628 file.
20629 multiarch llround for PPC64.
20630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20631 multiarch trunc for PPC64.
20632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20633 multiarch truncf for PPC64.
20634
20635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20636 multiarch implementation.
20637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20638 file.
20639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20640 file.
20641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20642 file.
20643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20644 file.
20645 multiarch llround for PPC64.
20646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20647 multiarch round for PPC64.
20648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20649 multiarch roundf for PPC64.
20650
20651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20652 multiarch implementation.
20653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20654 file.
20655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20656 file.
20657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20658 file.
20659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20660 file.
20661 multiarch llround for PPC64.
20662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20663 multiarch floor for PPC64.
20664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20665 multiarch floorf for PPC64.
20666
20667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20668 multiarch implementation.
20669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20670 file.
20671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20672 file.
20673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20674 file.
20675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20676 file.
20677 multiarch llround for PPC64.
20678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20679 multiarch ceil for PPC64.
20680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20681 multiarch ceilf for PPC64.
20682
20683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20684 multiarch implementation.
20685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20686 file.
20687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20688 file.
20689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20690 file.
20691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20692 multiarch llround for PPC64.
20693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20694 multiarch lround for PPC64.
20695
20696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20697 multiarch implementation.
20698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20701 file.
20702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20705 multiarch isnan for PPC64.
20706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20707 multiarch isnanf for PPC64.
20708
20709 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20710 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20711 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20712 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20713 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20715
20716 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20717 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20719 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20720
20721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20722 multiarch implementations.
20723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20724 (__libc_ifunc_impl_list): Likewise.
20725 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20726 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20727 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20728 multiarch stpcpy for PPC64.
20729
20730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20731 multiarch implementations.
20732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20733 (__libc_ifunc_impl_list): Likewise.
20734 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20735 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20736 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20737 multiarch strcpy for PPC64.
20738
20739 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20740 redefine function name.
20741 (_wordcopy_fwd_dest_aligned): Likewise.
20742 (_wordcopy_bwd_aligned): Likewise.
20743 (_wordcopy_bwd_dest_aligned): Likewise.
20744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20745 multiarch implementations.
20746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20747 (__libc_ifunc_impl_list): Likewise.
20748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20749 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20750 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20751 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20752 multiarch wcscpy for PPC64.
20753
20754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20755 multiarch implementations.
20756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20757 (__libc_ifunc_impl_list): Likewise.
20758 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20759 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20760 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20761 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20762 multiarch wcscpy for PPC64.
20763
20764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20765 multiarch implementations.
20766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20767 (__libc_ifunc_impl_list): Likewise.
20768 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20769 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20770 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20771 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20772 multiarch wcsrchr for PPC64.
20773
20774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20775 multiarch implementations.
20776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20777 (__libc_ifunc_impl_list): Likewise.
20778 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20779 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20780 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20782 multiarch wcschr for PPC64.
20783
20784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20785 multiarch implementations.
20786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20787 (__libc_ifunc_impl_list): Likewise.
20788 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20789 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20790 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20791 multiarch strchrnul for PPC64.
20792
20793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20794 implementations.
20795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20796 (__libc_ifunc_impl_list): Likewise.
20797 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20798 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20799 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20800 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20801 strchr for PPC64.
20802
20803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20804 implementations.
20805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20806 (__libc_ifunc_impl_list): Likewise.
20807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20809 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20810 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20811 strncmp for PPC64.
20812
20813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20814 multiarch implementations.
20815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20816 (__libc_ifunc_impl_list): Likewise.
20817 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20818 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20819 strncasecmp for PPC64.
20820 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20821 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20822 multiarch strncasecmp_l for PPC64.
20823
20824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20825 multiarch implementations.
20826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20827 (__libc_ifunc_impl_list): Likewise.
20828 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20829 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20830 multiarch strcasecmp for PPC64.
20831 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20832 file.
20833 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20834 multiarch strcasecmp_l for PPC64.
20835
20836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20837 implementations.
20838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20839 (__libc_ifunc_impl_list): Likewise.
20840 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20841 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20842 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20843 strnlen for PPC64.
20844
20845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20846 implementations.
20847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20848 (__libc_ifunc_impl_list): Likewise.
20849 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20850 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20851 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20852 strlen for PPC64.
20853
20854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20855 implementations.
20856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20857 (__libc_ifunc_impl_list): Likewise.
20858 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20859 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20860 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20861 rawmemrchr for PPC64.
20862
20863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20864 implementation.
20865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20866 (__libc_ifunc_impl_list): Likewise.
20867 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20868 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20869 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20870 memrchr for PPC64.
20871
20872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20873 implementation.
20874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20875 (__libc_ifunc_impl_list): Likewise.
20876 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20877 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20878 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20879 memchr for PPC64.
20880
20881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20882 implementation.
20883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20884 (__libc_ifunc_impl_list): Likewise.
20885 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20886 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20887 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20888 mempcpy for PPC64.
20889
20890 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20891 avoid cretion of __bzero symbol.
20892 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20893 Likewise.
20894 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20895 Likewise.
20896 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20897 Likewise.
20898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20899 multiarch implementations.
20900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20901 (__libc_ifunc_impl_list): Likewise.
20902 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20903 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20904 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20905 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20906 bzero for PPC32.
20907 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20908 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20909 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20910 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20911 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20912 memset for PPC64.
20913 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20914
20915 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20917 implementations.
20918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20919 (__libc_ifunc_impl_list): Likewise.
20920 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20921 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20922 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20923 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20924 memcmp for PPC64.
20925
20926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20927 multiarch for POWER/PPC64.
20928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20929 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20935 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20936 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20937 memcpy for PPC64.
20938
20939 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20940 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20941 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20942 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20943 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20944 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20946 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20947 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20948 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20949 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20950 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20951 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20952 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20953 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20961
209622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20963
20964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20965
209662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20967
20968 * benchtests/Makefile (bench): Add exp2 and log2.
20969 (LDLIBS-bench-exp2): Add -lm.
20970 (LDLIBS-bench-log2): Likewise.
20971 * benchtests/exp2-inputs: New inputs file.
20972 * benchtests/log2-inputs: New inputs file.
20973 * benchtests/log-inputs: Add new inputs.
20974 * benchtests/tan-inputs: Likewise.
20975
209762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20977
20978 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20979 definition...
20980 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20981 (csloww2): ... from here.
20982
20983 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20984 instead of structures.
20985 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20986 (POLYNOMIAL): Likewise.
20987 (TAYLOR_SLOW): Likewise.
20988 (__sin): Likewise.
20989 (__cos): Likewise.
20990 (slow1): Likewise.
20991 (slow2): Likewise.
20992 (sloww): Likewise.
20993 (sloww1); Likewise.
20994 (sloww2): Likewise.
20995 (bsloww1): Likewise.
20996 (bsloww2): Likewise.
20997 (cslow2): Likewise.
20998 (csloww): Likewise.
20999 (csloww1): Likewise.
21000 (csloww2): Likewise.
21001
210022013-12-10 Ondřej Bílka <neleai@seznam.cz>
21003
21004 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21005 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21006 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21007 * malloc/hooks.c (realloc_check): Likewise.
21008
21009 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21010 * malloc/arena.c: Remove PER_THREAD conditional.
21011 [!PER_THREAD]: Remove code.
21012 (ptmalloc_unlock_all2): Likewise.
21013 (ptmalloc_init): Likewise.
21014 (_int_new_arena): Likewise.
21015 (arena_get2): Likewise.
21016 * malloc/hooks.c (__malloc_get_state): Likewise.
21017 (__malloc_set_state): Likewise.
21018 * malloc/malloc.c: Likewise.
21019 (struct malloc_state): Likewise.
21020 (struct malloc_par): Likewise.
21021 (__libc_realloc): Likewise.
21022 (__libc_mallopt): Likewise.
21023
210242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21025
21026 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21027
210282013-12-09 Ondřej Bílka <neleai@seznam.cz>
21029
21030 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21031 macro to a function. Check for zero perturb_byte.
21032 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21033
21034 * malloc/malloc.c: (force_reg): Remove.
21035 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21036 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21037 force_reg by atomic_forced_read.
21038 * malloc/arena.c (ptmalloc_init): Likewise.
21039 * malloc/hooks.c (top_check): Likewise.
21040
210412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042
21043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21044
210452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21046
21047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21048
210492013-12-08 Joseph Myers <joseph@codesourcery.com>
21050
21051 * math/auto-libm-test-in: Add tests of lgamma.
21052 * math/auto-libm-test-out: Regenerated.
21053 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21054 (M_LOG_2_SQRT_PIl): Likewise.
21055 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21056 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21057 mpfr_f_f1.
21058 (func_calc_desc): Add mpfr_f_f1 union field.
21059 (ARGS1): New macro.
21060 (ARGS2): Likewise.
21061 (ARGS3): Likewise.
21062 (ARGS4): Likewise.
21063 (RET1): Likewise.
21064 (RET2): Likewise.
21065 (CALC): Likewise.
21066 (FUNC): Likewise.
21067 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21068 (test_functions): Add lgamma.
21069 (calc_generic_results): Handle mpfr_f_f1.
21070 * sysdeps/i386/fpu/libm-test-ulps: Update.
21071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21072
210732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21074
21075 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21076 __mpn_add_n for PowerPC64/POWER7.
21077 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21078 __mpn_sub_n for PowerPC64/POWER7.
21079
21080 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21081 __mpn_addmul_1 for PowerPC64.
21082 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21083 __mpn_submul_1 for PowerPC64.
21084 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21085 for PowerPC64.
21086 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21087 for PowerPC64.
21088
210892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21090
21091 [BZ #15089]
21092 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21093
210942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21095
21096 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21097
21098 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21099 add multiarch folders.
21100 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21101 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21102 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21103 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21104 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21105 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21106 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21107 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21108 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21109 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21110 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21117
21118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21119 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21121 New file.
21122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21123 New file.
21124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21125 multiarch __ieee754_hypot for PowerPC32.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21127 New file.
21128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21129 New file.
21130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21131 multiarch __ieee754_hypotf for PowerPC32.
21132
21133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21134 long_double_symbol only if __logbl is defined.
21135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21136 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21138 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21140 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21142 path for implementation.
21143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21144 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21146 logb, and logbl multiarch implementations for PowerPC32.
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21148 file.
21149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21150 file.
21151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21152 multiarch logb for PowerPC32.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21154 file.
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21156 file.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21158 multiarch logbf for PowerPC32.
21159 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21161 file.
21162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21163 multiarch logbl implementation for PowerPC32.
21164
21165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21166 and modff multiarch implementations.
21167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21168 New file.
21169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21170 New file.
21171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21172 multiarch modf for PowerPC32.
21173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21174 New file.
21175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21176 New file.
21177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21178 multiarch modff for PowerPC32.
21179
21180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21181 and lrintf multiarch implementations.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21183 New file.
21184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21185 New file.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21187 multiarch lrint for PowerPC32.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21189 file: multiarch lrintf for PowerPC32.
21190
21191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21192 and lroundf multiarch implementations.
21193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21194 New file.
21195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21196 New file.
21197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21198 New file.
21199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21200 multiarch lround for PowerPC32.
21201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21202 file: multiarch lroundf for PowerPC32.
21203
21204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21205 copysign and copysignf multiarch implementations.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21207 New file.
21208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21209 New file.
21210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21211 file: multiarch copysign for PowerPC32.
21212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21213 file: multiarch copysignf for PowerPC32.
21214
21215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21216 and truncf multiarch implementations.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21218 New file.
21219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21220 file.
21221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21222 multiarch trunc for PowerPC32.
21223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21224 New file.
21225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21226 New file.
21227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21228 multiarch truncf for PowerPC32.
21229
21230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21231 and roundf multiarch implementations.
21232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21233 New file.
21234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21235 file.
21236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21237 multiarch round for PowerPC32.
21238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21239 New file.
21240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21241 New file.
21242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21243 multiarch roundf for PowerPC32.
21244
21245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21246 and floorf multiarch implementations.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21248 New file.
21249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21250 file.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21252 multiarch floor for PowerPC32.
21253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21254 New file.
21255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21256 New file.
21257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21258 multiarch floorf for PowerPC32.
21259
21260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21261 and ceilf multiarch implementations.
21262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21263 New file.
21264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21265 file.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21267 multiarch ceil for PowerPC32.
21268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21269 New file.
21270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21271 file.
21272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21273 multiarch ceilf for PowerPC32.
21274
21275 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21276 is defined.
21277 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21278 FINITEF is defined.
21279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21280 and finitef multiarch implementations.
21281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21282 New file.
21283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21284 file.
21285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21286 multiarch finite for PowerPC32.
21287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21288 New file.
21289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21290 file: multiarch finitef for PowerPC32.
21291
21292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21293 and isinff multiarch implementations.
21294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21295 file.
21296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21297 file.
21298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21299 multiarch isinf for PowerPC32.
21300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21301 New file.
21302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21303 multiarch isinff for PowerPC32.
21304
21305 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21306 alias when __isnan is defined.
21307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21308 and isnanf multiarch implementations.
21309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21310 file.
21311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21312 file.
21313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21314 file.
21315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21316 file.
21317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21318 multiarch isnan for PowerPC32.
21319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21320 New file.
21321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21322 New file.
21323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21324 multiarch isnanf for PowerPC32.
21325
21326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21327 and sqrtf multiarch implementations.
21328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21329 file.
21330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21331 file.
21332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21333 multiarch sqrt for PowerPC32.
21334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21335 file.
21336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21337 file.
21338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21339 multiarch sqrtf for PowerPC32.
21340
21341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21342 and llroundf multiarch implementations.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21344 New file.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21346 New file.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21348 New file.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21350 file: multiarch llround for PowerPC32.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21352 file: multiarch llroundf for PowerPC32.
21353
21354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21355 multiarch PowerPC32 fpu implementations.
21356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21357 New file.
21358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21359 New file.
21360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21361 multiarch llrint for PowerPC32.
21362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21363 New file.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21365 New file.
21366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21367 file.
21368
21369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21370
21371 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21372 file.
21373 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21374 file.
21375 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21376 file.
21377 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21378 multiarch wordcopy for PPC32.
21379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21380 wordcopy objects.
21381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21382 (__libc_ifunc_impl_list): Likewise.
21383 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21384 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21385 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21386 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21388 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21389
21390 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21392 file.
21393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21394 file.
21395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21396 file.
21397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21398 multiarch wcscpy for PPC32.
21399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21400 multiarch objects.
21401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21402 (__libc_ifunc_impl_list): Likewise.
21403 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21404 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21405 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21406 sysdeps/powerpc/power6/wcscpy.c.
21407
21408 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21410 file.
21411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21412 file.
21413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21414 file.
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21416 multiarch wcsrchr for PPC32.
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21418 multiarch objects.
21419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21420 (__libc_ifunc_impl_list): Likewise.
21421 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21422 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21423 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21424 sysdeps/powerpc/power6/wcsrchr.c.
21425
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21427 file.
21428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21429 file.
21430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21432 multiarch wcschr for PPc32.
21433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21434 multiarch objects.
21435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21436 (__libc_ifunc_impl_list): Likewise.
21437 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21438 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21439 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21440 sysdeps/powerpc/power6/wcschr.c.
21441
21442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21444 file.
21445 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21446 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21447 file: multiarch strchr for PPC32.
21448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21449 multiarch objects.
21450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21451 (__libc_ifunc_impl_list): Likewise.
21452
21453 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21454 name.
21455 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21456 file.
21457 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21458 file.
21459 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21460 multiarch strchrnul for PPC32.
21461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21462 multiarch objects.
21463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21464 (__libc_ifunc_impl_list): Likewise.
21465
21466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21467 file.
21468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21469 multiarch strncasecmp for PPC32.
21470 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21471 file.
21472 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21473 multiarch strncasecmp_l for PPC32.
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21475 strncasecmp multiarch objects.
21476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21477 (__libc_ifunc_impl_list): Likewise.
21478
21479 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21480 file.
21481 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21482 multiarch strncasecmp for PPC32.
21483 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21484 New file.
21485 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21486 multiarch strcasecmp_l for PPC32.
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21488 multiarch objects.
21489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21490 (__libc_ifunc_impl_list): Likewise.
21491
21492 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21493 file.
21494 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21495 file.
21496 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21497 multiarch strncmp for PPC32.
21498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21499 multiarch objects.
21500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21501 (__libc_ifunc_impl_list): Likewise.
21502
21503 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21504 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21505 file.
21506 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21507 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21509 multiarch objects.
21510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21511 (__libc_ifunc_impl_list): Likewise.
21512
21513 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21514 file.
21515 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21516 file.
21517 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21519 multiarch objects.
21520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21521 (__libc_ifunc_impl_list): Likewise.
21522
21523 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21524 file.
21525 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21526 file.
21527 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21528 multiarch rawmemchr for PPC32.
21529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21530 multiarch objects.
21531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21532 (__libc_ifunc_impl_list): Likewise.
21533
21534 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21535 file.
21536 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21537 file.
21538 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21539 file: memrchr multiarch for PPC32.
21540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21541 multiarch objects.
21542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21543 (__libc_ifunc_impl_list): Likewise.
21544
21545 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21546 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21547 file.
21548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21549 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21550 multiarch memchr for PPC32.
21551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21552 multiarch objects.
21553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21554 (__libc_ifunc_impl_list): Likewise.
21555
21556 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21557 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21558 file.
21559 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21560 file.
21561 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21562 file: multiarch mempcpy for PPC32.
21563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21564 multiarch objects.
21565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21566 (__libc_ifunc_impl_list): Likewise.
21567
21568 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21569 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21570 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21572 multiarch bzero for PPC32.
21573 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21574 file.
21575 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21576 file.
21577 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21578 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21579 file: multiarch memset for PPC32.
21580 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21582 memset multiarch objects.
21583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21584 (__libc_ifunc_impl_list): Likewise.
21585
21586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21587 file.
21588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21590 memcmp for PPC32.
21591 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21593 multiarch objects.
21594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21595 (__libc_ifunc_impl_list): Likewise.
21596
21597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21600 file.
21601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21602 file.
21603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21604 file.
21605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21606 multiarch memcpy for PPC32.
21607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21608 multiarch objects.
21609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21610 (__libc_ifunc_impl_list): Likewise.
21611
21612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21613 support multiarch for POWER/PPC32.
21614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21615 Likewise.
21616 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21618 Implies file to make multiarch folder appers before the fpu and
21619 default folder for power4 configuration.
21620
216212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21622
21623 * scripts/bench.pl: Append volatile keyword to type.
21624
216252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21626
21627 * sysdeps/sh/sotruss-lib.c: New file.
21628 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21629
216302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21631
21632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21633
216342013-12-05 Joseph Myers <joseph@codesourcery.com>
21635
21636 [BZ #6810]
21637 * math/w_tgamma.c: Include <errno.h>.
21638 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21639 * math/w_tgammaf.c: Include <errno.h>.
21640 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21641 * math/w_tgammal.c: Include <errno.h>.
21642 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21643 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21644 underflow. Add more tgamma tests.
21645 * math/auto-libm-test-out: Regenerated.
21646 * sysdeps/i386/fpu/libm-test-ulps: Update.
21647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21648
21649 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21650 sin, sinh, tan, tanh, tgamma, y0 and y1.
21651 * math/auto-libm-test-out: Regenerated.
21652 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21653 (TEST_COND_x86): Likewise.
21654 (M_E2l): Remove macro.
21655 (M_E3l): Likewise.
21656 (M_2_SQRT_PIl): Likewise.
21657 (M_SQRT_PIl): Likewise.
21658 (M_1_DIV_El): Likewise.
21659 (log_test_data): Use AUTO_TESTS_f_f.
21660 (log10_test_data): Likewise.
21661 (log1p_test_data): Likewise.
21662 (log2_test_data): Likewise.
21663 (sin_test_data): Likewise.
21664 (sin_tonearest_test_data): Likewise.
21665 (sin_towardzero_test_data): Likewise.
21666 (sin_downward_test_data): Likewise.
21667 (sin_upward_test_data): Likewise.
21668 (sinh_test_data): Likewise.
21669 (sinh_tonearest_test_data): Likewise.
21670 (sinh_towardzero_test_data): Likewise.
21671 (sinh_downward_test_data): Likewise.
21672 (sinh_upward_test_data): Likewise.
21673 (tan_test_data): Likewise.
21674 (tan_tonearest_test_data): Likewise.
21675 (tan_towardzero_test_data): Likewise.
21676 (tan_downward_test_data): Likewise.
21677 (tan_upward_test_data): Likewise.
21678 (tanh_test_data): Likewise.
21679 (tgamma_test_data): Likewise.
21680 (y0_test_data): Likewise.
21681 (y1_test_data): Likewise.
21682 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21683 (special_real_inputs): Add pi/4.
21684 * sysdeps/i386/fpu/libm-test-ulps: Update.
21685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21686
216872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21688
21689 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21690 "longjmp_target" static probes.
21691 (__longjmp): Rename to __longjmp_symbol.
21692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21693 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21694 on which longjmp to generate.
21695 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21697 probe.
21698 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21699 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21700 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21701 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21702 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21703 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21705 __longjmp_symbol based on which __longjmp to generate.
21706 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21707 probe.
21708 (setjmp): Rename to setjmp_symbol.
21709 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21710 (_setjmp): Rename to _setjmp_symbol.
21711 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21712 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21713 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21714 which setjmp to generate.
21715 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21716 "longjmp_target" static probes.
21717
217182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21719
21720 * benchtests/README: Add note about output arguments.
21721 * benchtests/bench-sincos.c: Remove file.
21722 * benchtests/sincos-inputs: New file.
21723 * scripts/bench.pl: Identify output arguments and define
21724 static variables for them.
21725
21726 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21727
21728 [BZ #15941]
21729 * Makefile (INSTALL): Add install-plain.texi as the primary
21730 dependency.
21731 * manual/install-plain.texi: New file.
21732 * manual/install.texi: Include node directive only for
21733 non-plaintext output.
21734
217352013-12-04 Joseph Myers <joseph@codesourcery.com>
21736
21737 * stdlib/longlong.h: Update from GCC.
21738
21739 [BZ #6807]
21740 [BZ #15901]
21741 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21742 * math/w_j0f.c (y0f): Likewise.
21743 * math/w_j0l.c (__y0l): Likewise.
21744 * math/w_j1.c (y1): Likewise.
21745 * math/w_j1f.c (y1f): Likewise.
21746 * math/w_j1l.c (__y1l): Likewise
21747 * math/w_jn.c (yn): Likewise.
21748 * math/w_jnf.c (ynf): Likewise.
21749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21750 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21751 value for Bessel function domain errors outside _SVID_ mode.
21752 Adjust sign of return value for yn (negative integer, 0).
21753 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21754 by zero in return for negative x and set sign appropriately for
21755 negative n.
21756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21757 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21758 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21759 expectations in error cases.
21760 (y1_test_data): Likewise.
21761 (yn_test_data): Likewise.
21762 * sysdeps/i386/fpu/libm-test-ulps: Update.
21763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21764
217652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21766
21767 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21768 "64" to "64-v1". Add "64-v2".
21769 (abi-64-options): Rename to ...
21770 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21771 (abi-64-condition): Rename to ...
21772 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21773 (abi-64-ld-soname): Rename to ...
21774 (abi-64-v1-ld-soname): ... this.
21775 (abi-64-v2-options): Define.
21776 (abi-64-v2-condition): Likewise.
21777 (abi-64-v2-ld-soname): Likewise.
21778 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21779 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21783
217842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21785 Alan Modra <amodra@gmail.com>
21786
21787 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21788 New versions for use with the ELFv2 ABI.
21789 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21790 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21791 declaration.
21792 (struct La_ppc64v2_retval): Likewise.
21793 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21794 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21795 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21796 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21797 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21798 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21799 Do not save or restore CR.
21800 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21801 (_dl_profile_resolve): Do no save or restore CR. Support extended
21802 return values for ELFv2 ABI. Fix location of FPR return registers.
21803 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21804 updated values for _CALL_ELF == 2.
21805 (La_regs, La_retval, int_retval): Likewise.
21806
218072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21808
21809 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21810 (FRAME_MIN_SIZE_PARM): Likewise.
21811 (FRAME_BACKCHAIN): Likewise.
21812 (FRAME_CR_SAVE): Likewise.
21813 (FRAME_LR_SAVE): Likewise.
21814 (FRAME_TOC_SAVE): Likewise.
21815 (FRAME_PARM_SAVE): Likewise.
21816 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21817 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21818 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21819 (call_mcount_parm_offset): New macro.
21820 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21821 (PROF): Use symbolic stack frame offsets.
21822 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21823 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21824 Redefine in terms of FRAME_MIN_SIZE.
21825 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21826 (_dl_profile_resolve): Likewise. Update comment.
21827 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21828 symbols stack frame offsets.
21829 (__sigsetjmp): Likewise.
21830 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21831 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21832 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21833 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21834
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21836 (FRAME_BACKCHAIN): Remove.
21837 (FRAME_CR_SAVE): Likewise.
21838 (FRAME_LR_SAVE): Likewise.
21839 (FRAME_COMPILER_DW): Likewise.
21840 (FRAME_LINKER_DW): Likewise.
21841 (FRAME_TOC_SAVE): Likewise.
21842 (FRAME_PARM_SAVE): Likewise.
21843 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21844 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21845 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21847 (CHECK_SP): Use symbolic stack frame offsets.
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21849 zone" instead of caller's parameter save area for temp storage.
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21851 Likewise. Also, use symbolic stack frame offsets.
21852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21853 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21854 our own stack frame instead of the caller's.
21855 (__socket): Use symbolic stack frame offsets.
21856
218572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21858 Alan Modra <amodra@gmail.com>
21859
21860 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21861 Define.
21862 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21863 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21864 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21865 New function.
21866 (elf_machine_fixup_plt): Call it.
21867 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21868 reloc arguments.
21869 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21870 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21871 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21872 r2 before calling target.
21873
218742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21875 Alan Modra <amodra@gmail.com>
21876
21877 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21878 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21879 versions of macros to support ELFv2 ABI.
21880 (LOCALENTRY): New macro.
21881 (ENTRY, EALIGN): Use it.
21882 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21883 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21884 fall through into ENTRY entry point.
21885 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21886 Only define if _CALL_ELF != 2.
21887
21888 (elf_machine_matches_host): Verify ABI version matches.
21889 (RTLD_START): Use LOCALENTRY.
21890 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21891 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21892 (PLT_ENTRY_WORDS): New macro.
21893 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21894 (elf_machine_runtime_setup): Support ELFv2 ABI.
21895 (elf_machine_fixup_plt): Likewise.
21896 (elf_machine_plt_conflict): Likewise.
21897 (resolve_ifunc): Likewise.
21898 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21899 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21900 Likewise.
21901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21902 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21904 (makecontext): Support ELFv2 ABI.
21905 * elf/elf.h (EF_PPC64_ABI): Define.
21906
219072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21908
21909 * sysdeps/powerpc/powerpc64/sysdep.h
21910 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21911 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21912 (ENTRY) [ASSEMBLER]: ... but instead here ...
21913 (EALIGN) [ASSEMBLER]: ... and here.
21914 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21915 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21916 (ENTRY_2) [!ASSEMBLER]: Use it.
21917 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21918 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21919 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21920 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21921 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21923 Use PPC64_LOAD_FUNCPTR.
21924
21925 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21926
219272013-12-04 Alan Modra <amodra@gmail.com>
21928
21929 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21930 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21931 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21932 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21933
21934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21935 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21936 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21937 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21938 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21939 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21940
219412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21942
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21944 (__makecontext): Fix incorrect CFI when backtracing out of
21945 context created via makecontext.
21946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21947 (__setcontext): Fix incorrect CFI during switch to new context.
21948 (__novec_setcontext): Likewise.
21949
219502013-12-04 Ondřej Bílka <neleai@seznam.cz>
21951
21952 [BZ #4772]
21953 * time/strptime_l.c (__strptime_internal): Allow modifiers
21954 in strptime.
21955 * time/tst-strptime.c (day_tests): Add testcase.
21956
219572013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21958
21959 * scripts/bench.pl: Skip over blank lines.
21960
219612013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21962
21963 [BZ #926]
21964 * manual/time.texi (Calendar Time): Clarify what timezone functions
21965 use.
21966
219672013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21968
21969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21970
219712013-12-04 Ondřej Bílka <neleai@seznam.cz>
21972
21973 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21974 implementation.
21975 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21976 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21977 * debug/memset_chk.c (__memset_chk): Likewise.
21978 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21979 * debug/strncpy_chk.c: Likewise.
21980
219812013-12-03 Joseph Myers <joseph@codesourcery.com>
21982
21983 [BZ #15268]
21984 [BZ #15425]
21985 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21986 (__ieee754_exp): For possibly underflowing results, check size of
21987 result and force underflow exception if required.
21988 * math/auto-libm-test-in: Add more tests of exp.
21989 * math/auto-libm-test-out: Regenerated.
21990 * sysdeps/i386/fpu/libm-test-ulps: Update.
21991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992
21993 [BZ #16283]
21994 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21995 * math/w_exp2f.c (__exp2f): Likewise.
21996 * math/w_exp2l.c (__exp2l): Likewise.
21997 * math/auto-libm-test-in: Do not allow missing errno on exp2
21998 underflow.
21999 * math/auto-libm-test-out: Regenerated.
22000
220012013-12-03 Ondřej Bílka <neleai@seznam.cz>
22002
22003 [BZ #16274]
22004 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22005 handle filename validation.
22006 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22007 (do_open): Delete.
22008
220092013-12-03 Joseph Myers <joseph@codesourcery.com>
22010
22011 [BZ #6786]
22012 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22013 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22014 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22015 <float.h>.
22016 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22017 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22018 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22020 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22021 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22022 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22023 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22024 Add more erfc tests.
22025 * math/auto-libm-test-out: Regenerated.
22026 * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028
22029 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22030 exp2, expm1, j0 and j1.
22031 * math/auto-libm-test-out: Regenerated.
22032 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22033 (erfc_test_data): Likewise.
22034 (exp_test_data): Likewise.
22035 (exp_tonearest_test_data): Likewise.
22036 (exp_towardzero_test_data): Likewise.
22037 (exp_downward_test_data): Likewise.
22038 (exp_upward_test_data): Likewise.
22039 (exp10_test_data): Likewise.
22040 (exp2_test_data): Likewise.
22041 (expm1_test_data): Likewise.
22042 (j0_test_data): Likewise.
22043 (j1_test_data): Likewise.
22044 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22045 (input_flag_type): Add flag_xfail_rounding.
22046 (input_flags): Add xfail-rounding.
22047 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22048 (output_for_one_input_case): Handle flag_xfail_rounding.
22049 * sysdeps/i386/fpu/libm-test-ulps: Update.
22050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22051
220522013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22053
22054 [BZ #16289]
22055 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22056 division by 0.
22057
220582013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22059
22060 [BZ #16195]
22061 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22062 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22063 (STAP_PROBE0): New macro.
22064 (STAP_PROBE1): Likewise.
22065 (STAP_PROBE2): Likewise.
22066 (STAP_PROBE3): Likewise.
22067 (STAP_PROBE4): Likewise.
22068
220692013-12-02 Ondřej Bílka <neleai@seznam.cz>
22070
22071 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22072
220732013-12-02 Steve Ellcey <sellcey@mips.com>
22074
22075 * benchtests/Makefile (bench): Add sqrt.
22076 (LDLIBS-bench-sqrt): New.
22077 * benchtests/sqrt-input: New.
22078
220792013-12-02 Pavel Simerda <psimerda@redhat.com>
22080
22081 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22082 (GAIH_EAI): Likewise.
22083 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22084 (gaih_inet): Likewise.
22085 (getaddrinfo): Don't use GAIH_EAI.
22086
22087 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22088 (struct gaih): Remove definition.
22089
220902013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22091
22092 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22093 Use HERRNOP directly.
22094
220952013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22096
22097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22098
220992013-11-30 Joseph Myers <joseph@codesourcery.com>
22100
22101 * math/gen-auto-libm-tests.c (test_functions): Add more
22102 single-argument functions.
22103 (special_fill_pi_2): New function.
22104 (special_fill_minus_pi_2): Likewise.
22105 (special_fill_pi_6): Likewise.
22106 (special_fill_minus_pi_6): Likewise.
22107 (special_fill_pi_3): Likewise.
22108 (special_fill_2pi_3): Likewise.
22109 (special_fill_e): Likewise.
22110 (special_fill_1_e): Likewise.
22111 (special_fill_e_minus_1): Likewise.
22112 (special_real_inputs): Add more special inputs.
22113 (output_for_one_input_case): Do not require ERANGE on underflow to
22114 zero if round-to-nearest result does not underflow to zero, unless
22115 exact results required.
22116 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22117 atan, atanh, cbrt, cos and cosh.
22118 * math/auto-libm-test-out: Regenerated.
22119 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22120 (acos_tonearest_test_data): Likewise.
22121 (acos_towardzero_test_data): Likewise.
22122 (acos_downward_test_data): Likewise.
22123 (acos_upward_test_data): Likewise.
22124 (acosh_test_data): Likewise.
22125 (asin_test_data): Likewise.
22126 (asin_tonearest_test_data): Likewise.
22127 (asin_towardzero_test_data): Likewise.
22128 (asin_upward_test_data): Likewise.
22129 (asinh_test_data): Likewise.
22130 (atan_test_data): Likewise.
22131 (atanh_test_data): Likewise.
22132 (cbrt_test_data): Likewise.
22133 (cos_test_data): Likewise.
22134 (cos_tonearest_test_data): Likewise.
22135 (cos_towardzero_test_data): Likewise.
22136 (cos_downward_test_data): Likewise.
22137 (cos_upward_test_data): Likewise.
22138 (cosh_test_data): Likewise.
22139 (cosh_tonearest_test_data): Likewise.
22140 (cosh_towardzero_test_data): Likewise.
22141 (cosh_downward_test_data): Likewise.
22142 (cosh_upward_test_data): Likewise.
22143 * sysdeps/i386/fpu/libm-test-ulps: Update.
22144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22145
221462013-11-29 Joseph Myers <joseph@codesourcery.com>
22147
22148 [BZ #6787]
22149 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22150 * math/w_exp10f.c (__exp10f): Likewise.
22151 * math/w_exp10l.c (__exp10l): Likewise.
22152 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22153 errno settings in existing tests.
22154
22155 [BZ #14032]
22156 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22157 precision control set to double precision.
22158 * sysdeps/i386/fpu/w_sqrt.c: New file.
22159 * math/auto-libm-test-in: Add more tests.
22160 * math/auto-libm-test-out: Update.
22161
22162 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22163 (sqrt_test_tonearest): New function.
22164 (sqrt_towardzero_test_data): New variable.
22165 (sqrt_test_towardzero): New function.
22166 (sqrt_downward_test_data): New variable.
22167 (sqrt_test_downward): New function.
22168 (sqrt_upward_test_data): New variable.
22169 (sqrt_test_upward): New function.
22170 (main): Call the new functions.
22171
22172 * math/gen-auto-libm-tests.c: New file.
22173 * math/auto-libm-test-in: Likewise.
22174 * math/auto-libm-test-out: New generated file.
22175 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22176 variables.
22177 (%beautify): Add generated representations of zero.
22178 (top level): Set $auto_input and call parse_auto_input.
22179 (beautify): Remove trailing "f" from hex float constants.
22180 (parse_args): Handle XFAIL_TEST.
22181 (convert_condition): New function.
22182 (or_value): Likewise.
22183 (or_cond_value): Likewise.
22184 (generate_testfile): Handle AUTO_TESTS_* lines.
22185 (parse_auto_input): New function.
22186 * math/libm-test.inc (XFAIL_TEST): New macro.
22187 (ERRNO_UNCHANGED): Update value.
22188 (ERRNO_EDOM): Likewise.
22189 (ERRNO_ERANGE): Likewise.
22190 (IGNORE_RESULT): Likewise.
22191 (TEST_COND_flt_32): New macro.
22192 (TEST_COND_dbl_64): Likewise.
22193 (TEST_COND_ldbl_96_intel): Likewise.
22194 (TEST_COND_ldbl_96_m68k): Likewise.
22195 (TEST_COND_ldbl_128): Likewise.
22196 (TEST_COND_ldbl_128ibm): Likewise.
22197 (TEST_COND_long32): Likewise.
22198 (TEST_COND_long64): Likewise.
22199 (TEST_COND_before_rounding): Likewise.
22200 (TEST_COND_after_rounding): Likewise.
22201 (enable_test): Handle XFAIL_TEST flag.
22202 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22203 with finite results.
22204 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22205 auto-libm-test-out.
22206
222072013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22208 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22209
22210 [BZ #16214]
22211 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22212 __tls_get_addr_internal instead of __tls_get_offset in order to
22213 avoid GOT pointer dependency. Make rtld export
22214 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22215 __tls_get_addr since we are a __tls_get_offset platform.
22216 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22217 GOT pointer being set up before.
22218 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22219
222202013-11-28 Joseph Myers <joseph@codesourcery.com>
22221
22222 * manual/math.texi (Errors in Math Functions): Document accuracy
22223 goals.
22224
22225 [BZ #15004]
22226 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22227 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22230 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22232 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22242
22243 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22244 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22245 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22246 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22247 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22248 Likewise.
22249 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22250 Likewise.
22251 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22252 Likewise.
22253 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22255 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22256 atomic-feupdateenv and flt-rounds.
22257 * sysdeps/powerpc/nofpu/Versions (libc): Add
22258 __atomic_feholdexcept, __atomic_feclearexcept,
22259 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22260 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22261 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22262 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22263 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22264 here.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22266 Update.
22267
22268 * manual/arith.texi (FP Exceptions): Document that exceptions may
22269 not be raised when matherr is used.
22270 (Math Error Reporting): Document overflow in directed rounding
22271 modes. Document that errno may not be set when finite values are
22272 returned on overflow. Document intent to set errno on underflow
22273 only for underflow to zero.
22274
22275 [BZ #16271]
22276 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22277 round-to-nearest then adjust result for other rounding modes.
22278 * include/fenv.h (fegetround): Use libm_hidden_proto.
22279 * math/fegetround.c (fegetround): Use libm_hidden_def.
22280 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22281 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22282 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22284 Likewise.
22285 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22286 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22287 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22288 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22289
222902013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22291
22292 [BZ #16077]
22293 * nss/Versions (libnss_files): Add
22294 _nss_files_gethostbyname3_r.
22295 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22296 New function.
22297 (HOST_DB_LOOKUP): Remove macro.
22298 (_nss_files_gethostbyname_r): Implement function without the
22299 HOST_DB_LOOKUP macro.
22300 (_nss_files_gethostbyname2_r): Likewise.
22301
223022013-11-28 Ondřej Bílka <neleai@seznam.cz>
22303
22304 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22305
223062013-11-26 Uros Bizjak <ubizjak@gmail.com>
22307
22308 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22309 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22310 warning.
22311
223122013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22313
22314 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22315 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22316 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22317 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22318 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22319 __fe_nomask_env_priv and attribute_hidden.
22320 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22321 (libc_feupdateenv_test_ppc): Likewise.
22322 (libc_feresetround_ppc): Likewise.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22324 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22325 compat_symbol macro.
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22327 (__fe_nomask_env): Likewise.
22328 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22329
223302013-11-26 Ondřej Bílka <neleai@seznam.cz>
22331
22332 * string/Makefile: Remove ifunc tests.
22333 * string/test-string.h: Define TEST_IFUNC.
22334 * string/test-bcopy-ifunc.c: Remove.
22335 * string/test-bzero-ifunc.c: Likewise.
22336 * string/test-memccpy-ifunc.c: Likewise.
22337 * string/test-memchr-ifunc.c: Likewise.
22338 * string/test-memcmp-ifunc.c: Likewise.
22339 * string/test-memcpy-ifunc.c: Likewise.
22340 * string/test-memmem-ifunc.c: Likewise.
22341 * string/test-memmove-ifunc.c: Likewise.
22342 * string/test-mempcpy-ifunc.c: Likewise.
22343 * string/test-memrchr-ifunc.c: Likewise.
22344 * string/test-memset-ifunc.c: Likewise.
22345 * string/test-rawmemchr-ifunc.c: Likewise.
22346 * string/test-stpcpy-ifunc.c: Likewise.
22347 * string/test-stpncpy-ifunc.c: Likewise.
22348 * string/test-strcasecmp-ifunc.c: Likewise.
22349 * string/test-strcasestr-ifunc.c: Likewise.
22350 * string/test-strcat-ifunc.c: Likewise.
22351 * string/test-strchr-ifunc.c: Likewise.
22352 * string/test-strchrnul-ifunc.c: Likewise.
22353 * string/test-strcmp-ifunc.c: Likewise.
22354 * string/test-strcpy-ifunc.c: Likewise.
22355 * string/test-strcspn-ifunc.c: Likewise.
22356 * string/test-strlen-ifunc.c: Likewise.
22357 * string/test-strncasecmp-ifunc.c: Likewise.
22358 * string/test-strncat-ifunc.c: Likewise.
22359 * string/test-strncmp-ifunc.c: Likewise.
22360 * string/test-strncpy-ifunc.c: Likewise.
22361 * string/test-strnlen-ifunc.c: Likewise.
22362 * string/test-strpbrk-ifunc.c: Likewise.
22363 * string/test-strrchr-ifunc.c: Likewise.
22364 * string/test-strspn-ifunc.c: Likewise.
22365 * string/test-strstr-ifunc.c: Likewise.
22366
223672013-11-26 Ondřej Bílka <neleai@seznam.cz>
22368
22369 * benchtests/Makefile: Remove ifunc tests.
22370 * benchtests/bench-string.h: Define TEST_IFUNC.
22371 * benchtests/bench-bcopy-ifunc.c: Remove.
22372 * benchtests/bench-bzero-ifunc.c: Likewise.
22373 * benchtests/bench-memccpy-ifunc.c: Likewise.
22374 * benchtests/bench-memchr-ifunc.c: Likewise.
22375 * benchtests/bench-memcmp-ifunc.c: Likewise.
22376 * benchtests/bench-memcpy-ifunc.c: Likewise.
22377 * benchtests/bench-memmem-ifunc.c: Likewise.
22378 * benchtests/bench-memmove-ifunc.c: Likewise.
22379 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22380 * benchtests/bench-memrchr-ifunc.c: Likewise.
22381 * benchtests/bench-memset-ifunc.c: Likewise.
22382 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22383 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22384 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22385 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22386 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22387 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22388 * benchtests/bench-strcat-ifunc.c: Likewise.
22389 * benchtests/bench-strchr-ifunc.c: Likewise.
22390 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22391 * benchtests/bench-strcmp-ifunc.c: Likewise.
22392 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22393 * benchtests/bench-strcpy-ifunc.c: Likewise.
22394 * benchtests/bench-strcspn-ifunc.c: Likewise.
22395 * benchtests/bench-strlen-ifunc.c: Likewise.
22396 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22397 * benchtests/bench-strncat-ifunc.c: Likewise.
22398 * benchtests/bench-strncmp-ifunc.c: Likewise.
22399 * benchtests/bench-strncpy-ifunc.c: Likewise.
22400 * benchtests/bench-strnlen-ifunc.c: Likewise.
22401 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22402 * benchtests/bench-strrchr-ifunc.c: Likewise.
22403 * benchtests/bench-strsep-ifunc.c: Likewise.
22404 * benchtests/bench-strspn-ifunc.c: Likewise.
22405 * benchtests/bench-strstr-ifunc.c: Likewise.
22406
224072013-11-26 Ondřej Bílka <neleai@seznam.cz>
22408
22409 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22410
224112013-11-26 Ondřej Bílka <neleai@seznam.cz>
22412
22413 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22414 * rt/aio.h: Likewise.
22415 * sysdeps/gnu/bits/utmp.h: Likewise.
22416 * sysdeps/gnu/bits/utmpx.h: Likewise.
22417 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22418 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22419 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22420 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22421 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22422 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22423 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22424 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22425 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22426 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22427 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22428 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22429 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22431 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22432 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22433 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22434 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22435 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22436 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22437 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22438 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22439 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22440 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22441 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22443 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22444 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22445 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22446 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22447 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22448 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22449 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22450 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22451 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22452 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22453 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22454 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22455 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22456 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22457 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22458 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22459
224602013-11-25 Carlos O'Donell <carlos@redhat.com>
22461
22462 [BZ #16245]
22463 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22464 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22465
224662013-11-25 Joseph Myers <joseph@codesourcery.com>
22467
22468 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22469 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22470 Likewise.
22471
224722013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22473
22474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22475 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22476 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22477 (__fesetround): Remove define.
22478 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22479 rounding and exceptions handling.
22480 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22481 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22482 (__fe_nomask_env): Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22484 __fegetround instead of fegetround.
22485 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22487
224882013-11-21 Roland McGrath <roland@hack.frob.com>
22489
22490 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22491 it's there.
22492
22493 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22494
224952013-11-21 Meador Inge <meadori@codesourcery.com>
22496
22497 [BZ #11157]
22498 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22499 (encrypt_r): Likewise.
22500 * malloc/obstack.h (obstack_free): Likewise.
22501 * posix/unistd.h (encrypt): Likewise.
22502
225032013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22504
22505 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22506 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22507 DL_CALL_DT_FINI() that call the functions directly.
22508 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22509 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22510 * elf/dl-fini.c: Likewise.
22511
225122013-11-20 Ondřej Bílka <neleai@seznam.cz>
22513
22514 * malloc/hooks.c (memalign_check): Add alignment rounding.
22515 * malloc/malloc.c (_mid_memalign): New function.
22516 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22517 Implement by calling _mid_memalign.
22518 * manual/probes.texi (Memory Allocation Probes): Remove
22519 memory_valloc_retry and memory_pvalloc_retry.
22520
225212013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22522
22523 * locale/programs/locarchive.c (open_archive): Add const
22524 qualifier to ARCHIVEFNAME and copy default fname to
22525 DEFAULT_FNAME.
22526
22527 [BZ #15601]
22528 * libio/tst-widetext.input: Rename Oriya to Odia.
22529 * locale/iso-639.def: Likewise.
22530
22531 * manual/probes.texi (Mathematical Function Probes): Add
22532 documentation for sin, cos, asin and acos probes.
22533 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22534 (__sin32): Add slowasin probe.
22535 (__cos32): Add slowacos probe.
22536 (__mpsin): Add slowsin probe.
22537 (__mpcos): Add slowcos probe.
22538
225392013-11-19 Joseph Myers <joseph@codesourcery.com>
22540
22541 [BZ #15483]
22542 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22543 thread-local __sim_exceptions_thread and global
22544 __sim_exceptions_global.
22545 (__sim_disabled_exceptions): Change to thread-local
22546 __sim_disabled_exceptions_thread and global
22547 __sim_disabled_exceptions_global.
22548 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22549 and global __sim_round_mode_global.
22550 (__simulate_exceptions): Use thread-local floating-point state and
22551 set global state from it as needed.
22552 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22553 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22554 __sim_round_mode_thread.
22555 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22556 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22557 and global __sim_exceptions_global.
22558 (__sim_disabled_exceptions): Change to thread-local
22559 __sim_disabled_exceptions_thread and global
22560 __sim_disabled_exceptions_global.
22561 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22562 and global __sim_round_mode_global.
22563 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22564 (SIM_SET_GLOBAL): Likewise.
22565 * sysdeps/powerpc/soft-fp/sfp-machine.h
22566 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22567 __sim_round_mode_thread.
22568 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22569 __sim_disabled_exceptions_thread.
22570 (__sim_exceptions): Change to __sim_exceptions_thread.
22571 (__sim_disabled_exceptions): Change to
22572 __sim_disabled_exceptions_thread.
22573 (__sim_round_mode): Change to __sim_round_mode_thread.
22574 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22575 thread-local floating-point state and set global state from it as
22576 needed.
22577 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22578 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22579 (__sim_disabled_exceptions): Remove extern declaration.
22580 (feenableexcept): Use thread-local floating-point state and set
22581 global state from it as needed.
22582 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22583 extern declaration.
22584 (__sim_disabled_exceptions): Likewise.
22585 (__sim_round_mode): Likewise.
22586 (__fegetenv): Use thread-local floating-point state.
22587 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22588 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22589 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22590 floating-point state and set global state from it as needed.
22591 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22592 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22593 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22594 Likewise.
22595 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22596 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22597 Likewise.
22598 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22599 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22600 Use __sim_round_mode_thread.
22601 * math/test-fenv-tls.c: New file.
22602 * math/Makefile (tests): Add test-fenv-tls.
22603 ($(objpfx)test-fenv-tls): Depend on
22604 $(common-objpfx)nptl/libpthread.so.
22605
226062013-11-19 Andreas Schwab <schwab@suse.de>
22607
22608 * locale/programs/locale.c (show_info): Decode wordarray elements.
22609 * locale/categories.def (LC_MONETARY): Add element for
22610 _NL_MONETARY_CRNCYSTR.
22611 * locale/C-monetary.c (conversion_rate): New variable.
22612 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22613 element.
22614
226152013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22616
22617 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22618 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22619
226202013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22621
22622 * elf/Makefile (tst-auxv): New test.
22623 * elf/tst-auxv.c: New
22624 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22625
226262013-11-18 Joseph Myers <joseph@codesourcery.com>
22627
22628 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22629 (hidden_proto): Caller changed.
22630 (hidden_tls_proto): New macro.
22631 (libc_hidden_tls_proto): Likewise.
22632 (rtld_hidden_tls_proto): Likewise.
22633 (libm_hidden_tls_proto): Likewise.
22634 (libresolv_hidden_tls_proto): Likewise.
22635 (librt_hidden_tls_proto): Likewise.
22636 (libdl_hidden_tls_proto): Likewise.
22637 (libnss_files_hidden_tls_proto): Likewise.
22638 (libnsl_hidden_tls_proto): Likewise.
22639 (libnss_nisplus_hidden_tls_proto): Likewise.
22640 (libutil_hidden_tls_proto): Likewise.
22641
226422013-11-18 Ondřej Bílka <neleai@seznam.cz>
22643
22644 [BZ #10253]
22645 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22646 (decompose_rpath): Defer expansion to fillin_rpath.
22647 (_dl_init_paths): Pass linkmap to fillin_rpath.
22648
226492013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22650
22651 * benchtests/Makefile: Add strsep.
22652 * benchtests/bench-strsep.c: New file: strsep benchtest.
22653 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22654
226552013-11-18 Andreas Schwab <schwab@suse.de>
22656
22657 * locale/programs/locale.c (show_info) [case byte]: Check for
22658 '\377' instead of '\177'.
22659 * locale/C-monetary.c (not_available): Always use "\377".
22660 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22661 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22662 detect unavailable sign_posn locale elements.
22663 * locale/localeconv.c (__localeconv): For grouping and
22664 mon_grouping handle "\177" and "\377" like no grouping.
22665 (INT_ELEM): New macro. Use it to set all numeric members.
22666 * locale/programs/ld-monetary.c (monetary_read)
22667 <tok_mon_grouping>: Normalize single -1 to the empty string.
22668 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22669 Likewise.
22670
226712013-11-07 Ondřej Bílka <neleai@seznam.cz>
22672
22673 [BZ #16055]
22674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22675 when we match (nil).
22676 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22677
226782013-11-16 Joseph Myers <joseph@codesourcery.com>
22679
22680 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22681 (NO_TEST_INLINE): Update value.
22682 (ERRNO_UNCHANGED): Likewise.
22683 (ERRNO_EDOM): Likewise.
22684 (ERRNO_ERANGE): Likewise.
22685 (IGNORE_RESULT): Likewise.
22686 (check_float_internal): Check signs of NaN results if
22687 TEST_NAN_SIGN used.
22688 (check_complex): Pass TEST_NAN_SIGN flag through to second
22689 check_float_internal call.
22690 (copysign_test_data): Add tests with quiet NaNs as second
22691 argument. Use TEST_NAN_SIGN.
22692 (fabs_test_data): Add test of negative quiet NaN argument. Use
22693 TEST_NAN_SIGN.
22694 (signbit_test_data): Add tests of quiet NaN argument.
22695 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22696
22697 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22698 $ignore_result.
22699 (parse_args): Handle function results specified as IGNORE.
22700 * math/libm-test.inc (IGNORE_RESULT): New macro.
22701 (check_float_internal): Do not check numerical result if flag
22702 IGNORE_RESULT set.
22703 (check_complex): Pass through IGNORE_RESULT to second
22704 check_float_internal call.
22705 (check_int): Do not check numerical result if flag IGNORE_RESULT
22706 set.
22707 (check_long): Likewise.
22708 (check_bool): Likewise.
22709 (check_longlong): Likewise.
22710 (lrint_test_data): Add tests of infinite and NaN arguments.
22711 (lrint_tonearest_test_data): Likewise.
22712 (lrint_towardzero_test_data): Likewise.
22713 (lrint_downward_test_data): Likewise.
22714 (lrint_upward_test_data): Likewise.
22715 (llrint_test_data): Likewise.
22716 (llrint_tonearest_test_data): Likewise.
22717 (llrint_towardzero_test_data): Likewise.
22718 (llrint_downward_test_data): Likewise.
22719 (llrint_upward_test_data): Likewise.
22720 (lround_test_data): Likewise.
22721 (llround_test_data): Likewise.
22722
22723 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22724 (ERRNO_UNCHANGED): Update value.
22725 (ERRNO_EDOM): Likewise.
22726 (ERRNO_ERANGE): Likewise.
22727 (NO_TEST_INLINE_FLOAT): New macro.
22728 (NO_TEST_INLINE_DOUBLE): Likewise.
22729 (enable_test): New function.
22730 (RUN_TEST_f_f): Check enable_test before running test.
22731 (RUN_TEST_2_f): Likewise.
22732 (RUN_TEST_fff_f): Likewise.
22733 (RUN_TEST_c_f): Likewise.
22734 (RUN_TEST_f_f1): Likewise.
22735 (RUN_TEST_fF_f1): Likewise.
22736 (RUN_TEST_fI_f1): Likewise.
22737 (RUN_TEST_ffI_f1): Likewise.
22738 (RUN_TEST_c_c): Likewise.
22739 (RUN_TEST_cc_c): Likewise.
22740 (RUN_TEST_f_i): Likewise.
22741 (RUN_TEST_f_i_tg): Likewise.
22742 (RUN_TEST_ff_i_tg): Likewise.
22743 (RUN_TEST_f_b): Likewise.
22744 (RUN_TEST_f_b_tg): Likewise.
22745 (RUN_TEST_f_l): Likewise.
22746 (RUN_TEST_f_L): Likewise.
22747 (RUN_TEST_fFF_11): Likewise.
22748 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22749 conditionals.
22750 (cosh_test_data): Likewise.
22751 (exp_test_data): Likewise.
22752 (expm1_test_data): Likewise.
22753 (hypot_test_data): Likewise.
22754 (pow_test_data): Likewise.
22755 (sinh_test_data): Likewise.
22756 (tanh_test_data): Likewise.
22757 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22758 flags argument.
22759
22760 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22761 tests with quiet NaN input and output.
22762 (acosh_test_data): Likewise.
22763 (asin_test_data): Likewise.
22764 (asinh_test_data): Likewise.
22765 (atan_test_data): Likewise.
22766 (atanh_test_data): Likewise.
22767 (atan2_test_data): Likewise.
22768 (cbrt_test_data): Likewise.
22769 (cos_test_data): Likewise.
22770 (cosh_test_data): Likewise.
22771 (erf_test_data): Likewise.
22772 (erfc_test_data): Likewise.
22773 (exp_test_data): Likewise.
22774 (exp10_test_data): Likewise.
22775 (exp2_test_data): Likewise.
22776 (expm1_test_data): Likewise.
22777 (hypot_test_data): Likewise.
22778 (j0_test_data): Likewise.
22779 (j1_test_data): Likewise.
22780 (jn_test_data): Likewise.
22781 (lgamma_test_data): Likewise.
22782 (log_test_data): Likewise.
22783 (log10_test_data): Likewise.
22784 (log1p_test_data): Likewise.
22785 (log2_test_data): Likewise.
22786 (pow_test_data): Likewise.
22787 (scalb_test_data): Likewise.
22788 (sin_test_data): Likewise.
22789 (sincos_test_data): Likewise.
22790 (sinh_test_data): Likewise.
22791 (tan_test_data): Likewise.
22792 (tanh_test_data): Likewise.
22793 (tgamma_test_data): Likewise.
22794 (y0_test_data): Likewise.
22795 (y1_test_data): Likewise.
22796 (yn_test_data): Likewise.
22797
22798 [BZ #16167]
22799 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22800 argument being NaN and avoid computations with second argument in
22801 that case.
22802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22803 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22804 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22805
228062013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22807
22808 * locale/iso-639.def: Add Chitwani Tharu (the).
22809
228102013-11-14 Andreas Schwab <schwab@suse.de>
22811
22812 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22813 word instead of empty string.
22814
228152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22816
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22818 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22820 (__fe_nomask_env): Likewise.
22821
228222013-11-13 Steve Ellcey <sellcey@mips.com>
22823
22824 * benchtests/bench-timing.h: Include time.h.
22825
228262013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22827
22828 [BZ #15997]
22829 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22830 to 3.4.0 for x32.
22831 * sysdeps/unix/sysv/linux/configure: Regenerated.
22832
228332013-11-13 Joseph Myers <joseph@codesourcery.com>
22834
22835 [BZ #16151]
22836 * stdlib/strtod_l.c (round_and_return): Do not consider
22837 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22838 exponent one less than half the least subnormal exponent.
22839 * stdlib/test-strtod-round-data: Add more tests.
22840 * stdlib/tst-strtod-round.c (tests): Regenerated.
22841
228422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22843
22844 [BZ #14143]
22845 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22846 (__fe_mask_env): Likewise.
22847 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22848 libm_hidden_proto and add function prototype.
22849 (__fe_mask_env): Add function prototype.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22851 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22853 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22855 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22856
228572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22858
22859 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22860 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22861
228622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22863
22864 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22865 of htab_find_slot().
22866
228672013-11-11 David S. Miller <davem@davemloft.net>
22868
22869 [BZ #16150]
22870 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22871 symbol in the non-vis3 case in static builds.
22872 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22873 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22874 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22875 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22876
228772013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22878
22879 [BZ #387]
22880 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22881 it is empty.
22882
228832013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22884
22885 * benchtests/Makefile: Add bench-strtod.
22886 * benchtests/bench-strtod.c: New file: strtod benchtest
22887
228882013-11-11 Andreas Schwab <schwab@suse.de>
22889
22890 [BZ #16153]
22891 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22892 terminating NUL in key length.
22893
228942013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22895
22896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22897 Add artificial ODP entry for vDSO symbol for PPC64.
22898 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22899 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22900
229012013-11-07 Ondřej Bílka <neleai@seznam.cz>
22902
22903 [BZ #15374]
22904 * nss/getent.c (services_keys): Recognize services starting with digit.
22905
229062013-11-06 David S. Miller <davem@davemloft.net>
22907
22908 [BZ #15985]
22909 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22910 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22911
229122013-11-06 Will Newton <will.newton@linaro.org>
22913
22914 * manual/memory.texi (Malloc Examples): Remove register
22915 keyword from examples.
22916
229172013-11-04 Chris Leonard <cjl@sugarlabs.org>
22918
22919 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22920
229212013-11-04 Joseph Myers <joseph@codesourcery.com>
22922
22923 [BZ #6981]
22924 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22925 depending on [__GCC_IEC_559 > 0].
22926 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22927 depending on [__GCC_IEC_559_COMPLEX > 0].
22928
229292013-11-03 Chris Leonard <cjl@sugarlabs.org>
22930
22931 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22932 to iso-639.def.
22933
229342013-11-03 Ondřej Bílka <neleai@seznam.cz>
22935
22936 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22937
229382013-11-01 Ondřej Bílka <neleai@seznam.cz>
22939
22940 [BZ #16112]
22941 * malloc/malloc (malloc_info): Do not handle first bin as
22942 special case.
22943
229442013-11-01 Chris Leonard <cjl@sugarlabs.org>
22945
22946 * locale/iso-639.def: Add Central Nahuatl (nhn).
22947
229482013-11-01 Bruno Haible <bruno@clisp.org>
22949
22950 [BZ #7003]
22951 * manual/math.texi (BSD Random): Specify range upper bound as
22952 in POSIX.
22953
229542013-10-31 Chris Leonard <cjl@sugarlabs.org>
22955
22956 * locale/iso-639.def: Add Meadow Mari (mhr).
22957
229582013-10-31 Ondřej Bílka <neleai@seznam.cz>
22959
22960 [BZ #14752], [BZ #15763]
22961 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22962 Validate name.
22963 * rt/tst_shm.c: Add test for escaping directory.
22964
229652013-10-31 Andreas Schwab <schwab@suse.de>
22966
22967 [BZ #15917]
22968 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22969 followed by 'x' as part of digit sequence.
22970 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22971
229722013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22973
22974 [BZ #16037]
22975 * configure.ac: allow GNU Make 4.0 and greater.
22976 * configure: Regenerated.
22977
229782013-10-30 Will Newton <will.newton@linaro.org>
22979
22980 [BZ #16038]
22981 * malloc/hooks.c (memalign_check): Limit alignment to the
22982 maximum representable power of two.
22983 * malloc/malloc.c (__libc_memalign): Likewise.
22984 * malloc/tst-memalign.c (do_test): Add test for very
22985 large alignment values.
22986 * malloc/tst-posix_memalign.c (do_test): Likewise.
22987
229882013-10-30 Ondřej Bílka <neleai@seznam.cz>
22989
22990 [BZ #11087]
22991 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22992 (munmap_chunk): Likewise.
22993 (mremap_chunk): Likewise.
22994
229952013-10-30 Ondřej Bílka <neleai@seznam.cz>
22996
22997 [BZ #15799]
22998 * stdlib/div.c (div): Remove obsolete code.
22999 * stdlib/ldiv.c (ldiv): Likewise.
23000 * stdlib/lldiv.c (lldiv): Likewise.
23001
230022013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23003
23004 [BZ #16071]
23005 * nss/nss_files/files-XXX.c (get_contents_ret): New
23006 enumerator.
23007 (get_contents): New function.
23008 (internal_getent): Use it. Expand size of LINEBUFLEN.
23009
230102013-10-30 Mike Frysinger <vapier@gentoo.org>
23011
23012 * configure.in: Moved to ...
23013 * configure.ac: ... here. Change reference to configure.in
23014 to configure.ac.
23015 * sysdeps/arm/preconfigure.ac: ... here.
23016 configure.in to configure.ac.
23017 * sysdeps/gnu/configure.in: Moved to ...
23018 * sysdeps/gnu/configure.ac: ... here.
23019 * sysdeps/i386/configure.in: Moved to ...
23020 * sysdeps/i386/configure.ac: ... here.
23021 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23022 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23023 * sysdeps/mach/configure.in: Moved to ...
23024 * sysdeps/mach/configure.ac: ... here.
23025 * sysdeps/mach/hurd/configure.in: Moved to ...
23026 * sysdeps/mach/hurd/configure.ac: ... here.
23027 * sysdeps/powerpc/configure.in: Moved to ...
23028 * sysdeps/powerpc/configure.ac: ... here.
23029 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23030 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23031 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23032 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23033 * sysdeps/s390/s390-32/configure.in: Moved to ...
23034 * sysdeps/s390/s390-32/configure.ac: ... here.
23035 * sysdeps/s390/s390-64/configure.in: Moved to ...
23036 * sysdeps/s390/s390-64/configure.ac: ... here.
23037 * sysdeps/sh/configure.in: Moved to ...
23038 * sysdeps/sh/configure.ac: ... here.
23039 * sysdeps/sparc/configure.in: Moved to ...
23040 * sysdeps/sparc/configure.ac: ... here.
23041 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23042 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23043 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23044 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23045 * sysdeps/x86_64/configure.in: Moved to ...
23046 * sysdeps/x86_64/configure.ac: ... here.
23047 * sysdeps/x86_64/preconfigure.in: Moved to ...
23048 * sysdeps/x86_64/preconfigure.ac: ... here.
23049 * aclocal.m4: Change reference to configure.in to configure.ac.
23050 * config.h.in: Likewise.
23051 * manual/install.texi: Likewise.
23052 * manual/maint.texi: Likewise.
23053 * Makefile: Likewise.
23054 * malloc/Makefile: Likewise.
23055 * nscd/Makefile: Likewise.
23056 * Makeconfig: Change reference to configure.in and
23057 preconfigure.in to configure.ac and preconfigure.ac
23058 respectively.
23059 * INSTALL: Regenerated.
23060 * configure: Likewise.
23061 * sysdeps/gnu/configure: Likewise.
23062 * sysdeps/i386/configure: Likewise.
23063 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23064 * sysdeps/mach/configure: Likewise.
23065 * sysdeps/mach/hurd/configure: Likewise.
23066 * sysdeps/powerpc/configure: Likewise.
23067 * sysdeps/powerpc/powerpc32/configure: Likewise.
23068 * sysdeps/powerpc/powerpc64/configure: Likewise.
23069 * sysdeps/s390/s390-32/configure: Likewise.
23070 * sysdeps/s390/s390-64/configure: Likewise.
23071 * sysdeps/sh/configure: Likewise.
23072 * sysdeps/sparc/configure: Likewise.
23073 * sysdeps/unix/sysv/linux/configure: Likewise.
23074 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23075 * sysdeps/x86_64/configure: Likewise.
23076 * sysdeps/x86_64/preconfigure: Likewise.
23077
230782013-10-29 Andreas Schwab <schwab@suse.de>
23079
23080 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23081
230822013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23083
23084 * benchtests/pow-inputs: Add new inputs.
23085
23086 * benchtests/exp-inputs: Add new inputs.
23087
23088 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23089 conditional check for return value.
23090 (__cos32): Likewise.
23091
230922013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23093
23094 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23095 to provide a boost for large inputs with word alignment.
23096 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23097 implementation based on optimized PPC64 strcpy.
23098 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23099 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23100 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23101 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23102
231032013-10-25 Ondřej Bílka <neleai@seznam.cz>
23104
23105 [BZ #2801]
23106 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23107
231082013-10-25 Ondřej Bílka <neleai@seznam.cz>
23109
23110 [BZ #14876]
23111 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23112 * time/tst-strptime.c (day_tests): Add testcase.
23113
231142013-10-25 Ondřej Bílka <neleai@seznam.cz>
23115
23116 [BZ #14029]
23117 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23118
231192013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23120
23121 [BZ #16074]
23122 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23123 MAP_FAILED on error.
23124
231252013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23126
23127 [BZ #16072]
23128 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23129 heap for large requests.
23130
231312013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23132
23133 [BZ #9954]
23134 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23135 result if the result has no associated interface.
23136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23137 interface for all 127.X.Y.Z addresses.
23138
231392013-10-24 Chris Leonard <cjl@sugarlabs.org>
23140
23141 * locale/iso-639.def: Add Ligurian (lij)
23142
231432013-10-21 Ondřej Bílka <neleai@seznam.cz>
23144
23145 [BZ #15825]
23146 * sunrpc/rpc_main.c: Document rpcgen -5.
23147
231482013-10-19 Michael Stahl <mstahl@redhat.com>
23149
23150 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23151
231522013-10-19 Ondřej Bílka <neleai@seznam.cz>
23153
23154 [BZ #10278]
23155 * posix/glob.c: Match only directories when trailing slash is present.
23156 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23157 (main): Add testcase.
23158
231592013-10-19 Ondřej Bílka <neleai@seznam.cz>
23160
23161 [BZ #15670]
23162 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23163
231642013-10-18 Carlos O'Donell <carlos@redhat.com>
23165
23166 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23167 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23168 AUTH_DES and cindex for FIPS 140-2.
23169 (DES Encryption): Add cindex FIPS 46-3.
23170
23171 * locale/locarchive.h (struct locarhandle): Add fname.
23172 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23173 if an optional argument was specified to --list-archive,
23174 otherwise NULL.
23175 * locale/programs/locarchive.c (show_archive_content): Take new
23176 argument fname and pass it via ah.fname to open_archive.
23177 * locale/programs/localedef.h: Update decl.
23178 (open_archive): If AH->fname is non-null, open that file
23179 rather than the default file name, and don't ignore ENOENT.
23180 (create_archive): Set AH.fname to NULL.
23181 (delete_locales_from_archive): Likewise.
23182 (add_locales_to_archive): Likewise.
23183 * locale/programs/locfile.c (write_all_categories): Likewise.
23184
231852013-10-18 Joseph Myers <joseph@codesourcery.com>
23186 Aldy Hernandez <aldyh@redhat.com>
23187
23188 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23189 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23190 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23191 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23192 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23193 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23194 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23195 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23196 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23197 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23198 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23199 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23200 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23201 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23202 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23203 Likewise.
23204 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23205 Likewise.
23206 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23207 Likewise.
23208 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23209 Likewise.
23210 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23211 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23212 Likewise.
23213 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23214 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23215 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23216 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23217 Likewise.
23218 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23219 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23220 * sysdeps/powerpc/preconfigure: Likewise.
23221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23222 Likewise.
23223 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23224 Replace contents of file by #include of <fenv_libc.h>.
23225 * sysdeps/powerpc/soft-fp/sfp-machine.h
23226 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23227 and <sys/prctl.h>.
23228 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23233 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23236 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23237 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23239 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23241 Allow copysignl PLT reference to be missing.
23242
232432013-10-18 Richard Sandiford <richard@codesourcery.com>
23244 Joseph Myers <joseph@codesourcery.com
23245
23246 [BZ #15948]
23247 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23248 single character.
23249 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23250
232512013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23252
23253 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23254 * elf/tst-tls1.c: Likewise.
23255 * elf/tst-tls10.h: Likewise.
23256 * elf/tst-tls14.c: Likewise.
23257 * elf/tst-tls2.c: Likewise.
23258 * elf/tst-tls3.c: Likewise.
23259 * elf/tst-tls4.c: Likewise.
23260 * elf/tst-tls5.c: Likewise.
23261 * elf/tst-tls6.c: Likewise.
23262 * elf/tst-tls7.c: Likewise.
23263 * elf/tst-tls8.c: Likewise.
23264 * elf/tst-tls9.c: Likewise.
23265 * elf/tst-tlsmod1.c: Likewise.
23266 * elf/tst-tlsmod13.c: Likewise.
23267 * elf/tst-tlsmod13a.c: Likewise.
23268 * elf/tst-tlsmod14a.c: Likewise.
23269 * elf/tst-tlsmod16a.c: Likewise.
23270 * elf/tst-tlsmod16b.c: Likewise.
23271 * elf/tst-tlsmod2.c: Likewise.
23272 * elf/tst-tlsmod3.c: Likewise.
23273 * elf/tst-tlsmod4.c: Likewise.
23274 * elf/tst-tlsmod5.c: Likewise.
23275 * elf/tst-tlsmod6.c: Likewise.
23276
232772013-10-18 Ondřej Bílka <neleai@seznam.cz>
23278
23279 [BZ #12486]
23280 * malloc/malloc.c: remove checks for statistics.
23281
232822013-10-17 Ondřej Bílka <neleai@seznam.cz>
23283
23284 [BZ #15277]
23285 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23286 * inet/tst-network.c: Add testcase.
23287
232882013-10-17 Andreas Schwab <schwab@suse.de>
23289
23290 [BZ #15218]
23291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23292 to determine canonical name.
23293
232942013-10-17 Ondřej Bílka <neleai@seznam.cz>
23295
23296 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23297 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23320 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23321 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23326 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23354
233552013-10-17 Joseph Myers <joseph@codesourcery.com>
23356
23357 [BZ #16041]
23358 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23359 make result into a quiet NaN.
23360
233612013-10-16 Joseph Myers <joseph@codesourcery.com>
23362
23363 * soft-fp/adddf3.c: Fix horizontal whitespace.
23364 * soft-fp/addsf3.c: Likewise.
23365 * soft-fp/addtf3.c: Likewise.
23366 * soft-fp/divdf3.c: Likewise.
23367 * soft-fp/divsf3.c: Likewise.
23368 * soft-fp/divtf3.c: Likewise.
23369 * soft-fp/double.h: Likewise.
23370 * soft-fp/eqdf2.c: Likewise.
23371 * soft-fp/eqsf2.c: Likewise.
23372 * soft-fp/eqtf2.c: Likewise.
23373 * soft-fp/extenddftf2.c: Likewise.
23374 * soft-fp/extended.h: Likewise.
23375 * soft-fp/extendsfdf2.c: Likewise.
23376 * soft-fp/extendsftf2.c: Likewise.
23377 * soft-fp/extendxftf2.c: Likewise.
23378 * soft-fp/fixdfdi.c: Likewise.
23379 * soft-fp/fixdfsi.c: Likewise.
23380 * soft-fp/fixdfti.c: Likewise.
23381 * soft-fp/fixsfdi.c: Likewise.
23382 * soft-fp/fixsfsi.c: Likewise.
23383 * soft-fp/fixsfti.c: Likewise.
23384 * soft-fp/fixtfdi.c: Likewise.
23385 * soft-fp/fixtfsi.c: Likewise.
23386 * soft-fp/fixtfti.c: Likewise.
23387 * soft-fp/fixunsdfdi.c: Likewise.
23388 * soft-fp/fixunsdfsi.c: Likewise.
23389 * soft-fp/fixunsdfti.c: Likewise.
23390 * soft-fp/fixunssfdi.c: Likewise.
23391 * soft-fp/fixunssfsi.c: Likewise.
23392 * soft-fp/fixunssfti.c: Likewise.
23393 * soft-fp/fixunstfdi.c: Likewise.
23394 * soft-fp/fixunstfsi.c: Likewise.
23395 * soft-fp/fixunstfti.c: Likewise.
23396 * soft-fp/floatdidf.c: Likewise.
23397 * soft-fp/floatdisf.c: Likewise.
23398 * soft-fp/floatditf.c: Likewise.
23399 * soft-fp/floatsidf.c: Likewise.
23400 * soft-fp/floatsisf.c: Likewise.
23401 * soft-fp/floatsitf.c: Likewise.
23402 * soft-fp/floattidf.c: Likewise.
23403 * soft-fp/floattisf.c: Likewise.
23404 * soft-fp/floattitf.c: Likewise.
23405 * soft-fp/floatundidf.c: Likewise.
23406 * soft-fp/floatundisf.c: Likewise.
23407 * soft-fp/floatunditf.c: Likewise.
23408 * soft-fp/floatunsidf.c: Likewise.
23409 * soft-fp/floatunsisf.c: Likewise.
23410 * soft-fp/floatunsitf.c: Likewise.
23411 * soft-fp/floatuntidf.c: Likewise.
23412 * soft-fp/floatuntisf.c: Likewise.
23413 * soft-fp/floatuntitf.c: Likewise.
23414 * soft-fp/fmadf4.c: Likewise.
23415 * soft-fp/fmasf4.c: Likewise.
23416 * soft-fp/fmatf4.c: Likewise.
23417 * soft-fp/gedf2.c: Likewise.
23418 * soft-fp/gesf2.c: Likewise.
23419 * soft-fp/getf2.c: Likewise.
23420 * soft-fp/ledf2.c: Likewise.
23421 * soft-fp/lesf2.c: Likewise.
23422 * soft-fp/letf2.c: Likewise.
23423 * soft-fp/muldf3.c: Likewise.
23424 * soft-fp/mulsf3.c: Likewise.
23425 * soft-fp/multf3.c: Likewise.
23426 * soft-fp/negdf2.c: Likewise.
23427 * soft-fp/negsf2.c: Likewise.
23428 * soft-fp/negtf2.c: Likewise.
23429 * soft-fp/op-1.h: Likewise.
23430 * soft-fp/op-2.h: Likewise.
23431 * soft-fp/op-4.h: Likewise.
23432 * soft-fp/op-8.h: Likewise.
23433 * soft-fp/op-common.h: Likewise.
23434 * soft-fp/quad.h: Likewise.
23435 * soft-fp/single.h: Likewise.
23436 * soft-fp/soft-fp.h: Likewise.
23437 * soft-fp/sqrtdf2.c: Likewise.
23438 * soft-fp/sqrtsf2.c: Likewise.
23439 * soft-fp/sqrttf2.c: Likewise.
23440 * soft-fp/subdf3.c: Likewise.
23441 * soft-fp/subsf3.c: Likewise.
23442 * soft-fp/subtf3.c: Likewise.
23443 * soft-fp/truncdfsf2.c: Likewise.
23444 * soft-fp/trunctfdf2.c: Likewise.
23445 * soft-fp/trunctfsf2.c: Likewise.
23446 * soft-fp/trunctfxf2.c: Likewise.
23447 * soft-fp/unorddf2.c: Likewise.
23448 * soft-fp/unordsf2.c: Likewise.
23449 * soft-fp/unordtf2.c: Likewise.
23450
234512013-10-15 Joseph Myers <joseph@codesourcery.com>
23452
23453 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23454 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23455
234562013-10-15 Ondřej Bílka <neleai@seznam.cz>
23457
23458 * elf/dl-libc.c: Clear initfini list after freeing.
23459
234602013-10-14 Joseph Myers <joseph@codesourcery.com>
23461
23462 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23463 * soft-fp/addsf3.c: Likewise.
23464 * soft-fp/addtf3.c: Likewise.
23465 * soft-fp/divdf3.c: Likewise.
23466 * soft-fp/divsf3.c: Likewise.
23467 * soft-fp/divtf3.c: Likewise.
23468 * soft-fp/double.h: Likewise.
23469 * soft-fp/eqdf2.c: Likewise.
23470 * soft-fp/eqsf2.c: Likewise.
23471 * soft-fp/eqtf2.c: Likewise.
23472 * soft-fp/extenddftf2.c: Likewise.
23473 * soft-fp/extended.h: Likewise.
23474 * soft-fp/extendsfdf2.c: Likewise.
23475 * soft-fp/extendsftf2.c: Likewise.
23476 * soft-fp/extendxftf2.c: Likewise.
23477 * soft-fp/fixdfdi.c: Likewise.
23478 * soft-fp/fixdfsi.c: Likewise.
23479 * soft-fp/fixdfti.c: Likewise.
23480 * soft-fp/fixsfdi.c: Likewise.
23481 * soft-fp/fixsfsi.c: Likewise.
23482 * soft-fp/fixsfti.c: Likewise.
23483 * soft-fp/fixtfdi.c: Likewise.
23484 * soft-fp/fixtfsi.c: Likewise.
23485 * soft-fp/fixtfti.c: Likewise.
23486 * soft-fp/fixunsdfdi.c: Likewise.
23487 * soft-fp/fixunsdfsi.c: Likewise.
23488 * soft-fp/fixunsdfti.c: Likewise.
23489 * soft-fp/fixunssfdi.c: Likewise.
23490 * soft-fp/fixunssfsi.c: Likewise.
23491 * soft-fp/fixunssfti.c: Likewise.
23492 * soft-fp/fixunstfdi.c: Likewise.
23493 * soft-fp/fixunstfsi.c: Likewise.
23494 * soft-fp/fixunstfti.c: Likewise.
23495 * soft-fp/floatdidf.c: Likewise.
23496 * soft-fp/floatdisf.c: Likewise.
23497 * soft-fp/floatditf.c: Likewise.
23498 * soft-fp/floatsidf.c: Likewise.
23499 * soft-fp/floatsisf.c: Likewise.
23500 * soft-fp/floatsitf.c: Likewise.
23501 * soft-fp/floattidf.c: Likewise.
23502 * soft-fp/floattisf.c: Likewise.
23503 * soft-fp/floattitf.c: Likewise.
23504 * soft-fp/floatundidf.c: Likewise.
23505 * soft-fp/floatundisf.c: Likewise.
23506 * soft-fp/floatunsidf.c: Likewise.
23507 * soft-fp/floatunsisf.c: Likewise.
23508 * soft-fp/floatuntidf.c: Likewise.
23509 * soft-fp/floatuntisf.c: Likewise.
23510 * soft-fp/floatuntitf.c: Likewise.
23511 * soft-fp/fmadf4.c: Likewise.
23512 * soft-fp/fmasf4.c: Likewise.
23513 * soft-fp/fmatf4.c: Likewise.
23514 * soft-fp/gedf2.c: Likewise.
23515 * soft-fp/gesf2.c: Likewise.
23516 * soft-fp/getf2.c: Likewise.
23517 * soft-fp/ledf2.c: Likewise.
23518 * soft-fp/lesf2.c: Likewise.
23519 * soft-fp/letf2.c: Likewise.
23520 * soft-fp/muldf3.c: Likewise.
23521 * soft-fp/mulsf3.c: Likewise.
23522 * soft-fp/multf3.c: Likewise.
23523 * soft-fp/negdf2.c: Likewise.
23524 * soft-fp/negsf2.c: Likewise.
23525 * soft-fp/negtf2.c: Likewise.
23526 * soft-fp/op-1.h: Likewise.
23527 * soft-fp/op-2.h: Likewise.
23528 * soft-fp/op-4.h: Likewise.
23529 * soft-fp/op-8.h: Likewise.
23530 * soft-fp/op-common.h: Likewise.
23531 * soft-fp/quad.h: Likewise.
23532 * soft-fp/single.h: Likewise.
23533 * soft-fp/soft-fp.h: Likewise.
23534 * soft-fp/sqrtdf2.c: Likewise.
23535 * soft-fp/sqrtsf2.c: Likewise.
23536 * soft-fp/sqrttf2.c: Likewise.
23537 * soft-fp/subdf3.c: Likewise.
23538 * soft-fp/subsf3.c: Likewise.
23539 * soft-fp/subtf3.c: Likewise.
23540 * soft-fp/truncdfsf2.c: Likewise.
23541 * soft-fp/trunctfdf2.c: Likewise.
23542 * soft-fp/trunctfsf2.c: Likewise.
23543 * soft-fp/trunctfxf2.c: Likewise.
23544 * soft-fp/unorddf2.c: Likewise.
23545 * soft-fp/unordsf2.c: Likewise.
23546 * soft-fp/unordtf2.c: Likewise.
23547
235482013-10-14 Ondřej Bílka <neleai@seznam.cz>
23549
23550 [BZ #15672]
23551 * misc/error.c (error_tail): Fix possible buffer overflow.
23552
235532013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23554
23555 [BZ #13028]
23556 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23557 address.
23558
235592013-10-14 P. J. McDermott <pj@pehjota.net>
23560
23561 [BZ #832]
23562 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23563 testing pipefail option.
23564
235652013-10-12 Joseph Myers <joseph@codesourcery.com>
23566
23567 * soft-fp/double.h: Indent preprocessor directives inside #if.
23568 * soft-fp/extended.h: Likewise.
23569 * soft-fp/op-2.h: Likewise.
23570 * soft-fp/op-4.h: Likewise.
23571 * soft-fp/op-common.h: Likewise.
23572 * soft-fp/quad.h: Likewise.
23573 * soft-fp/single.h: Likewise.
23574 * soft-fp/soft-fp.h: Likewise.
23575
235762013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23577
23578 * iconv/iconv_prog.c: Fix typos.
23579 * stdio-common/psiginfo-data.h: Likewise.
23580
235812013-10-12 Reuben Thomas <rrt@sc3d.org>
23582
23583 [BZ #15764]
23584 * locale/setlocale.c: Fix typo.
23585
235862013-10-12 Joseph Myers <joseph@codesourcery.com>
23587
23588 [BZ #16036]
23589 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23590 signaling NaN arguments.
23591 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23592 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23593
23594 [BZ #14910]
23595 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23596 unordered operands.
23597 * soft-fp/gesf2.c (__gesf2): Likewise.
23598 * soft-fp/getf2.c (__getf2): Likewise.
23599 * soft-fp/ledf2.c (__ledf2): Likewise.
23600 * soft-fp/lesf2.c (__lesf2): Likewise.
23601 * soft-fp/letf2.c (__letf2): Likewise.
23602
23603 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23604 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23605 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23606 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23607 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23608 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23609 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23610 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23611 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23612 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23613 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23614 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23615 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23616 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23617 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23618 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23619 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23620 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23621 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23622 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23623 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23624 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23625 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23626 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23627 * soft-fp/floattidf.c (__floattidf): Likewise.
23628 * soft-fp/floattisf.c (__floattisf): Likewise.
23629 * soft-fp/floattitf.c (__floattitf): Likewise.
23630 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23631 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23632 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23633 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23634 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23635 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23636 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23637 * soft-fp/gesf2.c (__gesf2): Likewise.
23638 * soft-fp/getf2.c (__getf2): Likewise.
23639 * soft-fp/ledf2.c (__ledf2): Likewise.
23640 * soft-fp/lesf2.c (__lesf2): Likewise.
23641 * soft-fp/letf2.c (__letf2): Likewise.
23642
23643 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23644 Undefine and redefine.
23645 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23646 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23647 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23648 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23649 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23650 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23651 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23652 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23653 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23654 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23655 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23656 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23657 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23658 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23659 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23660
23661 [BZ #16032]
23662 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23663 without decrementing exponent if mantissa >= that for the
23664 denominator, not >.
23665 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23666 denominator, not >. Decrement exponent in < case instead of
23667 incrementing in >= case.
23668 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23669 without decrementing exponent if mantissa >= that for the
23670 denominator, not >.
23671
23672 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23673 computing saturated result for unsigned overflow.
23674
236752013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23676 Jeff Law <law@redhat.com>
23677
23678 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23679 (atan2Mp): Add systemtap probe marker.
23680 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23681 (__ieee754_log): Add systemtap probe marker.
23682 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23683 (atanMp): Add systemtap probe marker.
23684 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23685 (tanMp): Add systemtap probe marker.
23686 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23687 (__slowexp): Add systemtap probe marker.
23688 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23689 (__slowpow): Add systemtap probe marker.
23690 * manual/probes.texi: Document probes.
23691
236922013-10-11 Eric Biggers <ebiggers3@gmail.com>
23693
23694 [BZ #15362]
23695 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23696 written.
23697 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23698 written.
23699 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23700 written to buffer but not flushed.
23701 * libio/iofwrite_u.c: Likewise.
23702 * libio/iopadn.c: Return bytes returned even if EOF was
23703 encountered.
23704 * libio/iowpadn.c: Likewise.
23705 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23706 if _IO_padn does not write the whole buffer.
23707 [!COMPILE_WPRINTF] (PAD): Likewise.
23708
237092013-10-10 David S. Miller <davem@davemloft.net>
23710
23711 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23712 directory block.
23713
237142013-10-10 Joseph Myers <joseph@codesourcery.com>
23715
23716 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23717 instead of FSF address.
23718 * soft-fp/fixdfti.c: Likewise.
23719 * soft-fp/fixsfti.c: Likewise.
23720 * soft-fp/fixtfti.c: Likewise.
23721 * soft-fp/fixunsdfti.c: Likewise.
23722 * soft-fp/fixunssfti.c: Likewise.
23723 * soft-fp/fixunstfti.c: Likewise.
23724 * soft-fp/floattidf.c: Likewise.
23725 * soft-fp/floattisf.c: Likewise.
23726 * soft-fp/floattitf.c: Likewise.
23727 * soft-fp/floatuntidf.c: Likewise.
23728 * soft-fp/floatuntisf.c: Likewise.
23729 * soft-fp/floatuntitf.c: Likewise.
23730 * soft-fp/trunctfxf2.c: Likewise.
23731
23732 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23733 * soft-fp/fixdfti.c: Likewise.
23734 * soft-fp/fixsfti.c: Likewise.
23735 * soft-fp/fixtfti.c: Likewise.
23736 * soft-fp/fixunsdfti.c: Likewise.
23737 * soft-fp/fixunssfti.c: Likewise.
23738 * soft-fp/fixunstfti.c: Likewise.
23739 * soft-fp/floattidf.c: Likewise.
23740 * soft-fp/floattisf.c: Likewise.
23741 * soft-fp/floattitf.c: Likewise.
23742 * soft-fp/floatuntidf.c: Likewise.
23743 * soft-fp/floatuntisf.c: Likewise.
23744 * soft-fp/floatuntitf.c: Likewise.
23745 * soft-fp/trunctfxf2.c: Likewise.
23746
237472013-10-10 David S. Miller <davem@davemloft.net>
23748
23749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23750
237512013-10-10 Joseph Myers <joseph@codsourcery.com>
23752
23753 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23754 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23755 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23756 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23757 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23758 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23759 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23760
23761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23762 for NaNs before doing comparisons on argument.
23763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23764 Likewise.
23765
237662013-10-10 Will Newton <will.newton@linaro.org>
23767
23768 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23769 passed to _int_memalign does not overflow.
23770
237712013-10-10 Torvald Riegel <triegel@redhat.com>
23772
23773 * scripts/bench.pl: Add include-sources directive.
23774 * benchtests/README: Update documentation.
23775
237762013-10-10 Joseph Myers <joseph@codesourcery.com>
23777
23778 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23779 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23780 instead of FP_INIT_ROUNDMODE.
23781 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23782 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23783
23784 [BZ #16034]
23785 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23786 copy class of input value.
23787 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23788 not handle exceptions.
23789 * soft-fp/negsf2.c (__negsf2): Likewise.
23790 * soft-fp/negtf2.c (__negtf2): Likewise.
23791 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23792
237932013-10-09 Joseph Myers <joseph@codesourcery.com>
23794
23795 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23796 semicolon. From Linux kernel.
23797
237982013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23799
23800 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23801
238022013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23803
23804 [BZ #156]
23805 * manual/socket.texi: Added statement about buffer
23806 for gethostbyname2_r.
23807
238082013-10-08 Ondřej Bílka <neleai@seznam.cz>
23809
23810 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23811 Use .p2align directive instead, throughout.
23812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23813 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23817 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23818 * sysdeps/x86_64/strchr.S: Likewise.
23819 * sysdeps/x86_64/strrchr.S: Likewise.
23820
238212013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23822
23823 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23824
23825 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23826
23827 * sysdeps/generic/math_private.h (__mpsin1): Remove
23828 declaration.
23829 (__mpcos1): Likewise.
23830 (__mpsin): New argument __range_reduce.
23831 (__mpcos): Likewise.
23832 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23833 (slow): Use __mpsin and __mpcos.
23834 (slow1): Likewise.
23835 (slow2): Likewise.
23836 (sloww): Likewise.
23837 (sloww1): Likewise.
23838 (sloww2): Likewise.
23839 (bsloww): Likewise.
23840 (bsloww1): Likewise.
23841 (bsloww2): Likewise.
23842 (cslow2): Likewise.
23843 (csloww): Likewise.
23844 (csloww1): Likewise.
23845 (csloww2): Likewise.
23846 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23847 range_reduce. Merge in __mpsin1.
23848 (__mpcos): Likewise.
23849 (__mpsin1): Remove.
23850 (__mpcos1): Likewise.
23851
238522013-10-07 Joseph Myers <joseph@codesourcery.com>
23853
23854 * locale/loadlocale.c (_nl_intern_locale_data): Use
23855 LOCFILE_ALIGNED_P.
23856 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23857 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23858 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23859 obstack data is appropriately aligned.
23860 (obstack_int32_grow_fast): Likewise.
23861 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23862 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23863 (add_locale_uint32_array): Likewise.
23864
238652013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23866
23867 * benchtests/Makefile: Remove ARGLIST and RET variables.
23868 ($(objpfx)bench-%.c): Pass only function name to the script.
23869 * benchtests/README: Update documentation.
23870 * benchtests/acos-inputs: Add new directives.
23871 * benchtests/acosh-inputs: Likewise.
23872 * benchtests/asin-inputs: Likewise.
23873 * benchtests/asinh-inputs: Likewise.
23874 * benchtests/atan-inputs: Likewise.
23875 * benchtests/atanh-inputs: Likewise.
23876 * benchtests/cos-inputs: Likewise.
23877 * benchtests/cosh-inputs: Likewise.
23878 * benchtests/exp-inputs: Likewise.
23879 * benchtests/log-inputs: Likewise.
23880 * benchtests/pow-inputs: Likewise.
23881 * benchtests/rint-inputs: Likewise.
23882 * benchtests/sin-inputs: Likewise.
23883 * benchtests/sinh-inputs: Likewise.
23884 * benchtests/tan-inputs: Likewise.
23885 * benchtests/tanh-inputs: Likewise.
23886 * scripts/bench.pl: Add support for new directives.
23887
238882013-10-07 Alan Modra <amodra@gmail.com>
23889
23890 * README: Fix careless merge.
23891
238922013-10-05 Alan Modra <amodra@gmail.com>
23893
23894 * NEWS: Mention powerpc64le support and bugs fixed.
23895 * README: Both big-endian and little-endian powerpc64 supported.
23896
238972013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23898
23899 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23900 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23901 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23902 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23903
239042013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23905
23906 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23907 match prototype.
23908
239092013-10-04 Joseph Myers <joseph@codesourcery.com>
23910
23911 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23912 Move -mhard-float appending from
23913 ports/sysdeps/powerpc/powerpc32/Makefile.
23914 [$(with-fp) = yes] (ASFLAGS): Likewise.
23915 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23916 * sysdeps/powerpc/nofpu: Move directory from
23917 ports/sysdeps/powerpc/nofpu.
23918 * sysdeps/powerpc/soft-fp: Move directory from
23919 ports/sysdeps/powerpc/soft-fp.
23920 * sysdeps/powerpc/powerpc32/405: Move directory from
23921 ports/sysdeps/powerpc/powerpc32/405.
23922 * sysdeps/powerpc/powerpc32/440: Move directory from
23923 ports/sysdeps/powerpc/powerpc32/440.
23924 * sysdeps/powerpc/powerpc32/464: Move directory from
23925 ports/sysdeps/powerpc/powerpc32/464.
23926 * sysdeps/powerpc/powerpc32/476: Move directory from
23927 ports/sysdeps/powerpc/powerpc32/476.
23928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23929 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23931 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23933 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23935 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23937 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23938 * README: Update for powerpc-*-linux-gnu software floating point
23939 support in libc.
23940
23941 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23942 case to powerpc/powerpc32*.
23943 * sysdeps/unix/sysv/linux/configure: Regenerated.
23944
23945 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23946 (_FPU_MASK_OM): Define as 0x04.
23947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23949 0x00c10080.
23950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23951 0x0000003c.
23952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23953
23954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23955 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23956 getcontext_e500.
23957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23958 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23959 setcontext_e500.
23960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23961 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23962 and setcontext_e500.
23963
239642013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23965
23966 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23967
239682013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23969
23970 * manual/threads.texi (Default Thread Attributes): Fix typo.
23971
239722013-10-04 Will Newton <will.newton@linaro.org>
23973
23974 * malloc/Makefile: Add tst-memalign.
23975 * malloc/tst-memalign.c: New file.
23976
23977 * malloc/tst-posix_memalign.c: Add comments.
23978 (do_test): Add comments and call free on all potentially
23979 allocated pointers. Add space after cast.
23980
23981 * malloc/tst-pvalloc.c: Add comments.
23982 (do_test): Add comments and call free on all potentially
23983 allocated pointers. Remove duplicate check for NULL pointer.
23984 Add space after cast.
23985
23986 * malloc/tst-valloc.c: Add comments.
23987 (do_test): Add comments and call free on all potentially
23988 allocated pointers. Remove duplicate check for NULL pointer.
23989 Add space after cast.
23990
239912013-10-04 Alan Modra <amodra@gmail.com>
23992
23993 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23994 Use stdint types in rather than __attribute__((mode())).
23995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23996
239972013-10-04 Alan Modra <amodra@gmail.com>
23998
23999 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24000 Correct handling of unaligned relocs for little-endian.
24001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24002
240032013-10-04 Alan Modra <amodra@gmail.com>
24004
24005 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24006 * configure: Regenerate.
24007 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24008 * shlib-versions: Likewise.
24009
240102013-10-04 Alan Modra <amodra@gmail.com>
24011
24012 * string/tester.c (test_memrchr): Increment reported test cycle.
24013
240142013-10-04 Alan Modra <amodra@gmail.com>
24015
24016 * string/test-memcpy.c (do_one_test): When reporting errors, print
24017 string address and don't overrun end of string.
24018
240192013-10-04 Alan Modra <amodra@gmail.com>
24020
24021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24022 insrdi. Make better use of reg selection to speed exit slightly.
24023 Schedule entry path a little better. Remove useless "are we done"
24024 checks on entry to main loop. Handle wrapping around zero address.
24025 Correct main loop count. Handle single left-over word from main
24026 loop inline rather than by using loop_small. Remove extra word
24027 case in loop_small caused by wrong loop count. Add little-endian
24028 support.
24029 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24030 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24031 cache hint.
24032 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24034 support. Avoid rlwimi.
24035 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24036
240372013-10-04 Alan Modra <amodra@gmail.com>
24038
24039 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24040 insrdi. Formatting.
24041 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24044 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24045 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24046 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24047
240482013-10-04 Alan Modra <amodra@gmail.com>
24049
24050 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24053 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24059 use of regs. Use power7 mtocrf. Tidy function tails.
24060
240612013-10-04 Alan Modra <amodra@gmail.com>
24062
24063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24064 Formatting. Consistently use rXXX register defines or rN defines.
24065 Use early exit labels that avoid restoring unused non-volatile regs.
24066 Make cr field use more consistent with rWORDn compares. Rename
24067 regs used as shift registers for unaligned loop, using rN defines
24068 for short lifetime/multiple use regs.
24069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24070 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24071 addi 1,1,64 to pop stack frame. Simplify return value code.
24072 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24073
240742013-10-04 Alan Modra <amodra@gmail.com>
24075
24076 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24077 support. Correct typos, formatting. Optimize tail. Use insrdi
24078 rather than rlwimi.
24079 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24080 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24081 little-endian support. Correct typos.
24082 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24083 rather than rlwimi.
24084 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24085 in loop and entry code to keep "and." results.
24086 (strchr): Add little-endian support. Comment. Move cntlzd
24087 earlier in tail.
24088 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24089
240902013-10-04 Alan Modra <amodra@gmail.com>
24091
24092 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24093 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24094 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24095 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24096
240972013-10-04 Alan Modra <amodra@gmail.com>
24098
24099 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24100 (rTMP): Define as r11.
24101 (strcmp): Add little-endian support. Optimise tail.
24102 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24104 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24109
241102013-10-04 Alan Modra <amodra@gmail.com>
24111
24112 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24113 little-endian support. Remove unnecessary "are we done" tests.
24114 Handle "s" wrapping around zero and extremely large "size".
24115 Correct main loop count. Handle single left-over word from main
24116 loop inline rather than by using small_loop. Correct comments.
24117 Delete "zero" tail, use "end_max" instead.
24118 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24119
241202013-10-04 Alan Modra <amodra@gmail.com>
24121
24122 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24123 support. Don't branch over align.
24124 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24125 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24126 support. Rearrange tmp reg use to suit. Comment.
24127 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24128
241292013-10-04 Alan Modra <amodra@gmail.com>
24130
24131 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24132
241332013-10-04 Alan Modra <amodra@gmail.com>
24134
24135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24136 conditional form of branch and link when obtaining pc.
24137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24138
241392013-10-04 Alan Modra <amodra@gmail.com>
24140
24141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24142 HIWORD/LOWORD.
24143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24145
241462013-10-04 Alan Modra <amodra@gmail.com>
24147
24148 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24149 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24150 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24151 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24152 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24153 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24154 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24155 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24156 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24157 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24158
241592013-10-04 Anton Blanchard <anton@au1.ibm.com>
24160 Alistair Popple <alistair@ozlabs.au.ibm.com>
24161 Alan Modra <amodra@gmail.com>
24162
24163 [BZ #15723]
24164 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24165 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24166 _dl_hwcap access for little-endian.
24167 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24168 destroy vmx regs when saving unaligned.
24169 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24170 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24171 destroy vmx regs when saving unaligned.
24172
241732013-10-04 Alan Modra <amodra@gmail.com>
24174
24175 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24176 Don't use a union to pack hi/low value.
24177
241782013-10-04 Anton Blanchard <anton@au1.ibm.com>
24179
24180 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24181 for little-endian.
24182 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24184 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24185 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24186 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24187
241882013-10-04 Alan Modra <amodra@gmail.com>
24189
24190 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24191 constants to usual value for .cst8 section, and remove redundant
24192 high address load.
24193 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24194 constant for 0x1p52. Load little-endian words of double from
24195 correct stack offsets.
24196
241972013-10-04 Alan Modra <amodra@gmail.com>
24198
24199 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24200 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24201 words of double from correct stack offsets.
24202 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24203 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24204 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24207 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24208 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24209 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24210 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24212 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24213 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24214 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24215 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24216 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24217 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24218 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24219
242202013-10-04 Alan Modra <amodra@gmail.com>
24221
24222 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24223 64-bit int/double union.
24224 (_FPU_SETCW): Likewise.
24225 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24226 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24227
242282013-10-04 Alan Modra <amodra@gmail.com>
24229
24230 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24231 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24232
242332013-10-04 Alan Modra <amodra@gmail.com>
24234
24235 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24236 use vector int constants.
24237 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24238
242392013-10-04 Anton Blanchard <anton@au1.ibm.com>
24240
24241 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24242 array with long long.
24243 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24244 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24245 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24246 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24247 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24248 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24249 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24250 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24251 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24252 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24253 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24254 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24255 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24256
242572013-10-04 Anton Blanchard <anton@au1.ibm.com>
24258
24259 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24260 (__signbit): Likewise. Correct for little-endian.
24261 (__signbitl): Call __signbit.
24262 (lrint): Correct for little-endian.
24263 (lrintf): Call lrint.
24264
242652013-10-04 Alan Modra <amodra@gmail.com>
24266
24267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24268 union 32-bit int array member with 64-bit int array.
24269 (t515, tm256): Double rather than long double.
24270 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24271
242722013-10-04 Alan Modra <amodra@gmail.com>
24273
24274 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24275 Delete.
24276 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24278 version of math_ldbl.h.
24279
242802013-10-04 Alan Modra <amodra@gmail.com>
24281
24282 [BZ #15734], [BZ #15735]
24283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24284 all uses of ieee875 long double macros and unions. Simplify test
24285 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24286 ldbl_extract_mantissa value for ix,iy exponents. Properly
24287 normalize after ldbl_extract_mantissa, and don't add hidden bit
24288 already handled. Don't treat low word of ieee854 mantissa like
24289 low word of IBM long double and mask off bit when testing for
24290 zero.
24291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24292 all uses of ieee875 long double macros and unions. Simplify tests
24293 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24294 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24295 two1022, instead use their values. Recognise that tests for large
24296 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24297 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24298 Rewrite all uses of ieee875 long double macros and unions. Simplify
24299 test for 0.0L and nan. Correct negation.
24300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24301 ieee875 long double macros and unions. Correct output for large
24302 magnitude x. Correct absolute value calculation.
24303 (__erfcl): Likewise.
24304 * math/libm-test.inc: Add tests for errors discovered in IBM long
24305 double versions of fmodl, remainderl, erfl and erfcl.
24306
243072013-10-04 Alan Modra <amodra@gmail.com>
24308
24309 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24310 all uses of ieee854 long double macros and unions. Simplify tests
24311 for long doubles that are fully specified by the high double.
24312 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24313 Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24315 Remove dead code too.
24316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24317 (__ieee754_ynl): Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24321 Remove dead code too.
24322 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24326 Simplify.
24327 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24328 Simplify.
24329 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24332 Comment on variable precision.
24333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24334 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24335 Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24339 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24340 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24341
243422013-10-04 Alan Modra <amodra@gmail.com>
24343
24344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24346 all uses of ieee854 long double macros and unions.
24347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24353 Likewise.
24354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24356 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24358 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24359 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24360 Simplify sign and nan test too.
24361 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24362 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24363 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24365 Likewise.
24366 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24367 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24368 Likewise.
24369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24370 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24375
243762013-10-04 Alan Modra <amodra@gmail.com>
24377
24378 * stdio-common/printf_size.c (__printf_size): Don't use
24379 union ieee854_long_double in fpnum union.
24380 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24381 signbit macro to retrieve sign from long double.
24382 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24383 retrieve sign from long double.
24384 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24385 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24386 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24387 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24388 * math/test-misc.c (main): Don't use union ieee854_long_double.
24389
243902013-10-04 Alan Modra <amodra@gmail.com>
24391
24392 [BZ #15680]
24393 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24395 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24396 calculation. Remove unnecessary test for denormal exponent.
24397 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24398 Correct handling of denormals. Avoid undefined shift behaviour.
24399 Correct normalisation of low mantissa when low double is denormal.
24400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24401 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24402 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24403 Correct normalisation of low mantissa. Test for overflow of high
24404 mantissa and normalise.
24405 (ldbl_nearbyint): Use more readable constant for two52.
24406 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24407 (__mpn_construct_long_double): Fix test for overflow of high
24408 mantissa and correct normalisation. Avoid undefined shift.
24409
244102013-10-04 Alan Modra <amodra@gmail.com>
24411
24412 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24413 (union ibm_extended_long_double): Define as an array of ieee754_double.
24414 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24415 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24416 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24421 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24422 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24424 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24425
244262013-10-03 Joseph Myers <joseph@codesourcery.com>
24427
24428 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24429 page size instead of calling getpagesize.
24430
24431 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24432 (LOCFILE_ALIGN_MASK): Likewise.
24433 (LOCFILE_ALIGN_UP): Likewise.
24434 (LOCFILE_ALIGNED_P): Likewise.
24435 * locale/programs/ld-collate.c (collate_output): Use the new
24436 macros instead of __alignof__ (int32_t).
24437 * locale/weight.h (findidx): Likewise.
24438
244392013-10-03 Ondřej Bílka <neleai@seznam.cz>
24440
24441 [BZ #431]
24442 * manual/string.texi: Fix strncat and wcsncat.
24443
244442013-10-03 Brooks Moses <bmoses@google.com>
24445
24446 [BZ #15915]
24447 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24448 * Makerules: ...here, and adjust associated comments.
24449
244502013-10-02 Will Newton <will.newton@linaro.org>
24451
24452 * malloc/Makefile: Add tst-pvalloc.
24453 * malloc/tst-pvalloc.c: New file.
24454
244552013-10-02 Will Newton <will.newton@linaro.org>
24456
24457 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24458 improve test coverage.
24459
244602013-10-02 Will Newton <will.newton@linaro.org>
24461
24462 * malloc/Makefile: Add tst-posix_memalign.
24463 * malloc/tst-posix_memalign.c: New file.
24464
244652013-10-01 Eric Blake <eblake@redhat.com>
24466
24467 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24468 Use __THROWNL rather than __THROW on static functions.
24469
244702013-09-30 Petr Machata <pmachata@redhat.com>
24471
24472 * elf/elf.h (R_AARCH64_ABS16): New macro.
24473 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24474 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24475 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24476 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24477 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24478 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24479 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24480 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24481 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24482 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24483 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24484 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24485 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24486 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24487 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24488 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24489 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24490 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24491 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24492 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24493 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24494 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24495 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24496 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24497 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24498 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24499 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24500 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24501 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24502 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24503 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24504 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24505 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24506 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24507 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24508 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24509 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24510 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24511 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24512 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24513 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24514 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24515 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24516 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24517 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24518 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24519 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24520 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24521 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24522 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24523 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24524 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24525 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24526 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24527 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24528 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24529 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24530 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24531 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24532 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24533 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24534 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24535 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24536 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24537 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24538 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24539 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24540 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24541 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24542 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24543 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24544 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24545 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24546 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24547 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24548 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24549 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24550 (R_AARCH64_TLSDESC_LDR): Likewise.
24551 (R_AARCH64_TLSDESC_ADD): Likewise.
24552 (R_AARCH64_TLSDESC_CALL): Likewise.
24553
245542013-09-30 Andreas Schwab <schwab@suse.de>
24555
24556 [BZ #15048]
24557 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24558 the nss database lookup.
24559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24561
245622013-09-28 Mike Frysinger <vapier@gentoo.org>
24563
24564 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24565
245662013-09-28 P. J. McDermott <pj@pehjota.net>
24567
24568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24569 ${Bash-specific parameter/pattern/string} parameter expansion.
24570 * sysdeps/unix/make-syscalls.sh: Likewise.
24571
245722013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24573
24574 * sysdeps/sh/stackguard-macros.h: New file.
24575
245762013-09-26 Ondřej Bílka <neleai@seznam.cz>
24577
24578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24580 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24582 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24583 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24584
245852013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24586
24587 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24588 Fix thread ID register.
24589
245902013-09-25 Joseph Myers <joseph@codesourcery.com>
24591
24592 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24593 [POSIX || UNIX98]: Require rather than permitting all symbols from
24594 <time.h>.
24595 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24596 element of struct sched_param.
24597 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24598 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24599 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24600 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24601 constant.
24602
246032013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24604
24605 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24606 argument calculation.
24607
246082013-09-24 Joseph Myers <joseph@codesourcery.com>
24609
24610 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24611 Expect macro.
24612 [POSIX] (pthread_attr_t): Do not require type.
24613 [POSIX] (pthread_cond_t): Likewise.
24614 [POSIX] (pthread_condattr_t): Likewise.
24615 [POSIX] (pthread_key_t): Likewise.
24616 [POSIX] (pthread_mutex_t): Likewise.
24617 [POSIX] (pthread_mutexattr_t): Likewise.
24618 [POSIX] (pthread_once_t): Likewise.
24619 [POSIX] (pthread_t): Likewise.
24620 [POSIX-based standards] (pthread_atfork): Expect function.
24621
246222013-09-24 Joseph Myers <joseph@codesourcery.com>
24623 Richard Sandiford <richard@codesourcery.com>
24624
24625 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24626 (swap_endianness_p): New extern variable.
24627 (set_big_endian): New inline function.
24628 (maybe_swap_uint32): Likewise.
24629 (maybe_swap_uint32_array): Likewise.
24630 (maybe_swap_uint32_obstack): Likewise.
24631 * locale/programs/locfile.c: Include <stdbool.h>.
24632 (swap_endianness_p): New variable.
24633 (add_locale_uint32): Call maybe_swap_uint32.
24634 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24635 (write_locale_data): Call maybe_swap_uint32_array.
24636 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24637 maybe_swap_uint32.
24638 (obstack_int32_grow_fast): Likewise.
24639 (output_weightwc): Call maybe_swap_uint32_obstack.
24640 (collate_output): Likewise.
24641 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24642 (OPT_LITTLE_ENDIAN): Likewise.
24643 (options): Add --little-endian and --big-endian options.
24644 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24645 * locale/programs/locarchive.c: Include "locfile.h".
24646 (GET): New macro.
24647 (SET): Likewise.
24648 (INC): Likewise.
24649 (create_archive): Use the new macros to access fields of
24650 structures directly mapped from or written to locale archives.
24651 (oldlocrecentcmp): Likewise.
24652 (enlarge_archive): Likewise.
24653 (insert_name): Likewise.
24654 (add_alias): Likewise.
24655 (add_locale): Likewise.
24656 (delete_locales_from_archive): Likewise.
24657 (show_archive_content): Likewise.
24658 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24659 locale data.
24660
246612013-09-24 Roland McGrath <roland@hack.frob.com>
24662
24663 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24664 http://www.gnu.org/doc/freemanuals.texi.
24665 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24666
246672013-09-24 Will Newton <will.newton@linaro.org>
24668
24669 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24670 macro.
24671
246722013-09-23 Joseph Myers <joseph@codesourcery.com>
24673
24674 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24675 unsigned char.
24676
246772013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24678
24679 * manual/threads.texi (POSIX Threads): Fix a typo.
24680
246812013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24682
24683 [BZ #14547]
24684 * string/tst-strcoll-overflow.c: New test case.
24685 * string/Makefile (xtests): Add tst-strcoll-overflow.
24686 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24687 cache if string sizes may cause integer overflow.
24688
24689 [BZ #14547]
24690 * string/strcoll_l.c (coll_seq): New members rule, idx,
24691 save_idx and back_us.
24692 (get_next_seq_nocache): New function.
24693 (do_compare_nocache): New function.
24694 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24695 when malloc fails.
24696
246972013-09-23 Carlos O'Donell <carlos@redhat.com>
24698
24699 [BZ #15754]
24700 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24701 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24702 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24703
24704 [BZ #15754]
24705 * elf/Makefile (tests): Add tst-ptrguard1.
24706 (tests-static): Add tst-ptrguard1-static.
24707 (tst-ptrguard1-ARGS): Define.
24708 (tst-ptrguard1-static-ARGS): Define.
24709 * elf/tst-ptrguard1.c: New file.
24710 * elf/tst-ptrguard1-static.c: New file.
24711 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24712 * sysdeps/i386/stackguard-macros.h: Likewise.
24713 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24714 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24715 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24716 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24717 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24718 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24719
247202013-09-23 Hector Marco <hecmargi@upv.es>
24721 Ismael Ripoll <iripoll@disca.upv.es>
24722 Carlos O'Donell <carlos@redhat.com>
24723
24724 [BZ #15754]
24725 * sysdeps/generic/stackguard-macros.h: Define
24726 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24727 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24728 Define __pointer_chk_guard_local.
24729 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24730 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24731
247322013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24733
24734 [BZ #15859]
24735 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24736
247372013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24738
24739 * include/string.h (__ffs): Declare as hidden.
24740 * string/ffs.c (__ffs): Define as hidden.
24741 * sysdeps/i386/ffs.c (__ffs): Likewise.
24742 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24743 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24744 * sysdeps/s390/ffs.c (__ffs): Likewise.
24745 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24746
247472013-09-20 Alexandre Oliva <aoliva@redhat.com>
24748
24749 * NEWS: Mention malloc probes.
24750
24751 * malloc/arena.c (new_heap): New memory_heap_new probe.
24752 (grow_heap): New memory_heap_more probe.
24753 (shrink_heap): New memory_heap_less probe.
24754 (heap_trim): New memory_heap_free probe.
24755 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24756 (systrim): New memory_sbrk_less probe.
24757 * manual/probes.texi: Document them.
24758
24759 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24760 * manual/probes.texi: Document it.
24761
24762 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24763 (__libc_realloc): Add memory_realloc_retry probe.
24764 (__libc_memalign): Add memory_memalign_retry probe.
24765 (__libc_valloc): Add memory_valloc_retry probe.
24766 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24767 (__libc_calloc): Add memory_calloc_retry probe.
24768 * manual/probes.texi: Document them.
24769
24770 * malloc/arena.c (get_free_list): Add probe
24771 memory_arena_reuse_free_list.
24772 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24773 and memory_arena_reuse.
24774 (arena_get2) [!PER_THREAD]: Likewise.
24775 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24776 memory_arena_reuse_realloc.
24777 * manual/probes.texi: Document them.
24778
24779 * malloc/malloc.c (__libc_free): Add
24780 memory_mallopt_free_dyn_thresholds probe.
24781 (__libc_mallopt): Add multiple memory_mallopt probes.
24782 * manual/probes.texi: Document them.
24783
24784 * malloc/malloc.c: Include stap-probe.h.
24785 (__libc_mallopt): Add memory_mallopt probe.
24786 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24787 * manual/probes.texi: New.
24788 * manual/Makefile (chapters): Add probes.
24789 * manual/threads.texi: Set next node.
24790
247912013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24792
24793 [BZ #15963, #13985]
24794 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24795 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24796 Add `Chinese' to `nan' entry name.
24797
247982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24799
24800 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24801 (POLYNOMIAL): Likewise.
24802 (TAYLOR_SINCOS): Likewise.
24803 (TAYLOR_SLOW): Likewise.
24804 (__sin): Use TAYLOR_SINCOS.
24805 (__cos): Likewise.
24806 (slow): Use TAYLOR_SLOW.
24807 (sloww): Likewise.
24808 (bsloww): Likewise.
24809 (csloww): Likewise.
24810
248112013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24812
24813 * stdlib/strtod_l.c: Fix buffer overrun.
24814
248152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24816
24817 * benchtests/Makefile (bench): Add sincos.
24818 * benchtests/bench-sincos.c: New file.
24819
24820 * math/libm-test.inc (cos_test_data): New test inputs.
24821 (sin_test_data): Likewise.
24822
24823 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24824 macro.
24825 (__sin): Use it.
24826 (__cos): Likewise.
24827 (slow1): Likewise.
24828 (slow2): Likewise.
24829 (sloww1): Likewise.
24830 (sloww2): Likewise.
24831 (bsloww1): Likewise.
24832 (bsloww2): Likewise.
24833 (cslow2): Likewise.
24834 (csloww1): Likewise.
24835 (csloww2): Likewise.
24836
24837 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24838 function.
24839 (__sin): Use it.
24840 (__cos): Likewise.
24841
24842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24843 gotos.
24844 (__cos): Likewise.
24845
248462013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24847
24848 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24849 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24850 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24851 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24852 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24853 * elf/cache.c (print_entry): Handle the new cache flags.
24854
248552013-09-18 Joseph Myers <joseph@codesourcery.com>
24856 Aldy Hernandez <aldyh@redhat.com>
24857
24858 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24859 Change condition to [_SOFT_FLOAT].
24860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24872 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24875 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24876 declaration.
24877
248782013-09-18 Joseph Myers <joseph@codesourcery.com>
24879
24880 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24881 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24882 (__longjmp): Use LOAD_GP to load saved GPRs.
24883 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24884 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24885 (__sigsetjmp): Use SAVE_GP to save GPRs.
24886
24887 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24888 Do not append -msoft-float.
24889 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24890
248912013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24892
24893 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24894
248952013-09-17 Joseph Myers <joseph@codesourcery.com>
24896
24897 [BZ #15966]
24898 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24899 (_FPU_GETCW): Use initial "__" on variable and field names but not
24900 on macro parameter name.
24901 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24902 parentheses around reference to macro parameter.
24903
249042013-09-13 Richard Sandiford <richard@codesourcery.com>
24905
24906 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24907 prototype.
24908 (ctype_startup): Use uint32_t in cast and sizeof for
24909 ctype->charnames.
24910
249112013-09-11 Jia Liu <proljc@gmail.com>
24912
24913 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24914 __daddr_t_defined.
24915 [__FreeBSD__]: Likewise.
24916
249172013-09-11 Ondřej Bílka <neleai@seznam.cz>
24918
24919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24920 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24921 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24922 (strchr): Remove __strchr_sse42 ifunc selection.
24923 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24924 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24925
249262013-09-11 Will Newton <will.newton@linaro.org>
24927
24928 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24929 parameter to RES. Remove hardcoded 1000 value.
24930 * benchtests/bench-skeleton.c (main): Pass RES parameter
24931 to TIMING_INIT and multiply result by 1000.
24932
249332013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24934
24935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24936
249372013-09-11 Andreas Schwab <schwab@suse.de>
24938
24939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24940 if not defined.
24941 (O_TMPFILE) [__USE_GNU]: Define.
24942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24943 Define.
24944
249452013-09-11 Will Newton <will.newton@linaro.org>
24946
24947 [BZ #15857]
24948 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24949 does not overflow.
24950
249512013-09-11 Will Newton <will.newton@linaro.org>
24952
24953 [BZ #15856]
24954 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24955 does not overflow.
24956
249572013-09-11 Will Newton <will.newton@linaro.org>
24958
24959 [BZ #15855]
24960 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24961 does not overflow.
24962
249632013-09-10 Ondřej Bílka <neleai@seznam.cz>
24964
24965 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24970
249712013-09-10 Allan McRae <allan@archlinux.org>
24972
24973 [BZ #15748]
24974 * manual/arith.texi (Parsing of Floats): Clarify
24975 cross-reference.
24976
24977 [BZ #15849]
24978 * manual/install.texi (Running make install): Mention
24979 --enable-pt-chown.
24980 * INSTALL: Regenerated.
24981
249822013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24983
24984 * csu/init-first.c (_init): Remove the !SHARED condition around
24985 FPU control word initialization.
24986 * elf/dl-support.c (_dl_fpu_control): New variable.
24987 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24988 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24989 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24990 * math/test-fpucw-static.c: New file.
24991 * math/test-fpucw-ieee.c: New file.
24992 * math/test-fpucw-ieee-static.c: New file.
24993 * math/Makefile (tests): Add `test-fpucw-ieee' and
24994 `$(tests-static)'.
24995 (tests-static): New variable.
24996 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24997 dependency to...
24998 [($(build-shared),yes)]
24999 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25000 ... this.
25001 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25002 New dependency.
25003
250042013-09-09 Allan McRae <allan@archlinux.org>
25005
25006 [BZ #15939]
25007 * manual/string.texi (Collation Functions): Fix typo in
25008 strcoll example.
25009 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25010
25011 [BZ #15893]
25012 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25013
25014 [BZ #15892]
25015 * libio/memstream.c (open_memstream): Fix memory leak.
25016 * libio/wmemstream.c (open_wmemstream): Likewise.
25017
25018 [BZ #15895]
25019 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25020
250212013-09-09 Will Newton <will.newton@linaro.org>
25022
25023 * malloc/Makefile: Add tst-realloc to tests.
25024 * malloc/tst-realloc.c: New file.
25025
250262013-09-09 Allan McRae <allan@archlinux.org>
25027
25028 [BZ #15844]
25029 * COPYING: Update from GNU website to fix FSF address.
25030 * COPYING.LIB: Likewise.
25031
250322013-09-06 David S. Miller <davem@davemloft.net>
25033
25034 * po/zh_TW.po: Update Chinese (traditional) translation from
25035 translation project.
25036
250372013-09-06 Richard Sandiford <richard@codesourcery.com>
25038 Joseph Myers <joseph@codesourcery.com>
25039
25040 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25041 "localeinfo.h".
25042 (obstack_chunk_alloc): New macro.
25043 (obstack_chunk_free): Likewise.
25044 (record_offset): New function.
25045 (init_locale_data): Likewise.
25046 (align_locale_data): Likewise.
25047 (add_locale_empty): Likewise.
25048 (add_locale_raw_data): Likewise.
25049 (add_locale_raw_obstack): Likewise.
25050 (add_locale_string): Likewise.
25051 (add_locale_wstring): Likewise.
25052 (add_locale_uint32): Likewise.
25053 (add_locale_uint32_array): Likewise.
25054 (add_locale_char): Likewise.
25055 (start_locale_structure): Likewise.
25056 (end_locale_structure): Likewise.
25057 (start_locale_prelude): Likewise.
25058 (end_locale_prelude): Likewise.
25059 (write_locale_data): Take locale_file structure rather than an
25060 iovec.
25061 * locale/programs/locfile.h: Include "obstack.h".
25062 (struct locale_file): Change to store locale file contents instead
25063 of header.
25064 (init_locale_data): New prototype.
25065 (align_locale_data): Likewise.
25066 (add_locale_empty): Likewise.
25067 (add_locale_raw_data): Likewise.
25068 (add_locale_raw_obstack): Likewise.
25069 (add_locale_string): Likewise.
25070 (add_locale_wstring): Likewise.
25071 (add_locale_uint32): Likewise.
25072 (add_locale_uint32_array): Likewise.
25073 (add_locale_char): Likewise.
25074 (start_locale_structure): Likewise.
25075 (end_locale_structure): Likewise.
25076 (start_locale_prelude): Likewise.
25077 (end_locale_prelude): Likewise.
25078 (write_locale_data): Update prototype.
25079 * locale/programs/3level.h (struct TABLE): Remove result field.
25080 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25081 Use new locale_file interface.
25082 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25083 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25084 * locale/programs/ld-address.c (address_output): Use new
25085 locale_file interface.
25086 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25087 NO_ADD_LOCALE.
25088 (collate_finish): Don't call collseq_table_finalize.
25089 (collate_output): Use new locale_file interface.
25090 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25091 in file.
25092 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25093 (TABLE): Move defines earlier in file.
25094 (ELEMENT): Likewise.
25095 (DEFAULT): Likewise.
25096 (wctrans_table_add): Move macro and inline function earlier in
25097 file.
25098 (struct wctype_table): Move type earlier in file.
25099 (add_locale_wctype_table): New static prototype.
25100 (struct locale_ctype_t): Use logical types instead of struct iovec
25101 pointers for members.
25102 (ctype_output): Use new locale_file interface.
25103 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25104 new locale_file interface.
25105 (allocate_arrays): Update for use of new locale_file interface.
25106 * locale/programs/ld-identification.c (identification_output): Use
25107 new locale_file interface.
25108 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25109 * locale/programs/ld-messages.c (messages_output): Likewise.
25110 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25111 * locale/programs/ld-name.c (name_output): Likewise.
25112 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25113 * locale/programs/ld-paper.c (paper_output): Likewise.
25114 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25115 * locale/programs/ld-time.c (time_output): Likewise.
25116
251172013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25118
25119 * benchtests/Makefile: Add memrchr benchmark.
25120 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25121 benchmark as memrchr.
25122 * benchtests/bench-memrchr-ifunc.c: New file.
25123 * benchtests/bench-memrchr.c: New file.
25124
251252013-09-06 Will Newton <will.newton@linaro.org>
25126
25127 * benchtests/Makefile (string-bench): Add memcpy.
25128
251292013-09-05 Carlos O'Donell <carlos@redhat.com>
25130 Cong Wang <amwang@redhat.com>
25131
25132 [BZ #15850]
25133 * sysdeps/unix/sysv/linux/bits/in.h
25134 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25135 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25136 before __USE_KERNEL_IPV6_DEFS uses.
25137 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25138 IPPROTO_BEETPH.
25139 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25140 sockaddr_in6, or ipv6_mreq.
25141
251422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25143
25144 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25145 memory access for final bytes in some large inputs.
25146 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25147
251482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 * string/test-memrchr.c: New file.
25151 * string/test-memrchr-ifunc.c: New file.
25152 * string/Makefile: Add new memrchr testcase.
25153
251542013-09-05 Mike Frysinger <vapier@gentoo.org>
25155
25156 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25157 fanotify_init returns EPERM.
25158
251592013-09-04 Joseph Myers <joseph@codesourcery.com>
25160
25161 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25162 errors.
25163 (top level): Treat second token from macro or constant entries for
25164 allowed headers as allowed.
25165 * include/complex.h: Condition internal declarations on
25166 [!_ISOMAC].
25167 * include/fenv.h: Condition include of <stdbool.h> and internal
25168 declarations on [!_ISOMAC].
25169
251702013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25171
25172 [BZ #15923]
25173 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25174
251752013-09-04 Joseph Myers <joseph@codesourcery.com>
25176
25177 * configure.in (--enable-versioning): Remove configure option.
25178 (libc_cv_asm_symver_directive): Remove configure test.
25179 (libc_cv_ld_version_script_option): Likewise.
25180 (VERSIONING): Remove variable and AC_SUBST.
25181 (DO_VERSIONING): Remove AC_DEFINE.
25182 * configure: Regenerated.
25183 * config.h.in (DO_VERSIONING): Remove macro.
25184 * Makerules [$(versioning) = yes]: Change conditionals to
25185 [$(build-shared) = yes].
25186 * config.make.in (versioning): Remove variable.
25187 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25188 [$(build-shared) = yes].
25189 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25190 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25191 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25192 [$(build-shared) = yes].
25193 * extra-lib.mk [$(versioning) = yes]: Likewise.
25194 * hurd/Makefile [$(versioning) = yes]: Likewise.
25195 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25196 [SHARED].
25197 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25198 [SHARED].
25199 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25200 [SHARED && !NO_HIDDEN].
25201 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25202 [SHARED].
25203 [SHARED && DO_VERSIONING]: Likewise..
25204 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25205 [$(build-shared) = yes].
25206 * manual/install.texi (--disable-versioning): Remove
25207 documentation.
25208 * INSTALL: Regenerated.
25209 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25210 to [SHARED].
25211 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25212 [$(build-shared) = yes].
25213 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25214 * sysdeps/i386/i686/multiarch/strstr-c.c
25215 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25216 [SHARED && !NO_HIDDEN].
25217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25218 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25219 * sysdeps/powerpc/powerpc32/dl-machine.c
25220 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25221 * sysdeps/powerpc/powerpc32/sysdep.h
25222 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25223 to [SHARED && PIC && !NO_HIDDEN].
25224 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25225 conditional to [SHARED].
25226
252272013-09-04 Will Newton <will.newton@linaro.org>
25228
25229 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25230 * benchtests/bench-string.h: Include bench-timing.h instead
25231 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25232 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25233 call to HP_TIMING_DIFF_INIT.
25234 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25235 instead of hp-timing.h macros.
25236 * benchtests/bench-memchr.c: Likewise.
25237 * benchtests/bench-memcmp.c: Likewise.
25238 * benchtests/bench-memcpy.c: Likewise.
25239 * benchtests/bench-memmem.c: Likewise.
25240 * benchtests/bench-memmove.c: Likewise.
25241 * benchtests/bench-memset.c: Likewise.
25242 * benchtests/bench-rawmemchr.c: Likewise.
25243 * benchtests/bench-strcasecmp.c: Likewise.
25244 * benchtests/bench-strcasestr.c: Likewise.
25245 * benchtests/bench-strcat.c: Likewise.
25246 * benchtests/bench-strchr.c: Likewise.
25247 * benchtests/bench-strcmp.c: Likewise.
25248 * benchtests/bench-strcpy.c: Likewise.
25249 * benchtests/bench-strcpy_chk.c: Likewise.
25250 * benchtests/bench-strlen.c: Likewise.
25251 * benchtests/bench-strncasecmp.c: Likewise.
25252 * benchtests/bench-strncat.c: Likewise.
25253 * benchtests/bench-strncmp.c: Likewise.
25254 * benchtests/bench-strncpy.c: Likewise.
25255 * benchtests/bench-strnlen.c: Likewise.
25256 * benchtests/bench-strpbrk.c: Likewise.
25257 * benchtests/bench-strrchr.c: Likewise.
25258 * benchtests/bench-strspn.c: Likewise.
25259 * benchtests/bench-strstr.c: Likewise.
25260
252612013-09-04 Will Newton <will.newton@linaro.org>
25262
25263 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25264
252652013-09-03 Joseph Myers <joseph@codesourcery.com>
25266
25267 [BZ #15427]
25268 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25269 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25270 * math/libm-test.inc (lgamma_test_data): Add more tests.
25271 * sysdeps/i386/fpu/libm-test-ulps: Update.
25272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273
252742013-09-03 Ondřej Bílka <neleai@seznam.cz>
25275
25276 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25278 Add ifunc.
25279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25280 Add strcmp-sse2-unaligned
25281 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25282
252832013-09-02 Mike Frysinger <vapier@gentoo.org>
25284
25285 * Versions.def (libc): Add GLIBC_2.19.
25286
252872013-09-02 Mike Frysinger <vapier@gentoo.org>
25288
25289 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25290 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25291
252922013-09-02 Joseph Myers <joseph@codesourcery.com>
25293
25294 [BZ #14155]
25295 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25296 intermediate calculations in recurrence.
25297 (__ieee754_ynf): Likewise.
25298 * math/libm-test.inc (jn_test_data): Do not allow spurious
25299 underflow exception. Add more tests.
25300 (yn_test_data): Add more tests.
25301 * sysdeps/i386/fpu/libm-test-ulps: Update.
25302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25303
253042013-09-02 Ondřej Bílka <neleai@seznam.cz>
25305
25306 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25307
253082013-08-30 Ondřej Bílka <neleai@seznam.cz>
25309
25310 * csu/init-first.c: Fix then/than typos.
25311 * locale/programs/ld-collate.c: Likewise.
25312 * locale/programs/linereader.h: Likewise.
25313 * manual/charset.texi: Likewise.
25314 * manual/filesys.texi: Likewise.
25315 * manual/stdio.texi: Likewise.
25316 * manual/string.texi: Likewise.
25317 * stdlib/fmtmsg.c: Likewise.
25318 * sysdeps/i386/stpncpy.S: Likewise.
25319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25320 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25321 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25322 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25323
253242013-08-30 Ondřej Bílka <neleai@seznam.cz>
25325
25326 * elf/dl-open.c: Fix typos.
25327 * iconvdata/gbbig5.c: Likewise.
25328 * iconvdata/iso-2022-jp.c: Likewise.
25329 * iconv/gconv_int.h: Likewise.
25330 * iconv/loop.c: Likewise.
25331 * nis/rpcsvc/nis.h: Likewise.
25332 * resolv/ns_name.c: Likewise.
25333 * stdio-common/vfscanf.c: Likewise.
25334 * streams/stropts.h: Likewise.
25335 * sunrpc/rpc_thread.c: Likewise.
25336 * sysdeps/i386/strpbrk.S: Likewise.
25337 * sysdeps/ieee754/k_standard.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25340 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25341 * sysdeps/mach/hurd/profil.c: Likewise.
25342 * sysdeps/s390/dl-procinfo.h: Likewise.
25343 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25344 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25345 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25346 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25348
253492013-08-30 Ondřej Bílka <neleai@seznam.cz>
25350
25351 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25353
253542013-08-29 Ondřej Bílka <neleai@seznam.cz>
25355
25356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25357 aix specific files.
25358 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25359 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25360 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25361 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25362 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25363 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25364 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25365 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25366
253672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25368 Roland McGrath <roland@hack.frob.com>
25369
25370 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25371 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25372
253732013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25374
25375 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25376 __executable_start symbol instead of _start.
25377
253782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25379
25380 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25381 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25382 Move macros to...
25383 * sysdeps/gnu/ldsodefs.h: ... this new file.
25384
25385 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25386 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25387 instead of ELFOSABI_LINUX.
25388
25389 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25390 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25391 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25392 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25393 Likewise.
25394 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25395 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25397 Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25399 (ibm_extended_long_double): Add ieee_nan member.
25400 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25401 (do_test): New function.
25402
25403 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25404 TEST_TRUNC.
25405 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25406 functions, renamed from truncdfsf_test, trunctfsf_test,
25407 trunctfdf_test.
25408 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25409 functions.
25410 (do_test): Run all these.
25411
254122013-08-29 Ondřej Bílka <neleai@seznam.cz>
25413
25414 * argp/argp-help.c: Fix typos.
25415 * argp/argp-parse.c: Likewise.
25416 * debug/backtracesyms.c: Likewise.
25417 * elf/elf.h: Likewise.
25418 * malloc/malloc.c: Likewise.
25419 * nis/nis_print.c: Likewise.
25420 * resolv/res_comp.c: Likewise.
25421 * stdlib/stdlib.h: Likewise.
25422 * sunrpc/clnt_tcp.c: Likewise.
25423 * sunrpc/clnt_udp.c: Likewise.
25424 * sunrpc/clnt_unix.c: Likewise.
25425 * sysdeps/unix/bsd/ptsname.c: Likewise.
25426 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25427 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25429 Likewise.
25430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25431 Likewise.
25432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25433 Likewise.
25434 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25435
254362013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25437
25438 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25440
254412013-08-27 Mike Frysinger <vapier@gentoo.org>
25442
25443 [BZ #15897]
25444 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25445 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25446 ($(objpfx)bug-dl-leaf): New rule.
25447 ($(objpfx)bug-dl-leaf.so): Likewise.
25448 ($(objpfx)bug-dl-leaf.out): Likewise.
25449 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25450 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25451 * dlfcn/bug-dl-leaf.c: New test.
25452 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25453 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25454 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25455 (dlclose): Likewise.
25456 (dlmopen): Likewise.
25457
254582013-08-27 Roland McGrath <roland@hack.frob.com>
25459
25460 * include/netdb.h [!_ISOMAC]:
25461 Don't include <tls.h>.
25462 (h_errno, __libc_h_errno): Move declaration and macros out of
25463 [_LIBC_REENTRANT].
25464
25465 * include/resolv.h [_RESOLV_H_]:
25466 Don't include <tls.h>.
25467 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25468 * resolv/res_libc.c: Don't include <tls.h>.
25469 (_res): Use __attribute__ ((nocommon)) in place of
25470 __attribute__ ((section (".bss"))).
25471
25472 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25473 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25474
25475 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25476
25477 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25478 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25479
25480 * resolv/res_mkquery.c: Include <sys/time.h>.
25481
25482 * inet/ifreq.c: Moved to ...
25483 * sysdeps/unix/ifreq.c: ... here.
25484 * inet/ifreq.c: New file, true stub version.
25485
25486 * socket/sa_len.c: New file.
25487 * socket/Makefile (aux): Add it.
25488 * sysdeps/unix/sysv/linux/Makefile
25489 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25490 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25491 and #include <socket/sa_len.c>.
25492 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25493 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25494
25495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25496 * bits/socket.h: ... here.
25497
25498 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25499 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25500 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25501
255022013-08-27 Andreas Schwab <schwab@suse.de>
25503
25504 [BZ #15736]
25505 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25506 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25507 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25508 * string/test-strcasecmp.c (test_main): Run tests in several
25509 locales.
25510 * string/test-strncasecmp.c (test_main): Likewise.
25511
25512 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25513 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25514 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25516 (__strncasecmp_ssse3) [PIC]: Likewise.
25517
255182013-08-26 Roland McGrath <roland@hack.frob.com>
25519
25520 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25521
25522 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25523 instead of explicitly declaring xdecrypt.
25524 * nis/nss_nis/nis-publickey.c: Likewise.
25525
255262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25527
25528 [BZ #15890]
25529 * nscd/aicache.c: Include res_hconf.h.
25530 (addhstaiX): Initialize res_hconf.
25531
255322013-08-26 Andreas Schwab <schwab@suse.de>
25533
25534 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25535 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25536
255372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25538
25539 * nscd/aicache.c (addhstaiX): Fix indentation.
25540
255412013-08-25 Mike Frysinger <vapier@gentoo.org>
25542
25543 * configure.ac: Quote $build_pt_chown test.
25544 * configure: Regenerated.
25545
255462013-08-23 Joseph Myers <joseph@codesourcery.com>
25547
25548 [BZ #15532]
25549 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25550 * math/s_cexpf.c (__cexpf): Likewise.
25551 * math/s_cexpl.c (__cexpl): Likewise.
25552 * math/libm-test.inc (cexp_test_data): Correct expected return
25553 value for NaN + i0. Add another test.
25554
255552013-08-22 David S. Miller <davem@davemloft.net>
25556
25557 * po/ca.po: Update Catalan translation from translation project.
25558 * po/uk.po: Add Ukrainian translations from translation project.
25559
255602013-08-21 Joseph Myers <joseph@codesourcery.com>
25561
25562 [BZ #15797]
25563 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25564 is infinite, not alongside NaN test.
25565 * math/s_fdimf.c (__fdimf): Likewise.
25566 * math/s_fdiml.c (__fdiml): Likewise.
25567 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25568 errno is unchanged.
25569
255702013-08-21 Ondřej Bílka <neleai@seznam.cz>
25571
25572 * argp/argp-help.c: Fix typos.
25573 * crypt/speeds.c: Likewise.
25574 * csu/check_fds.c: Likewise.
25575 * elf/dl-load.c: Likewise.
25576 * elf/dl-open.c: Likewise.
25577 * elf/reldep3.c: Likewise.
25578 * elf/reldep.c: Likewise.
25579 * elf/sprof.c: Likewise.
25580 * iconv/iconv_charmap.c: Likewise.
25581 * iconv/skeleton.c: Likewise.
25582 * iconv/strtab.c: Likewise.
25583 * io/lockf64.c: Likewise.
25584 * libio/libioP.h: Likewise.
25585 * resolv/gai_notify.c: Likewise.
25586 * resolv/ns_name.c: Likewise.
25587 * resolv/ns_samedomain.c: Likewise.
25588 * resolv/res_send.c: Likewise.
25589 * stdlib/random.c: Likewise.
25590 * sunrpc/rpc/xdr.h: Likewise.
25591 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25593 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25594 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25596 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25599 * sysdeps/mach/hurd/check_fds.c: Likewise.
25600 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25601 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25604 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25605 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25606 * sysdeps/pthread/aio_notify.c: Likewise.
25607 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25608 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25609 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25611 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25612
256132013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25614
25615 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25616 version if bit_Slow_SSE4_2 is set.
25617 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25618 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25619
256202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25621
25622 [BZ #15867]
25623 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25624 trampoline stack frame information.
25625 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25627 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25628 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25629 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25630 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25631 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25632 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25633 sa_flags value.
25634 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25635 interrupting a syscall and set with option SA_SIGINFO.
25636
256372013-08-20 Joseph Myers <joseph@codesourcery.com>
25638
25639 [BZ #15531]
25640 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25641 argument is infinite.
25642 * math/s_cprojf.c (__cprojf): Likewise.
25643 * math/s_cprojl.c (__cprojl): Likewise.
25644 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25645 * math/libm-test.inc (cproj_test_data): Add more tests.
25646
25647 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25648
25649 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25650 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25651 size. Use __ffs to determine corresponding shift.
25652
256532013-08-20 Joseph Myers <joseph@codesourcery.com>
25654 Roland McGrath <roland@hack.frob.com>
25655
25656 * Makefile (INSTALL): Remove trailing blank lines from output of
25657 makeinfo.
25658
256592013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25660
25661 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25662 Align 32 bit compat elf_greg to 8 bytes.
25663
256642013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25665
25666 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25667
256682013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25669
25670 * string/strcoll_l.c (coll_seq): New structure.
25671 (get_next_seq_cached): New function.
25672 (get_next_seq): New function.
25673 (do_compare): New function.
25674 (STRCOLL): Use GNU style definition. Simplify implementation
25675 by using get_next_seq, get_next_seq_cached and do_compare.
25676
256772013-08-16 Florian Weimer <fweimer@redhat.com>
25678
25679 [BZ #14699]
25680 CVE-2013-4237
25681 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25682 member.
25683 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25684 member.
25685 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25686 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25687 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25688 conditional.
25689 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25690 GETDENTS_64BIT_ALIGNED.
25691 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25692 * manual/filesys.texi (Reading/Closing Directory): Document
25693 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25694 strongly.
25695 * manual/conf.texi (Limits for Files): Add portability note to
25696 NAME_MAX, PATH_MAX.
25697 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25698
256992013-08-13 Andreas Schwab <schwab@suse.de>
25700
25701 [BZ #15749]
25702 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25703 of fabs.
25704 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25705 LDBL_MAX_EXP >= 16384]: Add tests for it.
25706
257072013-08-12 David S. Miller <davem@davemloft.net>
25708
25709 * version.h (RELEASE): Set to "development".
25710 (VERSION): Set to "2.18.90".
25711 * NEWS: Add 2.19 section.
25712
257132013-08-03 David S. Miller <davem@davemloft.net>
25714
25715 * po/ko.po: Update Korean translation from translation project.
25716
257172013-08-01 David S. Miller <davem@davemloft.net>
25718
25719 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25720 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25721 Bilka.
25722
257232013-07-30 David S. Miller <davem@davemloft.net>
25724
25725 * po/fr.po: Update French translation from translation project.
25726
257272013-07-28 David S. Miller <davem@davemloft.net>
25728
25729 * po/cs.po: Update Czech translation from translation project.
25730
25731 * po/sv.po: Update Swedish translation from translation project.
25732
257332013-07-27 David S. Miller <davem@davemloft.net>
25734
25735 * po/eo.po: Update Esperanto translation from translation project.
25736
25737 * po/vi.po: Update Vietnamese translation from translation project.
25738
25739 * po/de.po: Update German translation from translation project.
25740
257412013-07-26 David S. Miller <davem@davemloft.net>
25742
25743 * po/bg.po: Update Bulgarian translation from translation project.
25744
25745 * po/nl.po: Update Dutch translation from translation project.
25746 * po/pl.po: Update Polish translation from translation project.
25747 * po/ru.po: Update Russian translation from translation project.
25748
257492013-07-24 David S. Miller <davem@davemloft.net>
25750
25751 * po/libc.pot: Update.
25752
257532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25754
25755 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25756 variable page size.
25757 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25758 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25759 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25760
257612013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25762
25763 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25764
257652013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25766 Andreas Schwab <schwab@suse.de>
25767 Roland McGrath <roland@hack.frob.com>
25768 Joseph Myers <joseph@codesourcery.com>
25769 Carlos O'Donell <carlos@redhat.com>
25770
25771 [BZ #15755]
25772 * config.h.in: Define HAVE_PT_CHOWN.
25773 * config.make.in (build-pt-chown): New variable.
25774 * configure.in (--enable-pt_chown): New configure option.
25775 * configure: Regenerate.
25776 * login/Makefile: Include Makeconfig. Build pt_chown only if
25777 build-pt-chown is enabled.
25778 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25779 pt_chown to fix pty ownership.
25780 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25781 CLOSE_ALL_FDS.
25782 * manual/install.texi (Configuring and compiling): Mention
25783 --enable-pt_chown. Add @findex for grantpt.
25784 * INSTALL: Regenerate.
25785
257862013-07-20 David S. Miller <davem@davemloft.net>
25787
25788 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25789 difference between 32-bit and 64-bit.
25790
257912013-07-15 Carlos O'Donell <carlos@redhat.com>
25792
25793 [BZ #15711]
25794 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25795 Avoid system header dependency with -ffreestanding.
25796 ($(objpfx)bits/syscall%d): Likewise.
25797
257982013-07-13 David S. Miller <davem@davemloft.net>
25799
25800 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25801 underflows from atanl/atan2l due to bug 15319.
25802 (casinh_test_data): Likewise.
25803
258042013-07-07 David S. Miller <davem@davemloft.net>
25805
25806 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25807
258082013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25809
25810 * sysdeps/i386/fpu/libm-test-ulps: Update.
25811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25812
258132013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25814
25815 * configure.in (--enable-lock-elision): Fix message text.
25816 * INSTALL: Regenerate.
25817 * configure: Regenerate.
25818
258192013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25820
25821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25822
258232013-07-03 Andreas Jaeger <aj@suse.de>
25824
25825 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25826 define.
25827 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25828 (ptrace_peeksiginfo_args): Add.
25829 (__ptrace_peeksiginfo_flags): Add.
25830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25831 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25833
258342013-07-03 Allan McRae <allan@archlinux.org>
25835
25836 * sysdeps/i386/fpu/libm-test-ulps: Update.
25837
258382013-07-02 David S. Miller <davem@davemloft.net>
25839
25840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25841
258422013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25843
25844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25845
258462013-07-02 Joseph Myers <joseph@codesourcery.com>
25847
25848 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25850
258512013-07-02 Andi Kleen <ak@linux.intel.com>
25852
25853 * config.h.in (ENABLE_LOCK_ELISION): Add.
25854 * configure.in (--enable-lock-elision): Add option.
25855 * manual/install.texi: Document --enable lock elision.
25856 * configure: Regenerate
25857 * INSTALL: Regenerate.
25858
258592013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25862 SSE4.2 strcasecmp for libc.a.
25863 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25864
258652013-07-02 Joseph Myers <joseph@codesourcery.com>
25866
25867 [BZ #13304]
25868 * soft-fp/op-common.h (_FP_FMA): New macro.
25869 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25870 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25871 (_FP_MUL_MEAT_1_imm): ... here.
25872 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25873 (_FP_MUL_MEAT_1_wide): ... here.
25874 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25875 (_FP_MUL_MEAT_1_hard): ... here.
25876 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25877 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25878 (_FP_MUL_MEAT_2_wide): ... here.
25879 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25880 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25881 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25882 (_FP_MUL_MEAT_2_gmp): ... here.
25883 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25884 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25885 (_FP_MUL_MEAT_4_wide): ... here.
25886 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25887 (_FP_MUL_MEAT_4_gmp): ... here.
25888 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25889 (_FP_WFRACBITS_DW_S): Likewise.
25890 (_FP_WFRACXBITS_DW_S): Likewise.
25891 (_FP_HIGHBIT_DW_S): Likewise.
25892 (FP_FMA_S): Likewise.
25893 (_FP_FRAC_HIGH_DW_S): Likewise.
25894 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25895 (_FP_WFRACBITS_DW_D): Likewise.
25896 (_FP_WFRACXBITS_DW_D): Likewise.
25897 (_FP_HIGHBIT_DW_D): Likewise.
25898 (FP_FMA_D): Likewise.
25899 (_FP_FRAC_HIGH_DW_D): Likewise.
25900 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25901 (_FP_WFRACBITS_DW_E): Likewise.
25902 (_FP_WFRACXBITS_DW_E): Likewise.
25903 (_FP_HIGHBIT_DW_E): Likewise.
25904 (FP_FMA_E): Likewise.
25905 (_FP_FRAC_HIGH_DW_E): Likewise.
25906 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25907 (_FP_WFRACBITS_DW_Q): Likewise.
25908 (_FP_WFRACXBITS_DW_Q): Likewise.
25909 (_FP_HIGHBIT_DW_Q): Likewise.
25910 (FP_FMA_Q): Likewise.
25911 (_FP_FRAC_HIGH_DW_Q): Likewise.
25912 * soft-fp/fmasf4.c: New file.
25913 * soft-fp/fmadf4.c: Likewise.
25914 * soft-fp/fmatf4.c: Likewise.
25915
259162013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25917
25918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25919 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25920 Silvermont.
25921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25922 macro.
25923 (index_Slow_SSE4_2): Likewise.
25924 (index_Prefer_PMINUB_for_stringop): Likewise.
25925 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25926 bit_Slow_SSE4_2 is set.
25927 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25928 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25929
259302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25931
25932 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25933 rtld_global._dl_hwcap2.
25934 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25935 POWER8.
25936 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25937 POWER8 feature descriptions defined in _dl_hwcap2.
25938 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25939 string handling for POWER8 feature bits.
25940 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25941 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25942 _dl_powerpc_cap_flags.
25943 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25944 * sysdeps/powerpc/rtld-global-offsets.sym
25945 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25946 _dl_hwcap2 in the rtld_global_ro structure.
25947
259482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25949
25950 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25951 hardware capabilities in support of AT_HWCAP2.
25952 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25953 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25954 GLRO(dl_hwcap2).
25955 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25956 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25957 explicitly the unknown a_type display mechanism is used.
25958 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25959 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25960 struct member.
25961 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25962 to macro prototype for AT_HWCAP2 support.
25963 * sysdeps/i386/dl-procinfo.h: Likewise.
25964 * sysdeps/s390/dl-procinfo.h: Likewise.
25965 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25966 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25967 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25968 return -1 for unknown a_type display fallback.
25969 * sysdeps/sparc/dl-procinfo.h: Likewise.
25970 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25971 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25972
259732013-06-28 Joseph Myers <joseph@codesourcery.com>
25974
25975 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25976 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25977
259782013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25979
25980 [BZ #12492]
25981 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25982 mprotect making __stack_prot writable.
25983
259842013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25985 Joseph Myers <joseph@codesourcery.com>
25986
25987 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25988 as being properly aligned.
25989
259902013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25991
25992 * dlfcn/modstatic5.c: New file.
25993 * dlfcn/tststatic5.c: New file.
25994 * dlfcn/Makefile (tests): Add tststatic5.
25995 (tests-static): Likewise.
25996 (modules-names): Add modstatic5.
25997 (tststatic5-ENV): New variable.
25998 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25999
26000 [BZ #15022]
26001 * elf/dl-support.c (_dl_main_map): New variable.
26002 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26003 (_dl_nns, _dl_load_adds): Set to 1.
26004 (_dl_initial_searchlist): Refer to _dl_main_map.
26005 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26006 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26007 call to _dl_get_origin.
26008 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26009 around call_map.
26010 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26011 * dlfcn/modstatic3.c: New file.
26012 * dlfcn/tststatic3.c: New file.
26013 * dlfcn/tststatic4.c: New file.
26014 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26015 (tests-static): Likewise.
26016 (modules-names): Add modstatic3.
26017 (tststatic3-ENV, tststatic4-ENV): New variables.
26018 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26019 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26020
260212013-06-26 Joseph Myers <joseph@codesourcery.com>
26022
26023 * configure.in (CC): Require GCC version 4.4 or later.
26024 * configure: Regenerated.
26025 * manual/install.texi (Tools for Compilation): Update GCC version
26026 requirement.
26027 * INSTALL: Regenerated.
26028
260292013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26030
26031 [BZ #15674]
26032 * string/test-memcmp.c (check2): New.
26033 (main): Call check2.
26034
26035 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26036
260372013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26038
26039 [BZ #15022]
26040 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26041 over to...
26042 (dl_open_worker) [!SHARED]: ... here.
26043
260442013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26045
26046 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26047
260482013-06-25 Richard Henderson <rth@redhat.com>
26049
26050 * locale/programs/locarchive.c: Include <libc-internal.h>
26051
260522013-06-25 Joseph Myers <joseph@codesourcery.com>
26053
26054 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26055 trailing whitespace removed.
26056
260572013-06-24 Mike Frysinger <vapier@gentoo.org>
26058
26059 [BZ #10283]
26060 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26061 * locale/programs/locarchive.c: Include libc-mmap.h.
26062 (prepare_address_space): Take two new outputs (the mmap base and len).
26063 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26064 values.
26065 (create_archive): Declare new mmap base and len values for
26066 prepare_address_space, and store the result in ah.
26067 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26068 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26069 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26070 Declare new mmap base and len values for
26071 prepare_address_space, and store the result in new_ah.
26072 (open_archive): Declare new mmap base and len values for
26073 prepare_address_space, and store the result in ah.
26074 (close_archive): If ah->mmap_base is not NULL, use that and
26075 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26076 * sysdeps/generic/libc-mmap.h: New file.
26077
260782013-06-24 Mike Frysinger <vapier@gentoo.org>
26079
26080 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26081 (ALIGN_UP): Likewise.
26082 (PTR_ALIGN_DOWN): Likewise.
26083 (PTR_ALIGN_UP): Likewise.
26084
260852013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26086
26087 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26088 entry mapped to PPC_PLATFORM_POWER8.
26089 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26090 POWER8.
26091 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26092 (_dl_string_platform): Add case for exporting platform position for
26093 POWER8.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26095 search path to sysdeps/powerpc/powerpc32/power8 directory.
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26097 search path to sysdeps/powerpc/powerpc64/power8 directory.
26098 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26099 power7 directories.
26100 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26101 power7 directories.
26102
261032013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26104
26105 * INSTALL: Regenerate.
26106
26107 * nscd/connections.c (nscd_init): Fix comment.
26108
261092013-06-22 Joseph Myers <joseph@codesourcery.com>
26110
26111 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26112
26113 [BZ #15667]
26114 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26115 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26116
261172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26118
26119 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26120 DL_DST_REQ_STATIC.
26121 (DL_DST_REQ_STATIC): Remove macro.
26122
261232013-06-21 Joseph Myers <joseph@codesourcery.com>
26124
26125 [BZ #7006]
26126 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26127 with a shift of 0 bits.
26128
261292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26130
26131 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26132 $(tststatic-ENV).
26133
261342013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26135
26136 [BZ #15655]
26137 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26138
261392013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26140
26141 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26142 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26143 accepts -fno-tree-loop-distribute-patterns.
26144 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26145 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26146 recursive call.
26147 * string/memset.c (memset): Likewise.
26148 * string/test-memmove.c (simple_memmove): Disable loop transformation
26149 to library calls.
26150 * string/test-memset.c (simple_memset): Likewise.
26151 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26152 * benchtests/bench-memset.c (simple_memset): Likewise.
26153 * configure: Regenerated.
26154
261552013-06-20 Joseph Myers <joseph@codesourcery.com>
26156
26157 * math/test-misc.c (main): Ignore fesetround failure when failures
26158 of subsequent rounding tests would be ignored.
26159
26160 [BZ #15654]
26161 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26162 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26163 * math/fegetenv.c (__fegetenv): Return 0.
26164 * math/fegetexcept.c (fegetexcept): Return 0.
26165 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26166 FE_TONEAREST.
26167 * math/feholdexcpt.c (feholdexcept): Return 0.
26168 * math/fesetenv.c (__fesetenv): Return 0.
26169 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26170 argument FE_TONEAREST.
26171 * math/feupdateenv.c (__feupdateenv): Return 0.
26172 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26173
261742013-06-18 Roland McGrath <roland@hack.frob.com>
26175
26176 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26177 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26178 ($(objpfx)rtld-%.os rules): Use them.
26179
261802013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26181
26182 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26183 fields.
26184
261852013-06-17 Roland McGrath <roland@hack.frob.com>
26186
26187 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26188 length of target pattern, then descending length of dependency pattern.
26189 * configure.in (AWK): Require gawk 3.1.2 or newer.
26190 * manual/install.texi (Tools for Compilation): Say that we do.
26191 * configure: Regenerated.
26192
26193 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26194 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26195 * scripts/sysd-rules.awk: ... this new script.
26196 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26197 than a glob-style pattern.
26198
261992013-06-17 Joseph Myers <joseph@codesourcery.com>
26200
26201 * math/test-misc.c (main): Do not treat incorrectly rounded
26202 conversions as failure unless ROUNDING_TESTS passes.
26203
262042013-06-15 Joseph Myers <joseph@codesourcery.com>
26205
26206 [BZ #15631]
26207 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26208 restore exception state around main square root computation, then
26209 check for inexactness explicitly.
26210
26211 * math/libm-test.inc (fma_test_data): Add another test.
26212
262132013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26214
26215 * manual/threads.texi (Non-POSIX Extensions): New document
26216 node. Document pthread_getattr_default_np and
26217 pthread_setattr_default_np.
26218
26219 * Versions.def (libpthread): Add GLIBC_2.18.
26220 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26222 Likewise.
26223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26224 Likewise.
26225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26226 Likewise.
26227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26228 Likewise.
26229 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26230 Likewise.
26231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26232 Likewise.
26233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26234 Likewise.
26235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26236 Likewise.
26237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26238 Likewise.
26239
262402013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26241
26242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26243 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26244
262452013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26246 H.J. Lu <hjl.tools@gmail.com>
26247
26248 [BZ #15627]
26249 * sysdeps/x86_64/rtld-memset.c: Remove file.
26250 * sysdeps/x86_64/rtld-memset.S: New file.
26251
262522013-06-14 Joseph Myers <joseph@codesourcery.com>
26253
26254 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26255 (test_in_one_mode): Take arguments for whether the rounding mode
26256 is supported for each floating-point type.
26257 (do_test): Pass new arguments to test_in_one_mode using
26258 ROUNDING_TESTS.
26259
262602013-06-13 Roland McGrath <roland@hack.frob.com>
26261
26262 * posix/tst-waitid.c (do_test): Distinguish different instances of
26263 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26264 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26265 before entering the kernel for waitpid.
26266
262672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26268
26269 * NEWS: Fix note on clock function precision. Text by Roland
26270 McGrath.
26271
262722013-06-13 Roland McGrath <roland@hack.frob.com>
26273
26274 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26275 it into place only when and if the sanity check passes.
26276
262772013-06-13 Joseph Myers <joseph@codesourcery.com>
26278
26279 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26280 output for whether conversion result is exact. Take argument
26281 indicating whether type is IBM long double.
26282 (round_for_all): Change need_exact field to ibm_ld.
26283 * stdlib/tst-strtod-round.c (struct exactness): New type.
26284 (struct test): Change bool ld_ok field to struct exactness exact.
26285 (TEST): Update all definitions for change to field.
26286 (tests): Regenerate array contents.
26287 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26288 field value. Check for IBM long double here.
26289 (do_test): Update calls to test_in_one_mode.
26290
262912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26292
26293 [BZ #12515]
26294 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26295 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26296
262972013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26298
26299 [BZ #15605]
26300 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26301 generated by the compiler on loop optimizations.
26302 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26303 general definitions.
26304
263052013-06-12 Joseph Myers <joseph@codesourcery.com>
26306
26307 * math/bug-nextafter.c: Include <math-tests.h>.
26308 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26309 the relevant type.
26310 * math/bug-nexttoward.c: Include <math-tests.h>.
26311 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26312 the relevant type.
26313 * math/test-misc.c: Include <math-tests.h>.
26314 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26315 the relevant type.
26316
263172013-06-12 Andreas Jaeger <aj@suse.de>
26318
26319 * po/ia.po: Update Interlingua translation from translation
26320 project.
26321
263222013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26323
26324 * include/fenv.h: Include stdbool.h.
26325 (struct rm_ctx): New structure.
26326 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26327 Define macro.
26328 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26329 (SET_RESTORE_ROUNDF): Likewise.
26330 (SET_RESTORE_ROUNDL): Likewise.
26331 (SET_RESTORE_ROUND_NOEX): Likewise.
26332 (SET_RESTORE_ROUND_NOEXF): Likewise.
26333 (SET_RESTORE_ROUND_NOEXL): Likewise.
26334 (SET_RESTORE_ROUND_53BIT): Likewise.
26335 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26336 (libc_feresetround_noexf_ctx): Likewise.
26337 (libc_feresetround_noexl_ctx): Likewise.
26338 (libc_feholdsetround_53bit_ctx): Likewise.
26339 (libc_feresetround_53bit_ctx): Likewise.
26340 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26341 (libc_feholdexcept_setround_sse_ctx): New function.
26342 (libc_fesetenv_sse_ctx): Likewise.
26343 (libc_feupdateenv_sse_ctx): Likewise.
26344 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26345 (libc_feholdexcept_setround_387_ctx): Likewise.
26346 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26347 (libc_feholdsetround_387_prec_ctx): Likewise.
26348 (libc_feholdsetround_387_ctx): Likewise.
26349 (libc_feholdsetround_387_53bit_ctx): Likewise.
26350 (libc_feholdsetround_sse_ctx): Likewise.
26351 (libc_feresetround_sse_ctx): Likewise.
26352 (libc_feresetround_387_ctx): Likewise.
26353 (libc_feupdateenv_387_ctx): Likewise.
26354 (libc_feholdexcept_setroundf_ctx): Define macro.
26355 (libc_fesetenvf_ctx): Likewise.
26356 (libc_feupdateenvf_ctx): Likewise.
26357 (libc_feholdsetroundf_ctx): Likewise.
26358 (libc_feresetroundf_ctx): Likewise.
26359 (libc_feholdexcept_setround_ctx): Likewise.
26360 (libc_fesetenv_ctx): Likewise.
26361 (libc_feupdateenv_ctx): Likewise.
26362 (libc_feholdsetround_ctx): Likewise.
26363 (libc_feresetround_ctx): Likewise.
26364 (libc_feholdexcept_setroundl_ctx): Likewise.
26365 (libc_feupdateenvl_ctx): Likewise.
26366 (libc_feholdsetroundl_ctx): Likewise.
26367 (libc_feresetroundl_ctx): Likewise.
26368 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26369 (libc_feresetround_53bit_ctx): Likewise.
26370
263712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26372
26373 * locale/iso-639.def: Convert to UTF-8.
26374
263752013-06-11 Joseph Myers <joseph@codesourcery.com>
26376
26377 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26378 (EXCEPTION_TESTS_double): Likewise.
26379 (EXCEPTION_TESTS_long_double): Likewise.
26380 (EXCEPTION_TESTS): Likewise.
26381 * math/libm-test.inc (test_exceptions): Only test exceptions if
26382 EXCEPTION_TESTS (FLOAT).
26383
263842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26385
26386 * benchtests/Makefile (string-bench): Add strcpy_chk and
26387 stpcpy_chk.
26388 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26389 * benchtests/bench-stpcpy_chk.c: New file.
26390 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26391 * benchtests/bench-strcpy_chk.c: New file.
26392 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26393 code.
26394 (do_test): Likewise.
26395
263962013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26397
26398 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26399 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26400 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26401 with tabs where appropriate.
26402 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26403 dl-procinfo.h.
26404 [PPC_PLATFORM_PPC440]: Likewise.
26405 [PPC_PLATFORM_PPC464]: Likewise.
26406 [PPC_PLATFORM_PPC476]: Likewise.
26407 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26408 ppc464, and ppc476 platform strings merging from ports/
26409 dl-procinfo.h.
26410
264112013-06-11 Andreas Schwab <schwab@suse.de>
26412
26413 [BZ #14991]
26414 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26415 (from_ucs4_idx): Regenerate.
26416 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26417 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26418 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26419 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26420 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26421 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26422 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26423 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26424 from FROM_LOOP and TO_LOOP specific macros.
26425 (BODY): Handle combining characters.
26426 * iconvdata/BIG5HKSCS.irreversible: Update.
26427 * iconvdata/BIG5HKSCS.precomposed: New file.
26428 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26429 characters.
26430 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26431
264322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26433
26434 * include/sys/time.h: Fix indentation and add copyright header.
26435
26436 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26437 (do_test): Likewise.
26438 * string/test-memchr.c (do_one_test): Likewise.
26439 (do_test): Likewise.
26440 * string/test-memcmp.c (do_one_test): Likewise.
26441 (do_test): Likewise.
26442 * string/test-memcpy.c (do_one_test): Likewise.
26443 (do_test): Likewise.
26444 * string/test-memmem.c (do_one_test): Likewise.
26445 (do_test): Likewise.
26446 (do_random_tests): Likewise.
26447 * string/test-memmove.c (do_one_test): Likewise.
26448 (do_test): Likewise.
26449 * string/test-memset.c (do_one_test): Likewise.
26450 (do_test): Likewise.
26451 * string/test-rawmemchr.c (do_one_test): Likewise.
26452 (do_test): Likewise.
26453 * string/test-strcasecmp.c (do_one_test): Likewise.
26454 (do_test): Likewise.
26455 * string/test-strcasestr.c (do_one_test): Likewise.
26456 (do_test): Likewise.
26457 * string/test-strcat.c (do_one_test): Likewise.
26458 (do_test): Likewise.
26459 * string/test-strchr.c (do_one_test): Likewise.
26460 (do_test): Likewise.
26461 * string/test-strcmp.c (do_one_test): Likewise.
26462 (do_test): Likewise.
26463 * string/test-strcpy.c (do_one_test): Likewise.
26464 (do_test): Likewise.
26465 * string/test-string.h: Likewise.
26466 (test_init): Likewise.
26467 * string/test-strlen.c (do_one_test): Likewise.
26468 (do_test): Likewise.
26469 * string/test-strncasecmp.c (do_one_test): Likewise.
26470 (do_test): Likewise.
26471 * string/test-strncat.c (do_one_test): Likewise.
26472 (do_test): Likewise.
26473 * string/test-strncmp.c (do_one_test): Likewise.
26474 (do_test_limit): Likewise.
26475 (do_test): Likewise.
26476 * string/test-strncpy.c (do_one_test): Likewise.
26477 (do_test): Likewise.
26478 * string/test-strnlen.c (do_one_test): Likewise.
26479 (do_test): Likewise.
26480 * string/test-strpbrk.c (do_one_test): Likewise.
26481 (do_test): Likewise.
26482 * string/test-strrchr.c (do_one_test): Likewise.
26483 (do_test): Likewise.
26484 * string/test-strspn.c (do_one_test): Likewise.
26485 (do_test): Likewise.
26486 * string/test-strstr.c (do_one_test): Likewise.
26487 (do_test): Likewise.
26488
26489 * benchtests/Makefile (string-bench): Add string benchmarks.
26490 * benchtests/bench-bcopy-ifunc.c: New file.
26491 * benchtests/bench-bcopy.c: New file.
26492 * benchtests/bench-bzero-ifunc.c: New file.
26493 * benchtests/bench-bzero.c: New file.
26494 * benchtests/bench-memccpy-ifunc.c: New file.
26495 * benchtests/bench-memccpy.c: New file.
26496 * benchtests/bench-memchr-ifunc.c: New file.
26497 * benchtests/bench-memchr.c: New file.
26498 * benchtests/bench-memcmp-ifunc.c: New file.
26499 * benchtests/bench-memcmp.c: New file.
26500 * benchtests/bench-memmem-ifunc.c: New file.
26501 * benchtests/bench-memmem.c: New file.
26502 * benchtests/bench-memmove-ifunc.c: New file.
26503 * benchtests/bench-memmove.c: New file.
26504 * benchtests/bench-mempcpy-ifunc.c: New file.
26505 * benchtests/bench-mempcpy.c: New file.
26506 * benchtests/bench-memset-ifunc.c: New file.
26507 * benchtests/bench-memset.c: New file.
26508 * benchtests/bench-rawmemchr-ifunc.c: New file.
26509 * benchtests/bench-rawmemchr.c: New file.
26510 * benchtests/bench-stpcpy-ifunc.c: New file.
26511 * benchtests/bench-stpcpy.c: New file.
26512 * benchtests/bench-stpncpy-ifunc.c: New file.
26513 * benchtests/bench-stpncpy.c: New file.
26514 * benchtests/bench-strcasecmp-ifunc.c: New file.
26515 * benchtests/bench-strcasecmp.c: New file.
26516 * benchtests/bench-strcasestr-ifunc.c: New file.
26517 * benchtests/bench-strcasestr.c: New file.
26518 * benchtests/bench-strcat-ifunc.c: New file.
26519 * benchtests/bench-strcat.c: New file.
26520 * benchtests/bench-strchr-ifunc.c: New file.
26521 * benchtests/bench-strchr.c: New file.
26522 * benchtests/bench-strchrnul-ifunc.c: New file.
26523 * benchtests/bench-strchrnul.c: New file.
26524 * benchtests/bench-strcmp-ifunc.c: New file.
26525 * benchtests/bench-strcmp.c: New file.
26526 * benchtests/bench-strcpy-ifunc.c: New file.
26527 * benchtests/bench-strcpy.c: New file.
26528 * benchtests/bench-strcspn-ifunc.c: New file.
26529 * benchtests/bench-strcspn.c: New file.
26530 * benchtests/bench-strlen-ifunc.c: New file.
26531 * benchtests/bench-strlen.c: New file.
26532 * benchtests/bench-strncasecmp-ifunc.c: New file.
26533 * benchtests/bench-strncasecmp.c: New file.
26534 * benchtests/bench-strncat-ifunc.c: New file.
26535 * benchtests/bench-strncat.c: New file.
26536 * benchtests/bench-strncmp-ifunc.c: New file.
26537 * benchtests/bench-strncmp.c: New file.
26538 * benchtests/bench-strncpy-ifunc.c: New file.
26539 * benchtests/bench-strncpy.c: New file.
26540 * benchtests/bench-strnlen-ifunc.c: New file.
26541 * benchtests/bench-strnlen.c: New file.
26542 * benchtests/bench-strpbrk-ifunc.c: New file.
26543 * benchtests/bench-strpbrk.c: New file.
26544 * benchtests/bench-strrchr-ifunc.c: New file.
26545 * benchtests/bench-strrchr.c: New file.
26546 * benchtests/bench-strspn-ifunc.c: New file.
26547 * benchtests/bench-strspn.c: New file.
26548 * benchtests/bench-strstr-ifunc.c: New file.
26549 * benchtests/bench-strstr.c: New file.
26550
26551 * benchtests/Makefile: Disable parallel execution of targets.
26552 (string-bench): Add memcpy.
26553 (benchset): New variable to store a list of benchmark sets.
26554 (bench-func): Renamed from bench.
26555 (bench-set): New target.
26556 (bench): Depend on bench-func and bench-set.
26557 * benchtests/README: Add section on benchmark sets.
26558 * benchtests/bench-memcpy-ifunc.c: New file.
26559 * benchtests/bench-memcpy.c: New file.
26560 * benchtests/bench-string.h: New file.
26561
265622013-06-11 Andreas Schwab <schwab@suse.de>
26563
26564 [BZ #15577]
26565 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26566 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26567 values in the triple.
26568 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26569 terminator in the group key.
26570
265712013-06-11 Andreas Jaeger <aj@suse.de>
26572
26573 * po/zh_TW.po: Update Chinese (traditional) translation from
26574 translation project.
26575
265762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26577
26578 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26579 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26580 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26582 (clock_getcpuclockid): Likewise.
26583 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26584 Add weak_alias and libc_hidden_def.
26585 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26586 * rt/clock_gettime.c (clock_gettime): Rename to
26587 __clock_gettime. Add weak_alias and libc_hidden_def.
26588 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26589 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26590 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26591 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26592 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26593 Likewise.
26594 * rt/clock_settime.c (clock_settime): Rename to
26595 __clock_settime. Add weak_alias and libc_hidden_def.
26596 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26597
265982013-06-10 Joseph Myers <joseph@codesourcery.com>
26599
26600 * mach/err_boot.sub: Remove trailing whitespace.
26601 * mach/err_ipc.sub: Likewise.
26602 * mach/err_mach.sub: Likewise.
26603
26604 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26605 (ROUNDING_TESTS_double): Likewise.
26606 (ROUNDING_TESTS_long_double): Likewise.
26607 (ROUNDING_TESTS): Likewise.
26608 * math/libm-test.inc: Include <math-tests.h>.
26609 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26610 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26611 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26612 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26613
266142013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26615
26616 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26617 of assigning.
26618
266192013-06-08 Joseph Myers <joseph@codesourcery.com>
26620
26621 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26622 otherwise empty TRANS lines.
26623 * sysdeps/gnu/errlist.c: Regenerated.
26624
26625 * catgets/gencat.c (error_print): Use (void) in function
26626 definition.
26627 * crypt/crypt_util.c (__init_des): Likewise.
26628 * crypt/speeds.c (Stop): Likewise.
26629 (main): Likewise.
26630 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26631 * inet/ruserpass.c (token): Likewise.
26632 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26633 * intl/localealias.c (extend_alias_table): Likewise.
26634 * intl/plural-exp.c (init_germanic_plural): Likewise.
26635 * libio/fcloseall.c (__fcloseall): Likewise.
26636 * libio/genops.c (_IO_flush_all): Likewise.
26637 (_IO_flush_all_linebuffered): Likewise.
26638 (_IO_cleanup): Likewise.
26639 (_IO_iter_begin): Likewise.
26640 (_IO_iter_end): Likewise.
26641 (_IO_list_lock): Likewise.
26642 (_IO_list_unlock): Likewise.
26643 (_IO_list_resetlock): Likewise.
26644 * libio/getchar.c (getchar): Likewise.
26645 * libio/getchar_u.c (getchar_unlocked): Likewise.
26646 * libio/getwchar.c (getwchar): Likewise.
26647 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26648 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26649 * login/getpt.c (__getpt): Likewise.
26650 * login/tst-utmp.c (main): Likewise.
26651 * malloc/hooks.c (__malloc_check_init): Likewise.
26652 * malloc/malloc.c (__malloc_stats): Likewise.
26653 * malloc/mtrace.c (tr_break): Likewise.
26654 (mtrace): Likewise.
26655 (muntrace): Likewise.
26656 * misc/fstab.c (endfsent): Likewise.
26657 * misc/getclktck.c (__getclktck): Likewise.
26658 * misc/getdtsz.c (__getdtablesize): Likewise.
26659 * misc/gethostid.c (gethostid): Likewise.
26660 * misc/getpagesize.c (__getpagesize): Likewise.
26661 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26662 (__get_nprocs): Likewise.
26663 (__get_phys_pages): Likewise.
26664 (__get_avphys_pages): Likewise.
26665 * misc/getttyent.c (getttyent): Likewise.
26666 (setttyent): Likewise.
26667 (endttyent): Likewise.
26668 * misc/getusershell.c (getusershell): Likewise.
26669 (endusershell): Likewise.
26670 (setusershell): Likewise.
26671 (initshells): Likewise.
26672 * misc/hsearch.c (__hdestroy): Likewise.
26673 * misc/sync.c (sync): Likewise.
26674 * misc/syslog.c (closelog_internal): Likewise.
26675 (closelog): Likewise.
26676 * misc/ttyslot.c (ttyslot): Likewise.
26677 * misc/vhangup.c (vhangup): Likewise.
26678 * posix/fork.c (__fork): Likewise.
26679 * posix/getegid.c (__getegid): Likewise.
26680 * posix/geteuid.c (__geteuid): Likewise.
26681 * posix/getgid.c (__getgid): Likewise.
26682 * posix/getpid.c (__getpid): Likewise.
26683 * posix/getppid.c (__getppid): Likewise.
26684 * posix/getuid.c (__getuid): Likewise.
26685 * posix/pause.c (pause): Likewise.
26686 * posix/setpgrp.c (setpgrp): Likewise.
26687 * posix/setsid.c (__setsid): Likewise.
26688 * posix/test-vfork.c (noop): Likewise.
26689 * resolv/gethnamaddr.c (_endhtent): Likewise.
26690 (_gethtent): Likewise.
26691 (ht_endhostent): Likewise.
26692 (gethostent): Likewise.
26693 (dns_service): Likewise.
26694 * stdlib/drand48.c (drand48): Likewise.
26695 * stdlib/lrand48.c (lrand48): Likewise.
26696 * stdlib/mrand48.c (mrand48): Likewise.
26697 * stdlib/rand.c (rand): Likewise.
26698 * stdlib/random.c (__random): Likewise.
26699 * stdlib/setenv.c (clearenv): Likewise.
26700 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26701 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26702 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26703 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26704 (__get_nprocs): Likewise.
26705 (__get_phys_pages): Likewise.
26706 (__get_avphys_pages): Likewise.
26707 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26708 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26709 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26710 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26711 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26712 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26713 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26714 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26715 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26716 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26717 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26718 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26719 * sysdeps/posix/clock.c (clock): Likewise.
26720 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26721 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26722 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26723 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26724 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26726 (__get_nprocs_conf): Likewise.
26727 (__get_phys_pages): Likewise.
26728 (__get_avphys_pages): Likewise.
26729 * time/clock.c (clock): Likewise.
26730 * time/tzset.c (__tzname_max): Likewise.
26731
267322013-06-07 Joseph Myers <joseph@codesourcery.com>
26733
26734 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26735 (__bswap_32): Do not use "register".
26736 * crypt/crypt.c (_ufc_doit_r): Likewise.
26737 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26738 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26739 * gmon/gmon.c (__monstartup): Likewise.
26740 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26741 * hurd/hurdmalloc.c (more_memory): Likewise.
26742 (malloc): Likewise.
26743 (free): Likewise.
26744 (realloc): Likewise.
26745 (malloc_fork_prepare): Likewise.
26746 (malloc_fork_parent): Likewise.
26747 (malloc_fork_child): Likewise.
26748 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26749 (_svcauth_des): Likewise.
26750 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26751 * inet/inet_net.c (inet_network): Likewise.
26752 * inet/inet_netof.c (inet_netof): Likewise.
26753 * inet/rcmd.c (__validuser2_sa): Likewise.
26754 * io/fts.c (fts_open): Likewise.
26755 (fts_load): Likewise.
26756 (fts_close): Likewise.
26757 (fts_read): Likewise.
26758 (fts_children): Likewise.
26759 (fts_build): Likewise.
26760 (fts_stat): Likewise.
26761 (fts_sort): Likewise.
26762 (fts_alloc): Likewise.
26763 (fts_lfree): Likewise.
26764 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26765 (_IO_file_xsgetn): Likewise.
26766 (_IO_file_xsgetn_mmap): Likewise.
26767 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26768 (_IO_cookie_write): Likewise.
26769 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26770 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26771 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26772 * malloc/obstack.c (_obstack_begin): Likewise.
26773 (_obstack_begin_1): Likewise.
26774 (_obstack_newchunk): Likewise.
26775 (_obstack_allocated_p): Likewise.
26776 (obstack_free): Likewise.
26777 (_obstack_memory_used): Likewise.
26778 * misc/getttyent.c (getttynam): Likewise.
26779 (getttyent): Likewise.
26780 (skip): Likewise.
26781 (value): Likewise.
26782 * misc/getusershell.c (initshells): Likewise.
26783 * misc/syslog.c (__vsyslog_chk): Likewise.
26784 * misc/ttyslot.c (ttyslot): Likewise.
26785 * nis/nis_hash.c (__nis_hash): Likewise.
26786 * posix/fnmatch_loop.c (FCT): Likewise.
26787 * posix/getconf.c (print_all): Likewise.
26788 (main): Likewise.
26789 * posix/getopt.c (exchange): Likewise.
26790 * posix/glob.c (globfree): Likewise.
26791 (prefix_array): Likewise.
26792 (__glob_pattern_type): Likewise.
26793 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26794 (NS_GET32): Likewise.
26795 (NS_PUT16): Likewise.
26796 (NS_PUT32): Likewise.
26797 * resolv/gethnamaddr.c (getanswer): Likewise.
26798 (gethostbyname2): Likewise.
26799 (gethostbyaddr): Likewise.
26800 (_gethtent): Likewise.
26801 (_gethtbyname2): Likewise.
26802 (_gethtbyaddr): Likewise.
26803 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26804 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26805 * resolv/res_init.c (__res_vinit): Likewise.
26806 (net_mask): Likewise.
26807 * resolv/res_mkquery.c (outchar): Likewise.
26808 (PRINT): Likewise.
26809 * stdio-common/printf_fp.c (outchar): Likewise.
26810 (PRINT): Likewise.
26811 * stdio-common/printf_fphex.c (outchar): Likewise.
26812 (PRINT): Likewise.
26813 * stdio-common/printf_size.c (outchar): Likewise.
26814 (PRINT): Likewise.
26815 * stdio-common/test_rdwr.c (main): Likewise.
26816 * stdio-common/tfformat.c (matches): Likewise.
26817 * stdio-common/vfprintf.c (outchar): Likewise.
26818 (printf_unknown): Likewise.
26819 (buffered_vfprintf): Likewise.
26820 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26821 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26822 (ReadFile): Likewise.
26823 * stdlib/qsort.c (SWAP): Likewise.
26824 (_quicksort): Likewise.
26825 * stdlib/setenv.c (__add_to_environ): Likewise.
26826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26827 * stdlib/strtol_l.c (__strtol_l): Likewise.
26828 * stdlib/tst-strtod.c (main): Likewise.
26829 * stdlib/tst-strtol.c (main): Likewise.
26830 * stdlib/tst-strtoll.c (main): Likewise.
26831 * string/bits/string2.h (__strcmp_cc): Likewise.
26832 (__strcmp_cg): Likewise.
26833 (__strcspn_c1): Likewise.
26834 (__strcspn_c2): Likewise.
26835 (__strcspn_c3): Likewise.
26836 (__strspn_c1): Likewise.
26837 (__strspn_c2): Likewise.
26838 (__strspn_c3): Likewise.
26839 (__strsep_1c): Likewise.
26840 (__strsep_2c): Likewise.
26841 (__strsep_3c): Likewise.
26842 * string/memccpy.c (__memccpy): Likewise.
26843 * string/stpcpy.c (__stpcpy): Likewise.
26844 * string/strcmp.c (strcmp): Likewise.
26845 * string/strrchr.c (strrchr): Likewise.
26846 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26847 Likewise.
26848 * sysdeps/mach/hurd/getcwd.c
26849 (_hurd_canonicalize_directory_name_internal): Likewise.
26850 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26851 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26852 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26853 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26854 Likewise, in both definitions.
26855 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26856 definitions.
26857 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26858 64] (__bswap_64): Likewise.
26859 * time/test_time.c (main): Likewise.
26860 * time/tzfile.c (__tzfile_read): Likewise.
26861 (__tzfile_compute): Likewise.
26862 * time/tzset.c (__tzset_parse_tz): Likewise.
26863 (tzset_internal): Likewise.
26864 (compute_change): Likewise.
26865 * wcsmbs/wcscat.c (__wcscat): Likewise.
26866 * wcsmbs/wcschr.c (wcschr): Likewise.
26867 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26868 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26869 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26870 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26871 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26872 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26873 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26874 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26875 * wcsmbs/wmemset.c (wmemset): Likewise.
26876
268772013-06-06 Joseph Myers <joseph@codesourcery.com>
26878
26879 * scripts/config.guess: Update to version 2013-05-16.
26880 * scripts/config.sub: Update to version 2013-04-24.
26881 * scripts/install-sh: Update to version 2011-11-20.07.
26882 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26883 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26884
268852013-06-06 Ondřej Bílka <neleai@seznam.cz>
26886
26887 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26888 * elf/sln.c: Likewise.
26889 * hurd/hurd/ioctl.h: Likewise.
26890 * hurd/hurdmalloc.c: Likewise.
26891 * hurd/xattr.c: Likewise.
26892 * include/shlib-compat.h: Likewise.
26893 * inet/ruserpass.c: Likewise.
26894 * libio/iofgets_u.c: Likewise.
26895 * libio/iofgetws_u.c: Likewise.
26896 * locale/programs/ld-identification.c: Likewise.
26897 * locale/programs/ld-time.c: Likewise.
26898 * mach/msg-destroy.c: Likewise.
26899 * nss/nss_files/files-netgrp.c: Likewise.
26900 * resolv/res_data.c: Likewise.
26901 * soft-fp/op-1.h: Likewise.
26902 * soft-fp/op-2.h: Likewise.
26903 * soft-fp/op-4.h: Likewise.
26904 * soft-fp/op-common.h: Likewise.
26905 * stdio-common/printf_fphex.c: Likewise.
26906 * stdlib/strtod_l.c: Likewise.
26907 * sunrpc/rpc/clnt.h: Likewise.
26908 * sysdeps/generic/framestate.c: Likewise.
26909 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26910 * sysdeps/i386/bsd-setjmp.S: Likewise.
26911 * sysdeps/i386/__longjmp.S: Likewise.
26912 * sysdeps/i386/setjmp.S: Likewise.
26913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26914 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26923 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26927 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26929 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26930 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26931 * sysdeps/ieee754/support.c: Likewise.
26932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26933 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26934 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26935 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26936 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26937 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26938 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26939 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26940 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26941 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26942 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26943 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26944 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26945 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26946 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26947 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26950
269512013-06-05 Ondřej Bílka <neleai@seznam.cz>
26952
26953 * posix/transbug.c: Remove executable mode.
26954
269552013-06-05 Joseph Myers <joseph@codesourcery.com>
26956
26957 * crypt/speeds.c: Remove trailing whitespace.
26958 * dlfcn/default.c: Likewise.
26959 * elf/ifuncdep2.c: Likewise.
26960 * elf/ifuncmain1.c: Likewise.
26961 * elf/ifuncmain1vis.c: Likewise.
26962 * elf/testobj.h: Likewise.
26963 * elf/tst-stackguard1.c: Likewise.
26964 * gmon/sys/gmon.h: Likewise.
26965 * hurd/hurdmsg.c: Likewise.
26966 * hurd/new-fd.c: Likewise.
26967 * hurd/ports-get.c: Likewise.
26968 * iconvdata/ibm1008_420.c: Likewise.
26969 * inet/tst-getni1.c: Likewise.
26970 * inet/tst-getni2.c: Likewise.
26971 * libio/ioungetc.c: Likewise.
26972 * libio/wfiledoalloc.c: Likewise.
26973 * manual/libm-err-tab.pl: Likewise.
26974 * math/w_dremf.c: Likewise.
26975 * misc/ftruncate.c: Likewise.
26976 * posix/bug-glob2.c: Likewise.
26977 * posix/tst-pcre.c: Likewise.
26978 * posix/wait4.c: Likewise.
26979 * resolv/README: Likewise.
26980 * resolv/res_debug.h: Likewise.
26981 * resolv/tst-inet_ntop.c: Likewise.
26982 * setjmp/bug269-setjmp.c: Likewise.
26983 * soft-fp/extended.h: Likewise.
26984 * soft-fp/op-1.h: Likewise.
26985 * soft-fp/op-2.h: Likewise.
26986 * soft-fp/op-4.h: Likewise.
26987 * soft-fp/op-8.h: Likewise.
26988 * soft-fp/testit.c: Likewise.
26989 * stdio-common/bug16.c: Likewise.
26990 * stdlib/random.c: Likewise.
26991 * sunrpc/rpcsvc/rquota.x: Likewise.
26992 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26993 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26995 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26996 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26997 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26998 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26999 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27000 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27002 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27003 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27004 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27005 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27008 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27010 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27013 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27014 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27015 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27017 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27018 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27021 * sysdeps/ieee754/s_lib_version.c: Likewise.
27022 * sysdeps/mach/hurd/check_fds.c: Likewise.
27023 * sysdeps/mach/hurd/getsockname.c: Likewise.
27024 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27025 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27026 * sysdeps/powerpc/bits/link.h: Likewise.
27027 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27028 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27029 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27030 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27031 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27032 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27033 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27034 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27035 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27036 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27037 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27038 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27039 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27040 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27041 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27042 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27045 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27046 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27047 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27048 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27050 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27051 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27053 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27055 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27058 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27059 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27060 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27061 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27062 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27063 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27064 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27065 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27066 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27067 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27068 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27069 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27070 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27071 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27072 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27073 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27074 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27075 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27076 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27082 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27083 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27084 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27085 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27086 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27087 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27088 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27089 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27090 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27091 * sysdeps/powerpc/sysdep.h: Likewise.
27092 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27093 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27094 * sysdeps/sh/dl-trampoline.S: Likewise.
27095 * sysdeps/sh/memset.S: Likewise.
27096 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27097 * sysdeps/sh/strlen.S: Likewise.
27098 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27099 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27100 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27101 * sysdeps/sparc/sparc32/rem.S: Likewise.
27102 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27104 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27105 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27106 * sysdeps/sparc/sparc32/urem.S: Likewise.
27107 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27108 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27109 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27110 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27111 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27112 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27113 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27114 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27115 * sysdeps/unix/bsd/times.c: Likewise.
27116 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27117 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27121 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27123 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27125 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27126 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27127 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27128 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27129 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27130 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27131 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27132 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27133 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27134 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27135 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27136 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27137 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27138 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27139 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27140 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27141 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27142 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27143 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27144 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27145 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27146 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27147 * sysdeps/x86_64/strcspn.S: Likewise.
27148
271492013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27150
27151 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27152 generated file. Regenerate properly from gen-translit.pl.
27153 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27154 locale/C-translit.h.
27155
271562013-06-05 Andreas Schwab <schwab@suse.de>
27157
27158 [BZ #15100]
27159 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27160 week as 6 instead of -1.
27161 * time/tst-strptime.c (day_tests): Add test case.
27162
271632013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27164
27165 * sysdeps/generic/math_private.h
27166 (libc_feholdexcept_setround_53bit): Replace with
27167 libc_feholdsetround_53bit.
27168 (libc_feupdateenv_53bit): Replace with
27169 libc_feresetround_53bit.
27170 (SET_RESTORE_ROUND_53BIT): Adjust.
27171
271722013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27173
27174 * string/test-strchrnul.c: Add copyright header.
27175
27176 * posix/tst-getaddrinfo4.c: Increase test timeout.
27177
271782013-06-03 Carlos O'Donell <carlos@redhat.com>
27179
27180 [BZ #15536]
27181 * math/libm-test.inc (MAX_EXP): Remove
27182 (MIN_EXP): Define.
27183 (ulp): Use MIN_EXP - MANT_DIG.
27184 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27185
271862013-05-31 Carlos O'Donell <carlos@redhat.com>
27187
27188 * po/be.po: Revert last change.
27189 * po/zh_CN.po: Likewise.
27190 * po/header.pot: Likewise.
27191
271922013-05-31 Joseph Myers <joseph@codesourcery.com>
27193
27194 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27195 link-libc-deps to empty as target-specific variable.
27196 * Makerules (link-libc-args): New variable.
27197 (libc-for-link): Likewise.
27198 (link-libc-deps): Likewise.
27199 (lib%.so): Depend on $(link-libc-deps). Link with
27200 $(link-libc-args).
27201 (build-module): Link with $(link-libc-args).
27202 (build-module-asneeded): Likewise.
27203 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27204 list of objects.
27205 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27206 target-specific variable.
27207 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27208 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27209 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27210 libc.
27211 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27212 libc and ld.so.
27213 ($(objpfx)libpcprofile.so): Likewise.
27214 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27215 libc_nonshared.a.
27216 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27217 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27218 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27219 $(link-libc-deps).
27220 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27221 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27222 * login/Makefile ($(objpfx)libutil.so): Likewise.
27223 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27224 * math/Makefile ($(objpfx)libm.so): Likewise.
27225 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27226 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27227 variable instead of depending directly on libc.
27228 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27229 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27230 $(link-libc-deps).
27231 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27232 libc.
27233 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27234 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27235 ($(objpfx)libanl.so): Likewise.
27236 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27237 ld.so.
27238 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27239 $(link-libc-deps).
27240 * sysdeps/i386/fpu/Makefile: Remove file.
27241 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27242 ($(objpfx)libm.so): Remove dependency on ld.so.
27243
272442013-05-30 Patsy Franklin <pfrankli@redhat.com>
27245
27246 [BZ # 15553]
27247 * nis/yp_xdr.c (XDRMAXNAME): Define.
27248 (XDRMAXRECORD): Define.
27249 (xdr_domainname): Use XDRMAXNAME.
27250 (xdr_mapname): Likewise.
27251 (xdr_peername): Likewise.
27252 (xdr_keydat): Use XDRMAXRECORD.
27253 (xdr_valdat): Likewise.
27254
272552013-05-30 Jeff Law <law@redhat.com>
27256
27257 [BZ #14256]
27258 * manual/errno.texi (ESTALE): Update to account for more than
27259 just NFS file systems.
27260 * sysdeps/gnu/errlist.c: Regenerated.
27261
272622013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27263
27264 [BZ #15465]
27265 * elf/Makefile (tests): Add tst-null-argv.
27266 (modules-names): Add tst-null-argv-lib.
27267 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27268 (tst-null-argv-ENV): Set environment for tst-null-argv.
27269 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27270 (RTLD_PROGNAME): New macro.
27271 * elf/tst-null-argv.c: New test case.
27272 * elf/tst-null-argv-lib.c: Library for test case.
27273 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27274 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27275 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27276 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27277 * elf/dl-init.c (call_init): Likewise.
27278 (_dl_init): Likewise.
27279 * elf/dl-load.c (print_search_path): Likewise.
27280 (_dl_map_object): Likewise.
27281 * elf/dl-lookup.c (do_lookup_x): Likewise.
27282 (add_dependency): Likewise.
27283 (_dl_lookup_symbol_x): Likewise.
27284 (_dl_debug_bindings): Likewise.
27285 * elf/dl-open.c (_dl_show_scope): Likewise.
27286 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27287 * elf/dl-version.c (match_symbol): Likewise.
27288 (_dl_check_map_versions): Likewise.
27289 * elf/rtld.c (dl_main): Likewise.
27290 (print_unresolved): Use RTLD_PROGNAME.
27291 (print_missing_version): Likewise.
27292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27293 (elf_machine_rela): Likewise.
27294 * sysdeps/powerpc/powerpc32/dl-machine.c
27295 (__process_machine_rela): Likewise.
27296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27297 Likewise.
27298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27299 Likewise.
27300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27301 Likewise.
27302 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27304 Likewise.
27305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27306 Likewise.
27307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27308
273092013-05-28 Carlos O'Donell <carlos@redhat.com>
27310
27311 * po/be.po: Add descriptive title.
27312 * po/zh_CN.po: Likewise.
27313 * po/header.pot: Likewise.
27314
273152013-05-28 Mike Frysinger <vapier@gentoo.org>
27316
27317 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27318 error message.
27319 (enlarge_archive): Likewise.
27320
273212013-05-28 Ben North <ben@redfrontdoor.org>
27322
27323 * manual/arith.texi (frexp): It is the magnitude of the return
27324 value which lies in [0.5, 1), not the return value itself.
27325
273262013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27327
27328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27329
273302013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27331
27332 * stdio-common/bug26.c (main): Correct fscanf template.
27333
27334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27335 declare _dl_skip_args.
27336
27337 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27338 Don't declare.
27339
27340 * manual/platform.texi: Add missing @end deftypefun.
27341
273422013-05-24 Joseph Myers <joseph@codesourcery.com>
27343
27344 [BZ #15529]
27345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27346 bit of mantissa of 2^16382.
27347 * math/libm-test.inc (hypot_test_data): Add more tests.
27348
27349 * math/libm-test.inc: Add drem and pow10 to list of tested
27350 functions.
27351 (pow10_test): New function.
27352 (drem_test): Likewise.
27353 (drem_test_tonearest): Likewise.
27354 (drem_test_towardzero): Likewise.
27355 (drem_test_downward): Likewise.
27356 (drem_test_upward): Likewise.
27357 (main): Call the new functions.
27358
27359 * math/libm-test.inc (finite_test_data): Remove.
27360 (finite_test): Run tests from isfinite_test_data.
27361 (gamma_test_data): Remove.
27362 (gamma_test): Run tests from lgamma_test_data.
27363 * sysdeps/i386/fpu/libm-test-ulps: Update.
27364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27365
273662013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27367
27368 * manual/platform.texi: Add PowerPC PPR function set documentation.
27369 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27370 implementation.
27371
273722013-05-24 Carlos O'Donell <carlos@redhat.com>
27373
27374 * math/libm-test.inc (MAX_EXP): Define.
27375 (ULPDIFF): Define.
27376 (ulp): New function.
27377 (check_float_internal): Use ULPDIFF.
27378 (cpow_test): Disable failing test.
27379 (check_ulp): Test ulp() implemetnation.
27380 (main): Call check_ulp before starting tests.
27381
273822013-05-24 Joseph Myers <joseph@codesourcery.com>
27383
27384 * math/gen-libm-test.pl (generate_testfile): Do not handle
27385 START_DATA and END_DATA.
27386 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27387 END_DATA.
27388 (acos_tonearest_test_data): Likewise.
27389 (acos_towardzero_test_data): Likewise.
27390 (acos_downward_test_data): Likewise.
27391 (acos_upward_test_data): Likewise.
27392 (acosh_test_data): Likewise.
27393 (asin_test_data): Likewise.
27394 (asin_tonearest_test_data): Likewise.
27395 (asin_towardzero_test_data): Likewise.
27396 (asin_downward_test_data): Likewise.
27397 (asin_upward_test_data): Likewise.
27398 (asinh_test_data): Likewise.
27399 (atan_test_data): Likewise.
27400 (atanh_test_data): Likewise.
27401 (atan2_test_data): Likewise.
27402 (cabs_test_data): Likewise.
27403 (cacos_test_data): Likewise.
27404 (cacosh_test_data): Likewise.
27405 (carg_test_data): Likewise.
27406 (casin_test_data): Likewise.
27407 (casinh_test_data): Likewise.
27408 (catan_test_data): Likewise.
27409 (catanh_test_data): Likewise.
27410 (cbrt_test_data): Likewise.
27411 (ccos_test_data): Likewise.
27412 (ccosh_test_data): Likewise.
27413 (ceil_test_data): Likewise.
27414 (cexp_test_data): Likewise.
27415 (cimag_test_data): Likewise.
27416 (clog_test_data): Likewise.
27417 (clog10_test_data): Likewise.
27418 (conj_test_data): Likewise.
27419 (copysign_test_data): Likewise.
27420 (cos_test_data): Likewise.
27421 (cos_tonearest_test_data): Likewise.
27422 (cos_towardzero_test_data): Likewise.
27423 (cos_downward_test_data): Likewise.
27424 (cos_upward_test_data): Likewise.
27425 (cosh_test_data): Likewise.
27426 (cosh_tonearest_test_data): Likewise.
27427 (cosh_towardzero_test_data): Likewise.
27428 (cosh_downward_test_data): Likewise.
27429 (cosh_upward_test_data): Likewise.
27430 (cpow_test_data): Likewise.
27431 (cproj_test_data): Likewise.
27432 (creal_test_data): Likewise.
27433 (csin_test_data): Likewise.
27434 (csinh_test_data): Likewise.
27435 (csqrt_test_data): Likewise.
27436 (ctan_test_data): Likewise.
27437 (ctan_tonearest_test_data): Likewise.
27438 (ctan_towardzero_test_data): Likewise.
27439 (ctan_downward_test_data): Likewise.
27440 (ctan_upward_test_data): Likewise.
27441 (ctanh_test_data): Likewise.
27442 (ctanh_tonearest_test_data): Likewise.
27443 (ctanh_towardzero_test_data): Likewise.
27444 (ctanh_downward_test_data): Likewise.
27445 (ctanh_upward_test_data): Likewise.
27446 (erf_test_data): Likewise.
27447 (erfc_test_data): Likewise.
27448 (exp_test_data): Likewise.
27449 (exp_tonearest_test_data): Likewise.
27450 (exp_towardzero_test_data): Likewise.
27451 (exp_downward_test_data): Likewise.
27452 (exp_upward_test_data): Likewise.
27453 (exp10_test_data): Likewise.
27454 (exp2_test_data): Likewise.
27455 (expm1_test_data): Likewise.
27456 (fabs_test_data): Likewise.
27457 (fdim_test_data): Likewise.
27458 (finite_test_data): Likewise.
27459 (floor_test_data): Likewise.
27460 (fma_test_data): Likewise.
27461 (fma_towardzero_test_data): Likewise.
27462 (fma_downward_test_data): Likewise.
27463 (fma_upward_test_data): Likewise.
27464 (fmax_test_data): Likewise.
27465 (fmin_test_data): Likewise.
27466 (fmod_test_data): Likewise.
27467 (fpclassify_test_data): Likewise.
27468 (frexp_test_data): Likewise.
27469 (gamma_test_data): Likewise.
27470 (hypot_test_data): Likewise.
27471 (ilogb_test_data): Likewise.
27472 (isfinite_test_data): Likewise.
27473 (isgreater_test_data): Likewise.
27474 (isgreaterequal_test_data): Likewise.
27475 (isinf_test_data): Likewise.
27476 (isless_test_data): Likewise.
27477 (islessequal_test_data): Likewise.
27478 (islessgreater_test_data): Likewise.
27479 (isnan_test_data): Likewise.
27480 (isnormal_test_data): Likewise.
27481 (issignaling_test_data): Likewise.
27482 (isunordered_test_data): Likewise.
27483 (j0_test_data): Likewise.
27484 (j1_test_data): Likewise.
27485 (jn_test_data): Likewise.
27486 (ldexp_test_data): Likewise.
27487 (lgamma_test_data): Likewise.
27488 (lrint_test_data): Likewise.
27489 (lrint_tonearest_test_data): Likewise.
27490 (lrint_towardzero_test_data): Likewise.
27491 (lrint_downward_test_data): Likewise.
27492 (lrint_upward_test_data): Likewise.
27493 (llrint_test_data): Likewise.
27494 (llrint_tonearest_test_data): Likewise.
27495 (llrint_towardzero_test_data): Likewise.
27496 (llrint_downward_test_data): Likewise.
27497 (llrint_upward_test_data): Likewise.
27498 (log_test_data): Likewise.
27499 (log10_test_data): Likewise.
27500 (log1p_test_data): Likewise.
27501 (log2_test_data): Likewise.
27502 (logb_test_data): Likewise.
27503 (logb_downward_test_data): Likewise.
27504 (lround_test_data): Likewise.
27505 (llround_test_data): Likewise.
27506 (modf_test_data): Likewise.
27507 (nearbyint_test_data): Likewise.
27508 (nextafter_test_data): Likewise.
27509 (nexttoward_test_data): Likewise.
27510 (pow_test_data): Likewise.
27511 (pow_tonearest_test_data): Likewise.
27512 (pow_towardzero_test_data): Likewise.
27513 (pow_downward_test_data): Likewise.
27514 (pow_upward_test_data): Likewise.
27515 (remainder_test_data): Likewise.
27516 (remainder_tonearest_test_data): Likewise.
27517 (remainder_towardzero_test_data): Likewise.
27518 (remainder_downward_test_data): Likewise.
27519 (remainder_upward_test_data): Likewise.
27520 (remquo_test_data): Likewise.
27521 (rint_test_data): Likewise.
27522 (rint_tonearest_test_data): Likewise.
27523 (rint_towardzero_test_data): Likewise.
27524 (rint_downward_test_data): Likewise.
27525 (rint_upward_test_data): Likewise.
27526 (round_test_data): Likewise.
27527 (scalb_test_data): Likewise.
27528 (scalbn_test_data): Likewise.
27529 (scalbln_test_data): Likewise.
27530 (signbit_test_data): Likewise.
27531 (sin_test_data): Likewise.
27532 (sin_tonearest_test_data): Likewise.
27533 (sin_towardzero_test_data): Likewise.
27534 (sin_downward_test_data): Likewise.
27535 (sin_upward_test_data): Likewise.
27536 (sincos_test_data): Likewise.
27537 (sinh_test_data): Likewise.
27538 (sinh_tonearest_test_data): Likewise.
27539 (sinh_towardzero_test_data): Likewise.
27540 (sinh_downward_test_data): Likewise.
27541 (sinh_upward_test_data): Likewise.
27542 (sqrt_test_data): Likewise.
27543 (tan_test_data): Likewise.
27544 (tan_tonearest_test_data): Likewise.
27545 (tan_towardzero_test_data): Likewise.
27546 (tan_downward_test_data): Likewise.
27547 (tan_upward_test_data): Likewise.
27548 (tanh_test_data): Likewise.
27549 (tgamma_test_data): Likewise.
27550 (trunc_test_data): Likewise.
27551 (y0_test_data): Likewise.
27552 (y1_test_data): Likewise.
27553 (yn_test_data): Likewise.
27554 (significand_test_data): Likewise.
27555
27556 * math/gen-libm-test.pl (@functions): Remove variable.
27557 (generate_testfile): Don't handle START and END lines.
27558 * math/libm-test.inc (START): New macro.
27559 (END): Likewise.
27560 (END_COMPLEX): Likewise.
27561 (acos_test): Use END macro without arguments.
27562 (acos_test_tonearest): Likewise.
27563 (acos_test_towardzero): Likewise.
27564 (acos_test_downward): Likewise.
27565 (acos_test_upward): Likewise.
27566 (acosh_test): Likewise.
27567 (asin_test): Likewise.
27568 (asin_test_tonearest): Likewise.
27569 (asin_test_towardzero): Likewise.
27570 (asin_test_downward): Likewise.
27571 (asin_test_upward): Likewise.
27572 (asinh_test): Likewise.
27573 (atan_test): Likewise.
27574 (atanh_test): Likewise.
27575 (atan2_test): Likewise.
27576 (cabs_test): Likewise.
27577 (cacos_test): Use END_COMPLEX macro without arguments.
27578 (cacosh_test): Likewise.
27579 (carg_test): Use END macro without arguments.
27580 (casin_test): Use END_COMPLEX macro without arguments.
27581 (casinh_test): Likewise.
27582 (catan_test): Likewise.
27583 (catanh_test): Likewise.
27584 (cbrt_test): Use END macro without arguments.
27585 (ccos_test): Use END_COMPLEX macro without arguments.
27586 (ccosh_test): Likewise.
27587 (ceil_test): Use END macro without arguments.
27588 (cexp_test): Use END_COMPLEX macro without arguments.
27589 (cimag_test): Use END macro without arguments.
27590 (clog_test): Use END_COMPLEX macro without arguments.
27591 (clog10_test): Likewise.
27592 (conj_test): Likewise.
27593 (copysign_test): Use END macro without arguments.
27594 (cos_test): Likewise.
27595 (cos_test_tonearest): Likewise.
27596 (cos_test_towardzero): Likewise.
27597 (cos_test_downward): Likewise.
27598 (cos_test_upward): Likewise.
27599 (cosh_test): Likewise.
27600 (cosh_test_tonearest): Likewise.
27601 (cosh_test_towardzero): Likewise.
27602 (cosh_test_downward): Likewise.
27603 (cosh_test_upward): Likewise.
27604 (cpow_test): Use END_COMPLEX macro without arguments.
27605 (cproj_test): Likewise.
27606 (creal_test): Use END macro without arguments.
27607 (csin_test): Use END_COMPLEX macro without arguments.
27608 (csinh_test): Likewise.
27609 (csqrt_test): Likewise.
27610 (ctan_test): Likewise.
27611 (ctan_test_tonearest): Likewise.
27612 (ctan_test_towardzero): Likewise.
27613 (ctan_test_downward): Likewise.
27614 (ctan_test_upward): Likewise.
27615 (ctanh_test): Likewise.
27616 (ctanh_test_tonearest): Likewise.
27617 (ctanh_test_towardzero): Likewise.
27618 (ctanh_test_downward): Likewise.
27619 (ctanh_test_upward): Likewise.
27620 (erf_test): Use END macro without arguments.
27621 (erfc_test): Likewise.
27622 (exp_test): Likewise.
27623 (exp_test_tonearest): Likewise.
27624 (exp_test_towardzero): Likewise.
27625 (exp_test_downward): Likewise.
27626 (exp_test_upward): Likewise.
27627 (exp10_test): Likewise.
27628 (exp2_test): Likewise.
27629 (expm1_test): Likewise.
27630 (fabs_test): Likewise.
27631 (fdim_test): Likewise.
27632 (finite_test): Likewise.
27633 (floor_test): Likewise.
27634 (fma_test): Likewise.
27635 (fma_test_towardzero): Likewise.
27636 (fma_test_downward): Likewise.
27637 (fma_test_upward): Likewise.
27638 (fmax_test): Likewise.
27639 (fmin_test): Likewise.
27640 (fmod_test): Likewise.
27641 (fpclassify_test): Likewise.
27642 (frexp_test): Likewise.
27643 (gamma_test): Likewise.
27644 (hypot_test): Likewise.
27645 (ilogb_test): Likewise.
27646 (isfinite_test): Likewise.
27647 (isgreater_test): Likewise.
27648 (isgreaterequal_test): Likewise.
27649 (isinf_test): Likewise.
27650 (isless_test): Likewise.
27651 (islessequal_test): Likewise.
27652 (islessgreater_test): Likewise.
27653 (isnan_test): Likewise.
27654 (isnormal_test): Likewise.
27655 (issignaling_test): Likewise.
27656 (isunordered_test): Likewise.
27657 (j0_test): Likewise.
27658 (j1_test): Likewise.
27659 (jn_test): Likewise.
27660 (ldexp_test): Likewise.
27661 (lgamma_test): Likewise.
27662 (lrint_test): Likewise.
27663 (lrint_test_tonearest): Likewise.
27664 (lrint_test_towardzero): Likewise.
27665 (lrint_test_downward): Likewise.
27666 (lrint_test_upward): Likewise.
27667 (llrint_test): Likewise.
27668 (llrint_test_tonearest): Likewise.
27669 (llrint_test_towardzero): Likewise.
27670 (llrint_test_downward): Likewise.
27671 (llrint_test_upward): Likewise.
27672 (log_test): Likewise.
27673 (log10_test): Likewise.
27674 (log1p_test): Likewise.
27675 (log2_test): Likewise.
27676 (logb_test): Likewise.
27677 (logb_test_downward): Likewise.
27678 (lround_test): Likewise.
27679 (llround_test): Likewise.
27680 (modf_test): Likewise.
27681 (nearbyint_test): Likewise.
27682 (nextafter_test): Likewise.
27683 (nexttoward_test): Likewise.
27684 (pow_test): Likewise.
27685 (pow_test_tonearest): Likewise.
27686 (pow_test_towardzero): Likewise.
27687 (pow_test_downward): Likewise.
27688 (pow_test_upward): Likewise.
27689 (remainder_test): Likewise.
27690 (remainder_test_tonearest): Likewise.
27691 (remainder_test_towardzero): Likewise.
27692 (remainder_test_downward): Likewise.
27693 (remainder_test_upward): Likewise.
27694 (remquo_test): Likewise.
27695 (rint_test): Likewise.
27696 (rint_test_tonearest): Likewise.
27697 (rint_test_towardzero): Likewise.
27698 (rint_test_downward): Likewise.
27699 (rint_test_upward): Likewise.
27700 (round_test): Likewise.
27701 (scalb_test): Likewise.
27702 (scalbn_test): Likewise.
27703 (scalbln_test): Likewise.
27704 (signbit_test): Likewise.
27705 (sin_test): Likewise.
27706 (sin_test_tonearest): Likewise.
27707 (sin_test_towardzero): Likewise.
27708 (sin_test_downward): Likewise.
27709 (sin_test_upward): Likewise.
27710 (sincos_test): Likewise.
27711 (sinh_test): Likewise.
27712 (sinh_test_tonearest): Likewise.
27713 (sinh_test_towardzero): Likewise.
27714 (sinh_test_downward): Likewise.
27715 (sinh_test_upward): Likewise.
27716 (sqrt_test): Likewise.
27717 (tan_test): Likewise.
27718 (tan_test_tonearest): Likewise.
27719 (tan_test_towardzero): Likewise.
27720 (tan_test_downward): Likewise.
27721 (tan_test_upward): Likewise.
27722 (tanh_test): Likewise.
27723 (tgamma_test): Likewise.
27724 (trunc_test): Likewise.
27725 (y0_test): Likewise.
27726 (y1_test): Likewise.
27727 (yn_test): Likewise.
27728 (significand_test): Likewise.
27729
277302013-05-24 Ondřej Bílka <neleai@seznam.cz>
27731
27732 [BZ #15381]
27733 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27734
277352013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27736
27737 [BZ #14894]
27738 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27739 __ppc_mdoio and __ppc_mdoom.
27740 * manual/platform.texi: Document new functions __ppc_yield,
27741 __ppc_mdoio and __ppc_mdoom.
27742
277432013-05-22 Carlos O'Donell <carlos@redhat.com>
27744
27745 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27746 (main): Mention "tls" pseudo-hwcap is legacy.
27747 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27748
277492013-05-22 Joseph Myers <joseph@codesourcery.com>
27750
27751 * math/gen-libm-test.pl (parse_args): Output only string of
27752 arguments as text for test name, not full call or descriptions of
27753 tests for extra outputs.
27754 (generate_testfile): Do not pass function name to parse_args.
27755 Generate this_func variable from START.
27756 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27757 field to arg_str.
27758 (struct test_ff_f_data): Likewise.
27759 (test_ff_f_data_nexttoward): Likewise.
27760 (struct test_fi_f_data): Likewise.
27761 (struct test_fl_f_data): Likewise.
27762 (struct test_if_f_data): Likewise.
27763 (struct test_fff_f_data): Likewise.
27764 (struct test_c_f_data): Likewise.
27765 (struct test_f_f1_data): Likewise. Remove field extra_name.
27766 (struct test_fF_f1_data): Likewise.
27767 (struct test_ffI_f1_data): Likewise.
27768 (struct test_c_c_data): Rename test_name field to arg_str.
27769 (struct test_cc_c_data): Likewise.
27770 (struct test_f_i_data): Likewise.
27771 (struct test_ff_i_data): Likewise.
27772 (struct test_f_l_data): Likewise.
27773 (struct test_f_L_data): Likewise.
27774 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27775 and extra2_name.
27776 (COMMON_TEST_SETUP): New macro.
27777 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27778 (COMMON_TEST_CLEANUP): Likewise.
27779 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27780 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27781 macros.
27782 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27783 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27784 macros.
27785 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27786 (RUN_TEST_fff_f): Take argument string. Call new setup and
27787 cleanup macros.
27788 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27789 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27790 macros.
27791 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27792 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27793 macros.
27794 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27795 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27796 cleanup macros.
27797 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27798 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27799 cleanup macros.
27800 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27801 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27802 cleanup macros.
27803 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27804 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27805 macros.
27806 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27807 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27808 macros.
27809 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27810 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27811 macros.
27812 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27813 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27814 cleanup macros.
27815 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27816 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27817 cleanup macros.
27818 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27819 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27820 macros.
27821 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27822 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27823 cleanup macros.
27824 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27825 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27826 macros.
27827 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27828 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27829 macros.
27830 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27831 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27832 cleanup macros.
27833 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27834
278352013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27836
27837 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27838 to _sifields.sigfault.
27839 (si_addr_lsb): Define new macro.
27840 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27842 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27843
278442013-05-03 Carlos O'Donell <carlos at redhat.com>
27845
27846 [BZ #15441]
27847 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27848 returns -1.
27849 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27850 null return -1.
27851 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27852 loading the domain.
27853
278542013-05-22 Joseph Myers <joseph@codesourcery.com>
27855
27856 * math/gen-libm-test.pl (parse_args): Do not include expected
27857 result in test name.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27864
278652013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27866
27867 * benchtests/Makefile: Sort function entries.
27868
27869 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27870 tanh, asinh, acosh, atanh.
27871 * benchtests/acos-inputs: New file.
27872 * benchtests/acosh-inputs: New file.
27873 * benchtests/asin-inputs: New file.
27874 * benchtests/asinh-inputs: New file.
27875 * benchtests/atanh-inputs: New file.
27876 * benchtests/cosh-inputs: New file.
27877 * benchtests/log-inputs: New file.
27878 * benchtests/sinh-inputs: New file.
27879 * benchtests/tanh-inputs: New file.
27880
278812013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27882
27883 [BZ #15339]
27884 * posix/tst-getaddrinfo4.c: New test.
27885 * posix/Makefile (tests): Add it.
27886
278872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27888
27889 [BZ #15339]
27890 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27891 when no services were used.
27892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27893 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27894
278952013-05-21 Andreas Schwab <schwab@suse.de>
27896
27897 [BZ #15014]
27898 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27899 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27900 successful.
27901 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27902 redundant variable declarations and reallocation of buffer when
27903 parsing as IPv6 address. Always set NSS status when called from
27904 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27905 buffer too small. Correct computation of needed size.
27906 * nss/Makefile (tests): Add test-digits-dots.
27907 * nss/test-digits-dots.c: New test.
27908
279092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27910
27911 * benchtests/Makefile: Remove instructions for adding
27912 benchmark tests.
27913 * benchtests/README: New file to explain how to execute and
27914 enhance the benchmark tests.
27915
279162013-05-21 Andreas Schwab <schwab@suse.de>
27917
27918 [BZ #15493]
27919 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27920 * setjmp/tst-sigsetjmp.c: New test.
27921
279222013-05-20 Ondřej Bílka <neleai@seznam.cz>
27923
27924 * sysdeps/x86_64/memset.S (memset): New implementation.
27925 (__bzero): Likewise.
27926 (__memset_tail): New function.
27927
279282013-05-20 Ondřej Bílka <neleai@seznam.cz>
27929
27930 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27931 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27932 __memcpy_sse2_unaligned ifunc selection.
27933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27934 Add memcpy-sse2-unaligned.S.
27935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27936 Add: __memcpy_sse2_unaligned.
27937
279382013-05-19 Joseph Myers <joseph@codesourcery.com>
27939
27940 [BZ #15490]
27941 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27942 math_force_eval before restoring floating-point envrionment.
27943 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27945 Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27947 <math_private.h>.
27948 (__nearbyintl): Use math_force_eval before restoring
27949 floating-point environment.
27950 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27951
27952 * math/gen-libm-test.pl (special_functions): Remove.
27953 (parse_args): Don't handle TEST_extra. Handle functions with no
27954 return value.
27955 * math/libm-test.inc (struct test_sincos_data): Replace with
27956 struct test_fFF_11_data.
27957 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27958 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27959 (sincos_test_data): Change element type to struct
27960 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27961 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27962 RUN_TEST_LOOP_sincos.
27963 * math/README.libm-test: Don't mention special handling of
27964 individual functions.
27965 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27967 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27968 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27969 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27971
27972 * math/gen-libm-test.pl (get_variable): Remove function.
27973 (parse_args): Don't show pointer parameters to call in test
27974 names. Use "extra output N" in test names for extra outputs
27975 rather than naming variables.
27976
279772013-05-18 Joseph Myers <joseph@codesourcery.com>
27978
27979 [BZ #15488]
27980 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27981 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27982 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27983 double tests.
27984 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27985 disable.
27986 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27987 check_long_double.
27988
27989 * math/gen-libm-test.pl (@tests): Remove variable.
27990 ($count): Likewise.
27991 (new_test): Remove function.
27992 (show_exceptions): New function.
27993 (special_functions): Use show_exceptions instead of new_test.
27994 (parse_args): Likewise.
27995 (generate_testfile): Pass only function name in generated call to
27996 print_max_error or print_complex_max_error.
27997 (get_ulps): Do not handle complex tests specially.
27998 (output_test): Rename to ...
27999 (get_all_ulps_for_test): ... this. Return a string rather than
28000 printing to a file. Require ulps to be present.
28001 (output_ulps): Generate arrays rather than #defines.
28002 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28003 (struct ulp_data): New type.
28004 (BUILD_COMPLEX_ULP): Remove macro.
28005 (compare_ulp_data): New function.
28006 (find_ulps): Likewise.
28007 (find_test_ulps): Likewise.
28008 (find_function_ulps): Likewise.
28009 (find_complex_function_ulps): Likewise.
28010 (print_max_error): Determine allowed ulps using
28011 find_function_ulps.
28012 (print_complex_max_error): Determine allowed ulps using
28013 find_complex_function_ulps.
28014 (check_float_internal): Determine max ulps using find_test_ulps.
28015 (check_float): Do not take max_ulp parameter. Update call to
28016 check_float_internal.
28017 (check_complex): Likewise.
28018 (check_int): Do not take max_ulp parameter.
28019 (check_long): Likewise.
28020 (check_bool): Likewise.
28021 (check_longlong): Likewise.
28022 (struct test_f_f_data): Remove max_ulp field.
28023 (struct test_ff_f_data): Likewise.
28024 (struct test_ff_f_data_nexttoward): Likewise.
28025 (struct test_fi_f_data): Likewise.
28026 (struct test_fl_f_data): Likewise.
28027 (struct test_if_f_data): Likewise.
28028 (struct test_fff_f_data): Likewise.
28029 (struct test_c_f_data): Likewise.
28030 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28031 (struct test_fF_f1_data): Likewise.
28032 (struct test_ffI_f1_data): Likewise.
28033 (struct test_c_c_data): Remove max_ulp field.
28034 (struct test_cc_c_data): Likewise.
28035 (struct test_f_i_data): Likewise.
28036 (struct test_ff_i_data): Likewise.
28037 (struct test_f_l_data): Likewise.
28038 (struct test_f_L_data): Likewise.
28039 (struct test_sincos_data): Likewise.
28040 (RUN_TEST_f_f): Do not handle ulps.
28041 (RUN_TEST_LOOP_f_f): Likewise.
28042 (RUN_TEST_2_f): Likewise.
28043 (RUN_TEST_LOOP_2_f): Likewise.
28044 (RUN_TEST_fff_f): Likewise.
28045 (RUN_TEST_LOOP_fff_f): Likewise.
28046 (RUN_TEST_c_f): Likewise.
28047 (RUN_TEST_LOOP_c_f): Likewise.
28048 (RUN_TEST_f_f1): Likewise.
28049 (RUN_TEST_LOOP_f_f1): Likewise.
28050 (RUN_TEST_fF_f1): Likewise.
28051 (RUN_TEST_LOOP_fF_f1): Likewise.
28052 (RUN_TEST_fI_f1): Likewise.
28053 (RUN_TEST_LOOP_fI_f1): Likewise.
28054 (RUN_TEST_ffI_f1): Likewise.
28055 (RUN_TEST_LOOP_ffI_f1): Likewise.
28056 (RUN_TEST_c_c): Likewise.
28057 (RUN_TEST_LOOP_c_c): Likewise.
28058 (RUN_TEST_cc_c): Likewise.
28059 (RUN_TEST_LOOP_cc_c): Likewise.
28060 (RUN_TEST_f_i): Likewise.
28061 (RUN_TEST_LOOP_f_i): Likewise.
28062 (RUN_TEST_f_i_tg): Likewise.
28063 (RUN_TEST_LOOP_f_i_tg): Likewise.
28064 (RUN_TEST_ff_i_tg): Likewise.
28065 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28066 (RUN_TEST_f_b): Likewise.
28067 (RUN_TEST_LOOP_f_b): Likewise.
28068 (RUN_TEST_f_b_tg): Likewise.
28069 (RUN_TEST_LOOP_f_b_tg): Likewise.
28070 (RUN_TEST_f_l): Likewise.
28071 (RUN_TEST_LOOP_f_l): Likewise.
28072 (RUN_TEST_f_L): Likewise.
28073 (RUN_TEST_LOOP_f_L): Likewise.
28074 (RUN_TEST_sincos): Likewise.
28075 (RUN_TEST_LOOP_sincos): Likewise.
28076
280772013-05-17 Joseph Myers <joseph@codesourcery.com>
28078
28079 [BZ #15480]
28080 [BZ #15485]
28081 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28082 main case of finite arguments, set rounding mode to FE_TONEAREST
28083 and discard exceptions.
28084 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28085 exceptions.
28086 (remainder_tonearest_test_data): New variable.
28087 (remainder_test_tonearest): New function.
28088 (remainder_towardzero_test_data): New variable.
28089 (remainder_test_towardzero): New function.
28090 (remainder_downward_test_data): New variable.
28091 (remainder_test_downward): New function.
28092 (remainder_upward_test_data): New variable.
28093 (remainder_test_upward): New function.
28094 (main): Call the new test functions.
28095
28096 * math/libm-test.inc (struct test_f_f1_data): Remove field
28097 extra_init.
28098 (struct test_fF_f1_data): Likewise.
28099 (struct test_ffI_f1_data): Likewise.
28100 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28101 based on value of EXTRA_EXPECTED.
28102 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28103 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28104 EXTRA_VAR based on value of EXTRA_EXPECTED.
28105 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28106 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28107 EXTRA_VAR based on value of EXTRA_EXPECTED.
28108 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28109 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28110 EXTRA_VAR based on value of EXTRA_EXPECTED.
28111 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28112 * math/gen-libm-test.pl (parse_args): Don't output initializers
28113 for extra output values.
28114
28115 * math/libm-test.inc (check_int): Expect result to be exactly
28116 equal to expected value and do not handle ulps.
28117 (check_long): Likewise.
28118 (check_longlong): Likewise.
28119
28120 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28121 exceptions.
28122 (cimag_test_data): Likewise.
28123 (conj_test_data): Likewise.
28124 (copysign_test_data): Likewise.
28125 (cproj_test_data): Likewise.
28126 (creal_test_data): Likewise.
28127 (fabs_test_data): Likewise.
28128 (fdim_test_data): Likewise.
28129 (finite_test_data): Likewise.
28130 (floor_test_data): Likewise.
28131 (fmax_test_data): Likewise.
28132 (fmin_test_data): Likewise.
28133 (fmod_test_data): Likewise.
28134 (fpclassify_test_data): Likewise.
28135 (frexp_test_data): Likewise.
28136 (ilogb_test_data): Likewise.
28137 (isfinite_test_data): Likewise.
28138 (isgreater_test_data): Likewise.
28139 (isgreaterequal_test_data): Likewise.
28140 (isinf_test_data): Likewise.
28141 (isless_test_data): Likewise.
28142 (islessequal_test_data): Likewise.
28143 (islessgreater_test_data): Likewise.
28144 (isnan_test_data): Likewise.
28145 (isnormal_test_data): Likewise.
28146 (issignaling_test_data): Likewise.
28147 (isunordered_test_data): Likewise.
28148 (ldexp_test_data): Likewise.
28149 (lrint_test_data): Likewise.
28150 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28151 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28152 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28153 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28154 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28155 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28156 test input.
28157 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28158 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28159 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28160 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28161 that test input.
28162 (lrint_downward_test_data): Test for "inexact" exceptions.
28163 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28164 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28165 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28166 test input.
28167 (lrint_upward_test_data): Test for "inexact" exceptions.
28168 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28169 test input.
28170 (llrint_test_data): Test for "inexact" exceptions.
28171 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28172 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28173 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28174 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28175 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28176 (llrint_downward_test_data): Test for "inexact" exceptions.
28177 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28178 (llrint_upward_test_data): Test for "inexact" exceptions.
28179 (logb_test_data): Likewise.
28180 (logb_downward_test_data): Likewise.
28181 (nextafter_test_data): Likewise.
28182 (nexttoward_test_data): Likewise.
28183 (remainder_test_data): Likewise.
28184 (remquo_test_data): Likewise.
28185 (scalbn_test_data): Likewise.
28186 (scalbln_test_data): Likewise.
28187 (signbit_test_data): Likewise.
28188 (sqrt_test_data): Likewise.
28189 (significand_test_data): Likewise.
28190
281912013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28192
28193 [BZ #15424]
28194 * benchtests/bench-modf.c (struct args): Mark arg0 as
28195 volatile.
28196 * scripts/bench.pl: Mark members of struct args as volatile.
28197
281982013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28199
28200 [BZ # 15497]
28201 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28202 negative infinity on POWER6 or lower.
28203 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28204
282052013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28206
28207 [BZ #15442]
28208 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28209 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28210 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28211 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28212 (_FP_SETQNAN): New macro.
28213 (_FP_SETQNAN_SEMIRAW): Likewise.
28214 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28215 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28216 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28217 (FP_EXTEND): Use _FP_FRAC_SNANP.
28218 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28219 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28220 into account.
28221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28222 New macro.
28223 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28224 Likewise.
28225
282262013-05-16 Joseph Myers <joseph@codesourcery.com>
28227
28228 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28229 with DIVIDE_BY_ZERO_EXCEPTION.
28230 (gamma_test_data): Likewise.
28231 (lgamma_test_data): Likewise.
28232 (log_test_data): Likewise.
28233 (log10_test_data): Likewise.
28234 (log2_test_data): Likewise.
28235 (tgamma_test_data): Likewise.
28236
28237 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28238 (acos_test_tonearest): Likewise.
28239 (acos_test_towardzero): Likewise.
28240 (acos_test_downward): Likewise.
28241 (acos_test_upward): Likewise.
28242 (acosh_test): Likewise.
28243 (asin_test): Likewise.
28244 (asin_test_tonearest): Likewise.
28245 (asin_test_towardzero): Likewise.
28246 (asin_test_downward): Likewise.
28247 (asin_test_upward): Likewise.
28248 (asinh_test): Likewise.
28249 (atan_test): Likewise.
28250 (atanh_test): Likewise.
28251 (atan2_test): Likewise.
28252 (cabs_test): Likewise.
28253 (cacos_test): Likewise.
28254 (cacosh_test): Likewise.
28255 (casin_test): Likewise.
28256 (casinh_test): Likewise.
28257 (catan_test): Likewise.
28258 (catanh_test): Likewise.
28259 (cbrt_test): Likewise.
28260 (ccos_test): Likewise.
28261 (ccosh_test): Likewise.
28262 (cexp_test): Likewise.
28263 (clog_test): Likewise.
28264 (clog10_test): Likewise.
28265 (cos_test): Likewise.
28266 (cos_test_tonearest): Likewise.
28267 (cos_test_towardzero): Likewise.
28268 (cos_test_downward): Likewise.
28269 (cos_test_upward): Likewise.
28270 (cosh_test): Likewise.
28271 (cosh_test_tonearest): Likewise.
28272 (cosh_test_towardzero): Likewise.
28273 (cosh_test_downward): Likewise.
28274 (cosh_test_upward): Likewise.
28275 (cpow_test): Likewise.
28276 (csin_test): Likewise.
28277 (csinh_test): Likewise.
28278 (csqrt_test): Likewise.
28279 (ctan_test): Likewise.
28280 (ctan_test_tonearest): Likewise.
28281 (ctan_test_towardzero): Likewise.
28282 (ctan_test_downward): Likewise.
28283 (ctan_test_upward): Likewise.
28284 (ctanh_test): Likewise.
28285 (ctanh_test_tonearest): Likewise.
28286 (ctanh_test_towardzero): Likewise.
28287 (ctanh_test_downward): Likewise.
28288 (ctanh_test_upward): Likewise.
28289 (erf_test): Likewise.
28290 (erfc_test): Likewise.
28291 (exp_test): Likewise.
28292 (exp_test_tonearest): Likewise.
28293 (exp_test_towardzero): Likewise.
28294 (exp_test_downward): Likewise.
28295 (exp_test_upward): Likewise.
28296 (exp10_test): Likewise.
28297 (exp2_test): Likewise.
28298 (expm1_test): Likewise.
28299 (fmod_test): Likewise.
28300 (gamma_test): Likewise.
28301 (hypot_test): Likewise.
28302 (j0_test): Likewise.
28303 (j1_test): Likewise.
28304 (jn_test): Likewise.
28305 (lgamma_test): Likewise.
28306 (log_test): Likewise.
28307 (log10_test): Likewise.
28308 (log1p_test): Likewise.
28309 (log2_test): Likewise.
28310 (logb_test_downward): Likewise.
28311 (pow_test): Likewise.
28312 (pow_test_tonearest): Likewise.
28313 (pow_test_towardzero): Likewise.
28314 (pow_test_downward): Likewise.
28315 (pow_test_upward): Likewise.
28316 (remainder_test): Likewise.
28317 (remquo_test): Likewise.
28318 (sin_test): Likewise.
28319 (sin_test_tonearest): Likewise.
28320 (sin_test_towardzero): Likewise.
28321 (sin_test_downward): Likewise.
28322 (sin_test_upward): Likewise.
28323 (sincos_test): Likewise.
28324 (sinh_test): Likewise.
28325 (sinh_test_tonearest): Likewise.
28326 (sinh_test_towardzero): Likewise.
28327 (sinh_test_downward): Likewise.
28328 (sinh_test_upward): Likewise.
28329 (sqrt_test): Likewise.
28330 (tan_test): Likewise.
28331 (tan_test_tonearest): Likewise.
28332 (tan_test_towardzero): Likewise.
28333 (tan_test_downward): Likewise.
28334 (tan_test_upward): Likewise.
28335 (tanh_test): Likewise.
28336 (tgamma_test): Likewise.
28337 (y0_test): Likewise.
28338 (y1_test): Likewise.
28339 (yn_test): Likewise.
28340
28341 * math/gen-libm-test.pl (adjust_arg): Remove function.
28342 (special_function): Remove argument $in_func. Only handle
28343 generating output for tables of tests, not inside functions.
28344 (parse_args): Likewise.
28345 (generate_testfile): Remove variable $in_func. Update call to
28346 parse_args.
28347 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28348 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28349 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28350 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28351 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28352 (MAX_VALUE_INIT): Rename macro to max_value.
28353 (MIN_VALUE_INIT): Rename macro to min_value.
28354 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28355 (plus_zero): Remove variable.
28356 (minus_zero): Likewise.
28357 (plus_infty): Likewise.
28358 (minus_infty): Likewise.
28359 (qnan_value): Likewise.
28360 (max_value): Likewise.
28361 (min_value): Likewise.
28362 (min_subnorm_value): Likewise.
28363
283642013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28365
28366 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28367 uint64_t or uint32_t usage.
28368 * crypt/sha256-block.c: Likewise.
28369 * crypt/sha256-crypt.c: Likewise.
28370 * crypt/sha256.c: Likewise.
28371 * crypt/sha512-block.c: Likewise.
28372 * crypt/sha512-crypt.c: Likewise.
28373 * crypt/sha512.c: Likewise.
28374 * debug/backtrace-tst.c: Likewise.
28375 * debug/pcprofiledump.c: Likewise.
28376 * elf/cache.c: Likewise.
28377 * elf/dl-cache.c: Likewise.
28378 * elf/dl-misc.c: Likewise.
28379 * elf/dl-profile.c: Likewise.
28380 * elf/dl-support.c: Likewise.
28381 * elf/ldconfig.c: Likewise.
28382 * elf/sprof.c: Likewise.
28383 * iconv/dummy-repertoire.c: Likewise.
28384 * iconv/iconv_charmap.c: Likewise.
28385 * iconv/skeleton.c: Likewise.
28386 * iconvdata/8bit-generic.c: Likewise.
28387 * iconvdata/cp737.h: Likewise.
28388 * iconvdata/cp775.h: Likewise.
28389 * iconvdata/ibm1008.h: Likewise.
28390 * iconvdata/ibm1025.h: Likewise.
28391 * iconvdata/ibm1046.h: Likewise.
28392 * iconvdata/ibm1097.h: Likewise.
28393 * iconvdata/ibm1112.h: Likewise.
28394 * iconvdata/ibm1122.h: Likewise.
28395 * iconvdata/ibm1123.h: Likewise.
28396 * iconvdata/ibm1124.h: Likewise.
28397 * iconvdata/ibm1129.h: Likewise.
28398 * iconvdata/ibm1130.h: Likewise.
28399 * iconvdata/ibm1132.h: Likewise.
28400 * iconvdata/ibm1133.h: Likewise.
28401 * iconvdata/ibm1137.h: Likewise.
28402 * iconvdata/ibm1140.h: Likewise.
28403 * iconvdata/ibm1141.h: Likewise.
28404 * iconvdata/ibm1142.h: Likewise.
28405 * iconvdata/ibm1143.h: Likewise.
28406 * iconvdata/ibm1144.h: Likewise.
28407 * iconvdata/ibm1145.h: Likewise.
28408 * iconvdata/ibm1146.h: Likewise.
28409 * iconvdata/ibm1147.h: Likewise.
28410 * iconvdata/ibm1148.h: Likewise.
28411 * iconvdata/ibm1149.h: Likewise.
28412 * iconvdata/ibm1153.h: Likewise.
28413 * iconvdata/ibm1154.h: Likewise.
28414 * iconvdata/ibm1155.h: Likewise.
28415 * iconvdata/ibm1156.h: Likewise.
28416 * iconvdata/ibm1157.h: Likewise.
28417 * iconvdata/ibm1158.h: Likewise.
28418 * iconvdata/ibm1160.h: Likewise.
28419 * iconvdata/ibm1161.h: Likewise.
28420 * iconvdata/ibm1162.h: Likewise.
28421 * iconvdata/ibm1163.h: Likewise.
28422 * iconvdata/ibm1164.h: Likewise.
28423 * iconvdata/ibm1166.h: Likewise.
28424 * iconvdata/ibm1167.h: Likewise.
28425 * iconvdata/ibm12712.h: Likewise.
28426 * iconvdata/ibm1390.h: Likewise.
28427 * iconvdata/ibm1399.h: Likewise.
28428 * iconvdata/ibm16804.h: Likewise.
28429 * iconvdata/ibm4517.h: Likewise.
28430 * iconvdata/ibm4899.h: Likewise.
28431 * iconvdata/ibm4909.h: Likewise.
28432 * iconvdata/ibm4971.h: Likewise.
28433 * iconvdata/ibm5347.h: Likewise.
28434 * iconvdata/ibm803.h: Likewise.
28435 * iconvdata/ibm856.h: Likewise.
28436 * iconvdata/ibm901.h: Likewise.
28437 * iconvdata/ibm902.h: Likewise.
28438 * iconvdata/ibm9030.h: Likewise.
28439 * iconvdata/ibm9066.h: Likewise.
28440 * iconvdata/ibm921.h: Likewise.
28441 * iconvdata/ibm922.h: Likewise.
28442 * iconvdata/ibm9448.h: Likewise.
28443 * iconvdata/isiri-3342.h: Likewise.
28444 * iconvdata/jis0201.h: Likewise.
28445 * include/link.h: Likewise.
28446 * include/netdb.h: Likewise.
28447 * inet/check_native.c: Likewise.
28448 * inet/check_pf.c: Likewise.
28449 * inet/getipv4sourcefilter.c: Likewise.
28450 * inet/getnameinfo.c: Likewise.
28451 * inet/getsourcefilter.c: Likewise.
28452 * inet/htonl.c: Likewise.
28453 * inet/setipv4sourcefilter.c: Likewise.
28454 * inet/setsourcefilter.c: Likewise.
28455 * inet/test-inet6_opt.c: Likewise.
28456 * inet/tst-network.c: Likewise.
28457 * locale/C-collate.c: Likewise.
28458 * locale/C-ctype.c: Likewise.
28459 * locale/C-time.c: Likewise.
28460 * locale/C-translit.h: Likewise.
28461 * locale/loadarchive.c: Likewise.
28462 * locale/programs/3level.h: Likewise.
28463 * locale/programs/charmap.c: Likewise.
28464 * locale/programs/charmap.h: Likewise.
28465 * locale/programs/ld-address.c: Likewise.
28466 * locale/programs/ld-collate.c: Likewise.
28467 * locale/programs/ld-ctype.c: Likewise.
28468 * locale/programs/ld-identification.c: Likewise.
28469 * locale/programs/ld-measurement.c: Likewise.
28470 * locale/programs/ld-messages.c: Likewise.
28471 * locale/programs/ld-monetary.c: Likewise.
28472 * locale/programs/ld-name.c: Likewise.
28473 * locale/programs/ld-numeric.c: Likewise.
28474 * locale/programs/ld-paper.c: Likewise.
28475 * locale/programs/ld-telephone.c: Likewise.
28476 * locale/programs/ld-time.c: Likewise.
28477 * locale/programs/linereader.c: Likewise.
28478 * locale/programs/locale.c: Likewise.
28479 * locale/programs/locarchive.c: Likewise.
28480 * locale/programs/locfile.h: Likewise.
28481 * locale/programs/repertoire.c: Likewise.
28482 * locale/programs/simple-hash.c: Likewise.
28483 * locale/programs/simple-hash.h: Likewise.
28484 * malloc/memusage.c: Likewise.
28485 * malloc/memusagestat.c: Likewise.
28486 * nis/nis_defaults.c: Likewise.
28487 * nis/nis_hash.c: Likewise.
28488 * nis/nis_print.c: Likewise.
28489 * nis/nis_xdr.c: Likewise.
28490 * nscd/connections.c: Likewise.
28491 * nscd/hstcache.c: Likewise.
28492 * nscd/nscd_gethst_r.c: Likewise.
28493 * nscd/nscd_getserv_r.c: Likewise.
28494 * nscd/nscd_helper.c: Likewise.
28495 * nscd/servicescache.c: Likewise.
28496 * nss/makedb.c: Likewise.
28497 * nss/nss_db/db-XXX.c: Likewise.
28498 * nss/nss_db/db-initgroups.c: Likewise.
28499 * nss/nss_db/db-netgrp.c: Likewise.
28500 * nss/nss_files/files-network.c: Likewise.
28501 * nss/nss_files/files-parse.c: Likewise.
28502 * posix/bug-regex5.c: Likewise.
28503 * posix/fnmatch_loop.c: Likewise.
28504 * posix/regcomp.c: Likewise.
28505 * posix/regexec.c: Likewise.
28506 * posix/tst-rfc3484-2.c: Likewise.
28507 * posix/tst-rfc3484-3.c: Likewise.
28508 * posix/tst-rfc3484.c: Likewise.
28509 * resolv/nss_dns/dns-canon.c: Likewise.
28510 * resolv/nss_dns/dns-network.c: Likewise.
28511 * resolv/res_init.c: Likewise.
28512 * resolv/res_mkquery.c: Likewise.
28513 * resolv/tst-aton.c: Likewise.
28514 * stdlib/cxa_atexit.c: Likewise.
28515 * stdlib/cxa_finalize.c: Likewise.
28516 * stdlib/gen-fpioconst.c: Likewise.
28517 * stdlib/strtol_l.c: Likewise.
28518 * string/tst-endian.c: Likewise.
28519 * sunrpc/auth_des.c: Likewise.
28520 * sunrpc/clnt_udp.c: Likewise.
28521 * sunrpc/rtime.c: Likewise.
28522 * sunrpc/svcauth_des.c: Likewise.
28523 * sunrpc/xdr.c: Likewise.
28524 * sunrpc/xdr_intXX_t.c: Likewise.
28525 * sunrpc/xdr_rec.c: Likewise.
28526 * sysdeps/generic/ldconfig.h: Likewise.
28527 * sysdeps/generic/ldsodefs.h: Likewise.
28528 * sysdeps/generic/memusage.h: Likewise.
28529 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28530 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28539 * sysdeps/posix/getaddrinfo.c: Likewise.
28540 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28541 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28542 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28543 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28544 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28545 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28546 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28547 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28548 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28549 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28550 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28551 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28552 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28553 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28554 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28555 * sysdeps/x86_64/dl-tls.h: Likewise.
28556 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28557 * time/alt_digit.c: Likewise.
28558 * time/era.c: Likewise.
28559 * wcsmbs/tst-c16c32-1.c: Likewise.
28560
285612013-05-16 Joseph Myers <joseph@codesourcery.com>
28562
28563 * math/libm-test.inc (struct test_sincos_data): New type.
28564 (RUN_TEST_LOOP_sincos): New macro.
28565 (sincos_test_data): New variable.
28566 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28567
285682013-05-16 Richard Henderson <rth@redhat.com>
28569
28570 * math/atest-exp2.c (LIMB64): New macro.
28571 (CONSTSZ): New macro.
28572 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28573 (hexdig): Move ...
28574 (print_mpn_fp): ... to function scope.
28575 (read_mpn_hex): Remove.
28576 (get_log2): Remove.
28577 (exp2_mpn): Use mp_log2.
28578 (main): Use mp_exp1.
28579
285802013-05-16 Joseph Myers <joseph@codesourcery.com>
28581
28582 * math/libm-test.inc: Remove comment about not testing "inexact"
28583 exceptions.
28584 (INEXACT_EXCEPTION): New macro.
28585 (NO_INEXACT_EXCEPTION): Likewise.
28586 (INVALID_EXCEPTION_OK): Update value.
28587 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28588 (OVERFLOW_EXCEPTION_OK): Likewise.
28589 (UNDERFLOW_EXCEPTION_OK): Likewise.
28590 (IGNORE_ZERO_INF_SIGN): Likewise.
28591 (ERRNO_UNCHANGED): Likewise.
28592 (ERRNO_EDOM): Likewise.
28593 (ERRNO_ERANGE): Likewise.
28594 (test_exceptions): Handle testing "inexact" exceptions.
28595 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28596 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28597 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28598 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28599 INEXACT_EXCEPTION.
28600 (rint_towardzero_test_data): Likewise.
28601 (rint_downward_test_data): Likewise.
28602 (rint_upward_test_data): Likewise.
28603
28604 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28605 with OVERFLOW_EXCEPTION.
28606 (exp10_test_data): Likewise.
28607 (exp2_test_data): Likewise.
28608 (expm1_test_data): Likewise.
28609 (lgamma_test_data): Likewise.
28610 (pow_test_data): Likewise.
28611 (tgamma_test_data): Likewise.
28612 (yn_test_data): Remove duplicate test of overflow.
28613
28614 * math/libm-test.inc (struct test_cc_c_data): New type.
28615 (RUN_TEST_LOOP_cc_c): New macro.
28616 (cpow_test_data): New variable.
28617 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28618
28619 * math/libm-test.inc (struct test_f_L_data): New type.
28620 (RUN_TEST_LOOP_f_L): New macro.
28621 (llrint_test_data): New variable.
28622 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28623 (llrint_tonearest_test_data): New variable.
28624 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28625 (llrint_towardzero_test_data): New variable.
28626 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28627 (llrint_downward_test_data): New variable.
28628 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28629 (llrint_upward_test_data): New variable.
28630 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28631 (llround_test_data): New variable.
28632 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28633
286342013-05-13 Peter Collingbourne <pcc@google.com>
28635
28636 * math/atest-exp2.c (get_log2): Remove const attribute.
28637
286382013-05-15 Joseph Myers <joseph@codesourcery.com>
28639
28640 * math/libm-test.inc (struct test_f_l_data): New type.
28641 (RUN_TEST_LOOP_f_l): New macro.
28642 (lrint_test_data): New variable.
28643 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28644 (lrint_tonearest_test_data): New variable.
28645 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28646 (lrint_towardzero_test_data): New variable.
28647 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28648 (lrint_downward_test_data): New variable.
28649 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28650 (lrint_upward_test_data): New variable.
28651 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28652 (lround_test_data): New variable.
28653 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28654
286552013-05-15 Peter Collingbourne <pcc@google.com>
28656
28657 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28658 (EXTRACT_WORDS64) Use where appropriate.
28659 (INSERT_WORDS64) Likewise.
28660
28661 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28662 constraints with x constraints.
28663 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28664
28665 * malloc/obstack.c (_obstack_compat): Add initializer.
28666
286672013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28668
28669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28670 si_trapno and add si_addr_lsb to _sifields.sigfault.
28671 (si_trapno): Remove macro.
28672 (si_addr_lsb): Define new macro.
28673 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28674
286752013-05-15 Joseph Myers <joseph@codesourcery.com>
28676
28677 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28678 instead of TEST_f_l.
28679 (llrint_test_tonearest): Likewise.
28680 (llrint_test_towardzero): Likewise.
28681 (llrint_test_downward): Likewise.
28682 (llrint_test_upward): Likewise.
28683 (llround_test): Likewise.
28684
28685 * math/libm-test.inc (struct test_f_i_data): Add comment.
28686 (RUN_TEST_LOOP_f_b): New macro.
28687 (RUN_TEST_LOOP_f_b_tg): Likewise.
28688 (finite_test_data): New variable.
28689 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28690 (isfinite_test_data): New variable.
28691 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28692 (isinf_test_data): New variable.
28693 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28694 (isnan_test_data): New variable.
28695 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28696 (isnormal_test_data): New variable.
28697 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28698 (issignaling_test_data): New variable.
28699 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28700 (signbit_test_data): New variable.
28701 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28702
28703 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28704 with INVALID_EXCEPTION.
28705 (acosh_test_data): Likewise.
28706 (asin_test_data): Likewise.
28707 (atanh_test_data): Likewise.
28708 (fmod_test_data): Likewise.
28709 (log_test_data): Likewise.
28710 (log10_test_data): Likewise.
28711 (log2_test_data): Likewise.
28712 (pow_test_data): Likewise.
28713 (sqrt_test_data): Likewise.
28714 (y0_test_data): Likewise.
28715 (y1_test_data): Likewise.
28716 (yn_test_data): Likewise.
28717
28718 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28719 function contents.
28720
28721 * math/libm-test.inc (struct test_ff_i_data): New type.
28722 (RUN_TEST_LOOP_ff_i_tg): New macro.
28723 (isgreater_test_data): New variable.
28724 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28725 (isgreaterequal_test_data): New variable.
28726 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28727 (isless_test_data): New variable.
28728 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28729 (islessequal_test_data): New variable.
28730 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28731 (islessgreater_test_data): New variable.
28732 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28733 (isunordered_test_data): New variable.
28734 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28735
287362013-05-14 David S. Miller <davem@davemloft.net>
28737
28738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28739
287402013-05-14 Joseph Myers <joseph@codesourcery.com>
28741
28742 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28743
28744 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28745 extra_test to int.
28746 (struct test_f_i_data): Change type of max_ulp to int.
28747
28748 * math/libm-test.inc (test_ffI_f1_data): New type.
28749 (RUN_TEST_LOOP_ffI_f1): New macro.
28750 (remquo_test_data): New variable.
28751 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28752
28753 * setjmp/tst-setjmp-fp.c: New file.
28754 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28755 (link-libm): New variable.
28756 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28757
28758 * math/libm-test.inc (struct test_f_i_data): New type.
28759 (RUN_TEST_LOOP_f_i): New macro.
28760 (RUN_TEST_LOOP_f_i_tg): Likewise.
28761 (fpclassify_test_data): New variable.
28762 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28763 (ilogb_test_data): New variable.
28764 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28765
28766 * math/libm-test.inc (scalbln_test): Correct function name in END
28767 call.
28768
28769 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28770 (RUN_TEST_LOOP_fI_f1): New macro.
28771 (frexp_test_data): New variable.
28772 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28773
28774 * math/libm-test.inc (struct test_fF_f1_data): New type.
28775 (RUN_TEST_LOOP_fF_f1): New macro.
28776 (modf_test_data): New variable.
28777 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28778
28779 * math/libm-test.inc (struct test_f_f1_data): New type.
28780 (RUN_TEST_LOOP_f_f1): New macro.
28781 (gamma_test_data): New variable.
28782 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28783 (lgamma_test_data): New variable.
28784 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28785
287862013-05-13 Carlos O'Donell <carlos@redhat.com>
28787
28788 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28789 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28790 (main): Comment "tls" pseudo-hwcap.
28791
287922013-05-13 Joseph Myers <joseph@codesourcery.com>
28793
28794 * math/libm-test.inc (struct test_fl_f_data): New type.
28795 (RUN_TEST_LOOP_fl_f): New variable.
28796 (scalbln_test_data): New variable.
28797 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28798
28799 * math/libm-test.inc (struct test_fi_f_data): New type.
28800 (RUN_TEST_LOOP_fi_f): New macro.
28801 (ldexp_test_data): New variable.
28802 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28803 (scalbn_test_data): New variable.
28804 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28805
28806 * math/libm-test.inc (struct test_c_f_data): New type.
28807 (RUN_TEST_LOOP_c_f): New macro.
28808 (cabs_test_data): New variable.
28809 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28810 (carg_test_data): New variable.
28811 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28812 (cimag_test_data): New variable.
28813 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28814 (creal_test_data): New variable.
28815 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28816
28817 * math/libm-test.inc (struct test_if_f_data): New type.
28818 (RUN_TEST_LOOP_if_f): New macro.
28819 (jn_test_data): New variable.
28820 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28821 (yn_test_data): New variable.
28822 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28823
28824 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28825
288262013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28827
28828 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28829 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28830
288312013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28832
28833 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28834 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28835 (bench-deps): Add bench-timing.h.
28836 * benchtests-bench-skeleton.c: Include bench-timing.h.
28837 (main): Use TIMING_* macros instead of clock_gettime.
28838 * benchtests/bench-timing.h: New file.
28839
28840 [BZ #14582]
28841 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28842 Renamed from _LIB_VERSION.
28843 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28844
288452013-05-12 Joseph Myers <joseph@codesourcery.com>
28846
28847 * math/libm-test.inc (struct test_fff_f_data): New type.
28848 (RUN_TEST_LOOP_fff_f): New macro.
28849 (fma_test_data): New variable.
28850 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28851 (fma_towardzero_test_data): New variable.
28852 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28853 (fma_downward_test_data): New variable.
28854 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28855 (fma_upward_test_data): New variable.
28856 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28857
28858 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28859 (struct test_c_c_data): New type.
28860 (RUN_TEST_LOOP_c_c): New macro.
28861 (cacos_test_data): New variable.
28862 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28863 (cacosh_test_data): New variable.
28864 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28865 (casin_test_data): New variable.
28866 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28867 (casinh_test_data): New variable.
28868 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28869 (catan_test_data): New variable.
28870 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28871 (catanh_test_data): New variable.
28872 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28873 (ccos_test_data): New variable.
28874 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28875 (ccosh_test_data): New variable.
28876 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28877 (cexp_test_data): New variable.
28878 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28879 (clog_test_data): New variable.
28880 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28881 (clog10_test_data): New variable.
28882 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28883 (conj_test_data): New variable.
28884 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28885 (cproj_test_data): New variable.
28886 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28887 (csin_test_data): New variable.
28888 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28889 (csinh_test_data): New variable.
28890 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28891 (csqrt_test_data): New variable.
28892 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28893 (ctan_test_data): New variable.
28894 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28895 (ctan_tonearest_test_data): New variable.
28896 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28897 (ctan_towardzero_test_data): New variable.
28898 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28899 (ctan_downward_test_data): New variable.
28900 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28901 (ctan_upward_test_data): New variable.
28902 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28903 (ctanh_test_data): New variable.
28904 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28905 (ctanh_tonearest_test_data): New variable.
28906 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28907 (ctanh_towardzero_test_data): New variable.
28908 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28909 (ctanh_downward_test_data): New variable.
28910 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28911 (ctanh_upward_test_data): New variable.
28912 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28913 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28914 of BUILD_COMPLEX.
28915
28916 * math/libm-test.inc (struct test_ff_f_data): New type.
28917 (struct test_ff_f_data_nexttoward): Likewise.
28918 (RUN_TEST_LOOP_2_f): New macro.
28919 (RUN_TEST_LOOP_ff_f): Likewise.
28920 (atan2_test_data): New variable.
28921 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28922 (copysign_test_data): New variable.
28923 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28924 (fdim_test_data): New variable.
28925 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28926 (fmax_test_data): New variable.
28927 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28928 (fmin_test_data): New variable.
28929 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28930 (fmod_test_data): New variable.
28931 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28932 (hypot_test_data): New variable.
28933 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28934 (nextafter_test_data): New variable.
28935 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28936 (nexttoward_test_data): New variable.
28937 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28938 (pow_test_data): New variable.
28939 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28940 (pow_tonearest_test_data): New variable.
28941 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28942 (pow_towardzero_test_data): New variable.
28943 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28944 (pow_downward_test_data): New variable.
28945 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28946 (pow_upward_test_data): New variable.
28947 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28948 (remainder_test_data): New variable.
28949 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28950 (scalb_test_data): New variable.
28951 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28952 * sysdeps/i386/fpu/libm-test-ulps: Update.
28953
289542013-05-11 Joseph Myers <joseph@codesourcery.com>
28955
28956 * math/libm-test.inc (fma_test): Use max_value instead of local
28957 variable fltmax.
28958 (nextafter_test): Likewise.
28959
28960 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28961 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28962 (acos_downward_test_data): New variable.
28963 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28964 (acos_upward_test_data): New variable.
28965 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28966 (acosh_test_data): New variable.
28967 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28968 (asin_test_data): New variable.
28969 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28970 (asin_tonearest_test_data): New variable.
28971 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28972 (asin_towardzero_test_data): New variable.
28973 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28974 (asin_downward_test_data): New variable.
28975 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28976 (asin_upward_test_data): New variable.
28977 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28978 (asinh_test_data): New variable.
28979 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28980 (atan_test_data): New variable.
28981 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28982 (atanh_test_data): New variable.
28983 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28984 (cbrt_test_data): New variable.
28985 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28986 (ceil_test_data): New variable.
28987 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28988 (cos_test_data): New variable.
28989 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28990 (cos_tonearest_test_data): New variable.
28991 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28992 (cos_towardzero_test_data): New variable.
28993 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28994 (cos_downward_test_data): New variable.
28995 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28996 (cos_upward_test_data): New variable.
28997 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28998 (cosh_test_data): New variable.
28999 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29000 (cosh_tonearest_test_data): New variable.
29001 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29002 (cosh_towardzero_test_data): New variable.
29003 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29004 (cosh_downward_test_data): New variable.
29005 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29006 (cosh_upward_test_data): New variable.
29007 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29008 (erf_test_data): New variable.
29009 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29010 (erfc_test_data): New variable.
29011 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29012 (exp_test_data): New variable.
29013 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29014 (exp_tonearest_test_data): New variable.
29015 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29016 (exp_towardzero_test_data): New variable.
29017 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29018 (exp_downward_test_data): New variable.
29019 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29020 (exp_upward_test_data): New variable.
29021 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29022 (exp10_test_data): New variable.
29023 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29024 (exp2_test_data): New variable.
29025 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29026 (expm1_test_data): New variable.
29027 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29028 (fabs_test_data): New variable.
29029 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29030 (floor_test_data): New variable.
29031 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29032 (j0_test_data): New variable.
29033 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29034 (j1_test_data): New variable.
29035 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29036 (log_test_data): New variable.
29037 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29038 (log10_test_data): New variable.
29039 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29040 (log1p_test_data): New variable.
29041 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29042 (log2_test_data): New variable.
29043 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29044 (logb_test_data): New variable.
29045 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29046 (logb_downward_test_data): New variable.
29047 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29048 (nearbyint_test_data): New variable.
29049 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29050 (rint_test_data): New variable.
29051 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29052 (rint_tonearest_test_data): New variable.
29053 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29054 (rint_towardzero_test_data): New variable.
29055 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29056 (rint_downward_test_data): New variable.
29057 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29058 (rint_upward_test_data): New variable.
29059 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29060 (round_test_data): New variable.
29061 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29062 (sin_test_data): New variable.
29063 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29064 (sin_tonearest_test_data): New variable.
29065 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29066 (sin_towardzero_test_data): New variable.
29067 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29068 (sin_downward_test_data): New variable.
29069 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29070 (sin_upward_test_data): New variable.
29071 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29072 (sinh_test_data): New variable.
29073 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29074 (sinh_tonearest_test_data): New variable.
29075 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29076 (sinh_towardzero_test_data): New variable.
29077 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29078 (sinh_downward_test_data): New variable.
29079 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29080 (sinh_upward_test_data): New variable.
29081 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29082 (sqrt_test_data): New variable.
29083 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29084 (tan_test_data): New variable.
29085 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29086 (tan_tonearest_test_data): New variable.
29087 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29088 (tan_towardzero_test_data): New variable.
29089 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29090 (tan_downward_test_data): New variable.
29091 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29092 (tan_upward_test_data): New variable.
29093 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29094 (tanh_test_data): New variable.
29095 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29096 (tgamma_test_data): New variable.
29097 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29098 (trunc_test_data): New variable.
29099 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29100 (y0_test_data): New variable.
29101 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29102 (y1_test_data): New variable.
29103 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29104 (significand_test_data): New variable.
29105 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29106
291072013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29108
29109 [BZ #12387]
29110 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29111
291122013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29113
29114 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29115
291162013-05-10 Andreas Jaeger <aj@suse.de>
29117
29118 [BZ #15448]
29119 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29120 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29121
291222013-05-10 Joseph Myers <joseph@codesourcery.com>
29123
29124 * math/gen-libm-test.pl (adjust_arg): New function.
29125 (special_functions): Handle generating output in both functions
29126 and arrays.
29127 (parse_args): Likewise.
29128 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29129 $in_func argument to parse_args.
29130 * math/libm-test.inc (struct test_f_f_data): New type.
29131 (IF_ROUND_INIT_): New macro.
29132 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29133 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29134 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29135 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29136 (ROUND_RESTORE_): Likewise.
29137 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29138 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29139 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29140 (ROUND_RESTORE_FE_UPWARD): Likewise.
29141 (RUN_TEST_LOOP_f_f): New macro.
29142 (acos_test_data): New variable.
29143 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29144 (acos_tonearest_test_data): New variable.
29145 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29146
291472013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29148
29149 * benchtests/bench-skeleton.c (startup): Fix coding style.
29150
291512013-05-10 Joseph Myers <joseph@codesourcery.com>
29152
29153 [BZ #6809]
29154 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29155 negative infinity argument.
29156 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29157 negative infinity argument.
29158 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29159 negative infinity argument.
29160 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29161 domain errors.
29162
291632013-05-10 Florian Weimer <fweimer@redhat.com>
29164
29165 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29166 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29167 * iconv/iconv_prog.c (main): Likewise.
29168 * locale/programs/charmap-dir.c (charmap_readdir)
29169 (fopen_uncompressed): Likewise.
29170 * locale/programs/locfile.c (siblings_uncached)
29171 (write_locale_data): Use lstat64 instead of lstat.
29172 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29173 stat.
29174
291752013-05-10 Andreas Jaeger <aj@suse.de>
29176
29177 [BZ #15395]
29178 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29179 localization.
29180 Include <locale.h>.
29181
291822013-05-09 Carlos O'Donell <carlos@redhat.com>
29183
29184 * elf/dl-close.c (_dl_close_worker): Add comments.
29185
291862013-05-09 Joseph Myers <joseph@codesourcery.com>
29187
29188 [BZ #15359]
29189 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29190 high part of pi/2.
29191 (__ieee754_rem_pio2l): Update comments.
29192
29193 [BZ #15429]
29194 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29195 high part of pi/2.
29196 (__ieee754_rem_pio2l): Update comments.
29197
29198 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29199 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29200
29201 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29202 M_PI_4l.
29203
29204 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29205 (M_PI_34_LOG10El): Likewise.
29206 (M_PI2_LOG10El): Likewise.
29207 (M_PI4_LOG10El): Likewise.
29208 (M_PI_LOG10El): Likewise.
29209
292102013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29211
29212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29213
292142013-05-08 Joseph Myers <joseph@codesourcery.com>
29215
29216 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29217 (MINUS_ZERO_INIT): Likewise.
29218 (PLUS_INFTY_INIT): Likewise.
29219 (MINUS_INFTY_INIT): Likewise.
29220 (QNAN_VALUE_INIT): Likewise.
29221 (MAX_VALUE_INIT): Likewise.
29222 (MIN_VALUE_INIT): Likewise.
29223 (MIN_SUBNORM_VALUE_INIT): Likewise.
29224 (plus_zero): Initialize with PLUS_ZERO_INIT.
29225 (minus_zero): Initialize with MINUS_ZERO_INIT.
29226 (plus_infty): Initialize with PLUS_INFTY_INIT.
29227 (minus_infty): Initialize with MINUS_INFTY_INIT.
29228 (qnan_value): Initialize with QNAN_VALUE_INIT.
29229 (max_value): Initialize with MAX_VALUE_INIT.
29230 (min_value): Initialize with MIN_VALUE_INIT.
29231 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29232
29233 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29234 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29235 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29236 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29237
29238 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29239 (RUN_TEST_2_f): Likewise.
29240 (RUN_TEST_ff_f): Likewise.
29241 (RUN_TEST_fi_f): Likewise.
29242 (RUN_TEST_fl_f): Likewise.
29243 (RUN_TEST_fff_f): Likewise.
29244 (RUN_TEST_c_f): Likewise.
29245 (RUN_TEST_f_f1): Likewise.
29246 (RUN_TEST_fF_f1): Likewise.
29247 (RUN_TEST_fI_f1): Likewise.
29248 (RUN_TEST_ffI_f1): Likewise.
29249 (RUN_TEST_c_c): Likewise.
29250 (RUN_TEST_cc_c): Likewise.
29251 (RUN_TEST_f_i): Likewise.
29252 (RUN_TEST_f_i_tg): Likewise.
29253 (RUN_TEST_ff_i_tg): Likewise.
29254 (RUN_TEST_f_b): Likewise.
29255 (RUN_TEST_f_b_tg): Likewise.
29256 (RUN_TEST_f_l): Likewise.
29257 (RUN_TEST_f_L): Likewise.
29258 (RUN_TEST_sincos): Likewise.
29259 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29260 whether to show exceptions. Do not include ");\n" in return
29261 value.
29262 (special_functions): Output call to RUN_TEST_sincos instead of
29263 check_float calls. Update calls to new_test.
29264 (parse_args): Output call to single RUN_TEST_* macro instead of
29265 check_* calls and other assignments. Update calls to new_test.
29266
29267 [BZ #2546]
29268 [BZ #2560]
29269 [BZ #5159]
29270 [BZ #15426]
29271 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29272 input to result for tgamma overflow.
29273 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29274 (gamma_coeff): New variable.
29275 (NCOEFF): New macro.
29276 (gamma_positive): New function.
29277 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29278 underflow here. Use gamma_positive instead of exp (lgamma) for
29279 other arguments.
29280 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29281 (gamma_coeff): New variable.
29282 (NCOEFF): New macro.
29283 (gammaf_positive): New function.
29284 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29285 underflow here. Use gamma_positive instead of exp (lgamma) for
29286 other arguments.
29287 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29288 (gamma_coeff): New variable.
29289 (NCOEFF): New macro.
29290 (gammal_positive): New function.
29291 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29292 underflow here. Use gamma_positive instead of exp (lgamma) for
29293 other arguments.
29294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29295 (gamma_coeff): New variable.
29296 (NCOEFF): New macro.
29297 (gammal_positive): New function.
29298 (__ieee754_gammal_r): Handle positive infinity, overflow and
29299 underflow here. Handle NaN the same as positive infinity. Remove
29300 check x < 0xffffffff for negative integers. Use gamma_positive
29301 instead of exp (lgamma) for other arguments.
29302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29303 (gamma_coeff): New variable.
29304 (NCOEFF): New macro.
29305 (gammal_positive): New function.
29306 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29307 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29308 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29309 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29310 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29311 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29312 * sysdeps/generic/math_private.h (__gamma_productf): New
29313 prototype.
29314 (__gamma_product): Likewise.
29315 (__gamma_productl): Likewise.
29316 * math/Makefile (libm-calls): Add gamma_product.
29317 * math/libm-test.inc (tgamma_test): Add more tests.
29318 * sysdeps/i386/fpu/libm-test-ulps: Update.
29319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29320
293212013-05-08 Ondřej Bílka <neleai@seznam.cz>
29322
29323 * benchtests/bench-skeleton.c (main): Preheat CPU.
29324
293252013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29326
29327 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29328
293292013-05-07 Roland McGrath <roland@hack.frob.com>
29330
29331 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29332 and _dl_skip_args_internal.
29333
293342013-05-07 Carlos O'Donell <carlos@redhat.com>
29335
29336 * manual/message.texi (Message Translation): Talk about users.
29337 Message to key mapping impacts design.
29338
293392013-05-06 Roland McGrath <roland@hack.frob.com>
29340
29341 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29342
29343 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29344
29345 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29346 * sysdeps/wordsize-64/glob64.c: ... here.
29347
29348 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29349 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29350 New macros.
29351
29352 * debug/getlogin_r_chk.c: Moved to ...
29353 * login/getlogin_r_chk.c: ... here.
29354 * debug/Makefile (routines): Move getlogin_r_chk to ...
29355 * login/Makefile (routines): ... here.
29356 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29357 * login/Versions (libc: GLIBC_2.4): ... here.
29358
29359 * io/poll.c (__poll): Renamed from poll.
29360 Add libc_hidden_def.
29361 (poll): Define as weak alias.
29362
29363 * debug/ptsname_r_chk.c: Moved to ...
29364 * login/ptsname_r_chk.c: ... here.
29365 * debug/Makefile (routines): Move ptsname_r_chk to ...
29366 * login/Makefile (routines): ... here.
29367 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29368 * login/Versions (libc: GLIBC_2.4): ... here.
29369
29370 * posix/getlogin.c: Moved to ...
29371 * login/getlogin.c: ... here.
29372 * posix/getlogin_r.c: Moved to ...
29373 * login/getlogin_r.c: ... here.
29374 * posix/getlogin_r.c: Moved to ...
29375 * login/getlogin_r.c: ... here.
29376 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29377 * login/Makefile (routines): ... here.
29378 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29379 * login/Versions (libc: GLIBC_2.0): ... here.
29380
29381 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29382 (setrlimit): Define as weak alias.
29383
29384 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29385 Call __ names for open, ftruncate, and close.
29386 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29387 (truncate): Define as weak alias.
29388
293892013-05-06 Joseph Myers <joseph@codesourcery.com>
29390
29391 * math/gen-libm-test.pl (parse_args): Initialize x before each
29392 test of frexp, modf and remquo.
29393
29394 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29395 test signgam value.
29396
293972013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29398
29399 [BZ #15418]
29400 [BZ #15419]
29401 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29402 internal tests.
29403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29404
294052013-05-06 Roland McGrath <roland@hack.frob.com>
29406
29407 * elf/dl-writev.h: New file.
29408 * elf/dl-misc.c: Include it.
29409 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29410 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29411
294122013-05-04 Joseph Myers <joseph@codesourcery.com>
29413
29414 * math/libm-test.inc (noXFails): Remove variable.
29415 (noXPasses): Likewise.
29416 (BUILD_COMPLEX_INT): Remove macro.
29417 (print_screen): Remove xfail argument.
29418 (print_screen_max_error): Likewise.
29419 (update_stats): Likewise.
29420 (print_max_error): Likewise. Update calls to other affected
29421 functions.
29422 (print_complex_max_error): Likewise.
29423 (test_single_exception): Update calls to print_screen.
29424 (test_single_errno): Likewise.
29425 (check_float_internal): Remove xfail argument. Update calls to
29426 other affected functions.
29427 (check_float): Likewise.
29428 (check_complex): Likewise.
29429 (check_int): Likewise.
29430 (check_long): Likewise.
29431 (check_bool): Likewise.
29432 (check_longlong): Likewise.
29433 (main): Don't print noXFails and noXPasses.
29434 * math/gen-libm-test.pl (top level): Don't mention expected
29435 failure handling in comment.
29436 (new_test): Don't handle expected failures.
29437 (parse_args): Don't mention expected failure handling in comment.
29438 (generate_testfile): Don't handle expected failures.
29439 (parse_ulps): Likewise.
29440 (print_ulps_file): Likewise.
29441 (get_failure): Remove function.
29442 (output_test): Don't handle expected failures.
29443 * make/README.libm-test: Don't mention expected failure handling.
29444
29445 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29446 (minus_zero): Likewise.
29447 (plus_infty): Likewise.
29448 (minus_infty): Likewise.
29449 (qnan_value): Likewise.
29450 (max_value): Likewise.
29451 (min_value): Likewise.
29452 (min_subnorm_value): Likewise.
29453 (initialize): Do not initialize those variables dynamically.
29454
294552013-05-03 Roland McGrath <roland@hack.frob.com>
29456
29457 * io/open.c (__open_2): Moved to ...
29458 * io/open_2.c: ... this new file.
29459 * io/open64.c (__open64_2): Moved to ...
29460 * io/open64_2.c: ... this new file.
29461 * io/openat.c (__openat_2): Moved to ...
29462 * io/openat_2.c: ... this new file.
29463 * io/openat64.c (__openat64_2): Moved to ...
29464 * io/openat64_2.c: ... this new file.
29465 * io/Makefile (routines): Add them.
29466 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29467 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29468 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29469 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29470 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29471 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29472 (__openat64): Add hidden_ver.
29473 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29474 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29475
29476 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29477 Separately conditionalize setting of GLRO(dl_sysinfo) so
29478 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29479 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29480
294812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29482
29483 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29485 definition.
29486 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29487 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29488 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29489 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29490 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29491
294922013-05-03 Joseph Myers <joseph@codesourcery.com>
29493
29494 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29495 test signgam value.
29496
29497 * math/libm-test.inc (hypot_test): Do not use
29498 IGNORE_ZERO_INF_SIGN.
29499
295002013-05-03 Andreas Jaeger <aj@suse.de>
29501
29502 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29503 Linux 3.9.
29504 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29505 (PF_MAX): Adjust for VSOCK change.
29506
295072013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29508
29509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29510
295112013-05-02 Carlos O'Donell <carlos@redhat.com>
29512
29513 [BZ #15264]
29514 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29515 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29516 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29517
295182013-05-02 David S. Miller <davem@davemloft.net>
29519
29520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29521
295222013-05-01 Ondřej Bílka <neleai@seznam.cz>
29523
29524 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29525
295262013-05-01 Roland McGrath <roland@hack.frob.com>
29527
29528 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29529
295302013-05-01 Richard Smith <richard@metafoo.co.uk>
29531
29532 [BZ #14952]
29533 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29534 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29535 Use __attribute__ ((__gnu_inline__)).
29536 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29537 Don't use __attribute__ ((__gnu_inline__)).
29538
295392013-05-01 Joseph Myers <joseph@codesourcery.com>
29540
29541 [BZ #15423]
29542 * math/s_catan.c (__catan): Handle small real or imaginary part of
29543 input specially to avoid spurious underflow.
29544 * math/s_catanf.c (__catanf): Likewise.
29545 * math/s_catanh.c (__catanh): Likewise.
29546 * math/s_catanhf.c (__catanhf): Likewise.
29547 * math/s_catanhl.c (__catanhl): Likewise.
29548 * math/s_catanl.c (__catanl): Likewise.
29549 * math/libm-test.inc (catan_test): Add more tests.
29550 (catanh_test): Likewise.
29551 * sysdeps/i386/fpu/libm-test-ulps: Update.
29552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29553
295542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29555
29556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29557
295582013-04-30 Joseph Myers <joseph@codesourcery.com>
29559
29560 [BZ #15416]
29561 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29562 accurately for denominator in atan2.
29563 * math/s_catanf.c (__catanf): Likewise.
29564 * math/s_catanh.c (__catanh): Likewise.
29565 * math/s_catanhf.c (__catanhf): Likewise.
29566 * math/s_catanhl.c (__catanhl): Likewise.
29567 * math/s_catanl.c (__catanl): Likewise.
29568 * math/libm-test.inc (catan_test): Add more tests.
29569 (catanh_test): Likewise.
29570 * sysdeps/i386/fpu/libm-test-ulps: Update.
29571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29572
295732013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29574
29575 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29576
29577 * benchtests/Makefile (bench): Remove slow benchmarks.
29578 * benchtests/atan-inputs: Add slow benchmark inputs.
29579 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29580 (BENCH_FUNC): Accept variant offset.
29581 (VARIANT): Define.
29582 * benchtests/bench-skeleton.c (main): Run benchmark for each
29583 variant.
29584 * benchtests/cos-inputs: Add slow benchmark inputs.
29585 * benchtests/exp-inputs: Likewise.
29586 * benchtests/pow-inputs: Likewise.
29587 * benchtests/sin-inputs: Likewise.
29588 * benchtests/slowatan-inputs: Remove.
29589 * benchtests/slowatan.c: Remove.
29590 * benchtests/slowcos-inputs: Remove.
29591 * benchtests/slowcos.c: Remove.
29592 * benchtests/slowexp-inputs: Remove.
29593 * benchtests/slowexp.c: Remove.
29594 * benchtests/slowpow-inputs: Remove.
29595 * benchtests/slowpow.c: Remove.
29596 * benchtests/slowsin-inputs: Remove.
29597 * benchtests/slowsin.c: Remove.
29598 * benchtests/slowtan-inputs: Remove.
29599 * benchtests/slowtan.c: Remove.
29600 * benchtests/tan-inputs: Add slow benchmark inputs.
29601 * scripts/bench.pl: Parse comments and directives.
29602
29603 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29604 in CPPFLAGS.
29605 ($(objpfx)bench-%.c): Remove *-ITER.
29606 * benchtests/bench-modf.c: Remove definition of ITER.
29607 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29608 (main): Loop for DURATION seconds instead of fixed number of
29609 iterations.
29610 * scripts/bench.pl: Don't expect iterations in parameters.
29611
296122013-04-29 Roland McGrath <roland@hack.frob.com>
29613
29614 * io/fchdir.c (__fchdir): Renamed from fchdir.
29615 (fchdir): Define as weak alias.
29616
296172013-04-29 Joseph Myers <joseph@codesourcery.com>
29618
29619 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29620 (ERRNO_EDOM): Likewise.
29621 (ERRNO_ERANGE): Likewise.
29622 (noErrnoTests): New variable.
29623 (init_max_error): Set errno to 0.
29624 (test_single_errno): New function.
29625 (test_errno): Likewise.
29626 (check_float_internal): Call test_errno. Set errno to 0.
29627 (check_complex): Refer to errno tests in comment.
29628 (check_int): Call test_errno. Set errno to 0.
29629 (check_long): Likewise.
29630 (check_bool): Likewise.
29631 (check_longlong): Likewise.
29632 (cos_test): Use ERRNO_* flags for errno tests instead of
29633 check_int.
29634 (expm1_test): Likewise.
29635 (fmod_test): Likewise.
29636 (ilogb_test): Likewise.
29637 (lgamma_test): Likewise.
29638 (pow_test): Likewise.
29639 (remainder_test): Likewise.
29640 (sin_test): Likewise.
29641 (tan_test): Likewise.
29642 (yn_test): Likewise.
29643 (initialize): Set errno to 0.
29644 (main): Print number of errno tests.
29645 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29646
296472013-04-29 Andreas Jaeger <aj@suse.de>
29648
29649 [BZ #15084]
29650 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29651 and RES_USEVC.
29652
29653 [BZ #15085]
29654 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29655 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29656 unimplemented.
29657
29658 [BZ #15380]
29659 * stdlib/random.c (__initstate): Return NULL if
29660 __initstate fails.
29661
29662 [BZ #15086]
29663 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29664 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29665 RES_SNGLKUPREOP.
29666
296672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29668
29669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29670
296712013-04-29 Joseph Myers <joseph@codesourcery.com>
29672
29673 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29674 of individual tests.
29675 (casin_test): Likewise.
29676 (casinh_test): Likewise.
29677
296782013-04-27 Joseph Myers <joseph@codesourcery.com>
29679
29680 [BZ #15409]
29681 * math/s_catan.c (__catan): Handle arguments with large real or
29682 imaginary part separately without squaring.
29683 * math/s_catanf.c (__catanf): Likewise.
29684 * math/s_catanh.c (__catanh): Likewise.
29685 * math/s_catanhf.c (__catanhf): Likewise.
29686 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29687 and redefine.
29688 (__catanhl): Handle arguments with large real or imaginary part
29689 separately without squaring.
29690 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29691 and redefine.
29692 (__catanl): Handle arguments with large real or imaginary part
29693 separately without squaring.
29694 * math/libm-test.inc (catan_test): Add more tests.
29695 (catanh_test): Likewise.
29696 * sysdeps/i386/fpu/libm-test-ulps: Update.
29697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29698
296992013-04-27 Andreas Jaeger <aj@suse.de>
29700
29701 [BZ #15007]
29702 * stdlib/stdlib.h: Update guards for qecvt.
29703 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29704 <stdlib.h>.
29705
297062013-04-27 Allan McRae <allan@archlinux.org>
29707
29708 * sysdeps/i386/fpu/libm-test-ulps: Update.
29709
297102013-04-26 Joseph Myers <joseph@codesourcery.com>
29711
29712 [BZ #15406]
29713 * math/s_catan.c: Include <float.h>.
29714 (__catan): Ensure underflow exception occurs for underflowed
29715 result.
29716 * math/s_catanf.c: Include <float.h>.
29717 (__catanf): Ensure underflow exception occurs for underflowed
29718 result.
29719 * math/s_catanh.c: Include <float.h>.
29720 (__catanh): Ensure underflow exception occurs for underflowed
29721 result.
29722 * math/s_catanhf.c: Include <float.h>.
29723 (__catanhf): Ensure underflow exception occurs for underflowed
29724 result.
29725 * math/s_catanhl.c: Include <float.h>.
29726 (__catanhl): Ensure underflow exception occurs for underflowed
29727 result.
29728 * math/s_catanl.c: Include <float.h>.
29729 (__catanl): Ensure underflow exception occurs for underflowed
29730 result.
29731 * math/libm-test.inc (catan_test): Add more tests.
29732 (catanh_test): Likewise.
29733
29734 [BZ #15405]
29735 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29736 underflowed result.
29737 * math/s_ccoshf.c (__ccoshf): Likewise.
29738 * math/s_ccoshl.c (__ccoshl): Likewise.
29739 * math/s_csin.c (__csin): Likewise.
29740 * math/s_csinf.c (__csinf): Likewise.
29741 * math/s_csinh.c (__csinh): Likewise.
29742 * math/s_csinhf.c (__csinhf): Likewise.
29743 * math/s_csinhl.c (__csinhl): Likewise.
29744 * math/s_csinl.c (__csinl): Likewise.
29745 * math/libm-test.inc (ccos_test): Add more tests.
29746 (ccosh_test): Likewise.
29747 (csin_test): Likewise.
29748 (csinh_test): Likewise.
29749
297502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29751
29752 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29753 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29754 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29755 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29756 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29757 powerpc/power5+/fpu folders.
29758 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29759
29760
297612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29762
29763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29764
297652013-04-25 Joseph Myers <joseph@codesourcery.com>
29766
29767 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29768 additions to variable.
29769 [$(config-machine) = x86_64] (modules-names): Likewise.
29770 ($(objpfx)tst-audit3): Remove dependency.
29771 ($(objpfx)tst-audit3.out): Likewise.
29772 ($(objpfx)tst-audit4): Likewise.
29773 ($(objpfx)tst-audit4.out): Likewise.
29774 ($(objpfx)tst-audit5): Likewise.
29775 ($(objpfx)tst-audit5.out): Likewise.
29776 ($(objpfx)tst-audit6): Likewise.
29777 ($(objpfx)tst-audit6.out): Likewise.
29778 ($(objpfx)tst-audit7): Likewise.
29779 ($(objpfx)tst-audit7.out): Likewise.
29780 (tst-audit3-ENV): Remove variable.
29781 (tst-audit4-ENV): Likewise.
29782 (tst-audit5-ENV): Likewise.
29783 (tst-audit6-ENV): Likewise.
29784 (tst-audit7-ENV): Likewise.
29785 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29786 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29787 addition to variable.
29788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29789 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29790 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29791 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29792 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29793 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29794 tst-audit3, tst-audit4 and tst-audit5.
29795 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29796 tst-audit6 and tst-audit7.
29797 [$(subdir) = elf] (modules-names): Add audit modules for those
29798 tests.
29799 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29800 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29801 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29802 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29803 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29804 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29805 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29806 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29807 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29808 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29809 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29810 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29811 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29812 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29813 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29814 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29815 Likewise.
29816 [$(subdir) = elf && $(config-cflags-avx) = yes]
29817 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29818 [$(subdir) = elf && $(config-cflags-avx) = yes]
29819 (CFLAGS-tst-auditmod4a.c): Likewise.
29820 [$(subdir) = elf && $(config-cflags-avx) = yes]
29821 (CFLAGS-tst-auditmod4b.c): Likewise.
29822 [$(subdir) = elf && $(config-cflags-avx) = yes]
29823 (CFLAGS-tst-auditmod6b.c): Likewise.
29824 [$(subdir) = elf && $(config-cflags-avx) = yes]
29825 (CFLAGS-tst-auditmod6c.c): Likewise.
29826 [$(subdir) = elf && $(config-cflags-avx) = yes]
29827 (CFLAGS-tst-auditmod7b.c): Likewise.
29828 * elf/tst-audit3.c: Move to ...
29829 * sysdeps/x86_64/tst-audit3.c: ... here.
29830 * elf/tst-audit4.c: Move to ...
29831 * sysdeps/x86_64/tst-audit4.c: ... here.
29832 * elf/tst-audit5.c: Move to ...
29833 * sysdeps/x86_64/tst-audit5.c: ... here.
29834 * elf/tst-audit6.c: Move to ...
29835 * sysdeps/x86_64/tst-audit6.c: ... here.
29836 * elf/tst-audit7.c: Move to ...
29837 * sysdeps/x86_64/tst-audit7.c: ... here.
29838 * elf/tst-auditmod3a.c: Move to ...
29839 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29840 * elf/tst-auditmod3b.c: Move to ...
29841 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29842 * elf/tst-auditmod4a.c: Move to ...
29843 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29844 * elf/tst-auditmod4b.c: Move to ...
29845 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29846 * elf/tst-auditmod5a.c: Move to ...
29847 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29848 * elf/tst-auditmod5b.c: Move to ...
29849 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29850 * elf/tst-auditmod6a.c: Move to ...
29851 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29852 * elf/tst-auditmod6b.c: Move to ...
29853 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29854 * elf/tst-auditmod6c.c: Move to ...
29855 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29856 * elf/tst-auditmod7a.c: Move to ...
29857 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29858 * elf/tst-auditmod7b.c: Move to ...
29859 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29860
298612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29862
29863 [BZ #15366]
29864 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29865 define unconditionally.
29866 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29867 define unconditionally.
29868 (INT8_C, INT16_C, etc.): Likewise.
29869
298702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29871
29872 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29873 __ehdr_start with hidden visibility.
29874
29875 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29876
298772013-04-24 Carlos O'Donell <carlos@redhat.com>
29878
29879 * math/libm-test.inc (cos_test): Use accurate hex constants.
29880 (sincost_test): Likewise.
29881
298822013-04-24 Joseph Myers <joseph@codesourcery.com>
29883
29884 * math/libm-test.inc (catan_test): Add more tests.
29885 (catanh_test): Likewise.
29886
29887 * math/s_catanf.c (__catanf): Use suffixed floating-point
29888 constants.
29889 * math/s_catanhf.c (__catanhf): Likewise.
29890 * math/s_catanhl.c (__catanhl): Likewise.
29891 * math/s_catanl.c (__catanl): Likewise.
29892
29893 [BZ #15394]
29894 * math/s_catan.c (__catan): Calculate imaginary part of result
29895 with log1p not log unless computing log of number close to 0.
29896 * math/s_catanf.c (__catanf): Likewise.
29897 * math/s_catanl.c (__catanl): Likewise.
29898 * math/s_catanh.c (__catanh): Calculate real part of result with
29899 log1p not log unless computing log of number close to 0.
29900 * math/s_catanhf.c (__catanhf): Likewise.
29901 * math/s_catanhl.c (__catanhl): Likewise.
29902 * math/libm-test.inc (catan_test): Add more tests.
29903 (catanh_test): Likewise.
29904 * sysdeps/i386/fpu/libm-test-ulps: Update.
29905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29906
299072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29908
29909 * benchtests/Makefile: Mention files in which fast and slow
29910 paths of math functions are implemented.
29911
299122013-04-23 Roland McGrath <roland@hack.frob.com>
29913
29914 * sysdeps/posix/timespec_get.c: New file.
29915
299162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29917
29918 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29919 POWER.
29920 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29921 for POWER.
29922 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29923 powerpc/power5/fpu folders.
29924 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29925 * benchtests/Makefile: Add modf testcase.
29926 * benchtests/bench-modf.c: New file: Benchmark test for mo
29927
299282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29929
29930 [BZ #14888]
29931 * time/Makefile (tests): Add tst-strptime-whitespace.
29932 * time/strptime_l.c (get_number): Use ISSPACE.
29933 (__strptime_internal): Likewise.
29934 * time/tst-strptime-whitespace.c: New test case.
29935
299362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29937
29938 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29939 member.
29940 (_nss_files_init): Set it here.
29941
299422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29943
29944 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29945 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29946 unsigned.
29947
299482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29949
29950 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29951
299522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29953
29954 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29955 size just once.
29956
299572013-04-21 David S. Miller <davem@davemloft.net>
29958
29959 * po/ru.po: Update Russion translation from translation project.
29960
299612013-04-17 Adam Conrad <adconrad@0c3.net>
29962
29963 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29964 and setfsgid.
29965
299662013-04-17 Carlos O'Donell <carlos@redhat.com>
29967
29968 * configure.in: Remove i386 configure warning. Remove i386 case.
29969 * configure: Regenerate.
29970 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29971 Add example to error message.
29972 * sysdeps/i386/configure: Regenerate.
29973
299742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29975
29976 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29977 slowtan.
29978 * benchtests/cos-inputs: New file.
29979 * benchtests/slowcos-inputs: New file.
29980 * benchtests/slowcos.c: New file.
29981 * benchtests/slowtan-inputs: New file.
29982 * benchtests/slowtan.c: New file.
29983 * benchtests/tan-inputs: New file.
29984
299852013-04-16 Roland McGrath <roland@hack.frob.com>
29986
29987 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29988 considered kosher.
29989
299902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29991
29992 * benchtests/Makefile: Include cppflags-iterator.mk to add
29993 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29994
29995 * Makefile.in (bench-clean): New target.
29996 * benchtests/Makefile (bench-clean): Likewise.
29997
299982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29999
30000 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30001
300022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30003
30004 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30005
300062013-04-15 Andreas Schwab <schwab@suse.de>
30007
30008 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30010 * nscd/pwdcache.c (cache_addpw): Likewise.
30011 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30012 more than recsize.
30013
300142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30015
30016 * benchtests/Makefile (bench): Write all output to
30017 bench-out.tmp together.
30018
300192013-04-15 Andreas Schwab <schwab@suse.de>
30020
30021 * nscd/nscd.c (main): Don't fork again after closing files.
30022
300232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30024
30025 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30026
30027 * benchtests/Rules (bench-deps): Collect dependencies into a
30028 single variable. Add Makefile to dependencies.
30029 ($(objpfx)bench-%.c): Depend on bench-deps.
30030
300312013-04-12 Roland McGrath <roland@hack.frob.com>
30032 Xavier Roche <roche+kml2@exalead.com>
30033
30034 [BZ #15361]
30035 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30036 just that it's a file descriptor.
30037 * manual/llio.texi (Synchronizing AIO Operations): Update description
30038 for EBADF error from aio_fsync.
30039
300402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30041
30042 * Rules (bench): Move target definition...
30043 * benchtests/Makefile: ... here.
30044
300452013-04-11 Carlos O'Donell <carlos@redhat.com>
30046
30047 * math/libm-test.inc (cos_test): Fix PI/2 test.
30048 (sincos_test): Likewise.
30049 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30050 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30051
300522013-04-11 Andreas Schwab <schwab@suse.de>
30053
30054 [BZ #13988]
30055 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30056 accept exponent character only when digits were seen.
30057 * stdio-common/Makefile (tests): Add bug26.
30058 * stdio-common/bug26.c: New file.
30059
30060 [BZ #14293]
30061 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30062 non-freeable.
30063
300642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30065
30066 * Makeconfig (rtld-prefix): Define built linker prefix.
30067 * Rules (run-bench): Use it.
30068 * math/Makefile (run-regen-ulps): Likewise.
30069
30070 * Rules (bench): Remove eval.
30071
300722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30073 Roland McGrath <roland@hack.frob.com>
30074 Ondrej Bilka <neleai@seznam.cz>
30075
30076 [BZ #15346]
30077 * time/getdate.c: Include ctype.h and alloca.h.
30078 (__getdate_r): Trim leading and trailing spaces of input.
30079 * time/tst-getdate.c (tests): Add tests with leading and
30080 trailing spaces.
30081
300822013-04-08 Roland McGrath <roland@hack.frob.com>
30083
30084 [BZ #14280]
30085 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30086 when computing value.
30087
300882013-04-06 Carlos O'Donell <carlos@redhat.com>
30089
30090 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30091 Use testrun.sh to run libm tests.
30092
30093 [BZ #15309]
30094 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30095
300962013-04-06 Marko Myllynen <myllynen@redhat.com>
30097
30098 [BZ #15264]
30099 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30100
301012013-04-06 Carlos O'Donell <carlos@redhat.com>
30102
30103 * Makefile.in (regen-ulps): New target.
30104 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30105 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30106 [ifneq (no,$(PERL)] (regen-ulps): New target.
30107 [ifeq (no,$(PERL)] (regen-ulps): New target.
30108 * math/libm-test.inc (ulps_file_name): Define.
30109 (output_dir): New variable.
30110 (options): Add "output-dir" option.
30111 (parse_opt): Handle 'o' case.
30112 (main): If output_dir is non-NULL use it as a prefix
30113 otherwise use "".
30114 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30115
301162013-04-06 Carlos O'Donell <carlos@redhat.com>
30117
30118 [BZ #10060, #10062]
30119 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30120 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30121 fail configure if __sync_val_compare_and_swap is not inlined.
30122 * sysdeps/i386/configure: Regenerate.
30123 * configure.in: Build for i686 when configured for i386.
30124 * configure: Regenerate.
30125 * README: Remove i386 reference.
30126
301272013-04-06 Carlos O'Donell <carlos@redhat.com>
30128
30129 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30130 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30131
301322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30133
30134 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30135 (lmsnanval): New variables.
30136 (F): Add conversion tests.
30137 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30138 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30139
30140 * stdio-common/tstdiomisc.c (F): Properly collect individual
30141 tests' results.
30142
30143 [BZ #14686, #15336]
30144 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30145 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30146 Instead, use input NaN values or generate a qNaN by arithmetic
30147 operation. Also fix bugs to comply with the standard.
30148 * math/libm-test.inc (remainder_test): Add more tests.
30149
30150 [BZ #15335, #15342]
30151 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30153 input NaN values or generate a qNaN by arithmetic operation.
30154
30155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30156 unreachable code.
30157
30158 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30159 definitions.
30160
301612013-04-03 Joseph Myers <joseph@codesourcery.com>
30162
30163 [BZ #14478]
30164 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30165 underflowed result.
30166 * math/s_cexpf.c (__cexpf): Likewise.
30167 * math/s_cexpl.c (__cexpl): Likewise.
30168 * math/libm-test.inc (cexp_test): Add more tests.
30169
301702013-04-03 Andreas Schwab <schwab@suse.de>
30171
30172 [BZ #15330]
30173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30174 order arrays from heap if bigger than alloca cutoff.
30175
301762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30177
30178 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30179 (SNAN_TESTS_double): Refer to GCC PR56831.
30180 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30181 GCC PR56828.
30182
301832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30184
30185 * Rules (bench): Move bench.out after the run is complete.
30186
30187 * Rules (bench): Echo currently running benchmark.
30188
30189 * benchtests/Makefile (bench): Add atan and slowatan.
30190 * benchtests/atan-inputs: New file.
30191 * benchtests/slowatan-inputs: New file.
30192 * benchtests/slowatan.c: New file.
30193
30194 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30196 its value.
30197
30198 [BZ #15305]
30199 * sysdeps/unix/sysv/linux/kernel-features.h
30200 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30201 __ASSUME_XFS_RESTRICTED_CHOWN.
30202 * sysdeps/unix/sysv/linux/pathconf.c
30203 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30204 Save and restore errno.
30205
302062013-04-02 Joseph Myers <joseph@codesourcery.com>
30207
30208 [BZ #15327]
30209 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30210 arguments using __kernel_casinh.
30211 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30212 arguments using __kernel_casinhf.
30213 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30214 arguments using __kernel_casinhl.
30215 * math/libm-test.inc (cacosh_test): Add more tests.
30216 * sysdeps/i386/fpu/libm-test-ulps: Update.
30217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30218
302192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30220
30221 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30223
30224 * bench/Makefile (bench): Add sin and slowsin.
30225 * benchtests/sin-inputs: New file.
30226 * benchtests/slowsin-inputs: New file.
30227 * benchtests/slowsin.c: New file.
30228
30229 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30230 (bench): Add slowexp and slowpow.
30231 (exp-ITER): Increase iterations.
30232 (pow-ITER): Likewise.
30233 * benchtests/exp-inputs: Change input.
30234 * benchtests/pow-inputs: Likewise.
30235 * benchtests/slowexp-inputs: New file.
30236 * benchtests/slowexp.c: New file.
30237 * benchtests/slowpow-inputs: New file.
30238 * benchtests/slowpow.c: New file.
30239
302402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30241
30242 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30243 instructions.
30244 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30245 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30246 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30247 * benchtests/Makefile: Add rint benchtest.
30248 * benchtests/rint-inputs: Input for rint benchtest.
30249
302502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30251
30252 * Versions.def (libm): Add GLIBC_2.18.
30253 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30254 hidden libm prototypes.
30255 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30256 * math/Makefile (libm-calls): Add s_issignaling.
30257 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30258 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30259 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30260 declaration.
30261 * math/math.h [__USE_GNU] (issignaling): New macro.
30262 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30263 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30264 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30265 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30266 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30267 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30268 * manual/arith.texi (issignaling): New section.
30269 * manual/libm-err-tab.pl (@all_functions): Update comment.
30270 * math/gen-libm-test.pl (parse_args): Apply special handling for
30271 issignaling.
30272 * math/libm-test.inc (print_float, issignaling_test): New
30273 functions.
30274 (check_float_internal): Add issignaling checks.
30275 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30276 default definition.
30277 * sysdeps/powerpc/math-tests.h: New file.
30278 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30279 tests.
30280 * math/test-snan.c (TEST_FUNC): Likewise.
30281
302822013-03-30 David S. Miller <davem@davemloft.net>
30283
30284 * po/de.po: Update from translation team.
30285
302862013-03-30 Joseph Myers <joseph@codesourcery.com>
30287
30288 [BZ #10357]
30289 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30290 imaginary part less than 1.0 and real part less than 0.5
30291 specially.
30292 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30293 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30294 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30295 (cacos_test): Add more tests.
30296 (casin_test): Likewise.
30297 (casinh_test): Likewise.
30298 * sysdeps/i386/fpu/libm-test-ulps: Update.
30299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30300
303012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30302
30303 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30304 ONE with its value.
30305
30306 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30307 (__pow_mp): Replace ONE and MONE with their values.
30308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30311 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30312 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30313 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30314
30315 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30316
30317 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30318 (__pow_mp): Replace ZERO and MZERO with their values.
30319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30321 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30323 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30324 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30325 (__sqr): Likewise.
30326
30327 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30328
30329 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30330
303312013-03-28 Roland McGrath <roland@hack.frob.com>
30332
30333 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30334 Declare with __attribute__ ((weak)).
30335 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30336 Call __call_tls_dtors only if it's not NULL.
30337
303382013-03-28 Roland McGrath <roland@hack.frob.com>
30339
30340 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30341 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30342 magic __ehdr_start linker symbol if it's defined.
30343 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30344 them up here if it was already done.
30345
30346 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30347 (_dl_aux_init): Use const in cast when setting it.
30348 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30349 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30350 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30351
30352 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30353 Declare them here.
30354 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30355 * csu/libc-tls.c: Nor here.
30356 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30357
30358 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30359 (__libc_message): Never call vsyslog.
30360
303612013-03-28 Alan Modra <amodra@gmail.com>
30362
30363 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30364 Define as empty.
30365 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30366 Likewise.
30367
303682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30369
30370 [BZ #15214]
30371 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30372 underflow.
30373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30374
303752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30376
30377 [BZ #15304]
30378 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30379 Don't add gid passed as argument.
30380
30381 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30382
303832013-03-27 Joseph Myers <joseph@codesourcery.com>
30384
30385 [BZ #15307]
30386 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30387 imaginary part between 1.0 and 1.5 and real part less than 0.5
30388 specially.
30389 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30390 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30391 * math/libm-test.inc (cacos_test): Add more tests.
30392 (casin_test): Likewise.
30393 (casinh_test): Likewise.
30394 * sysdeps/i386/fpu/libm-test-ulps: Update.
30395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30396
303972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30398
30399 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30400 constants.
30401 (norm): Likewise.
30402 (denorm): Likewise.
30403 (__dbl_mp): Likewise.
30404 (add_magnitudes): Likewise.
30405 (sub_magnitudes): Likewise.
30406 (__add): Likewise.
30407 (__sub): Likewise.
30408 (__mul): Likewise.
30409 (__sqr): Likewise.
30410 (__inv): Likewise.
30411 (__dvd): Likewise.
30412
30413 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30414 commented code.
30415 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30416 (__dubcos): Likewise.
30417 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30418 (__ieee754_acos): Likewise.
30419 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30420 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30421 (__exp1): Likewise.
30422 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30424 (log1): Likewise.
30425 (my_log2): Likewise.
30426 (checkint): Likewise.
30427 * sysdeps/ieee754/dbl-64/e_remainder.c
30428 (__ieee754_remainder): Likewise.
30429 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30431 (bsloww): Likewise.
30432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30433
30434 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30435 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30436 MANTISSA_STORE_T to store computations on mantissa. Use
30437 macros for rounding and division.
30438 (denorm): Likewise.
30439 (__dbl_mp): Likewise.
30440 (add_magnitudes): Likewise.
30441 (sub_magnitudes): Likewise.
30442 (__mul): Likewise.
30443 (__sqr): Likewise.
30444 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30445 powers of two in terms of TWOPOW macro.
30446 (mp_no): Make type of mantissa as MANTISSA_T.
30447 [!RADIXI]: Define RADIXI.
30448 [!TWO52]: Define TWO52.
30449 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30450
304512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30452
30453 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30454 llroundl symbol when building for PPC32.
30455
304562013-03-24 Mark H Weaver <mhw@netris.org>
30457
30458 * manual/arith.texi (Normalization Functions): Fix prototypes for
30459 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30460
304612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30462
30463 [BZ #13889]
30464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30465 high value to check if expl overflow.
30466 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30467 to check for underflow and overflow.
30468 * math/libm-test.inc: Add exp test.
30469
304702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30471
30472 [BZ #11120]
30473 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30474 with NOT_IN_libc.
30475
304762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30477
30478 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30479 symbol.
30480
304812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30482
30483 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30484 wrap blocks consisting of several statements.
30485
30486 * sysdeps/generic/math-tests.h: New file.
30487 * sysdeps/i386/fpu/math-tests.h: Likewise.
30488 * math/test-snan.c: Include it.
30489 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30490
304912013-03-21 Joseph Myers <joseph@codesourcery.com>
30492
30493 [BZ #15285]
30494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30495 (__ieee754_j0l): Do not improve calculations using cos of twice
30496 input for inputs above LDBL_MAX / 2.0L.
30497 (__ieee754_y0l): Likewise.
30498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30499 (__ieee754_j1l): Do not improve calculations using cos of twice
30500 input for inputs above LDBL_MAX / 2.0L.
30501 (__ieee754_y1l): Likewise.
30502 * math/libm-test.inc (j0_test): Add another test.
30503 (j1_test): Likewise.
30504 (y0_test): Likewise.
30505 (y1_test): Likewise.
30506 * sysdeps/i386/fpu/libm-test-ulps: Update.
30507
305082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30509
30510 * Rules ($(objpfx)bench-%.c): Include code from a C source
30511 file.
30512
305132013-03-21 Joseph Myers <joseph@codesourcery.com>
30514
30515 [BZ #15287]
30516 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30517 imaginary part 1.0 and real part less than 0.5 specially.
30518 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30519 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30520 * math/libm-test.inc (cacos_test): Add more tests.
30521 (casin_test): Likewise.
30522 (casinh_test): Likewise.
30523 * sysdeps/i386/fpu/libm-test-ulps: Update.
30524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30525
305262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30527
30528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30529 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30530
305312013-03-20 Joseph Myers <joseph@codesourcery.com>
30532
30533 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30534 * config.make.in (config-cflags-sse4): Remove variable.
30535 (config-cflags-avx): Likewise.
30536 (config-cflags-sse2avx): Likewise.
30537 (config-cflags-novzeroupper): Likewise.
30538 (config-asflags-i686): Likewise.
30539 (have-mfma4): Likewise.
30540 (have-as-vis3): Likewise.
30541 (MIG): Likewise.
30542 * configure.in (MIG): Do not AC_SUBST.
30543 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30544 (libc_cv_cc_sse4): Do not AC_SUBST.
30545 (libc_cv_cc_avx): Likewise.
30546 (libc_cv_cc_sse2avx): Likewise.
30547 (libc_cv_cc_novzeroupper): Likewise.
30548 (libc_cv_cc_fma4): Likewise.
30549 (libc_cv_as_i686): Likewise.
30550 (libc_cv_sparc_as_vis3): Likewise.
30551 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30552 LIBC_CONFIG_VAR.
30553 (config-asflags-i686): Likewise.
30554 (config-cflags-avx): Likewise.
30555 (config-cflags-sse2avx): Likewise.
30556 (have-mfma4): Likewise.
30557 (config-cflags-novzeroupper): Likewise.
30558 * sysdeps/mach/configure.in (MIG): Likewise.
30559 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30560 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30561 LIBC_CONFIG_VAR.
30562 (config-cflags-avx): Likewise.
30563 (config-cflags-sse2avx): Likewise.
30564 (have-mfma4): Likewise.
30565 (config-cflags-novzeroupper): Likewise.
30566 * configure: Regenerated.
30567 * sysdeps/i386/configure: Likewise.
30568 * sysdeps/mach/configure: Likewise.
30569 * sysdeps/sparc/configure: Likewise.
30570 * sysdeps/x86_64/configure: Likewise.
30571
305722013-03-20 Roland McGrath <roland@hack.frob.com>
30573
30574 [BZ #14812]
30575 * locale/programs/localedef.c (options): Put N_ translation marker
30576 on argument names, not just descriptions.
30577
305782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30579
30580 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30581
305822013-03-20 Ondřej Bílka <neleai@seznam.cz>
30583
30584 [BZ #14176]
30585 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30586
305872013-03-19 Roland McGrath <roland@hack.frob.com>
30588
30589 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30590 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30591 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30592 [!BEFORE_ABORT] (before_abort): New function.
30593 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30594 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30595 (writev_for_fatal): New function.
30596 (WRITEV_FOR_FATAL): New macro; call that.
30597 (backtrace_and_maps): New function.
30598 (BEFORE_ABORT): New macro; call that.
30599 (struct str_list): Type removed.
30600 (__libc_message, __libc_fatal): Functions removed.
30601 Include <sysdeps/posix/libc_fatal.c> instead.
30602
306032013-03-19 Joseph Myers <joseph@codesourcery.com>
30604
30605 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30606 constants.
30607 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30608 double constants.
30609
306102013-03-19 Andreas Schwab <schwab@suse.de>
30611
30612 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30613 * sysdeps/gnu/configure: Regenerate.
30614
30615 * configure.in: Substitute libc_cv_rtlddir.
30616 * configure: Regenerate.
30617 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30618 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30619 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30620 * elf/Makefile (install-others, CFLAGS-interp.c)
30621 (ldso_install, common-ldd-rewrite): Likewise.
30622 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30623 $(inst_slibdir)/$(rtld-installed-name).
30624 * scripts/rellns-sh: Add -p option.
30625 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30626 for source.
30627
306282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30629
30630 * manual/nptl.texi: Renamed to ...
30631 * manual/threads.texi: ... this.
30632 * manual/Makefile (chapters): Update.
30633
306342013-03-18 Roland McGrath <roland@hack.frob.com>
30635
30636 [BZ #14812]
30637 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30638 on argument names, not just descriptions.
30639 * malloc/memusagestat.c (options): Likewise.
30640 * nss/getent.c (options): Likewise.
30641
306422013-03-18 Benno Schulenberg <bensberg@justemail.net>
30643
30644 [BZ #14812]
30645 * iconv/iconv_prog.c (options): Put N_ translation marker
30646 on argument names, not just descriptions.
30647 * iconv/iconvconfig.c (options): Likewise.
30648
306492013-03-18 Ondrej Bilka <neleai@seznam.cz>
30650
30651 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30652 implementation which is faster on all x86_64 architectures.
30653 Tested on AMD, Intel Nehalem, SNB, IVB.
30654 * sysdeps/x86_64/strnlen.S: Likewise.
30655
30656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30657 Remove all multiarch strlen and strnlen versions.
30658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30659 Remove strlen and strnlen related parts.
30660
30661 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30662 Inline strlen part.
30663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30664
30665 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30666 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30667 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30668 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30669 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30670 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30671
306722013-03-17 Carlos O'Donell <carlos@redhat.com>
30673
30674 * manual/memory.texi (Malloc Tunable Parameters):
30675 Sort parameters alphabetically. Add comments for missing entries.
30676
306772013-03-17 David S. Miller <davem@davemloft.net>
30678
30679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30680
306812013-03-16 Joseph Myers <joseph@codesourcery.com>
30682
30683 [BZ #15283]
30684 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30685 for arguments at most half maximum finite value.
30686 * math/libm-test.inc (j0_test): Add more tests.
30687 (j1_test): Likewise.
30688 (y0_test): Likewise.
30689 (y1_test): Likewise.
30690 * sysdeps/i386/fpu/libm-test-ulps: Update.
30691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30692
30693 [BZ #14155]
30694 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30695 1 / x and functions P and Q for arguments above 0x1p256L.
30696 (__ieee754_y0l): Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30698 (__ieee754_y1l): Likewise.
30699 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30700 (j1_test): Likewise.
30701 (y0_test): Likewise.
30702 (y1_test): Likewise.
30703
307042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30705
30706 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30707 variable.
30708
307092013-03-15 Roland McGrath <roland@hack.frob.com>
30710
30711 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30712 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30713 zero since it's initialized to EXEC_PAGESIZE.
30714
30715 * sysdeps/unix/sysv/linux/ldsodefs.h
30716 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30717 * sysdeps/generic/ldsodefs.h: ... here.
30718
307192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30720
30721 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30722
30723 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30724 math/test-snan.c.
30725 * math/test-snan.c: Renamed from
30726 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30727 * math/Makefile (tests): Add test-snan.
30728 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30729 test-powerpc-snan.
30730
30731 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30732 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30733 functions.
30734 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30735 __builtin_nan family of functions.
30736 * math/libm-test.inc (initialize): Initialize qnan_value with
30737 __builtin_nan family of functions.
30738 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30739 Remove variables.
30740 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30741 Remove functions.
30742 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30743 storage class. Initialize qNaN_var and sNaN_var with
30744 __builtin_nan and __builtin_nans families of functions,
30745 respectively.
30746
30747 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30748 (sqrt_test): Remove duplicate test with qNaN input.
30749 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30750 (round_test, signbit_test, significand_test): Note missing +/-Inf
30751 as well as qNaN tests.
30752
30753 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30754 qNaN_var. Fix a few strings, too.
30755 * math/libm-test.inc (nan_value): Rename to qnan_value.
30756 * math/gen-libm-test.pl (%beautify): Adjust to that.
30757 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30758 * math/test-misc.c (main): Likewise.
30759 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30760 to __qnan_bytes, and __qnan_union, respectively.
30761 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30762 Likewise.
30763 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30764 and lqnanval, respectively.
30765 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30766 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30767 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30768 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30769
30770 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30771 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30772 doubles.
30773
30774 * math/test-misc.c (main): Fix copy'n'pastos.
30775 * misc/tst-efgcvt.c (special): Likewise.
30776
30777 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30778 Remove declarations.
30779
307802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30781
30782 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30783 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30784 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30785 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30786
307872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30788
30789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30790 macro to return vdso values correctly in IFUNC implementations.
30791 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30792 Optimization by using IFUNC.
30793
307942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30795 Richard Henderson <rth@redhat.com>
30796 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30797
30798 * Makefile.in (bench): New target.
30799 * NEWS: Mention the benchmark framework.
30800 * Rules (bench): Likewise.
30801 (binaries-bench): Generate binaries for functions to
30802 benchmark.
30803 * benchtests/Makefile: New makefile for benchmark tests.
30804 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30805 programs.
30806 * benchtests/exp-inputs: New input file for EXP function.
30807 * benchtests/pow-inputs: New input file for POW function.
30808 * scripts/bench.pl: New script to generate source files for
30809 benchmark programs.
30810
308112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30812
30813 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30814 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30815 computations on mantissa. Use macros for rounding and
30816 division.
30817 (denorm): Likewise.
30818 (__dbl_mp): Likewise.
30819 (add_magnitudes): Likewise.
30820 (sub_magnitudes): Likewise.
30821 (__mul): Likewise.
30822 (__sqr): Likewise.
30823 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30824 powers of two in terms of TWOPOW macro.
30825 (mp_no): Make type of mantissa as MANTISSA_T.
30826 [!RADIXI]: Define RADIXI.
30827 [!TWO52]: Define TWO52.
30828 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30829
30830 * manual/nptl.texi (cindex): Modify threads to pthreads.
30831
308322013-03-15 Joseph Myers <joseph@codesourcery.com>
30833
30834 * sysdeps/x86_64/preconfigure: Regenerated.
30835
308362013-03-14 Joseph Myers <joseph@codesourcery.com>
30837
30838 [BZ #14155]
30839 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30840 0x1p28 and above.
30841 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30842 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30843 0x1p28 and above.
30844 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30845 * math/libm-test.inc (j0_test): Do not allow one spurious
30846 underflow exception.
30847 (y1_test): Likewise.
30848
308492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30850
30851 * manual/Makefile (chapters): Add nptl.
30852 * manual/debug.texi (Debugging Support): Add link to Threads
30853 chapter.
30854 * manual/nptl.texi: New file.
30855
30856 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30857
308582013-03-14 Petr Baudis <pasky@ucw.cz>
30859
30860 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30861 for non-NULL pointer before the memory validity test. Pointed
30862 out by Holger Brunck <holger.brunck@keymile.com>.
30863
308642013-03-13 Andreas Schwab <schwab@suse.de>
30865
30866 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30867 instead of .os.
30868
308692013-03-13 Joseph Myers <joseph@codesourcery.com>
30870
30871 * timezone/zic.c: Update from tzcode 2013b.
30872
308732013-03-12 Carlos O'Donell <carlos@redhat.com>
30874
30875 * manual/install.texi (Configuring and compiling):
30876 Mention i686 and i586.
30877 * INSTALL: Regenerate.
30878
308792013-03-12 Roland McGrath <roland@hack.frob.com>
30880
30881 * sysdeps/init_array/elf-init.c: New file.
30882 * csu/elf-init.c
30883 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30884 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30885
30886 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30887 __gmon_start__ as global, but as static with a .preinit_array pointer.
30888 * sysdeps/init_array/gmon-start.c: New file. Use that.
30889 * sysdeps/init_array/crti.S: New file, empty except for comments.
30890 * sysdeps/init_array/crtn.S: Likewise.
30891
308922013-03-11 Ondřej Bílka <neleai@seznam.cz>
30893
30894 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30895 definining bcopy.
30896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30897 Remove Prefer_SSE_for_memop.
30898 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30899 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30900 HAS_PREFER_SSE_FOR_MEMOP.
30901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30902 memset-x86-64.
30903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30904 Remove bzero, memset ifunc support.
30905 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30906 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30907 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30908 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30909
309102013-03-11 Andreas Schwab <schwab@suse.de>
30911
30912 [BZ #15234]
30913 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30914 by SHLIB_COMPAT.
30915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30916 (GLIBC_2.16): Remove pthread_atfork.
30917
309182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30919
30920 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30921 (ptestcases.h): Likewise.
30922
309232013-03-08 Roland McGrath <roland@hack.frob.com>
30924
30925 * Makeconfig ($(common-objpfx)config.status): Depend on
30926 sysdeps/*/preconfigure{,.in} too.
30927
309282013-03-08 Joseph Myers <joseph@codesourcery.com>
30929
30930 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30931 (__free_hook): Use void * instead of __malloc_ptr_t.
30932 (__malloc_hook): Likewise.
30933 (__realloc_hook): Likewise.
30934 (__memalign_hook): Likewise.
30935 (__after_morecore_hook): Likewise.
30936 * malloc/arena.c (save_malloc_hook): Likewise.
30937 (save_free_hook): Likewise.
30938 * malloc/hooks.c (malloc_hook_ini): Likewise.
30939 (realloc_hook_ini): Likewise.
30940 (memalign_hook_ini): Likewise.
30941 * malloc/malloc.c (malloc_hook_ini): Likewise.
30942 (realloc_hook_ini): Likewise.
30943 (memalign_hook_ini): Likewise.
30944 (__free_hook): Likewise.
30945 (__malloc_hook): Likewise.
30946 (__realloc_hook): Likewise.
30947 (__memalign_hook): Likewise.
30948 (__libc_malloc): Likewise.
30949 (__libc_free): Likewise.
30950 (__libc_realloc): Likewise.
30951 (__libc_memalign): Likewise.
30952 (__libc_valloc): Likewise.
30953 (__libc_pvalloc): Likewise.
30954 (__libc_calloc): Likewise.
30955 (__posix_memalign): Likewise.
30956 * malloc/morecore.c (__sbrk): Likewise.
30957 (__default_morecore): Likewise.
30958
30959 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30960
30961 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30962 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30963 __malloc_ptrdiff_t.
30964
30965 * malloc/malloc.h (__malloc_size_t): Remove macro.
30966 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30967 __malloc_size_t.
30968 (old_memalign_hook): Likewise.
30969 (old_realloc_hook): Likewise.
30970 (struct hdr): Likewise.
30971 (flood): Likewise.
30972 (mallochook): Likewise.
30973 (memalignhook): Likewise.
30974 (reallochook): Likewise.
30975 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30976 (tr_old_realloc_hook): Likewise.
30977 (tr_old_memalign_hook): Likewise.
30978 (tr_mallochook): Likewise.
30979 (tr_reallochook): Likewise.
30980 (tr_memalignhook): Likewise.
30981
309822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30983
30984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30985 default_ldbl_pack and using as default implementation.
30986 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30987 implementation.
30988 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30989 redundant definition.
30990 (ldbl_insert_mantissa): Likewise.
30991 (ldbl_canonicalize): Likewise.
30992 (ldbl_nearbyint): Likewise.
30993 (ldbl_pack): Rename to ldbl_pack_ppc.
30994 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30995 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30996 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30997
309982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30999
31000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31001 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31002 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31003 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31005 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31006 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31007 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31008
310092013-03-07 Andreas Jaeger <aj@suse.de>
31010
31011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31012 bits/mman-linux.h.
31013
310142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31015
31016 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31017 Include mpa.h and declare __MPEXP.
31018 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31020 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31021 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31023 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31024 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31025
31026 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31027 (__slowpow): Use long double EXPL and LOGL functions to
31028 compute POW.
31029 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31030 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31031 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31032 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31033 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31035
31036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31037 intermediate variable to calculate exponent.
31038 (__sqr): Likewise.
31039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31040 Likewise.
31041 (__sqr): Likewise.
31042
31043 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31044 [!NO__SQR]: Define __sqr.
31045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31046 and NO__SQR. Remove all code except __mul and __sqr. Include
31047 sysdeps/ieee754/dbl-64/mpa.c.
31048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31049
31050 [BZ #12723]
31051 * posix/Makefile (tests): Add tst-pathconf.
31052 * posix/tst-pathconf.c: New test case.
31053 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31054 _PC_PIPE_BUF.
31055 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31056
310572013-03-06 Patsy Franklin <pfrankli@redhat.com>
31058
31059 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31060
310612013-03-06 Andreas Jaeger <aj@suse.de>
31062
31063 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31064 definition via __MAP_ANONYMOUS.
31065
31066 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31067 it's not part of Linux headers.
31068
31069 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31070 (MAP_HUGE_MASK): Define.
31071
31072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31073 Define.
31074 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31076 Define.
31077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31078 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31079 Define.
31080 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31082 Define.
31083 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31084
31085 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31086 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31087 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31088 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31089 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31090 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31091
31092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31093 Handle f2fs.
31094
31095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31096 Handle f2fs and efivarfs.
31097
31098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31099 f2fs.
31100
31101 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31102 (EFIVARFS_MAGIC): Add.
31103 (F2FS_LINK_MAX): Add.
31104
311052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31106
31107 * stdio-common/vfprintf.c: Replace __builtin_expect with
31108 __glibc_unlikely.
31109
311102013-03-06 Joseph Myers <joseph@codesourcery.com>
31111
31112 [BZ #13550]
31113 * sysdeps/generic/bp-sym.h: Remove file.
31114 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31115 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31116 <bp-sym.h> and <bp-asm.h>.
31117 (__longjmp): Don't use BP_SYM.
31118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31119 and <bp-asm.h>.
31120 (memcpy): Don't use BP_SYM.
31121 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31122 <bp-sym.h> and <bp-asm.h>.
31123 (memcpy): Don't use BP_SYM.
31124 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31125 <bp-asm.h>.
31126 (memcpy): Don't use BP_SYM.
31127 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31128 <bp-asm.h>.
31129 (memset): Don't use BP_SYM.
31130 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31131 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31132 (__bzero): Don't use BP_SYM.
31133 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31134 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31135 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31136 <bp-sym.h> and <bp-asm.h>.
31137 (memcmp): Don't use BP_SYM. Remove comment about bounded
31138 pointers.
31139 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31140 <bp-sym.h> and <bp-asm.h>.
31141 (memcpy): Don't use BP_SYM.
31142 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31143 <bp-sym.h> and <bp-asm.h>.
31144 (memset): Don't use BP_SYM.
31145 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31146 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31147 (__bzero): Don't use BP_SYM.
31148 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31149 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31150 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31151 <bp-sym.h> and <bp-asm.h>.
31152 (strncmp): Don't use BP_SYM. Remove comment about bounded
31153 pointers.
31154 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31155 <bp-sym.h> and <bp-asm.h>.
31156 (memcpy): Don't use BP_SYM.
31157 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31158 <bp-sym.h> and <bp-asm.h>.
31159 (memset): Don't use BP_SYM.
31160 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31161 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31162 (__bzero): Don't use BP_SYM.
31163 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31164 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31165 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31166 <bp-sym.h> and <bp-asm.h>.
31167 (__memchr): Don't use BP_SYM.
31168 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31169 <bp-sym.h> and <bp-asm.h>.
31170 (memcmp): Don't use BP_SYM. Remove comment about bounded
31171 pointers.
31172 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31173 <bp-sym.h> and <bp-asm.h>.
31174 (memcpy): Don't use BP_SYM.
31175 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31176 <bp-sym.h> and <bp-asm.h>.
31177 (__mempcpy): Don't use BP_SYM.
31178 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31179 <bp-sym.h> and <bp-asm.h>.
31180 (__memrchr): Don't use BP_SYM.
31181 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31182 <bp-sym.h> and <bp-asm.h>.
31183 (memset): Don't use BP_SYM.
31184 (__bzero): Likewise.
31185 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31186 <bp-sym.h> and <bp-asm.h>.
31187 (__rawmemchr): Don't use BP_SYM.
31188 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31189 <bp-sym.h> and <bp-asm.h>.
31190 (__STRCMP): Don't use BP_SYM.
31191 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31192 <bp-sym.h> and <bp-asm.h>.
31193 (strchr): Don't use BP_SYM.
31194 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31195 <bp-sym.h> and <bp-asm.h>.
31196 (__strchrnul): Don't use BP_SYM.
31197 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31198 <bp-sym.h> and <bp-asm.h>.
31199 (strlen): Don't use BP_SYM.
31200 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31201 <bp-sym.h> and <bp-asm.h>.
31202 (strncmp): Don't use BP_SYM. Remove comment about bounded
31203 pointers.
31204 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31205 <bp-sym.h> and <bp-asm.h>.
31206 (__strnlen): Don't use BP_SYM.
31207 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31208 <bp-sym.h> and <bp-asm.h>.
31209 (__GI__setjmp): Don't use BP_SYM.
31210 (_setjmp): Likewise.
31211 (__sigsetjmp): Likewise.
31212 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31213 (L(start_addresses)): Don't use BP_SYM.
31214 (_start): Likewise.
31215 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31216 <bp-asm.h>.
31217 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31218 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31219 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31220 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31221 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31222 <bp-asm.h>.
31223 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31224 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31225 about bounded pointers.
31226 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31227 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31228 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31229 <bp-asm.h>.
31230 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31231 about bounded pointers. Remove GKM FIXME comments.
31232 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31233 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31234 <bp-asm.h>.
31235 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31236 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31237 Remove GKM FIXME comments.
31238 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31239 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31240 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31241 <bp-asm.h>.
31242 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31243 about bounded pointers. Remove GKM FIXME comment.
31244 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31245 and <bp-asm.h>.
31246 (strncmp): Don't use BP_SYM. Remove comment about bounded
31247 pointers.
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31249 <bp-sym.h> and <bp-asm.h>.
31250 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31252 <bp-sym.h> and <bp-asm.h>.
31253 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31254 comment.
31255
312562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31257
31258 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31259 call free(NULL).
31260
312612013-03-05 David S. Miller <davem@davemloft.net>
31262
31263 * po/es.po: Update from translation team.
31264
312652013-03-05 Andreas Jaeger <aj@suse.de>
31266
31267 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31268 <bits/mman-linux.h>.
31269 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31270 is fine.
31271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31272 <bits/mman-linux.h> to end of file.
31273 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31274 is fine.
31275 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31276 <bits/mman-linux.h> to end of file.
31277 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31278 is fine.
31279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31280 <bits/mman-linux.h> to end of file.
31281
31282 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31283 (MCL_CURRENT, MCL_FUTURE): Define here.
31284
312852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31286
31287 [BZ #15232]
31288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31289 attribute_hidden.
31290 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31291
312922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31293
31294 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31295 fourth parameter needed for rt_sigprocmask syscall.
31296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31297 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31298 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31299 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31300 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31301 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31302
313032013-03-04 Joseph Myers <joseph@codesourcery.com>
31304
31305 [BZ #13550]
31306 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31307 comment about bounded pointers.
31308 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31309 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31310
313112013-03-04 Andreas Jaeger <aj@suse.de>
31312
31313 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31314 common definitions.
31315
31316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31317 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31318 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31319 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31320 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31322
313232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31324
31325 [BZ #15055]
31326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31327 __ieee754_sqrl instead of __sqrl.
31328
313292013-03-01 Joseph Myers <joseph@codesourcery.com>
31330
31331 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31332 * sysdeps/powerpc/fpu_control.h: ... here.
31333 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31334 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31335 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31336 * sysdeps/powerpc/bits/mathinline.h: ... here.
31337
313382013-03-01 Roland McGrath <roland@hack.frob.com>
31339
31340 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31341 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31342 to just [NEED_DL_SYSINFO_DSO].
31343 * elf/dl-support.c: Likewise.
31344 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31345 * elf/rtld.c (dl_main): Likewise.
31346 * elf/setup-vdso.h (setup_vdso): Likewise.
31347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31348 * sysdeps/unix/sysv/linux/dl-sysdep.c
31349 (_dl_discover_osversion): Likewise.
31350
313512013-03-01 Carlos O'Donell <carlos@redhat.com>
31352
31353 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31354 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31355
313562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31357
31358 * NEWS: Mention libm performance improvements and non-x86 PI
31359 futex support.
31360
31361 * csu/libc-start.c (__pthread_initialize_minimal): Change
31362 function arguments.
31363 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31364
313652013-02-28 Joseph Myers <joseph@codesourcery.com>
31366
31367 [BZ #13550]
31368 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31369 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31370 <bp-sym.h> and <bp-asm.h>.
31371 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31372 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31373 and <bp-asm.h>.
31374 (memcpy): Don't use BP_SYM.
31375 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31376 <bp-asm.h>.
31377 (__mpn_add_n): Don't use BP_SYM.
31378 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31379 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31380 and <bp-asm.h>.
31381 (__mpn_addmul_1): Don't use BP_SYM.
31382 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31383 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31384 <bp-sym.h>.
31385 (_setjmp): Don't use BP_SYM.
31386 (__novmx_setjmp): Likewise.
31387 (__GI__setjmp): Likewise.
31388 (__vmx_setjmp): Likewise.
31389 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31390 <bp-sym.h>.
31391 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31392 (__bzero): Don't use BP_SYM.
31393 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31394 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31395 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31396 <bp-sym.h> and <bp-asm.h>.
31397 (memcpy): Don't use BP_SYM.
31398 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31399 <bp-sym.h> and <bp-asm.h>.
31400 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31401 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31402 <bp-sym.h> and <bp-asm.h>.
31403 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31404 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31405 <bp-asm.h>.
31406 (__mpn_lshift): Don't use BP_SYM.
31407 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31408 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31409 <bp-asm.h>.
31410 (memset): Don't use BP_SYM.
31411 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31412 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31413 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31414 <bp-asm.h>.
31415 (__mpn_mul_1): Don't use BP_SYM.
31416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31418 <bp-sym.h> and <bp-asm.h>.
31419 (memcmp): Don't use BP_SYM.
31420 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31421 <bp-sym.h> and <bp-asm.h>.
31422 (memcpy): Don't use BP_SYM.
31423 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31424 <bp-sym.h> and <bp-asm.h>.
31425 (memset): Don't use BP_SYM.
31426 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31427 <bp-sym.h> and <bp-asm.h>.
31428 (strncmp): Don't use BP_SYM.
31429 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31430 <bp-sym.h> and <bp-asm.h>.
31431 (memcpy): Don't use BP_SYM.
31432 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31433 <bp-sym.h> and <bp-asm.h>.
31434 (memset): Don't use BP_SYM.
31435 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31436 <bp-sym.h> and <bp-asm.h>.
31437 (__memchr): Don't use BP_SYM.
31438 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31439 <bp-sym.h> and <bp-asm.h>.
31440 (memcmp): Don't use BP_SYM.
31441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31442 <bp-sym.h> and <bp-asm.h>.
31443 (memcpy): Don't use BP_SYM.
31444 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31445 <bp-sym.h> and <bp-asm.h>.
31446 (__mempcpy): Don't use BP_SYM.
31447 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31448 <bp-sym.h> and <bp-asm.h>.
31449 (__memrchr): Don't use BP_SYM.
31450 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31451 <bp-sym.h> and <bp-asm.h>.
31452 (memset): Don't use BP_SYM.
31453 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31454 <bp-sym.h> and <bp-asm.h>.
31455 (__rawmemchr): Don't use BP_SYM.
31456 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31457 <bp-sym.h> and <bp-asm.h>.
31458 (__STRCMP): Don't use BP_SYM.
31459 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31460 <bp-sym.h> and <bp-asm.h>.
31461 (strchr): Don't use BP_SYM.
31462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31463 <bp-sym.h> and <bp-asm.h>.
31464 (__strchrnul): Don't use BP_SYM.
31465 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31466 <bp-sym.h> and <bp-asm.h>.
31467 (strlen): Don't use BP_SYM.
31468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31469 <bp-sym.h> and <bp-asm.h>.
31470 (strncmp): Don't use BP_SYM.
31471 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31472 <bp-sym.h> and <bp-asm.h>.
31473 (__strnlen): Don't use BP_SYM.
31474 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31475 <bp-asm.h>.
31476 (__mpn_rshift): Don't use BP_SYM.
31477 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31478 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31479 <bp-sym.h> and <bp-asm.h>.
31480 (__sigsetjmp): Don't use BP_SYM.
31481 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31482 (L(start_addresses)): Don't use BP_SYM.
31483 (_start): Likewise.
31484 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31485 <bp-asm.h>.
31486 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31487 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31488 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31489 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31490 <bp-asm.h>.
31491 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31492 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31493 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31494 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31495 <bp-asm.h>.
31496 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31497 comments.
31498 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31499 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31500 <bp-asm.h>.
31501 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31502 FIXME comments.
31503 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31504 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31505 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31506 <bp-asm.h>.
31507 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31508 comment.
31509 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31510 and <bp-asm.h>.
31511 (strncmp): Don't use BP_SYM,
31512 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31513 <bp-asm.h>.
31514 (__mpn_sub_n): Don't use BP_SYM.
31515 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31516 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31517 and <bp-asm.h>.
31518 (__mpn_submul_1): Don't use BP_SYM.
31519 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31521 <bp-sym.h> and <bp-asm.h>.
31522 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31524 <bp-sym.h> and <bp-asm.h>.
31525 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31526 comment.
31527
315282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31529
31530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31531 Use ZK to minimize writes to Z.
31532 (sub_magnitudes): Simplify code a bit.
31533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31534 Use ZK to minimize writes to Z.
31535 (sub_magnitudes): Simplify code a bit.
31536
315372013-02-27 Roland McGrath <roland@hack.frob.com>
31538
31539 * csu/gmon-start.c: Add special exception to license text.
31540
315412013-02-27 Richard Henderson <rth@redhat.com>
31542
31543 * scripts/config.guess: Update from config.git.
31544 * scripts/config.sub: Likewise.
31545
315462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31547
31548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31549
31550 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31551
31552 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31553
31554 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31555
31556 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31557
315582013-02-26 Roland McGrath <roland@hack.frob.com>
31559
31560 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31561 [$(build-shared = yes].
31562
315632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31564
31565 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31566 (__mul): Reduce iterations for calculating mantissa.
31567
31568 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31569 MPTWO.
31570 (__mpranred): Likewise.
31571
31572 [BZ #15160]
31573 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31574 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31575
315762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31577
31578 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31579 Define __attribute__.
31580
315812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31582
31583 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31584 unused.
31585 * posix/regex_internal.h (__attribute): Remove.
31586 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31587 (re_string_context_at): Likewise.
31588 (bitset_not): Use __attribute__ and mark function as possibly
31589 unused.
31590 (bitset_merge): Likewise.
31591 (bitset_mask): Likewise.
31592 (re_string_char_size_at): Likewise.
31593 (re_string_wchar_at): Likewise.
31594 (re_string_elem_size_at): Likewise.
31595
315962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31597
31598 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31599 code.
31600 (cc32): Likewise.
31601
31602 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31603 (__acr): Likewise.
31604 (__cpy): Likewise.
31605 (norm): Likewise.
31606 (denorm): Likewise.
31607 (__dbl_mp): Likewise.
31608 (add_magnitudes): Likewise.
31609 (sub_magnitudes): Likewise.
31610 (__mul): Likewise.
31611 (__inv): Likewise.
31612
31613 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31614 style.
31615
31616 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31617 style.
31618
31619 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31620 code.
31621
31622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31623 up changes with default code.
31624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31625 Likewise.
31626
316272013-02-24 Allan McRae <allan@archlinux.org>
31628
31629 * manual/socket.texi (The Internet Namespace): Order menu items
31630 to match that in the file.
31631
31632 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31633 node listing of the info page menu.
31634
316352013-02-21 Joseph Myers <joseph@codesourcery.com>
31636
31637 [BZ #13550]
31638 * sysdeps/i386/bp-asm.h: Remove file.
31639 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31640 (PARMS): Do not use macros from bp-asm.h.
31641 (S1): Likewise.
31642 (S2): Likewise.
31643 (SIZE): Likewise.
31644 (__mpn_add_n): Do not use BP_SYM
31645 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31646 "bp-asm.h".
31647 (PARMS): Do not use macros from bp-asm.h.
31648 (S1): Likewise.
31649 (SIZE): Likewise.
31650 (__mpn_addmul_1): Do not use BP_SYM
31651 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31652 "bp-asm.h".
31653 (PARMS): Do not use macros from bp-asm.h.
31654 (SIGMSK): Likewise.
31655 (_setjmp): Likewise. Do not use BP_SYM.
31656 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31657 "bp-asm.h".
31658 (PARMS): Do not use macros from bp-asm.h.
31659 (SIGMSK): Likewise.
31660 (setjmp): Likewise. Do not use BP_SYM.
31661 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31662 "bp-asm.h".
31663 (PARMS): Do not use macros from bp-asm.h.
31664 (__frexp): Do not use BP_SYM.
31665 (frexp): Likewise.
31666 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31667 "bp-asm.h".
31668 (PARMS): Do not use macros from bp-asm.h.
31669 (__frexpf): Do not use BP_SYM.
31670 (frexpf): Likewise.
31671 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31672 "bp-asm.h".
31673 (PARMS): Do not use macros from bp-asm.h.
31674 (__frexpl): Do not use BP_SYM.
31675 (frexpl): Likewise.
31676 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31677 "bp-asm.h".
31678 (PARMS): Do not use macros from bp-asm.h.
31679 (__remquo): Do not use BP_SYM.
31680 (remquo): Likewise.
31681 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31682 "bp-asm.h".
31683 (PARMS): Do not use macros from bp-asm.h.
31684 (__remquof): Do not use BP_SYM.
31685 (remquof): Likewise.
31686 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31687 "bp-asm.h".
31688 (PARMS): Do not use macros from bp-asm.h.
31689 (__remquol): Do not use BP_SYM.
31690 (remquol): Likewise.
31691 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31692 "bp-asm.h".
31693 (PARMS): Do not use macros from bp-asm.h.
31694 (DEST): Likewise.
31695 (SRC): Likewise.
31696 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31697 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31698 "bp-asm.h".
31699 (PARMS): Do not use macros from bp-asm.h.
31700 (strlen): Do not use BP_SYM.
31701 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31702 "bp-asm.h".
31703 (PARMS): Do not use macros from bp-asm.h.
31704 (S1): Likewise.
31705 (S2): Likewise.
31706 (SIZE): Likewise.
31707 (__mpn_add_n): Do not use BP_SYM.
31708 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31709 "bp-asm.h".
31710 (PARMS): Do not use macros from bp-asm.h.
31711 (S1): Likewise.
31712 (SIZE): Likewise.
31713 (__mpn_addmul_1): Do not use BP_SYM.
31714 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31715 weak_alias.
31716 (bzero): Likewise.
31717 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31718 "bp-asm.h".
31719 (PARMS): Do not use macros from bp-asm.h.
31720 (S): Likewise.
31721 (SIZE): Likewise.
31722 (__mpn_lshift): Do not use BP_SYM.
31723 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31724 "bp-asm.h".
31725 (PARMS): Do not use macros from bp-asm.h.
31726 (DEST): Likewise.
31727 (SRC): Likewise.
31728 (LEN): Likewise.
31729 (memcpy): Likewise. Do not use BP_SYM.
31730 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31731 libc_hidden_def and weak_alias.
31732 (mempcpy): Do not use BP_SYM in weak_alias.
31733 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31734 "bp-asm.h".
31735 (PARMS): Do not use macros from bp-asm.h.
31736 (DEST): Likewise.
31737 (LEN): Likewise.
31738 [!BZERO_P] (CHR): Likewise.
31739 (memset): Likewise. Do not use BP_SYM.
31740 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31741 "bp-asm.h".
31742 (PARMS): Do not use macros from bp-asm.h.
31743 (S1): Likewise.
31744 (SIZE): Likewise.
31745 (__mpn_mul_1): Do not use BP_SYM.
31746 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31747 "bp-asm.h".
31748 (PARMS): Do not use macros from bp-asm.h.
31749 (S): Likewise.
31750 (SIZE): Likewise.
31751 (__mpn_rshift): Do not use BP_SYM.
31752 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31753 "bp-asm.h".
31754 (PARMS): Do not use macros from bp-asm.h.
31755 (STR): Likewise.
31756 (CHR): Likewise.
31757 (strchr): Likewise. Do not use BP_SYM.
31758 (index): Do not use BP_SYM in weak_alias.
31759 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31760 "bp-asm.h".
31761 (PARMS): Do not use macros from bp-asm.h.
31762 (DEST): Likewise.
31763 (SRC): Likewise.
31764 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31765 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31766 "bp-asm.h".
31767 (PARMS): Do not use macros from bp-asm.h.
31768 (strlen): Do not use BP_SYM.
31769 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31770 "bp-asm.h".
31771 (PARMS): Do not use macros from bp-asm.h.
31772 (S1): Likewise.
31773 (S2): Likewise.
31774 (SIZE): Likewise.
31775 (__mpn_sub_n): Do not use BP_SYM.
31776 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31777 "bp-asm.h".
31778 (PARMS): Do not use macros from bp-asm.h.
31779 (S1): Likewise.
31780 (SIZE): Likewise.
31781 (__mpn_submul_1): Do not use BP_SYM.
31782 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31783 "bp-asm.h".
31784 (PARMS): Do not use macros from bp-asm.h.
31785 (S1): Likewise.
31786 (S2): Likewise.
31787 (SIZE): Likewise.
31788 (__mpn_add_n): Do not use BP_SYM.
31789 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31790 weak_alias.
31791 (bzero): Likewise.
31792 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31793 "bp-asm.h".
31794 (PARMS): Do not use macros from bp-asm.h.
31795 (BLK2): Likewise.
31796 (LEN): Likewise.
31797 (memcmp): Do not use BP_SYM.
31798 (bcmp): Do not use BP_SYM in weak_alias.
31799 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31800 "bp-asm.h".
31801 (PARMS): Do not use macros from bp-asm.h.
31802 (DEST): Likewise.
31803 (SRC): Likewise.
31804 (LEN): Likewise.
31805 (memcpy): Likewise. Do not use BP_SYM.
31806 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31807 "bp-asm.h".
31808 (PARMS): Do not use macros from bp-asm.h.
31809 (DEST): Likewise.
31810 (SRC): Likewise.
31811 (LEN): Likewise.
31812 (memmove): Likewise. Do not use BP_SYM.
31813 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31814 "bp-asm.h".
31815 (PARMS): Do not use macros from bp-asm.h.
31816 (DEST): Likewise.
31817 (SRC): Likewise.
31818 (LEN): Likewise.
31819 (__mempcpy): Likewise. Do not use BP_SYM.
31820 (mempcpy): Do not use BP_SYM in weak_alias.
31821 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31822 "bp-asm.h".
31823 (PARMS): Do not use macros from bp-asm.h.
31824 (DEST): Likewise.
31825 (LEN): Likewise.
31826 [!BZERO_P] (CHR): Likewise.
31827 (memset): Likewise. Do not use BP_SYM.
31828 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31829 "bp-asm.h".
31830 (PARMS): Do not use macros from bp-asm.h.
31831 (STR2): Likewise.
31832 (strcmp): Do not use BP_SYM.
31833 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31834 "bp-asm.h".
31835 (PARMS): Do not use macros from bp-asm.h.
31836 (STR): Likewise.
31837 (DELIM): Likewise.
31838 [USE_AS_STRTOK_R] (SAVE): Likewise.
31839 (FUNCTION): Likewise. Do not use BP_SYM.
31840 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31841 aliases.
31842 (strtok_r): Likewise.
31843 (__GI___strtok_r): Likewise.
31844 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31845 (PARMS): Do not use macros from bp-asm.h.
31846 (S): Likewise.
31847 (SIZE): Likewise.
31848 (__mpn_lshift): Do not use BP_SYM.
31849 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31850 (PARMS): Do not use macros from bp-asm.h.
31851 (STR): Likewise.
31852 (CHR): Likewise.
31853 (__memchr): Do not use BP_SYM.
31854 (memchr): Do not use BP_SYM in weak_alias.
31855 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31856 (PARMS): Do not use macros from bp-asm.h.
31857 (BLK2): Likewise.
31858 (LEN): Likewise.
31859 (memcmp): Do not use BP_SYM.
31860 (bcmp): Do not use BP_SYM in weak_alias.
31861 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31862 (PARMS): Do not use macros from bp-asm.h.
31863 (S1): Likewise.
31864 (SIZE): Likewise.
31865 (__mpn_mul_1): Do not use BP_SYM.
31866 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31867 "bp-asm.h".
31868 (PARMS): Do not use macros from bp-asm.h.
31869 (STR): Likewise.
31870 (CHR): Likewise.
31871 (__rawmemchr): Do not use BP_SYM.
31872 (rawmemchr): Do not use BP_SYM in weak_alias.
31873 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31874 (PARMS): Do not use macros from bp-asm.h.
31875 (S): Likewise.
31876 (SIZE): Likewise.
31877 (__mpn_rshift): Do not use BP_SYM.
31878 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31879 (PARMS): Do not use macros from bp-asm.h.
31880 (SIGMSK): Likewise.
31881 (__sigsetjmp): Likewise. Do not use BP_SYM.
31882 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31883 (_start): Do not use BP_SYM.
31884 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31885 (PARMS): Do not use macros from bp-asm.h.
31886 (DEST): Likewise.
31887 (SRC): Likewise.
31888 (__stpcpy): Likewise. Do not use BP_SYM.
31889 (stpcpy): Do not use BP_SYM in weak_alias.
31890 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31891 "bp-asm.h".
31892 (PARMS): Do not use macros from bp-asm.h.
31893 (DEST): Likewise.
31894 (SRC): Likewise.
31895 (LEN): Likewise.
31896 (__stpncpy): Likewise. Do not use BP_SYM.
31897 (stpncpy): Do not use BP_SYM in weak_alias.
31898 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31899 (PARMS): Do not use macros from bp-asm.h.
31900 (STR): Likewise.
31901 (CHR): Likewise.
31902 (strchr): Likewise. Do not use BP_SYM.
31903 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31904 "bp-asm.h".
31905 (PARMS): Do not use macros from bp-asm.h.
31906 (STR): Likewise.
31907 (CHR): Likewise.
31908 (__strchrnul): Likewise. Do not use BP_SYM.
31909 (strchrnul): Do not use BP_SYM in weak_alias.
31910 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31911 "bp-asm.h".
31912 (PARMS): Do not use macros from bp-asm.h.
31913 (STOP): Likewise.
31914 (strcspn): Do not use BP_SYM.
31915 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31916 "bp-asm.h".
31917 (PARMS): Do not use macros from bp-asm.h.
31918 (STR): Likewise.
31919 (STOP): Likewise.
31920 (strpbrk): Likewise. Do not use BP_SYM.
31921 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31922 "bp-asm.h".
31923 (PARMS): Do not use macros from bp-asm.h.
31924 (STR): Likewise.
31925 (CHR): Likewise.
31926 (strrchr): Likewise. Do not use BP_SYM.
31927 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31928 (PARMS): Do not use macros from bp-asm.h.
31929 (SKIP): Likewise.
31930 (strspn): Do not use BP_SYM.
31931 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31932 (PARMS): Do not use macros from bp-asm.h.
31933 (STR): Likewise.
31934 (DELIM): Likewise.
31935 (SAVE): Likewise.
31936 (FUNCTION): Likewise. Do not use BP_SYM.
31937 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31938 aliases.
31939 (strtok_r): Likewise.
31940 (__GI___strtok_r): Likewise.
31941 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31942 (PARMS): Do not use macros from bp-asm.h.
31943 (S1): Likewise.
31944 (S2): Likewise.
31945 (SIZE): Likewise.
31946 (__mpn_sub_n): Do not use BP_SYM.
31947 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31948 "bp-asm.h".
31949 (PARMS): Do not use macros from bp-asm.h.
31950 (S1): Likewise.
31951 (SIZE): Likewise.
31952 (__mpn_submul_1): Do not use BP_SYM.
31953 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31954 <bp-sym.h>.
31955 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31956 and <bp-asm.h>.
31957 (PARMS): Do not use macros from bp-asm.h.
31958 (FLAGS): Likewise.
31959 (PTID): Likewise.
31960 (TLS): Likewise.
31961 (CTID): Likewise.
31962 (__clone): Do not use BP_SYM.
31963 (clone): Do not use BP_SYM in weak_alias.
31964 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31965 and <bp-asm.h>.
31966 (PARMS): Do not use macros from bp-asm.h.
31967 (LEN): Likewise.
31968 (__mmap64): Do not use BP_SYM.
31969 (mmap64): Do not use BP_SYM in weak_alias.
31970 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31971 <bp-sym.h> and <bp-asm.h>.
31972 (PARMS): Do not use macros from bp-asm.h.
31973 (__posix_fadvise64_l64): Do not use BP_SYM.
31974 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31975 (PARMS): Do not use macros from bp-asm.h.
31976 (NSOPS): Likewise.
31977 (semtimedop): Do not use BP_SYM.
31978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31979 and <bp-asm.h>.
31980
319812013-02-21 Allan McRae <allan@archlinux.org>
31982
31983 * manual/message.texi (Charset conversion in gettext):
31984 Move @end statement to beginning of line.
31985
319862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31987
31988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31989 static.
31990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31991 Likewise.
31992
31993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31994 (denorm): Likewise.
31995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31997
319982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31999
32000 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32001 tail-call to the resolved function if pltexit isn't needed.
32002
320032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32004
32005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32006 or Y being zero as being unlikely.
32007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32008 Likewise.
32009
320102013-02-20 Carlos O'Donell <carlos@redhat.com>
32011
32012 * manual/nss.texi (System Databases and Name Service Switch):
32013 Remove frobnicate @pxref.
32014
320152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32016
32017 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32018 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32019
320202013-02-20 Petr Machata <pmachata@redhat.com>
32021
32022 * elf/elf.h (R_ARM_TARGET1): New macro.
32023 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32024 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32025 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32026 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32027 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32028 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32029 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32030 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32031 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32032 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32033 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32034 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32035 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32036 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32037 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32038 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32039 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32040 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32041 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32042 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32043 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32044 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32045 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32046 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32047 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32048 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32049 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32050 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32051 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32052 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32053 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32054 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32055 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32056 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32057 (R_ARM_THM_GOT_BREL12): Likewise.
32058 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32059 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32060 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32061 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32062 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32063 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32064 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32065 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32066 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32067
320682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32069
32070 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32071 __attribute_used__ to __attribute__ ((unused)).
32072
320732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32074
32075 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32076 powerpc mpa.c.
32077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32078 comment formatting.
32079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32080
320812013-02-19 Joseph Myers <joseph@codesourcery.com>
32082
32083 [BZ #13550]
32084 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32085 Remove macro.
32086 (ENTER): Remove both macro definitions.
32087 (LEAVE): Likewise.
32088 (CHECK_BOUNDS_LOW): Likewise.
32089 (CHECK_BOUNDS_HIGH): Likewise.
32090 (CHECK_BOUNDS_BOTH): Likewise.
32091 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32092 (RETURN_BOUNDED_POINTER): Likewise.
32093 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32094 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32095 (POP_ERRNO_LOCATION_RETURN): Likewise.
32096 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32097 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32098 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32099 macros.
32100 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32101 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32102 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32103 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32104 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32105 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32106 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32107 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32108 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32109 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32110 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32111 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32112 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32113 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32114 removed macros.
32115 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32116 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32117 macros.
32118 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32119 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32120 * sysdeps/i386/i586/memset.S (memset): Likewise.
32121 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32122 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32123 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32124 macros.
32125 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32126 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32127 Change uses of L(2) to L(out).
32128 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32129 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32130 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32131 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32132 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32133 removed macros.
32134 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32135 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32136 macros.
32137 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32138 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32139 (RETURN): Do not use macro LEAVE.
32140 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32141 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32142 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32143 * sysdeps/i386/i686/memset.S (memset): Likewise.
32144 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32145 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32146 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32147 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32148 Likewise.
32149 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32150 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32151 L(1_2) and L(1_3) into L(1).
32152 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32153 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32154 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32155 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32156 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32157 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32158 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32160 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32161 macros.
32162 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32163 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32164 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32165 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32166 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32167 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32168 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32169 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32170 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32171 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32172 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32173 * sysdeps/i386/strspn.S (strspn): Likewise.
32174 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32175 conditional code.
32176 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32177 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32178 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32179 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32180 L(1_3) into L(1_1).
32181 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32182 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32183 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32184 macros.
32185 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32186
321872013-02-19 Jakub Jelinek <jakub@redhat.com>
32188
32189 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32190 macro.
32191
321922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32193
32194 * math/atest-exp.c (exp_mpn): Remove ROUND.
32195 * math/atest-exp2.c (exp_mpn): Likewise.
32196 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32197
32198 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32199 * stdlib/tst-tls-atexit-lib.c: Likewise.
32200 * stdlib/tst-tls-atexit.c: Likewise.
32201
322022013-02-18 Mike Frysinger <vapier@gentoo.org>
32203
32204 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32205 and __attribute_alloc_size__.
32206
322072013-02-18 Mike Frysinger <vapier@gentoo.org>
32208
32209 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32210 __attribute_alloc_size__.
32211 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32212 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32213
322142013-02-18 Mike Frysinger <vapier@gentoo.org>
32215
32216 * include/programs/xmalloc.h: New file.
32217 * catgets/gencat.c: Include it.
32218 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32219 * elf/pldd.c: Likewise.
32220 * iconv/iconv_charmap.c: Likewise.
32221 * iconv/iconvconfig.c: Likewise.
32222 * iconv/strtab.c: Likewise.
32223 * locale/programs/locale.c: Likewise.
32224 * locale/programs/localedef.h: Likewise.
32225 * locale/programs/simple-hash.c: Likewise.
32226 * nscd/nscd.h: Likewise.
32227 * nss/makedb.c: Likewise.
32228 * sysdeps/generic/ldconfig.h: Likewise.
32229
322302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32231
32232 * Versions.def: Add GLIBC_2.18.
32233 * include/link.h (struct link_map): New member l_tls_dtor_count.
32234 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32235 (__call_tls_dtors): Likewise.
32236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32237 __cxa_thread_atexit_impl.
32238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32239 Likewise.
32240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32241 Likewise.
32242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32243 Likewise.
32244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32245 Likewise.
32246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32248 Likewise.
32249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32250 Likewise.
32251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32253 Likewise.
32254 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32255 (tests): Add test case tst-tls-atexit.
32256 (modules-names): Add shared library for tst-tls-atexit.
32257 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32258 (GLIBC_PRIVATE): Add __call_tls_dtors.
32259 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32260 for libstdc++.
32261 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32262 * stdlib/tst-tls-atexit.c: New test case.
32263 * stdlib/tst-tls-atexit-lib.c: New test case.
32264
32265 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32266
32267 * elf/Versions (ld): Add _dl_find_dso_for_object.
32268 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32269 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32270 (dl_open_worker): Use _dl_find_dso_for_object.
32271 * elf/dl-sym.c (do_sym): Likewise.
32272 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32273
322742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32275
32276 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32277 Syntactic changes only.
32278 (_dl_runtime_profile): Do a tail-call to the resolved function.
32279
322802013-02-17 Joseph Myers <joseph@codesourcery.com>
32281
32282 [BZ #13550]
32283 * sysdeps/x86_64/bp-asm.h: Remove file.
32284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32285 <bp-sym.h> and <bp-asm.h>.
32286 (__clone): Do not use BP_SYM.
32287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32288 <bp-sym.h> and <bp-asm.h>.
32289 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32290 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32291 "bp-asm.h".
32292 (_setjmp): Do not use BP_SYM.
32293 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32294 "bp-asm.h".
32295 (setjmp): Do not use BP_SYM.
32296 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32297 libc_hidden_def.
32298 (mempcpy): Do not use BP_SYM in weak_alias.
32299 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32300 "bp-asm.h".
32301 (strchr): Do not use BP_SYM.
32302 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32303 "bp-asm.h".
32304 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32305 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32306 (_start): Do not use BP_SYM.
32307 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32308 "bp-asm.h".
32309 (strcat): Do not use BP_SYM.
32310 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32311 "bp-asm.h".
32312 (STRCMP): Do not use BP_SYM.
32313 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32314 "bp-asm.h".
32315 (STRCPY): Do not use BP_SYM.
32316 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32317 "bp-asm.h".
32318 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32319 "bp-asm.h".
32320 (FUNCTION): Do not use BP_SYM.
32321 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32322 weak_alias.
32323 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32324
323252013-02-17 Andreas Jaeger <aj@suse.de>
32326
32327 * time/Versions: Sort entries.
32328 * string/Versions: Likewise.
32329 * resolv/Versions: Likewise.
32330 * posix/Versions: Likewise.
32331 * iconv/Versions: Likewise.
32332 * elf/Versions: Likewise.
32333 * wcsmbs/Versions: Likewise.
32334
323352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32336
32337 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32338 loop termination condition.
32339
32340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32341 variable to calculate EZ.
32342 (__sqr): Likewise.
32343
32344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32345 the lower precision input.
32346
323472013-02-15 Joseph Myers <joseph@codesourcery.com>
32348
32349 [BZ #13550]
32350 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32351 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32352 (run-via-rtld-prefix): Do not handle %-bp tests.
32353 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32354 (all-object-suffixes): Remove .ob.
32355 (bppfx): Remove variable.
32356 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32357 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32358 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32359 [$(build-bounded) = yes] (libtype.ob): Likewise.
32360 * Makerules (elide-routines.ob): Remove variable.
32361 (do-tests-clean): Do not handle *-bp.out.
32362 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32363 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32364 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32365 (tests): Do not include $(tests-bp.out).
32366 (xtests): Do not include $(xtests-bp.out).
32367 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32368 [$(build-bounded) = yes] ($(addprefix
32369 $(objpfx),$(binaries-bounded))): Remove rule.
32370 ($(objpfx)%-bp.out): Remove rule.
32371 * config.make.in (build-bounded): Remove variable.
32372 * crypt/Makefile [$(build-bounded) = yes]
32373 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32374 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32375 append to variable.
32376 [$(build-bounded) = yes] (install-lib): Likewise.
32377 [$(build-bounded) = yes] (generated): Likewise.
32378 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32379 Remove rule.
32380 * intl/Makefile [$(build-bounded) = yes]
32381 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32382 * math/Makefile [$(build-bounded) = yes]
32383 ($(tests:%=$(objpfx)%-bp): Likewise.
32384 * misc/Makefile [$(build-bounded) = yes]
32385 ($(objpfx)tst-tsearch-bp): Likewise.
32386 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32387 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32388 Remove dependency.
32389 * string/Makefile (o-objects.ob): Remove variable.
32390 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32391 (CFLAGS-.ob): Remove variable.
32392 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32393 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32394 both definitions of variable.
32395 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32396 (ASFLAGS-.ob): Remove variable.
32397
323982013-02-14 Joseph Myers <joseph@codesourcery.com>
32399
32400 [BZ #13550]
32401 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32402 Remove __BOUNDED_POINTERS__ from condition.
32403 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32404 * string/bits/string2.h [!__NO_STRING_INLINES &&
32405 !__BOUNDED_POINTERS__]: Likewise.
32406 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32407 Likewise.
32408 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32409 Remove conditional code.
32410 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32411 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32412 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32413 condition.
32414
32415 [BZ #13550]
32416 * csu/libc-start.c: Do not include <bp-sym.h>.
32417 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32418 * elf/dl-open.c: Do not include <bp-sym.h>.
32419 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32420 * math/fegetenv.c: Do not include <bp-sym.h>.
32421 (fegetenv): Do not use BP_SYM in versioned symbols.
32422 * nptl/sysdeps/pthread/bits/libc-lockP.h
32423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32424 <bp-sym.h>.
32425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32426 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32428 (__pthread_mutex_destroy): Likewise.
32429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32430 (__pthread_mutex_lock): Likewise.
32431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32432 (__pthread_mutex_trylock): Likewise.
32433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32434 (__pthread_mutex_unlock): Likewise.
32435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32436 (__pthread_mutexattr_init): Likewise.
32437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32438 (__pthread_mutexattr_destroy): Likewise.
32439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32440 (__pthread_mutexattr_settype): Likewise.
32441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32442 (__pthread_rwlock_init): Likewise.
32443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32444 (__pthread_rwlock_destroy): Likewise.
32445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32446 (__pthread_rwlock_rdlock): Likewise.
32447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32448 (__pthread_rwlock_tryrdlock): Likewise.
32449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32450 (__pthread_rwlock_wrlock): Likewise.
32451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32452 (__pthread_rwlock_trywrlock): Likewise.
32453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32454 (__pthread_rwlock_unlock): Likewise.
32455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32456 (__pthread_key_create): Likewise.
32457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32458 (__pthread_setspecific): Likewise.
32459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32460 (__pthread_getspecific): Likewise.
32461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32462 Likewise.
32463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32464 (_pthread_cleanup_push_defer): Likewise.
32465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32466 (_pthread_cleanup_pop_restore): Likewise.
32467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32468 (pthread_setcancelstate): Likewise.
32469 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32470 <bp-sym.h>.
32471 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32472 (memchr): Do not use BP_SYM in weak_alias.
32473 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32474 (fegetenv): Do not use BP_SYM in versioned symbols.
32475 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32476 (fesetenv): Do not use BP_SYM in versioned symbols.
32477 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32478 (feupdateenv): Do not use BP_SYM in versioned symbols.
32479 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32480 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32481 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32482 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32483 (open64): Do not use BP_SYM in weak_alias.
32484 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32485 (fegetenv): Do not use BP_SYM in versioned symbols.
32486 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32487 (fesetenv): Do not use BP_SYM in versioned symbols.
32488 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32489 (feupdateenv): Do not use BP_SYM in versioned symbols.
32490 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32491 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32492 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32493 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32494 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32495 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32496 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32497 <bp-sym.h>.
32498 (__libc_start_main): Do not use BP_SYM.
32499
325002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32501
32502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32503 redundant return line.
32504 (norm): Likewise.
32505 (denorm): Likewise.
32506 (dbl_mp): Likewise.
32507 (sub_magnitudes): Likewise.
32508 (__add): Likewise.
32509 (__sub): Likewise.
32510 (__mul): Likewise.
32511 (__inv): Likewise.
32512 (__dvd): Likewise.
32513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32514 (norm): Likewise.
32515 (denorm): Likewise.
32516 (dbl_mp): Likewise.
32517 (sub_magnitudes): Likewise.
32518 (__add): Likewise.
32519 (__sub): Likewise.
32520 (__mul): Likewise.
32521 (__inv): Likewise.
32522 (__dvd): Likewise.
32523
32524 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32525 instead of __mul.
32526 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32527 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32528 (cc32): Likewise.
32529
32530 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32531 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32533 of __mul for squares.
32534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32535 function
32536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32537 Likewise.
32538 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32539 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32540
325412013-02-13 Joseph Myers <joseph@codesourcery.com>
32542
32543 [BZ #13550]
32544 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32545 code.
32546 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32547 prototype or function definition. Rename ubp_* variables and
32548 parameters. Remove argv definitions conditional on
32549 [__BOUNDED_POINTERS__].
32550 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32551 * elf/dl-runtime.c (_dl_fixup): Likewise.
32552 * include/set-hooks.h (RUN_HOOK): Likewise.
32553 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32554 definition.
32555 * string/strcpy.c (strcpy): Do not use __unbounded.
32556 * sysdeps/generic/frame.h (struct layout): Likewise.
32557 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32558 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32559 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32560 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32561 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32562 (__backtrace): Likewise.
32563 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32564 use __ptrvalue.
32565 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32566 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32567 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32568 Likewise.
32569 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32570 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32571 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32572 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32573 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32574 Do not use __unbounded.
32575 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32576 Rename __unboundedrlimits parameter to rlimits in prototype.
32577 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32578 Do not use __unbounded.
32579 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32580 not use __ptrvalue.
32581 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32582 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32583 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32584 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32585 __ptrvalue or __unbounded.
32586 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32587 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32588 use __unbounded.
32589 (__new_msgctl): Do not use __ptrvalue.
32590 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32591 __unbounded.
32592 (__libc_msgrcv): Do not use __ptrvalue.
32593 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32594 startup_info): Do not use __unbounded.
32595 (__libc_start_main): Likewise. Rename ubp_* variables and
32596 parameters. Remove argv definitions conditional on
32597 [__BOUNDED_POINTERS__].
32598 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32599 __ptrvalue.
32600 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32601 use __unbounded.
32602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32603 or __ptrvalue.
32604 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32605 use __unbounded.
32606 (__new_shmctl): Do not use __ptrvalue.
32607 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32608 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32609 Likewise.
32610 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32612 (__libc_sigaction): Likewise.
32613 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32614 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32615 Likewise.
32616 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32617
326182013-02-13 Ondřej Bílka <neleai@seznam.cz>
32619
32620 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32621
32622 * string/mempcpy.c: Implement by calling memcpy.
32623
326242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32625
32626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32627
32628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32629 evaluation.
32630
32631 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32632 values in the mantissa.
32633
32634 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32635 minimize writes to Z.
32636 (sub_magnitudes): Simplify code a bit.
32637
326382013-02-12 Roland McGrath <roland@hack.frob.com>
32639
32640 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32641 from the message. The linker prefixes all warnings with that already.
32642
326432013-02-12 Andreas Schwab <schwab@suse.de>
32644
32645 [BZ #15078]
32646 * posix/regexec.c (extend_buffers): Add parameter min_len.
32647 (check_matching): Pass minimum needed length.
32648 (clean_state_log_if_needed): Likewise.
32649 (get_subexp): Likewise.
32650 * posix/Makefile (tests): Add bug-regex34.
32651 (bug-regex34-ENV): Define.
32652 * posix/bug-regex34.c: New file.
32653
32654 [BZ #11561]
32655 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32656 elements compare against the byte sequence of it, not its name.
32657 * posix/Makefile (tests): Add bug-regex35.
32658 (bug-regex35-ENV): Define.
32659 * posix/bug-regex35.c: New file.
32660
326612013-02-11 Tom de Vries <tom@codesourcery.com>
32662
32663 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32664 comment.
32665 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32666 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32667 (CHECK_EOL): Add undef.
32668
326692013-02-11 Ondřej Bílka <neleai@seznam.cz>
32670
32671 * bits/stdlib-bsearch.h: New file.
32672 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32673 * stdlib/stdlib.h: Likewise.
32674
326752013-02-11 Roland McGrath <roland@hack.frob.com>
32676
32677 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32678 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32679 declaration.
32680 * manual/search.texi (Array Search Function): Add missing const in
32681 lfind prototype.
32682 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32683 declaration to use rlim_t.
32684 (Basic Scheduling Functions): Remove erroneous const from
32685 sched_getparam prototype. Remove erroneous * from
32686 sched_get_priority_max and sched_get_priority_min prototypes.
32687 (Resource Usage): Fix summary @comment on vtimes to refer to
32688 sys/vtimes.h rather than vtimes.h.
32689 Add missing *s in vtimes prototype.
32690 (Limits on Resources): Fix ulimit prototype to return long int.
32691 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32692 prototypes to use long int rather than double.
32693 (BSD Random): Fix initstate and setstate to use char *, not void *.
32694 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32695 prototype to make second argument 'struct aiocb64 *const[]'.
32696 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32697 (Status of AIO Operations): Remove erroneous const in aio_return and
32698 aio_return64 prototypes.
32699 (Synchronizing I/O): Fix sync prototype to return void.
32700 * manual/startup.texi (Suboptions): Remove an erroneous const in
32701 getsubopt prototype.
32702 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32703 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32704 use size_t rather than int.
32705 (Scanning All Users): Likewise for getpwent_r.
32706 (Setting Groups): Add missing const to setgroups prototype.
32707 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32708 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32709 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32710 'const void *' rather than 'const char *'.
32711 (Host Address Functions): Likewise for inet_ntop.
32712 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32713 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32714 ssize_t for return value.
32715 (Sending Data): Likewise for send, sendto, sendmsg.
32716 (Socket Option Functions): Add a missing const in setsockopt prototype.
32717 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32718 use wchar_t for the argument.
32719 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32720 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32721 take no arguments.
32722 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32723 double/float/long double for second argument.
32724 Fix return types of significand, significandf, significandl.
32725 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32726 argument in fchmod prototype.
32727 (File Owner): Use uid_t and gid_t in fchown prototype.
32728 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32729 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32730 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32731 use 'const struct dirent **' as argument types to CMP function pointer
32732 argument.
32733 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32734 (File Times): Fix summary magic @comment for struct utimbuf and utime
32735 to refer to utime.h, not time.h.
32736 * manual/string.texi (Argz Functions): Add missing const in
32737 argz_extract and argz_next prototypes.
32738 (Finding Tokens in a String): Likewise for basename.
32739 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32740 (Copying and Concatenation): Fix typo in wmemmove prototype.
32741 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32742 (Signal Stack): Remove erroneous const in sigstack prototype.
32743 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32744 prototype.
32745 (Simple Calendar Time): Likewise for stime.
32746 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32747 prototype.
32748 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32749 say sys/sysctl.h instead.
32750 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32751 and vsyslog prototypes.
32752
327532013-02-11 Tom de Vries <tom@codesourcery.com>
32754
32755 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32756 Remove.
32757
327582013-02-11 Roland McGrath <roland@hack.frob.com>
32759
32760 * misc/sys/mman.h: Fix typo in mremap comment.
32761
327622013-02-08 Roland McGrath <roland@hack.frob.com>
32763
32764 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32765 the '\0' terminator.
32766
327672013-02-08 Joseph Myers <joseph@codesourcery.com>
32768
32769 [BZ #13550]
32770 * debug/segfault.c: Don't include <bp-checks.h>.
32771 * sysdeps/generic/bp-checks.h: Remove file.
32772 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32773 (__GETDENTS): Don't use CHECK_N.
32774 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32775 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32776 (__getgroups): Don't use CHECK_N.
32777 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32778 (setgroups): Don't use CHECK_N.
32779 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32780 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32781 (__libc_msgrcv): Don't use CHECK_N.
32782 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32783 (__libc_msgsnd): Don't use CHECK_N.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32785 <bp-checks.h>.
32786 (__libc_pread): Don't use CHECK_N.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32788 include <bp-checks.h>.
32789 (__libc_pread64): Don't use CHECK_N.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32791 include <bp-checks.h>.
32792 (__libc_pwrite): Don't use CHECK_N.
32793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32794 include <bp-checks.h>.
32795 (__libc_pwrite64): Don't use CHECK_N.
32796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32797 <bp-checks.h>.
32798 (__libc_pread): Don't use CHECK_N.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32800 include <bp-checks.h>.
32801 (__libc_pread64): Don't use CHECK_N.
32802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32803 include <bp-checks.h>.
32804 (__libc_pwrite): Don't use CHECK_N.
32805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32806 include <bp-checks.h>.
32807 (__libc_pwrite64): Don't use CHECK_N.
32808 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32809 (do_pread): Don't use CHECK_N.
32810 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32811 (do_pread64): Don't use CHECK_N.
32812 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32813 (do_pwrite): Don't use CHECK_N.
32814 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32815 (do_pwrite64): Don't use CHECK_N.
32816 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32817 (__libc_readv): Don't use CHECK_N.
32818 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32819 (semop): Don't use CHECK_N.
32820 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32821 <bp-checks.h>.
32822 (semtimedop): Don't use CHECK_N.
32823 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32824 (__libc_pread): Don't use CHECK_N.
32825 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32826 <bp-checks.h>.
32827 (__libc_pread64): Don't use CHECK_N.
32828 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32829 <bp-checks.h>.
32830 (__libc_pwrite): Don't use CHECK_N.
32831 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32832 <bp-checks.h>.
32833 (__libc_pwrite64): Don't use CHECK_N.
32834 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32835 <bp-checks.h>.
32836 (__libc_msgrcv): Don't use CHECK_N.
32837 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32838 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32839 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32840 (__libc_writev): Don't use CHECK_N.
32841
328422013-02-08 Roland McGrath <roland@hack.frob.com>
32843
32844 * string/strcpy.c: Removed unused variable.
32845
32846 * Makeconfig (+sysdep-includes): Define with := rather than =.
32847 Use an existing include/ subdir of each sysdeps dir before it.
32848
328492013-02-08 Carlos O'Donell <carlos@redhat.com>
32850
32851 * nscd/connection.c (register_traced_file): Comment function.
32852 [HAVE_INOTIFY] (union __inev): Define.
32853 [HAVE_INOTIFY] (inotify_check_files): New function.
32854 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32855 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32856 clear_db_cache.
32857 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32858
328592013-02-08 Carlos O'Donell <carlos@redhat.com>
32860
32861 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32862 loaded if not already and that a failure is permanent.
32863
328642013-02-08 Carlos O'Donell <carlos@redhat.com>
32865
32866 [BZ #15006]
32867 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32868 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32869
328702013-02-08 Joseph Myers <joseph@codesourcery.com>
32871
32872 [BZ #13550]
32873 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32874 (CHECK_1_NULL_OK): Likewise.
32875 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32876 (__fxstat): Do not use CHECK_1.
32877 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32878 <bp-checks.h>.
32879 (___fxstat64): Do not use CHECK_1.
32880 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32881 <bp-checks.h>.
32882 (__fxstatat): Do not use CHECK_1.
32883 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32884 <bp-checks.h>.
32885 (__fxstatat64): Do not use CHECK_1.
32886 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32887 <bp-checks.h>.
32888 (__fxstat): Do not use CHECK_1.
32889 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32890 <bp-checks.h>.
32891 (__fxstatat): Do not use CHECK_1.
32892 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32893 <bp-checks.h>.
32894 (__getresgid): Do not use CHECK_1.
32895 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32896 <bp-checks.h>.
32897 (__getresuid): Do not use CHECK_1.
32898 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32899 <bp-checks.h>.
32900 (__lxstat): Do not use CHECK_1.
32901 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32902 <bp-checks.h>.
32903 (__old_msgctl): Do not use CHECK_1.
32904 (__new_msgctl): Likewise.
32905 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32906 <bp-checks.h>.
32907 (__new_setrlimit): Do not use CHECK_1.
32908 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32909 <bp-checks.h>.
32910 (__old_shmctl): Do not use CHECK_1.
32911 (__new_shmctl): Likewise.
32912 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32913 <bp-checks.h>.
32914 (__xstat): Do not use CHECK_1.
32915 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32916 (__lxstat): Do not use CHECK_1.
32917 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32918 <bp-checks.h>.
32919 (___lxstat64): Do not use CHECK_1.
32920 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32921 (__old_msgctl): Do not use CHECK_1.
32922 (__new_msgctl): Likewise.
32923 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32924 <bp-checks.h>.
32925 (__gettimeofday): Do not use CHECK_1.
32926 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32927 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32928 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32929 <bp-checks.h>.
32930 (__gettimeofday): Do not use CHECK_1.
32931 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32932 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32933 (__new_shmctl): Do not use CHECK_1.
32934 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32935 <bp-checks.h>.
32936 (do_sigtimedwait): Do not use CHECK_1.
32937 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32938 <bp-checks.h>.
32939 (do_sigwaitinfo): Do not use CHECK_1.
32940 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32941 <bp-checks.h>.
32942 (msgctl): Do not use CHECK_1.
32943 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32944 <bp-checks.h>.
32945 (shmctl): Do not use CHECK_1.
32946 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32947 (ustat): Do not use CHECK_1.
32948 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32949 <bp-checks.h>.
32950 (__fxstat): Do not use CHECK_1.
32951 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32952 <bp-checks.h>.
32953 (__fxstatat): Do not use CHECK_1.
32954 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32955 <bp-checks.h>.
32956 (__lxstat): Do not use CHECK_1.
32957 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32958 <bp-checks.h>.
32959 (__xstat): Do not use CHECK_1.
32960 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32961 (__xstat): Do not use CHECK_1.
32962 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32963 (___xstat64): Do not use CHECK_1.
32964
32965 [BZ #13550]
32966 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32967 definitions.
32968 (CHECK_BOUNDS_HIGH): Likewise.
32969 * string/strcpy.c: Do not include <bp-checks.h>.
32970 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32971
329722013-02-07 Roland McGrath <roland@hack.frob.com>
32973
32974 * nscd/nscd-client.h (__nscd_drop_map_ref):
32975 Add __attribute__ ((unused)).
32976 * nis/nss-nisplus.h (niserr2nss): Likewise.
32977
32978 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32979 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32980
32981 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32982 Remove inline keyword.
32983 * include/rounding-mode.h (round_away): Likewise.
32984 * libio/wfileops.c (adjust_wide_data): Likewise.
32985 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32986 (__m128i_strloadu_tolower): Likewise.
32987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32988 (__m128i_strloadu_tolower): Likewise.
32989 * time/mktime.c (ydhms_diff): Likewise.
32990 * locale/elem-hash.h (elem_hash): Likewise.
32991 * locale/setlocale.c (setdata): Likewise.
32992 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32993 (re_string_wchar_at): Likewise.
32994 (bitset_not, bitset_merge, bitset_mask): Likewise.
32995 [!(__GNUC__ > 3)] (inline): Remove macro.
32996 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32997 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32998 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32999 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33000 * string/memcmp.c (memcmp_bytes): Likewise.
33001 * locale/programs/locarchive.c (compute_hashval): Likewise.
33002 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33003 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33004 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33005 * nss/getent.c (print_rpc, print_protocols): Likewise.
33006 (print_passwd, print_group, print_aliases): Likewise.
33007 * nis/nss-nisplus.h (niserr2nss): Likewise.
33008 * nscd/connections.c (restart_p): Likewise.
33009 Change return type to bool.
33010
330112013-02-05 Roland McGrath <roland@hack.frob.com>
33012
33013 * Makeconfig (all-Depend-files): Add existing
33014 $(sorted-subdirs:=/Depend) files.
33015 (all-subdirs): Remove nss.
33016 * sysdeps/unix/inet/Subdirs: Add it here instead.
33017 * hesiod/Depend: New file.
33018
33019 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33020 instead of calling alloca.
33021
33022 * io/lseek.c (__lseek): Rename to __libc_lseek.
33023 Define __lseek as an alias.
33024
33025 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33026
330272013-02-04 Carlos O'Donell <carlos@redhat.com>
33028
33029 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33030 else clause and remove check for non-standard endianness.
33031
330322013-02-04 David S. Miller <davem@davemloft.net>
33033
33034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33035
330362013-02-04 Joseph Myers <joseph@codesourcery.com>
33037
33038 [BZ #13550]
33039 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33040 (__ubp_memchr): Remove prototype.
33041 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33042 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33043 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33044 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33045 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33046 Remove alias.
33047 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33048 (__ubp_memchr): Likewise.
33049 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33050 (__ubp_memchr): Likewise.
33051 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33052 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33053 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33054 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33055 CHECK_STRING.
33056 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33057 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33058 (__getcwd): Do not use CHECK_STRING.
33059 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33060 <bp-checks.h>.
33061 (__real_chown): Do not use CHECK_STRING.
33062 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33063 <bp-checks.h>.
33064 (fchownat): Do not use CHECK_STRING.
33065 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33066 CHECK_STRING.
33067 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33068 <bp-checks.h>.
33069 (__lchown): Do not use CHECK_STRING.
33070 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33071 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33072 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33073 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33075 include <bp-checks.h>.
33076 (truncate64): Do not use CHECK_STRING.
33077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33078 <bp-checks.h>.
33079 (__real_chown): Do not use CHECK_STRING.
33080 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33081 <bp-checks.h>.
33082 (__lchown): Do not use CHECK_STRING.
33083 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33084 <bp-checks.h>.
33085 (__chown): Do not use CHECK_STRING.
33086 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33087 <bp-checks.h>.
33088 (truncate64): Do not use CHECK_STRING.
33089 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33090 Likewise.
33091 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33092 (__xmknod): Do not use CHECK_STRING.
33093 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33094 <bp-checks.h>.
33095 (__xmknodat): Do not use CHECK_STRING.
33096 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33097 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33098
330992013-02-04 Andreas Schwab <schwab@suse.de>
33100
33101 [BZ #14142]
33102 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33103 * include/netdb.h: Likewise for h_errno.
33104 * elf/tst-stackguard1.c: Include <tls.h>.
33105
331062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33107
33108 * elf/link.h (struct link_map): Extend the l_addr comment.
33109 * include/link.h (struct link_map): Likewise.
33110
331112013-02-01 Joseph Myers <joseph@codesourcery.com>
33112
33113 [BZ #13550]
33114 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33115 (BOUNDED_1): Remove macro.
33116 * debug/backtrace.c: Don't include <bp-checks.h>.
33117 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33118 (__backtrace): Likewise.
33119 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33120 <bp-checks.h>.
33121 (__backtrace): Don't use BOUNDED_1.
33122 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33123 <bp-checks.h>.
33124 (__backtrace): Don't use BOUNDED_1.
33125 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33126 (__backtrace): Don't use BOUNDED_1.
33127 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33128 (shmat): Don't use BOUNDED_N.
33129
331302013-01-31 Joseph Myers <joseph@codesourcery.com>
33131
33132 [BZ #13550]
33133 * sysdeps/generic/bp-start.h: Remove file.
33134 * csu/libc-start.c: Don't include <bp-start.h>.
33135 (LIBC_START_MAIN): Set up __environ directly instead of using
33136 INIT_ARGV_and_ENVIRON.
33137 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33138 <bp-start.h>.
33139
33140 [BZ #13550]
33141 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33142 definitions.
33143 (CHECK_FCNTL): Likewise.
33144 (CHECK_N_PAGES): Likewise.
33145
33146 [BZ #13550]
33147 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33148 definitions.
33149 (CHECK_SIGSET_NULL_OK): Likewise.
33150 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33151 <bp-checks.h>.
33152 (sigpending): Don't use CHECK_SIGSET.
33153 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33154 <bp-checks.h>.
33155 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33156 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33157 <bp-checks.h>.
33158 (do_sigsuspend): Don't use CHECK_SIGSET.
33159 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33160 use CHECK_SIGSET.
33161 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33162 (do_sigwait): Don't use CHECK_SIGSET.
33163 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33164 use CHECK_SIGSET.
33165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33166 include <bp-checks.h>.
33167 (sigpending): Don't use CHECK_SIGSET.
33168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33169 include <bp-checks.h>.
33170 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33171 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33172 <bp-checks.h>.
33173 (sigpending): Don't use CHECK_SIGSET.
33174 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33175 <bp-checks.h>.
33176 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33177
33178 [BZ #13550]
33179 * sysdeps/generic/bp-semctl.h: Remove file.
33180 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33181 <bp-checks.h> and <bp-semctl.h>.
33182 (__old_semctl): Don't use CHECK_SEMCTL.
33183 (__new_semctl): Likewise.
33184 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33185 and <bp-semctl.h>.
33186 (__old_semctl): Don't use CHECK_SEMCTL.
33187 (__new_semctl): Likewise.
33188 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33189 <bp-checks.h> and <bp-semctl.h>.
33190 (__old_semctl): Don't use CHECK_SEMCTL.
33191 (__new_semctl): Likewise.
33192 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33193 <bp-checks.h> and <bp-semctl.h>.
33194 (semctl): Don't use CHECK_SEMCTL.
33195
33196 [BZ #13550]
33197 * Makerules (elide-bp-thunks): Remove variable.
33198 (elide-routines.oS): Don't use $(elide-bp-thunks).
33199 (elide-routines.os): Likewise.
33200 (elide-routines.o): Likewise.
33201 (elide-routines.op): Likewise.
33202 (elide-routines.og): Likewise.
33203 (objects): Don't use $(bp-thunks).
33204 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33205 include.
33206 (common-generated): Do not add s-proto-bp.d.
33207 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33208 (int): Likewise.
33209 (typ): Likewise.
33210 Do not generate makefile rules for bounded-pointer thunks.
33211 * sysdeps/generic/bp-thunks.h: Remove file.
33212 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33213 * sysdeps/unix/s-proto-bp.S: Likewise.
33214
33215 [BZ #15062]
33216 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33217 parts of result separately when argument is not close to line from
33218 -i to i and one part of argument is small.
33219 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33220 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33221 * math/libm-test.inc (cacos_test): Add more tests.
33222 (casin_test): Likewise.
33223 (casinh_test): Likewise.
33224 * sysdeps/i386/fpu/libm-test-ulps: Update.
33225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33226
332272013-01-31 David S. Miller <davem@davemloft.net>
33228
33229 * po/de.po: Update from translation team.
33230
332312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33232
33233 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33234
332352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33236
33237 * configure.in (_AC_PROG_CC_C89): New definition.
33238 * configure: Regenerate.
33239
33240 * configure.in (AC_PROG_CPP): New definition.
33241 * configure: Regenerate.
33242
332432013-01-23 Joseph Myers <joseph@codesourcery.com>
33244
33245 * debug/tst-backtrace.h: New file.
33246 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33247 (ret): Remove variable.
33248 (x): Likewise.
33249 (FAIL): Remove macro.
33250 (NO_INLINE): Likewise.
33251 (fn1): Use match function instead of strstr.
33252 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33253 (ret): Remove variable.
33254 (x): Likewise.
33255 (FAIL): Remove macro.
33256 (NO_INLINE): Likewise.
33257 (fn): Use match function instead of strstr.
33258 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33259 (ret): Remove variable.
33260 (x): Likewise.
33261 (FAIL): Remove macro.
33262 (NO_INLINE): Likewise.
33263 (handle_signal): Use match function instead of strstr.
33264 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33265 (ret): Remove variable.
33266 (x): Likewise.
33267 (FAIL): Remove macro.
33268 (NO_INLINE): Likewise.
33269 (handle_signal): Use match function instead of strstr.
33270
332712013-01-23 Roland McGrath <roland@hack.frob.com>
33272
33273 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33274
332752013-01-23 David S. Miller <davem@davemloft.net>
33276
33277 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33278 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33279 argument of CAS if possible.
33280 * sysdeps/sparc/sparc64/bits/atomic.h
33281 (__arch_compare_and_exchange_val_32_acq): Likewise.
33282 (__arch_compare_and_exchange_val_64_acq): Likewise.
33283
332842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33285
33286 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33287 * sysdeps/posix/ulimit.c: ... this.
33288 Include <limits.h>.
33289 * sysdeps/unix/bsd/ulimit.c: Remove file.
33290
332912013-01-23 Adam Conrad <adconrad@0c3.net>
33292
33293 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33294 (LDFLAGS-tst-array5): Likewise.
33295
332962013-01-23 Joseph Myers <joseph@codesourcery.com>
33297
33298 [BZ #15036]
33299 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33300 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33301 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33302 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33303
333042013-01-21 David S. Miller <davem@davemloft.net>
33305
33306 * sysdeps/sparc/backtrace.c: New file.
33307 * sysdeps/sparc/sparc32/backtrace.h: New file.
33308 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33309 * sysdeps/sparc/sparc64/backtrace.h: New file.
33310 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33311 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33312 -funwind-tables.
33313
333142013-01-21 Andreas Schwab <schwab@suse.de>
33315
33316 [BZ #15020]
33317 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33318 closed its stdout.
33319
333202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33321
33322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33323 "mpa2.h".
33324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33325
333262013-01-18 Joseph Myers <joseph@codesourcery.com>
33327 Mark Mitchell <mark@codesourcery.com>
33328 Tom de Vries <tom@codesourcery.com>
33329 Paul Pluzhnikov <ppluzhnikov@google.com>
33330
33331 * debug/tst-backtrace2.c: New file.
33332 * debug/tst-backtrace3.c: Likewise.
33333 * debug/tst-backtrace4.c: Likewise.
33334 * debug/tst-backtrace5.c: Likewise.
33335 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33336 (CFLAGS-tst-backtrace3.c): Likewise.
33337 (CFLAGS-tst-backtrace4.c): Likewise.
33338 (CFLAGS-tst-backtrace5.c): Likewise.
33339 (LDFLAGS-tst-backtrace2): Likewise.
33340 (LDFLAGS-tst-backtrace3): Likewise.
33341 (LDFLAGS-tst-backtrace4): Likewise.
33342 (LDFLAGS-tst-backtrace5): Likewise.
33343 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33344 tst-backtrace4 and tst-backtrace5.
33345
333462013-01-18 Anton Blanchard <anton@samba.org>
33347 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33348
33349 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33350 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33351 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33352 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33354 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33355 "+r" and remove output regs list as redundant. Add explicit inline
33356 asm to specify register of return val to work around compiler codegen
33357 bug. Remove (int) cast on return value. Add return type parameter to
33358 use in macro so that this macro does not truncate return value for
33359 64-bit values.
33360 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33361 pass to INTERNAL_VSYSCALL_NCS.
33362 (INLINE_VSYSCALL): Add 'long int' as return type to
33363 INTERNAL_VSYSCALL_NCS macro invocation.
33364 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33365 INTERNAL_VSYSCALL_NCS macro invocation.
33366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33367
333682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33369
33370 [BZ #14496]
33371 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33372 Fix application of SIMD FP exception mask.
33373
33374 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33375 mp_no from a power of two.
33376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33377 __mpexp_twomm1. Use __pow_mp.
33378
33379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33380 multiplication.
33381
333822013-01-17 David S. Miller <davem@davemloft.net>
33383
33384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33385
333862013-01-17 Joseph Myers <joseph@codesourcery.com>
33387
33388 [BZ #15023]
33389 * include/complex.h: Condition contents on [!_COMPLEX_H].
33390 (__kernel_casinhf): New prototype.
33391 (__kernel_casinh): Likewise.
33392 (__kernel_casinhl): Likewise.
33393 * math/Makefile (libm_calls): Add k_casinh.
33394 * math/k_casinh.c: New file.
33395 * math/k_casinhf.c: Likewise.
33396 * math/k_casinhl.c: Likewise.
33397 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33398 finite nonzero arguments.
33399 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33400 finite nonzero arguments.
33401 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33402 finite nonzero arguments.
33403 * math/s_casinh.c: Do not include <float.h>.
33404 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33405 * math/s_casinhf.c: Do not include <float.h>.
33406 (__casinhf): Move code for finite nonzero arguments to
33407 k_casinhf.c.
33408 * math/s_casinhl.c: Do not include <float.h>.
33409 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33410 redefine.
33411 (__casinhl): Move code for finite nonzero arguments to
33412 k_casinhl.c.
33413 * math/libm-test.inc (cacos_test): Add more tests.
33414 * sysdeps/i386/fpu/libm-test-ulps: Update.
33415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33416
334172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33418
33419 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33420 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33421 [!HAVE_MREMAP]: Remove [defined linux] case.
33422 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33423
334242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33425
33426 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33427
334282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33429
33430 * elf/elf.h (R_386_SIZE32): New relocation.
33431 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33432 R_386_SIZE32.
33433 (elf_machine_rela): Likewise.
33434 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33435 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33436
334372013-01-17 Joseph Myers <joseph@codesourcery.com>
33438
33439 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33440 (FP_FAST_FMA): Do not define.
33441 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33442 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33443 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33444 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33445 !_SOFT_FLOAT]: Likewise.
33446 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33447 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33448 value.
33449 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33450 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33451 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33452 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33453 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33454 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33455 file.
33456
334572013-01-16 Andreas Schwab <schwab@suse.de>
33458
33459 [BZ #14327]
33460 * include/stdlib.h (__mktemp): Add declaration.
33461 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33462 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33463
334642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33465
33466 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33467 definitions.
33468 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33469 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33470 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33471 definitions here.
33472 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33473 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33474 definitions.
33475 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33476 and ONE.
33477 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33478 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33479 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33480 definitions.
33481 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33482 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33483 definitions.
33484 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33485
33486 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33487
334882013-01-15 David S. Miller <davem@davemloft.net>
33489
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33491 trunc{,f} to libm-sysdep_routes.
33492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33494 file.
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33497 file.
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33499 file.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33508
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33510 nearbyint{,f} to libm-sysdep_routes.
33511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33513 New file.
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33515 file.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33517 New file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33519 file.
33520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33523 file.
33524 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33526 file.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33528 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33529 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33530
33531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33532 libc_feholdexcept and libc_fesetenv.
33533
335342013-01-15 Mike Frysinger <vapier@gentoo.org>
33535
33536 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33537
335382013-01-14 David S. Miller <davem@davemloft.net>
33539
33540 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33541 (SPARC_ASM_VIS2_IFUNC): Likewise.
33542 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33544 use of 'siam' instruction.
33545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33546 Likewise.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33548 Likewise.
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33550 Likewise.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33556 file.
33557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33558 file.
33559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33560 file.
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33562 file.
33563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33568 new VIS2 routines.
33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33572 Likewise.
33573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33578 routines to libm-sysdep_routines.
33579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33580
33581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33582 fdim/fdimf to libm-sysdep_routines.
33583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33584 file.
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33587 file.
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33591 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33592 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33593 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33594 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33595
335962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33597
33598 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33599 to optimize copies.
33600
33601 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33604
33605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33606 local variable MPTWO.
33607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33608 Likewise.
33609
336102013-01-13 Mike Frysinger <vapier@gentoo.org>
33611
33612 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33613 GLOB_NOESCAPE.
33614
336152013-01-13 Mike Frysinger <vapier@gentoo.org>
33616
33617 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33618
336192013-01-13 Mike Frysinger <vapier@gentoo.org>
33620
33621 * manual/pattern.texi (glob_t): Document gl_flags.
33622 (glob64_t): Likewise.
33623
336242013-01-11 David S. Miller <davem@davemloft.net>
33625
33626 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33627 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33628 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33629 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33630 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33631 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33632 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33633 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33634 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33635 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33636 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33637 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33638 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33639
33640 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33641 sparc V9 rather than using V8 code.
33642 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33643 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33644
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33646 Move to...
33647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33648 Here.
33649
336502013-01-11 Roland McGrath <roland@hack.frob.com>
33651
33652 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33653 not in the main loop.
33654 * configure: Regenerated.
33655
336562013-01-11 Joseph Myers <joseph@codesourcery.com>
33657
33658 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33659 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33660 to just #else.
33661 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33662 [!__GLIBC_HAVE_LONG_LONG] case.
33663 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33664 condition to just #else.
33665 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33666 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33667 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33668 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33669 unconditional.
33670 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33671 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33672 #elif condition to just #else.
33673 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33674 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33675 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33676 #elif condition to just #else.
33677
336782013-01-11 Steve Ellcey <sellcey@mips.com>
33679
33680 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33681 (EF_MIPS_ARCH_64): Fix value.
33682 (EF_MIPS_ARCH_32R2): New.
33683 (EF_MIPS_ARCH_64R2): New.
33684
336852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33686
33687 * Makeconfig (+link-pie-before-libc): New.
33688 (+link-pie-after-libc): Likewise.
33689 (+link-pie-tests): Likewise.
33690 (+link-pie): Rewritten.
33691 (link-before-libc): Remove $(config-LDFLAGS).
33692 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33693 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33694 (config-LDFLAGS): Renamed to ...
33695 (rtld-LDFLAGS): This.
33696 (rtld-tests-LDFLAGS): New macro.
33697 (link-libc-rpath-link): Likewise.
33698 (link-libc-tests-rpath-link): Likewise.
33699 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33700 (link-libc): Prepand $(link-libc-rpath-link).
33701 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33702 (test-program-prefix): New macro.
33703 (test-via-rtld-prefix): Likewise.
33704 (test-program-cmd): Likewise.
33705 (host-test-program-cmd): Likewise.
33706 * Makefile ($(common-objpfx)testrun.sh): Replace
33707 $(run-program-prefix) with $(test-program-prefix).
33708 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33709 $(rtld-LDFLAGS).
33710 ($(common-objpfx)shlib.lds): Likewise.
33711 (build-module-helper): Likewise.
33712 ($(common-objpfx)format.lds): Likewise.
33713 * Rules (binaries-pie-tests): New.
33714 (binaries-pie-notests): Likewise.
33715 (binaries-pie): Rewritten.
33716 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33717 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33718 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33719 (make-test-out): Replace $(host-built-program-cmd) with
33720 $(host-test-program-cmd).
33721 * config.make.in (build-hardcoded-path-in-tests): New variable.
33722 * configure.in (--enable-hardcoded-path-in-tests): New configure
33723 option.
33724 (hardcoded_path_in_tests): New AC_SUBST.
33725 * configure: Regenerated.
33726 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33727 $(built-program-cmd) with $(test-program-cmd).
33728 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33729 (test_program_cmd): This.
33730 * elf/Makefile ($(objpfx)order.out): Run test with
33731 $(test-program-prefix).
33732 ($(objpfx)order2.out): Likewise.
33733 ($(objpfx)tst-initorder.out): Likewise.
33734 ($(objpfx)tst-initorder2.out): Likewise.
33735 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33736 $(test-program-cmd).
33737 ($(objpfx)tst-array1-static.out): Likewise.
33738 ($(objpfx)tst-array2.out): Likewise.
33739 ($(objpfx)tst-array3.out): Likewise.
33740 ($(objpfx)tst-array4.out): Likewise.
33741 ($(objpfx)tst-array5.out): Likewise.
33742 ($(objpfx)tst-array5-static.out): Likewise.
33743 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33744 $(test-program-cmd).
33745 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33746 $(run-program-prefix) with $(test-program-prefix).
33747 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33748 (test_program_prefix): This.
33749 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33750 $(run-program-prefix) with $(test-program-prefix).
33751 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33752 (test_program_prefix): This.
33753 * iconvdata/tst-tables.sh: Likewise.
33754 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33755 $(run-program-prefix) with $(test-program-prefix).
33756 ($(objpfx)tst-translit.out): Likewise.
33757 ($(objpfx)tst-gettext2.out): Likewise.
33758 ($(objpfx)tst-gettext4.out): Likewise.
33759 ($(objpfx)tst-gettext6.out): Likewise.
33760 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33761 (test_program_prefix): This.
33762 * intl/tst-gettext2.sh: Likewise.
33763 * intl/tst-gettext4.sh Likewise.
33764 * intl/tst-gettext6.sh: Likewise.
33765 * intl/tst-translit.sh: Likewise.
33766 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33767 with $(test-program-cmd).
33768 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33769 $(run-program-prefix) with $(test-program-prefix).
33770 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33771 (test_program_prefix): This.
33772 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33773 $(run-program-prefix) with $(test-program-prefix).
33774 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33775 (test_program_prefix): This.
33776 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33777 * posix/Makefile ($(objpfx)globtest.out): Replace
33778 $(run-via-rtld-prefix) and $(test-wrapper) with
33779 $(test-program-prefix) and $(test-via-rtld-prefix).
33780 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33781 $(test-program-prefix).
33782 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33783 $(host-test-program-cmd).
33784 (tst-spawn-ARGS): Likewise.
33785 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33786 $(test-program-prefix).
33787 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33788 (test_via_rtld_prefix): This.
33789 (test_wrapper): Renamed to ...
33790 (test_program_prefix): This.
33791 (run_program_prefix): Replaced by test_program_prefix.
33792 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33793 (test_program_prefix): This.
33794 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33795 with $(host-test-program-cmd).
33796 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33797 $(run-program-prefix) with $(test-program-prefix).
33798 ($(objpfx)tst-printf.out): Likewise.
33799 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33800 $(test-program-cmd).
33801 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33802 (test_program_prefix): This.
33803 * stdio-common/tst-unbputc.sh: Likewise.
33804 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33805 $(run-program-prefix) with $(test-program-prefix).
33806 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33807 (test_program_prefix): This.
33808 * string/Makefile ($(objpfx)tst-svc.out): Replace
33809 $(built-program-cmd) with $(test-program-cmd).
33810
338112013-01-11 Andreas Jaeger <aj@suse.de>
33812
33813 [BZ #15003]
33814 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33815 value. Sync with Linux 3.7.
33816
338172013-01-10 David S. Miller <davem@davemloft.net>
33818
33819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33820 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33821 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33822
338232013-01-10 Roland McGrath <roland@hack.frob.com>
33824
33825 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33826 never set.
33827 * configure: Regenerated.
33828
338292013-01-10 David S. Miller <davem@davemloft.net>
33830
33831 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33832 sparc V9 rather than using V8 code.
33833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33835
338362013-01-10 Roland McGrath <roland@hack.frob.com>
33837
33838 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33839 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33840 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33841 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33842 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33843 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33844 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33845 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33846 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33847 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33848 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33849 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33850 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33851 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33852 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33853 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33854 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33855 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33856 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33857 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33858 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33859 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33860 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33861 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33862 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33863 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33864 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33865
338662013-01-10 David S. Miller <davem@davemloft.net>
33867
33868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33869
338702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33871
33872 * posix/Makefile (tests-static): New variable.
33873 (tests): Add $(tests-static).
33874 (tst-exec-static-ARGS): New variable.
33875 (tst-spawn-static-ARGS): Likewise.
33876 * posix/tst-exec-static.c: New file.
33877 * posix/tst-spawn-static.c: Likewise.
33878 * posix/tst-exec.c: Support run directly.
33879 * posix/tst-spawn.c: Likewise.
33880
338812013-01-10 Joseph Myers <joseph@codesourcery.com>
33882
33883 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33884 long.
33885 * math/bits/mathcalls.h (llrint): Likewise.
33886 (llround): Likewise.
33887 * stdlib/stdlib.h (struct drand48_data): Likewise.
33888 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33889 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33890 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33891 Likewise.
33892 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33893 Likewise.
33894 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33895 (elf_greg_t): Likewise.
33896 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33897 (__jmp_buf): Likewise.
33898 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33899 definitions.
33900 (llrint): Likewise, for all definitions.
33901 (llrintl): Likewise.
33902
33903 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33904 Remove [__GNUC__] condition.
33905 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33906 condition to just [__USE_ISOC99].
33907 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33908
339092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33910
33911 [BZ #14200]
33912 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33913 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33914 defined.
33915 (_POSIX_V6_ILP32_OFF32): Likewise.
33916 (_XBS5_ILP32_OFF32): Likewise.
33917 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33918 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33919
339202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33921
33922 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33923
33924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33925 doubles __mpexp_twomm1. Adjust usage.
33926 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33927 Remove.
33928
339292013-01-10 Andreas Schwab <schwab@suse.de>
33930
33931 [BZ #14964]
33932 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33933 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33934
339352013-01-09 David S. Miller <davem@davemloft.net>
33936
33937 [BZ #15003]
33938 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33939 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33940 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33941 (TCP_FASTOPEN): Define.
33942 (tcp_repair_opt): New structure.
33943 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33944 enum values.
33945 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33946 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33947 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33948 (tcp_cookie_transactions): New structure.
33949
339502013-01-09 Anton Blanchard <anton@samba.org>
33951
33952 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33953 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33954 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33955 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33956
339572013-01-09 Joseph Myers <joseph@codesourcery.com>
33958
33959 * include/features.h (__USE_ANSI): Remove.
33960
339612013-01-09 Roland McGrath <roland@hack.frob.com>
33962
33963 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33964
33965 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33966
339672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33968
33969 * sysdeps/s390/fpu/libm-test-ulps: Update.
33970
33971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33972
33973 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33974 (__acr): Likewise.
33975 (__cpy): Likewise.
33976 (norm): Likewise.
33977 (denorm): Likewise.
33978 (__mp_dbl): Likewise.
33979 (__dbl_mp): Likewise.
33980 (add_magnitudes): Likewise.
33981 (sub_magnitudes): Likewise.
33982 (__add): Likewise.
33983 (__sub): Likewise.
33984 (__mul): Likewise.
33985 (__inv): Likewise.
33986 (__dvd): Likewise.
33987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33988 (__acr): Likewise.
33989 (__cpy): Likewise.
33990 (norm): Likewise.
33991 (denorm): Likewise.
33992 (__mp_dbl): Likewise.
33993 (__dbl_mp): Likewise.
33994 (add_magnitudes): Likewise.
33995 (sub_magnitudes): Likewise.
33996 (__add): Likewise.
33997 (__sub): Likewise.
33998 (__mul): Likewise.
33999 (__inv): Likewise.
34000 (__dvd): Likewise.
34001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34002 (__acr): Likewise.
34003 (__cpy): Likewise.
34004 (norm): Likewise.
34005 (denorm): Likewise.
34006 (__mp_dbl): Likewise.
34007 (__dbl_mp): Likewise.
34008 (add_magnitudes): Likewise.
34009 (sub_magnitudes): Likewise.
34010 (__add): Likewise.
34011 (__sub): Likewise.
34012 (__mul): Likewise.
34013 (__inv): Likewise.
34014 (__dvd): Likewise.
34015
340162013-01-08 Joseph Myers <joseph@codesourcery.com>
34017
34018 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34019 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34020 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34021 2 && __USE_EXTERN_INLINES]: Likewise.
34022
340232013-01-08 Andreas Jaeger <aj@suse.de>
34024
34025 [BZ# 14985]
34026 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34027 Remove.
34028 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34029 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34030
340312013-01-07 Anton Blanchard <anton@samba.org>
34032
34033 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34034 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34035 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34036 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34037 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34038 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34039 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34040 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34042 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34044 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34045 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34047 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34048 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34049 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34051 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34052 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34053 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34054 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34056 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34057 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34058 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34059 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34060 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34062 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34063 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34066 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34067 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34068 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34069 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34070 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34071 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34072 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34073 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34075 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34076
340772013-01-07 Joseph Myers <joseph@codesourcery.com>
34078
34079 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34080 (__MALLOC_PMT): Likewise.
34081 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34082 [__GNUC__], only on [_LIBC].
34083 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34084 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34085 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34086 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34087 forward declaration.
34088 (realloc_hook_ini): Likewise.
34089 (memalign_hook_ini): Likewise.
34090 (__libc_memalign): Do not use __MALLOC_PMT in variable
34091 declaration.
34092 (__libc_valloc): Likewise.
34093 (__libc_pvalloc): Likewise.
34094 (__libc_calloc): Likewise.
34095 (__posix_memalign): Likewise.
34096
34097 [BZ #14996]
34098 * math/s_casinh.c: Include <float.h>.
34099 (__casinh): Do not do computation with squaring and square root
34100 for large arguments.
34101 * math/s_casinhf.c: Include <float.h>.
34102 (__casinhf): Do not do computation with squaring and square root
34103 for large arguments.
34104 * math/s_casinhl.c: Include <float.h>.
34105 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34106 (__casinhl): Do not do computation with squaring and square root
34107 for large arguments.
34108 * math/libm-test.inc (casin_test): Add more tests.
34109 (casinh_test): Likewise.
34110 * sysdeps/i386/fpu/libm-test-ulps: Update.
34111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34112
341132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34114
34115 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34116 (__x86_64_raw_data_cache_size): Likewise.
34117 (__x86_64_data_cache_size_half): Likewise.
34118 (__x86_64_raw_data_cache_size_half): Likewise.
34119 (__x86_64_shared_cache_size): Likewise.
34120 (__x86_64_raw_shared_cache_size): Likewise.
34121 (__x86_64_shared_cache_size_half): Likewise.
34122 (__x86_64_raw_shared_cache_size_half): Likewise.
34123 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34124 to ...
34125 (__x86_data_cache_size): This.
34126 (__x86_64_raw_data_cache_size): Renamed to ...
34127 (__x86_raw_data_cache_size): This.
34128 (__x86_64_data_cache_size_half): Renamed to ...
34129 (__x86_data_cache_size_half): This.
34130 (__x86_64_raw_data_cache_size_half): Renamed to ...
34131 (__x86_raw_data_cache_size_half): This.
34132 (__x86_64_shared_cache_size): Renamed to ...
34133 (__x86_shared_cache_size): This.
34134 (__x86_64_raw_shared_cache_size): Renamed to ...
34135 (__x86_raw_shared_cache_size): This.
34136 (__x86_64_shared_cache_size_half): Renamed to ...
34137 (__x86_shared_cache_size_half): This.
34138 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34139 (__x86_raw_shared_cache_size_half): This.
34140 * sysdeps/x86_64/memcpy.S: Updated.
34141 * sysdeps/x86_64/memset.S: Likewise.
34142 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34145
341462013-01-04 David S. Miller <davem@davemloft.net>
34147
34148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34149
341502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34151
34152 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34153 1 to avoid redefinition warning.
34154 (__USE_GNU): Don't define.
34155 (init_signaling_nan): Protoize.
34156
34157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34158
341592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34160
34161 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34163 (__cpymn): Likewise.
34164 (norm): Remove commented code.
34165 (denorm): Likewise.
34166 (__mp_dbl): Likewise.
34167 (__inv): Likewise.
34168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34169 (__cpymn): Likewise.
34170 (norm): Remove commented code.
34171 (denorm): Likewise.
34172 (__mp_dbl): Likewise.
34173 (__inv): Likewise.
34174
34175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34176 mp_no value for 1.0 and 2.0.
34177 (norm): Use RADIXI instead of radixi.d.
34178 (denorm): Likewise.
34179 (__mul): Use 0.0 instead of zero.d.
34180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34181 mp_no value for 1.0 and 2.0.
34182 (norm): Use RADIXI instead of radixi.d.
34183 (denorm): Likewise.
34184 (__mul): Use 0.0 instead of zero.d.
34185
341862013-01-04 Joseph Myers <joseph@codesourcery.com>
34187
34188 [BZ #14994]
34189 * math/s_casinh.c (__casinh): Reduce finite argument to first
34190 quadrant then set signs of results at the end.
34191 * math/s_casinhf.c (__casinhf): Likewise.
34192 * math/s_casinhl.c (__casinhl): Likewise.
34193 * math/libm-test.inc (casin_test): Add more tests.
34194 (casinh_test): Likewise.
34195 * sysdeps/i386/fpu/libm-test-ulps: Update.
34196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34197
341982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34199
34200 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34201
34202 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34203
34204 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34205 declarations.
34206 (denorm): Likewise.
34207 (__mp_dbl): Likewise.
34208 (__inv): Likewise.
34209
34210 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34211 and adjust the header comment.
34212
34213 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34214 variable name from declaration.
34215
342162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34217
34218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34219 Initialize COMMON_CPUID_INDEX_7 element.
34220 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34221 (CPUID_RTM): Likewise.
34222 (HAS_RTM): Likewise.
34223 (COMMON_CPUID_INDEX_7): New enum.
34224
342252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34226
34227 [BZ #14981]
34228 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34229 size is zero, record memory as freed.
34230
342312013-01-03 Andreas Jaeger <aj@suse.de>
34232
34233 * po/ia.po: Add new Interlingua translation.
34234
342352012-01-03 Allan McRae <allan@archlinux.org>
34236
34237 * locale/programs/localedef.c: Fix description of '--posix' flag.
34238
342392013-01-02 Joseph Myers <joseph@codesourcery.com>
34240
34241 * NEWS: Update dates in second copyright notice.
34242 * README: Update copyright dates in example.
34243 * manual/libc.texinfo: Update copyright dates.
34244 * scripts/test-installation.pl: Update copyright date in --version
34245 output.
34246
34247 * hurd/ctty-input.c: Fix copyright notice formatting.
34248 * hurd/ctty-output.c: Likewise.
34249 * hurd/dtable.c: Likewise.
34250 * hurd/hurd-raise.c: Likewise.
34251 * hurd/hurdprio.c: Likewise.
34252 * hurd/msgportdemux.c: Likewise.
34253 * misc/sys/file.h: Likewise.
34254 * misc/sys/ioctl.h: Likewise.
34255 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34256 * sysdeps/mach/hurd/chdir.c: Likewise.
34257 * sysdeps/mach/hurd/fchdir.c: Likewise.
34258 * sysdeps/mach/hurd/rename.c: Likewise.
34259 * sysdeps/mach/hurd/rmdir.c: Likewise.
34260 * sysdeps/mach/hurd/seekdir.c: Likewise.
34261 * sysdeps/mach/hurd/setsid.c: Likewise.
34262 * sysdeps/posix/wait3.c: Likewise.
34263
34264 * All files with FSF copyright notices: Update copyright dates
34265 using scripts/update-copyrights.
34266 * intl/plural.c: Regenerated.
34267 * locale/programs/charmap-kw.h: Likewise.
34268 * locale/programs/locfile-kw.h: Likewise.
34269
342702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34271
34272 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34273 four values.
34274
34275 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34276 calculation loop and add branch prediction.
34277
34278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34279 check access beyond bounds of m1np.
34280
34281 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34282 MPTWO.
34283 (__inv): Remove local variable MPTWO to use the global
34284 constant.
34285 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34286 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34287 variable MPTWO.
34288 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34289 MP3HALFS static const.
34290
342912013-01-01 David S. Miller <davem@davemloft.net>
34292
34293 * po/ca.po: Update from translation team.
34294
342952013-01-01 Joseph Myers <joseph@codesourcery.com>
34296
34297 * scripts/update-copyrights: New file.
34298 * Makeconfig: Reformat copyright notice.
34299 * ctype/ctype.h: Likewise.
34300 * debug/swprintf_chk.c: Likewise.
34301 * elf/dl-cache.c: Likewise.
34302 * elf/dl-debug.c: Likewise.
34303 * elf/dl-object.c: Likewise.
34304 * grp/initgroups.c: Likewise.
34305 * hurd/Makefile: Likewise.
34306 * hurd/hurd/signal.h: Likewise.
34307 * hurd/hurdfault.c: Likewise.
34308 * hurd/hurdioctl.c: Likewise.
34309 * hurd/hurdlookup.c: Likewise.
34310 * hurd/intr-msg.c: Likewise.
34311 * iconv/gconv_open.c: Likewise.
34312 * libio/swprintf.c: Likewise.
34313 * locale/lc-ctype.c: Likewise.
34314 * locale/nl_langinfo.c: Likewise.
34315 * mach/Machrules: Likewise.
34316 * mach/Makefile: Likewise.
34317 * malloc/obstack.h: Likewise.
34318 * manual/Makefile: Likewise.
34319 * manual/tsort.awk: Likewise.
34320 * misc/bits/stab.def: Likewise.
34321 * nis/nis_print_group_entry.c: Likewise.
34322 * nis/nis_table.c: Likewise.
34323 * nis/nss_compat/compat-pwd.c: Likewise.
34324 * nis/nss_compat/compat-spwd.c: Likewise.
34325 * po/Makefile: Likewise.
34326 * posix/fnmatch.c: Likewise.
34327 * posix/regex.h: Likewise.
34328 * resolv/Makefile: Likewise.
34329 * resolv/nss_dns/dns-network.c: Likewise.
34330 * resolv/res_hconf.c: Likewise.
34331 * scripts/gen-sorted.awk: Likewise.
34332 * soft-fp/soft-fp.h: Likewise.
34333 * stdio-common/printf.h: Likewise.
34334 * stdlib/monetary.h: Likewise.
34335 * stdlib/random.c: Likewise.
34336 * stdlib/random_r.c: Likewise.
34337 * sysdeps/generic/Makefile: Likewise.
34338 * sysdeps/gnu/Makefile: Likewise.
34339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34346 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34348 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34349 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34350 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34351 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34352 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34353 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34355 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34359 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34360 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34361 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34362 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34363 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34365 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34366 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34367 * sysdeps/mach/hurd/errnos.awk: Likewise.
34368 * sysdeps/mach/hurd/fork.c: Likewise.
34369 * sysdeps/mach/hurd/getcwd.c: Likewise.
34370 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34371 * sysdeps/mach/hurd/mmap.c: Likewise.
34372 * sysdeps/mach/hurd/utimes.c: Likewise.
34373 * sysdeps/mach/hurd/xmknod.c: Likewise.
34374 * sysdeps/posix/profil.c: Likewise.
34375 * sysdeps/posix/readdir_r.c: Likewise.
34376 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34377 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34378 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34379 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34381 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34382 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34383 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34385 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34386 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34387 * sysdeps/pthread/lio_listio.c: Likewise.
34388 * sysdeps/sparc/dl-procinfo.h: Likewise.
34389 * sysdeps/unix/i386/sysdep.S: Likewise.
34390 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34391 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34392 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34393 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34395 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34396 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34397 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34398 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34399 * sysdeps/wordsize-32/divdi3.c: Likewise.
34400 * time/sys/time.h: Likewise.
34401 * wcsmbs/Makefile: Likewise.
34402
344032013-01-01 David S. Miller <davem@davemloft.net>
34404
34405 * po/fr.po: Update from translation team.
34406
34407 * catgets/gencat.c: Update copyright year.
34408 * csu/version.c: Likewise.
34409 * debug/catchsegv.sh: Likewise.
34410 * debug/pcprofiledump.c: Likewise.
34411 * debug/xtrace.sh: Likewise.
34412 * elf/ldconfig.c: Likewise.
34413 * elf/ldd.bash.in: Likewise.
34414 * elf/pldd.c: Likewise.
34415 * elf/sotruss.ksh: Likewise.
34416 * elf/sprof.c: Likewise.
34417 * iconv/iconv_prog.c: Likewise.
34418 * iconv/iconvconfig.c: Likewise.
34419 * locale/programs/locale.c: Likewise.
34420 * locale/programs/localedef.c: Likewise.
34421 * login/programs/pt_chown.c: Likewise.
34422 * malloc/memusage.sh: Likewise.
34423 * malloc/memusagestat.c: Likewise.
34424 * malloc/mtrace.pl: Likewise.
34425 * nscd/nscd.c: Likewise.
34426 * nss/getent.c: Likewise.
34427 * nss/makedb.c: Likewise.
34428 * posix/getconf.c: Likewise.
34429
344302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34431
34432 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34433 numbers.
34434
344352012-12-30 Mike Frysinger <vapier@gentoo.org>
34436
34437 * math/bits/mathcalls.h (modf): Use __nonnull.
34438
344392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34440
34441 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34442 (split): Use macro CN instead of the bare value.
34443 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34444 could be used.
34445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34446 instead of the bare value.
34447 (power1): Likewise.
34448
344492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34450
34451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34452 __ATAN_TWOM.
34453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34454
34455 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34456 their values.
34457 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34458 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34459 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34460 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34461
344622012-12-28 Andreas Jaeger <aj@suse.de>
34463
34464 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34465 values are from Linux 3.7.
34466
34467 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34468 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34469
344702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34471
34472 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34473 TRUE case.
34474
34475 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34476 (norm): Likewise.
34477 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34478 variables with preprocessor constants.
34479 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34480 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34481 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34482
344832012-12-27 Bruno Haible <bruno@clisp.org>
34484
34485 [BZ #14317]
34486 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34487 only if needed.
34488
344892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34490
34491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34492 and use variable directly.
34493 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34494
34495 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34496 MPONE.
34497 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34499 variable MPONE.
34500 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34502 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34503 include directive. Remove local variable MPONE.
34504 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34505 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34507
345082012-12-25 David S. Miller <davem@davemloft.net>
34509
34510 * version.h (RELEASE): Set to "development".
34511 (VERSION): Set to "2.17.90".
34512 * NEWS: Add 2.18 section.
34513
345142012-12-21 David S. Miller <davem@davemloft.net>
34515
34516 * po/hr.po: Update from translation team.
34517
345182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34519
34520 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34521
345222012-12-19 Steve Ellcey <sellcey@mips.com>
34523
34524 * NEWS: Mention new memcpy for MIPS.
34525
345262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34527
34528 * manual/contrib.texi (Contributors): Spelling correction.
34529
345302012-12-15 David S. Miller <davem@davemloft.net>
34531
34532 * po/ru.po: Update from translation team.
34533
345342012-12-13 David S. Miller <davem@davemloft.net>
34535
34536 * NEWS: Mention IFUNC testsuite enhancements.
34537
34538 * po/pl.po: Update from translation team.
34539 * po/bg.po: Likewise.
34540
34541 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34542 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34543
345442012-12-11 David S. Miller <davem@davemloft.net>
34545
34546 * po/sv.po: Update from translation team.
34547
34548 * po/vi.po: Update from translation team.
34549
34550 * po/cs.po: Update from translation team.
34551
34552 * po/de.po: Update from translation team.
34553 * po/eo.po: Likewise.
34554 * po/nl.po: Likewise.
34555
345562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34557
34558 [BZ #14246]
34559 * manual/argp.texi (Argp Helper Functions): Move node to follow
34560 Argp Parsing State.
34561
34562 [BZ #14872]
34563 * manual/conf.texi (Limits on File System Capacity): Mention if
34564 terminating null is included in the max size.
34565
345662012-12-10 Andreas Jaeger <aj@suse.de>
34567
34568 * po/cs.po: Update from translation team.
34569
345702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34571
34572 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34573 void pointer and cast to uintptr_t.
34574 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34575 path.
34576 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34577 * sysdeps/s390/s390-64/memset.S: Likewise.
34578
345792012-12-08 Benno Schulenberg <bensberg@justemail.net>
34580
34581 [BZ #14833]
34582 * menual/message.texi (Message Translation): Fix typos.
34583 (Helper programs for gettext): Likewise.
34584
345852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34586
34587 [BZ #14898]
34588 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34589 Change to -1.
34590
345912012-12-07 David S. Miller <davem@davemloft.net>
34592
34593 * po/libc.pot: Update.
34594
345952012-12-07 Richard Henderson <rth@redhat.com>
34596
34597 [BZ #10114]
34598 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34599 normal/normal case to before the switch.
34600 (_FP_DIV): Likewise.
34601
346022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34603 Mike Frysinger <vapier@gentoo.org>
34604
34605 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34606 check for __NR_fadvise64_64.
34607
346082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34609
34610 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34611 0, not just to plain "0" as a statement.
34612 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34613 with cw.
34614
346152012-12-06 Joseph Myers <joseph@codesourcery.com>
34616
34617 * NEWS: Use sourceware.org in Bugzilla URL.
34618
346192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34620
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34622 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34623
34624 * stdio-common/tst-put-error.c (do_test): Add newline to the
34625 padded test to ensure flush.
34626
346272012-12-05 Jeff Law <law@redhat.com>
34628
34629 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34630
346312012-12-05 Joseph Myers <joseph@codesourcery.com>
34632
34633 * README: Don't refer to ports add-on as distributed separately.
34634 Mention AArch64 in list of systems supported in the ports add-on.
34635
34636 * LICENSES: Add more non-FSF copyright and license notices.
34637
34638 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34639 ((unused)).
34640
34641 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34642
34643 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34644 10000 as width of padded output.
34645
346462012-12-04 Joseph Myers <joseph@codesourcery.com>
34647
34648 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34649
34650 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34651 variable LX with __attribute__ ((unused)).
34652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34653 Likewise.
34654 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34656 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34657 with __attribute__ ((unused)).
34658
346592012-12-04 David S. Miller <davem@abraco.davemloft.net>
34660
34661 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34662
346632012-12-04 Joseph Myers <joseph@codesourcery.com>
34664
34665 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34666 (CFLAGS-nldbl-acos.c): New variable.
34667 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34668 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34669 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34670 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34671 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34672 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34673 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34674 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34675 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34676 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34677 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34678 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34679 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34680 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34681 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34682 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34683 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34684 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34685 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34686 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34687 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34688 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34689 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34690 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34691 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34692 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34693 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34694 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34695 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34696 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34697 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34698 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34699 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34700 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34701 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34702 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34703 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34704 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34705 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34706 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34707 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34708 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34709 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34710 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34711 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34712 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34713 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34714 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34715 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34716 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34717 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34718 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34719 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34720 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34721 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34722 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34723 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34724 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34725 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34726 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34727 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34728 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34729 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34730 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34731 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34732 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34733 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34734 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34735 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34736 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34737 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34738 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34739 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34740 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34741 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34742 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34743 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34744 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34745 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34746 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34747 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34748 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34749 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34750 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34751 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34752 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34753 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34754 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34755 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34756 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34757 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34758 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34759 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34760 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34761 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34762 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34763 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34764
34765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34766 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34767
34768 [BZ #14914]
34769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34770 whole low double instead of just low 47 bits when splitting values
34771 into two parts.
34772
347732012-12-03 Allan McRae <allan@archlinux.org>
34774
34775 * manual/stdio.texi (Predefined Printf Handlers): Remove
34776 @hsep and @vsep usage.
34777
347782012-12-03 Mike Frysinger <vapier@gentoo.org>
34779
34780 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34781 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34782
347832012-12-03 Jeff Law <law@redhat.com>
34784
34785 * time/sys/time.h (settimeofday): Do not mark TV argument
34786 as __nonnull.
34787
347882012-12-01 Mike Frysinger <vapier@gentoo.org>
34789
34790 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34791 when currently writing and seek to current position when not.
34792 * libio/Makefile (tests): Remove bug-fclose1.
34793 * libio/bug-fclose1.c: Delete.
34794
347952012-12-01 Joseph Myers <joseph@codesourcery.com>
34796
34797 * manual/arith.texi (feenableexcept): Fix typo.
34798 (fedisableexcept): Likewise.
34799
348002012-11-30 Roland McGrath <roland@hack.frob.com>
34801
34802 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34803 second, differently-typed declaration, rather than a cast.
34804
348052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34806
34807 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34808 * include/rpc/svc.h: ... here.
34809
348102012-11-30 Aurelien Jarno <aurel32@debian.org>
34811
34812 [BZ #13013]
34813 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34814 depending n and resplen2 to catch cases where answer
34815 equals answerp2.
34816
348172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34818
34819 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34820 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34821
348222012-11-29 Mike Frysinger <vapier@gentoo.org>
34823
34824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34825
348262012-11-29 Roland McGrath <roland@hack.frob.com>
34827
34828 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34829
348302012-11-28 Jeff Law <law@redhat.com>
34831
34832 [BZ #13761]
34833 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34834 dataset_temporary. Track alloca usage into alloca_used.
34835 If dataset is large allocate and release it via malloc/free.
34836
348372012-06-04 Florian Weimer <fweimer@redhat.com>
34838
34839 [BZ #14197]
34840 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34841
348422012-11-28 David S. Miller <davem@davemloft.net>
34843
34844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34845
348462012-11-28 Joseph Myers <joseph@codesourcery.com>
34847
34848 [BZ #14803]
34849 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34850 of pi/2 rounded to nearest to 64 bits.
34851 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34852 nearest to 64 bits.
34853 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34854 bits.
34855
348562012-11-28 Jeff Law <law@redhat.com>
34857 Martin Osvald <mosvald@redhat.com>
34858
34859 [BZ #14889]
34860 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34861 * sunrpc/svc.c: Include time.h.
34862 (__svc_accept_failed): New function.
34863 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34864 any reason other than EINTR, call __svc_accept_failed.
34865 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34866 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34867
348682012-11-28 Andreas Schwab <schwab@suse.de>
34869
34870 * scripts/abilist.awk: Also handle indirect functions in .opd
34871 section.
34872
348732012-11-28 Joseph Myers <joseph@codesourcery.com>
34874
34875 [BZ #13881]
34876 * sysdeps/x86/fpu/powl_helper.c: New file.
34877 * sysdeps/x86/fpu/Makefile: Likewise.
34878 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34879 (p3): New object.
34880 (__ieee754_powl): Use __powl_helper for finite arguments except
34881 integer exponents below 8.
34882 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34883 (p3): New object.
34884 (__ieee754_powl): Use __powl_helper for finite arguments except
34885 integer exponents below 8.
34886 * math/libm-test.inc (pow_test): Add more tests and enable some
34887 previously disabled tests.
34888 * sysdeps/i386/fpu/libm-test-ulps: Update.
34889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34890
348912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34892 Carlos O'Donell <carlos_odonell@mentor.com>
34893
34894 * nss/makedb.c (is_prime): Assert that input is odd and greater
34895 than 4. Note that fact in a comment too.
34896 (next_prime): Add 4 to input.
34897
348982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34899
34900 [BZ #11741]
34901 * libio/Makefile (tests): Add test case tst-fwrite-error.
34902 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34903 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34904 * libio/tst-fwrite-error.c: New test case.
34905
349062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34907
34908 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34909 before casting to void *.
34910 * include/libc-internal.h (__pointer_type): New macro.
34911 (__integer_if_pointer_type_sub): Likewise.
34912 (__integer_if_pointer_type): Likewise.
34913 (cast_to_integer): Likewise.
34914 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34915 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34916 before casting to atomic64_t.
34917 (atomic_exchange_acq): Likewise.
34918 (__arch_exchange_and_add_body): Likewise.
34919 (__arch_add_body): Likewise.
34920 (atomic_add_negative): Likewise.
34921 (atomic_add_zero): Likewise.
34922
349232012-11-26 Joseph Myers <joseph@codesourcery.com>
34924
34925 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34926 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34927 (add_fdes): Likewise.
34928 (linear_search_fdes): Likewise.
34929 (binary_search_unencoded_fdes): Likewise.
34930
349312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34932
34933 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34934
349352012-11-24 Adam Conrad <adconrad@0c3.net>
34936
34937 * configure.in: Autodetect C++ header directories.
34938 * configure: Regenerated.
34939
349402012-11-23 Mike Frysinger <vapier@gentoo.org>
34941
34942 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34943
349442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34945
34946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34947
349482012-11-22 Joseph Myers <joseph@codesourcery.com>
34949
34950 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34951 LDBL_MANT_DIG == 106]: Disable some tests.
34952 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34953 Likewise.
34954 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34955 Likewise.
34956
34957 [BZ #14871]
34958 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34959 input for small inputs. Return +/- pi/2 for large inputs.
34960 * math/libm-test.inc (atan_test): Add more tests.
34961
34962 * sysdeps/generic/unwind-dw2-fde-glibc.c
34963 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34964 __attribute__ ((unused)).
34965
34966 [BZ #14645]
34967 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34968 x * y if x and y are nonzero and z is zero.
34969
34970 [BZ #14811]
34971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34972 nonzero exponents with absolute value below 0x1p-117 to +/-
34973 0x1p-117.
34974
34975 [BZ #14869]
34976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34977 up arguments below 2**-450, not just those below 2**-500.
34978 * math/libm-test.inc (hypot_test): Add another test.
34979
34980 [BZ #14868]
34981 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34982 Return a+b for ratio over 2**120, not 2**60.
34983 * math/libm-test.inc (hypot_test): Add another test.
34984
34985 * math/libm-test.inc (clog_test): Use
34986 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34987 (clog10_test): Likewise.
34988
34989 [BZ #6778]
34990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34991
349922012-11-22 Andreas Schwab <schwab@suse.de>
34993
34994 * sysdeps/i386/fpu/libm-test-ulps: Update.
34995
349962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34997
34998 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34999 printf output with newline.
35000
350012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35002
35003 [BZ #14865]
35004 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35005 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35006 -z nodlopen, -z initfirst and -z execstack support.
35007 * configure: Regenerated.
35008
35009 * elf/elf.h (DF_1_NODIRECT): New macro.
35010 (DF_1_IGNMULDEF): Likewise.
35011 (DF_1_NOKSYMS): Likewise.
35012 (DF_1_NOHDR): Likewise.
35013 (DF_1_EDITED): Likewise.
35014 (DF_1_NORELOC): Likewise.
35015 (DF_1_SYMINTPOSE): Likewise.
35016 (DF_1_GLOBAUDIT): Likewise.
35017 (DF_1_SINGLETON): Likewise.
35018 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35019 DT_1_SUPPORTED_MASK bits.
35020 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35021
350222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35023
35024 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35025
350262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35027
35028 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35029 macro.
35030
35031 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35032 (sendmmsg): Move declarations...
35033 * socket/sys/socket.h: ... here.
35034 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35035 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35036 include it from...
35037 * socket/recvmmsg.c: ... this new file.
35038 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35039 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35040 definition of __sendmmsg hidden.
35041 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35042 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35043 Move ENOSYS stub into and include it from...
35044 * socket/sendmmsg.c: ... this new file.
35045 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35046 (sysdep_routines): Move recvmmsg and sendmmsg...
35047 * socket/Makefile (routines): ... here.
35048 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35049 (GLIBC_PRIVATE): Add __sendmmsg.
35050 * include/sys/socket.h (__sendmmsg): Add declarations.
35051 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35052 sendmmsg.
35053
350542012-11-20 Joseph Myers <joseph@codesourcery.com>
35055
35056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35057 variable I1 with __attribute__ ((unused)).
35058 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35059
350602012-11-19 Joseph Myers <joseph@codesourcery.com>
35061
35062 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35063 DUMMY variables with __attribute__ ((unused)).
35064
35065 * bits/byteswap.h: Include <bits/types.h>.
35066 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35067
350682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35069
35070 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35071 string_t. Do not manually set errno.
35072 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35073 length with __strnlen. Make sure to both set errno and return it on
35074 failure.
35075
350762012-11-19 David S. Miller <davem@davemloft.net>
35077
35078 With help from Joseph Myers.
35079 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35080 very large arguments properly.
35081 * math/libm-test.inc (atan_test): New tests.
35082 (atan2_test): New tests.
35083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35085
350862012-11-19 Joseph Myers <joseph@codesourcery.com>
35087
35088 [BZ #14856]
35089 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35090 Define to 3.
35091
35092 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35093 [POSIX] (EADDRNOTAVAIL): Likewise.
35094 [POSIX] (EAFNOSUPPORT): Likewise.
35095 [POSIX] (EALREADY): Likewise.
35096 [POSIX] (ECONNABORTED): Likewise.
35097 [POSIX] (ECONNREFUSED): Likewise.
35098 [POSIX] (ECONNRESET): Likewise.
35099 [POSIX] (EDESTADDRREQ): Likewise.
35100 [POSIX] (EDQUOT): Likewise.
35101 [POSIX] (EHOSTUNREACH): Likewise.
35102 [POSIX] (EIDRM): Likewise.
35103 [POSIX] (EISCONN): Likewise.
35104 [POSIX] (ELOOP): Likewise.
35105 [POSIX] (EMULTIHOP): Likewise.
35106 [POSIX] (ENETDOWN): Likewise.
35107 [POSIX] (ENETUNREACH): Likewise.
35108 [POSIX] (ENOBUFS): Likewise.
35109 [POSIX] (ENODATA): Likewise.
35110 [POSIX] (ENOLINK): Likewise.
35111 [POSIX] (ENOMSG): Likewise.
35112 [POSIX] (ENOPROTOOPT): Likewise.
35113 [POSIX] (ENOSR): Likewise.
35114 [POSIX] (ENOSTR): Likewise.
35115 [POSIX] (ENOTCONN): Likewise.
35116 [POSIX] (ENOTSOCK): Likewise.
35117 [POSIX] (EOPNOTSUPP): Likewise.
35118 [POSIX] (EOVERFLOW): Likewise.
35119 [POSIX] (EPROTO): Likewise.
35120 [POSIX] (EPROTONOSUPPORT): Likewise.
35121 [POSIX] (EPROTOTYPE): Likewise.
35122 [POSIX] (ESTALE): Likewise.
35123 [POSIX] (ETIME): Likewise.
35124 [POSIX] (ETXTBSY): Likewise.
35125 [POSIX] (EWOULDBLOCK): Likewise.
35126 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35127 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35128 [POSIX] (SEEK_CUR): Likewise.
35129 [POSIX] (SEEK_END): Likewise.
35130 [POSIX || UNIX98] (mode_t): Do not require.
35131 [POSIX] (off_t): Likewise.
35132 [POSIX] (pid_t): Likewise.
35133 [POSIX] (sys/stat.h): Do not allow header.
35134 [POSIX] (unistd.h): Likewise.
35135 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35136 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35137 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35138 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35139 require.
35140 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35141 sigevent): Specify elements.
35142 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35143 entry.
35144 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35145 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35146
35147 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35148 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35149 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35150 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35151 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35152 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35153 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35154 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35155 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35156 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35157 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35159 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35161 Likewise.
35162 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35163 Likewise.
35164 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35165 Likewise.
35166 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35167 Likewise.
35168 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35169 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35170 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35171 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35173 Specify lower bound on value.
35174 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35175 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35176 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35177 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35179 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35180 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35181 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35182 value.
35183 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35184 as optional.
35185 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35186 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35187 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35188 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35189 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35190 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35191 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35192 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35193 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35194 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35195 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35196 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35197 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35198 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35199 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35200 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35201 entry.
35202 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35203 optional.
35204 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35205 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35206 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35207 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35208 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35209 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35210 Likewise.
35211 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35212 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35213 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35214 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35215 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35216 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35218 as optional.
35219 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35221 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35222 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35223 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35224 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35225 specify as optional.
35226 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35227 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35228 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35229 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35230 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35231 [XPG3] (NL_LANGMAX): Likewise.
35232 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35233 [POSIX || XPG3] (NL_NMAX): Likewise.
35234 [POSIX || XPG3] (NL_SETMAX): Likewise.
35235 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35236 [XPG3] (NZERO): Likewise.
35237 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35238 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35239 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35240 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35241 (REG_ERANGE): Expect.
35242 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35243 optional-constant.
35244 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35245 Use (void) in prototype.
35246 [POSIX] (*_t): Allow.
35247 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35248 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35249 (WRDE_BADVAL): Expect.
35250
35251 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35252 expect.
35253 [XPG3 || XPG4] (O_RSYNC): Likewise.
35254 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35255 Likewise.
35256 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35257 [XPG3 || XPG4] (sigqueue): Likewise.
35258 [XPG3 || XPG4] (sigtimedwait): Likewise.
35259 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35260 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35261 [XPG3 || XPG4] (vsnprintf): Likewise.
35262 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35263 Likewise.
35264 [XPG3 || XPG4] (blksize_t): Likewise.
35265 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35266 Likewise.
35267 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35268 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35269 [XPG3 || XPG4] (struct itimerspec): Likewise.
35270 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35271 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35272 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35273 [XPG3 || XPG4] (clockid_t): Likewise.
35274 [XPG3 || XPG4] (timer_t): Likewise.
35275 [XPG3 || XPG4] (clock_getres): Likewise.
35276 [XPG3 || XPG4] (clock_gettime): Likewise.
35277 [XPG3 || XPG4] (clock_settime): Likewise.
35278 [XPG3 || XPG4] (nanosleep): Likewise.
35279 [XPG3 || XPG4] (timer_create): Likewise.
35280 [XPG3 || XPG4] (timer_delete): Likewise.
35281 [XPG3 || XPG4] (timer_gettime): Likewise.
35282 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35283 [XPG3 || XPG4] (timer_settime): Likewise.
35284 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35285 [XPG3 || XPG4] (getlogin_r): Likewise.
35286 [XPG3 || XPG4] (pread): Likewise.
35287 [XPG3 || XPG4] (pthread_atfork): Likewise.
35288 [XPG3 || XPG4] (pwrite): Likewise.
35289
35290 [BZ #14835]
35291 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35292 <bits/siginfo.h>.
35293
352942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35295
35296 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35297 finalizing MALLSTREAM.
35298
35299 * sysdeps/mach/hurd/syncfs.c: New file.
35300
353012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35302
35303 [BZ #14719]
35304 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35305 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35307 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35308 (_nss_dns_gethostbyname4_r): Likewise.
35309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35310 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35311
353122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35313
35314 [BZ #13763]
35315 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35316
353172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35318
35319 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35320 * elf/cache.c (print_entry): Print ",AArch64" for
35321 FLAG_AARCH64_LIB64
35322
35323 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35324 * elf/cache.c (print_entry): Print ",hard-float" for
35325 FLAG_ARM_LIBHF.
35326
353272012-11-18 David S. Miller <davem@davemloft.net>
35328
35329 With help from Joseph Myers.
35330 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35331 cutoff to 2**-13.
35332 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35333 cutoff to 2**-25.
35334 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35335 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35336 small.
35337 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35338 * math/libm-test.inc (y0_test): New tests.
35339 (y1_test): New tests.
35340 * sysdeps/i386/fpu/libm-test-ulps: Update.
35341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35343
353442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35345
35346 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35347 64-bit targets.
35348 * configure: Regenerated.
35349
353502012-11-17 David S. Miller <davem@davemloft.net>
35351
35352 [BZ #14811]
35353 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35354 nonzero exponents with absolute value below 0x1p-128 to +/-
35355 0x1p-128.
35356
353572012-11-17 Joseph Myers <joseph@codesourcery.com>
35358
35359 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35360
35361 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35362
35363 * posix/getconf-speclist.c: New file.
35364 * posix/posix-envs.def: Likewise.
35365 * posix/confstr.c (START_ENV_GROUP): New macro.
35366 (END_ENV_GROUP): Likewise.
35367 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35368 (KNOWN_PRESENT_ENV_STRING): Likewise.
35369 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35370 (UNKNOWN_ENVIRONMENT): Likewise.
35371 (confstr): Include posix-envs.def instead of handling
35372 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35373 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35374 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35375 (END_ENV_GROUP): Likewise.
35376 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35377 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35378 (UNKNOWN_ENVIRONMENT): Likewise.
35379 (__sysconf): Include posix-envs.def instead of handling associated
35380 cases directly here.
35381 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35382 preprocessing getconf-speclist.c rather than running getconf or
35383 generating empty file.
35384
353852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35386
35387 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35388
353892012-11-16 Andrej Lajovic <natrij@gmail.com>
35390
35391 [BZ #14672]
35392 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35393
353942012-11-16 David S. Miller <davem@davemloft.net>
35395
35396 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35397 smaller than LDBL_EPSILON/2.0L, just return xm1.
35398
353992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35400
35401 * elf/tst-array1.c (init): Set constructor priority to 1000.
35402 (fini): Set destructor priority to 1000.
35403 * elf/tst-array2dep.c: Likewise.
35404
354052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35406
35407 [BZ #11741]
35408 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35409 (_IO_new_file_xsputn): Also return EOF if none of the input
35410 data was written when overflow failed.
35411 * libio/iopadn.c (_IO_padn): Likewise.
35412 * libio/iowpadn.c (_IO_wpadn): Likewise.
35413 * stdio-common/tst-put-error.c: Add copyright notice.
35414 (do_test): Add case for printing padded string.
35415 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35416 _IO_padn returned error.
35417 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35418 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35419 return EOF.
35420
354212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35422
35423 * libio/libioP.h: Add comment note that the references to C++
35424 bits are now obsolete.
35425
354262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35427
35428 * math/libm-test.inc (check_complex): Use asprintf.
35429
354302012-11-14 Joseph Myers <joseph@codesourcery.com>
35431
35432 * debug/pcprofiledump.c (print_version): Update copyright year.
35433 * malloc/memusagestat.c (print_version): Likewise.
35434
354352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35436
35437 [BZ #14831]
35438 * elf/Makefile (tests): Add tst-audit8.
35439 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35440 ($(objpfx)tst-audit8.out): New target.
35441 (tst-audit8-ENV): New variable.
35442 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35443 audit if l_reloc_result is NULL.
35444 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35445 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35446 * elf/tst-audit8.c: New file.
35447
354482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35449
35450 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35451 * misc/Makefile (CFLAGS-select.c): Define.
35452 * posix/Makefile (CFLAGS-pause.c): Define.
35453
354542012-11-13 David S. Miller <davem@davemloft.net>
35455
35456 * crypt/Makefile: Move test targets after toplevel Rules
35457 inclusion. Grab any necessary sysdep routines when linking.
35458 * crypt/md5.c (md5_process_block): Remove define, we will always
35459 name it __md5_process_block.
35460 (md5_finish_ctx): Update md5_process_block call.
35461 (md5_stream): Likewise.
35462 (md5_process_bytes): Likewise.
35463 (md5_process_block): Rename to __md5_process_block and move to ...
35464 * crypt/md5-block.c: ... here.
35465 * crypt/sha256.c (sha256_process_block): Move to ...
35466 * crypt/sha256-block.c: ... here.
35467 * crypt/sha512.c (sha512_process_block): Move to ...
35468 * crypt/sha512-block.c: ... here.
35469 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35470 path.
35471 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35472 * sysdeps/sparc/sparc64/multiarch/Makefile
35473 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35474 crypt subdir.
35475 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35476 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35477 multiarch changes.
35478 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35479 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35480 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35481 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35482 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35483 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35484 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35485 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35487 file.
35488 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35490 file.
35491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35492
354932012-11-13 Joseph Myers <joseph@codesourcery.com>
35494
35495 * timezone/tzselect.ksh: Update from tzcode git revision
35496 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35497 * timezone/zdump.c: Likewise.
35498 * timezone/zic.c: Likewise.
35499 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35500 in TZVERSION setting, not $(PKGVERSION).
35501 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35502 REPORT_BUGS_TO settings.
35503
35504 [BZ #14838]
35505 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35506 macro.
35507
355082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35509
35510 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35511 detection to immediately after _FP_ROUND().
35512 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35513 bits are 0.
35514
355152012-11-11 David S. Miller <davem@davemloft.net>
35516
35517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35518 inttypes.h
35519 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35520 __close rather than their public counterparts.
35521
355222012-11-10 Joseph Myers <joseph@codesourcery.com>
35523
35524 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35525 file.
35526 [UNIX98] (sem_timedwait): Do not expect.
35527 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35528 [XPG4 || UNIX98] (sockatmark): Do not expect.
35529 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35530 (clock_getcpuclockid): Do not expect.
35531 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35532 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35533 Do not expect.
35534 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35535 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35536 [UNIX98] (vwscanf): Likewise.
35537 [UNIX98] (vswscanf): Likewise.
35538
355392012-11-09 Joseph Myers <joseph@codesourcery.com>
35540
35541 * timezone/version.h: Remove file.
35542 * timezone/README: Do not refer to version.h.
35543 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35544 $(objpfx)version.h.
35545 ($(objpfx)zdump.o): Likewise.
35546 ($(objpfx)version.h): New target.
35547
35548 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35549 2012i.
35550 * timezone/README: Don't mention modification to tzselect.ksh.
35551 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35552 work on unmodified tzselect.ksh. Substitute version numbers in
35553 tzselect.ksh.
35554
35555 * Makefile (format-me): Remove.
35556 (INSTALL): Adjust indentation. Use commands directly instead of
35557 using $(format-me).
35558
35559 * aclocal.m4 (ACX_PKGVERSION): New macro.
35560 (ACX_BUGURL): Likewise.
35561 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35562 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35563 (REPORT_BUGS_TO): Likewise.
35564 * configure: Regenerated.
35565 * config.h.in (PKGVERSION): New macro.
35566 (REPORT_BUGS_TO): Likewise.
35567 * config.make.in (PKGVERSION): New variable.
35568 (PKGVERSION_TEXI): Likewise.
35569 (REPORT_BUGS_TO): Likewise.
35570 (REPORT_BUGS_TEXI): Likewise.
35571 * Makefile (format-me): Use -I$(common-objpfx)manual.
35572 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35573 ($(common-objpfx)manual/%): New target.
35574 (manual/%): Remove target.
35575 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35576 (print_version): Use PKGVERSION.
35577 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35578 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35579 and REPORT_BUGS_TO.
35580 ($(objpfx)xtrace): Likewise.
35581 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35582 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35583 (print_version): Use PKGVERSION.
35584 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35585 (do_version): Use PKGVERSION.
35586 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35587 REPORT_BUGS_TO.
35588 (common-ldd-rewrite): Likewise.
35589 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35590 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35591 (print_version): Use PKGVERSION.
35592 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35593 * elf/pldd.c (argp_program_bug_address): Remove variable.
35594 (more_help): New function.
35595 (argp): Use more_help.
35596 (print_version): Use PKGVERSION.
35597 * elf/sln.c (main): Use PKGVERSION.
35598 (usage): Use REPORT_BUGS_TO.
35599 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35600 (top level): Use PKGVERSION.
35601 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35602 (print_version): Use PKGVERSION.
35603 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35604 (print_version): Use PKGVERSION.
35605 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35606 (print_version): Use PKGVERSION.
35607 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35608 (print_version): Use PKGVERSION.
35609 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35610 (print_version): Use PKGVERSION.
35611 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35612 (print_version): Use PKGVERSION.
35613 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35614 and BUGURL.
35615 ($(objpfx)memusage): Likewise.
35616 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35617 (do_version): Use PKGVERSION.
35618 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35619 (print_version): Use PKGVERSION.
35620 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35621 ($PKGVERSION): New variable.
35622 ($REPORT_BUGS_TO): Likewise.
35623 (usage): Use $REPORT_BUGS_TO.
35624 (top level): Use $PKGVERSION.
35625 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35626 ($(objpfx)pkgvers.texi): New rule.
35627 ($(objpfx)stamp-pkgvers): Likewise.
35628 * manual/install.texi: Include pkgvers.texi.
35629 (--with-pkgversion): Document new configure option.
35630 (--with-bugurl): Likewise.
35631 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35632 than necessarily for this particular distribution. Use
35633 REPORT_BUGS_TO for where to report bugs.
35634 * INSTALL: Regenerated.
35635 * manual/libc.texinfo: Include pkgvers.texi.
35636 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35637 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35638 (print_version): Use PKGVERSION.
35639 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35640 (print_version): Use PKGVERSION.
35641 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35642 (print_version): Use PKGVERSION.
35643 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35644 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35645 macro.
35646 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35647 (print_version): Use PKGVERSION.
35648 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35649 (print_version): Use PKGVERSION.
35650 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35651 and PKGVERSION.
35652
35653 * timezone/checktab.awk: Update from tzcode 2012i.
35654 * timezone/ialloc.c: Likewise.
35655 * timezone/private.h: Likewise.
35656 * timezone/scheck.c: Likewise.
35657 * timezone/tzfile.h: Likewise.
35658 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35659 (TZVERSION): Hardcode tzcode version number.
35660 * timezone/zdump.c: Update from tzcode 2012i.
35661 * timezone/zic.c: Likewise.
35662 * timezone/version.h: New file.
35663 * timezone/README: Describe version.h. Update upstream location.
35664
35665 [BZ #14824]
35666 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35667 (mktemp): Enable declaration.
35668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35672 Likewise.
35673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35674 Likewise.
35675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35676 Likewise.
35677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35678 Likewise.
35679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35680 Likewise.
35681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35682 Likewise.
35683
35684 [BZ #14821]
35685 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35686 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35687 for copies of such integer values.
35688 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35689 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35690
356912012-11-09 Andreas Jaeger <aj@suse.de>
35692
35693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35694 definitions and declarations that are provided by
35695 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35696
356972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35698
35699 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35700 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35701 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35702 definition.
35703
357042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35705
35706 * elf/elf.h: Update comment before AArch64 relocations.
35707
357082012-11-07 David S. Miller <davem@davemloft.net>
35709
35710 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35711 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35712 (__start_context): Declare.
35713 (__makecontext_ret): Delete.
35714 (__makecontext): Hook up __start_context instead of
35715 __makecontext_ret.
35716 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35717 (sysdep_routines): Add __start_context when in stdlib.
35718
357192012-11-07 Joseph Myers <joseph@codesourcery.com>
35720
35721 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35722 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35723 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35724 hardcoded "nm".
35725 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35726 (READELF): New variable. Use it instead of hardcoded "readelf".
35727
357282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35729
35730 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35731 * sysdeps/x86/Makefile: Here.
35732 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35733 * sysdeps/x86/tst-xmmymm.sh: This.
35734
357352012-11-07 Joseph Myers <joseph@codesourcery.com>
35736
35737 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35738 expectations.
35739 [UNIX98] (pthread_barrier_t): Do not expect.
35740 [UNIX98] (pthread_barrierattr_t): Likewise.
35741 [UNIX98] (pthread_spinlock_t): Likewise.
35742 [UNIX98] (pthread_barrier_destroy): Likewise.
35743 [UNIX98] (pthread_barrier_init): Likewise.
35744 [UNIX98] (pthread_barrier_wait): Likewise.
35745 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35746 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35747 [UNIX98] (pthread_barrierattr_init): Likewise.
35748 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35749 [UNIX98] (pthread_getcpuclockid): Likewise.
35750 [UNIX98] (pthread_mutex_timedlock): Likewise.
35751 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35752 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35753 [UNIX98] (pthread_sigmask): Likewise.
35754 [UNIX98] (pthread_spin_destroy): Likewise.
35755 [UNIX98] (pthread_spin_init): Likewise.
35756 [UNIX98] (pthread_spin_lock): Likewise.
35757 [UNIX98] (pthread_spin_trylock): Likewise.
35758 [UNIX98] (pthread_spin_unlock): Likewise.
35759 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35760 Do not expect.
35761 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35763 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35764 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35765 [XPG3 || XPG4] (pthread_key_t): Likewise.
35766 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35767 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35768 [XPG3 || XPG4] (pthread_once_t): Likewise.
35769 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35770 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35772 [XPG3 || XPG4] (pthread_t): Likewise.
35773
35774 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35775 not expect.
35776 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35777
35778 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35779 Change function return type to int.
35780
35781 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35782 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35783 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35784 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35785 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35786 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35787 [!POSIX] (posix_madvise): Likewise.
35788 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35789 && !UNIX98].
35790 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35791 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35792 (mode_t): Likewise.
35793 (posix_mem_offset): Likewise.
35794 (posix_typed_mem_get_info): Likewise.
35795 (posix_typed_mem_open): Likewise.
35796
35797 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35798 Change condition to [XOPEN2K8].
35799
35800 * conform/conformtest.pl: Preprocess allow-header data with -x c
35801 instead of from stdin.
35802 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35803 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35804 [C99-based standards] (cerfc): Likewise.
35805 [C99-based standards] (cexp2): Likewise.
35806 [C99-based standards] (cexpm1): Likewise.
35807 [C99-based standards] (clog10): Likewise.
35808 [C99-based standards] (clog1p): Likewise.
35809 [C99-based standards] (clog2): Likewise.
35810 [C99-based standards] (clgamma): Likewise.
35811 [C99-based standards] (ctgamma): Likewise.
35812 [C99-based standards] (cerff): Likewise.
35813 [C99-based standards] (cerfcf): Likewise.
35814 [C99-based standards] (cexp2f): Likewise.
35815 [C99-based standards] (cexpm1f): Likewise.
35816 [C99-based standards] (clog10f): Likewise.
35817 [C99-based standards] (clog1pf): Likewise.
35818 [C99-based standards] (clog2f): Likewise.
35819 [C99-based standards] (clgammaf): Likewise.
35820 [C99-based standards] (ctgammaf): Likewise.
35821 [C99-based standards] (cerfl): Likewise.
35822 [C99-based standards] (cerfcl): Likewise.
35823 [C99-based standards] (cexp2l): Likewise.
35824 [C99-based standards] (cexpm1l): Likewise.
35825 [C99-based standards] (clog10l): Likewise.
35826 [C99-based standards] (clog1pl): Likewise.
35827 [C99-based standards] (clog2l): Likewise.
35828 [C99-based standards] (clgammal): Likewise.
35829 [C99-based standards] (ctgammal): Likewise.
35830 * conform/data/inttypes.h-data [C99-based standards]: Include
35831 stdint.h-data. Remove all expectations for stdint.h contents.
35832 [C99-based standards] (PRI*): Do not allow.
35833 [C99-based standards] (SCN*): Likewise.
35834 [C99-based standards] (*_t): Likewise.
35835 [C99-based-standards] (PRId8): Expect macro.
35836 [C99-based-standards] (PRIi8): Likewise.
35837 [C99-based-standards] (PRIo8): Likewise.
35838 [C99-based-standards] (PRIu8): Likewise.
35839 [C99-based-standards] (PRIx8): Likewise.
35840 [C99-based-standards] (PRIX8): Likewise.
35841 [C99-based-standards] (SCNd8): Likewise.
35842 [C99-based-standards] (SCNi8): Likewise.
35843 [C99-based-standards] (SCNo8): Likewise.
35844 [C99-based-standards] (SCNu8): Likewise.
35845 [C99-based-standards] (SCNx8): Likewise.
35846 [C99-based-standards] (PRIdLEAST8): Likewise.
35847 [C99-based-standards] (PRIiLEAST8): Likewise.
35848 [C99-based-standards] (PRIoLEAST8): Likewise.
35849 [C99-based-standards] (PRIuLEAST8): Likewise.
35850 [C99-based-standards] (PRIxLEAST8): Likewise.
35851 [C99-based-standards] (PRIXLEAST8): Likewise.
35852 [C99-based-standards] (SCNdLEAST8): Likewise.
35853 [C99-based-standards] (SCNiLEAST8): Likewise.
35854 [C99-based-standards] (SCNoLEAST8): Likewise.
35855 [C99-based-standards] (SCNuLEAST8): Likewise.
35856 [C99-based-standards] (SCNxLEAST8): Likewise.
35857 [C99-based-standards] (PRIdFAST8): Likewise.
35858 [C99-based-standards] (PRIiFAST8): Likewise.
35859 [C99-based-standards] (PRIoFAST8): Likewise.
35860 [C99-based-standards] (PRIuFAST8): Likewise.
35861 [C99-based-standards] (PRIxFAST8): Likewise.
35862 [C99-based-standards] (PRIXFAST8): Likewise.
35863 [C99-based-standards] (SCNdFAST8): Likewise.
35864 [C99-based-standards] (SCNiFAST8): Likewise.
35865 [C99-based-standards] (SCNoFAST8): Likewise.
35866 [C99-based-standards] (SCNuFAST8): Likewise.
35867 [C99-based-standards] (SCNxFAST8): Likewise.
35868 [C99-based-standards] (PRId16): Likewise.
35869 [C99-based-standards] (PRIi16): Likewise.
35870 [C99-based-standards] (PRIo16): Likewise.
35871 [C99-based-standards] (PRIu16): Likewise.
35872 [C99-based-standards] (PRIx16): Likewise.
35873 [C99-based-standards] (PRIX16): Likewise.
35874 [C99-based-standards] (SCNd16): Likewise.
35875 [C99-based-standards] (SCNi16): Likewise.
35876 [C99-based-standards] (SCNo16): Likewise.
35877 [C99-based-standards] (SCNu16): Likewise.
35878 [C99-based-standards] (SCNx16): Likewise.
35879 [C99-based-standards] (PRIdLEAST16): Likewise.
35880 [C99-based-standards] (PRIiLEAST16): Likewise.
35881 [C99-based-standards] (PRIoLEAST16): Likewise.
35882 [C99-based-standards] (PRIuLEAST16): Likewise.
35883 [C99-based-standards] (PRIxLEAST16): Likewise.
35884 [C99-based-standards] (PRIXLEAST16): Likewise.
35885 [C99-based-standards] (SCNdLEAST16): Likewise.
35886 [C99-based-standards] (SCNiLEAST16): Likewise.
35887 [C99-based-standards] (SCNoLEAST16): Likewise.
35888 [C99-based-standards] (SCNuLEAST16): Likewise.
35889 [C99-based-standards] (SCNxLEAST16): Likewise.
35890 [C99-based-standards] (PRIdFAST16): Likewise.
35891 [C99-based-standards] (PRIiFAST16): Likewise.
35892 [C99-based-standards] (PRIoFAST16): Likewise.
35893 [C99-based-standards] (PRIuFAST16): Likewise.
35894 [C99-based-standards] (PRIxFAST16): Likewise.
35895 [C99-based-standards] (PRIXFAST16): Likewise.
35896 [C99-based-standards] (SCNdFAST16): Likewise.
35897 [C99-based-standards] (SCNiFAST16): Likewise.
35898 [C99-based-standards] (SCNoFAST16): Likewise.
35899 [C99-based-standards] (SCNuFAST16): Likewise.
35900 [C99-based-standards] (SCNxFAST16): Likewise.
35901 [C99-based-standards] (PRId32): Likewise.
35902 [C99-based-standards] (PRIi32): Likewise.
35903 [C99-based-standards] (PRIo32): Likewise.
35904 [C99-based-standards] (PRIu32): Likewise.
35905 [C99-based-standards] (PRIx32): Likewise.
35906 [C99-based-standards] (PRIX32): Likewise.
35907 [C99-based-standards] (SCNd32): Likewise.
35908 [C99-based-standards] (SCNi32): Likewise.
35909 [C99-based-standards] (SCNo32): Likewise.
35910 [C99-based-standards] (SCNu32): Likewise.
35911 [C99-based-standards] (SCNx32): Likewise.
35912 [C99-based-standards] (PRIdLEAST32): Likewise.
35913 [C99-based-standards] (PRIiLEAST32): Likewise.
35914 [C99-based-standards] (PRIoLEAST32): Likewise.
35915 [C99-based-standards] (PRIuLEAST32): Likewise.
35916 [C99-based-standards] (PRIxLEAST32): Likewise.
35917 [C99-based-standards] (PRIXLEAST32): Likewise.
35918 [C99-based-standards] (SCNdLEAST32): Likewise.
35919 [C99-based-standards] (SCNiLEAST32): Likewise.
35920 [C99-based-standards] (SCNoLEAST32): Likewise.
35921 [C99-based-standards] (SCNuLEAST32): Likewise.
35922 [C99-based-standards] (SCNxLEAST32): Likewise.
35923 [C99-based-standards] (PRIdFAST32): Likewise.
35924 [C99-based-standards] (PRIiFAST32): Likewise.
35925 [C99-based-standards] (PRIoFAST32): Likewise.
35926 [C99-based-standards] (PRIuFAST32): Likewise.
35927 [C99-based-standards] (PRIxFAST32): Likewise.
35928 [C99-based-standards] (PRIXFAST32): Likewise.
35929 [C99-based-standards] (SCNdFAST32): Likewise.
35930 [C99-based-standards] (SCNiFAST32): Likewise.
35931 [C99-based-standards] (SCNoFAST32): Likewise.
35932 [C99-based-standards] (SCNuFAST32): Likewise.
35933 [C99-based-standards] (SCNxFAST32): Likewise.
35934 [C99-based-standards] (PRId64): Likewise.
35935 [C99-based-standards] (PRIi64): Likewise.
35936 [C99-based-standards] (PRIo64): Likewise.
35937 [C99-based-standards] (PRIu64): Likewise.
35938 [C99-based-standards] (PRIx64): Likewise.
35939 [C99-based-standards] (PRIX64): Likewise.
35940 [C99-based-standards] (SCNd64): Likewise.
35941 [C99-based-standards] (SCNi64): Likewise.
35942 [C99-based-standards] (SCNo64): Likewise.
35943 [C99-based-standards] (SCNu64): Likewise.
35944 [C99-based-standards] (SCNx64): Likewise.
35945 [C99-based-standards] (PRIdLEAST64): Likewise.
35946 [C99-based-standards] (PRIiLEAST64): Likewise.
35947 [C99-based-standards] (PRIoLEAST64): Likewise.
35948 [C99-based-standards] (PRIuLEAST64): Likewise.
35949 [C99-based-standards] (PRIxLEAST64): Likewise.
35950 [C99-based-standards] (PRIXLEAST64): Likewise.
35951 [C99-based-standards] (SCNdLEAST64): Likewise.
35952 [C99-based-standards] (SCNiLEAST64): Likewise.
35953 [C99-based-standards] (SCNoLEAST64): Likewise.
35954 [C99-based-standards] (SCNuLEAST64): Likewise.
35955 [C99-based-standards] (SCNxLEAST64): Likewise.
35956 [C99-based-standards] (PRIdFAST64): Likewise.
35957 [C99-based-standards] (PRIiFAST64): Likewise.
35958 [C99-based-standards] (PRIoFAST64): Likewise.
35959 [C99-based-standards] (PRIuFAST64): Likewise.
35960 [C99-based-standards] (PRIxFAST64): Likewise.
35961 [C99-based-standards] (PRIXFAST64): Likewise.
35962 [C99-based-standards] (SCNdFAST64): Likewise.
35963 [C99-based-standards] (SCNiFAST64): Likewise.
35964 [C99-based-standards] (SCNoFAST64): Likewise.
35965 [C99-based-standards] (SCNuFAST64): Likewise.
35966 [C99-based-standards] (SCNxFAST64): Likewise.
35967 [C99-based-standards] (PRIdMAX): Likewise.
35968 [C99-based-standards] (PRIiMAX): Likewise.
35969 [C99-based-standards] (PRIoMAX): Likewise.
35970 [C99-based-standards] (PRIuMAX): Likewise.
35971 [C99-based-standards] (PRIxMAX): Likewise.
35972 [C99-based-standards] (PRIXMAX): Likewise.
35973 [C99-based-standards] (SCNdMAX): Likewise.
35974 [C99-based-standards] (SCNiMAX): Likewise.
35975 [C99-based-standards] (SCNoMAX): Likewise.
35976 [C99-based-standards] (SCNuMAX): Likewise.
35977 [C99-based-standards] (SCNxMAX): Likewise.
35978 [C99-based-standards] (PRIdPTR): Likewise.
35979 [C99-based-standards] (PRIiPTR): Likewise.
35980 [C99-based-standards] (PRIoPTR): Likewise.
35981 [C99-based-standards] (PRIuPTR): Likewise.
35982 [C99-based-standards] (PRIxPTR): Likewise.
35983 [C99-based-standards] (PRIXPTR): Likewise.
35984 [C99-based-standards] (SCNdPTR): Likewise.
35985 [C99-based-standards] (SCNiPTR): Likewise.
35986 [C99-based-standards] (SCNoPTR): Likewise.
35987 [C99-based-standards] (SCNuPTR): Likewise.
35988 [C99-based-standards] (SCNxPTR): Likewise.
35989 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35990 allow.
35991 * conform/data/stdint.h-data: Update comments to clarify
35992 requirements.
35993 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35994 type.
35995 [C99-based standards] (INT8_MAX): Likewise.
35996 [C99-based standards] (INT16_MIN): Likewise.
35997 [C99-based standards] (INT16_MAX): Likewise.
35998 [C99-based standards] (INT32_MIN): Likewise.
35999 [C99-based standards] (INT32_MAX): Likewise.
36000 [C99-based standards] (INT64_MIN): Likewise.
36001 [C99-based standards] (INT64_MAX): Likewise.
36002 [C99-based standards] (UINT8_MAX): Likewise.
36003 [C99-based standards] (UINT16_MAX): Likewise.
36004 [C99-based standards] (UINT32_MAX): Likewise.
36005 [C99-based standards] (UINT64_MAX): Likewise.
36006 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36007 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36008 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36009 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36010 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36011 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36012 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36013 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36014 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36015 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36016 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36017 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36018 [C99-based standards] (INT_FAST8_MIN): Likewise.
36019 [C99-based standards] (INT_FAST8_MAX): Likewise.
36020 [C99-based standards] (INT_FAST16_MIN): Likewise.
36021 [C99-based standards] (INT_FAST16_MAX): Likewise.
36022 [C99-based standards] (INT_FAST32_MIN): Likewise.
36023 [C99-based standards] (INT_FAST32_MAX): Likewise.
36024 [C99-based standards] (INT_FAST64_MIN): Likewise.
36025 [C99-based standards] (INT_FAST64_MAX): Likewise.
36026 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36027 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36028 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36029 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36030 [C99-based standards] (INTPTR_MIN): Likewise.
36031 [C99-based standards] (INTPTR_MAX): Likewise.
36032 [C99-based standards] (UINTPTR_MAX): Likewise.
36033 [C99-based standards] (INTMAX_MIN): Likewise.
36034 [C99-based standards] (INTMAX_MAX): Likewise.
36035 [C99-based standards] (UINTMAX_MAX): Likewise.
36036 [C99-based standards] (PTRDIFF_MIN): Likewise.
36037 [C99-based standards] (PTRDIFF_MAX): Likewise.
36038 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36039 [C99-based standards] (SIZE_MAX): Likewise.
36040 [C99-based standards] (WCHAR_MAX): Likewise.
36041 [C99-based standards] (WINT_MAX): Likewise.
36042 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36043 constraint on value.
36044 [C99-based standards] (WCHAR_MIN): Likewise.
36045 [C99-based standards] (WINT_MIN): Likewise.
36046 [C99-based standards] (*_t): Allow.
36047 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36048 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36049 Include math.h-data and complex.h-data. Remove all expectations
36050 of math.h and complex.h contents.
36051 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36052 at end of line.
36053 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36054 (struct tm): Expect tag.
36055 [C99-based-standards] (wcstof): Expect function.
36056 [C99-based-standards] (wcstold): Likewise.
36057 [C99-based-standards] (wcstoll): Likewise.
36058 [C99-based-standards] (wcstoull): Likewise.
36059 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36060 macro-int-constant. Specify type.
36061 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36062 constraint on value.
36063 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36064 Specify type.
36065 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36066 Specify value.
36067 [ISO C standards]: Do not allow headers.
36068 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36069 wcs[abcdefghijklmnopqrstuvwxyz]*.
36070 [ISO C standards] (*_t): Do not allow.
36071 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36072 Expect function.
36073 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36074 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36075 Specify type.
36076 [ISO C standards]: Do not allow headers.
36077 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36078 is[abcdefghijklmnopqrstuvwxyz]*.
36079 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36080 to[abcdefghijklmnopqrstuvwxyz]*.
36081 [ISO C standards] (*_t): Do not allow.
36082 * conform/data/stdalign.h-data: New file.
36083 * conform/data/stdbool.h-data: Likewise.
36084 * conform/data/stdnoreturn.h-data: Likewise.
36085
360862012-11-07 Roland McGrath <roland@hack.frob.com>
36087
36088 [BZ #14815]
36089 * manual/filesys.texi (Directory Entries): Typo fix.
36090 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36091
360922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36093
36094 * elf/elf.h (EM_AARCH64): New macro.
36095 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36096 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36097 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36098 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36099 (R_AARCH64_TLSDESC): Likewise.
36100 (NT_ARM_TLS): Likewise.
36101 (NT_ARM_HW_BREAK): Likewise.
36102 (NT_ARM_HW_WATCH): Likewise.
36103
361042012-11-07 Joseph Myers <joseph@codesourcery.com>
36105
36106 [BZ #14811]
36107 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36108 (__ieee754_powl): Saturate nonzero exponents with absolute value
36109 below 0x1p-79 to +/- 0x1p-79.
36110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36111 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36112 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36113 nonzero exponents with absolute value below 0x1p-32 to +/-
36114 0x1p-32.
36115 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36116 (__ieee754_powl): Saturate nonzero exponents with absolute value
36117 below 0x1p-79 to +/- 0x1p-79.
36118 * math/libm-test.inc (pow_test): Add more tests.
36119
361202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36121
36122 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36123 _dl_s390_cap_flags with kernel. Increase string length.
36124 (_dl_s390_platforms): Add z196 and zEC12.
36125
361262012-11-07 Joseph Myers <joseph@codesourcery.com>
36127
36128 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36129 Change XOPEN21K to XOPEN2K.
36130
361312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36132
36133 * string/memmove.c: Use memcpy when possible.
36134
361352012-11-06 Andreas Jaeger <aj@suse.de>
36136
36137 * po/eo.po: Update from translation team.
36138
361392012-11-06 Joseph Myers <joseph@codesourcery.com>
36140
36141 [BZ #14793]
36142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36143 exponent and small x and y exponents, scale x or y up. Increase
36144 by 2 the exponent used in scaling up.
36145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36147 * math/libm-test.inc (fma_test): Add more tests.
36148 (fma_test_towardzero): Likewise.
36149 (fma_test_downward): Likewise.
36150 (fma_test_upward): Likewise.
36151
361522012-11-05 Joseph Myers <joseph@codesourcery.com>
36153
36154 [BZ #14805]
36155 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36156 fenv_t *.
36157
36158 [BZ #14801]
36159 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36160 namespace for names of struct fields.
36161 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36162 fenv_t fields.
36163 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36164 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36165
361662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36167
36168 [BZ #3665]
36169 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36170
361712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36172
36173 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36174 PTR_DEMANGLE.
36175
36176 [BZ #5246]
36177 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36178 PTR_DEMANGLE.
36179
361802012-11-04 Joseph Myers <joseph@codesourcery.com>
36181
36182 [BZ #14797]
36183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36184 definitely overflow as x * y not x * y + z.
36185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36187 * math/libm-test.inc (fma_test): Add more tests.
36188 (fma_test_towardzero): Likewise.
36189 (fma_test_downward): Likewise.
36190 (fma_test_upward): Likewise.
36191
361922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36193
36194 [BZ #157]
36195
36196 * include/stub-tag.h: Remove file.
36197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36198 '#include' of it.
36199 * manual/maint.texi (Porting): Don't reference it.
36200 * Makerules ($(objpfx)stubs): Likewise.
36201 * dirent/closedir.c: Don't include <stub-tag.h>.
36202 * dirent/dirfd.c: Likewise.
36203 * dirent/fdopendir.c: Likewise.
36204 * dirent/getdents.c: Likewise.
36205 * dirent/getdents64.c: Likewise.
36206 * dirent/opendir.c: Likewise.
36207 * dirent/readdir.c: Likewise.
36208 * dirent/readdir64.c: Likewise.
36209 * dirent/readdir64_r.c: Likewise.
36210 * dirent/readdir_r.c: Likewise.
36211 * dirent/rewinddir.c: Likewise.
36212 * dirent/seekdir.c: Likewise.
36213 * dirent/telldir.c: Likewise.
36214 * gmon/profil.c: Likewise.
36215 * grp/setgroups.c: Likewise.
36216 * inet/if_index.c: Likewise.
36217 * io/access.c: Likewise.
36218 * io/chdir.c: Likewise.
36219 * io/chmod.c: Likewise.
36220 * io/chown.c: Likewise.
36221 * io/close.c: Likewise.
36222 * io/dup.c: Likewise.
36223 * io/dup2.c: Likewise.
36224 * io/dup3.c: Likewise.
36225 * io/euidaccess.c: Likewise.
36226 * io/faccessat.c: Likewise.
36227 * io/fchdir.c: Likewise.
36228 * io/fchmod.c: Likewise.
36229 * io/fchmodat.c: Likewise.
36230 * io/fchown.c: Likewise.
36231 * io/fchownat.c: Likewise.
36232 * io/fcntl.c: Likewise.
36233 * io/flock.c: Likewise.
36234 * io/fstatfs.c: Likewise.
36235 * io/fstatfs64.c: Likewise.
36236 * io/fstatvfs.c: Likewise.
36237 * io/fstatvfs64.c: Likewise.
36238 * io/futimens.c: Likewise.
36239 * io/fxstat.c: Likewise.
36240 * io/fxstat64.c: Likewise.
36241 * io/fxstatat.c: Likewise.
36242 * io/fxstatat64.c: Likewise.
36243 * io/getcwd.c: Likewise.
36244 * io/isatty.c: Likewise.
36245 * io/lchmod.c: Likewise.
36246 * io/lchown.c: Likewise.
36247 * io/link.c: Likewise.
36248 * io/linkat.c: Likewise.
36249 * io/lseek.c: Likewise.
36250 * io/lseek64.c: Likewise.
36251 * io/lxstat64.c: Likewise.
36252 * io/mkdir.c: Likewise.
36253 * io/mkdirat.c: Likewise.
36254 * io/mkfifo.c: Likewise.
36255 * io/mkfifoat.c: Likewise.
36256 * io/open.c: Likewise.
36257 * io/open64.c: Likewise.
36258 * io/openat.c: Likewise.
36259 * io/openat64.c: Likewise.
36260 * io/pipe.c: Likewise.
36261 * io/pipe2.c: Likewise.
36262 * io/poll.c: Likewise.
36263 * io/posix_fadvise.c: Likewise.
36264 * io/posix_fadvise64.c: Likewise.
36265 * io/posix_fallocate.c: Likewise.
36266 * io/posix_fallocate64.c: Likewise.
36267 * io/read.c: Likewise.
36268 * io/readlink.c: Likewise.
36269 * io/readlinkat.c: Likewise.
36270 * io/rmdir.c: Likewise.
36271 * io/sendfile.c: Likewise.
36272 * io/sendfile64.c: Likewise.
36273 * io/statfs.c: Likewise.
36274 * io/statfs64.c: Likewise.
36275 * io/statvfs.c: Likewise.
36276 * io/statvfs64.c: Likewise.
36277 * io/symlink.c: Likewise.
36278 * io/symlinkat.c: Likewise.
36279 * io/ttyname.c: Likewise.
36280 * io/ttyname_r.c: Likewise.
36281 * io/umask.c: Likewise.
36282 * io/unlink.c: Likewise.
36283 * io/unlinkat.c: Likewise.
36284 * io/utime.c: Likewise.
36285 * io/utimensat.c: Likewise.
36286 * io/write.c: Likewise.
36287 * io/xmknod.c: Likewise.
36288 * io/xmknodat.c: Likewise.
36289 * io/xstat.c: Likewise.
36290 * io/xstat64.c: Likewise.
36291 * login/getpt.c: Likewise.
36292 * login/grantpt.c: Likewise.
36293 * login/unlockpt.c: Likewise.
36294 * math/e_acoshl.c: Likewise.
36295 * math/e_acosl.c: Likewise.
36296 * math/e_asinl.c: Likewise.
36297 * math/e_atan2l.c: Likewise.
36298 * math/e_atanhl.c: Likewise.
36299 * math/e_coshl.c: Likewise.
36300 * math/e_expl.c: Likewise.
36301 * math/e_fmodl.c: Likewise.
36302 * math/e_gammal_r.c: Likewise.
36303 * math/e_hypotl.c: Likewise.
36304 * math/e_j0l.c: Likewise.
36305 * math/e_j1l.c: Likewise.
36306 * math/e_jnl.c: Likewise.
36307 * math/e_lgammal_r.c: Likewise.
36308 * math/e_log10l.c: Likewise.
36309 * math/e_log2l.c: Likewise.
36310 * math/e_logl.c: Likewise.
36311 * math/e_powl.c: Likewise.
36312 * math/e_rem_pio2l.c: Likewise.
36313 * math/e_sinhl.c: Likewise.
36314 * math/e_sqrtl.c: Likewise.
36315 * math/fclrexcpt.c: Likewise.
36316 * math/fedisblxcpt.c: Likewise.
36317 * math/feenablxcpt.c: Likewise.
36318 * math/fegetenv.c: Likewise.
36319 * math/fegetexcept.c: Likewise.
36320 * math/fegetround.c: Likewise.
36321 * math/feholdexcpt.c: Likewise.
36322 * math/fesetenv.c: Likewise.
36323 * math/fesetround.c: Likewise.
36324 * math/feupdateenv.c: Likewise.
36325 * math/fgetexcptflg.c: Likewise.
36326 * math/fraiseexcpt.c: Likewise.
36327 * math/fsetexcptflg.c: Likewise.
36328 * math/ftestexcept.c: Likewise.
36329 * math/k_cosl.c: Likewise.
36330 * math/k_rem_pio2l.c: Likewise.
36331 * math/k_sinl.c: Likewise.
36332 * math/k_tanl.c: Likewise.
36333 * math/s_asinhl.c: Likewise.
36334 * math/s_atanl.c: Likewise.
36335 * math/s_cbrtl.c: Likewise.
36336 * math/s_erfl.c: Likewise.
36337 * math/s_expm1l.c: Likewise.
36338 * math/s_log1pl.c: Likewise.
36339 * math/s_tanhl.c: Likewise.
36340 * misc/acct.c: Likewise.
36341 * misc/brk.c: Likewise.
36342 * misc/chflags.c: Likewise.
36343 * misc/chroot.c: Likewise.
36344 * misc/fchflags.c: Likewise.
36345 * misc/fgetxattr.c: Likewise.
36346 * misc/flistxattr.c: Likewise.
36347 * misc/fremovexattr.c: Likewise.
36348 * misc/fsetxattr.c: Likewise.
36349 * misc/fsync.c: Likewise.
36350 * misc/ftruncate.c: Likewise.
36351 * misc/futimes.c: Likewise.
36352 * misc/futimesat.c: Likewise.
36353 * misc/getdomain.c: Likewise.
36354 * misc/getdtsz.c: Likewise.
36355 * misc/gethostid.c: Likewise.
36356 * misc/gethostname.c: Likewise.
36357 * misc/getloadavg.c: Likewise.
36358 * misc/getpagesize.c: Likewise.
36359 * misc/getsysstats.c: Likewise.
36360 * misc/getxattr.c: Likewise.
36361 * misc/gtty.c: Likewise.
36362 * misc/ioctl.c: Likewise.
36363 * misc/lgetxattr.c: Likewise.
36364 * misc/listxattr.c: Likewise.
36365 * misc/llistxattr.c: Likewise.
36366 * misc/lremovexattr.c: Likewise.
36367 * misc/lsetxattr.c: Likewise.
36368 * misc/lutimes.c: Likewise.
36369 * misc/madvise.c: Likewise.
36370 * misc/mincore.c: Likewise.
36371 * misc/mlock.c: Likewise.
36372 * misc/mlockall.c: Likewise.
36373 * misc/mmap.c: Likewise.
36374 * misc/mprotect.c: Likewise.
36375 * misc/msync.c: Likewise.
36376 * misc/munlock.c: Likewise.
36377 * misc/munlockall.c: Likewise.
36378 * misc/munmap.c: Likewise.
36379 * misc/preadv.c: Likewise.
36380 * misc/preadv64.c: Likewise.
36381 * misc/ptrace.c: Likewise.
36382 * misc/pwritev.c: Likewise.
36383 * misc/pwritev64.c: Likewise.
36384 * misc/readv.c: Likewise.
36385 * misc/reboot.c: Likewise.
36386 * misc/remap_file_pages.c: Likewise.
36387 * misc/removexattr.c: Likewise.
36388 * misc/revoke.c: Likewise.
36389 * misc/select.c: Likewise.
36390 * misc/setdomain.c: Likewise.
36391 * misc/setegid.c: Likewise.
36392 * misc/seteuid.c: Likewise.
36393 * misc/sethostid.c: Likewise.
36394 * misc/sethostname.c: Likewise.
36395 * misc/setregid.c: Likewise.
36396 * misc/setreuid.c: Likewise.
36397 * misc/setxattr.c: Likewise.
36398 * misc/sstk.c: Likewise.
36399 * misc/stty.c: Likewise.
36400 * misc/swapoff.c: Likewise.
36401 * misc/swapon.c: Likewise.
36402 * misc/sync.c: Likewise.
36403 * misc/syncfs.c: Likewise.
36404 * misc/syscall.c: Likewise.
36405 * misc/truncate.c: Likewise.
36406 * misc/ualarm.c: Likewise.
36407 * misc/usleep.c: Likewise.
36408 * misc/ustat.c: Likewise.
36409 * misc/utimes.c: Likewise.
36410 * misc/vhangup.c: Likewise.
36411 * misc/writev.c: Likewise.
36412 * posix/_exit.c: Likewise.
36413 * posix/alarm.c: Likewise.
36414 * posix/execve.c: Likewise.
36415 * posix/fexecve.c: Likewise.
36416 * posix/fork.c: Likewise.
36417 * posix/fpathconf.c: Likewise.
36418 * posix/getaddrinfo.c: Likewise.
36419 * posix/getegid.c: Likewise.
36420 * posix/geteuid.c: Likewise.
36421 * posix/getgid.c: Likewise.
36422 * posix/getgroups.c: Likewise.
36423 * posix/getlogin.c: Likewise.
36424 * posix/getlogin_r.c: Likewise.
36425 * posix/getpgid.c: Likewise.
36426 * posix/getpid.c: Likewise.
36427 * posix/getppid.c: Likewise.
36428 * posix/getresgid.c: Likewise.
36429 * posix/getresuid.c: Likewise.
36430 * posix/getsid.c: Likewise.
36431 * posix/getuid.c: Likewise.
36432 * posix/glob64.c: Likewise.
36433 * posix/nanosleep.c: Likewise.
36434 * posix/pathconf.c: Likewise.
36435 * posix/pause.c: Likewise.
36436 * posix/posix_madvise.c: Likewise.
36437 * posix/pread.c: Likewise.
36438 * posix/pread64.c: Likewise.
36439 * posix/pwrite.c: Likewise.
36440 * posix/pwrite64.c: Likewise.
36441 * posix/sched_getaffinity.c: Likewise.
36442 * posix/sched_getp.c: Likewise.
36443 * posix/sched_gets.c: Likewise.
36444 * posix/sched_primax.c: Likewise.
36445 * posix/sched_primin.c: Likewise.
36446 * posix/sched_rr_gi.c: Likewise.
36447 * posix/sched_setaffinity.c: Likewise.
36448 * posix/sched_setp.c: Likewise.
36449 * posix/sched_sets.c: Likewise.
36450 * posix/sched_yield.c: Likewise.
36451 * posix/setgid.c: Likewise.
36452 * posix/setlogin.c: Likewise.
36453 * posix/setpgid.c: Likewise.
36454 * posix/setresgid.c: Likewise.
36455 * posix/setresuid.c: Likewise.
36456 * posix/setsid.c: Likewise.
36457 * posix/setuid.c: Likewise.
36458 * posix/sleep.c: Likewise.
36459 * posix/spawni.c: Likewise.
36460 * posix/sysconf.c: Likewise.
36461 * posix/times.c: Likewise.
36462 * posix/wait.c: Likewise.
36463 * posix/wait3.c: Likewise.
36464 * posix/wait4.c: Likewise.
36465 * posix/waitpid.c: Likewise.
36466 * resolv/gai_sigqueue.c: Likewise.
36467 * resource/getpriority.c: Likewise.
36468 * resource/getrlimit.c: Likewise.
36469 * resource/getrusage.c: Likewise.
36470 * resource/nice.c: Likewise.
36471 * resource/setpriority.c: Likewise.
36472 * resource/setrlimit.c: Likewise.
36473 * resource/ulimit.c: Likewise.
36474 * rt/aio_cancel.c: Likewise.
36475 * rt/aio_fsync.c: Likewise.
36476 * rt/aio_read.c: Likewise.
36477 * rt/aio_sigqueue.c: Likewise.
36478 * rt/aio_suspend.c: Likewise.
36479 * rt/aio_write.c: Likewise.
36480 * rt/clock_getres.c: Likewise.
36481 * rt/clock_gettime.c: Likewise.
36482 * rt/clock_nanosleep.c: Likewise.
36483 * rt/clock_settime.c: Likewise.
36484 * rt/lio_listio.c: Likewise.
36485 * rt/mq_close.c: Likewise.
36486 * rt/mq_getattr.c: Likewise.
36487 * rt/mq_notify.c: Likewise.
36488 * rt/mq_open.c: Likewise.
36489 * rt/mq_receive.c: Likewise.
36490 * rt/mq_send.c: Likewise.
36491 * rt/mq_setattr.c: Likewise.
36492 * rt/mq_timedreceive.c: Likewise.
36493 * rt/mq_timedsend.c: Likewise.
36494 * rt/mq_unlink.c: Likewise.
36495 * rt/shm_open.c: Likewise.
36496 * rt/shm_unlink.c: Likewise.
36497 * rt/timer_create.c: Likewise.
36498 * rt/timer_delete.c: Likewise.
36499 * rt/timer_getoverr.c: Likewise.
36500 * rt/timer_gettime.c: Likewise.
36501 * rt/timer_settime.c: Likewise.
36502 * setjmp/__longjmp.c: Likewise.
36503 * setjmp/setjmp.c: Likewise.
36504 * signal/kill.c: Likewise.
36505 * signal/killpg.c: Likewise.
36506 * signal/raise.c: Likewise.
36507 * signal/sigaction.c: Likewise.
36508 * signal/sigaltstack.c: Likewise.
36509 * signal/sigblock.c: Likewise.
36510 * signal/sigignore.c: Likewise.
36511 * signal/sigintr.c: Likewise.
36512 * signal/signal.c: Likewise.
36513 * signal/sigpause.c: Likewise.
36514 * signal/sigpending.c: Likewise.
36515 * signal/sigqueue.c: Likewise.
36516 * signal/sigreturn.c: Likewise.
36517 * signal/sigset.c: Likewise.
36518 * signal/sigsetmask.c: Likewise.
36519 * signal/sigstack.c: Likewise.
36520 * signal/sigsuspend.c: Likewise.
36521 * signal/sigtimedwait.c: Likewise.
36522 * signal/sigvec.c: Likewise.
36523 * signal/sigwait.c: Likewise.
36524 * signal/sigwaitinfo.c: Likewise.
36525 * signal/sysv_signal.c: Likewise.
36526 * socket/accept.c: Likewise.
36527 * socket/accept4.c: Likewise.
36528 * socket/bind.c: Likewise.
36529 * socket/connect.c: Likewise.
36530 * socket/getpeername.c: Likewise.
36531 * socket/getsockname.c: Likewise.
36532 * socket/getsockopt.c: Likewise.
36533 * socket/isfdtype.c: Likewise.
36534 * socket/listen.c: Likewise.
36535 * socket/recv.c: Likewise.
36536 * socket/recvfrom.c: Likewise.
36537 * socket/recvmsg.c: Likewise.
36538 * socket/send.c: Likewise.
36539 * socket/sendmsg.c: Likewise.
36540 * socket/sendto.c: Likewise.
36541 * socket/setsockopt.c: Likewise.
36542 * socket/shutdown.c: Likewise.
36543 * socket/sockatmark.c: Likewise.
36544 * socket/socket.c: Likewise.
36545 * socket/socketpair.c: Likewise.
36546 * stdio-common/ctermid.c: Likewise.
36547 * stdio-common/cuserid.c: Likewise.
36548 * stdio-common/remove.c: Likewise.
36549 * stdio-common/rename.c: Likewise.
36550 * stdio-common/renameat.c: Likewise.
36551 * stdio-common/tempname.c: Likewise.
36552 * stdlib/getcontext.c: Likewise.
36553 * stdlib/makecontext.c: Likewise.
36554 * stdlib/setcontext.c: Likewise.
36555 * stdlib/swapcontext.c: Likewise.
36556 * stdlib/system.c: Likewise.
36557 * streams/fattach.c: Likewise.
36558 * streams/fdetach.c: Likewise.
36559 * streams/getmsg.c: Likewise.
36560 * streams/getpmsg.c: Likewise.
36561 * streams/putmsg.c: Likewise.
36562 * streams/putpmsg.c: Likewise.
36563 * sysdeps/unix/bsd/getpt.c: Likewise.
36564 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36565 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36566 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36568 Likewise.
36569 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36570 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36571 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36572 * sysvipc/msgctl.c: Likewise.
36573 * sysvipc/msgget.c: Likewise.
36574 * sysvipc/msgrcv.c: Likewise.
36575 * sysvipc/msgsnd.c: Likewise.
36576 * sysvipc/semctl.c: Likewise.
36577 * sysvipc/semget.c: Likewise.
36578 * sysvipc/semop.c: Likewise.
36579 * sysvipc/semtimedop.c: Likewise.
36580 * sysvipc/shmat.c: Likewise.
36581 * sysvipc/shmctl.c: Likewise.
36582 * sysvipc/shmdt.c: Likewise.
36583 * sysvipc/shmget.c: Likewise.
36584 * termios/tcdrain.c: Likewise.
36585 * termios/tcflow.c: Likewise.
36586 * termios/tcflush.c: Likewise.
36587 * termios/tcgetattr.c: Likewise.
36588 * termios/tcgetpgrp.c: Likewise.
36589 * termios/tcsendbrk.c: Likewise.
36590 * termios/tcsetattr.c: Likewise.
36591 * termios/tcsetpgrp.c: Likewise.
36592 * time/adjtime.c: Likewise.
36593 * time/clock.c: Likewise.
36594 * time/getitimer.c: Likewise.
36595 * time/gettimeofday.c: Likewise.
36596 * time/setitimer.c: Likewise.
36597 * time/settimeofday.c: Likewise.
36598 * time/stime.c: Likewise.
36599 * time/time.c: Likewise.
36600
366012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36602
36603 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36604 /usr/old/bin.
36605
36606 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36607 instead of spaces.
36608 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36609
366102012-11-03 Joseph Myers <joseph@codesourcery.com>
36611
36612 [BZ #14796]
36613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36614 FE_TONEAREST before applying Dekker multiplication and Knuth
36615 addition. Clear inexact exceptions and check for exact zero
36616 results afterwards.
36617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36618 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36620 * math/libm-test.inc (fma_test): Add more tests.
36621 (fma_test_towardzero): Likewise.
36622 (fma_test_downward): Likewise.
36623 (fma_test_upward): Likewise.
36624 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36625 function.
36626 (libc_fesetround): New macro.
36627 (libc_fesetroundf): Likewise.
36628 (libc_fesetroundl): Likewise.
36629 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36630 function.
36631 (libc_fesetround_387): Likewise.
36632 (libc_fesetroundf): New macro.
36633 (libc_fesetround): Likewise.
36634 (libc_fesetroundl): Likewise.
36635 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36636 function.
36637 (libc_fesetroundf): New macro.
36638 (libc_fesetround): Likewise.
36639 (libc_fesetroundl): Likewise.
36640 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36641 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36642 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36643 libm_hidden_ver.
36644 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36645 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36646 libm_hidden_def.
36647 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36648 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36649 libm_hidden_ver.
36650 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36651 libm_hidden_def.
36652
36653 [BZ #3439]
36654 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36655 integer constant usable in #if and use that to give value to enum
36656 constant.
36657 (FE_DIVBYZERO): Likewise.
36658 (FE_UNDERFLOW): Likewise.
36659 (FE_OVERFLOW): Likewise.
36660 (FE_INVALID): Likewise.
36661 (FE_INVALID_SNAN): Likewise.
36662 (FE_INVALID_ISI): Likewise.
36663 (FE_INVALID_IDI): Likewise.
36664 (FE_INVALID_ZDZ): Likewise.
36665 (FE_INVALID_IMZ): Likewise.
36666 (FE_INVALID_COMPARE): Likewise.
36667 (FE_INVALID_SOFTWARE): Likewise.
36668 (FE_INVALID_SQRT): Likewise.
36669 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36670 (FE_TONEAREST): Likewise.
36671 (FE_TOWARDZERO): Likewise.
36672 (FE_UPWARD): Likewise.
36673 (FE_DOWNWARD): Likewise.
36674 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36675 (FE_DIVBYZERO): Likewise.
36676 (FE_OVERFLOW): Likewise.
36677 (FE_UNDERFLOW): Likewise.
36678 (FE_INEXACT): Likewise.
36679 (FE_TONEAREST): Likewise.
36680 (FE_DOWNWARD): Likewise.
36681 (FE_UPWARD): Likewise.
36682 (FE_TOWARDZERO): Likewise.
36683 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36684 (FE_UNDERFLOW): Likewise.
36685 (FE_OVERFLOW): Likewise.
36686 (FE_DIVBYZERO): Likewise.
36687 (FE_INVALID): Likewise.
36688 (FE_TONEAREST): Likewise.
36689 (FE_TOWARDZERO): Likewise.
36690 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36691 (FE_OVERFLOW): Likewise.
36692 (FE_UNDERFLOW): Likewise.
36693 (FE_DIVBYZERO): Likewise.
36694 (FE_INEXACT): Likewise.
36695 (FE_TONEAREST): Likewise.
36696 (FE_TOWARDZERO): Likewise.
36697 (FE_UPWARD): Likewise.
36698 (FE_DOWNWARD): Likewise.
36699 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36700 (FE_DIVBYZERO): Likewise.
36701 (FE_OVERFLOW): Likewise.
36702 (FE_UNDERFLOW): Likewise.
36703 (FE_INEXACT): Likewise.
36704 (FE_TONEAREST): Likewise.
36705 (FE_DOWNWARD): Likewise.
36706 (FE_UPWARD): Likewise.
36707 (FE_TOWARDZERO): Likewise.
36708
367092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36710
36711 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36712
367132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36714
36715 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36716 commands. Quote $PWD.
36717 (blacklist_exports): Don't use remove_newlines. Replace "declare
36718 -x" by "export".
36719 (remove_newlines): Remove.
36720
367212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36722
36723 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36724 * stdlib/stdlib.h (atof): Moved to ...
36725 * include/bits/stdlib-float.h: Here. New file.
36726 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36727 * stdlib/bits/stdlib-float.h: New file.
36728 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36729 -mno-sse -mno-mmx.
36730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36731 <xmmintrin.h>.
36732
367332012-11-02 Joseph Myers <joseph@codesourcery.com>
36734
36735 * conform/conformtest.pl (@headers): Add fenv.h.
36736 * conform/data/fenv.h-data: New file.
36737 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36738 include of <math/fenv.h>.
36739
36740 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36741 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36742 && !UNIX98]. Enables tests for XOPEN2K8.
36743 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36744 POSIX2008]: Likewise.
36745
36746 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36747 (struct rusage): Do not expect type or its members.
36748
36749 [BZ #3439]
36750 * math/math.h (FP_NAN): Define macro to integer constant usable in
36751 #if and use that to give value to enum constant.
36752 (FP_INFINITE): Likewise.
36753 (FP_ZERO): Likewise.
36754 (FP_SUBNORMAL): Likewise.
36755 (FP_NORMAL): Likewise.
36756
367572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36758
36759 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36760 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36761 arguments.
36762
367632012-11-02 Roland McGrath <roland@hack.frob.com>
36764
36765 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36766 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36767 autoconf-time if not.
36768 * configure.in: Remove AC_PREREQ.
36769
367702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36771
36772 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36773 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36774 of the internal implementation.
36775
367762012-11-02 Joseph Myers <joseph@codesourcery.com>
36777
36778 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36779 except include of <misc/sys/syslog.h>.
36780
367812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36782
36783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36784 function returns with a NULL context exit with zero.
36785
367862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36787
36788 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36789
367902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36791
36792 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36793 (run_program_cmd): This.
36794 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36795 (tst_langinfo): New variable. Use it.
36796
367972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36798
36799 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36800 floating point opcodes.
36801
368022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36803
36804 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36805 variable.
36806
36807 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36808
36809 * sysdeps/mach/hurd/powerpc: Remove directory.
36810 * sysdeps/mach/powerpc: Likewise.
36811
368122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36813
36814 * scripts/check-local-headers.sh: Ignore c++ headers.
36815
368162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36817
36818 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36819 __libc_cleanup_region_start argument.
36820
368212012-11-01 Joseph Myers <joseph@codesourcery.com>
36822
36823 [BZ #14784]
36824 [BZ #14785]
36825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36826 x * y using scaling, not as x * y + z.
36827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36829 * math/libm-test.inc (fma_test): Add more tests.
36830 (fma_test_towardzero): Likewise.
36831 (fma_test_downward): Likewise.
36832 (fma_test_upward): Likewise.
36833
368342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36835
36836 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36837
368382012-10-31 Joseph Myers <joseph@codesourcery.com>
36839
36840 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36841 New variable.
36842
368432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36844
36845 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36846
368472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36848
36849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36850 Fix sort order.
36851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36852 Likewise.
36853
368542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36855
36856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36857 Fix the order of the list for glibc 2.17.
36858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36859 Likewise.
36860
368612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36862
36863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36864
368652012-10-31 Joseph Myers <joseph@codesourcery.com>
36866
36867 [BZ #14610]
36868 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36869 for low part of x being zero before using __atanl (y).
36870 * math/libm-test.inc (atan2_test): Add another test.
36871
36872 * manual/install.texi (Configuring and compiling): Document
36873 general use of test-wrapper and test-wrapper-env.
36874 * INSTALL: Regenerated.
36875
36876 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36877 (__fma): Do not extract and scale down low bits on after-rounding
36878 systems when result rounded to normal precision would have normal
36879 exponent.
36880 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36881 (__fmal): Do not extract and scale down low bits on after-rounding
36882 systems when result rounded to normal precision would have normal
36883 exponent.
36884 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36885 (__fmal): Do not extract and scale down low bits on after-rounding
36886 systems when result rounded to normal precision would have normal
36887 exponent.
36888 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36889 macro.
36890 (fma_test): Add more tests.
36891 (fma_test_towardzero): Likewise.
36892 (fma_test_downward): Likewise.
36893 (fma_test_upward): Likewise.
36894
368952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36896
36897 * sysdeps/i386/tininess.h: Renamed to ...
36898 * sysdeps/x86/tininess.h: This.
36899 * sysdeps/x86_64/tininess.h: Removed.
36900
369012012-10-30 Joseph Myers <joseph@codesourcery.com>
36902
36903 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36904 input. Use $(build-program-cmd).
36905 ($(objpfx)tst-array1-static.out): Likewise.
36906 ($(objpfx)tst-array2.out): Likewise.
36907 ($(objpfx)tst-array3.out): Likewise.
36908 ($(objpfx)tst-array4.out): Likewise.
36909 ($(objpfx)tst-array5.out): Likewise.
36910 ($(objpfx)tst-array5-static.out): Likewise.
36911
369122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36913
36914 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36915 if defined.
36916
36917 * nss/nsswitch.h (nss_interface_function): Provide new
36918 macro for use with NSS functions.
36919 * grp/initgroups.c: Use new macro.
36920 * nss/getXXbyYY.c: Likewise.
36921 * nss/getXXbyYY_r.c: Likewise.
36922 * nss/getXXent.c: Likewise.
36923 * nss/getXXent_r.c: Likewise.
36924 * sysdeps/posix/getaddrinfo.c: Likewise.
36925
369262012-10-30 Andreas Jaeger <aj@suse.de>
36927
36928 * po/ru.po: Update Russion translation from translation project.
36929
369302012-10-30 Joseph Myers <joseph@codesourcery.com>
36931
36932 [BZ #14152]
36933 [BZ #14783]
36934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36935 result and shift together with sticky bit instead of replicating
36936 round-to-nearest rounding.
36937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36939 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36940 missing underflow exceptions.
36941 (fma_test_towardzero): Add more tests.
36942 (fma_test_downward): Likewise.
36943 (fma_test_upward): Likewise.
36944
36945 [BZ #14047]
36946 * sysdeps/generic/tininess.h: New file.
36947 * sysdeps/i386/tininess.h: Likewise.
36948 * sysdeps/sh/tininess.h: Likewise.
36949 * sysdeps/x86_64/tininess.h: Likewise.
36950 * stdlib/tst-strtod-underflow.c: Likewise.
36951 * stdlib/tst-tininess.c: Likewise.
36952 * stdlib/strtod_l.c: Include <tininess.h>.
36953 (round_and_return): Do not set errno for exact underflow cases.
36954 Force an underflow exception when setting errno for underflow.
36955 Determine underflow based on rounding to normal precision if
36956 TININESS_AFTER_ROUNDING.
36957 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36958 ERANGE for exact underflow cases.
36959 * stdlib/Makefile (tests): Add tst-tininess and
36960 tst-strtod-underflow.
36961 ($(objpfx)tst-tininess): Use $(link-libm).
36962 ($(objpfx)tst-strtod-underflow): Likewise.
36963
369642012-10-30 Andreas Jaeger <aj@suse.de>
36965
36966 [BZ#14767]
36967 * elf/Makefile (tests): Remove conditional for have-initfini-array
36968 since this is now always required and the variable does not exist
36969 anymore.
36970 (tests-static): Likewise.
36971 (modules-names): Likewise.
36972
36973 * po/eo.po: Add Esperanto translation from translation project.
36974
36975 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36976 merged with constructor/destructor.
36977 (init_array): Likewise.
36978 * elf/tst-array2dep.c (fini_array): Likewise.
36979 (init_array): Likewise.
36980
369812012-10-29 Mike Frysinger <vapier@gentoo.org>
36982
36983 * manual/message.texi: Delete @cartouche tags.
36984
369852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36986
36987 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36988 EOPNOTSUPP.
36989 * sysdeps/mach/hurd/fsync.c: Likewise.
36990
36991 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36992 [_POSIX_REALTIME_SIGNALS]: Change condition to
36993 [_POSIX_REALTIME_SIGNALS > 0].
36994
369952012-10-27 Andreas Jaeger <aj@suse.de>
36996
36997 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36998 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37000 [__WORDSIZE != 64]: Likewise.
37001
370022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37003
37004 * iconvdata/tst-table.sh: Remove ${SHELL}.
37005 * iconvdata/tst-tables.sh: Likewise.
37006
370072012-10-25 David S. Miller <davem@davemloft.net>
37008
37009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37010 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37011 of strtoull.
37012
37013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37014 ifunc-impl-list.c
37015 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37016 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37017 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37018 file.
37019
370202012-10-25 Roland McGrath <roland@hack.frob.com>
37021
37022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37023 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37024 __getdirentries.
37025
370262012-10-25 Joseph Myers <joseph@codesourcery.com>
37027 Jim Blandy <jimb@codesourcery.com>
37028
37029 * scripts/cross-test-ssh.sh: New file.
37030 * manual/install.texi (Configuring and compiling): Document use of
37031 cross-test-ssh.sh.
37032 * INSTALL: Regenerated.
37033
370342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37035
37036 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37037 EOPNOTSUPP.
37038
370392012-10-25 Joseph Myers <joseph@codesourcery.com>
37040
37041 * Makeconfig (run-program-prefix): Fix comment.
37042
370432012-10-24 Joseph Myers <joseph@codesourcery.com>
37044 Jim Blandy <jimb@codesourcery.com>
37045
37046 * Makeconfig (test-wrapper): New variable,
37047 (test-wrapper-env): Likewise.
37048 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37049 (run-built-tests): Define to yes.
37050 (run-program-prefix): Use $(test-wrapper).
37051 (built-program-cmd): Likewise.
37052 * Rules (make-test-out): Use $(test-wrapper-env) and
37053 $(host-built-program-cmd).
37054 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37055 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37056 tst-pathopt.sh.
37057 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37058 $(test-wrapper-env) to tst-rtld-load-self.sh.
37059 ($(objpfx)order2.out): Use $(test-wrapper).
37060 ($(objpfx)tst-initorder.out): Likewise.
37061 ($(objpfx)tst-initorder2.out): Likewise.
37062 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37063 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37064 (test_wrapper_env): New variable. Use it to run ld.so.
37065 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37066 Use it to run ld.so.
37067 (test_wrapper_env): Likewise.
37068 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37069 $(test-wrapper) to run-iconv-test.sh.
37070 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37071 (ICONV): Use $test_wrapper.
37072 * posix/Makefile ($(objpfx)globtest.out): Pass
37073 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37074 globtest.sh, not $(run-program-prefix).
37075 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37076 (test_wrapper): Likewise.
37077 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37078 set together with run_via_rtld_prefix.
37079 (run_program_prefix): Define in terms of test_wrapper and
37080 run_via_rtld_prefix.
37081
370822012-10-24 Roland McGrath <roland@hack.frob.com>
37083
37084 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37085 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37086 Targets removed.
37087
37088 [BZ #14743]
37089 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37090 Declare __clock_getres, __clock_gettime, __clock_settime,
37091 __clock_nanosleep, and __clock_getcpuclockid.
37092 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37093 Remove librt_hidden_def (clock_gettime).
37094 * sysdeps/unix/clock_gettime.c: Likewise.
37095 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37096 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37097 * rt/clock_getres.c: Define __clock_getres as an alias.
37098 * sysdeps/posix/clock_getres.c: Likewise.
37099 * rt/clock_settime.c: Define __clock_settime as an alias.
37100 * sysdeps/unix/clock_settime.c: Likewise.
37101 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37102 * sysdeps/unix/clock_nanosleep.c: Likewise.
37103 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37104 * rt/clock-compat.c: New file.
37105 * rt/Makefile (librt-routines): Add clock-compat and move
37106 $(clock-routines) to ...
37107 (routines): ... here, new variable.
37108 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37109 Don't add get_clockfreq here.
37110 * rt/Versions (libc: GLIBC_2.17): New version set.
37111 Add clock_* symbols here.
37112 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37114 (GLIBC_2.17): Add clock_* symbols.
37115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37119 Likewise.
37120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37121 Likewise.
37122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37126 * NEWS: Mention the move.
37127
37128 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37129 Use __open, __read, __close rather than their public counterparts.
37130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37131 (__get_clockfreq_via_cpuinfo): Likewise.
37132 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37133 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37134
37135 * config.h.in (HAVE_IFUNC): New #undef.
37136 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37137 was successful.
37138 * configure: Regenerated.
37139
371402012-10-24 Mike Frysinger <vapier@gentoo.org>
37141
37142 * configure.in: Move READELF check to start of file.
37143 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37144 libc_cv_asm_gnu_indirect_function in the process.
37145 * configure: Regenerated.
37146
371472012-10-24 Mike Frysinger <vapier@gentoo.org>
37148
37149 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37150 send the output to /dev/null.
37151 (libc_cv_cc_with_libunwind): Likewise.
37152 (libc_cv_as_noexecstack): Likewise.
37153 * configure: Regenerate.
37154
371552012-10-24 Joseph Myers <joseph@codesourcery.com>
37156
37157 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37158
37159 * posix/globtest.sh (TMPDIR): Do not set.
37160 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37161 (testout): Likewise.
37162
371632012-10-24 Andreas Jaeger <aj@suse.de>
37164
37165 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37166 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37167 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37168 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37169 posix_fadvise64, posix_fallocate64.
37170
37171 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37172 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37173 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37174 Likewise.
37175 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37176 Likewise.
37177 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37178
37179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37180 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37181 <bits/fcntl-linux.h>.
37182 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37183
37184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37185 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37186 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37187 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37188 [__WORDSIZE != 64]: Likewise.
37189
371902012-10-23 Joseph Myers <joseph@codesourcery.com>
37191
37192 * Makeconfig (run-built-tests): New variable.
37193 * Rules [$(cross-compiling) = yes]: Change condition to
37194 [$(run-built-tests) = no].
37195 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37196 to [$(run-built-tests) = yes].
37197 * elf/Makefile [$(cross-compiling) = no]: Likewise
37198 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37199 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37200 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37201 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37202 * io/Makefile [$(cross-compiling) = no]: Likewise.
37203 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37204 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37205 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37206 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37207 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37208 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37209 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37210 * string/Makefile [$(cross-compiling) = no]: Likewise.
37211
37212 * posix/Makefile ($(objpfx)globtest.out): Pass
37213 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37214 $(rtld-installed-name).
37215 * posix/globtest.sh (elf_objpfx): Remove variable.
37216 (rtld_installed_name): Likewise.
37217 (library_path): Likewise.
37218 (run_program_prefix): New variable. Use for running globtest
37219 binary.
37220
372212012-10-23 Jim Blandy <jimb@codesourcery.com>
37222 Joseph Myers <joseph@codesourcery.com>
37223
37224 * Makeconfig (host-built-program-cmd): New variable.
37225 * elf/Makefile (tst-stackguard1-ARGS): Use
37226 $(host-built-program-cmd).
37227 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37228 (tst-spawn-ARGS): Likewise.
37229 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37230
372312012-10-23 Joseph Myers <joseph@codesourcery.com>
37232 Jim Blandy <jimb@codesourcery.com>
37233
37234 * Makeconfig (run-via-rtld-prefix): New variable.
37235 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37236 (built-program-cmd): Likewise.
37237
372382012-10-22 Andreas Jaeger <aj@suse.de>
37239
37240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37241 __O_RSYNC if it exists, otherwise to O_SYNC.
37242
372432012-10-22 Jim Blandy <jimb@codesourcery.com>
37244 Joseph Myers <joseph@codesourcery.com>
37245
37246 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37247 /dev/null.
37248 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37249 from /dev/null
37250 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37251 /dev/null.
37252
372532012-10-22 Andreas Jaeger <aj@suse.de>
37254
37255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37256 Define always.
37257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37258
37259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37260 bits/fcntl-linux.h.
37261
37262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37263 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37264
37265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37266 to __O_LARGEFILE.
37267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37268 to __O_LARGEFILE.
37269
372702012-10-21 Jim Blandy <jimb@codesourcery.com>
37271 Joseph Myers <joseph@codesourcery.com>
37272
37273 * config.make.in (NM): New variable.
37274
372752012-10-21 Andreas Jaeger <aj@suse.de>
37276
37277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37278 definitions and declarations that are provided by
37279 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37280
372812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37282
37283 [BZ #14683]
37284 * elf/Makefile (tests-static): Add tst-leaks1-static.
37285 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37286 ($(objpfx)tst-leaks1-static): New rule.
37287 ($(objpfx)tst-leaks1-static-mem): Likewise.
37288 (tst-leaks1-static-ENV): New macro.
37289 * elf/dl-open.c (dl_open_worker): Check the main application
37290 only if SHARED is defined.
37291 * elf/tst-leaks1-static.c: New file.
37292
372932012-10-20 Andreas Jaeger <aj@suse.de>
37294
37295 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37296 generic values for Linux.
37297 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37298 and declarations that are provided by <bits/fcntl-linux.h> and
37299 include <bits/fcntl-linux.h>.
37300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37302
373032012-10-20 Roland McGrath <roland@hack.frob.com>
37304
37305 * io/fcntl.h: Move include of <bits/types.h> to the top and
37306 include it unconditionally.
37307
373082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37309
37310 * wcsmbs/Makefile (tests-ifunc): New variable.
37311 (tests): Add $(tests-ifunc).
37312 * wcsmbs/test-wcschr-ifunc.c: New file.
37313 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37314 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37315 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37316 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37317 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37318
37319 * string/Makefile (tests-ifunc): New variable.
37320 (tests): Add $(tests-ifunc).
37321 * string/test-memccpy.c (TEST_NAME): New macro.
37322 * string/test-memchr.c (TEST_NAME): Likewise.
37323 * string/test-memcmp.c (TEST_NAME): Likewise.
37324 * string/test-memcpy.c (TEST_NAME): Likewise.
37325 * string/test-memmem.c (TEST_NAME): Likewise.
37326 * string/test-memmove.c (TEST_NAME): Likewise.
37327 * string/test-memset.c (TEST_NAME): Likewise.
37328 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37329 * string/test-stpcpy.c (TEST_NAME): Likewise.
37330 * string/test-stpncpy.c (TEST_NAME): Likewise.
37331 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37332 * string/test-strcasestr.c (TEST_NAME): Likewise.
37333 * string/test-strcat.c (TEST_NAME): Likewise.
37334 * string/test-strchr.c (TEST_NAME): Likewise.
37335 * string/test-strcmp.c(TEST_NAME): Likewise.
37336 * string/test-strcpy.c (TEST_NAME): Likewise.
37337 * string/test-strcspn.c (TEST_NAME): Likewise.
37338 * string/test-strlen.c (TEST_NAME): Likewise.
37339 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37340 * string/test-strncmp.c (TEST_NAME): Likewise.
37341 * string/test-strncpy.c (TEST_NAME): Likewise.
37342 * string/test-strnlen.c (TEST_NAME): Likewise.
37343 * string/test-strpbrk.c (TEST_NAME): Likewise.
37344 * string/test-strrchr.c (TEST_NAME): Likewise.
37345 * string/test-strspn.c (TEST_NAME): Likewise.
37346 * string/test-strstr.c (TEST_NAME): Likewise.
37347 * string/test-bcopy-ifunc.c: New file.
37348 * string/test-bzero-ifunc.c: Likewise.
37349 * string/test-memccpy-ifunc.c: Likewise.
37350 * string/test-memchr-ifunc.c: Likewise.
37351 * string/test-memcmp-ifunc.c: Likewise.
37352 * string/test-memcpy-ifunc.c: Likewise.
37353 * string/test-memmem-ifunc.c: Likewise.
37354 * string/test-memmove-ifunc.c: Likewise.
37355 * string/test-mempcpy-ifunc.c: Likewise.
37356 * string/test-memset-ifunc.c: Likewise.
37357 * string/test-rawmemchr-ifunc.c: Likewise.
37358 * string/test-stpcpy-ifunc.c: Likewise.
37359 * string/test-stpncpy-ifunc.c: Likewise.
37360 * string/test-strcasecmp-ifunc.c: Likewise.
37361 * string/test-strcasestr-ifunc.c: Likewise.
37362 * string/test-strcat-ifunc.c: Likewise.
37363 * string/test-strchr-ifunc.c: Likewise.
37364 * string/test-strchrnul-ifunc.c: Likewise.
37365 * string/test-strcmp-ifunc.c: Likewise.
37366 * string/test-strcpy-ifunc.c: Likewise.
37367 * string/test-strcspn-ifunc.c: Likewise.
37368 * string/test-strlen-ifunc.c: Likewise.
37369 * string/test-strncasecmp-ifunc.c: Likewise.
37370 * string/test-strncat-ifunc.c: Likewise.
37371 * string/test-strncmp-ifunc.c: Likewise.
37372 * string/test-strncpy-ifunc.c: Likewise.
37373 * string/test-strnlen-ifunc.c: Likewise.
37374 * string/test-strpbrk-ifunc.c: Likewise.
37375 * string/test-strrchr-ifunc.c: Likewise.
37376 * string/test-strspn-ifunc.c: Likewise.
37377 * string/test-strstr-ifunc.c: Likewise.
37378
37379 * debug/Makefile (tests-ifunc): New variable.
37380 (tests): Add $(tests-ifunc).
37381 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37382 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37383 * debug/test-stpcpy_chk-ifunc.c: New file.
37384 * debug/test-strcpy_chk-ifunc.c: Likewise.
37385
373862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37387
37388 [BZ #13601]
37389 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37390 header is not read in.
37391
373922012-10-19 Joseph Myers <joseph@codesourcery.com>
37393
37394 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37395 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37396 directly. Pass built executable to script as
37397 $(built-program-cmd).
37398 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37399 $testprogram without using LD_LIBRARY_PATH and $ldso.
37400
37401 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37402 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37403 $(rtld-installed-name).
37404 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37405 (rtld_installed_name): Likewise.
37406 (library_path): Likewise.
37407 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37408 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37409 $(run-program-prefix) to tst-tables.sh.
37410 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37411 it to run tst-table-from and tst-table-to.
37412 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37413 Pass it to tst-table.sh.
37414 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37415 $(run-program-prefix) to tst-gettext.sh.
37416 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37417 tst-translit.sh.
37418 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37419 tst-gettext2.sh.
37420 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37421 to run tst-gettext.
37422 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37423 to run tst-gettext2.
37424 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37425 to run tst-translit.
37426 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37427 $(run-program-prefix) to tst-mtrace.sh.
37428 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37429 to run tst-mtrace.
37430 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37431 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37432 $(rtld-installed-name).
37433 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37434 (rtld_installed_name): Likewise.
37435 (run_program_prefix): New variable. Use it to run wordexp-test.
37436
37437 * Makeconfig (ARCH): Remove all definitions.
37438 (machine): Likewise.
37439 [ARCH]: Remove conditional code.
37440 [!objdir]: Give error.
37441 [!objdir] (objpfx): Remove.
37442 [!objdir] (common-objpfx): Likewise.
37443 [!objdir] (common-objdir): Likewise.
37444 * configure.in (config_makefile): Remove. Hardcode Makefile in
37445 AC_CONFIG_FILES call.
37446 * configure: Regenerated.
37447
37448 [BZ #13888]
37449 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37450 or TMPDIR.
37451 (testout): Likewise.
37452
37453 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37454 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37455 $(rtld-installed-name).
37456 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37457 (rtld_installed_name): Likwise.
37458 (runit): Remove function.
37459 (run_getconf): New variable, Use it for running getconf binary.
37460
374612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37462
37463 [BZ #14716]
37464 * string/test-memmem.c (check_result): New function.
37465 (do_one_test): Use it.
37466 (check1): New function.
37467 (test_main): Use it.
37468
374692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37470
37471 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37472
374732012-10-18 Joseph Myers <joseph@codesourcery.com>
37474
37475 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37476 (_G_LSEEK64): Likewise.
37477 (_G_MMAP64): Likewise.
37478 (_G_FSTAT64): Likewise.
37479 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37480 (_G_LSEEK64): Likewise.
37481 (_G_MMAP64): Likewise.
37482 (_G_FSTAT64): Likewise.
37483 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37484 unconditional. Call __mmap64 directly.
37485 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37486 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37487 __lseek64 directly.
37488 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37489 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37490 __mmap64 directly.
37491 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37492 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37493 __lseek64 directly.
37494 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37495 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37496 __lseek64 directly.
37497 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37498 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37499 __lseek64 directly.
37500 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37501 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37502 __fxstat64 directly.
37503 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37504 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37505 unconditional.
37506 (freopen64) [!_G_OPEN64]: Remove conditional code.
37507 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37508 unconditional.
37509 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37510 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37511 unconditional.
37512 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37513 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37514 unconditional.
37515 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37516 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37517 unconditional.
37518 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37519 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37520 unconditional.
37521 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37522 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37523 unconditional.
37524 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37525 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37526 unconditional.
37527 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37528
375292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37530
37531 [BZ #12140]
37532 * manual/memory.texi (Malloc Tunable Parameters): Add note
37533 about free list pointers overwriting some perturb bytes.
37534 Wording suggested by Roland McGrath.
37535
375362012-10-17 Joseph Myers <joseph@codesourcery.com>
37537
37538 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37539 (lgamma_test): Likewise.
37540 (tgamma_test): Likewise.
37541
375422012-10-16 Florian Weimer <fweimer@redhat.com>
37543
37544 [BZ #14700]
37545 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37546 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37547
375482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37549
37550 * NEWS: Mention BZ #14716.
37551 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37552 when removing AVAILABLE1_USES_J macro.
37553
375542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37555
37556 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37557 (__bswap_64): __uint64_t for unsigned 64-bit int.
37558
375592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37560
37561 * include/string.h (memmem): Declare libc hidden alias.
37562 * string/memmem.c (memmem): Define libc hidden alias.
37563 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37564 __read, __close instead of open, read, close.
37565
375662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37567
37568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37569 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37570 global and hidden.
37571 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37572 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37573 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37574 Likewise.
37575 (__rawmemchr_sse2): Likewise.
37576 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37577 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37578 (__strchr_sse2): Likewise.
37579 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37580 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37581 (__strcasecmp_sse2): Likewise.
37582 (__strncasecmp_sse2): Likewise.
37583 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37584 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37585 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37586 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37587 (__strrchr_sse2): Likewise.
37588 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37589 ifunc-impl-list.c.
37590 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37591 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37592 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37593 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37594 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37595 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37596 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37597 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37598 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37599 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37600 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37601 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37602 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37603 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37604 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37605 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37606 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37607 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37608 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37609 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37610 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37611 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37612 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37613 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37614 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37615 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37616 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37618 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37619 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37620
37621 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37622 global and hidden.
37623 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37624 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37625 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37626 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37627 Likewise.
37628 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37629 Likewise.
37630 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37631 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37632 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37633 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37634 ifunc-impl-list.c.
37635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37637 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37638 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37639 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37640 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37641 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37642 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37643 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37644 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37645 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37646 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37647 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37648 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37649 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37650 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37651 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37652 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37653 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37654 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37655 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37656 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37657 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37658 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37659 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37660 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37661 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37662 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37663 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37664 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37665 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37668 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37669 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37671 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37674 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37675 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37676
37677 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37678 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37679 * include/ifunc-impl-list.h: New file.
37680 * misc/ifunc-impl-list.c: Likewise.
37681 * misc/Makefile (routines): Add ifunc-impl-list.
37682 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37683 * string/test-string.h: Include <ifunc-impl-list.h>.
37684 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37685 TEST_NAME]: New variables.
37686 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37687 are defined.
37688 (test_init): Call __libc_ifunc_impl_list to initialize
37689 func_list if TEST_IFUNC and TEST_NAME are defined.
37690
37691 * string/Makefile (strop-tests): Add bcopy and bzero.
37692 * string/test-bcopy.c: New file.
37693 * string/test-bzero.c: Likewise.
37694 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37695 defined.
37696 * string/test-memset.c: Support bzero test if TEST_BZERO is
37697 defined.
37698 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37699 __libc_memmove.
37700 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37701 __libc_memset.
37702 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37703 of memset.
37704
377052012-10-10 Joseph Myers <joseph@codesourcery.com>
37706
37707 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37708 * configure: Regenerated.
37709
37710 * Makeconfig (+link-static-before-libc): Don't include
37711 $(link-static-libc).
37712
37713 * libio/libio.h (_IO_pos_t): Remove.
37714
377152012-10-10 Alexandre Oliva <aoliva@redhat.com>
37716
37717 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37718 McGrath.
37719
377202012-10-10 Alexandre Oliva <aoliva@redhat.com>
37721
37722 * crypt/crypt-entry.c: Include fips-private.h.
37723 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37724 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37725 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37726 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37727
377282012-10-10 Alexandre Oliva <aoliva@redhat.com>
37729
37730 * crypt/crypt-private.h: Include stdbool.h.
37731 (_ufc_setup_salt_r): Return bool.
37732 * crypt/crypt-entry.c: Include errno.h.
37733 (__crypt_r): Return NULL with EINVAL for bad salt.
37734 * crypt/crypt_util.c (bad_for_salt): New.
37735 (_ufc_setup_salt_r): Check that salt is long enough and within
37736 the specified alphabet.
37737 * crypt/badsalttest.c: New file.
37738 * crypt/Makefile (tests): Add it.
37739 ($(objpfx)badsalttest): New.
37740
377412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37742
37743 * NEWS: Add entry for BZ #14602.
37744
377452012-10-09 Joseph Myers <joseph@codesourcery.com>
37746
37747 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37748 type-generic.
37749 * math/libm-test.inc: Update comment listing what functions and
37750 macros are tested.
37751 (isgreater_test): New function.
37752 (isgreaterequal_test): Likewise.
37753 (isless_test): Likewise.
37754 (islessequal_test): Likewise.
37755 (islessgreater_test): Likewise.
37756 (isunordered_test): Likewise.
37757 (main): Call the new functions.
37758
377592012-10-09 Roland McGrath <roland@hack.frob.com>
37760
37761 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37762 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37763 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37764 * sysdeps/i386/configure: Regenerated.
37765 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37766 * sysdeps/mach/configure: Regenerated.
37767 * sysdeps/mach/hurd/configure: Regenerated.
37768 * sysdeps/powerpc/configure: Regenerated.
37769 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37770 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37771 * sysdeps/s390/s390-32/configure: Regenerated.
37772 * sysdeps/s390/s390-64/configure: Regenerated.
37773 * sysdeps/sh/configure: Regenerated.
37774 * sysdeps/sparc/configure: Regenerated.
37775 * sysdeps/unix/sysv/linux/configure: Regenerated.
37776 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37777 * sysdeps/x86_64/configure: Regenerated.
37778
37779 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37780 defined. Don't check if MAP is NULL.
37781
377822012-10-09 Joseph Myers <joseph@codesourcery.com>
37783
37784 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37785 (_G_stat64): Likewise.
37786 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37787 (_G_stat64): Likewise.
37788 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37789 instead of struct _G_stat64.
37790 * libio/fileops.c (mmap_remap_check): Likewise.
37791 (decide_maybe_mmap): Likewise.
37792 (_IO_new_file_seekoff): Likewise.
37793 (_IO_file_stat): Likewise.
37794 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37795 _G_off64_t.
37796 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37797 instead of struct _G_stat64.
37798 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37799
378002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37801
37802 [BZ #14602]
37803 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37804 Replace with ...
37805 (CHECK_EOL): New macro.
37806 (two_way_short_needle): Check beginning of haystack for EOL. Use
37807 CHECK_EOL.
37808 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37809 Replace with CHECK_EOL.
37810 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37811 Replace with CHECK_EOL.
37812
378132012-10-08 Joseph Myers <joseph@codesourcery.com>
37814
37815 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37816 type-generic.
37817 * math/libm-test.inc: Update comment listing what functions and
37818 macros are tested.
37819 (finite_test): New function.
37820 (isinf_test): Likewise.
37821 (isnan_test): Likewise.
37822 (fpclassify_test): Test subnormal input.
37823 (isfinite_test): Likewise.
37824 (isnormal_test): Likewise.
37825 (main): Call the new functions.
37826
378272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37828
37829 [BZ #14660]
37830 * Makerules (%.dynsym): Force C locale when running
37831 $(OBJDUMP) --dynamic-syms.
37832
378332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37834
37835 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37836 <stdint.h>.
37837
378382012-10-06 David S. Miller <davem@davemloft.net>
37839
37840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37841 upper 32-bits of the length value in %o2 since we use branch-on-register
37842 tests which consider the entire 64-bit register.
37843
378442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37845
37846 * string/test-strstr.c (check2): Add a test for page boundary.
37847
378482012-10-05 David S. Miller <davem@davemloft.net>
37849
37850 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37851 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37852 file.
37853 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37854 sysdep_routines.
37855 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37856 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37857 and bzero when HWCAP_SPARC_CRYPTO is present.
37858
378592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37860
37861 [BZ #14602]
37862 * string/test-strstr.c (check2): New function.
37863 (test_main): Call check2.
37864
37865 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37866 and bug-strchr1.
37867 * string/bug-strcasestr1.c (do_test): Moved to ...
37868 * string/test-strcasestr.c (check1): Here. New function.
37869 (do_one_test): Break out result checking code into ...
37870 (check_result): This. New function.
37871 (do_one_test): Call check_result.
37872 (test_main): Call check1.
37873 * string/bug-strchr1.c (do_test): Moved to ...
37874 * string/test-strchr.c (check1): Here. New function.
37875 (do_one_test): Break out result checking code into ...
37876 (check_result): This. New function.
37877 (do_one_test): Call check_result.
37878 (test_main): Call check1.
37879 * string/bug-strstr1.c (main): Moved to ...
37880 * string/test-strstr.c (check1): Here. New function.
37881 (do_one_test): Break out result checking code into ...
37882 (check_result): This. New function.
37883 (do_one_test): Call check_result.
37884 (test_main): Call check1.
37885 * string/bug-strcasestr1.c: Removed.
37886 * string/bug-strchr1.c: Likewise.
37887 * string/bug-strstr1.c: Likewise.
37888
37889 * elf/Makefile (dl-routines): Add hwcaps.
37890 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37891 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37892 (_dl_important_hwcaps): Moved to ...
37893 * elf/dl-hwcaps.c: Here. New file.
37894 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37895
37896 [BZ #14557]
37897 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37898 if IS_IN_rtld isn't defined.
37899
37900 * elf/dl-support.c (_dl_sysinfo_map): New.
37901 Include "get-dynamic-info.h" and "setup-vdso.h".
37902 (_dl_non_dynamic_init): Call setup_vdso.
37903 * elf/dynamic-link.h: Don't include <assert.h>.
37904 (elf_get_dynamic_info): Moved to ...
37905 * elf/get-dynamic-info.h: Here. New file.
37906 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37907 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37908 * elf/setup-vdso.h: Here. New file.
37909 * elf/rtld.c: Include "setup-vdso.h".
37910 (dl_main): Call setup_vdso.
37911
379122012-10-05 Joseph Myers <joseph@codesourcery.com>
37913
37914 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37915 creal in comment listing functions tested. List finite, isinf,
37916 isnan, isless, islessequal, isgreater, isgreaterequal,
37917 islessgreater, isunordered, lgamma_r and pow10 as functions and
37918 macros not tested. Mention which functions not tested are aliases
37919 for other functions. Fix typo. Note that signs of NaNs are not
37920 tested.
37921
37922 * scripts/config.guess: Update from config.git.
37923 * scripts/config.sub: Likewise.
37924
379252012-10-04 Roland McGrath <roland@hack.frob.com>
37926
37927 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37928 * misc/madvise.c (madvise): Renamed to __madvise.
37929 Make madvise a weak alias.
37930 * include/sys/mman.h: Declare __madvise.
37931 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37932 * sysdeps/unix/syscalls.list
37933 (madvise): Make __madvise the strong name, and madvise a weak alias.
37934 * sysdeps/unix/sysv/linux/syscalls.list
37935 (madvise, mmap): Remove redundant entries.
37936 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37937 * malloc/malloc.c (mtrim): Likewise.
37938 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37939
379402012-10-03 Roland McGrath <roland@hack.frob.com>
37941
37942 * sysdeps/mach/hurd/dl-cache.c: File removed.
37943 * config.h.in (USE_LDCONFIG): New #undef.
37944 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37945 * configure: Regenerated.
37946 * elf/Makefile (dl-routines): Add dl-cache only under
37947 [$(use-ldconfig) = yes].
37948 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37949 cache on [USE_LDCONFIG].
37950 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37951 [USE_LDCONFIG].
37952 * elf/rtld.c (dl_main): Likewise.
37953
379542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37955
37956 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37957 _SC_LEVEL4_CACHE_LINESIZE.
37958
379592012-10-03 Roland McGrath <roland@hack.frob.com>
37960
37961 * sysdeps/unix/bsd/confstr.h: File removed.
37962
379632012-10-02 Alexandre Oliva <aoliva@redhat.com>
37964
37965 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37966 sys/sdt-config.h.
37967
379682012-10-02 Roland McGrath <roland@hack.frob.com>
37969
37970 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37971 Make 'mapoff' field ElfW(Off) rather than off_t.
37972
379732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37974
37975 * nscd/Makefile: Remove nscd-cflags and all its users.
37976 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37977 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37978
37979 [BZ #10631]
37980 * malloc.c (malloc_printerr): Clarify error message.
37981
379822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37983
37984 [BZ #14648]
37985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37986 Set bit_FMA_Usable if FMA is supported.
37987 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37988 macro.
37989 (bit_FMA4_Usable): Updated.
37990 (index_FMA_Usable): New macro.
37991 (CPUID_FMA): Likewise
37992 (HAS_FMA): Defined with bit_FMA_Usable.
37993
379942012-10-01 Roland McGrath <roland@hack.frob.com>
37995
37996 * bits/types.h (__swblk_t): Type removed.
37997 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37998 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38000 (__SWBLK_T_TYPE): Likewise.
38001 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38002 (__SWBLK_T_TYPE): Likewise.
38003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38004 (__SWBLK_T_TYPE): Likewise.
38005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38006 (__SWBLK_T_TYPE): Likewise.
38007
380082012-10-01 Patsy Franklin <pfrankli@redhat.com>
38009 Honza Horak <hhorak@redhat.com>
38010
38011 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38012 (xdr_mapname): Use YPMAXMAP as maxsize.
38013 (xdr_peername): Use YPMAXPEER as maxsize.
38014 (xdr_keydat): Use YPAXRECORD as maxsize.
38015 (xdr_valdat): Use YPMAXRECORD as maxsize.
38016
380172012-10-01 Roland McGrath <roland@hack.frob.com>
38018
38019 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38020
38021 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38022 * csu/init-first.c: ... here.
38023 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38024 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38025 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38026 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38027 * sysdeps/i386/init-first.c: File removed.
38028 * sysdeps/sh/init-first.c: File removed.
38029
380302012-10-01 Joseph Myers <joseph@codesourcery.com>
38031
38032 [BZ #14645]
38033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38034 if x * y might underflow to zero and z is zero.
38035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38037 * math/libm-test.inc (min_subnorm_value): New variable.
38038 (fma_test): Add more tests.
38039 (fma_test_towardzero): Likewise.
38040 (fma_test_downward): Likewise
38041 (fma_test_upward): Likewise.
38042 (initialize): Set min_subnorm_value.
38043
380442012-09-29 Joseph Myers <joseph@codesourcery.com>
38045
38046 [BZ #14638]
38047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38048 0 + 0.
38049 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38050 mode for addition resulting in exact zero.
38051 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38053 exact 0 + 0.
38054 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38056 * math/libm-test.inc (fma_test): Add more tests.
38057 (fma_test_towardzero): New function.
38058 (fma_test_downward): Likewise.
38059 (fma_test_upward): Likewise.
38060 (main): Call the new functions.
38061
380622012-09-28 David S. Miller <davem@davemloft.net>
38063
38064 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38065
380662012-09-28 Roland McGrath <roland@hack.frob.com>
38067
38068 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38069 instead of SIGALRM.
38070
38071 * sysdeps/gnu/_G_config.h: Moved to ...
38072 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38073 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38074 * sysdeps/generic/_G_config.h: ... here.
38075
38076 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38077
38078 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38079
38080 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38081 Conditionalize target on [libnss_test1.so-version].
38082
38083 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38084
38085 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38086 (elfobjdir): Move out of conditionals.
38087
38088 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38089 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38090 (__nss_lookup_function): Conditionalize label remove_from_tree on
38091 [!DO_STATIC_NSS || SHARED], matching its only use.
38092
380932012-09-28 David S. Miller <davem@davemloft.net>
38094
38095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38096 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38097 file.
38098 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38099 sysdep_routines.
38100 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38102 when HWCAP_SPARC_CRYPTO is present.
38103
381042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38105
38106 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38107
381082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38109
38110 [BZ #6530]
38111 * stdio-common/vfprintf.c (process_string_arg): Revert
38112 2000-07-22 change.
38113
381142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38115
38116 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38117 for testcase.
38118 * stdio-common/tst-sprintf.c: Include <locale.h>
38119 (main): Test sprintf's handling of incomplete multibyte
38120 characters.
38121
381222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38123
38124 * elf/dl-runtime.c (VERSYMIDX): Removed.
38125 * elf/dl-version.c (VERSYMIDX): Likewise.
38126 * elf/do-rel.h (VERSYMIDX): Likewise.
38127 (VALIDX): Likewise.
38128 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38129 * elf/rtld.c (VALIDX): Likewise.
38130 (ADDRIDX): Likewise.
38131 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38132 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38133 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38134 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38135 (VALIDX): Likewise.
38136 (ADDRIDX): Likewise.
38137
381382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38139
38140 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38141
381422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38143
38144 [BZ #11438]
38145 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38146 to global scope.
38147 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38148 addresses are in the same scope as 192.0.2/24.
38149 * posix/gai.conf: Document new scope table defaults.
38150
381512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38152
38153 [BZ #5298]
38154 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38155 for ftell. Compute offsets from write pointers instead.
38156 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38157
381582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38159
38160 [BZ #14543]
38161 * libio/Makefile (tests): New test case tst-fseek.
38162 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38163 combination works in wide mode.
38164 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38165 state when the external buffer state changes.
38166
381672012-09-27 David S. Miller <davem@davemloft.net>
38168
38169 [BZ #14376]
38170 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38171 pass reloc->r_addend in as the 'high' argument to
38172 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38173
38174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38175
381762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38177
38178 * rt/tst-aio2.c: Include <pthread.h>.
38179 * rt/tst-aio3.c: Likewise.
38180
381812012-09-27 Steve Ellcey <sellcey@mips.com>
38182
38183 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38184
381852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38186
38187 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38188 contents on [SHARED].
38189
381902012-09-26 Marek Polacek <polacek@redhat.com>
38191
38192 [BZ #14530]
38193 [BZ #13741]
38194 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38195 for C++ and GCC <4.3 as well as for non GCC compilers.
38196
381972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38198
38199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38200
382012012-09-25 Roland McGrath <roland@hack.frob.com>
38202
38203 * Makefile.in (all, install): Declare with .PHONY.
38204 Reported by Michael Hope <michael.hope@linaro.org>.
38205
382062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38207
38208 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38209 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38210 system header.
38211 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38212 Likewise.
38213 (sydep_routines): Add the new and the internal functions.
38214 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38215 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38217 (GLIBC_2.17): Add the new function.
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38219 (GLIBC_2.17): Likewise.
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38221 (GLIBC_2.17): Likewise.
38222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38223 (GLIBC_2.17): Likewise.
38224 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38225
382262012-09-25 Alan Modra <amodra@gmail.com>
38227
38228 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38229 Add release barrier before setting once_control to say
38230 initialisation is done. Add hints on lwarx. Use macro in
38231 place of isync.
38232 (clear_once_control): Add release barrier.
38233
382342012-09-25 Joseph Myers <joseph@codesourcery.com>
38235
38236 [BZ #13629]
38237 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38238 specially.
38239 * math/s_clog10.c (__clog10): Likewise.
38240 * math/s_clog10f.c (__clog10f): Likewise.
38241 * math/s_clog10l.c (__clog10l): Likewise.
38242 * math/s_clogf.c (__clogf): Likewise.
38243 * math/s_clogl.c (__clogl): Likewise.
38244 * math/Makefile (libm-calls): Add x2y2m1.
38245 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38246 (__x2y2m1): Likewise.
38247 (__x2y2m1l): Likewise.
38248 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38249 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38250 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38251 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38252 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38253 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38254 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38255 * sysdeps/i386/fpu/libm-test-ulps: Update.
38256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38257
38258 [BZ #14621]
38259 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38260 int as type of variable DEPTH.
38261 (glob): Use size_t instead of int as type of variables NEWCOUNT
38262 and OLD_PATHC.
38263
382642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38265
38266 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38267 Add s_sincosf-sse2.
38268 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38269 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38270 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38271 macros for using routine as __sincosf_ia32.
38272 Use macro for function declaration and weak_alias.
38273 * sysdeps/i386/fpu/libm-test-ulps: Update.
38274
38275 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38277
38278 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38279 subnormal argument.
38280 * math/s_cexpf.c (__cexpf): Likewise.
38281 * math/s_csinf.c (__csinf): Likewise.
38282 * math/s_csinhf.c (__csinhf): Likewise.
38283 * math/s_ctanf.c (__ctanf): Likewise.
38284 * math/s_ctanhf.c (__ctanhf): Likewise.
38285 * math/s_ccosh.c (__ccoshf): Likewise.
38286 * math/s_cexp.c (__cexpl): Likewise.
38287 * math/s_csin.c (__csin): Likewise.
38288 * math/s_csinh.c (__csinh): Likewise.
38289 * math/s_ctan.c (__ctan): Likewise.
38290 * math/s_ctanh.c (ctanh): Likewise.
38291 * math/s_ccoshl.c (__ccoshl): Likewise.
38292 * math/s_cexpl.c (__cexpl): Likewise.
38293 * math/s_csinl.c (__csinl): Likewise.
38294 * math/s_csinhl.c (__csinhl): Likewise.
38295 * math/s_ctanl.c (__ctanl): Likewise.
38296 * math/s_ctanhl.c (__ctanhl): Likewise.
38297
382982012-09-25 Joseph Myers <joseph@codesourcery.com>
38299
38300 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38301 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38302 (_IO_off_t): Define to __off_t, not _G_off_t.
38303 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38304 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38305 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38306 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38307 type of __dummy and __dummy2 fields.
38308 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38309 (_G_ssize_t): Likewise.
38310 (_G_off_t): Likewise.
38311 (_G_pid_t): Likewise.
38312 (_G_uid_t): Likewise.
38313 (_G_wchar_t): Likewise.
38314 (_G_wint_t): Likewise.
38315 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38316 (_G_ssize_t): Likewise.
38317 (_G_off_t): Likewise.
38318 (_G_pid_t): Likewise.
38319 (_G_uid_t): Likewise.
38320 (_G_wchar_t): Likewise.
38321 (_G_wint_t): Likewise.
38322 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38323 (_G_ssize_t): Likewise.
38324 (_G_off_t): Likewise.
38325 (_G_pid_t): Likewise.
38326 (_G_uid_t): Likewise.
38327 (_G_wchar_t): Likewise.
38328 (_G_wint_t): Likewise.
38329
383302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38331
38332 * malloc/arena.c: Include malloc-sysdep.h.
38333 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38334 is sufficient to shrink the heap or an unmap is needed.
38335 * sysdeps/generic/malloc-sysdep.h: New file. Define
38336 new function check_may_shrink_heap.
38337 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38338 new function check_may_shrink_heap.
38339
383402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38341
38342 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38343 comments.
38344
383452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38346
38347 * catgets/test-gencat.sh: Add "set -e".
38348 * elf/tst-pathopt.sh: Likewise.
38349 * grp/tst_fgetgrent.sh: Likewise.
38350 * iconvdata/run-iconv-test.sh: Likewise.
38351 * intl/tst-gettext.sh: Likewise.
38352 * intl/tst-gettext2.sh: Likewise.
38353 * intl/tst-gettext4.sh: Likewise.
38354 * intl/tst-gettext6.sh: Likewise.
38355 * intl/tst-translit.sh: Likewise.
38356 * io/ftwtest-sh: Likewise.
38357 * libio/test-freopen.sh: Likewise.
38358 * malloc/tst-mtrace.sh: Likewise.
38359 * posix/globtest.sh: Likewise.
38360 * posix/tst-getconf.sh: Likewise.
38361 * posix/wordexp-tst.sh: Likewise.
38362 * stdio-common/tst-printf.sh: Likewise.
38363 * stdio-common/tst-unbputc.sh: Likewise.
38364 * stdlib/tst-fmtmsg.sh: Likewise.
38365 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38366 * catgets/Makefile: Do not specify -e option when running
38367 testsuite shell scripts.
38368 * elf/Makefile: Likewise.
38369 * grp/Makefile: Likewise.
38370 * iconvdata/Makefile: Likewise.
38371 * intl/Makefile: Likewise.
38372 * io/Makefile: Likewise.
38373 * libio/Makefile: Likewise.
38374 * malloc/Makefile: Likewise.
38375 * posix/Makefile: Likewise.
38376 * stdio-common/Makefile: Likewise.
38377 * stdlib/Makefile: Likewise.
38378 * sysdeps/x86_64/Makefile: Likewise.
38379
38380 * io/ftwtest-sh: Add copyright header.
38381 * posix/globtest.sh: Likewise.
38382 * posix/tst-getconf.sh: Likewise.
38383 * posix/wordexp-tst.sh: Likewise.
38384 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38385
383862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38387
38388 [BZ #13679]
38389 * Makeconfig (+link): Defined as $(+link-static) if
38390 $(build-shared) isn't yes.
38391 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38392 isn't yes.
38393 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38394
38395 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38396
38397 [BZ #14562]
38398 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38399 new chunk size with MALLOC_ALIGN_MASK.
38400
384012012-09-24 Joseph Myers <joseph@codesourcery.com>
38402
38403 [BZ #5044]
38404 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38405 <rounding-mode.h>.
38406 (__printf_fphex): Determine rounding using get_rounding_mode and
38407 round_away.
38408 * stdio-common/tst-printf-round.c (struct hex_test): New
38409 structure.
38410 (hex_tests): New variable.
38411 (test_hex_in_one_mode): New function.
38412 (do_test): Also run tests for hex float output.
38413
384142012-09-21 Joseph Myers <joseph@codesourcery.com>
38415
38416 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38417 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38418 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38419 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38420 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38421 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38422 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38423 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38424
384252012-09-20 Joseph Myers <joseph@codesourcery.com>
38426
38427 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38428 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38429 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38430 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38431
384322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38433
38434 [BZ #14579]
38435 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38436 mode only.
38437 * elf/tst-rtld-load-self.sh: New test.
38438 * elf/Makefile: Run it.
38439
384402012-09-18 Joseph Myers <joseph@codesourcery.com>
38441
38442 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38443 (tst-writev-ENV): Remove.
38444 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38445
384462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38447
38448 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38449
384502012-09-17 Joseph Myers <joseph@codesourcery.com>
38451
38452 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38453 unconditional.
38454 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38455 Likewise.
38456 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38457 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38458 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38459 Likewise.
38460
384612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38462
38463 [BZ #14587]
38464 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38465 * config.make.in (have-cpp-asm-debuginfo): Removed.
38466 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38467 * configure: Regenerated.
38468
384692012-09-14 Joseph Myers <joseph@codesourcery.com>
38470
38471 [BZ #5044]
38472 * stdio-common/printf_fp.c: Include <stdbool.h> and
38473 <rounding-mode.h>.
38474 (___printf_fp): Determine rounding using get_rounding_mode and
38475 round_away.
38476 * stdio-common/tst-printf-round.c: New file.
38477 * stdio-common/Makefile (tests): Add tst-printf-round.
38478 (link-libm): New variable.
38479 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38480
384812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38482
38483 [BZ #14576]
38484 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38485 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38486 Likewise.
38487 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38488 Likewise.
38489
384902012-09-13 Joseph Myers <joseph@codesourcery.com>
38491
38492 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38493 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38494 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38495 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38496
384972012-09-12 Joseph Myers <joseph@codesourcery.com>
38498
38499 [BZ #14518]
38500 * include/rounding-mode.h: New file.
38501 * sysdeps/generic/get-rounding-mode.h: Likewise.
38502 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38503 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38504 (MAX_VALUE): New macro.
38505 (MIN_VALUE): Likewise.
38506 (overflow_value): New function.
38507 (underflow_value): Likewise.
38508 (round_and_return): Use overflow_value and underflow_value to
38509 determine return values in overflow and underflow cases. Use
38510 round_away to determine rounding depending on rounding mode.
38511 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38512 determine return values in overflow and underflow cases.
38513 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38514 (struct test_results): New structure.
38515 (struct test): Use struct test_results to store expected results
38516 for all rounding modes.
38517 (TEST): Include expected results for all rounding modes.
38518 (test_in_one_mode): New function.
38519 (do_test): Use test_in_one_mode to compute and check results.
38520 Check results for all rounding modes.
38521 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38522 $(link-libm).
38523
385242012-12-09 Allan McRae <allan@archlinux.org>
38525
38526 * sysdeps/i386/fpu/libm-test-ulps: Update
38527
385282012-09-11 Joseph Myers <joseph@codesourcery.com>
38529
38530 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38531 (_G_int32_t): Likewise.
38532 (_G_uint16_t): Likewise.
38533 (_G_uint32_t): Likewise.
38534 (_G_HAVE_BOOL): Likewise.
38535 (_G_HAVE_ATEXIT): Likewise.
38536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38537 (_G_HAVE_IO_FILE_OPEN): Likewise.
38538 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38539 (_G_int32_t): Likewise.
38540 (_G_uint16_t): Likewise.
38541 (_G_uint32_t): Likewise.
38542 (_G_HAVE_BOOL): Likewise.
38543 (_G_HAVE_ATEXIT): Likewise.
38544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38545 (_G_HAVE_IO_FILE_OPEN): Likewise.
38546 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38547 (_G_int32_t): Likewise.
38548 (_G_uint16_t): Likewise.
38549 (_G_uint32_t): Likewise.
38550 (_G_HAVE_BOOL): Likewise.
38551 (_G_HAVE_ATEXIT): Likewise.
38552 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38553 (_G_HAVE_IO_FILE_OPEN): Likewise.
38554
385552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38556
38557 * csu/libc-tls.c: Update copyright years.
38558
385592012-09-10 Joseph Myers <joseph@codesourcery.com>
38560
38561 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38562 [!_G_USING_THUNKS]: Remove conditional code.
38563 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38564 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38565
38566 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38567 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38568 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38569 (_G_VTABLE_LABEL_PREFIX): Likewise.
38570 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38571 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38572 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38573 (_G_VTABLE_LABEL_PREFIX): Likewise.
38574 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38575 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38576 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38577 (_G_VTABLE_LABEL_PREFIX): Likewise.
38578 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38579
385802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38581
38582 * libio/Makefile: Include ../Makeconfig before tests.
38583 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38584 only if $(build-shared) is yes.
38585
38586 * iconv/gconv_db.c: Update copyright years.
38587
385882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38589
38590 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38591 unwind info if defined PIC. Fix special cases description.
38592 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38593
38594 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38595 DP_HI_MASK entry.
38596 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38597
385982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38599
38600 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38601
38602 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38603 is NULL.
38604
38605 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38606 (LDLIBS-tst-chk4): This.
38607 (LDFLAGS-tst-chk5): Renamed to ...
38608 (LDLIBS-tst-chk5): This.
38609 (LDFLAGS-tst-chk6): Renamed to ...
38610 (LDLIBS-tst-chk6): This.
38611 (LDFLAGS-tst-lfschk4): Renamed to ...
38612 (LDLIBS-tst-lfschk4): This.
38613 (LDFLAGS-tst-lfschk5): Renamed to ...
38614 (LDLIBS-tst-lfschk5): This.
38615 (LDFLAGS-tst-lfschk6): Renamed to ...
38616 (LDLIBS-tst-lfschk6): This.
38617
38618 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38619 on $(common-objpfx)soversions.mk.
38620
386212012-09-07 Joseph Myers <joseph@codesourcery.com>
38622
38623 [BZ #10014]
38624 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38625 example host name.
38626
386272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38628
38629 * malloc/arena.c (arena_get_retry): New function that gets
38630 another arena for the caller to try its request on.
38631 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38632 current arena cannot fulfill the request.
38633 (__libc_memalign): Likewise.
38634 (__libc_memalign): Likewise.
38635 (__libc_pvalloc): Likewise.
38636 (__libc_calloc): Likewise.
38637
386382012-09-05 John Tobey <john.tobey@gmail.com>
38639
38640 [BZ #13542]
38641 * manual/arith.texi (Operations on Complex): Fix description
38642 of carg branch cut.
38643
386442012-09-06 Joseph Myers <joseph@codesourcery.com>
38645
38646 [BZ #10014]
38647 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38648 host name.
38649
38650 [BZ #10038]
38651 * manual/memory.texi (Memory): Make order of menu items match
38652 order of sections.
38653
386542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38655
38656 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38657 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38658 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38659
386602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38661
38662 * csu/libc-tls.c (static_dtv): Renamed to ...
38663 (_dl_static_dtv): This. Make it global.
38664 (_dl_initial_dtv): Removed.
38665 (__libc_setup_tls): Updated.
38666 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38667 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38668 DL_INITIAL_DTV.
38669
386702012-09-06 Petr Machata <pmachata@redhat.com>
38671
38672 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38673 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38674 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38675 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38676
386772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38678
38679 [BZ #14545]
38680 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38681 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38682 freeing dtv[-1].
38683
386842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38685
38686 [BZ #14544]
38687 * Makeconfig (link-static-before-libc): Replace $(+prector)
38688 with $(+prectorT).
38689 (link-static-after-libc): Replace $(+postctor) with
38690 $(+postctorT).
38691 (link-bounded): Replace $(+prector)/$(+postctor) with
38692 $(+prectorT)/$(+postctorT).
38693 (+prectorT): New macro.
38694 (+postctorT): Likewise.
38695
386962012-09-06 Joseph Myers <joseph@codesourcery.com>
38697
38698 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38699 (round_str): Handle values above the maximum for IBM long double
38700 as inexact.
38701 * stdlib/tst-strtod-round.c (tests): Regenerated.
38702
387032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38704
38705 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38706 assembler flag.
38707 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38708 zarch_nohighgprs around the zarch optimized routines.
38709 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38710 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38711 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38712 for zarch.
38713
387142012-09-05 David S. Miller <davem@davemloft.net>
38715
38716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38717
38718 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38719 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38720 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38721 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38722 entries.
38723
387242012-09-05 Alexandre Oliva <aoliva@redhat.com>
38725
38726 * malloc/arena.c: Fold copyright years.
38727 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38728
387292012-09-05 Alexandre Oliva <aoliva@redhat.com>
38730
38731 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38732
387332012-09-05 Alexandre Oliva <aoliva@redhat.com>
38734
38735 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38736
387372012-09-05 Alexandre Oliva <aoliva@redhat.com>
38738
38739 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38740 change internal state upon failure.
38741
387422012-09-05 Alexandre Oliva <aoliva@redhat.com>
38743
38744 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38745 * malloc/memusage.c (mmap): Likewise.
38746 (mmap64, mremap): Likewise. Adjust name in comment.
38747
387482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38749
38750 * libio/fileops.c: Fix typos in comments.
38751 * libio/oldfileops.c: Likewise.
38752 * libio/wfileops.c: Likewise.
38753
387542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38755
38756 [BZ #1349]
38757 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38758 (tst-malloc-usable-ENV): Set environment for test case.
38759 * malloc/hooks.c (malloc_check_get_size): New function to get
38760 requested size.
38761 * malloc/malloc.c (musable): Use malloc_check_get_size.
38762 * malloc/tst-malloc-usable.c: New test case.
38763
387642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38765
38766 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38767
387682012-09-05 Allan McRae <allan@archlinux.org>
38769
38770 [BZ #13966]
38771 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38772 determine header location.
38773 * configure: Regenerated.
38774
387752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38776
38777 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38778 float format.
38779 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38780 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38781 format.
38782 (test): Regenerate.
38783
387842012-09-04 David S. Miller <davem@davemloft.net>
38785
38786 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38787 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38788 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38789
387902012-09-04 Florian Weimer <fweimer@redhat.com>
38791
38792 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38793 failures.
38794
38795 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38796
387972012-09-04 Joseph Myers <joseph@codesourcery.com>
38798
38799 [BZ #9914]
38800 * libio/iogetdelim.c: Include <limits.h>.
38801 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38802 + len + 1 would overflow.
38803
388042012-09-03 Andreas Jaeger <aj@suse.de>
38805
38806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38807 * sysdeps/i386/fpu/libm-test-ulps: Update.
38808
388092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38810
38811 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38812 Add s_sinf-sse2, s_conf-sse2.
38813
38814 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38815 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38816 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38817 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38818
38819 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38820 for using routine as __sinf_ia32.
38821 Use macro for function declaration and weak_alias.
38822 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38823 for using routine as __cosf_ia32.
38824 Use macro for function declaration and weak_alias.
38825
38826 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38827 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38828
38829 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38830 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38832
38833 * math/libm-test.inc (cos_test): Add more test cases.
38834 (sin_test): Likewise.
38835 (sincos_test): Likewise.
38836
388372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38838
38839 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38840 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38841 hidden.
38842 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38843
388442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38845
38846 [BZ #14538]
38847 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38848 first element of the GOT.
38849 (elf_machine_load_address): Return the difference between
38850 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38851
388522012-09-01 Allan McRae <allan@archlinux.org>
38853
38854 [BZ #13412]
38855 * configure.in (AWK): Require gawk version 3.0 or later.
38856 * configure: Regenerated.
38857
388582012-09-01 Joseph Myers <joseph@codesourcery.com>
38859
38860 * sysdeps/unix/sysv/linux/kernel-features.h
38861 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38862 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38863 [__NR_clock_getres]: Make code unconditional.
38864 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38865 (clock_getcpuclockid): Remove code left unreachable by removal of
38866 conditionals.
38867 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38868 code unconditional.
38869 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38870 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38871 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38872 Make code unconditional.
38873 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38874 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38875 * sysdeps/unix/sysv/linux/clock_settime.c
38876 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38877 conditional code.
38878 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38879 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38880
388812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38882
38883 [BZ #14476]
38884 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38885 scripts/test-installation.pl.
38886
38887 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38888 and $ld_so_version if it is set.
38889
388902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38891
38892 [BZ #14516]
38893 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38894 failure if reading from procfs failed.
38895 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38896
388972012-08-27 Joseph Myers <joseph@codesourcery.com>
38898
38899 * sysdeps/unix/sysv/linux/kernel-features.h
38900 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38901 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38902 Remove conditional code.
38903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38904 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38905 Remove conditional code.
38906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38907 * sysdeps/unix/sysv/linux/i386/fxstat.c
38908 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38910 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38913 * sysdeps/unix/sysv/linux/i386/lxstat.c
38914 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38916 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38917 Remove conditional code.
38918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38919 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38920 Remove conditional code.
38921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38922 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38923 <kernel-features.h>.
38924 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38925 Remove.
38926 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38927 Remove conditional code.
38928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38929 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38930 Remove conditional.
38931
389322012-08-27 Mike Frysinger <vapier@gentoo.org>
38933
38934 [BZ #5400]
38935 * NEWS: Add fixed bug number.
38936
389372012-08-27 Joseph Myers <joseph@codesourcery.com>
38938
38939 [BZ #14519]
38940 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38941 underflowing exponent in case of negative sign.
38942 * stdlib/tst-strtod-round-data: Add more tests.
38943 * stdlib/tst-strtod-round.c (tests): Regenerated.
38944
38945 [BZ #3479]
38946 * stdlib/strtod_l.c (NDIG): Remove.
38947 (HEXNDIG): Likewise.
38948 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38949 smallest representable value.
38950 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38951 lie within an exact representation of 1/2 ulp of the result.
38952 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38953 unconditionally.
38954 (TENS_P9_IDX): Define unconditionally.
38955 (TENS_P9_SIZE): Likewise.
38956 (TENS_P10_IDX): Likewise.
38957 (TENS_P10_SIZE): Likewise.
38958 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38959 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38960 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38961 entries for 10^2^13 and 10^2^14.
38962 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38963 (TENS_P13_IDX): Define.
38964 (TENS_P13_SIZE): Likewise.
38965 (TENS_P14_IDX): Likewise.
38966 (TENS_P14_SIZE): Likewise.
38967 (_fpioconst_pow10): Change array size to
38968 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38969 unconditional.
38970 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38971 1024]: Add entries for 10^2^13 and 10^2^14.
38972 [LAST_POW10 > _LAST_POW10]: Remove #error.
38973 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38974 (_fpioconst_pow10): Change array size to
38975 FPIOCONST_POW10_ARRAY_SIZE.
38976 * stdlib/gen-fpioconst.c: New file.
38977 * stdlib/gen-tst-strtod-round.c: Likewise.
38978 * stdlib/tst-strtod-round-data: Likewise.
38979 * stdlib/tst-strtod-round.c: Likewise.
38980 * stdlib/Makefile (tests): Add tst-strtod-round.
38981
38982 [BZ #14459]
38983 * stdlib/strtod_l.c: Include <stdint.h>.
38984 (NDEBUG): Do not define.
38985 (round_and_return): Change EXPONENT parameter to type intmax_t.
38986 Rearrange calculations to avoid internal overflow possibilities.
38987 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38988 Rearrange calculations to avoid internal overflow possibilities.
38989 Assert that number fits inside MPNSIZE limbs.
38990 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38991 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38992 calculations and add assertions to avoid internal overflow
38993 possibilities. Add casts to avoid signed/unsigned operations.
38994 * stdlib/tst-strtod-overflow.c: New file.
38995 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38996
389972012-08-25 Marek Polacek <polacek@redhat.com>
38998
38999 * time/time.h: Fix some typos in comments.
39000
390012012-08-23 Roland McGrath <roland@hack.frob.com>
39002
39003 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39004 * posix/tst-rfc3484-2.c: Likewise.
39005 * posix/tst-rfc3484-3.c: Likewise.
39006
390072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39008
39009 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39010 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39011
390122012-08-23 Joseph Myers <joseph@codesourcery.com>
39013
39014 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39015 #include of fxstatat64.c.
39016
390172012-08-22 Roland McGrath <roland@hack.frob.com>
39018
39019 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39020 * shadow/getspent_r.c: Likewise.
39021 * shadow/getspnam.c: Likewise.
39022 * shadow/getspnam_r.c: Likewise.
39023 * gshadow/getsgent.c: Likewise.
39024 * gshadow/getsgent_r.c: Likewise.
39025 * gshadow/getsgnam.c: Likewise.
39026 * gshadow/getsgnam_r.c: Likewise.
39027 * inet/getnetbyad.c: Likewise.
39028 * inet/getnetbyad_r.c: Likewise.
39029 * inet/getnetbynm.c: Likewise.
39030 * inet/getnetbynm_r.c: Likewise.
39031 * inet/getnetent.c: Likewise.
39032 * inet/getnetent_r.c: Likewise.
39033 * inet/getproto.c: Likewise.
39034 * inet/getproto_r.c: Likewise.
39035 * inet/getprtent.c: Likewise.
39036 * inet/getprtent_r.c: Likewise.
39037 * inet/getprtname.c: Likewise.
39038 * inet/getprtname_r.c: Likewise.
39039 * inet/getrpcbyname.c: Likewise.
39040 * inet/getrpcbyname_r.c: Likewise.
39041 * inet/getrpcbynumber.c: Likewise.
39042 * inet/getrpcbynumber_r.c: Likewise.
39043 * inet/getrpcent.c: Likewise.
39044 * inet/getrpcent_r.c: Likewise.
39045 * inet/getaliasent.c: Likewise.
39046 * inet/getaliasent_r.c: Likewise.
39047 * inet/getaliasname.c: Likewise.
39048 * inet/getaliasname_r.c: Likewise.
39049 * nscd/getgrgid_r.c: Likewise.
39050 * nscd/getgrnam_r.c: Likewise.
39051 * nscd/gethstbyad_r.c: Likewise.
39052 * nscd/gethstbynm3_r.c: Likewise.
39053 * nscd/getpwnam_r.c: Likewise.
39054 * nscd/getpwuid_r.c: Likewise.
39055 * nscd/getsrvbynm_r.c: Likewise.
39056 * nscd/getsrvbypt_r.c: Likewise.
39057 * nscd/gai.c: Likewise.
39058
39059 * configure.in (build_nscd): New substituted variable, set
39060 by --disable-build-nscd and defaults to $use_nscd.
39061 * configure: Regenerated.
39062 * config.make.in (build-nscd): New substituted variable.
39063 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39064 Change conditional to require [$(build-nscd) = yes] as well.
39065 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39066
39067 [BZ# 13696]
39068 * configure.in (use_nscd): New substituted variable, set by
39069 --disable-nscd. If enabled, define USE_NSCD.
39070 * configure: Regenerated.
39071 * config.h.in: Add USE_NSCD.
39072 * config.make.in (use-nscd): New substituted variable.
39073 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39074 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39075 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39076 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39077 (CFLAGS-getgrnam_r.c): Likewise.
39078 (CFLAGS-initgroups.c): Likewise.
39079 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39080 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39081 Variables removed.
39082 * inet/getnetgrent_r.c
39083 (nscd_setnetgrent): New function, broken out of ...
39084 (setnetgrent): ... here. Call it.
39085 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39086 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39087 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39088 * nscd/Makefile (routines, aux): Move definitions after include of
39089 Makeconfig. Conditionalize on [$(use-nscd) != no].
39090 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39091 Conditionalize on [USE_NSCD].
39092 (is_nscd, nscd_init_cb): Likewise.
39093 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39094 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39095 * nss/nss_db/db-init.c: Likewise.
39096 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39097 [USE_NSCD].
39098 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39099 (make_request): Use it.
39100 (cache_valid_p): New function.
39101 (__check_pf): Use it.
39102 * NEWS: Add item for --disable-nscd.
39103
391042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39105
39106 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39107 to support sed >= 4.2.1-20-ga9bf076.
39108 * configure: Regenerated.
39109
391102012-08-22 Roland McGrath <roland@hack.frob.com>
39111
39112 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39113 Conditionalize whole body on [IREL].
39114
391152012-08-22 Jeff Law <law@redhat.com>
39116
39117 [BZ #14505]
39118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39119 if the family is PF_UNSPEC.
39120
391212012-08-22 Mike Frysinger <vapier@gentoo.org>
39122
39123 * Makerules (lib-version): Rename from V.
39124 (install-lib-nosubdir): Change V to lib-version.
39125
391262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39127
39128 [BZ #14252]
39129 * powerpc32/power6/wcschr.c: New file.
39130 * powerpc32/power6/wcscpy.c: New file.
39131 * powerpc32/power6/wcsrchr.c: New file.
39132 * powerpc64/power6/wcschr.c: New file.
39133 * powerpc64/power6/wcscpy.c: New file.
39134 * powerpc64/power6/wcsrchr.c: New file.
39135
391362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39137
39138 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39139 (two_way_short_needle): Use it.
39140 * string/strstr.c (AVAILABLE1_USES_J): Define.
39141 * string/strcasestr.c: Likewise.
39142
39143 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39144 array references.
39145 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39146
39147 [BZ #11607]
39148 * NEWS: Add an entry.
39149 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39150 define their defaults.
39151 (two_way_short_needle): Detect end-of-string on-the-fly.
39152 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39153 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39154 * string/bug-strcasestr1.c: New test.
39155 * string/Makefile: Run it.
39156
391572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39158
39159 [BZ #11607]
39160 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39161 the first character.
39162
391632012-08-21 Roland McGrath <roland@hack.frob.com>
39164
39165 * csu/elf-init.c (__libc_csu_irel): Function removed.
39166 * csu/libc-start.c (apply_irel): New function.
39167 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39168
391692012-08-21 Joseph Myers <joseph@codesourcery.com>
39170
39171 * sysdeps/unix/sysv/linux/kernel-features.h
39172 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39173 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39174 <kernel-features.h>.
39175 [__NR_fadvise64_64]: Make code unconditional.
39176 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39177 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39178 !__NR_fadvise64_64)]: Likewise.
39179 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39180 !__NR_fadvise64_64))]: Likewise.
39181 [__NR_fadvise64]: Make code unconditional.
39182 [!__NR_fadvise64]: Remove conditional code.
39183 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39184 <kernel-features.h>.
39185 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39186 unconditional.
39187 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39188 conditional code.
39189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39190 not include <kernel-features.h>.
39191 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39192 unconditional.
39193 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39194 conditional code.
39195 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39196 include <kernel-features.h>.
39197 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39198 unconditional.
39199 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39200 conditional code.
39201
392022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39203
39204 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39205 slight instruction rearrangements per scrollpipe analysis.
39206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39207
392082012-08-20 Roland McGrath <roland@hack.frob.com>
39209
39210 * manual/syslog.texi (syslog; vsyslog, closelog):
39211 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39212 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39213
39214 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39215 DSOCAPS to match condition on defining it.
39216
392172012-08-20 Joseph Myers <joseph@codesourcery.com>
39218
39219 * sysdeps/unix/sysv/linux/kernel-features.h
39220 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39228 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39229 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39230
39231 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39232 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39233
39234 * sysdeps/unix/sysv/linux/kernel-features.h
39235 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39236 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39237 unconditional.
39238 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39239 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39240 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39241 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39242 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39243 Make code unconditional.
39244 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39245 (__mmap64) [!__NR_mmap2]: Likewise.
39246 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39247 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39248 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39249 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39250 [__NR_mmap2]: Make code unconditional.
39251 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39252 (__mmap64) [!__NR_mmap2]: Likewise.
39253
392542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39255
39256 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39257
392582012-08-18 Andreas Jaeger <aj@suse.de>
39259
39260 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39261
392622012-08-18 Mike Frysinger <vapier@gentoo.org>
39263
39264 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39265 * include/unistd.h (__have_sock_cloexec): Likewise.
39266 (__have_pipe2): Likewise.
39267 (__have_dup3): Likewise.
39268
392692012-08-18 Mike Frysinger <vapier@gentoo.org>
39270
39271 [BZ #9685]
39272 * include/unistd.h (__have_pipe2): Change define into an extern int.
39273 (__have_dup3): Likewise.
39274 * socket/have_sock_cloexec.c: Include fcntl.h.
39275 (__have_pipe2): New variable.
39276 (__have_dup3): Likewise.
39277
392782012-08-17 Mike Frysinger <vapier@gentoo.org>
39279
39280 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39281
392822012-08-17 Marek Polacek <polacek@redhat.com>
39283
39284 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39285 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39286
392872012-08-17 Roland McGrath <roland@hack.frob.com>
39288
39289 * configure.in: Add AC_SUBST for sysheaders.
39290 * configure: Regenerated.
39291 * config.make.in (sysheaders): New substituted variable.
39292
39293 * sysdeps/unix/mkfifo.c: Moved ...
39294 * sysdeps/posix/mkfifo.c: ... here.
39295 * sysdeps/unix/mkfifoat.c: Moved ...
39296 * sysdeps/posix/mkfifoat.c: ... here.
39297
39298 * sysdeps/unix/utime.c: Moved ...
39299 * sysdeps/posix/utime.c: ... here.
39300
39301 * sysdeps/unix/time.c: Moved ...
39302 * sysdeps/posix/time.c: ... here.
39303 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39304 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39305
39306 * sysdeps/unix/nice.c: Moved ...
39307 * sysdeps/posix/nice.c: ... here.
39308
39309 * sysdeps/unix/alarm.c: Moved ...
39310 * sysdeps/posix/alarm.c: ... here.
39311
39312 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39313
393142012-08-17 Jeff Law <law@redhat.com>
39315
39316 * intl/Makefile (codeset_mo): New variable.
39317 ($(codeset_mo)): New target.
39318 (tst-codeset.out): Depend on that. Remove explicit rule.
39319 (tst-gettext3.out, tst-gettext5.out): Likewise.
39320 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39321 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39322 * intl/tst-codeset.sh: Remove.
39323 * intl/tst-gettext3.sh: Likewise.
39324 * intl/tst-gettext5.sh: Likewise.
39325
393262012-08-17 Roland McGrath <roland@hack.frob.com>
39327
39328 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39329 * sysdeps/unix/syscalls.list: ... here.
39330
39331 * sysdeps/posix/getaddrinfo.c
39332 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39333 (gaiconf_init, gaiconf_reload): Use them.
39334 [!_STATBUF_ST_NSEC]
39335 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39336 Define using time_t rather than struct timespec.
39337
39338 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39339 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39340 Macros removed.
39341 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39342 [!NO_THREADS].
39343 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39344 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39345 Likewise.
39346
39347 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39348 __libc_cleanup_push argument.
39349
39350 * bits/param.h: New file.
39351 * misc/sys/param.h: New file.
39352 * include/sys/param.h: New file.
39353 * misc/Makefile (headers): Add bits/param.h.
39354 * sysdeps/generic/sys/param.h: File removed.
39355 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39356 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39357 * sysdeps/mach/hurd/bits/param.h: New file.
39358 * sysdeps/mach/hurd/sys/param.h: File removed.
39359
39360 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39361 last change.
39362
39363 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39364 [_IO_MTSAFE_IO].
39365 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39366 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39367 New macros.
39368
39369 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39370 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39371 rather than -D_IO_MTSAFE_IO conditionally.
39372 * stdio-common/Makefile (CPPFLAGS): Likewise.
39373 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39374 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39375 Use $(libio-mtsafe).
39376 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39377 of -D_IO_MTSAFE_IO.
39378 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39379 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39380 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39381 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39382 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39383 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39384 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39385 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39386 (CFLAGS-fread_u_chk.c): Likewise.
39387 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39388 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39389 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39390 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39391 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39392 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39393 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39394 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39395 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39396
39397 * libio/Makefile: Test [$(libc-reentrant) = yes]
39398 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39399
39400 * Makeconfig
39401 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39402 * sysdeps/pthread/configure: File removed.
39403 * sysdeps/pthread/Makeconfig: New file.
39404 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39405 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39406
394072012-08-16 Gary Benson <gbenson@redhat.com>
39408
39409 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39410 unmapping the first object in a namespace.
39411
394122012-08-16 Roland McGrath <roland@hack.frob.com>
39413
39414 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39415 (__internal_setnetgrent): ... this. Add internal_function to
39416 definition. Add libc_hidden_def.
39417 (setnetgrent): Update caller.
39418 (internal_endnetgrent): Renamed to ...
39419 (__internal_endnetgrent): ... this. Add internal_function to
39420 definition. Add libc_hidden_def.
39421 (endnetgrent): Update caller.
39422 (internal_getnetgrent_r): Renamed to ...
39423 (__internal_getnetgrent_r): ... this. Add internal_function to
39424 definition. Add libc_hidden_def.
39425 (__getnetgrent_r): Update caller.
39426 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39427
394282012-08-16 Joseph Myers <joseph@codesourcery.com>
39429
39430 * stdlib/longlong.h: Update from GCC.
39431
394322012-08-16 Roland McGrath <roland@hack.frob.com>
39433
39434 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39435 on _QL, which is set by umul_ppmm but never used.
39436 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39437 variables, which are set by GMP macros but never used.
39438 * stdio-common/_itowa.c (_itowa): Likewise.
39439 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39440 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39441
394422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39443
39444 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39445 struct La_sh_regs is not constant.
39446 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39447 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39448 and struct La_sparc64_regs are not constant.
39449
394502012-08-16 Joseph Myers <joseph@codesourcery.com>
39451
39452 * sysdeps/unix/sysv/linux/kernel-features.h
39453 (__ASSUME_POSIX_TIMERS): Remove.
39454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39456 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39457 Make code unconditional.
39458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39459 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39460 Make code unconditional.
39461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39462 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39463 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39465 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39466 Make code unconditional.
39467 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39468 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39469 (__libc_missing_posix_timers): Remove.
39470
394712012-08-15 Roland McGrath <roland@hack.frob.com>
39472
39473 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39474 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39475
39476 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39477
39478 * elf/dl-sym.c: Include <stdlib.h>.
39479
39480 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39481 constants, which avoids warnings in 32-bit builds.
39482
39483 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39484 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39485
39486 * misc/lseek.c: File moved to ...
39487 * io/lseek.c: ... here.
39488
39489 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39490
39491 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39492 shifting LEN more than 31 bits at once.
39493
394942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39495
39496 [BZ #14195]
39497 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39498 segmentation fault for a case of two empty input strings.
39499 * string/test-strncasecmp.c (check1): Renamed to...
39500 (bz12205): ...this.
39501 (bz14195): Add new testcase for two empty input strings and N > 0.
39502 (test_main): Call new testcase, adapt for renamed function.
39503
395042012-08-15 Andreas Jaeger <aj@suse.de>
39505
39506 [BZ #14090]
39507 * crypt/md5test2.c: New test, based on test supplied by Serge
39508 Belyshev <belyshev@depni.sinp.msu.ru>.
39509 * crypt/Makefile (xtests): Add md5test-giant..
39510 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39511
395122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39513
39514 [BZ #14090]
39515 * crypt/md5.c (md5_process_block): Don't assume the buffer
39516 length is less than 2**32.
39517 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39518 length is less than 2**64.
39519
395202012-08-15 Roland McGrath <roland@hack.frob.com>
39521
39522 * string/str-two-way.h: Include <sys/param.h>.
39523 (MAX): Macro removed.
39524
39525 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39526 Move #define and #undef of memmove to just before and after
39527 including <string.h>.
39528
39529 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39530 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39531 and after including <string.h>. Move declarations of
39532 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39533 to before #include "string/memmove.c".
39534
39535 * include/dirent.h: Declare __getdirentries.
39536
39537 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39538 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39539
395402012-08-14 Mike Frysinger <vapier@gentoo.org>
39541
39542 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39543 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39544 * sysdeps/i386/configure: Regenerated.
39545 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39546 STABS_CURRENT_FILE, and STABS_FUN.
39547 (END): Remove call to STABS_FUN_END.
39548 (STABS_CURRENT_FILE1): Delete.
39549 (STABS_CURRENT_FILE): Likewise.
39550 (STABS_FUN): Likewise.
39551 (STABS_FUN_END): Likewise.
39552 (STABS_FUN2): Likewise.
39553 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39554 * sysdeps/x86_64/configure: Regenerated.
39555
395562012-08-14 Roland McGrath <roland@hack.frob.com>
39557
39558 * elf/dl-open.c: Include <atomic.h>.
39559 * elf/dl-lookup.c: Likewise.
39560
395612012-08-14 Joseph Myers <joseph@codesourcery.com>
39562
39563 * sysdeps/unix/sysv/linux/kernel-features.h
39564 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39565 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39566 unconditionally.
39567 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39568 unconditionally.
39569 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39570 condition on __ASSUME_CLONE_THREAD_FLAGS.
39571
395722012-08-14 Andreas Jaeger <aj@suse.de>
39573
39574 * sysdeps/i386/fpu/libm-test-ulps: Update.
39575
395762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39577
39578 * include/atomic.h (atomic_exchange_and_add): Split into ...
39579 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39580 New atomic macros.
39581
395822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39583
39584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39585
395862012-08-13 Jeff Law <law@redhat.com>
39587
39588 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39589 null byte in the output string.
39590
395912012-08-10 Joseph Myers <joseph@codesourcery.com>
39592
39593 * sysdeps/unix/sysv/linux/kernel-features.h
39594 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39595 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39596 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39597 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39598 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39599 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39600 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39601
396022012-08-09 Jeff Law <law@redhat.com>
39603
39604 [BZ #13939]
39605 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39606 When avoid_arena is set, don't retry in the that arena. Pick the
39607 next one, whatever it might be.
39608 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39609 (arena_lock): Pass in new parameter to arena_get2.
39610 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39611 arena_get2.
39612 (__libc_malloc): Unify retrying after main arena failure with
39613 __libc_memalign version.
39614 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39615
396162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39617
39618 [BZ #14166]
39619 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39620 to __redirect_strstr.
39621 (__strstr_sse42): Use typeof __redirect_strstr.
39622 (__strstr_ia32): Likewise.
39623 (__libc_strstr): New prototype.
39624 (strstr): Renamed to ...
39625 (__libc_strstr): This.
39626 (strstr): New strong alias of __libc_strstr.
39627 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39628 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39629 __redirect_time.
39630 Include <time.h>.
39631 (__libc_time): New prototype.
39632 (time_ifunc): Replace time with __libc_time.
39633 (time): New strong alias and hidden definition of __libc_time.
39634 (__GI_time): Remove strong alias.
39635 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39636 Include <stddef.h>.
39637 (memmove): Redefined to __redirect_memmove.
39638 (__memmove_sse2): Use typeof __redirect_memmove.
39639 (__memmove_ssse3): Likewise.
39640 (__memmove_ssse3_back): Likewise.
39641 (__libc_memmove): New prototype.
39642 (memmove): Renamed to ...
39643 (__libc_memmove): This.
39644 (memmove): New strong alias of __libc_memmove.
39645
396462012-08-08 Mark Salter <msalter@redhat.com>
39647
39648 * elf/elf.h
39649 (R_MN10300_TLS_GD): Define.
39650 (R_MN10300_TLS_LD): Likewise.
39651 (R_MN10300_TLS_LDO): Likewise.
39652 (R_MN10300_TLS_GOTIE): Likewise.
39653 (R_MN10300_TLS_IE): Likewise.
39654 (R_MN10300_TLS_LE): Likewise.
39655 (R_MN10300_TLS_DTPMOD): Likewise.
39656 (R_MN10300_TLS_DTPOFF): Likewise.
39657 (R_MN10300_TLS_TPOFF): Likewise.
39658 (R_MN10300_SYM_DIFF): Likewise.
39659 (R_MN10300_ALIGN): Likewise.
39660 (R_MN10300_NUM): Update.
39661
396622012-08-08 Joseph Myers <joseph@codesourcery.com>
39663
39664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39665 Remove.
39666
396672012-08-08 Roland McGrath <roland@hack.frob.com>
39668
39669 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39670
39671 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39672 sysdeps/unix -> sysdeps/posix move.
39673 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39674
396752012-08-07 Allan McRae <allan@archlinux.org>
39676
39677 [BZ #14303]
39678 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39679 (SUNOS_CPP): Likewise.
39680 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39681 not found.
39682 (open_input): Call CPP using execvp.
39683
396842012-08-07 Joseph Myers <joseph@codesourcery.com>
39685
39686 * sysdeps/unix/sysv/linux/kernel-features.h
39687 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39688 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39689 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39690 (__ASSUME_WAITID_SYSCALL): Likewise.
39691 * sysdeps/unix/sysv/linux/dl-execstack.c
39692 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39693 code unconditional.
39694 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39695 conditional code.
39696 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39697 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39698 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39699 code.
39700 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39701 unconditional.
39702 [__ASSUME_WAITID_SYSCALL]: Likewise.
39703 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39704
397052012-08-07 Roland McGrath <roland@hack.frob.com>
39706
39707 * sysdeps/unix/closedir.c: Renamed to ...
39708 * sysdeps/posix/closedir.c: ... here.
39709 * sysdeps/unix/dirfd.c: Renamed to ...
39710 * sysdeps/posix/dirfd.c: ... here.
39711 * sysdeps/unix/dirstream.h: Renamed to ...
39712 * sysdeps/posix/dirstream.h: ... here.
39713 * sysdeps/unix/fdopendir.c: Renamed to ...
39714 * sysdeps/posix/fdopendir.c: ... here.
39715 * sysdeps/unix/opendir.c: Renamed to ...
39716 * sysdeps/posix/opendir.c: ... here.
39717 * sysdeps/unix/readdir.c: Renamed to ...
39718 * sysdeps/posix/readdir.c: ... here.
39719 * sysdeps/unix/readdir_r.c: Renamed to ...
39720 * sysdeps/posix/readdir_r.c: ... here.
39721 * sysdeps/unix/rewinddir.c: Renamed to ...
39722 * sysdeps/posix/rewinddir.c: ... here.
39723 * sysdeps/unix/seekdir.c: Renamed to ...
39724 * sysdeps/posix/seekdir.c: ... here.
39725 * sysdeps/unix/telldir.c: Renamed to ...
39726 * sysdeps/posix/telldir.c: ... here.
39727 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39728 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39729 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39730 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39731
39732 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39733 * bits/fcntl.h: ... here.
39734
39735 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39736 not 0.
39737 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39738 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39739 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39740 (struct flock): Move l_start, l_len to the beginning.
39741 Use __pid_t for l_pid.
39742 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39743 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39744 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39745 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39746 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39747 [__USE_LARGEFILE64] (struct flock64): New type.
39748 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39749
39750 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39751 * bits/dirent.h: ... here.
39752
39753 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39754 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39755
397562012-08-07 Joseph Myers <joseph@codesourcery.com>
39757
39758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39759 Change from 2.6.0 to 2.6.16.
39760 * sysdeps/unix/sysv/linux/configure: Regenerated.
39761 * sysdeps/unix/sysv/linux/kernel-features.h
39762 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39763 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39764 version.
39765 (__ASSUME_UTIMES): Likewise.
39766 (__ASSUME_CLONE_STOPPED): Remove.
39767 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39768 architectures, not kernel version.
39769 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39770 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39771 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39772 (__ASSUME_WAITID_SYSCALL): Likewise.
39773 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39774 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39775 * README: State 2.6.16 as minimum Linux kernel version. Do not
39776 refer to older versions.
39777
397782012-08-06 Roland McGrath <roland@hack.frob.com>
39779
39780 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39781 Define alphasort64 as an alias.
39782 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39783 Define versionsort64 as an alias.
39784 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39785 Define scandir64 as an alias.
39786 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39787 Define scandirat64 as an alias.
39788 * dirent/alphasort64.c (alphasort64):
39789 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39790 * dirent/versionsort64.c: Likewise.
39791 * dirent/scandir64.c: Likewise.
39792 * dirent/scandirat64.c: Likewise.
39793 * sysdeps/wordsize-64/alphasort.c: File removed.
39794 * sysdeps/wordsize-64/alphasort64.c: File removed.
39795 * sysdeps/wordsize-64/scandir.c: File removed.
39796 * sysdeps/wordsize-64/scandir64.c: File removed.
39797 * sysdeps/wordsize-64/scandirat.c: File removed.
39798 * sysdeps/wordsize-64/scandirat64.c: File removed.
39799 * sysdeps/wordsize-64/versionsort.c: File removed.
39800 * sysdeps/wordsize-64/versionsort64.c: File removed.
39801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39802 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39803 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39804 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39805 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39808 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39809
39810 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39812 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39813 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39814 [defined __arch64__ || defined __sparcv9]
39815 (__INO_T_MATCHES_INO64_T): New macro.
39816 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39817 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39818 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39819 * sysdeps/unix/sysv/linux/bits/dirent.h
39820 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39821 (_DIRENT_MATCHES_DIRENT64): New macro.
39822
39823 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39824 Define lockf64 as an alias.
39825 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39826 Define fseeko64 as an alias.
39827 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39828 Define ftello64 as an alias.
39829 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39830 Define _IO_fgetpos64 and fgetpos64 as aliases.
39831 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39832 Define _IO_fsetpos64 and fsetpos64 as aliases.
39833 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39834 Conditionalize body on this.
39835 * libio/fseeko64.c: Likewise.
39836 * libio/ftello64.c: Likewise.
39837 * libio/iofgetpos64.c: Likewise.
39838 * libio/iofsetpos64.c: Likewise.
39839 * sysdeps/wordsize-64/lockf.c: File removed.
39840 * sysdeps/wordsize-64/lockf64.c: File removed.
39841 * sysdeps/wordsize-64/fseeko.c: File removed.
39842 * sysdeps/wordsize-64/fseeko64.c: File removed.
39843 * sysdeps/wordsize-64/ftello.c: File removed.
39844 * sysdeps/wordsize-64/ftello64.c: File removed.
39845 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39846 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39847 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39848 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39849 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39850 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39851 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39852 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39853 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39854 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39857 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39858 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39859
39860 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39862 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39864 [defined __arch64__ || defined __sparcv9]
39865 (__OFF_T_MATCHES_OFF64_T): New macro.
39866 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39867 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39869 (__OFF_T_MATCHES_OFF64_T): New macro.
39870
398712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39872
39873 * stdlib/secure-getenv.c (__secure_getenv): Replace
39874 GLIBC_2_16 with GLIBC_2_17.
39875
398762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39877
39878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39879 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39880
398812012-08-03 David S. Miller <davem@davemloft.net>
39882
39883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39884
398852012-08-03 Joseph Myers <joseph@codesourcery.com>
39886
39887 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39888 Remove.
39889 (__ASSUME_CORRECT_SI_PID): Likewise.
39890 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39891 (__ASSUME_TMPFS_NAME): Likewise.
39892 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39893 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39894 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39895 (HAVE_AUX_SECURE): Make definition unconditional.
39896 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39897 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39898
398992012-08-03 Roland McGrath <roland@hack.frob.com>
39900
39901 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39902 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39903 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39905 __eloop_threshold instead of SYMLOOP_MAX.
39906
39907 * sysdeps/generic/eloop-threshold.h: New file.
39908 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39909 of MAXSYMLINKS.
39910 * elf/chroot_canon.c (chroot_canon): Likewise.
39911
399122012-08-03 Joseph Myers <joseph@codesourcery.com>
39913
39914 [BZ #13717]
39915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39916 Change to 2.6.0 everywhere.
39917 * sysdeps/unix/sysv/linux/configure: Regenerated.
39918 * sysdeps/unix/sysv/linux/kernel-features.h
39919 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39920 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39921 kernel versions.
39922 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39923 (__ASSUME_FUTEX_REQUEUE): Remove.
39924 (__ASSUME_STATFS64): Define unconditionally.
39925 (__ASSUME_AT_SECURE): Likewise.
39926 (__ASSUME_CORRECT_SI_PID): Likewise.
39927 (__ASSUME_TGKILL): Define without depending on kernel version for
39928 i386.
39929 (__ASSUME_UTIMES): Likewise.
39930 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39931 kernel version.
39932 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39933 (__ASSUME_TMPFS_NAME): Likewise.
39934 * README: Update reference to Linux kernel versions.
39935
399362012-08-02 Marek Polacek <polacek@redhat.com>
39937
39938 [BZ# 14150]
39939 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39940 libc_cv_asm_type_prefix with %.
39941 * configure: Regenerated.
39942 * include/libc-symbols.h: Remove comment about
39943 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39944 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39945 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39946 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39947 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39948 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39949 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39950 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39951 * elf/tst-unique2mod1.c: Likewise.
39952 * elf/tst-unique1mod2.c: Likewise.
39953 * elf/tst-unique1mod1.c: Likewise.
39954 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39955 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39956 Replace ASM_TYPE_DIRECTIVE with .type.
39957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39958 * sysdeps/i386/sysdep.h: Likewise.
39959 * sysdeps/x86_64/sysdep.h: Likewise.
39960 * sysdeps/sh/sysdep.h: Likewise.
39961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39962 Do not define ASM_TYPE_DIRECTIVE.
39963 * sysdeps/powerpc/sysdep.h: Likewise.
39964 * sysdeps/powerpc/powerpc32/sysdep.h:
39965 Replace ASM_TYPE_DIRECTIVE with .type.
39966 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39967 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39968 * sysdeps/i386/fpu/e_powf.S: Likewise.
39969 * sysdeps/i386/fpu/e_expl.S: Likewise.
39970 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39971 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39972 * sysdeps/i386/fpu/e_pow.S: Likewise.
39973 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39975 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39976 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39977 * sysdeps/i386/fpu/e_log2.S: Likewise.
39978 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39980 * sysdeps/i386/fpu/e_powl.S: Likewise.
39981 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39982 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39983 * sysdeps/i386/fpu/e_logl.S: Likewise.
39984 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39985 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39986 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39987 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39989 * sysdeps/i386/fpu/e_log.S: Likewise.
39990 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39991 * sysdeps/i386/fpu/e_logf.S: Likewise.
39992 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39993 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39994 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39995 * sysdeps/i386/fpu/e_log10.S: Likewise.
39996 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39998 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39999 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40001 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40002 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40003 * sysdeps/i386/i686/strtok.S: Likewise.
40004 * sysdeps/i386/i386-mcount.S: Likewise.
40005 * sysdeps/i386/strtok.S: Likewise.
40006 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40007 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40009 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40010 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40012 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40013 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40014 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40015 * sysdeps/x86_64/_mcount.S: Likewise.
40016 * sysdeps/x86_64/strtok.S: Likewise.
40017 * sysdeps/sh/_mcount.S: Likewise.
40018
400192012-08-01 Roland McGrath <roland@hack.frob.com>
40020
40021 * libio/iofopen.c: Include <fcntl.h>.
40022 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40023 (_IO_fopen64, fopen64): Define as aliases.
40024 * libio/iofopen64.c: Include <fcntl.h>.
40025 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40026 Conditionalize body on this.
40027 * sysdeps/wordsize-64/iofopen.c: File removed.
40028 * sysdeps/wordsize-64/iofopen64.c: File removed.
40029
400302012-08-01 Marek Polacek <polacek@redhat.com>
40031
40032 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40033 Use dlfcn directly instead of a variable.
40034 (binfmt-subdir): Do not define.
40035 (dlfcn): Likewise.
40036
400372012-08-01 Joseph Myers <joseph@codesourcery.com>
40038
40039 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40040 Remove all definitions.
40041 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40042 <kernel-features.h>.
40043 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40044 (miss_F_GETOWN_EX): Remove all definitions.
40045 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40046 macro definition.
40047 [!__ASSUME_FCNTL64]: Remove conditional code.
40048 [__ASSUME_FCNTL64]: Make code unconditional.
40049 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40050 <kernel-features.h>.
40051 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40052 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40053 (lockf64) [__NR_fcntl64]: Make code unconditional.
40054 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40055
40056 * sysdeps/unix/sysv/linux/kernel-features.h
40057 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40058 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40059 Make code unconditional.
40060 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40061 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40063 [__NR_vfork]: Make code unconditional.
40064 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40065 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40067 [__NR_vfork]: Make code unconditional.
40068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40070
400712012-08-01 Roland McGrath <roland@hack.frob.com>
40072
40073 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40074 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40075
40076 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40077 Define mkstemp64 as an alias.
40078 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40079 Define mkstemps64 as an alias.
40080 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40081 Define mkostemp64 as an alias.
40082 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40083 Define mkostemps64 as an alias.
40084 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40085 Conditionalize body on this.
40086 * misc/mkostemp64.c: Likewise.
40087 * misc/mkostemps64.c: Likewise.
40088 * misc/mkstemps64.c: Likewise.
40089 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40090 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40091 * sysdeps/wordsize-64/mkostemp.c: File removed.
40092 * sysdeps/wordsize-64/mkstemp.c: File removed.
40093 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40097
40098 [BZ #14138]
40099 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40100 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40101 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40102 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40103
40104 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40105 compat_symbol macros from <shlib-compat.h> rather than the underlying
40106 default_symbol_version and symbol_version macros, so that DEFAULT
40107 lines in shlib-versions are respected.
40108 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40109
401102012-08-01 Florian Weimer <fweimer@redhat.com>
40111
40112 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40113 Declare with warn_unused_result.
40114 (setgid, setregid, setegid, setresgid): Likewise.
40115 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40116 Likewise.
40117 * WUR-REPORT: Remove set*id functions.
40118
401192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40120
40121 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40122
401232012-07-31 Roland McGrath <roland@hack.frob.com>
40124
40125 [BZ #10191]
40126 * include/sys/socket.h (__libc_accept, __libc_accept4):
40127 Add attribute_hidden.
40128 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40129
40130 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40131 use of PTR_MANGLE.
40132 * inet/getnetgrent_r.c (setup): Likewise.
40133
40134 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40135
401362012-07-31 David S. Miller <davem@davemloft.net>
40137
40138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40139
401402012-07-31 Joseph Myers <joseph@codesourcery.com>
40141
40142 [BZ #13629]
40143 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40144 value between 1.0 and 2.0 and smaller part has absolute value less
40145 than 1.0.
40146 * math/s_clog10.c (__clog10): Likewise.
40147 * math/s_clog10f.c (__clog10f): Likewise.
40148 * math/s_clog10l.c (__clog10l): Likewise.
40149 * math/s_clogf.c (__clogf): Likewise.
40150 * math/s_clogl.c (__clogl): Likewise.
40151 * math/libm-test.inc (clog_test): Add more tests.
40152 (clog10_test): Likewise.
40153 * sysdeps/i386/fpu/libm-test-ulps: Update.
40154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40155
401562012-07-31 Florian Weimer <fweimer@redhat.com>
40157
40158 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40159 Exit with zero in case no suitable GID is found, and write a
40160 message to standard error.
40161
401622012-07-30 Roland McGrath <roland@hack.frob.com>
40163
40164 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40165 rather than to 1.
40166 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40167 (MAXPATHLEN): Removed.
40168 (NOGROUP, NODEV): New macros.
40169 (setbit, clrbit, isset, isclr): New macros.
40170 (howmany, roundup, powerof2): New macros.
40171 (DEV_BSIZE): New macro.
40172
40173 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40174 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40175
40176 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40177 definition on [!__NO_LONG_DOUBLE_MATH].
40178
40179 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40180 PTR_MANGLE and PTR_DEMANGLE.
40181
40182 * socket/accept4.c (accept4): Rename to __libc_accept4.
40183 Define accept4 as a weak alias.
40184
40185 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40186 on [_DIRENT_HAVE_D_TYPE].
40187 * io/ftw.c (ftw_dir): Likewise.
40188
40189 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40190
40191 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40192
40193 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40194 Use the BSD numbers rather than the arbitrary ones we had.
40195 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40196 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40197 (SIGXCPU, SIGXFSZ): New macros.
40198 (_NSIG): Now 32.
40199
40200 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40201 initializer on [_LIBC_REENTRANT].
40202
40203 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40204 definitions inside [_POSIX_MAPPED_FILES].
40205
40206 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40207
40208 * dirent/opendir.c: Include <fcntl.h>.
40209
40210 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40211 (__libc_getspecific): Likewise.
40212 (__libc_key_create): Likewise.
40213
40214 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40215 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40216 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40217 (tmpfile64): Define as alias.
40218 * sysdeps/wordsize-64/tmpfile.c: File removed.
40219 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40220 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40221 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40222
40223 * stdio-common/vfscanf.c: Include <stdbool.h>.
40224 * nss/makedb.c: Likewise.
40225 * stdio-common/_i18n_number.h: Likewise.
40226 * argp/argp-help.c: Likewise.
40227 * posix/wordexp.c: Likewise.
40228 * sysdeps/posix/spawni.c: Likewise.
40229 * nss/nss_files/files-initgroups.c: Likewise.
40230 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40231 * nss/nss_files/files-initgroups.c: Likewise.
40232 * nss/nss_db/db-netgrp.c: Likewise.
40233 * nss/nss_db/db-initgroups.c: Likewise.
40234 * io/fchmodat.c: Include <sys/stat.h>.
40235
40236 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40237 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40238
40239 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40240 [HAVE_MMAP].
40241
40242 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40243 Add multiple inclusion protection.
40244
402452012-07-27 David S. Miller <davem@davemloft.net>
40246
40247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40248
402492012-07-27 Gary Benson <gbenson@redhat.com>
40250
40251 [BZ #14298]
40252 * elf/rtld.c: Include <stap-probe.h>.
40253 (dl_main): Added static probes "init_start" and "init_complete".
40254 * elf/dl-load.c: Include <stap-probe.h>.
40255 (lose): Take new parameter "nsid".
40256 Added static probe "map_failed".
40257 (_dl_map_object_from_fd): Pass namespace id to lose.
40258 Added static probe "map_start".
40259 (open_verify): Pass namespace id to lose.
40260 * elf/dl-open.c: Include <stap-probe.h>.
40261 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40262 and "reloc_complete".
40263 * elf/dl-close.c: Include <stap-probe.h>.
40264 (_dl_close_worker): Added static probes "unmap_start" and
40265 "unmap_complete".
40266 * elf/rtld-debugger-interface.txt: New file documenting the above.
40267
402682012-07-26 Roland McGrath <roland@hack.frob.com>
40269
40270 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40271 rather than a string variable.
40272 * sunrpc/rpc_main.c (h_output): Likewise.
40273 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40274
402752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40276
40277 * inet/check_native.c: New file.
40278
402792012-07-26 Joseph Myers <joseph@codesourcery.com>
40280
40281 [BZ #13629]
40282 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40283 if larger part has absolute value 1.0.
40284 * math/s_clog10.c (__clog10): Likewise.
40285 * math/s_clog10f.c (__clog10f): Likewise.
40286 * math/s_clog10l.c (__clog10l): Likewise.
40287 * math/s_clogf.c (__clogf): Likewise.
40288 * math/s_clogl.c (__clogl): Likewise.
40289 * math/libm-test.inc (clog_test): Add more tests.
40290 (clog10_test): Likewise.
40291 * sysdeps/i386/fpu/libm-test-ulps: Update.
40292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40293
40294 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40295 (pltexit): Likewise.
40296 (La_regs): Likewise.
40297 (La_retval): Likewise.
40298 (int_retval): Likewise.
40299 Update #error for removed macros to refer only to definitions in
40300 tst-audit.h.
40301 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40302 macro.
40303 (pltexit): Likewise.
40304 (La_regs): Likewise.
40305 (La_retval): Likewise.
40306 (int_retval): Likewise.
40307 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40308 macro.
40309 (pltexit): Likewise.
40310 (La_regs): Likewise.
40311 (La_retval): Likewise.
40312 (int_retval): Likewise.
40313 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40314 macro.
40315 (pltexit): Likewise.
40316 (La_regs): Likewise.
40317 (La_retval): Likewise.
40318 (int_retval): Likewise.
40319 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40320 macro.
40321 (pltexit): Likewise.
40322 (La_regs): Likewise.
40323 (La_retval): Likewise.
40324 (int_retval): Likewise.
40325 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40326 macro.
40327 (pltexit): Likewise.
40328 (La_regs): Likewise.
40329 (La_retval): Likewise.
40330 (int_retval): Likewise.
40331 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40332 macro.
40333 (pltexit): Likewise.
40334 (La_regs): Likewise.
40335 (La_retval): Likewise.
40336 (int_retval): Likewise.
40337 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40338 macro definitions in tst-audit.h.
40339 * sysdeps/i386/tst-audit.h: New file.
40340 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40341 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40342 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40343 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40344 * sysdeps/sh/tst-audit.h: Likewise.
40345 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40346 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40347 * sysdeps/x86_64/tst-audit.h: Likewise.
40348
403492012-07-26 Andreas Jaeger <aj@suse.de>
40350
40351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40352 ptrace.
40353
40354 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40355 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40356 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40357 PTRACE_O_MASK.
40358 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40359 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40360 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40361
40362 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40363 value.
40364
40365 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40366 _sigsys.
40367 (si_call_addr, si_syscall, si_arch): Define new macro.
40368 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40369 _sigsys.
40370 (si_call_addr, si_syscall, si_arch): Define new marcro.
40371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40372 _sigsys.
40373 (si_call_addr, si_syscall, si_arch): Define new macro.
40374 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40375 _sigsys.
40376 (si_call_addr, si_syscall, si_arch): Define new macro.
40377
403782012-07-25 Joseph Myers <joseph@codesourcery.com>
40379
40380 [BZ #13717]
40381 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40382 Change to 2.4.21 where previously 2.4.1.
40383 * sysdeps/unix/sysv/linux/configure: Regenerated.
40384 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40385 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40386 Linux kernel version.
40387 (__ASSUME_STD_AUXV): Remove.
40388 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40389 kernel version.
40390 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40391 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40392 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40393 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40394 (__ASSUME_NETLINK_SUPPORT): Likewise.
40395 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40396 (__no_netlink_support): Remove conditional definition.
40397 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40398 Remove.
40399 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40400 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40401 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40402 (if_nameindex_ioctl): Remove.
40403 (if_nameindex_netlink): Do not handle __no_netlink_support.
40404 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40405 code.
40406 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40407 Remove conditional code.
40408 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40409 code.
40410 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40411 unconditional.
40412 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40413 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40414 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40415 Remove.
40416 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40417 [!__ASSUME_STD_AUXV]: Remove conditional code.
40418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40419 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40420 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40422 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40423 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40424 code.
40425 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40427 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40428 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40429 conditional code.
40430 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40432 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40433 code.
40434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40435 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40436 conditional code.
40437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40438 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40439 code unconditional.
40440 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40441 conditional code.
40442 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40443 unconditional.
40444 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40445 conditional code.
40446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40447 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40448 unconditional.
40449 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40450 conditional code.
40451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40452 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40453 code unconditional.
40454 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40455 conditional code.
40456 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40457 unconditional.
40458 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40459 conditional code.
40460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40461 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40462 code unconditional.
40463 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40464 conditional code.
40465 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40466 unconditional.
40467 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40468 conditional code.
40469
404702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40471
40472 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40473 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40474 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40475 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40476 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40477 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40478 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40479 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40480 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40481 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40482 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40483 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40484 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40485 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40486 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40487 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40488 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40490 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40492 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40493 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40494 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40495
404962012-07-25 Florian Weimer <fweimer@redhat.com>
40497
40498 * Versions.def: Add GLIBC_2.17.
40499 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40500 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40501 Introduce __libc_secure_getenv.
40502 * stdlib/Versions (2.17): Add secure_getenv
40503 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40504 * stdlib/secure-getenv.c: Rename __secure_getenv to
40505 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40506 symbol __secure_getenv for GLIBC_2.0.
40507 * stdlib/tst-secure-getenv.c: New.
40508 * stdlib/Makefile (tests): Add testcase.
40509 * manual/startup.texi (Environment Access): Document
40510 secure_getenv.
40511 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40512 __libc_secure_getenv.
40513 * inet/ruserpass.c (ruserpass): Likewise.
40514 * malloc/mtrace.c (mtrace): Likewise.
40515 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40516 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40517 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40518 * sysdeps/posix/tempname.c: Likewise. Evaluate
40519 HAVE_SECURE_GETENV.
40520 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40521 __secure_getenv to __libc_secure_getenv.
40522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40524 Likewise.
40525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40526 Likewise.
40527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40529 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40534
405352012-07-25 Joseph Myers <joseph@codesourcery.com>
40536
40537 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40538 (struct La_i86_retval): Likewise.
40539 (struct La_x86_64_regs): Likewise.
40540 (struct La_x86_64_retval): Likewise.
40541 (struct La_x32_regs): Likewise.
40542 (struct La_x32_retval): Likewise.
40543 (struct La_ppc32_regs): Likewise.
40544 (struct La_ppc32_retval): Likewise.
40545 (struct La_ppc64_regs): Likewise.
40546 (struct La_ppc64_retval): Likewise.
40547 (struct La_sh_regs): Likewise.
40548 (struct La_sh_retval): Likewise.
40549 (struct La_s390_32_regs): Likewise.
40550 (struct La_s390_32_retval): Likewise.
40551 (struct La_s390_64_regs): Likewise.
40552 (struct La_s390_64_retval): Likewise.
40553 (struct La_sparc32_regs): Likewise.
40554 (struct La_sparc32_retval): Likewise.
40555 (struct La_sparc64_regs): Likewise.
40556 (struct La_sparc64_retval): Likewise.
40557 (struct audit_ifaces): Remove architecture-specific pltenter and
40558 pltexit members.
40559 * sysdeps/i386/ldsodefs.h: New file.
40560 * sysdeps/powerpc/ldsodefs.h: Likewise.
40561 * sysdeps/s390/ldsodefs.h: Likewise.
40562 * sysdeps/sh/ldsodefs.h: Likewise.
40563 * sysdeps/sparc/ldsodefs.h: Likewise.
40564 * sysdeps/x86_64/ldsodefs.h: Likewise.
40565
405662012-07-25 Marek Polacek <polacek@redhat.com>
40567
40568 [BZ #6808]
40569 * math/libm-test.inc (yn_test): Add another test.
40570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40571 to ERANGE when the result is +-Inf.
40572 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40573 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40574 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40575 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40576
405772012-07-24 Joseph Myers <joseph@codesourcery.com>
40578
40579 * conform/data/time.h-data (NULL): Use macro-constant. Require
40580 equal to 0.
40581 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40582 clock_t.
40583 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40584
405852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40586
40587 * configure.in <sysdeps resolving>: Correct printing
40588 Implies_before.
40589 * configure: Regenerate.
40590
405912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40592
40593 * math/w_ilogb.c: Include <limits.h>.
40594 * math/w_ilogbl.c: Likewise.
40595
405962012-07-20 Joseph Myers <joseph@codesourcery.com>
40597
40598 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40599 va_copy. Document allowing for unavailable va_copy only as
40600 pre-C99 compatibility.
40601 * manual/string.texi (Copying and Concatenation): Use va_copy
40602 instead of __va_copy in concat example.
40603
406042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40605
40606 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40607 (__sendto): Use create_address_port. Initialize APORT and deallocate
40608 it if not null.
40609
40610 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40611 with O_NOLINK passed to __file_name_lookup.
40612
40613 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40614 with O_NOLINK passed to __file_name_lookup.
40615
40616 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40617 negative N or less than NGIDS.
40618
40619 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40620 type to string_t. Set ERANGE as errno and return it if NAME is not big
40621 enough. Use memcpy instead of strncpy.
40622
406232012-07-20 Joseph Myers <joseph@codesourcery.com>
40624
40625 * elf/Makefile (check-data): Remove.
40626 (localplt.data): New vpath directive.
40627 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40628 instead of $(check-data).
40629 * scripts/data/localplt-generic.data: Move to ...
40630 * sysdeps/generic/localplt.data: ... here.
40631 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40632 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40633 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40635 ... here.
40636 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40638 ... here.
40639 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40641 ... here.
40642 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40644 ... here.
40645 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40647 ... here.
40648 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40650 ... here.
40651
406522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40653
40654 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40655 PPC32 and PPC64 files.
40656 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40657 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40658
406592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40660
40661 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40662 __makecontext_ret to ...
40663 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40664 ... here and call exit if uc_link is NULL. New file.
40665 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40666 __makecontext_ret.S.
40667 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40668 __makecontext_ret to ...
40669 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40670 ... here and call exit if uc_link is NULL. New file.
40671 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40672 __makecontext_ret.S.
40673
406742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40675
40676 * elf/elf.h (R_390_IRELATIVE): New definition.
40677 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40678 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40679 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40681 (elf_machine_lazy_rel): Likewise.
40682 * sysdeps/s390/dl-irel.h: New file.
40683 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40684 * sysdeps/s390/s390-64/memset.S: New asm code.
40685 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40686 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40687 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40688 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40689 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40690 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40691 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40692 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40693 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40694 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40695 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40696 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40697 * sysdeps/s390/s390-32/memset.S: New asm code.
40698 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40699
407002012-07-17 Marek Polacek <polacek@redhat.com>
40701
40702 [BZ #14349]
40703 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40704 * sysdeps/s390/s390-64/configure.in: Likewise.
40705 * sysdeps/sparc/configure.in: Likewise.
40706 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40707 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40708 * sysdeps/i386/configure.in: Likewise.
40709 * sysdeps/x86_64/configure.in: Likewise.
40710 * sysdeps/sh/configure.in: Likewise.
40711 * sysdeps/s390/s390-32/configure: Regenerated.
40712 * sysdeps/s390/s390-64/configure: Likewise.
40713 * sysdeps/x86_64/configure: Likewise.
40714 * sysdeps/sh/configure: Likewise.
40715 * sysdeps/powerpc/powerpc64/configure: Likewise.
40716 * sysdeps/powerpc/powerpc32/configure: Likewise.
40717 * sysdeps/sparc/configure: Likwise.
40718 * sysdeps/i386/configure: Likewise.
40719
40720 * elf/dl-open.c: Comment fixes.
40721
407222012-07-17 Joseph Myers <joseph@codesourcery.com>
40723
40724 * Makefile [CXX] (check-data): Remove.
40725 [CXX] (c++-types.data): New vpath directive.
40726 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40727 vpath. Do not allow for C++ type data being missing.
40728 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40729 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40730 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40731 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40732 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40733 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40734 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40736 ... here.
40737 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40739 ... here.
40740 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40742 ... here.
40743 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40745 ... here.
40746 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40748 ... here.
40749 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40751 ... here.
40752 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40754 ... here.
40755 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40757
40758 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40759 definitions to architecture-specific files.
40760 (TLS_IE): Likewise.
40761 (TLS_LD): Likewise.
40762 (TLS_GD): Likewise.
40763 * sysdeps/i386/tls-macros.h: New file.
40764 * sysdeps/powerpc/tls-macros.h: Likewise.
40765 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40766 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40767 * sysdeps/sh/tls-macros.h: Likewise.
40768 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40769 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40770 * sysdeps/x86_64/tls-macros.h: Likewise.
40771
407722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40773
40774 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40775 zero value for regular exit case.
40776
40777 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40778 (__start_context): Preserve zero value for regular exit case.
40779
407802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40781 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40782
40783 * manual/setjmp.texi (setcontext): Clarify normal process
40784 termination when uc_link is the null pointer.
40785 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40786 exit call.
40787
407882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40789
40790 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40791 preprocessor. Test for each exception mask separately.
40792
407932012-07-16 Andreas Jaeger <aj@suse.de>
40794
40795 * po/ru.po: Update from translation team.
40796
407972012-07-15 Joseph Myers <joseph@codesourcery.com>
40798
40799 * conform/data/string.h-data (NULL): Use macro-constant. Require
40800 equal to 0.
40801 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40802 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40803 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40804 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40806
408072012-07-13 Andreas Jaeger <aj@suse.de>
40808
40809 * po/fr.po: Update from translation team.
40810
408112012-07-12 Marek Polacek <polacek@redhat.com>
40812
40813 [BZ #14173]
40814 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40815 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40816 loop condition.
40817
408182012-07-12 Joseph Myers <joseph@codesourcery.com>
40819
40820 [BZ #13717]
40821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40822 Change to 2.4.1 where previously 2.4.0.
40823 * sysdeps/unix/sysv/linux/configure: Regenerated.
40824 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40825 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40826 version.
40827 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40828 (__ASSUME_AT_CLKTCK): Remove.
40829 (__ASSUME_AT_PAGESIZE): Likewise.
40830 (__ASSUME_AT_XID): Likewise.
40831 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40832 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40833 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40834 unconditionally.
40835 (HAVE_AUX_PAGESIZE): Likewise.
40836 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40837 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40838 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40839
408402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40841
40842 [BZ #14307]
40843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40844 the temporary buffer used to invoke __gethostbyname2_r,
40845 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40846 host_data / struct gaih_addrtuple.
40847 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40848 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40849 header file nss/nsswitch.h.
40850 * nss/nsswitch.h (global scope): Add definition of implementation
40851 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40852 resolv/nss_dns/dns-host.c).
40853
408542012-07-11 Andreas Jaeger <aj@suse.de>
40855
40856 * po/fr.po: Update from translation team.
40857
40858 * po/sv.po: Update from translation team
40859 * po/fr.po: Another update from translation team.
40860
408612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40862
40863 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40864 for subnormals or multiply small sinh result by itself.
40865 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40867
408682012-07-11 David S. Miller <davem@davemloft.net>
40869
40870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40871
408722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40873
40874 [BZ #14347]
40875 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40876 (INTERNAL_MARK): Shift it here.
40877
408782012-07-10 Marek Polacek <polacek@redhat.com>
40879
40880 [BZ #14151]
40881 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40882 libc_cv_asm_global_directive with .globl.
40883 * configure: Regenerated.
40884 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40885 with .globl.
40886 * sysdeps/i386/configure: Regenerated.
40887 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40888 with .globl.
40889 * sysdeps/x86_64/configure: Regenerated.
40890 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40891 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40892 * elf/tst-unique2mod2.c: Likewise.
40893 * elf/tst-unique2mod1.c: Likewise.
40894 * elf/tst-unique1mod2.c: Likewise.
40895 * elf/tst-unique1mod1.c: Likewise.
40896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40897 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40899 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40900 * sysdeps/mach/sysdep.h: Likewise.
40901 * sysdeps/i386/sysdep.h: Likewise.
40902 * sysdeps/i386/i386-mcount.S: Likewise.
40903 * sysdeps/x86_64/_mcount.S: Likewise.
40904 * sysdeps/x86_64/sysdep.h: Likewise.
40905 * sysdeps/sh/_mcount.S: Likewise.
40906 * sysdeps/sh/sysdep.h: Likewise.
40907 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40908 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40909 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40910 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40911 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40912 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40913 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40914 * locale/localeinfo.h: Likewise.
40915 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40916 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40917
409182012-07-09 Roland McGrath <roland@hack.frob.com>
40919
40920 [BZ #14336]
40921 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40922 system".
40923 * manual/message.texi (The Uniforum approach): Likewise.
40924 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40925 (glibc iconv Implementation): Likewise.
40926
409272012-07-09 Joseph Myers <joseph@codesourcery.com>
40928
40929 [BZ #14337]
40930 * math/s_clog.c (__clog): Avoid scaling a value down where that
40931 could result in underflow.
40932 * math/s_clog10.c (__clog10): Likewise.
40933 * math/s_clog10f.c (__clog10f): Likewise.
40934 * math/s_clog10l.c (__clog10l): Likewise.
40935 * math/s_clogf.c (__clogf): Likewise.
40936 * math/s_clogl.c (__clogl): Likewise.
40937 * math/libm-test.inc (clog_test): Add more tests.
40938 (clog10_test): Likewise.
40939 * sysdeps/i386/fpu/libm-test-ulps: Update.
40940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40941
409422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40943
40944 [BZ #14283]
40945 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40946 by 7 not 8 to examine high bit of fractional part.
40947
40948 [BZ #14042]
40949 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40950 for call to __mcount_internal.
40951 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40952 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40953 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40954
409552012-07-06 Joseph Myers <joseph@codesourcery.com>
40956
40957 [BZ #14154]
40958 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40959 approximation for values within 0x1p-13f of an odd multiple of
40960 pi/4.
40961 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40962 exception. Add more tests.
40963 * sysdeps/i386/fpu/libm-test-ulps: Update.
40964
40965 [BZ #6778]
40966 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40967 inputs and return -1 for them. Do not check for +Inf in case not
40968 reachable for +Inf.
40969 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40970 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40971 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40972 and return -1 for them. Do not check for +Inf in case not
40973 reachable for +Inf.
40974 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40975 define.
40976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40977 and return -1 for them. Do not check for +Inf in case not
40978 reachable for +Inf.
40979 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40980 spurious underflow.
40981 * sysdeps/i386/fpu/libm-test-ulps: Update.
40982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40983
409842012-07-06 Mike Frysinger <vapier@gentoo.org>
40985
40986 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40987
409882012-07-05 Joseph Myers <joseph@codesourcery.com>
40989
40990 [BZ #14157]
40991 [BZ #14331]
40992 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40993 could result in spurious underflow. Scale down values above
40994 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40995 * math/s_csqrtf.c (__csqrtf): Likewise.
40996 * math/s_csqrtl.c (__csqrtl): Likewise.
40997 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40998 spurious underflow.
40999 * sysdeps/i386/fpu/libm-test-ulps: Update.
41000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41001
410022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41003
41004 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41005 xopen-msg.sed.
41006 * catgets/xopen-msg.awk: New file.
41007 * catgets/xopen-msg.sed: Removed.
41008
41009 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41010 po2text.sed.
41011 * intl/po2test.awk: New file.
41012 * intl/po2test.sed: Removed.
41013
410142012-07-04 Joseph Myers <joseph@codesourcery.com>
41015
41016 [BZ #14328]
41017 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41018 or multiply small sinh result by itself.
41019 * math/s_ctanf.c (__ctanf): Likewise.
41020 * math/s_ctanh.c (__ctanh): Likewise.
41021 * math/s_ctanhf.c (__ctanhf): Likewise.
41022 * math/s_ctanhl.c (__ctanhl): Likewise.
41023 * math/s_ctanl.c (__ctanl): Likewise.
41024 * math/libm-test.inc (ctan_test_tonearest): New function.
41025 (ctan_test_towardzero): Likewise.
41026 (ctan_test_downward): Likewise.
41027 (ctan_test_upward): Likewise.
41028 (ctanh_test_tonearest): Likewise.
41029 (ctanh_test_towardzero): Likewise.
41030 (ctanh_test_downward): Likewise.
41031 (ctanh_test_upward): Likewise.
41032 (main): Call these new functions.
41033 * sysdeps/i386/fpu/libm-test-ulps: Update.
41034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41035
410362012-07-03 Mike Frysinger <vapier@gentoo.org>
41037
41038 * .gitignore: Delete /ports entry.
41039
410402012-07-03 Andreas Jaeger <aj@suse.de>
41041
41042 * po/bg.po: Update from translation team.
41043 * po/cs.po: Likewise.
41044 * po/de.po: Likewise.
41045 * po/hr.po: Likewise.
41046 * po/nl.pl: Likewise.
41047 * po/pl.po: Likewise.
41048 * po/vi.po: Likewise.
41049
410502012-07-03 Joseph Myers <joseph@codesourcery.com>
41051
41052 * Makeconfig [!+link] (+link-before-libc): New variable.
41053 [!+link] (+link-after-libc): Likewise.
41054 [!+link] (+link-tests): Likewise.
41055 [!+link] (+link): Define in terms of $(+link-before-libc) and
41056 $(+link-after-libc).
41057 [!+link-static] (+link-static-before-libc): New variable.
41058 [!+link-static] (+link-static-after-libc): Likewise.
41059 [!+link-static] (+link-static-tests): Likewise.
41060 [!+link-static] (+link-static): Define in terms of
41061 $(+link-static-before-libc) and $(+link-static-after-libc).
41062 [build-shared] (link-libc-before-gnulib): New variable.
41063 [build-shared] (link-libc-tests): Likewise.
41064 [build-shared] (link-libc): Define in terms of
41065 $(link-libc-before-gnulib).
41066 [!build-shared] (link-libc-tests): New variable.
41067 (link-libc-static-tests): New variable.
41068 [!gnulib] (gnulib-arch): New variable.
41069 [!gnulib] (gnulib-tests): Likewise.
41070 [!gnulib] (static-gnulib-arch): Likewise.
41071 [!gnulib] (static-gnulib-tests): Likewise.
41072 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41073 Define with "=" instead of ":=".
41074 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41075 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41076 * Rules (binaries-all-notests): New variable.
41077 (binaries-all-tests): Likewise.
41078 (binaries-static-notests): Likewise.
41079 (binaries-static-tests): Likewise.
41080 (binaries-all): Define using $(binaries-all-notests) and
41081 $(binaries-all-tests).
41082 (binaries-static): Define using $(binaries-static-notests) and
41083 $(binaries-static-tests).
41084 (binaries-shared-tests): New variable.
41085 (binaries-shared-notests): Likewise.
41086 (binaries-shared): Remove variable.
41087 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41088 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41089 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41090 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41091 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41092 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41093 * elf/Makefile (sln-modules): New variable.
41094 (extra-objs): Add $(sln-modules:=.o).
41095 (ldconfig-modules): Add static-stubs.
41096 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41097 * elf/static-stubs.c: New file.
41098
41099 [BZ #14283]
41100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41101 by 7 not 8 to examine high bit of fractional part. Use volatile
41102 variables when splitting into final array of floats if
41103 __FLT_EVAL_METHOD__ != 0.
41104 * math/libm-test.inc (cos_test): Add another test.
41105 (sin_test): Likewise.
41106 * sysdeps/i386/fpu/libm-test-ulps: Update.
41107
41108 [BZ #14273]
41109 * math/libm-test.inc (cosh_test): Add more tests.
41110
41111 * version.h (RELEASE): Set to "development".
41112 (VERSION): Set to "2.16.90".
41113
411142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41115
41116 * NEWS: Update copyright. Remove last-updated date.
41117 Mention math library bug fixes and timezone data changes.
41118 * README: Mention GNU/Hurd, x32, and HPPA support status.
41119
411202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41121
41122 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41123
411242012-06-27 Andreas Jaeger <aj@suse.de>
41125
41126 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41127
411282012-06-25 Andreas Jaeger <aj@suse.de>
41129
41130 * sysdeps/s390/fpu/libm-test-ulps: Update.
41131
411322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41133 Thomas Schwinge <thomas@codesourcery.com>
41134
41135 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41136 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41138 fanotify_mark.
41139
411402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41141
41142 * sysdeps/mach/start.c: Remove file.
41143 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41144 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41145 * sysdeps/sh/init-first.c: Likewise.
41146
41147 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41148 registers for frame unwinding purposes, add CFI directives.
41149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41151 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41152 Likewise.
41153
41154 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41155 __fortify_fail returning.
41156 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41157
41158 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41159 sysdeps/sh/____longjmp_chk.S.
41160 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41161 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41162 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41163 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41164
41165 * sysdeps/sh/abort-instr.h: New file.
41166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41167 process in case exit returns.
41168
41169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41170 initialize the GOT register before use.
41171
41172 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41173 calculation of ARGC > 4.
41174
41175 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41176 meaningful names to some local labels.
41177
411782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41179 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41180
41181 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41182 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41183 (__arch_compare_and_exchange_val_16_acq): Likewise.
41184 (__arch_compare_and_exchange_val_32_acq): Likewise.
41185 (atomic_exchange_and_add): Fix gUSA sequence.
41186 (atomic_add): Likewise.
41187 (atomic_add_negative): Likewise.
41188 (atomic_add_zero): Likewise.
41189 (atomic_bit_test_set): Likewise.
41190
411912012-06-22 Andreas Schwab <schwab@redhat.com>
41192
41193 [BZ #13579]
41194 * include/link.h (struct link_map): Add l_free_initfini.
41195 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41196 l_initfini.
41197 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41198 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41199 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41200 set.
41201
412022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41203
41204 * configure.in: Use AC_LANG_SOURCE.
41205 * configure: Regenerate.
41206
412072012-06-22 Roland McGrath <roland@hack.frob.com>
41208
41209 * configure.in (libc_cv_localstatedir): New substituted variable.
41210 * configure: Regenerated.
41211 * config.make.in (localstatedir): New variable, substituted from
41212 libc_cv_localstatedir.
41213 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41214 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41215 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41216 * sysdeps/gnu/configure: Regenerated.
41217
412182012-06-21 Jeff Law <law@redhat.com>
41219
41220 [BZ #14277]
41221 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41222 free. Simplify list management for _LIBC case.
41223
412242012-06-21 Joseph Myers <joseph@codesourcery.com>
41225
41226 [BZ #14273]
41227 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41228 Clear sign bit of 64-bit integer value before comparing against
41229 overflow value.
41230
41231 * sysdeps/mach/configure: Regenerated.
41232
412332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41234
41235 [BZ #14278]
41236 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41237
412382012-06-21 Jeff Law <law@redhat.com>
41239
41240 [BZ #13882]
41241 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41242 uint16_t for elements in the "seen" array to avoid char overflows.
41243 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41244 * elf/dl-open.c (dl_open_worker): Likewise.
41245
412462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41247
41248 * scripts/list-sources.sh: Scan PORTS for translations.
41249 * po/libc.pot: Regenerated.
41250
412512012-06-21 Andreas Jaeger <aj@suse.de>
41252
41253 [BZ #12194]
41254 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41255 warning.
41256 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41257 * bits/byteswap-16.h (__bswap_16): Likewise.
41258 * bits/byteswap.h (__bswap_constant_16): Likewise.
41259
412602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41261
41262 [BZ #14117]
41263 * sysdeps/i386/fpu_control.h: Removed.
41264 * sysdeps/x86_64/fpu_control.h: Moved to ...
41265 * sysdeps/x86/fpu_control.h: Here.
41266
41267 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41268 (_FPU_SETCW): Likewise.
41269
412702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41271
41272 [BZ #14117]
41273 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41274 * sysdeps/x86/fpu/bits/mathinline.h: This.
41275 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41276
41277 [BZ #14050]
41278 [BZ #14117]
41279 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41280 functions if __x86_64__ is defined.
41281
412822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41283
41284 * string/endian.h: Add !__ASSEMBLER__ condition for including
41285 conversion interfaces.
41286
412872012-06-15 Joseph Myers <joseph@codesourcery.com>
41288
41289 [BZ #14241]
41290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41291 of ABS(x) in calculating zero to negative powers other than odd
41292 integers.
41293 * math/libm-test.inc (pow_test): Add more tests.
41294
412952012-06-15 Andreas Jaeger <aj@suse.de>
41296
41297 * manual/contrib.texi (Contributors): Update entry of Liubov
41298 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41299 Machado Filho.
41300
413012012-06-15 Cyril Hrubis <metan@ucw.cz>
41302
41303 * string/string.h: Add __wur to GNU version of strerror_r.
41304
413052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41306
41307 [BZ #14229]
41308 * string/Makefile (tests): Add tst-strtok_r.
41309 * string/tst-strtok_r.c: New file.
41310 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41311 RAX_LP/RDX_LP on SAVE_PTR.
41312
413132012-06-14 Roland McGrath <roland@hack.frob.com>
41314
41315 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41316
413172012-06-14 Joseph Myers <joseph@codesourcery.com>
41318
41319 * libm_test.inc (csqrt_test): Allow more spurious underflow
41320 exceptions.
41321 (j0_test): Likewise.
41322 (j1_test): Likewise.
41323 (y0_test): Likewise.
41324 (y1_test): Likewise.
41325
413262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41327
41328 * po/Makefile (libc.pot): Use UTF-8 charset.
41329
413302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41331
41332 [BZ #14210]
41333 Suppress sign-conversion warning from FD_SET.
41334 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41335 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41336 not unsigned long int.
41337 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41338
413392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41340
41341 [BZ #14050]
41342 [BZ #14117]
41343 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41344 __extern_always_inline instead of __extern_inline.
41345 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41346 (__signbit): Likewise.
41347 (__signbitl): Support C++ namespace.
41348 (lrintf): New inline function.
41349 (lrint): Likewise.
41350 (llrintf): Likewise.
41351 (llrint): Likewise.
41352 (fmaxf): Likewise.
41353 (fmax): Likewise.
41354 (fminf): Likewise.
41355 (fmin): Likewise.
41356 (rint): Likewise.
41357 (rintf): Likewise.
41358 (ceil): Likewise.
41359 (ceilf): Likewise.
41360 (floor): Likewise.
41361 (floorf): Likewise.
41362 (nearbyint): Likewise.
41363 (nearbyintf): Likewise.
41364
413652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41366
41367 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41368 non-default versions.
41369
413702012-06-11 Roland McGrath <roland@hack.frob.com>
41371
41372 [BZ #14218]
41373 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41374
413752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41376
41377 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41378 (FE_UPWARD, FE_DOWNWARD): Don't define.
41379 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41380 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41381
41382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41383 reading it.
41384 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41385 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41386
413872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41388
41389 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41391 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41392 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41393
413942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41395
41396 [BZ #14117]
41397 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41398 * sysdeps/i386/fpu/Implies: New file.
41399 * sysdeps/x86_64/fpu/Implies: Likewise.
41400 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41401 * sysdeps/x86/fpu/bits/fenv.h: This.
41402
41403 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41404 __SSE_MATH__.
41405
414062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41407
41408 [BZ #14134]
41409 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41410 character 0xffff that matches the last element of the
41411 conversion table.
41412
414132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41414
41415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41416 fmodl commit.
41417
414182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41419
41420 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41421 values higher than 25.6283.
41422
414232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41424
41425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41426 subnormal exponent extraction and add some __builtin_expect.
41427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41428 Fix for subnormal mantissa calculation.
41429
414302012-06-04 Mike Frysinger <vapier@gentoo.org>
41431
41432 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41433 cpu2 is -1 and errno is not ENOSYS.
41434
414352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41436
41437 [BZ #14117]
41438 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41439 * sysdeps/x86/bits/string.h: This.
41440 * sysdeps/x86_64/bits/string.h: Removed.
41441
41442 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41443 if not compiling for x86-64, but compiling for >= i486.
41444
41445 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41446 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41447
41448 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41449 New macro from Linux kernel 3.4.0.
41450 (FP_XSTATE_MAGIC2): Likewise.
41451 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41452 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41453 (struct _fpx_sw_bytes): New struct.
41454 (struct _xsave_hdr): Likewise.
41455 (struct _ymmh_state): Likewise.
41456 (struct _xstate): Likewise.
41457
41458 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41459 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41460 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41461 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41462 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41463 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41464
41465 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41466 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41467 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41468 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41469 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41470 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41471
414722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41473
41474 [BZ #13743]
41475 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41476 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41477 (sysdep_headers): Include sys/platform/ppc.h.
41478 * sysdeps/powerpc/test-gettimebase.c: Test for
41479 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41480 * manual/Makefile (appendices): Include platform.texi.
41481 * manual/contrib.texi (Contributors): Update @node pointers.
41482 * manual/maint.texi (Maintenance): Likewise.
41483 (Platform): New node.
41484 * manual/platform.texi: New file. Document the new features.
41485
414862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41487 Jakub Jelinek <jakub@redhat.com>
41488
41489 [BZ #14188]
41490 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41491 where __builtin_expect is unavailable.
41492
414932012-06-03 David S. Miller <davem@davemloft.net>
41494
41495 * stdlib/longlong.h: Updated from GCC.
41496
414972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41498
41499 [BZ #14042]
41500 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41501 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41502 __mcount_internal.
41503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41504 (GLIBC_2.16): Likewise.
41505
415062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41507
41508 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41509
415102012-06-01 Joseph Myers <joseph@codesourcery.com>
41511
41512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41513 (default-abi): New variable.
41514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41515 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41516 variable.
41517 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41518 Likewise.
41519 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41520 Likewise.
41521 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41522 Likewise.
41523
41524 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41525 definition. Document in comment.
41526
415272012-06-01 David S. Miller <davem@davemloft.net>
41528
41529 * stdlib/longlong.h: Updated from GCC.
41530
415312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41532
41533 [BZ #14117]
41534 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41535 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41536 sys/debugreg.h sys/io.h here.
41537 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41538 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41539 sys/io.h.
41540 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41541 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41542 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41543 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41544 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41545 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41546
41547 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41548 Define only if __x86_64__ is defined.
41549
415502012-06-01 Joseph Myers <joseph@codesourcery.com>
41551
41552 [BZ #14048]
41553 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41554 Use int64_t for variable i.
41555 * math/libm-test.inc (fmod_test): Add more tests.
41556
41557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41558 z computation is not scheduled after fetestexcept.
41559 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41560 Use math_force_eval instead of asm to ensure calculation scheduled
41561 before exception test.
41562 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41563 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41564
415652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41566
41567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41568 computation is not scheduled after fetestexcept.
41569
415702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41571
41572 [BZ #14117]
41573 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41574 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41575
415762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41577
41578 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41579 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41580
415812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41582
41583 [BZ #14117]
41584 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41585 <bits/wordsize.h>.
41586 (__WCHAR_MIN): Support __WORDSIZE == 64.
41587 (__WCHAR_MAX): Likewise.
41588
41589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41591
41592 [BZ #14183]
41593 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41594 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41595
41596 [BZ #14117]
41597 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41598 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41599
41600 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41601 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41602
41603 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41604 Defined to 1 if __x86_64__ isn't defined.
41605 (_STAT_VER_LINUX_OLD): New.
41606 (st_atime): Remove duplicate.
41607 (st_mtime): Likewise.
41608 (st_ctime): Likewise.
41609
416102012-05-31 David S. Miller <davem@davemloft.net>
41611
41612 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41613 entries.
41614
416152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41616
41617 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41618 gen-libm-test.pl.
41619
41620 [BZ #14132]
41621 * elf/dl-reloc.c: Include <_itoa.h>.
41622 (_dl_reloc_bad_type): Remove use of INTUSE.
41623 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41624 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41625 * stdio-common/psiginfo.c (psiginfo): Likewise.
41626 * stdio-common/psignal.c (psignal): Likewise.
41627 * string/strsignal.c (strsignal): Likewise.
41628 * include/signal.h (_sys_siglist): Declare hidden proto.
41629 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41630 INTVARDEF with libc_hidden_data_def.
41631 * stdio-common/itoa-udigits.c: Likewise.
41632 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41633 (_itoa_lower_digits_internal): Remove declaration.
41634 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41635 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41636 (_sys_sigabbrev_internal): Remove aliases.
41637 (_sys_siglist): Define hidden alias.
41638
416392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41640
41641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41642 bits/sysctl.h.
41643
416442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41645
41646 [BZ #14117]
41647 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41648 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41649
41650 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41651 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41652 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41653 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41654 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41655 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41656
41657 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41658 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41659 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41660
41661 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41662 with __addr.
41663 (insw): Likewise.
41664 (insl): Likewise.
41665 (outsb): Likewise.
41666 (outsw): Likewise.
41667 (outsl): Likewise.
41668
41669 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41670 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41671 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41672
41673 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41674 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41675 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41676 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41677 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41678 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41679
41680 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41681 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41682
41683 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41684 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41685
41686 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41689
41690 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41691 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41692 to ...
41693 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41694
41695 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41696 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41697 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41698
41699 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41700 for x86-64.
41701 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41702
417032012-05-31 Joseph Myers <joseph@codesourcery.com>
41704
41705 * math/math.h (M_El): Use two more decimal places.
41706 (M_LOG2El): Likewise.
41707 (M_LOG10El): Likewise.
41708 (M_LN2l): Likewise.
41709 (M_LN10l): Likewise.
41710 (M_PIl): Likewise.
41711 (M_PI_2l): Likewise.
41712 (M_PI_4l): Likewise.
41713 (M_1_PIl): Likewise.
41714 (M_2_PIl): Likewise.
41715 (M_2_SQRTPIl): Likewise.
41716 (M_SQRT2l): Likewise.
41717 (M_SQRT1_2l): Likewise.
41718
417192012-05-31 David S. Miller <davem@davemloft.net>
41720
41721 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41722 values between float registers.
41723 * sysdeps/sparc/sparc64/memset.S: Likewise.
41724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41725
417262012-05-31 Mike Frysinger <vapier@gentoo.org>
41727
41728 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41729 -D_FORTIFY_SOURCE=1.
41730 (CPPFLAGS-tst-longjmp_chk.c): Define.
41731 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41732 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41733 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41734 CFLAGS-tst-wchar-h.c.
41735
417362012-05-31 Marek Polacek <polacek@redhat.com>
41737
41738 [BZ #14132]
41739 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41740 __endmntent_internal): Remove declaration.
41741 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41742 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41743 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41744
417452012-05-30 David S. Miller <davem@davemloft.net>
41746
41747 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41748 (___Q_simulate_exceptions): Use real FP ops rather than writing
41749 into the %fsr.
41750 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41751 Likewise.
41752
417532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 [BZ #14117]
41756 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41757 * sysdeps/x86/bits/xtitypes.h: This.
41758
41759 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41760 * sysdeps/x86/bits/wordsize.h: This.
41761
41762 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41763 * sysdeps/x86/bits/huge_vall.h: This.
41764
41765 * sysdeps/i386/bits/select.h: Removed.
41766 * sysdeps/x86_64/bits/select.h: Renamed to ...
41767 * sysdeps/x86/bits/select.h: This.
41768
41769 * sysdeps/i386/bits/setjmp.h: Removed.
41770 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41771 * sysdeps/x86/bits/setjmp.h: This.
41772
41773 * sysdeps/i386/bits/mathdef.h: Removed.
41774 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41775 * sysdeps/x86/bits/mathdef.h: This.
41776
417772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41778
41779 [BZ #14132]
41780 * include/sys/socket.h (__connect_internal)
41781 (__libc_sa_len_internal): Remove declaration.
41782 (__connect, __libc_sa_len): Declare hidden_proto.
41783 (SA_LEN): Remove use of INTUSE.
41784 * socket/connect.c: Add libc_hidden_def.
41785 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41786 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41787 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41788 alias.
41789 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41790 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41791 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41792 of adding _internal alias.
41793
417942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41795
41796 [BZ #14117]
41797 * sysdeps/i386/bits/link.h: Removed.
41798 * sysdeps/i386/bits/linkmap.h: Likewise.
41799 * sysdeps/x86_64/bits/link.h: Renamed to ...
41800 * sysdeps/x86/bits/link.h: This.
41801 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41802 * sysdeps/x86/bits/linkmap.h: This.
41803
41804 * sysdeps/i386/bits/endian.h: Removed.
41805 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41806 * sysdeps/x86/bits/endian.h: This.
41807
41808 * sysdeps/i386/bits/byteswap.h: Removed.
41809 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41810 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41811 * sysdeps/x86/bits/byteswap.h: This.
41812 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41813 * sysdeps/x86/bits/byteswap-16.h: This.
41814 * sysdeps/i386/Implies: Add x86.
41815 * sysdeps/x86_64/Implies: Likewise.
41816
418172012-05-30 David S. Miller <davem@davemloft.net>
41818
41819 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41820 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41821 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41822 (FP_TRAPPING_EXCEPTIONS): Define.
41823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41824 (FP_TRAPPING_EXCEPTIONS): Define.
41825 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41826 subnormals only when inexact has been signalled or underflow
41827 exceptions are enabled.
41828 (_FP_PACK_CANONICAL): Likewise.
41829
418302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41831
41832 [BZ #14183]
41833 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41834 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41835
418362012-05-30 Richard Henderson <rth@twiddle.net>
41837
41838 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41839 with #ifndef NOT_IN_libc.
41840
41841 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41842 marked to avoid plt entry.
41843
418442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41845
41846 [BZ #14112]
41847 * Makeconfig (default-abi): New macro.
41848 (abi-includes): Likewise.
41849 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41850 $(abi-$(default-abi)-lib-soname) for soname if defined.
41851 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41852 abi-variants.
41853 * Makefile (installed-stubs): Likewise.
41854 * include/stubs-biarch.h: Removed.
41855 * scripts/lib-names.awk: Only handle one library at a time.
41856 * scripts/soversions.awk: Remove WORDSIZE support.
41857 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41858 entries.
41859 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41860 Removed.
41861 (syscall-list-default-condition): Likewise.
41862 (syscall-list-default-condition): Likewise.
41863 (syscall-list-includes): Likewise.
41864 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41865 syscall-list-* with abi-*. Handle undefined abi-variants.
41866 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41867 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41868 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41869 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41870 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41871 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41872 Removed.
41873 (syscall-list-32-options): Likewise.
41874 (syscall-list-32-condition): Likewise.
41875 (syscall-list-64-options): Likewise.
41876 (syscall-list-64-condition): Likewise.
41877 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41878 macro.
41879 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41880 Renamed to ...
41881 (abi-*): This.
41882 (abi-64-ld-soname): New macro.
41883 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41884 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41885 Renamed to ...
41886 (abi-*): This.
41887 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41888 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41889
418902012-05-30 Joseph Myers <joseph@codesourcery.com>
41891
41892 * sysdeps/unix/sysv/linux/kernel-features.h
41893 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41894 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41895 include <kernel-features.h>.
41896 [!__NR_ftruncate64]: Remove conditional code.
41897 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41898 [__NR_ftruncate64]: Make code unconditional.
41899 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41900 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41901 include <kernel-features.h>.
41902 [!__NR_ftruncate64]: Remove conditional code.
41903 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41904 [__NR_ftruncate64]: Make code unconditional.
41905 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41907 include <kernel-features.h>.
41908 [!__NR_ftruncate64]: Remove conditional code.
41909 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41910 [__NR_ftruncate64]: Make code unconditional.
41911 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41913 include <kernel-features.h>.
41914 [!__NR_ftruncate64]: Remove conditional code.
41915 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41916 [__NR_ftruncate64]: Make code unconditional.
41917 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41918
41919 * configure.in (libc_cv_fpie): Weaken to a compile test using
41920 LIBC_TRY_CC_OPTION.
41921 * configure: Regenerated.
41922
419232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41924
41925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41929 Refreshed.
41930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41936 Refreshed.
41937
419382012-05-27 David S. Miller <davem@davemloft.net>
41939
41940 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41941 (___Q_zero): New.
41942 (__Q_simulate_exceptions): Return void. Change to simulate
41943 exceptions by writing into the %fsr.
41944 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41945 (__Qp_handle_exceptions): Likewise.
41946 (numbers): Delete.
41947 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41948 __Qp_handle_exceptions.
41949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41950 __Qp_handle_exceptions.
41951 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41952 as unused and give dummy FP_RND_NEAREST initializer.
41953 (FP_INHIBIT_RESULTS): Define.
41954 (___Q_simulate_exceptions): Update declaration.
41955 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41956 formatting.
41957 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41958 as unused and give dummy FP_RND_NEAREST initializer.
41959 (__Qp_handle_exceptions): Update declaration.
41960 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41961 formatting.
41962
419632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41964
41965 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41966 the temporary FPU control word.
41967 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41968 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41970 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41971 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41972 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41973 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41974 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41975 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41976 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41977 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41978
419792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41980
41981 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41982 fields.
41983
419842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41985
41986 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41987 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41988 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41989 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41990 Likewise.
41991 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41992 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41993 Likewise.
41994
419952012-05-27 Ulrich Drepper <drepper@gmail.com>
41996
41997 * po/h.po: Update from translation team.
41998
419992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42000
42001 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42002
42003 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42004 handling of denormals.
42005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42006 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42007 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42008 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42009 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42012 Likewise.
42013
420142012-05-26 Marek Polacek <polacek@redhat.com>
42015
42016 [BZ #14152]
42017 * math/libm-test.inc (fma_test): Don't always expect underflow
42018 exception.
42019
420202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42021
42022 [BZ #12416]
42023 * elf/tst-execstack.c: Include stackinfo.h.
42024 (do_test): Adjust test case to ensure that pthread_getattr_np
42025 behaviour remains the same after marking stack executable.
42026
420272012-05-25 Joseph Myers <joseph@codesourcery.com>
42028
42029 * sysdeps/unix/sysv/linux/kernel-features.h
42030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42031 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42032 kernel-features.h.
42033 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42034 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42035 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42036 kernel-features.h.
42037 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42038 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42039
420402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42041
42042 * configure.in: Define the default includes to being none.
42043 * configure: Regenerated.
42044
420452012-05-25 Roland McGrath <roland@hack.frob.com>
42046
42047 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42048 * sysdeps/x86_64/setjmp.S: Likewise.
42049 * sysdeps/i386/bsd-setjmp.S: Likewise.
42050 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42051 * sysdeps/i386/setjmp.S: Likewise.
42052 * sysdeps/i386/__longjmp.S: Likewise.
42053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42054 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42055
42056 * include/stap-probe.h: New file.
42057 * configure.in: Handle --enable-systemtap.
42058 * configure: Regenerated.
42059 * config.h.in (USE_STAP_PROBE): New #undef.
42060 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42061 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42062 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42063
420642012-05-25 Joseph Myers <joseph@codesourcery.com>
42065
42066 [BZ #13717]
42067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42068 to 2.4.0 where earlier.
42069 * sysdeps/unix/sysv/linux/configure: Regenerated.
42070 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42071 <kernel-features.h>.
42072 [__ASSUME_32BITUIDS]: Make code unconditional.
42073 [!__ASSUME_32BITUIDS]: Remove conditional code.
42074 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42075 <kernel-features.h>.
42076 [__ASSUME_32BITUIDS]: Make code unconditional.
42077 [!__ASSUME_32BITUIDS]: Remove conditional code.
42078 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42079 [__ASSUME_32BITUIDS]: Make code unconditional.
42080 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42081 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42082 <kernel-features.h>.
42083 [__ASSUME_32BITUIDS]: Make code unconditional.
42084 [!__ASSUME_32BITUIDS]: Remove conditional code.
42085 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42086 <kernel-features.h>.
42087 [__ASSUME_32BITUIDS]: Make code unconditional.
42088 [!__ASSUME_32BITUIDS]: Remove conditional code.
42089 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42090 <kernel-features.h>.
42091 [__ASSUME_32BITUIDS]: Make code unconditional.
42092 [!__ASSUME_32BITUIDS]: Remove conditional code.
42093 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42094 <kernel-features.h>.
42095 [__ASSUME_32BITUIDS]: Make code unconditional.
42096 [!__ASSUME_32BITUIDS]: Remove conditional code.
42097 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42098 <kernel-features.h>.
42099 [__ASSUME_32BITUIDS]: Make code unconditional.
42100 [!__ASSUME_32BITUIDS]: Remove conditional code.
42101 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42102 <kernel-features.h>.
42103 [__ASSUME_32BITUIDS]: Make code unconditional.
42104 [!__ASSUME_32BITUIDS]: Remove conditional code.
42105 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42106 <kernel-features.h>.
42107 [__ASSUME_32BITUIDS]: Make code unconditional.
42108 [!__ASSUME_32BITUIDS]: Remove conditional code.
42109 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42110 <kernel-features.h>.
42111 [__ASSUME_32BITUIDS]: Make code unconditional.
42112 [!__ASSUME_32BITUIDS]: Remove conditional code.
42113 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42114 <kernel-features.h>.
42115 [__ASSUME_32BITUIDS]: Make code unconditional.
42116 [!__ASSUME_32BITUIDS]: Remove conditional code.
42117 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42118 <kernel-features.h>.
42119 [__ASSUME_32BITUIDS]: Make code unconditional.
42120 [!__ASSUME_32BITUIDS]: Remove conditional code.
42121 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42122 <kernel-features.h>.
42123 [__NR_setresgid] (__setresgid): Do not declare.
42124 [__ASSUME_32BITUIDS]: Make code unconditional.
42125 [!__ASSUME_32BITUIDS]: Remove conditional code.
42126 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42127 <kernel-features.h>.
42128 [__NR_setresuid] (__setresuid): Do not declare.
42129 [__ASSUME_32BITUIDS]: Make code unconditional.
42130 [!__ASSUME_32BITUIDS]: Remove conditional code.
42131 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42132 <kernel-features.h>.
42133 [__ASSUME_32BITUIDS]: Make code unconditional.
42134 [!__ASSUME_32BITUIDS]: Remove conditional code.
42135 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42136 <kernel-features.h>.
42137 [__ASSUME_32BITUIDS]: Make code unconditional.
42138 [!__ASSUME_32BITUIDS]: Remove conditional code.
42139 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42140 <kernel-features.h>.
42141 [__ASSUME_32BITUIDS]: Make code unconditional.
42142 [!__ASSUME_32BITUIDS]: Remove conditional code.
42143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42144 <kernel-features.h>.
42145 [__ASSUME_32BITUIDS]: Make code unconditional.
42146 [!__ASSUME_32BITUIDS]: Remove conditional code.
42147 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42148 <kernel-features.h>.
42149 [__ASSUME_32BITUIDS]: Make code unconditional.
42150 [!__ASSUME_32BITUIDS]: Remove conditional code.
42151 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42152 <kernel-features.h>.
42153 [__ASSUME_32BITUIDS]: Make code unconditional.
42154 [!__ASSUME_32BITUIDS]: Remove conditional code.
42155 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42156 <kernel-features.h>.
42157 [__ASSUME_32BITUIDS]: Make code unconditional.
42158 [!__ASSUME_32BITUIDS]: Remove conditional code.
42159 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42160 <kernel-features.h>.
42161 [__ASSUME_32BITUIDS]: Make code unconditional.
42162 [!__ASSUME_32BITUIDS]: Remove conditional code.
42163 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42164 <kernel-features.h>.
42165 [__ASSUME_32BITUIDS]: Make code unconditional.
42166 [!__ASSUME_32BITUIDS]: Remove conditional code.
42167 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42168 <kernel-features.h>.
42169 [__ASSUME_32BITUIDS]: Make code unconditional.
42170 [!__ASSUME_32BITUIDS]: Remove conditional code.
42171 * sysdeps/unix/sysv/linux/kernel-features.h
42172 (__ASSUME_SETRESUID_SYSCALL): Remove.
42173 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42174 (__ASSUME_32BITUIDS): Likewise.
42175 (__ASSUME_LDT_WORKS): Likewise.
42176 (__ASSUME_O_DIRECTORY): Likewise.
42177 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42178 architecture but not kernel version.
42179 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42180 (__ASSUME_MMAP2_SYSCALL): Likewise.
42181 (__ASSUME_STAT64_SYSCALL): Likewise.
42182 (__ASSUME_IPC64): Likewise.
42183 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42184 <kernel-features.h>.
42185 [__ASSUME_32BITUIDS]: Make code unconditional.
42186 [!__ASSUME_32BITUIDS]: Remove conditional code.
42187 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42188 <kernel-features.h>.
42189 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42190 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42191 132096]: Remove conditional code.
42192 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42193 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42194 <kernel-features.h>.
42195 [__ASSUME_32BITUIDS]: Make code unconditional.
42196 [!__ASSUME_32BITUIDS]: Remove conditional code.
42197 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42198 <kernel-features.h>.
42199 [__ASSUME_32BITUIDS]: Make code unconditional.
42200 [!__ASSUME_32BITUIDS]: Remove conditional code.
42201 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42202 <kernel-features.h>.
42203 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42204 unconditional.
42205 (__setresgid): Do not declare.
42206 [__ASSUME_32BITUIDS]: Make code unconditional.
42207 [!__ASSUME_32BITUIDS]: Remove conditional code.
42208 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42209 <kernel-features.h>.
42210 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42211 unconditional.
42212 (__setresuid): Do not declare.
42213 [__ASSUME_32BITUIDS]: Make code unconditional.
42214 [!__ASSUME_32BITUIDS]: Remove conditional code.
42215 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42216 <kernel-features.h>.
42217 [__ASSUME_32BITUIDS]: Make code unconditional.
42218 [!__ASSUME_32BITUIDS]: Remove conditional code.
42219 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42220 <kernel-features.h>.
42221 [__ASSUME_32BITUIDS]: Make code unconditional.
42222 [!__ASSUME_32BITUIDS]: Remove conditional code.
42223
422242012-05-25 Richard Henderson <rth@twiddle.net>
42225
42226 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42227 dl_hwcap to ifunc resolver.
42228 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42229 elf_ifunc_invoke.
42230 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42231 dl_hwcap to ifunc resolver.
42232 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42233
422342012-05-24 Joseph Myers <joseph@codesourcery.com>
42235
42236 [BZ #14153]
42237 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42238 for |x| <= 2**-26, not 2**-57.
42239 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42240 exception.
42241
422422012-05-24 Jeff Law <law@redhat.com>
42243
42244 * stdio-common/Makefile (tests): Add bug25.
42245 * stdio-common/bug25.c: New test.
42246
422472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42248
42249 [BZ #13576]
42250 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42251 multiple of MALLOC_ALIGNMENT in size.
42252 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42253
422542012-05-24 Joseph Myers <joseph@codesourcery.com>
42255
42256 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42257 Require >= 256.
42258 (FILENAME_MAX): Use macro-int-constant.
42259 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42260 (_IOFBF): Use macro-int-constant.
42261 (_IOLBF): Likewise.
42262 (_IONBF): Likewise.
42263 (SEEK_CUR): Likewise.
42264 (SEEK_END): Likewise.
42265 (SEEK_SET): Likewise.
42266 (TMP_MAX): Likewise.
42267 (EOF): Use macro-int-constant. Require < 0.
42268 (NULL): Use macro-constant. Require == 0.
42269 (stdin): Require type to be FILE *.
42270 (stdout): Likewise.
42271 (stderr): Likewise.
42272 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42273 macro-int-constant.
42274 (EXIT_SUCCESS): Likewise.
42275 (NULL): Use macro-constant. Require == 0.
42276 (RAND_MAX): Use macro-int-constant.
42277 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42278 [C99-based standards] (strtof): Require function.
42279 [C99-based standards] (strtold): Likewise.
42280 [C99-based standards] (strtoll): Likewise.
42281 [C99-based standards] (strtoull): Likewise.
42282 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42283 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42284 [ISO || ISO99 || ISO11] (math.h): Likewise.
42285 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42286 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42288
422892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42290
42291 [BZ #14132]
42292 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42293 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42294 * intl/dgettext.c (DCGETTEXT): Likewise.
42295 * intl/gettext.c (DCGETTEXT): Likewise.
42296 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42297 * posix/regex_internal.h (gettext): Likewise.
42298 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42299 Remove declaration.
42300 * include/argz.h (__argz_count_internal)
42301 (__argz_stringify_internal): Remove declaration.
42302 (__argz_count, __argz_stringify): Declare hidden proto.
42303 * intl/dcgettext.c: Remove use of INTDEF.
42304 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42305 * string/argz-stringify.c: Likewise.
42306 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42307 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42308 Declare hidden proto.
42309 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42310 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42311 Declare hidden proto.
42312 * include/stdio.h (__asprintf_internal): Don't declare.
42313 (__asprintf): Don't define as macro. Declare hidden proto.
42314 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42315 (__fsetlocking): Declare hidden proto.
42316 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42317 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42318 hidden proto.
42319 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42320 (_IO_setlinebuf): Remove use of INTUSE.
42321 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42322 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42323 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42324 Remove declaration.
42325 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42326 (_IO_do_flush): Remove use of INTUSE.
42327 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42328 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42329 (_IO_adjust_column, _IO_least_wmarker)
42330 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42331 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42332 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42333 (_IO_default_doallocate, _IO_wdefault_doallocate)
42334 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42335 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42336 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42337 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42338 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42339 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42340 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42341 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42342 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42343 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42344 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42345 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42346 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42347 proto.
42348 (_IO_flush_all_internal, _IO_adjust_column_internal)
42349 (_IO_default_uflow_internal, _IO_default_finish_internal)
42350 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42351 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42352 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42353 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42354 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42355 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42356 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42357 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42358 (_IO_file_close_internal, _IO_file_close_it_internal)
42359 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42360 (_IO_file_init_internal, _IO_file_attach_internal)
42361 (_IO_file_fopen_internal, _IO_file_read_internal)
42362 (_IO_file_sync_internal, _IO_file_seek_internal)
42363 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42364 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42365 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42366 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42367 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42368 (_IO_list_all_internal, _IO_link_in_internal)
42369 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42370 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42371 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42372 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42373 (_IO_do_write_internal, _IO_padn_internal)
42374 (_IO_getline_info_internal, _IO_getline_internal)
42375 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42376 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42377 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42378 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42379 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42380 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42381 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42382 with libc_hidden_ver, remove use of INTUSE.
42383 * libio/genops.c: Likewise.
42384 * libio/freopen.c: Likewise.
42385 * libio/freopen64.c: Likewise.
42386 * libio/iofclose.c: Likewise.
42387 * libio/iofdopen.c: Likewise.
42388 * libio/iofflush.c: Likewise.
42389 * libio/iofflush_u.c: Likewise.
42390 * libio/iofgets.c: Likewise.
42391 * libio/iofgets_u.c: Likewise.
42392 * libio/iofopen.c: Likewise.
42393 * libio/iofopncook.c: Likewise.
42394 * libio/iofread.c: Likewise.
42395 * libio/iofread_u.c: Likewise.
42396 * libio/ioftell.c: Likewise.
42397 * libio/iofwrite.c: Likewise.
42398 * libio/iogetline.c: Likewise.
42399 * libio/iogets.c: Likewise.
42400 * libio/iogetwline.c: Likewise.
42401 * libio/iopadn.c: Likewise.
42402 * libio/iopopen.c: Likewise.
42403 * libio/ioseekoff.c: Likewise.
42404 * libio/ioseekpos.c: Likewise.
42405 * libio/iosetbuffer.c: Likewise.
42406 * libio/iosetvbuf.c: Likewise.
42407 * libio/ioungetc.c: Likewise.
42408 * libio/ioungetwc.c: Likewise.
42409 * libio/iovdprintf.c: Likewise.
42410 * libio/iovsprintf.c: Likewise.
42411 * libio/iovsscanf.c: Likewise.
42412 * libio/memstream.c: Likewise.
42413 * libio/obprintf.c: Likewise.
42414 * libio/oldfileops.c: Likewise.
42415 * libio/oldiofclose.c: Likewise.
42416 * libio/oldiofdopen.c: Likewise.
42417 * libio/oldiofopen.c: Likewise.
42418 * libio/oldiopopen.c: Likewise.
42419 * libio/oldstdfiles.c: Likewise.
42420 * libio/putc.c: Likewise.
42421 * libio/setbuf.c: Likewise.
42422 * libio/setlinebuf.c: Likewise.
42423 * libio/stdfiles.c: Likewise.
42424 * libio/strops.c: Likewise.
42425 * libio/vasprintf.c: Likewise.
42426 * libio/vscanf.c: Likewise.
42427 * libio/vsnprintf.c: Likewise.
42428 * libio/vswprintf.c: Likewise.
42429 * libio/wfiledoalloc.c: Likewise.
42430 * libio/wfileops.c: Likewise.
42431 * libio/wgenops.c: Likewise.
42432 * libio/wmemstream.c: Likewise.
42433 * libio/wstrops.c: Likewise.
42434 * libio/__fpurge.c: Likewise.
42435 * libio/__fsetlocking.c: Likewise.
42436 * assert/assert.c: Likewise.
42437 * debug/fgets_chk.c: Likewise.
42438 * debug/fgets_u_chk.c: Likewise.
42439 * debug/fread_chk.c: Likewise.
42440 * debug/fread_u_chk.c: Likewise.
42441 * debug/gets_chk.c: Likewise.
42442 * debug/obprintf_chk.c: Likewise.
42443 * debug/vasprintf_chk.c: Likewise.
42444 * debug/vdprintf_chk.c: Likewise.
42445 * debug/vsnprintf_chk.c: Likewise.
42446 * debug/vsprintf_chk.c: Likewise.
42447 * malloc/mtrace.c: Likewise.
42448 * misc/error.c: Likewise.
42449 * misc/syslog.c: Likewise.
42450 * stdio-common/asprintf.c: Likewise.
42451 * stdio-common/fxprintf.c: Likewise.
42452 * stdio-common/getw.c: Likewise.
42453 * stdio-common/isoc99_fscanf.c: Likewise.
42454 * stdio-common/isoc99_scanf.c: Likewise.
42455 * stdio-common/isoc99_vfscanf.c: Likewise.
42456 * stdio-common/isoc99_vscanf.c: Likewise.
42457 * stdio-common/isoc99_vsscanf.c: Likewise.
42458 * stdio-common/printf-prs.c: Likewise.
42459 * stdio-common/printf_fp.c: Likewise.
42460 * stdio-common/printf_fphex.c: Likewise.
42461 * stdio-common/printf_size.c: Likewise.
42462 * stdio-common/putw.c: Likewise.
42463 * stdio-common/scanf.c: Likewise.
42464 * stdio-common/sprintf.c: Likewise.
42465 * stdio-common/tmpfile.c: Likewise.
42466 * stdio-common/vfprintf.c: Likewise.
42467 * stdio-common/vfscanf.c: Likewise.
42468 * stdlib/strfmon_l.c: Likewise.
42469 * sunrpc/openchild.c: Likewise.
42470 * sunrpc/xdr_stdio.c: Likewise.
42471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42472 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42473
424742012-05-24 Roland McGrath <roland@hack.frob.com>
42475
42476 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42477
42478 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42479 in the third column, to generate for the shared library an IFUNC
42480 that uses _dl_vdso_vsym.
42481 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42482 * Makeconfig (object-suffixes-noshared): New variable.
42483
42484 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42485 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42486 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42487 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42488
42489 [BZ #14132]
42490 * include/sys/time.h (__gettimeofday): Remove macro.
42491 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42492 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42493 Remove INTDEF.
42494 (__gettimeofday): Add libc_hidden_def.
42495 (gettimeofday): Add libc_hidden_weak.
42496 * sysdeps/mach/gettimeofday.c: Likewise.
42497 * sysdeps/posix/gettimeofday.c: Likewise.
42498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42501 (__gettimeofday_internal): Remove strong_alias.
42502 (__gettimeofday): Add libc_hidden_def.
42503 (gettimeofday): Add libc_hidden_weak.
42504 * sysdeps/unix/syscalls.list (gettimeofday):
42505 Remove __gettimeofday_internal alias.
42506
425072012-05-24 Daniel Jacobowitz <drow@false.org>
42508 H.J. Lu <hongjiu.lu@intel.com>
42509
42510 [BZ #12495]
42511 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42512 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42513 (largebin_index_32_big): New.
42514 (largebin_index): Use it for 16-byte alignment.
42515 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42516 correction with front_misalign.
42517
425182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42519
42520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42522 Likewise.
42523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42524 Likewise.
42525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42526 Likewise.
42527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42528 Likewise.
42529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42530 Likewise.
42531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42532 Likewise.
42533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42534 Likewise.
42535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42536 Likewise.
42537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42538 Likewise.
42539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42540 Likewise.
42541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42542 Likewise.
42543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42544 Likewise.
42545
42546 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42547 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42548
425492012-05-24 Joseph Myers <joseph@codesourcery.com>
42550
42551 [BZ #10846]
42552 [BZ #14036]
42553 * math/libm-test.inc (exp_test): Add test from bug 14036.
42554 (pow_test): Add test from bug 10846.
42555
42556 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42557 and other flags.
42558 (special_function): Do not include flags in test name.
42559 (parse_args): Likewise.
42560 * sysdeps/i386/fpu/libm-test-ulps: Update.
42561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42562 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42563 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42565
42566 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42567 exceptions.
42568 * math/libm-test.inc ("Philosophy"): Update comment about
42569 exception testing.
42570 (UNDERFLOW_EXCEPTION): New macro.
42571 (UNDERFLOW_EXCEPTION_OK): Likewise.
42572 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42573 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42574 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42575 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42576 (INVALID_EXCEPTION_OK): Update value.
42577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42578 (OVERFLOW_EXCEPTION_OK): Likewise.
42579 (IGNORE_ZERO_INF_SIGN): Likewise.
42580 (test_exceptions): Handle underflow exceptions.
42581 (acos_test): Update for underflow exception expectations.
42582 (cexp_test): Likewise.
42583 (clog_test): Likewise.
42584 (clog10_test): Likewise.
42585 (csqrt_test): Likewise.
42586 (ctan_test): Likewise.
42587 (ctanh_test): Likewise.
42588 (exp_test): Likewise.
42589 (exp10_test): Likewise.
42590 (exp2_test): Likewise.
42591 (expm1_test): Likewise.
42592 (fma_test): Likewise.
42593 (j0_test): Likewise.
42594 (jn_test): Likewise.
42595 (nexttoward_test): Likewise.
42596 (pow_test): Likewise.
42597 (scalbn_test): Likewise.
42598 (scalbln_test): Likewise.
42599 (tan_test): Likewise.
42600 (y1_test): Likewise.
42601 * sysdeps/i386/fpu/libm-test-ulps: Update.
42602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42603
426042012-05-23 David S. Miller <davem@davemloft.net>
42605
42606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42607 (__libc_sigaction): Remove unused local variables.
42608
426092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42610
42611 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42612
426132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42614
42615 mktime: avoid signed integer overflow
42616 * time/mktime.c (__mktime_internal): Do not mishandle the case
42617 where diff == INT_MIN.
42618
42619 mktime: simplify computation of average
42620 * time/mktime.c (ranged_convert): Use new time_t_avg function
42621 instead of rolling our own (probably-slower) code.
42622
42623 mktime: do not assume signed right shift propagates sign bit
42624 * time/mktime.c (isdst_differ): New static function.
42625 (__mktime_internal): No need to normalize tm_isdst now.
42626 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42627 tm_isdst values.
42628
42629 mktime: merge another wrapv change from gnulib
42630 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42631 from some compilers.
42632
42633 mktime: remove incorrect attempt at unusual arithmetics
42634 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42635 The code didn't really work on such machines anyway.
42636 (TYPE_MINIMUM): Assume two's complement.
42637 (twos_complement_arithmetic): Verify that long_int and time_t
42638 are two's complement (or unsigned, in the latter case).
42639
42640 mktime: check signed shifts on long_int and time_t, too
42641 * time/mktime.c (SHR): Check that shifts work as desired
42642 on the types long_int and time_t too, as SHR is used on
42643 such types.
42644
42645 mktime: do not assume 'long' is wide enough
42646 * time/mktime.c (verify): Move decl up.
42647 (long_int): New type.
42648 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42649 to remove assumption in the code that 'long' is wide enough to
42650 store year values. This assumption is not true on x32 and on
42651 some non-glibc platforms.
42652
42653 mktime: merge wrapv change from gnulib
42654 * time/mktime.c (WRAPV): New macro.
42655 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42656 (guess_time_tm, __mktime_internal): Do not assume that signed
42657 integer overflow wraps around; modern compilers generate code
42658 where this assumption is no longer valid.
42659
426602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42661
42662 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42663 Replace "jmp L(pseudo_end)" with "ret".
42664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42665 Likewise.
42666
426672012-05-23 Andreas Jaeger <aj@suse.de>
42668
42669 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42670 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42671
426722012-05-23 Andreas Jaeger <aj@suse.de>
42673 Maximilian Attems <max@stro.at>
42674
42675 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42676 New macros.
42677
426782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42679
42680 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42681 code so that pseudo_end is just ret and the stack pointer is
42682 correct also for static library in error case.
42683
426842012-05-23 Joseph Myers <joseph@codesourcery.com>
42685
42686 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42687 move to syscalls.list.
42688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42692
42693 * manual/install.texi (Running make install): Do not mention Linux
42694 kernel version for which pt_chown is not needed.
42695 (Linux): Do not mention problems with nscd with 2.0 kernels.
42696 * INSTALL: Regenerated.
42697
426982012-05-23 Andreas Jaeger <aj@suse.de>
42699
42700 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42701 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42702 macro.
42703 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42705 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42707 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42713 * sysdeps/unix/sysv/linux/bits/in.h
42714 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42715
427162012-05-22 Roland McGrath <roland@hack.frob.com>
42717
42718 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42719 (PREPARE_VERSION): Just use assert instead, it will be elided
42720 under [NDEBUG] anyway.
42721
427222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42723
42724 * sysdeps/unix/sysv/linux/Makefile: Include
42725 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42726 (sysdep_routines): Remove sysctl.
42727 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42728 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42729 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42730 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42731 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42732
427332012-05-22 Andreas Jaeger <aj@suse.de>
42734
42735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42736 that pseudo_end is just ret and the stack pointer is correct also
42737 for static library in error case.
42738
427392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42740
42741 [BZ #14122]
42742 * nss/nsswitch.c (defconfig_entries): New variable.
42743 (__nss_database_lookup): Don't leak defconfig entries.
42744 (nss_parse_service_list): Don't leak on error paths.
42745 (free_database_entries): New function.
42746 (free_defconfig): New function.
42747 (free_mem): Move common code to free_database_entries.
42748
427492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42750
42751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42752 Add arch_prctl.
42753 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42754
42755 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42756 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42758 New macro.
42759 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42760 (INTERNAL_SYSCALL_TYPES): Likewise.
42761 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42762 (LOAD_REGS_TYPES_[1-6]): Likewise.
42763 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42764 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42765
427662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42767
42768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42769 copysignl for GLIBC_2_0.
42770 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42771 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42773 logbl for GLIBC_2_0.
42774 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42775 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42776
427772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42778
42779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42781
42782 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42783 Use "neg %eax".
42784
42785 * time/mktime.c: Update copyright years.
42786
427872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42788
42789 mktime: merge comment-quoting-style change from gnulib
42790 * time/mktime.c: Quote 'like this' in comments.
42791 The GNU coding standards suggest that we no longer quote `like this',
42792 as "`" and "'" are typically rendered asymmetrically nowadays.
42793 The typical gnulib style is to quote 'like this' when quoting
42794 code, and "like this" when quoting English.
42795
42796 * time/mktime.c (compile-command): Add "-I.".
42797
42798 mktime: merge mktime-internal.h change from gnulib
42799 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42800
42801 mktime: merge time_r change from gnulib
42802 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42803
42804 mktime: merge DEBUG change from gnulib
42805 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42806 case system <time.h> has a #define.
42807
42808 mktime: merge <sys/types.h> change from gnulib
42809 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42810 since <time.t> is now guaranteed to define time_t.
42811
42812 mktime: merge HAVE_CONFIG_H change from gnulib
42813 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42814
428152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42816
42817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42818 Use "neg %eax".
42819
42820 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42821 __rlim_t cast.
42822 (struct rusage): Use anonymous union to pad each field to
42823 __syscall_slong_t.
42824
428252012-05-21 David S. Miller <davem@davemloft.net>
42826
42827 * Makefules (o-iterator): Remove .s cases.
42828 (compile-command.s): Delete.
42829 (COMPILE.s): Delete.
42830 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42831
428322012-05-21 Joseph Myers <joseph@codesourcery.com>
42833
42834 * configure.in (libc_cv_predef_stack_protector): Only consider
42835 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42836 * configure: Regenerated.
42837
428382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42839
42840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42841 New macro. Use R*LP on int and pointer.
42842 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42843 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42844 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42845 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42846
42847 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42848 [__WORDSIZE_TIME64_COMPAT32] instead of
42849 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42850 (struct utmp): Likewise.
42851 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42852 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42853 Renamed to ...
42854 (__WORDSIZE_TIME64_COMPAT32): This.
42855 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42856 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42857 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42858 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42859 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42860 (__WORDSIZE_TIME64_COMPAT32): New macro.
42861
428622012-05-21 Andreas Jaeger <aj@suse.de>
42863
42864 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42865 only if [SHARED]. Add prototype for __wcschr_ia32.
42866
428672012-05-21 Roland McGrath <roland@hack.frob.com>
42868
42869 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42870 of %rbp unmolested in the jmp_buf while mangling the low bits.
42871 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42872 unmolested high bits of %rbp while demangling the low bits.
42873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42874
428752012-05-21 Andreas Jaeger <aj@suse.de>
42876
42877 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42878 * sunrpc/svc_simple.c: Use it for registerrpc.
42879 * sunrpc/xcrypt.c: Use it for passwd2des.
42880
42881 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42882
428832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42884
42885 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42886 Don't define if [__SYSCALL_WORDSIZE != 32].
42887 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42888 New macro.
42889
428902012-05-21 Bruno Haible <bruno@clisp.org>
42891 Andreas Jaeger <aj@suse.de>
42892
42893 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42894 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42895 inptr and inend for must_buffer_ch.
42896 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42897 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42898 * stdio-common/Makefile (tests): Remove bug15.
42899 (bug15-ENV): Remove macro.
42900 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42901 anymore.
42902
429032012-05-19 Andreas Jaeger <aj@suse.de>
42904 Roland McGrath <roland@hack.frob.com>
42905
42906 * manual/contrib.texi: Completely rewritten. It contains now an
42907 alphabetical list of contributors and their contributions.
42908
429092012-05-21 Richard Henderson <rth@twiddle.net>
42910
42911 * misc/getauxval.c (__getauxval): Use unsigned long int.
42912 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42913 (getauxval): Use unsigned long int.
42914
429152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42916
42917 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42918
429192012-05-21 Roland McGrath <roland@hack.frob.com>
42920
42921 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42922 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42923 __alignof__ (long double).
42924
429252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42926
42927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42928
429292012-05-20 Richard Henderson <rth@twiddle.net>
42930
42931 * misc/getauxval.c: New file.
42932 * misc/sys/auxv.h: New file.
42933 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42934 (routines): Add getauxval.
42935 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42936 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42937 * elf/dl-sysdep.c (_dl_auxv): Remove.
42938 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42939 * elf/dl-support.c (_dl_auxv): New variable.
42940 (_dl_aux_init): Initialize it.
42941 * manual/startup.texi (Auxiliary Vector): New node.
42942 * sysdeps/generic/bits/hwcap.h: New file.
42943 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42944 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42945 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42946 * sysdeps/sparc/sysdep.h: ... here. Include it.
42947 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42950 Update.
42951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42959
429602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42961
42962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42963
429642012-05-19 David S. Miller <davem@davemloft.net>
42965
42966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42967
429682012-05-19 Joseph Myers <joseph@codesourcery.com>
42969
42970 [BZ #14123]
42971 * math/s_ccosh.c: Include <float.h>
42972 (__ccosh): Avoid internal overflow calculating sinh and cosh
42973 values before multiplying by sin and cos values.
42974 * math/s_ccoshf.c: Likewise.
42975 * math/s_ccoshl.c: Likewise.
42976 * math/s_csin.c: Likewise.
42977 * math/s_csinf.c: Likewise.
42978 * math/s_csinl.c: Likewise.
42979 * math/s_csinh.c: Likewise.
42980 * math/s_csinhf.c: Likewise.
42981 * math/s_csinhl.c: Likewise.
42982 * math/libm-test.inc (ccos_test): Add more tests.
42983 (ccosh_test): Likewise.
42984 (csin_test): Likewise.
42985 (csinh_test): Likewise.
42986 * sysdeps/i386/fpu/libm-test-ulps: Update.
42987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42988
429892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42990
42991 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42992 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42993
42994 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42995
429962012-05-19 Joseph Myers <joseph@codesourcery.com>
42997
42998 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42999 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43000 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43001 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43002 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43003 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43004 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43005 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43006 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43007 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43008 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43009 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43010 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43011 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43012 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43013 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43014 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43015 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43016 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43017 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43018 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43019 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43020 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43021 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43022 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43023 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43024 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43025 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43026 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43027 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43028 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43029
430302012-05-18 Andreas Jaeger <aj@suse.de>
43031
43032 * csu/.gitignore: Delete.
43033
430342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43035
43036 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43037 (timex): Use __syscall_slong_t.
43038
430392012-05-18 Andreas Jaeger <aj@suse.de>
43040 Carlos O'Donell <carlos_odonell@mentor.com>
43041
43042 * manual/install.texi (Configuring and compiling): Update
43043 description about files modified in the source directory.
43044 * INSTALL: Regenerated.
43045
430462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43047
43048 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43049 value. Use "or" to set return value to -1.
43050 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43051 negate return value.
43052
430532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43054
43055 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43056 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43057 failure if the compiler has Graphite support disabled.
43058 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43059 Likewise.
43060 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43061 (CFLAGS-memmove.c): Likewise.
43062 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43063 Likewise.
43064
430652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43066
43067 * sysdeps/x86_64/x32/_itoa.h: New file.
43068
43069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43070 getdents system call only if kernel and user dirents have the
43071 same d_ino and d_off.
43072
43073 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43074 LLONG_MAX != LONG_MAX.
43075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43076 (_fitoa_word): Likewise.
43077
43078 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43079 years.
43080 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43082 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43083
43084 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43085 include <bits/wordsize.h>. Check __x86_64__ instead of
43086 __WORDSIZE.
43087 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43088 if __x86_64__ is defined. Use anonymous union on fpstate.
43089
43090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43091 anonymous union.
43092
430932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43094
43095 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43096 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43097 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43098 Refer to _rtld_local_ro instead of _rtld_global_ro.
43099 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43100 Likewise.
43101 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43102 Likewise.
43103 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43104 Likewise.
43105 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43106 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43107 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43108
43109 * sysdeps/powerpc/powerpc32/dl-machine.c
43110 (__elf_machine_runtime_setup) [PROF]: Don't reference
43111 _dl_prof_resolve.
43112
431132012-05-18 Andreas Jaeger <aj@suse.de>
43114
43115 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43116 function only available for GCCs before 3.4 since GCC 3.4
43117 introduced a builtin.
43118 (lrint): Likewise.
43119 (llrintf): Likewise.
43120 (llrint): Likewise.
43121 (fmaxf): Likewise.
43122 (fmax): Likewise.
43123 (fminf): Likewise.
43124 (fmin): Likewise.
43125 (rint): Likewise.
43126 (rintf): Likewise.
43127 (nearbyint): Likewise.
43128 (nearbyintf): Likewise.
43129 (ceil): Likewise.
43130 (ceilf): Likewise.
43131 (floor): Likewise.
43132 (floorf): Likewise.
43133
431342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43135
43136 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43137 on both fields and cast pointer to __syscall_ulong_t.
43138
43139 * bits/types.h (__fsword_t): New type.
43140 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43141 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43143 (__FSWORD_T_TYPE): Likewise.
43144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43145 (__FSWORD_T_TYPE): Likewise.
43146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43147 (__FSWORD_T_TYPE): Likewise.
43148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43149 (__FSWORD_T_TYPE): Likewise.
43150 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43151 __SWORD_TYPE with __fsword_t.
43152 (statfs64): Likewise.
43153
431542012-05-17 David S. Miller <davem@davemloft.net>
43155
43156 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43157
431582012-05-17 Andreas Jaeger <aj@suse.de>
43159
43160 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43161 warning.
43162
431632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43164
43165 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43166
431672012-05-17 Andreas Jaeger <aj@suse.de>
43168
43169 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43170 when it is used.
43171
431722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43173
43174 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43175
431762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43177
43178 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43179 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43180
431812012-05-17 Andreas Jaeger <aj@suse.de>
43182 Carlos O'Donell <carlos_odonell@mentor.com>
43183
43184 [BZ #14059]
43185 * sysdeps/x86_64/multiarch/init-arch.h
43186 (bit_YMM_Usable): Rename to...
43187 (bit_AVX_Usable): ... this.
43188 (bit_FMA4_Usable): New macro.
43189 (bit_XMM_state): New macro.
43190 (bit_YMM_state): New macro.
43191 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43192 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43193 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43194 (CPUID_OSXSAVE): New macro.
43195 (CPUID_AVX): New macro.
43196 (CPUID_FMA4): New macro.
43197 (index_YMM_Usable): Rename to...
43198 (index_AVX_Usable): ... this.
43199 (HAS_AVX): Use HAS_ARCH_FEATURE.
43200 (HAS_FMA4): Likewise.
43201 (HAS_YMM_USABLE): Remove.
43202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43203 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43204 are present.
43205 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43206 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43207 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43208 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43209 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43210
432112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43212
43213 * math/libm-test.c: Support platforms without multiple rounding modes.
43214 * math/bug-nextafter.c: Support platforms without FP exceptions.
43215 * math/bug-nexttoward.c: Likewise.
43216 * math/test-fenv.c: Likewise.
43217 * math/test-misc.c: Likewise.
43218 * stdlib/bug-getcontext.c: Likewise.
43219
432202012-05-17 Andreas Jaeger <aj@suse.de>
43221
43222 * manual/examples/search.c (critter_cmp): Change signature to
43223 avoid warnings.
43224 * manual/string.texi (Collation Functions): Likewise.
43225
432262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43227
43228 * bits/types.h: Fold copyright years.
43229 * bits/typesizes.h: Likewise.
43230 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43234 * time/time.h: Likewise.
43235
432362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43237
43238 [BZ #208]
43239 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43240 in instead of returning them. Return void.
43241 (__libc_mallinfo): Accumulate over all arenas.
43242 (__malloc_stats): Adjust for change in int_mallinfo interface.
43243
432442012-05-16 Roland McGrath <roland@hack.frob.com>
43245
43246 [BZ #10375]
43247 * configure.in (NM): Add AC_CHECK_TOOL for it.
43248 (libc_extra_cflags): New substituted variable.
43249 Check for -fstack-protector being used implicitly.
43250 * configure: Regenerated.
43251 * config.make.in (config-extra-cflags): New variable,
43252 gets @libc_extra_cflags@.
43253 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43254
43255 [BZ #10375]
43256 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43257 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43258 * configure: Regenerated.
43259 * config.make.in (CPPUNDEFS): New substituted variable.
43260 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43261 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43262 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43263
432642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43265
43266 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43267 (mq_attr): Use __syscall_slong_t.
43268
432692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43270
43271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43272 Check __x86_64__ instead of __WORDSIZE.
43273 (_STAT_VER_LINUX): Likewise.
43274 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43275 __syscall_ulong_t and __syscall_slong_t.
43276 (stat64): Likewise.
43277
432782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43279
43280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43281
432822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43283
43284 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43285
432862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43287
43288 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43289 __syscall_ulong_t.
43290
43291 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43292 include <bits/wordsize.h>. Check __x86_64__ instead of
43293 __WORDSIZE.
43294 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43295 defined.
43296 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43297
43298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43299 include <bits/wordsize.h>. Check __x86_64__ instead of
43300 __WORDSIZE.
43301 (user_regs_struct): Use "__extension__ unsigned long long"
43302 instead of "unsigned long" if __x86_64__ is defined.
43303 (user): Likewise. Pad after pointer field if __ILP32__ is
43304 defined.
43305
433062012-05-16 Joseph Myers <joseph@codesourcery.com>
43307
43308 * configure.in (makeinfo): Require version 4.5 or later. Allow
43309 versions 5 to 9.
43310 * configure: Regenerated.
43311 * manual/install.texi (texinfo): Increase version requirement to
43312 4.5 or later.
43313 * INSTALL: Regenerated.
43314
43315 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43316
433172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43318
43319 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43320
43321 * sysdeps/x86_64/x32/ffs.c: New file.
43322
43323 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43324 __syscall_ulong_t.
43325 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43326 defined. Use __syscall_ulong_t.
43327 (shminfo): Use __syscall_ulong_t.
43328 (shm_info): Likewise.
43329
43330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43331 __syscall_ulong_t.
43332
43333 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43334 <bits/wordsize.h>.
43335 (msgqnum_t): Use __syscall_ulong_t.
43336 (msglen_t): Likewise.
43337 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43338 __syscall_ulong_t.
43339
43340 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43342
43343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43344
43345 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43346 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43347
43348 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43349 __syscall_slong_t.
43350
43351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43352 include <bits/wordsize.h>. Check __x86_64__ instead of
43353 __WORDSIZE.
43354
43355 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43356 "unsigned long long int" if __x86_64__ is defined.
43357 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43358
43359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43361 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43362
43363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43364 <stdint.h>.
43365 (GET_PC): Cast to uintptr_t first.
43366 (GET_FRAME): Likewise.
43367 (GET_STACK): Likewise.
43368
43369 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43375 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43376 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43377 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43389 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43391 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43393 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43395 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43398
433992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43400
43401 * Makerules (+depfiles): Also collect depfiles from .oS in
43402 $(extra-objs).
43403 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43404 .oS, $(libnldbl-routines)).
43405
43406 * Makerules (native-compile-mkdep-flags): Define.
43407 * sunrpc/Makefile (extra-objs): Add $(addprefix
43408 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43409 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43410 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43411 calling $(make-target-directory).
43412
434132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43414
43415 * bits/types.h (__snseconds_t): Removed.
43416 * time/time.h (struct timespec): Replace __snseconds_t with
43417 __syscall_slong_t.
43418 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43419 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43420 Likewise.
43421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43422 (__SNSECONDS_T_TYPE): Likewise.
43423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43424 (__SNSECONDS_T_TYPE): Likewise.
43425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43426 (__SNSECONDS_T_TYPE): Likewise.
43427
434282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43429
43430 * sysdeps/mach/hurd/bits/typesizes.h
43431 (__SYSCALL_SLONG_TYPE): New macro.
43432 (__SYSCALL_ULONG_TYPE): Likewise.
43433
434342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43435
43436 * bits/types.h (__syscall_slong_t): New type.
43437 (__syscall_ulong_t): Likewise.
43438
43439 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43440 (__SYSCALL_ULONG_TYPE): Likewise.
43441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43442 (__SYSCALL_SLONG_TYPE): Likewise.
43443 (__SYSCALL_ULONG_TYPE): Likewise.
43444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43445 (__SYSCALL_SLONG_TYPE): Likewise.
43446 (__SYSCALL_ULONG_TYPE): Likewise.
43447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43448 (__SYSCALL_SLONG_TYPE): Likewise.
43449 (__SYSCALL_ULONG_TYPE): Likewise.
43450
434512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43452
43453 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43454 Add sigaltstack-offsets.sym.
43455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43456 <sigaltstack-offsets.h>.
43457 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43458 longjmp_msg pointer.
43459 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43460 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43461 signal stack.
43462 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43463
434642012-05-15 Joseph Myers <joseph@codesourcery.com>
43465
43466 * elf/stackguard-macros.h: Remove file.
43467 * sysdeps/generic/stackguard-macros.h: New file.
43468 * sysdeps/i386/stackguard-macros.h: Likewise.
43469 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43470 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43471 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43472 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43473 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43474 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43475 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43476 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43477 <elf/stackguard-macros.h>.
43478
43479 [BZ #14109]
43480 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43481 __aligned__ in attribute.
43482 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43483 (gregset_t): Likewise.
43484
434852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43486
43487 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43488 * sysdeps/x86_64/64/Implies-after: Here. New file.
43489 * sysdeps/x86_64/x32/Implies-after: New file.
43490
434912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43492
43493 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43494 and access return value for _dl_profile_fixup. Use R10_LP to
43495 load frame size.
43496
434972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43498
43499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43500
435012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43502
43503 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43504 * sysdeps/x86_64/x32/sysdep.h: New file.
43505
435062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43507
43508 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43509 * sysdeps/x86_64/setjmp.S: Likewise.
43510
435112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43512
43513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43515 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43517 remove unused global constant.
43518
435192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43520
43521 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43522 include of <not-cancel.h>.
43523
435242012-05-15 Roland McGrath <roland@hack.frob.com>
43525
43526 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43527
435282012-05-15 Jeff Law <law@redhat.com>
43529 Andreas Jaeger <aj@suse.de>
43530
43531 [BZ #13594]
43532 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43533 out from...
43534 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43535 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43537 code changing __hst_map_handle.map.
43538
435392012-05-15 Roland McGrath <roland@hack.frob.com>
43540
43541 * configure.in (sysnames): Look for Implies-before and Implies-after
43542 files.
43543 * configure: Regenerated.
43544
435452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43546
43547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43548 8-byte data alignment with LP_SIZE alignment.
43549
435502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43551
43552 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43553 into R10_LP.
43554
435552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43556
43557 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43558
435592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43560
43561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43562 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43564 Likewise.
43565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43566
435672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43568
43569 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43570 (stackinfo_sub_sp): Likewise.
43571
435722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43573
43574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43575 RAX_LP.
43576
435772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43578
43579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43580 into R*_LP.
43581
435822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43583
43584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43585 sizes into R*_LP.
43586
435872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43588
43589 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43590
435912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43592
43593 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43594 into R11_LP and load __x86_64_shared_cache_size_half into
43595 R8_LP.
43596
435972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43598
43599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43600 R8_LP.
43601
436022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43603
43604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43605 logb for POWER7.
43606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43607 logbf for POWER7.
43608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43609 logbl for POWER7.
43610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43611 powerpc32/power7/fpu/s_logb.c via #include.
43612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43613 powerpc32/power7/fpu/s_logbf.c via #include.
43614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43615 powerpc32/power7/fpu/s_logbl.c via #include.
43616
436172012-05-15 Joseph Myers <joseph@codesourcery.com>
43618
43619 * README.libm: Remove file.
43620
436212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43622
43623 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43624 count for x32. Use R*_LP and omit operand-size suffix.
43625
436262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43627
43628 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43629 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43630 * sysdeps/x86_64/x32/shlib-versions: New file.
43631
436322012-05-14 Roland McGrath <roland@hack.frob.com>
43633
43634 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43635 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43636 Use _dl_fatal_printf instead.
43637
436382012-05-14 Joseph Myers <joseph@codesourcery.com>
43639
43640 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43641 set if not set by the user. Do not allow for being unset.
43642 * sysdeps/unix/sysv/linux/configure: Regenerated.
43643
436442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43645
43646 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43647 the `q' suffix from lea and replace .quad with ASM_ADDR.
43648
436492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43650
43651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43652 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43653 instead of $17.
43654 (PTR_DEMANGLE): Likewise.
43655
436562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43657
43658 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43659 (LP_OP): Likewise.
43660 (ASM_ADDR): Likewise.
43661 (RAX_LP): Likewise.
43662 (RBP_LP): Likewise.
43663 (RBX_LP): Likewise.
43664 (RCX_LP): Likewise.
43665 (RDI_LP): Likewise.
43666 (RSI_LP): Likewise.
43667 (RSP_LP): Likewise.
43668 (R8_LP): Likewise.
43669 (R9_LP): Likewise.
43670 (R10_LP): Likewise.
43671 (R10_LP): Likewise.
43672 (R11_LP): Likewise.
43673 (R12_LP): Likewise.
43674 (R13_LP): Likewise.
43675 (R14_LP): Likewise.
43676 (R15_LP): Likewise.
43677
436782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43679
43680 * sysdeps/x86_64/x32/dl-machine.h: New file.
43681
436822012-05-14 Andreas Jaeger <aj@suse.de>
43683
43684 * manual/Makefile (subdir): Remove export of subdir.
43685 (all): Remove target.
43686 (.PHONY): Remove all from list.
43687 (mkinstalldirs): Remove.
43688 (.PHONY): Remove installdirs from list.
43689 ($(inst_infodir)/libc.info): Use make-target-directory.
43690 (installdirs): Remove.
43691 (subdir_%): Remove.
43692 (glibc-targets): Remove.
43693 (lib): Remove.
43694 (stubs): Remove.
43695 ($(objpfx)stubs ../po/manual.pot): Remove.
43696 ($(objpfx)stamp%): Remove.
43697 (make-target-directory): Remove.
43698 (subdir_install): Remove.
43699 (routines): Remove.
43700 (aux): Remove.
43701 (sources): Remove.
43702 (objects): Remove.
43703 (headers): Remove.
43704
43705 [BZ #13750]
43706 * manual/.gitignore: Remove, it's not needed anymore.
43707 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43708 all files in it.
43709 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43710 directory.
43711 (texis): Renamed to $(objpfx)texis.
43712 (texis-path): New, contains path to generated files.
43713 (chapters.%): Use texis-path for complete path, add extra argument
43714 libc-texinfo.sh.
43715 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43716 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43717 (summary,texi, stamp-summary): Use complete path of
43718 files. Generate files in build dir.
43719 (dir-add.texi): Build in build dir.
43720 (libm-err.texi,stamp-libm-err): Likewise.
43721 (version.texi, stamp-version): Likewise.
43722 (.%c.texi): Likewise.
43723 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43724 (mostlyclean): Remove target.
43725 (realclean): Remove target.
43726 (generated): Add new variable with contents from mostlyclean and
43727 realclean, remove entries duplicated in common-mostlyclean, add
43728 stamp-libm-err and stamp-version.
43729 (generated-dirs): Add libc directory.
43730 ($(inst_infodir)/libc.info): Install files from build dir.
43731
43732 * manual/install.texi (Configuring and compiling): Adjust since
43733 the info files are not part of the tar ball anymore.
43734
437352012-05-14 Andreas Jaeger <aj@suse.de>
43736
43737 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43738 variable.
43739
437402012-05-14 Joseph Myers <joseph@codesourcery.com>
43741
43742 [BZ #13717]
43743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43744 to 2.2.0 where earlier.
43745 * sysdeps/unix/sysv/linux/configure: Regenerated.
43746 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43747 Remove conditional code.
43748 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43749 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43750 Remove conditional code.
43751 [!__NR_lchown]: Likewise.
43752 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43753 [__NR_lchown]: Likewise.
43754 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43755 comment referencing __ASSUME_LCHOWN_SYSCALL.
43756 * sysdeps/unix/sysv/linux/i386/sigaction.c
43757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43759 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43760 Remove conditional code.
43761 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43762 (__protocol_available): Remove #if 0 code.
43763 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43764 conditional code.
43765 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43766 * sysdeps/unix/sysv/linux/kernel-features.h
43767 (__ASSUME_GETCWD_SYSCALL): Don't define.
43768 (__ASSUME_REALTIME_SIGNALS): Likewise.
43769 (__ASSUME_PREAD_SYSCALL): Likewise.
43770 (__ASSUME_PWRITE_SYSCALL): Likewise.
43771 (__ASSUME_POLL_SYSCALL): Likewise.
43772 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43773 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43774 non-SPARC.
43775 (__ASSUME_SIOCGIFNAME): Don't define.
43776 (__ASSUME_MSG_NOSIGNAL): Likewise.
43777 (__ASSUME_SENDFILE): Define unconditionally.
43778 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43779 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43780 conditional code.
43781 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43782 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43783 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43784 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43785 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43787 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43812 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43813 Remove conditional code.
43814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43815 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43816 Remove conditional code.
43817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43818 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43819 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43820 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43821 Remove conditional code.
43822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43823 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43824 Remove conditional code.
43825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43826 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43827 Remove conditional code.
43828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43829 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43830 Remove conditional code.
43831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43832 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43833 Remove conditional code.
43834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43835 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43838 * sysdeps/unix/sysv/linux/sigaction.c
43839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43841 * sysdeps/unix/sysv/linux/sigpending.c
43842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43844 * sysdeps/unix/sysv/linux/sigprocmask.c
43845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43847 * sysdeps/unix/sysv/linux/sigsuspend.c
43848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43851 (__libc_missing_rt_sigs): Remove.
43852 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43853 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43854 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43855 Remove conditional code.
43856 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43857 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43858 return 1.
43859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43860 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43863
438642012-05-14 Andreas Jaeger <aj@suse.de>
43865
43866 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43867 it's not used in glibc.
43868 (__coshm1): Likewise.
43869 (__acosh1p): Likewise.
43870 (__sgn): Likewise.
43871
43872 * manual/string.texi (Copying and Concatenation): Add missing
43873 variable in concat example.
43874 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43875
438762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43877
43878 [BZ #14103]
43879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43880 __builtin_clzl with __builtin_clzll.
43881
438822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43883
43884 [BZ #14104]
43885 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43886 libc_freeres_ptr.
43887
438882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43889
43890 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43891 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43892 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43893 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43894
438952012-05-14 Mike Frysinger <vapier@gentoo.org>
43896
43897 * NEWS: Update ia64 info.
43898
438992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43900
43901 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43902 used as bcopy.
43903
439042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43905
43906 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43907 * sysdeps/unix/syscalls.list (dup3): Likewise.
43908 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43909 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43910
439112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43912
43913 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43914 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43915
439162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43917
43918 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43919 thread pointer.
43920 (TLS_IE): Use mov/add instead of movq/addq to load thread
43921 pointer.
43922 (TLS_GD_PREFIX): New.
43923 (TLS_GD): Use it.
43924
439252012-05-11 David S. Miller <davem@davemloft.net>
43926
43927 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43928 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43929 (_FPU_SETCW): Likewise.
43930
439312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43932
43933 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43934 is 32-byte aligned.
43935
439362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43937
43938 [BZ #11837]
43939 * iconvdata/gb18030.c: Update tables.
43940 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43941 characters specially.
43942 (BODY for TO_LOOP): Add encoding of missing ranges.
43943
439442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43945
43946 [BZ #13673]
43947 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43948 * sysdeps/mach/hurd/dup3.c: Likewise.
43949 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43950 * sysdeps/powerpc/memmove.c:: Likewise.
43951
439522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43953
43954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43955 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43956
439572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43958
43959 * elf/elf.h (R_X86_64_RELATIVE64): New.
43960 (R_X86_64_NUM): Updated.
43961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43962 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43963 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43964 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43965 tst-quad1pie tst-quad2pie
43966 (modules-names): Add tst-quadmod1 tst-quadmod2.
43967 ($(objpfx)tst-quad1): New dependency.
43968 ($(objpfx)tst-quad2): Likewise.
43969 ($(objpfx)tst-quad1pie): Likewise.
43970 ($(objpfx)tst-quad2pie): Likewise.
43971 * sysdeps/x86_64/tst-quad1.c: New file.
43972 * sysdeps/x86_64/tst-quad1pie.c: New file.
43973 * sysdeps/x86_64/tst-quad2.c: Likewise.
43974 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43975 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43976 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43977 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43978 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43979
439802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43981
43982 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43983 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43984 * streams/stropts.h (t_scalar_t): Define type.
43985
43986 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43987 (_PATH_PRESERVE): Set to "/var/lib".
43988 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43989
43990 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43991 instead of int.
43992
43993 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43994 if __dir_mkfile succeeded.
43995
43996 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43997 checking for _hurd_dtablesize. Unlock it right after having
43998 finished _hurd_dtable allocation.
43999
440002012-05-10 Thomas Schwinge <thomas@schwinge.name>
44001
44002 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44003 * sysdeps/mach/hurd/configure: Regenerated.
44004 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44005 special-casing to...
44006 * sysdeps/gnu/configure.in: ... this new file.
44007 * sysdeps/unix/sysv/linux/configure: Regenerated.
44008 * sysdeps/gnu/configure: New generated file.
44009
44010 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44011 for Linux: use nsec instead of usec, as well as:
44012 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44013 members of type struct timespec.
44014 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44015 New macros.
44016 (struct stat64): Likewise.
44017 (_STATBUF_ST_NSEC): New macro.
44018 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44019
44020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44021 __strtoul_internal rather than strtoul.
44022
440232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44024
44025 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44026 and reject them.
44027
440282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44029
44030 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44031 which preserves existing values.
44032 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44033
440342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44035
44036 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44037 TIMEOUT values. Return EINVAL for NFDS values either negative or
44038 greater than FD_SETSIZE.
44039
440402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44041
44042 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44043 allocated, call __vm_protect to finish enabling the existing space, and
44044 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44045 allocate the remainder.
44046
440472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44048
44049 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44050 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44051
440522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44053
44054 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44055 sysdeps/mach/hurd/readlink.c.
44056
44057 * posix/tst-sysconf.c (posix_options): Only use
44058 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44059 _POSIX_SYNCHRONIZED_IO when they are defined
44060 * sysdeps/mach/hurd/bits/posix_opt.h:
44061 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44062 (_XOPEN_REALTIME): Undefine macro.
44063 (_XOPEN_REALTIME_THREADS): Undefine macro.
44064 (_XOPEN_SHM): Undefine macro.
44065 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44066 macro to -1.
44067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44068 macro to -1.
44069 (_POSIX_ASYNC_IO): Undefine macro.
44070 (_POSIX_PRIORITIZED_IO): Undefine macro.
44071 (_POSIX_SPIN_LOCKS): Define macro to -1.
44072
44073 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44074 SA_NODEFER, SA_RESETHAND.
44075 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44076 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44077 F_DUPFD_CLOEXEC.
44078
440792012-05-10 Thomas Schwinge <thomas@schwinge.name>
44080
44081 * elf/Makefile (pldd-modules): Define unconditionally.
44082
440832012-05-10 Thomas Schwinge <thomas@schwinge.name>
44084
44085 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44086
440872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44088
44089 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44090 Return ENOENT when name is empty.
44091 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44092
440932012-05-10 Thomas Schwinge <thomas@schwinge.name>
44094
44095 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44096
44097 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44098
440992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44100
44101 Fix mlock in all cases except non-readable pages.
44102 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44103 instead of VM_PROT_ALL as parameter to __vm_wire function.
44104
44105 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44106 (__mkdir): When path is `/', just fail with EEXIST.
44107 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44108
441092012-05-10 Thomas Schwinge <thomas@schwinge.name>
44110
44111 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44112 <sys/uio.h> (for writev).
44113 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44114 and <sys/param.h> (for MIN).
44115
441162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44117
44118 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44119 REQUESTED_TIME. Properly set the remaining time and return EINTR
44120 if interrupted.
44121
441222012-05-10 Thomas Schwinge <thomas@schwinge.name>
44123
44124 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44125 Depend on against $(link-rpcuserlibs).
44126
441272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44128
44129 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44130 (__libc_stack_end): Do not use attribute_relro.
44131 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44132 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44133 to libthread-provided value.
44134 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44135 attribute_relro.
44136
441372012-05-10 Thomas Schwinge <thomas@schwinge.name>
44138
44139 [BZ #3748]
44140 * bits/libc-lock.h (__libc_once_get): New macro.
44141 * sysdeps/mach/bits/libc-lock.h: Likewise.
44142 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44144 instead of using implementation details.
44145
44146 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44147 * libio/freopen.c: Likewise.
44148 * libio/freopen64.c: Likewise.
44149 * misc/syslog.c: Likewise.
44150 * nscd/connections.c: Likewise.
44151 * nscd/netgroupcache.c: Likewise.
44152 * sysdeps/posix/getcwd.c: Likewise.
44153
441542012-05-10 Roland McGrath <roland@hack.frob.com>
44155
44156 * math/w_ilogbf.c: Add #include <limits.h>.
44157
441582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44159
44160 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44161 path instead of returning without unlocking.
44162
44163 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44164 immediate-write ioctls.
44165 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44166
441672012-05-10 Thomas Schwinge <thomas@schwinge.name>
44168
44169 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44170 __builtin_frame_address instead of making assumptions about the
44171 location of the return address relative to DATA. Force early load of
44172 the return address.
44173 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44174 __builtin_frame_address.
44175
44176 dup3 for GNU Hurd.
44177 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44178 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44179 implement dup3 and do some further code clean-ups.
44180 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44181 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44182
441832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44184
44185 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44186
44187 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44188 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44189 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44190 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44191 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44192 d->port.lock.
44193
44194 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44195 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44196 when handler == SIG_ERR, not when handler != SIG_ERR.
44197
441982012-05-10 Thomas Schwinge <thomas@schwinge.name>
44199
44200 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44201 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44202 definitions.
44203
44204 accept4 for GNU Hurd.
44205 * include/sys/socket.h (__libc_accept4): New prototype.
44206 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44207 to implement __libc_accept4.
44208 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44209 __libc_accept4.
44210 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44211
44212 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44213 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44214 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44215 signal-defines.sym.
44216
442172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44218
44219 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44220
442212012-05-10 Thomas Schwinge <thomas@schwinge.name>
44222
44223 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44224 assertion on O_CLOEXEC flag.
44225 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44226 * hurd/intern-fd.c: Likewise.
44227 * hurd/port2fd.c: Likewise.
44228
442292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44230
44231 [BZ #3906]
44232 * bits/in.h (IPV6_PKTINFO): Define new macro.
44233 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44234
442352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44236
44237 [BZ #13954]
44238 [BZ #13955]
44239 [BZ #13956]
44240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44242 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44245 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44246 * math/libm-test.inc (logb_test) : Additional logb tests.
44247
442482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44249 Andreas Jaeger <aj@suse.de>
44250
44251 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44252 * configure: Regenerated.
44253 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44254 * config.make.in (link-obsolete-rpc): New substituted variable.
44255 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44256 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44257 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44258 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44259 so that libc.a contains the symbols.
44260 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44261 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44262 * sunrpc/auth_none.c: Likewise.
44263 * sunrpc/auth_unix.c: Likewise.
44264 * sunrpc/authdes_prot.c: Likewise.
44265 * sunrpc/authuxprot.c: Likewise.
44266 * sunrpc/clnt_gen.c: Likewise.
44267 * sunrpc/clnt_perr.c: Likewise.
44268 * sunrpc/clnt_raw.c: Likewise.
44269 * sunrpc/clnt_simp.c: Likewise.
44270 * sunrpc/clnt_tcp.c: Likewise.
44271 * sunrpc/clnt_udp.c: Likewise.
44272 * sunrpc/clnt_unix.c: Likewise.
44273 * sunrpc/des_crypt.c: Likewise.
44274 * sunrpc/des_soft.c: Likewise.
44275 * sunrpc/get_myaddr.c: Likewise.
44276 * sunrpc/key_call.c: Likewise.
44277 * sunrpc/key_prot.c: Likewise.
44278 * sunrpc/netname.c: Likewise.
44279 * sunrpc/pm_getmaps.c: Likewise.
44280 * sunrpc/pm_getport.c: Likewise.
44281 * sunrpc/pmap_clnt.c: Likewise.
44282 * sunrpc/pmap_prot.c: Likewise.
44283 * sunrpc/pmap_prot2.c: Likewise.
44284 * sunrpc/pmap_rmt.c: Likewise.
44285 * sunrpc/publickey.c: Likewise.
44286 * sunrpc/rpc_cmsg.c: Likewise.
44287 * sunrpc/rpc_common.c: Likewise.
44288 * sunrpc/rpc_dtable.c: Likewise.
44289 * sunrpc/rpc_prot.c: Likewise.
44290 * sunrpc/rpc_thread.c: Likewise.
44291 * sunrpc/rtime.c: Likewise.
44292 * sunrpc/svc.c: Likewise.
44293 * sunrpc/svc_auth.c: Likewise.
44294 * sunrpc/svc_raw.c: Likewise.
44295 * sunrpc/svc_run.c: Likewise.
44296 * sunrpc/svc_tcp.c: Likewise.
44297 * sunrpc/svc_udp.c: Likewise.
44298 * sunrpc/svc_unix.c: Likewise.
44299 * sunrpc/svcauth_des.c: Likewise.
44300 * sunrpc/xcrypt.c: Likewise.
44301 * sunrpc/xdr.c: Likewise.
44302 * sunrpc/xdr_array.c: Likewise.
44303 * sunrpc/xdr_float.c: Likewise.
44304 * sunrpc/xdr_intXX_t.c: Likewise.
44305 * sunrpc/xdr_mem.c: Likewise.
44306 * sunrpc/xdr_rec.c: Likewise.
44307 * sunrpc/xdr_ref.c: Likewise.
44308 * sunrpc/xdr_sizeof.c: Likewise.
44309 * sunrpc/xdr_stdio.c: Likewise.
44310
443112012-05-10 Roland McGrath <roland@hack.frob.com>
44312
44313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44314 change. Update copyright years.
44315
443162012-05-10 Joseph Myers <joseph@codesourcery.com>
44317
44318 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44319
443202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44321 Joseph Myers <joseph@codesourcery.com>
44322 Paul Pluzhnikov <ppluzhnikov@google.com>
44323
44324 [BZ #14012]
44325 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44326 requiring rpcgen.
44327 [cross-compiling] (extra-libs): Likewise.
44328 [cross-compiling] (extra-libs-others): Likewise.
44329 [cross-compiling] (librpcsvc-routines): Likewise.
44330 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44331 [cross-compiling] (omit-deps): Likewise.
44332 (sunrpc-CPPFLAGS): New variable.
44333 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44334 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44335 (cross-rpcgen-objs): New variable.
44336 (extra-objs): Append $(cross-rpcgen-objs).
44337 ($(cross-rpcgen-objs)): New rule.
44338 ($(objpfx)cross-rpcgen): Likewise.
44339 (rpcgen-cmd): Define to use $(built-program-file). Expand
44340 comment.
44341 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44342 ($(objpfx)x%.stmp): Likewise.
44343 * sunrpc/proto.h [IS_IN_build] (_): Define.
44344 [IS_IN_build] (_libc_intl_domainname): Likewise.
44345
443462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44347
44348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44349 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44350 and R_X86_64_TPOFF64.
44351
443522012-05-10 Joseph Myers <joseph@codesourcery.com>
44353
44354 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44355 sysdeps/unix/sysv/syscalls.list.
44356 (stime): Likewise.
44357 (utime): Likewise.
44358 * sysdeps/unix/sysv/syscalls.list: Remove file.
44359
443602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44361
44362 [BZ #3440]
44363 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44364 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44365 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44366 (__LC_IDENTIFICATION): Make these macros useful in #if
44367 expressions, as required by C99.
44368
443692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44370
44371 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44372 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44373 after this.
44374
443752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44376
44377 * stdlib/longlong.h: Updated from GCC.
44378
443792012-05-09 Andreas Jaeger <aj@suse.de>
44380
44381 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44382 default is first entry.
44383 (run_mode): Set type.
44384 (main): Remove informal message about syslog.
44385 (options): Fix typo.
44386
44387 [BZ #14053]
44388 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44389 to asm.
44390 (lrint): Likewise.
44391 (llrintf): Likewise.
44392 (llrint): Likewise.
44393 (rint): Likewise.
44394 (rintf): Likewise.
44395 (nearbyint): Likewise.
44396 (nearbyintf): Likewise.
44397
443982012-05-09 Andreas Jaeger <aj@suse.de>
44399 Pedro Alves <palves@redhat.com>
44400
44401 * nscd/nscd.c (run_mode): Use enum.
44402 (main): Cleanup coding style issue.
44403
444042012-05-09 Alexandre Oliva <aoliva@redhat.com>
44405 Andreas Jaeger <aj@suse.de>
44406
44407 * nscd/nscd.c (go_background): Replaced with...
44408 (run_mode): ... this.
44409 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44410 (options): Add -F --foreground.
44411 (main): Implement it.
44412 (parse_opt): Parse it.
44413
444142012-05-09 Andreas Jaeger <aj@suse.de>
44415
44416 [BZ #14083]
44417 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44418 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44419 -Wconversion warning.
44420 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44421 Likewise.
44422
444232012-05-09 Joseph Myers <joseph@codesourcery.com>
44424
44425 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44426 == 0.
44427 (LC_ALL): Use macro-int-constant.
44428 (LC_COLLATE): Likewise.
44429 (LC_CTYPE): Likewise.
44430 (LC_MESSAGES): Likewise.
44431 (LC_MONETARY): Likewise.
44432 (LC_NUMERIC): Likewise.
44433 (LC_TIME): Likewise.
44434 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44435 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44436 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44437 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44438 Specify type.
44439 [C99-based standards] (float_t): Expect type.
44440 [C99-based standards] (double_t): Expect type.
44441 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44442 type.
44443 [C99-based standards] (HUGE_VALL): Likewise.
44444 [C99-based standards] (INFINITY): Likewise.
44445 [C99-based standards] (NAN): Likewise.
44446 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44447 [C99-based standards] (FP_NAN): Likewise.
44448 [C99-based standards] (FP_NORMAL): Likewise.
44449 [C99-based standards] (FP_SUBNORMAL): Likewise.
44450 [C99-based standards] (FP_ZERO): Likewise.
44451 [C99-based standards] (FP_FAST_FMA): Use
44452 optional-macro-int-constant. Specify type. Require == 1.
44453 [C99-based standards] (FP_FAST_FMAF): Likewise.
44454 [C99-based standards] (FP_FAST_FMAL): Likewise.
44455 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44456 [C99-based standards] (FP_ILOGBNAN): Likewise.
44457 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44458 Specify type.
44459 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44460 [C99-based standards] (math_errhandling): Specify type.
44461 [ISO99 || ISO11] (signgam): Do not allow.
44462 [non-C99-based standards] (copysignf): Do not allow.
44463 [non-C99-based standards] (exp2f): Likewise.
44464 [non-C99-based standards] (log2f): Likewise.
44465 [non-C99-based standards] (modff): Allow.
44466 [non-C99-based standards] (erff): Do not allow.
44467 [non-C99-based standards] (erfcf): Likewise.
44468 [non-C99-based standards] (gammaf): Likewise.
44469 [non-C99-based standards] (hypotf): Likewise.
44470 [non-C99-based standards] (j0f): Likewise.
44471 [non-C99-based standards] (j1f): Likewise.
44472 [non-C99-based standards] (jnf): Likewise.
44473 [non-C99-based standards] (lgammaf): Likewise.
44474 [non-C99-based standards] (tgammaf): Likewise.
44475 [non-C99-based standards] (y0f): Likewise.
44476 [non-C99-based standards] (y1f): Likewise.
44477 [non-C99-based standards] (ynf): Likewise.
44478 [non-C99-based standards] (isnanf): Likewise.
44479 [non-C99-based standards] (acoshf): Likewise.
44480 [non-C99-based standards] (asinhf): Likewise.
44481 [non-C99-based standards] (atanhf): Likewise.
44482 [non-C99-based standards] (cbrtf): Likewise.
44483 [non-C99-based standards] (expm1f): Likewise.
44484 [non-C99-based standards] (ilogbf): Likewise.
44485 [non-C99-based standards] (log1pf): Likewise.
44486 [non-C99-based standards] (logbf): Likewise.
44487 [non-C99-based standards] (nextafterf): Likewise.
44488 [non-C99-based standards] (remainderf): Likewise.
44489 [non-C99-based standards] (rintf): Likewise.
44490 [non-C99-based standards] (scalbf): Likewise.
44491 [non-C99-based standards] (copysignl): Likewise.
44492 [non-C99-based standards] (exp2l): Likewise.
44493 [non-C99-based standards] (log2l): Likewise.
44494 [non-C99-based standards] (modfl): Allow.
44495 [non-C99-based standards] (erfl): Do not allow.
44496 [non-C99-based standards] (erfcl): Likewise.
44497 [non-C99-based standards] (gammal): Likewise.
44498 [non-C99-based standards] (hypotl): Likewise.
44499 [non-C99-based standards] (j0l): Likewise.
44500 [non-C99-based standards] (j1l): Likewise.
44501 [non-C99-based standards] (jnl): Likewise.
44502 [non-C99-based standards] (lgammal): Likewise.
44503 [non-C99-based standards] (tgammal): Likewise.
44504 [non-C99-based standards] (y0l): Likewise.
44505 [non-C99-based standards] (y1l): Likewise.
44506 [non-C99-based standards] (ynl): Likewise.
44507 [non-C99-based standards] (isnanl): Likewise.
44508 [non-C99-based standards] (acoshl): Likewise.
44509 [non-C99-based standards] (asinhl): Likewise.
44510 [non-C99-based standards] (atanhl): Likewise.
44511 [non-C99-based standards] (cbrtl): Likewise.
44512 [non-C99-based standards] (expm1l): Likewise.
44513 [non-C99-based standards] (ilogbl): Likewise.
44514 [non-C99-based standards] (log1pl): Likewise.
44515 [non-C99-based standards] (logbl): Likewise.
44516 [non-C99-based standards] (nextafterl): Likewise.
44517 [non-C99-based standards] (remainderl): Likewise.
44518 [non-C99-based standards] (rintl): Likewise.
44519 [non-C99-based standards] (scalbl): Likewise.
44520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44521 [non-C99-based standards] (FP_*): Do not allow.
44522 [C99-based standards] (FP_*): Change to
44523 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44524 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44525 allow.
44526 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44527 (SIG_ERR): Likewise.
44528 [X/Open-based standards] (SIG_HOLD): Likewise.
44529 (SIG_IGN): Likewise.
44530 (SIGABRT): Use macro-int-constant. Specify type. Require
44531 positive value.
44532 (SIGFPE): Likewise.
44533 (SIGILL): Likewise.
44534 (SIGINT): Likewise.
44535 (SIGSEGV): Likewise.
44536 (SIGTER): Likewise.
44537 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44538 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44539 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44540 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44541 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44542 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44543 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44544 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44545 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44546 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44547 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44548 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44549 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44550 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44551 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44552 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44553 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44554 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44555 [X/Open-based standards] (SIGTRAP): Likewise.
44556 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44557 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44558 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44559 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44560 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44561 allow.
44562
445632012-05-08 Ian Wienand <ianw@vmware.com>
44564
44565 [BZ #14080]
44566 * time/tzset.c (__tzset_parse_tz): Update default rules for
44567 daylight time changes in the Energy Policy Act of 2005.
44568
445692012-05-09 Andreas Jaeger <aj@suse.de>
44570
44571 [BZ #13983]
44572 * elf/ldconfig.c (parse_conf): Change string to make clear that
44573 ldconfig only issued a warning if ld.so.conf does not exist.
44574
445752012-05-08 David S. Miller <davem@davemloft.net>
44576
44577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44578 movxtod instead of popping the value on the stack.
44579
44580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44581
445822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44583
44584 * config.h.in: Add HAVE_ARM_PCS_VFP.
44585
445862012-05-08 Roland Mc Grath <roland@hack.frob.com>
44587
44588 [BZ #13979]
44589 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44590 checking but the checks are disabled for any reason.
44591
445922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44593
44594 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44595 and ELF64_R_TYPE with ELFW(R_TYPE).
44596
445972012-05-08 Joseph Myers <joseph@codesourcery.com>
44598
44599 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44600 (ulimit): Likewise.
44601
44602 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44603 (settimeofday): Likewise.
44604
446052012-05-08 Mike Frysinger <vapier@gentoo.org>
44606
44607 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44608 a struct th_u2 inside the union, and move tu_block/tu_code into
44609 a new th_u3 union of tu_block/tu_code inside of that. Move
44610 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44611 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44612 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44613 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44614 (th_stuff): Change to th_u1.tu_stuff.
44615 (th_data): Define.
44616 (th_msg): Change to th_u1.th_u2.tu_data.
44617
446182012-05-07 David S. Miller <davem@davemloft.net>
44619
44620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44621
44622 [BZ #14074]
44623 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44624 (SETUP_PIC_REG): Use it.
44625 (SETUP_PIC_REG_LEAF): Use it.
44626
446272012-05-07 Joseph Myers <joseph@codesourcery.com>
44628
44629 [BZ #13885]
44630 [BZ #13923]
44631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44632 USE_AS_EXPM1L.
44633 (EXPL_FINITE): Likewise.
44634 (FLDLOG): Likewise.
44635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44636 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44637 e_expl.S.
44638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44639 USE_AS_EXPM1L.
44640 (EXPL_FINITE): Likewise.
44641 (FLDLOG): Likewise.
44642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44643 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44644 e_expl.S.
44645 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44646 test of -max_value argument for long double.
44647 * sysdeps/i386/fpu/libm-test-ulps: Update.
44648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44649
446502012-05-06 David S. Miller <davem@davemloft.net>
44651
44652 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44653 quad soft-float symbols whose references which are compiler
44654 generated.
44655 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44656
446572012-05-06 Joseph Myers <joseph@codesourcery.com>
44658
44659 [BZ #13884]
44660 [BZ #13914]
44661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44662 USE_AS_EXP10L.
44663 (EXPL_FINITE): Likewise.
44664 (FLDLOG): Likewise.
44665 (c0): Likewise.
44666 (c1): Likewise.
44667 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44668 Adjust comments for base varying.
44669 (__expl_finite): Change alias to EXPL_FINITE.
44670 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44671 e_expl.S.
44672 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44673 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44675 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44677 USE_AS_EXP10L.
44678 (EXPL_FINITE): Likewise.
44679 (FLDLOG): Likewise.
44680 (c0): Likewise.
44681 (c1): Likewise.
44682 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44683 Adjust comments for base varying.
44684 (__expl_finite): Change alias to EXPL_FINITE.
44685 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44686 tests for bugs.
44687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44688
44689 [BZ #14064]
44690 * math/libm-test.inc (check_float_internal): Correct ulp
44691 calculation for subnormal expected results.
44692
446932012-05-06 Andreas Jaeger <aj@suse.de>
44694
44695 * Makeconfig (+math-flags): New, set to -frounding-math.
44696 (+cflags): Add +math-flags so that all of glibc gets compiled with
44697 it.
44698
44699 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44700
447012012-05-05 Joseph Myers <joseph@codesourcery.com>
44702
44703 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44704 Disable one test.
44705
44706 [BZ #13787]
44707 [BZ #13922]
44708 [BZ #14036]
44709 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44710 (__ieee754_expl): Allow for and saturate large arguments.
44711 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44712 (u_threshold): Likewise.
44713 (__exp): Call __ieee754_exp before checking for overflow and
44714 underflow.
44715 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44716 (u_threshold): Likewise.
44717 (__expf): Call __ieee754_expf before checking for overflow and
44718 underflow.
44719 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44720 (u_threshold): Likewise.
44721 (__expl): Call __ieee754_expl before checking for overflow and
44722 underflow.
44723 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44724 (__ieee754_expl): Allow for and saturate large arguments.
44725 * math/libm-test.inc (exp_test): Add another test. Do not allow
44726 missing overflow exception on overflow.
44727 (expm1_test): Do not allow missing overflow exception on overflow.
44728
44729 * sysdeps/i386/fpu/e_expl.c: Move to ...
44730 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44731 rather than using inline asm.
44732 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44733 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44734 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44735
44736 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44737 (nice): Likewise.
44738 (poll): Likewise.
44739 (signal): Likewise.
44740 (time): Likewise.
44741 (times): Likewise.
44742
447432012-05-04 Joseph Myers <joseph@codesourcery.com>
44744
44745 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44746 sysdeps/unix/common/syscalls.list.
44747 (fchmod): Likewise.
44748 (fchown): Likewise.
44749 (ftruncate): Likewise.
44750 (getrusage): Likewise.
44751 (gettimeofday): Likewise.
44752 (setpgid): Likewise.
44753 (setregid): Likewise.
44754 (setreuid): Likewise.
44755 (sigaction): Likewise.
44756 (truncate): Likewise.
44757 (vhangup): Likewise.
44758 * sysdeps/unix/common/syscalls.list: Remove file.
44759 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44760 * sysdeps/unix/sysv/linux/Implies: Likewise.
44761
447622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44763
44764 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44766 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44767 Moved to ...
44768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44769 Here.
44770 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44771 to ...
44772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44773 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44774 to ...
44775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44777 to ...
44778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44779 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44780 to ...
44781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44782 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44783 to ...
44784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44785 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44786 to ...
44787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44788 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44789 to ...
44790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44791 Here.
44792 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44793 to ...
44794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44795 Here.
44796 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44797 to ...
44798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44799 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44800 Moved to ...
44801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44802 Here.
44803 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44804 to ...
44805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44806
448072012-05-04 Joseph Myers <joseph@codesourcery.com>
44808
44809 * sysdeps/unix/common/bits/dirent.h: Remove file.
44810 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44811
44812 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44813 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44814 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44815 * sysdeps/unix/bsd/isatty.c: Likewise.
44816 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44817 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44818 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44819
448202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44821
44822 [BZ #13563]
44823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44824 long double comparison inaccuracies.
44825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44827
448282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44829
44830 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44832
448332012-05-04 Joseph Myers <joseph@codesourcery.com>
44834
44835 [BZ #14049]
44836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44837 nonzero digits before rounding a hex value.
44838 * stdlib/tst-strtod.c (tests): Add another test.
44839
448402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44841
44842 * sysdeps/s390/fpu/libm-test-ulps: Update.
44843
448442012-05-03 Andreas Jaeger <aj@suse.de>
44845
44846 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44847 does not get optimized out.
44848 (malloc_opt_barrier): New.
44849
448502012-05-03 Andreas Jaeger <aj@suse.de>
44851 Roland McGrath <roland@hack.frob.com>
44852
44853 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44854 intermediate file deletion.
44855 (generated): Add .symlist files.
44856
448572012-05-03 Joseph Myers <joseph@codesourcery.com>
44858
44859 [BZ #13775]
44860 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44861 Redirect under this condition.
44862 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44863 [__USE_GNU] (__dprintf_chk): Not under this condition.
44864 [__USE_GNU] (__vdprintf_chk): Likewise.
44865 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44866 under this condition.
44867 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44868 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44869 [__USE_XOPEN2K8] (vdprintf): Likewise.
44870 [__USE_GNU] (__dprintf_chk): Not under this condition.
44871 [__USE_GNU] (__vdprintf_chk): Likewise.
44872 [__USE_GNU] (dprintf): Likewise.
44873 [__USE_GNU] (vdprintf): Likewise.
44874
448752012-05-03 Roland McGrath <roland@hack.frob.com>
44876
44877 * elf/Makefile (common-generated): Set this instead of generated for
44878 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44879 $(all-built-dso)-derived lists.
44880
448812012-05-03 Andreas Jaeger <aj@suse.de>
44882
44883 * sysdeps/i386/fpu/libm-test-ulps: Update.
44884
44885 * FAQ: Removed.
44886 * FAQ.in: Likewise.
44887 * scripts/gen-FAQ.pl: Likewise.
44888 * manual/install.texi (Installation): Point to online location of
44889 FAQ.
44890 * Makefile (files-for-dist): Remove FAQ.
44891 (FAQ): Remove.
44892
448932012-05-02 Allan McRae <allan@archlinux.org>
44894
44895 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44896 (LDFLAGS-reldepmod5.so): Likewise.
44897 (LDFLAGS-reldep6mod1.so): Likewise.
44898 (LDFLAGS-reldep6mod4.so): Likewise.
44899 (LDFLAGS-reldep8mod3.so): Likewise.
44900 (LDFLAGS-unload4mod1.so): Likewise.
44901 (LDFLAGS-unload4mod2.so): Likewise.
44902 (LDFLAGS-tst-initorder): Likewise.
44903 (LDFLAGS-tst-initordera2.so): Likewise.
44904 (LDFLAGS-tst-initordera3.so): Likewise.
44905 (LDFLAGS-tst-initordera4.so): Likewise.
44906 (LDFLAGS-tst-initorderb2.so): Likewise.
44907 (LDFLAGS-noload): Likewise.
44908 (LDFLAGS-next): Likewise.
44909 (LDFLAGS-order2mod1.so): Likewise.
44910 (LDFLAGS-order2mod2.so): Likewise.
44911 (LDFLAGS-tst-initorder2): Likewise.
44912 (LDFLAGS-tst-initorder2a.so): Likewise.
44913 (LDFLAGS-tst-initorder2b.so): Likewise.
44914 (LDFLAGS-tst-initorder2c.so): Likewise.
44915 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44916
449172012-05-02 David S. Miller <davem@davemloft.net>
44918
44919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44920
449212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44922
44923 [BZ #14055]
44924 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44925
449262012-05-02 Andreas Jaeger <aj@suse.de>
44927
44928 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44929 since we manipulate rounding mode.
44930 (CPPFLAGS-test-idouble.c): Likewise.
44931 (CPPFLAGS-test-ifloat.c): Likewise.
44932 (CFLAGS-test-ldouble.c): Likewise.
44933 (CFLAGS-test-double.c): Likewise.
44934 (CFLAGS-test-float.c): Likewise.
44935 (CFLAGS-test-misc.c): Likewise.
44936 (CFLAGS-test-test-fenv.c): Likewise.
44937
449382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44939
44940 [BZ #2550]
44941 [BZ #2570]
44942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44943 comparisons to determine direction to adjust input.
44944
449452012-05-01 Roland McGrath <roland@hack.frob.com>
44946
44947 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44948 output to the target.
44949
44950 * scripts/localplt.awk: New file.
44951 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44952 (check-localplt-CFLAGS): Variable removed.
44953 ($(all-built-dso:=.jmprel)): New static pattern rule.
44954 (generated): Add those targets.
44955 (localplt-built-dso): New variable.
44956 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44957
44958 * elf/check-localplt.c: File removed.
44959
44960 * scripts/check-execstack.awk: New file.
44961 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44962 (check-execstack-CFLAGS): Variable removed.
44963 ($(objpfx)check-execstack.h): Target removed.
44964 ($(objpfx)execstack-default): New target.
44965 (generated): Add that instead of check-execstack.h.
44966 ($(all-built-dso:=.phdr)): New static pattern rule.
44967 (generated): Add those targets.
44968 * elf/check-execstack.c: File removed.
44969
44970 * scripts/check-textrel.awk: New file.
44971 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44972 (check-textrel-CFLAGS): Variable removed.
44973 (all-built-dso): Use := to define.o
44974 ($(all-built-dso:=.dyn)): New static pattern rule.
44975 (generated): Add those targets.
44976 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44977 * config.make.in (READELF): New substituted variable.
44978 * elf/check-textrel.c: File removed.
44979
449802012-05-01 Joseph Myers <joseph@codesourcery.com>
44981
44982 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44983 allow.
44984 * conform/data/ctype.h-data [C99-based standards] (isblank):
44985 Expect function.
44986 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44987 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44989 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44990 Specify type. Require positive value.
44991 (EILSEQ): Likewise.
44992 (ERANGE): Likewise.
44993 [ISO || POSIX] (EILSEQ): Do not expect.
44994 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44995 Specify type. Require positive value.
44996 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44997 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44998 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44999 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45000 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45001 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45002 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45003 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45004 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45005 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45006 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45007 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45008 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45009 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45010 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45011 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45012 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45013 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45014 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45015 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45016 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45017 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45018 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45019 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45020 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45021 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45022 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45023 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45024 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45025 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45026 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45027 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45028 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45029 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45030 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45031 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45032 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45033 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45034 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45035 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45036 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45037 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45038 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45039 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45040 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45041 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45042 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45043 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45044 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45045 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45046 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45047 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45048 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45049 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45050 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45051 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45052 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45053 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45054 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45055 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45056 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45057 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45058 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45059 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45060 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45061 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45062 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45063 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45064 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45065 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45066 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45067 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45068 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45069 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45070 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45071 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45072 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45073 Require >= 2.
45074 (FLT_ROUNDS): Expect as macro, not constant.
45075 (FLT_MANT_DIG): Use macro-int-constant.
45076 (DBL_MANT_DIG): Likewise.
45077 (LDBL_MANT_DIG): Likewise.
45078 (FLT_DIG): Likewise.
45079 (DBL_DIG): Likewise.
45080 (LDBL_DIG): Likewise.
45081 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45082 (DBL_MIN_EXP): Likewise.
45083 (LDBL_MIN_EXP): Likewise.
45084 (FLT_MAX_EXP): Use macro-int-constant.
45085 (DBL_MAX_EXP): Likewise.
45086 (LDBL_MAX_EXP): Likewise.
45087 (FLT_MAX_10_EXP): Likewise.
45088 (DBL_MAX_10_EXP): Likewise.
45089 (LDBL_MAX_10_EXP): Likewise.
45090 (FLT_MAX): Use macro-constant.
45091 (DBL_MAX): Likewise.
45092 (LDBL_MAX): Likewise.
45093 (FLT_EPSILON): Use macro-constant. Give upper bound.
45094 (DBL_EPSILON): Likewise.
45095 (LDBL_EPSILON): Likewise.
45096 (FLT_MIN): Likewise.
45097 (DBL_MIN): Likewise.
45098 (LDBL_MIN): Likewise.
45099 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45100 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45101 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45102 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45103 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45104 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45105 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45106 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45107 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45108 [ISO11] (FLT_TRUE_MIN): Likewise.
45109 [ISO11] (LDBL_TRUE_MIN): Likewise.
45110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45111 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45112 (SCHAR_MIN): Use macro-int-constant. Specify type.
45113 (SCHAR_MAX): Likewise.
45114 (UCHAR_MAX): Likewise.
45115 (CHAR_MIN): Likewise.
45116 (CHAR_MAX): Likewise.
45117 (MB_LEN_MAX): Use macro-int-constant.
45118 (SHRT_MIN): Use macro-int-constant. Specify type.
45119 (SHRT_MAX): Likewise.
45120 (USHRT_MAX): Likewise.
45121 (INT_MAX): Likewise.
45122 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45123 bound negative.
45124 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45125 bound with "U".
45126 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45127 bound with "L".
45128 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45129 bound negative. Suffix upper bound with "L".
45130 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45131 bound with "UL".
45132 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45133 Specify type.
45134 [C99-based standards] (LLONG_MAX): Likewise.
45135 [C99-based standards] (ULLONG_MAX): Likewise.
45136 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45137 == 0.
45138 [ISO11] (max_align_t): Require type.
45139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45140
45141 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45142 from $CFLAGS, without defining away __attribute__ calls.
45143 (checknamespace): Use $CFLAGS_namespace.
45144
45145 * conform/conformtest.pl (@keywords): Only include C99 keywords
45146 for standards based on C99 or C11.
45147
45148 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45149 Disable tests.
45150 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45151 UNIX98]: Likewise.
45152
45153 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45154 usability of symbols in #if.
45155
45156 * conform/conformtest.pl: If macro or constant types start
45157 "promoted:", expect the symbol to be of the following type
45158 promoted by the integer promotions.
45159
45160 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45161 in one place. Also handle "macro-constant".
45162
45163 * conform/conformtest.pl: Only accept expected macro values with
45164 "==". Parse all "macro" lines in one place.
45165 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45166
45167 * conform/conformtest.pl: Handle braced types on "constant" lines
45168 instead of handling "typed-constant".
45169 * conform/data/signal.h-data: Use "constant" instead of
45170 "typed-constant".
45171
45172 * conform/conformtest.pl: Handle "optional-" at start of lines in
45173 one place rather than duplicating several cases. Handle each
45174 format of "macro" line with initial "optional-".
45175
45176 * conform/conformtest.pl: Only accept expected constant or
45177 optional-constant values with "==". Parse all "constant" lines in
45178 one place. Parse all "optional-constant" lines in one place.
45179 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45180 * conform/data/fmtmsg.h-data: Likewise.
45181 * conform/data/netinet/in.h-data: Likewise.
45182 * conform/data/tar.h-data: Likewise.
45183 * conform/data/limits.h-data: Use "==" form on "constant" and
45184 "optional-constant" lines.
45185
45186 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45187 Use -std=c99 for XOPEN2K.
45188 (@knownproblems): Remove.
45189 (newtoken): Don't check %isknown.
45190
45191 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45192 Do not expect macro.
45193 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45194 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45195 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45196 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45199 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45200 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45201 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45205 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45206 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45218 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45219 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45223 [XPG3] (acosh): Likewise.
45224 [XPG3] (asinh): Likewise.
45225 [XPG3] (atanh): Likewise.
45226 [XPG3] (cbrt): Likewise.
45227 [XPG3] (expm1): Likewise.
45228 [XPG3] (ilogb): Likewise.
45229 [XPG3] (log1p): Likewise.
45230 [XPG3] (logb): Likewise.
45231 [XPG3] (nextafter): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45234 [XPG3] (remainder): Likewise.
45235 [XPG3] (rint): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45243 [UNIX98 || XOPEN2K] (scalb): Expect.
45244 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45245 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45256 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45257 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45258 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45272 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45273 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45274 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45276 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45277 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45278 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45279 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45280 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45281 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45282 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45283 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45284 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45285 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45286 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45287 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45288 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45289 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45290 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45291 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45292 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45293 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45294 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45295 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45296 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45297 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45298 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45299 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45300 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45301 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45302 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45303 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45304 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45305 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45306 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45307 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45308 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45309 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45310 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45311 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45312 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45313 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45314 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45315 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45316 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45317 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45318 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45319 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45320 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45321 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45322 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45323 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45324 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45325 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45326 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45327 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45328 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45329 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45330 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45331 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45332 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45333 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45334 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45335 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45336 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45337 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45338 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45339 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45340 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45341 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45342 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45343 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45344 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45345 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45346 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45347 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45348 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45349 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45350 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45351 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45352 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45353 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45354 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45355 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45356 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45357 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45358 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45359 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45360 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45361 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45362 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45363 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45364 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45365 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45366 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45367 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45368 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45369 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45370 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45371 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45372 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45373 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45374 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45375 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45376 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45377 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45378 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45379 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45380 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45381
45382 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45383 _XOPEN_SOURCE_EXTENDED for XPG4.
45384
45385 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45386
45387 * Makeconfig (localtime): Remove variable.
45388 (inst_localtime-file): Likewise.
45389
453902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45391
45392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45393 Update.
45394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45395 Update.
45396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45397 Update.
45398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45399 Update.
45400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45401 Update.
45402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45403 Update.
45404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45405 Update.
45406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45407 Update.
45408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45409 Update.
45410
454112012-05-01 Joseph Myers <joseph@codesourcery.com>
45412
45413 [BZ #2550]
45414 [BZ #2570]
45415 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45416 comparisons to determine direction to adjust input.
45417 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45418 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45420 Likewise.
45421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45422 Likewise.
45423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45424 Likewise.
45425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45427 Likewise.
45428 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45429 Likewise.
45430 * math/libm-test.inc (nexttoward_test): Add more tests.
45431
454322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45433
45434 [BZ #14040]
45435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45436 in version GLIBC_2.1, not GLIBC_2.0.
45437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45438 Likewise.
45439
454402012-04-30 Joseph Myers <joseph@codesourcery.com>
45441
45442 [BZ #13942]
45443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45444 (1 - x) * (1 + x).
45445 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45446 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45447 * math/libm-test.inc (acos_test): Add more tests.
45448 (asin_test): Likewise.
45449 * sysdeps/i386/fpu/libm-test-ulps: Update.
45450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45451
45452 [BZ #14034]
45453 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45454 of square root.
45455 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45456 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45457 * math/libm-test.inc (acos_test_tonearest): New function.
45458 (acos_test_towardzero): Likewise.
45459 (acos_test_downward): Likewise.
45460 (acos_test_upward): Likewise.
45461 (asin_test_tonearest): Likewise.
45462 (asin_test_towardzero): Likewise.
45463 (asin_test_downward): Likewise.
45464 (asin_test_upward): Likewise.
45465 (main): Call the new functions.
45466 * sysdeps/i386/fpu/libm-test-ulps: Update.
45467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45468
45469 [BZ #13884]
45470 [BZ #13924]
45471 * math/e_exp10.c: Include <float.h>.
45472 (__ieee754_exp10): Handle underflow here rather than multiplying
45473 large negative argument by M_LN10.
45474 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45475 of __ieee754_expf.
45476 * math/e_exp10l.c: Include <float.h>.
45477 (__ieee754_exp10l): Handle underflow here rather than multiplying
45478 large negative argument by M_LN10l.
45479 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45480 spurious overflow exception on underflow.
45481
454822012-04-29 Marek Polacek <polacek@redhat.com>
45483
45484 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45485 (__fortify_function): New macro.
45486 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45487 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45488 __extern_always_inline.
45489 * libio/bits/stdio2.h: Likewise.
45490 * libio/bits/stdio.h: Likewise.
45491 * string/string.h: Likewise.
45492 * string/bits/string3.h: Likewise.
45493 * include/stdio.h: Likewise.
45494 * stdlib/bits/stdlib.h: Likewise.
45495 * stdlib/stdlib.h: Likewise.
45496 * rt/bits/mqueue2.h: Likewise.
45497 * rt/mqueue.h: Likewise.
45498 * posix/bits/unistd.h: Likewise.
45499 * posix/unistd.h: Likewise.
45500 * io/bits/poll2.h: Likewise.
45501 * io/bits/fcntl2.h: Likewise.
45502 * io/fcntl.h: Likewise.
45503 * io/sys/poll.h: Likewise.
45504 * misc/bits/syslog.h: Likewise.
45505 * misc/bits/syslog-ldbl.h: Likewise.
45506 * misc/sys/syslog.h: Likewise.
45507 * socket/bits/socket2.h: Likewise.
45508 * socket/sys/socket.h: Likewise.
45509 * debug/tst-chk1.c: Likewise.
45510 * wcsmbs/bits/wchar2.h: Likewise.
45511 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45512 * wcsmbs/wchar.h: Likewise.
45513
455142012-04-29 Andreas Jaeger <aj@suse.de>
45515
45516 * Makerules (tests): Remove enable-check-abi protection.
45517 (check-abi-warn): Remove.
45518 (check-abi-%): Remove check-abi-warn usage.
45519
45520 * configure.in: Remove check-abi configure option.
45521 * configure: Regenerated.
45522 * config.make.in (enable-check-abi): Remove.
45523
455242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45525
45526 [BZ #14033]
45527 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45528 double functions to double *_finite functions.
45529
45530 [BZ #13941]
45531 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45532 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45533 LDBL_MIN_EXP.
45534 * stdio-common/Makefile (tests): Add tst-sprintf3.
45535 * stdio-common/tst-sprintf3.c: New file.
45536
45537 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45538 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45539
455402012-04-28 Joseph Myers <joseph@codesourcery.com>
45541
45542 * conform/conformtest.pl: Remove duplicate typed-constant
45543 handling.
45544
455452012-04-28 David S. Miller <davem@davemloft.net>
45546
45547 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45548 (check-abi-%): Remove AWK script prerequisite and explicit
45549 abilist directory.
45550 (check-abi): Rewrite to just diff the symlist with the abilist.
45551 (config-tls, config-abi-config): Delete, no longer used.
45552 (update-abi-%): Remove AWK script and explicit abilist directory.
45553 (update-abi): Rewrite to simply compare and conditionally copy the
45554 symlist and the sysdep abilist file. Remove update-abi-config
45555 checks.
45556 * abilist/ld.abilist: Remove.
45557 * abilist/libBrokenLocale.abilist: Remove.
45558 * abilist/libanl.abilist: Remove.
45559 * abilist/libcrypt.abilist: Remove.
45560 * abilist/libdl.abilist: Remove.
45561 * abilist/librt.abilist: Remove.
45562 * abilist/libthread_db.abilist: Remove.
45563 * abilist/libutil.abilist: Remove.
45564 * scripts/extract-abilist.awk: Remove.
45565 * scripts/merge-abilist.awk: Remove.
45566 * sysdeps/generic/libcidn.abilist: New file.
45567 * sysdeps/generic/libnss_compat.abilist: New file.
45568 * sysdeps/generic/libnss_db.abilist: New file.
45569 * sysdeps/generic/libnss_dns.abilist: New file.
45570 * sysdeps/generic/libnss_files.abilist: New file.
45571 * sysdeps/generic/libnss_hesiod.abilist: New file.
45572 * sysdeps/generic/libnss_nis.abilist: New file.
45573 * sysdeps/generic/libnss_nisplus.abilist: New file.
45574 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45575 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45576 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45577 file.
45578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45579 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45580 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45581 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45582 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45583 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45584 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45585 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45586 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45587 file.
45588 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45589 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45590 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45591 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45592 file.
45593 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45594 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45595 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45596 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45597 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45598 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45599 file.
45600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45601 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45602 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45603 file.
45604 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45606 New file.
45607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45608 New file.
45609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45610 New file.
45611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45612 New file.
45613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45614 New file.
45615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45616 New file.
45617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45618 New file.
45619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45620 New file.
45621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45622 New file.
45623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45624 New file.
45625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45626 New file.
45627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45628 New file.
45629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45630 New file.
45631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45632 file.
45633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45634 New file.
45635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45636 New file.
45637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45638 file.
45639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45640 New file.
45641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45642 New file.
45643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45644 file.
45645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45646 New file.
45647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45648 New file.
45649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45650 New file.
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45652 New file.
45653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45654 New file.
45655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45656 New file.
45657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45659 file.
45660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45661 New file.
45662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45663 file.
45664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45665 file.
45666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45667 file.
45668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45669 file.
45670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45671 file.
45672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45673 New file.
45674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45675 file.
45676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45677 file.
45678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45679 New file.
45680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45681 file.
45682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45684 file.
45685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45686 New file.
45687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45688 file.
45689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45690 file.
45691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45692 file.
45693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45694 file.
45695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45696 file.
45697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45698 New file.
45699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45700 file.
45701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45702 file.
45703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45704 New file.
45705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45706 file.
45707 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45708 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45709 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45710 file.
45711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45712 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45713 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45715 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45716 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45717 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45718 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45719 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45720 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45723 file.
45724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45725 New file.
45726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45727 file.
45728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45729 file.
45730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45731 file.
45732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45733 file.
45734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45735 file.
45736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45737 New file.
45738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45739 New file.
45740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45741 file.
45742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45743 New file.
45744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45745 file.
45746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45748 file.
45749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45750 New file.
45751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45752 file.
45753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45754 file.
45755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45756 file.
45757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45758 file.
45759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45760 file.
45761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45762 New file.
45763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45764 New file.
45765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45766 file.
45767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45768 New file.
45769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45770 file.
45771
457722012-04-28 Joseph Myers <joseph@codesourcery.com>
45773
45774 * conform/conformtest.pl: Fix typo in handling typed-constant from
45775 allow-header.
45776
457772012-04-27 Joseph Myers <joseph@codesourcery.com>
45778
45779 * README: Cut down references to pre-2.6 Linux kernels and
45780 Linuxthreads. Update lists of configurations in libc and ports
45781 and sort alphabetically. Say "or newer" with Linux kernel version
45782 requirements.
45783
45784 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45785
457862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45787
45788 [BZ #887]
45789 * math/libm-test.inc (logb_test_downward): New test to expose
45790 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45791 rounding mode.
45792
457932012-04-27 Joseph Myers <joseph@codesourcery.com>
45794
45795 [BZ #14027]
45796 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45797 to be done.
45798 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45799 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45800
458012012-04-26 Joseph Myers <joseph@codesourcery.com>
45802
45803 * sysdeps/unix/i386/brk.S: Remove file.
45804 * sysdeps/unix/i386/dl-brk.S: Likewise.
45805 * sysdeps/unix/i386/pipe.S: Likewise.
45806 * sysdeps/unix/i386/sigreturn.S: Likewise.
45807 * sysdeps/unix/i386/syscall.S: Likewise.
45808 * sysdeps/unix/i386/vfork.S: Likewise.
45809 * sysdeps/unix/i386/wait.S: Likewise.
45810
45811 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45812 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45813
45814 * configure.in (arm*-none*): Do not allow without
45815 --enable-hacker-mode.
45816 (netbsd*): Remove case setting base_os.
45817 (386bsd*): Likewise.
45818 (freebsd*): Likewise.
45819 (bsdi*): Likewise.
45820 (osf*): Likewise.
45821 (sunos*): Likewise.
45822 (ultrix*): Likewise.
45823 (newsos*): Likewise.
45824 (dynix*): Likewise.
45825 (*bsd*): Likewise.
45826 (sysv*): Likewise.
45827 (isc*): Likewise.
45828 (esix*): Likewise.
45829 (sco*): Likewise.
45830 (minix*): Likewise.
45831 (irix4*): Likewise.
45832 (irix6*): Likewise.
45833 (solaris[2-9]*): Likewise.
45834 (none): Likewise.
45835 * configure: Regenerated.
45836
458372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45838
45839 [BZ #11521]
45840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45841 overflow or cancellation in calculating denominator.
45842 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45843 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45844 down expression to avoid unexpected rounding in newer GCCs.
45845 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45846
458472012-04-26 David S. Miller <davem@davemloft.net>
45848
45849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45850 long-double compat symbols.
45851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45864
458652012-04-25 David S. Miller <davem@davemloft.net>
45866
45867 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45868 HWCAP_* values only after the memory barriers have been defined.
45869 (atomic_full_barrier): Define.
45870 (atomic_read_barrier): Define.
45871 (atomic_write_barrier): Define.
45872
458732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45874
45875 * shlib-versions: Add libgcc_s version information.
45876 * sysdeps/generic/libgcc_s.h: Remove.
45877 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45878 libgcc_s.h.
45879 * sysdeps/gnu/unwind-resume.c: Likewise.
45880 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45881
458822012-04-25 David S. Miller <davem@davemloft.net>
45883
45884 * sysdeps/unix/sparc/brk.S: Delete.
45885 * sysdeps/unix/sparc/dl-brk.S: Delete.
45886 * sysdeps/unix/sparc/pipe.S: Delete.
45887 * sysdeps/unix/sparc/sysdep.S: Delete.
45888 * sysdeps/unix/sparc/sysdep.h: Delete.
45889 * sysdeps/unix/sparc/vfork.S: Delete.
45890 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45891 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45893 (ret_ERRVAL, r0, r1, MOVE): Define.
45894 (JUMPTARGET): Remove.
45895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45896 sysdeps/unix/sparc/sysdep.h
45897 (ENTRY, END): Remove.
45898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45899
459002012-04-25 Joseph Myers <joseph@codesourcery.com>
45901
45902 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45903 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45904 -DIS_IN_build.
45905
45906 * timezone/README: Update upstream location and email address for
45907 tzcode and tzdata.
45908 * timezone/zdump.c: Update from tzcode 2012b.
45909 * timezone/zic.c: Likewise.
45910
45911 * configure.in (libc_cv_as_needed): Remove test.
45912 * configure: Regenerated.
45913 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45914 conditional definition.
45915 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45916 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45917 * config.make.in (have-as-needed): Remove variable.
45918
459192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45920 Paul Pluzhnikov <ppluzhnikov@google.com>
45921
45922 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45923 strings correctly.
45924
459252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45926
45927 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45928 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45929 * sysdeps/sh/strlen.S: Likewise.
45930
459312012-04-24 Joseph Myers <joseph@codesourcery.com>
45932
45933 * sysdeps/unix/fork.S: Remove file.
45934 * sysdeps/unix/i386/fork.S: Likewise.
45935 * sysdeps/unix/sparc/fork.S: Likewise.
45936
45937 * sysdeps/unix/system.c: Remove file.
45938 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45939
45940 * sysdeps/unix/getegid.S: Remove file.
45941 * sysdeps/unix/geteuid.S: Likewise.
45942
459432012-04-24 Roland McGrath <roland@hack.frob.com>
45944
45945 * scripts/check-localplt.awk: New file.
45946 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45947 of diff.
45948 * scripts/data/localplt-generic.data: Add a comment.
45949
45950 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45951 NODE when __dir_mkfile failed.
45952 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45953 Reported by Ludovic Courtès <ludo@gnu.org>.
45954
459552012-04-24 Andreas Jaeger <aj@suse.de>
45956
45957 * Makerules (common-clean): Also remove gen-as-const-headers
45958 files.
45959
459602012-04-24 Joseph Myers <joseph@codesourcery.com>
45961
45962 * Makerules (native-compile): Do not change working directory for
45963 build. Use $(OUTPUT_OPTION) in command.
45964 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45965
459662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45967
45968 [BZ #13886]
45969 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45970 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45971 * math/libm-test.inc (floor_test): Add more tests.
45972 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45973
459742012-04-24 Joseph Myers <joseph@codesourcery.com>
45975
45976 * sysdeps/unix/getdents.c: Remove file.
45977 * sysdeps/unix/sysv/getdents.c: Likewise.
45978 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45979
45980 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45981 sysdeps/unix/mman/syscalls.list.
45982 (mmap): Likewise.
45983 (mprotect): Likewise.
45984 (msync): Likewise.
45985 (munmap): Likewise.
45986 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45987 * sysdeps/unix/mman/syscalls.list: Remove.
45988 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45989
45990 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45991 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45992 * configure: Regenerated.
45993 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45994 $(libgcc_s_suffix).
45995 * config.make.in (libgcc_s_suffix): Remove variable.
45996
459972012-04-23 Joseph Myers <joseph@codesourcery.com>
45998
45999 * sysdeps/unix/sysv/gethostname.c: Move to ...
46000 * sysdeps/posix/gethostname.c: ... here.
46001
46002 * sysdeps/unix/execve.S: Remove file.
46003
46004 * sysdeps/unix/_exit.S: Remove file.
46005
460062012-04-23 Andreas Jaeger <aj@suse.de>
46007
46008 [BZ #13739]
46009 * manual/Makefile: Remove make dist support, there's no
46010 need for a stand-alone documentation tar ball.
46011 (TEXI2DVI): Define always, it's not in Makeconfig.
46012 (dist): Removed.
46013 (tar-it): Removed.
46014 (edition): Removed.
46015 (glibc-doc-$(edition).tar): Removed
46016 (%.Z): Removed.
46017 (%.gz): Removed.
46018 (%.uu): Removed.
46019 (ETAGS): Remove, it's in Makeconfig.
46020 (move-if-change): Remove, it's in Makeconfig.
46021
460222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46023
46024 [BZ #13970]
46025 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46026 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46027 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46028 (strtod_l, strtof_l, strtold_l): Remove __wur.
46029 It is not necessarily an error to ignore strtol's return value.
46030 One can reliably look at the stored endptr to decide whether
46031 the number had valid syntax.
46032
460332012-04-21 Andreas Jaeger <aj@suse.de>
46034
46035 [BZ #13739]
46036 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46037
460382012-04-21 Joseph Myers <joseph@codesourcery.com>
46039
46040 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46041 * sysdeps/unix/sysv/Versions: Remove file.
46042
460432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46044
46045 [BZ #13927]
46046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46047
460482012-04-21 Nick Alcock <nick.alcock@oracle.com>
46049
46050 [BZ #7064]
46051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46052 version from __vm86.
46053
460542012-04-20 Joseph Myers <joseph@codesourcery.com>
46055
46056 * sysdeps/unix/common/lxstat.c: Remove file.
46057 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46058
46059 * sysdeps/unix/sysv/Makefile: Remove file.
46060
46061 * sysdeps/unix/sysv/direct.h: Remove file.
46062
46063 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46064 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46065 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46066 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46067 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46068 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46069 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46070
46071 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46072
46073 * sysdeps/unix/xmknod.c: Remove file.
46074 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46075
46076 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46077
46078 * sysdeps/unix/sysv/i386/time.S: Remove file.
46079
46080 * sysdeps/unix/fxstat.c: Remove file.
46081 * sysdeps/unix/xstat.c: Likewise.
46082 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46083
46084 * sysdeps/unix/sysv/sigaction.c: Remove file.
46085
46086 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46087 (sysdep_headers): Remove variable.
46088 [termio.h not in sysdep_headers] (generated): Likewise.
46089 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46090 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46091 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46092 * sysdeps/unix/sysv/tcflow.c: Likewise.
46093 * sysdeps/unix/sysv/tcflush.c: Likewise.
46094 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46095 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46096 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46097 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46098 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46099
46100 * sysdeps/unix/siglist.c: Remove file.
46101
46102 * sysdeps/unix/getppid.S: Remove file.
46103
46104 * sysdeps/unix/mkdir.c: Remove file.
46105 * sysdeps/unix/rmdir.c: Likewise.
46106
461072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46108
46109 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46110 ERR_MAX value.
46111 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46112 errlist-compat value.
46113
461142012-04-18 David S. Miller <davem@davemloft.net>
46115
46116 * sysdeps/generic/memcopy.h (reg_char): Delete.
46117 * debug/strcat_chk.c: Use char, not reg_char.
46118 * debug/strcpy_chk.c: Likewise.
46119 * debug/strncat_chk.c: Likewise.
46120 * debug/strncpy_chk.c: Likewise.
46121 * string/memchr.c: Likewise.
46122 * string/memrchr.c: Likewise.
46123 * string/rawmemchr.c: Likewise.
46124 * string/strcat.c: Likewise.
46125 * string/strchr.c: Likewise.
46126 * string/strchrnul.c: Likewise.
46127 * string/strcmp.c: Likewise.
46128 * string/strcpy.c: Likewise.
46129 * string/strncat.c: Likewise.
46130 * string/strncmp.c: Likewise.
46131 * string/strncpy.c: Likewise.
46132
461332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46134
46135 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46136 __builtin_memcopy is called when src and dest ranges are known to not
46137 overlap.
46138
461392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46140
46141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46142 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46143 fwd_align_merge macro call.
46144 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46145 bwd_align_merge macro call.
46146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46147
461482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46149
46150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46151 bwd_align_merge macros.
46152 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46153 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46154 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46155
461562012-04-18 David S. Miller <davem@davemloft.net>
46157
46158 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46159
461602012-04-18 Andreas Jaeger <aj@suse.de>
46161
46162 [BZ# 6794]
46163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46164 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46166
46167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46168 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46169 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46170
46171 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46172 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46173 Adjust for changed ldbl-128 files.
46174
46175 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46176 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46177 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46178
461792012-04-17 David S. Miller <davem@davemloft.net>
46180
46181 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46182
461832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46184
46185 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46186 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46187 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46188 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46189 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46190 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46191
461922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46193
46194 [BZ #6794]
46195 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46196 * math/libm-test.inc: Add ilogb errno and exception tests.
46197 * math/w_ilogb.c: New file: ilogb wrapper.
46198 * math/w_ilogbf.c: New file: ilogbf wrapper.
46199 * math/w_ilogbl.c: New file: ilogbl wrapper.
46200 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46201 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46202 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46203 exception being thrown with 0.0 as argument.
46204 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46205 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46206 exception being thrown with 0.0 as argument.
46207 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46208 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46209 exception being thrown with 0.0 as argument.
46210 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46211 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46212 exception being thrown with 0.0 as argument.
46213 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46214 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46215 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46216 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46217 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46218 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46219 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46220 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46221 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46222
462232012-04-17 Petr Baudis <pasky@ucw.cz>
46224
46225 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46226 with altivec.
46227
462282012-04-16 Marek Polacek <polacek@redhat.com>
46229
46230 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46231
462322012-04-16 Marek Polacek <polacek@redhat.com>
46233
46234 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46235 operands of fdivp instruction.
46236
462372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46238
46239 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46240 * elf/tst-auditmod3b.c: Likewise.
46241 * elf/tst-auditmod4b.c: Likewise.
46242 * elf/tst-auditmod5b.c: Likewise.
46243 * elf/tst-auditmod6b.c: Likewise.
46244 * elf/tst-auditmod6c.c: Likewise.
46245 * elf/tst-auditmod7b.c: Likewise.
46246 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46247 * sysdeps/x86_64/preconfigure.in: Likewise.
46248 * sysdeps/x86_64/preconfigure: Regenerated.
46249
462502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46251
46252 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46253 __ILP32__.
46254
462552012-04-13 Antoine Balestrat <merkil33@gmail.com>
46256
46257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46258 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46259
462602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46261
46262 [BZ #13973]
46263 * locale/iso-639.def: Fix gl language name. Spotted by
46264 Yaron Shahrabani.
46265
462662012-04-12 Roland McGrath <roland@hack.frob.com>
46267
46268 [BZ #2074]
46269 * libio/libio.h (__io_write_fn): Update comment.
46270
462712012-04-12 Petr Baudis <pasky@ucw.cz>
46272
46273 [BZ #2074]
46274 * stdio.texi (Hook Functions): The user provided writer function
46275 is not allowed to return -1.
46276
462772012-04-11 David S. Miller <davem@davemloft.net>
46278
46279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46280
462812012-04-11 Mike Frysinger <vapier@gentoo.org>
46282
46283 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46284 Add a leading slash to rtkaio.
46285
462862012-04-11 Jim Meyering <meyering@redhat.com>
46287
46288 [BZ #11959]
46289 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46290 It is not necessarily an error to ignore fwrite's return
46291 value. One can reliably use ferror to test for errors after
46292 the fact.
46293
462942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46295
46296 * bits/types.h (__snseconds_t): New type.
46297 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46298
46299 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46301 (__SNSECONDS_T_TYPE): Likewise.
46302 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46303 (__SNSECONDS_T_TYPE): Likewise.
46304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46305 (__SNSECONDS_T_TYPE): Likewise.
46306
463072012-04-10 Andreas Jaeger <aj@suse.de>
46308
46309 [BZ #2636]
46310 * manual/time.texi (Processor Time): Return type of times is
46311 elapsed real time since an arbitrary point in the past.
46312 (CPU Time): Move CLK_TCK from here...
46313 (Processor Time): ...to here. Correct description.
46314 * manual/conf.texi (Constants for Sysconf): Correct description of
46315 _SC_CLK_TCK.
46316
463172012-04-10 David S. Miller <davem@davemloft.net>
46318
46319 [BZ #13967]
46320 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46321 where the is a gap between DT_REL(A) and DT_JMPREL.
46322
463232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46324
46325 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46326 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46327 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46328
463292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46330
46331 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46332 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46333 (dl_main): Handle --inhibit-cache.
46334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46335 _dl_inhibit_cache.
46336 * elf/dl-load.c (_dl_map_object): Use it.
46337 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46338
463392012-04-09 Joseph Myers <joseph@codesourcery.com>
46340
46341 [BZ #13872]
46342 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46343 (__ieee754_powl): Saturate large exponents rather than testing for
46344 overflow of y*log2(x).
46345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46346 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46347 exceptions.
46348
46349 [BZ #11521]
46350 * math/s_ctan.c: Include <float.h>.
46351 (__ctan): Avoid internal overflow or cancellation in calculating
46352 denominator.
46353 * math/s_ctanf.c: Likewise.
46354 * math/s_ctanl.c: Likewise.
46355 * math/s_ctanh.c: Likewise.
46356 * math/s_ctanhf.c: Likewise.
46357 * math/s_ctanhl.c: Likewise.
46358 * math/libm-test.inc (ctan_test): Add more tests.
46359 (ctanh_test): Likewise.
46360 * sysdeps/i386/fpu/libm-test-ulps: Update.
46361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46362
463632012-04-09 Andreas Jaeger <aj@suse.de>
46364
46365 [BZ #6894]
46366 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46367 is an optional BSD extension.
46368
46369 [BZ #10254]
46370 * manual/stdio.texi (Opening Streams): Document additional fopen
46371 parameters.
46372
463732012-04-09 Roland McGrath <roland@hack.frob.com>
46374
46375 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46376 %eax without telling the compiler.
46377
463782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46379
46380 [BZ # 13963]
46381 * manual/install.texi: Use sourceware.org.
46382
463832012-04-09 Joseph Myers <joseph@codesourcery.com>
46384
46385 [BZ #13873]
46386 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46387 (__ieee754_pow): Generate overflow and underflow using huge*huge
46388 and tiny*tiny rather than just returning constant infinity or zero
46389 for large exponents.
46390 * math/libm-test.inc (pow_test): Require overflow exceptions for
46391 applicable cases of large exponents.
46392
46393 [BZ #706]
46394 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46395 (__ieee754_pow): Use iterative multiplication algorithm only for
46396 integer exponents with absolute value below 1024. Check for odd
46397 integer exponents when using algorithm for real exponents.
46398 * math/libm-test.inc (pow_test): Add more tests.
46399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46400
464012012-04-08 Joseph Myers <joseph@codesourcery.com>
46402
46403 [BZ #13705]
46404 * math/libm-test.inc (exp_test): Do not allow overflow exception
46405 on underflow test.
46406
464072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46408
46409 [BZ #13705]
46410 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46411 instead of __kernel_standard_f.
46412
464132012-04-08 Mike Frysinger <vapier@gentoo.org>
46414
46415 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46416 * sysdeps/x86_64/memset_chk.S: Likewise.
46417
464182012-04-08 Andreas Jaeger <aj@suse.de>
46419
46420 [BZ #10153]
46421 * manual/startup.texi (Environment Access): Describe return value
46422 for putenv and setenv.
46423
46424 [BZ #6895]
46425 * manual/filesys.texi (Directory Entries): Add description for
46426 DT_LNK.
46427
46428 [BZ #6890]
46429 * manual/filesys.texi (Directory Entries): Clarify that it's file
46430 system not operating system in the description of DT_UNKNOWN.
46431
46432 [BZ #6578]
46433 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46434
464352012-04-08 Stephen Compall <s11@member.fsf.org>
46436
46437 [BZ #6649]
46438 * manual/llio.texi (Opening and Closing Files): Add cross
46439 reference to explain mode argument.
46440
464412012-04-07 Mike Frysinger <vapier@gentoo.org>
46442
46443 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46444 * sysdeps/x86_64/memset_chk.S: Likewise.
46445
464462012-04-07 David S. Miller <davem@davemloft.net>
46447
46448 * elf/elf.h (R_SPARC_WDISP10): Define.
46449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46450 R_SPARC_SIZE32.
46451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46452 R_SPARC_SIZE64 and R_SPARC_H34.
46453
464542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46455
46456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46457 conditions and remove no longer applicable assertion.
46458
464592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46460
46461 * bits/byteswap.h: Include <features.h>.
46462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46464
464652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46466
46467 * bits/byteswap.h (__bswap_16): Removed.
46468 Include <bits/byteswap-16.h> to get __bswap_16.
46469 * sysdeps/i386/bits/byteswap.h: Likewise.
46470 * sysdeps/s390/bits/byteswap.h: Likewise.
46471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46472 * bits/byteswap-16.h: New file.
46473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46474 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46475 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46476 * string/Makefile (headers): Add bits/byteswap-16.h.
46477
464782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46479
46480 [BZ #13895]
46481 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46482 extra indirection.
46483 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46484 * nss/tst-nss-static.c: New.
46485
464862012-04-06 Robert Millan <rmh@gnu.org>
46487
46488 [BZ #6486]
46489 * manual/llio.texi (File Position Primitive): lseek
46490 refers to WHENCE when it really means OFFSET.
46491
464922012-04-06 Andreas Jaeger <aj@suse.de>
46493
46494 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46495 strncmp declarations.
46496
46497 * abilist/libc.abilist: Add __poll and __ppoll.
46498
464992012-04-05 David S. Miller <davem@davemloft.net>
46500
46501 * scripts/check-local-headers.sh: Accept a host triplet in the
46502 path matched by the exclude regexp.
46503
46504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46505 definition.
46506 * sysdeps/powerpc/powerpc32/dl-machine.h
46507 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46508 * sysdeps/s390/s390-32/dl-machine.h
46509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46510 * sysdeps/sparc/sparc32/dl-machine.h
46511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46512 * sysdeps/sparc/sparc64/dl-machine.h
46513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46514
46515 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46516 lazy binding.
46517 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46518 undefined symbol errors.
46519
46520 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46521 DT_NEEDED entries.
46522
465232012-04-05 Michael Matz <matz@suse.de>
46524
46525 [BZ #13592]
46526 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46527
465282012-04-05 Andreas Jaeger <aj@suse.de>
46529
46530 [BZ #13908]
46531 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46532 comment.
46533
465342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46535
46536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46537 which ROUND is no valid rounding mode.
46538
465392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46540
46541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46542 read again.
46543 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46544
465452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46546
46547 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46548 an exception using FPU order intentionally.
46549
465502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46551
46552 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46553 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46554 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46555 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46556
465572012-04-05 Simon Josefsson <simon@josefsson.org>
46558
46559 [BZ #12340]
46560 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46561 EINVAL when BUFLEN is too smal.
46562
465632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46564
46565 [BZ #13553]
46566 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46567 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46568
465692012-04-03 Andreas Jaeger <aj@suse.de>
46570
46571 [BZ #13938]
46572 * manual/setjmp.texi (System V contexts): Fix sentence.
46573
46574 [BZ #13926]
46575 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46576 New macro for this case.
46577 [!__GNUC__] (__bswap_64): New inline function for this case.
46578 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46579 * bits/byteswap.h: Likewise.
46580 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46581 ull, guard with __GLIBC_HAVE_LONG_LONG.
46582
46583 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46584 __GLIBC_HAVE_LONG_LONG.
46585
46586 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46587 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46588
465892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46590
46591 [BZ #13691]
46592 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46593 inptr and inend, rather than using last_ch.
46594
465952012-04-02 David S. Miller <davem@davemloft.net>
46596
46597 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46598 * stdio-common/printf-parse.h (read_int): Change return type to
46599 'int', return -1 on INT_MAX overflow.
46600 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46601 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46602 overflows INT_MAX. Check for overflow of in-format-string precision
46603 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46604 SIZE_MAX not INT_MAX for integer overflow test.
46605 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46606 skip the construct in the format string but do not record anything.
46607 * stdio-common/bug22.c: Adjust to test both width/prevision
46608 INT_MAX overflow as well as total length INT_MAX overflow. Check
46609 explicitly for proper errno values.
46610
466112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46612
46613 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46614 CHAR_MAX.
46615 * string/test-strcmp.c [! WIDE]: Likewise.
46616 * time/tst-mktime2.c: Likewise for INT_MAX.
46617 * string/test-string.h: #include <sys/param.h> for MIN.
46618
46619 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46620 * sysdeps/i386/init-first.c (init): Likewise.
46621 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46622 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46623 * sysdeps/sh/init-first.c (init): Likewise.
46624
466252012-04-01 Ulrich Drepper <drepper@gmail.com>
46626
46627 * po/ru.po: Update from translation team.
46628 * po/vi.po: Likewise.
46629
466302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46631
46632 * resolv/nss_dns/dns-host.c: Merge copyright years.
46633
466342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46635
46636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46637 Optimize memcpy with prefetch if
46638 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46639 src, dst pointers have unequal 16 byte alignments.
46640
466412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46642
46643 [BZ #13928]
46644 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46645 from a CNAME entry and return the minimum ttl for the query.
46646 (gaih_getanswer_slice): Likewise.
46647
466482012-03-30 Jeff Law <law@redhat.com>
46649
46650 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46651 due to long keys.
46652 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46653 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46654
46655 * resolv/nss_dns/dns-host.c: Update copyright year.
46656
466572012-03-30 Ulrich Drepper <drepper@gmail.com>
46658
46659 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46660 requests to save a system call. Fix check that all bytes are sent.
46661
46662 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46663 comments for sendmmsg.
46664
466652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46666
46667 [BZ #13691]
46668 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46669 with only 1 character between 0x0041 and 0x01b0.
46670 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46671 * wcsmbs/tst-mbsnrtowcs.c: New file.
46672
466732012-03-29 David S. Miller <davem@davemloft.net>
46674
46675 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46676 small copies by hand.
46677
466782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46679
46680 [BZ #13761]
46681 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46682 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46683 group memberships.
46684
466852012-03-28 David S. Miller <davem@davemloft.net>
46686
46687 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46688 that branches into memcpy.
46689 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46692 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46694 bits.
46695 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46696 implementation too.
46697 * sysdeps/sparc/mempcpy.S: New file.
46698
46699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46700 the IFUNC routine in the libc case.
46701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46702
46703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46705 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46706 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46707 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46708 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46709 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46710 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46711
46712 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46713 loop to 256 bytes instead of 64 bytes and fix test signedness.
46714
46715 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46716 * sysdeps/sparc/sparc32/Makefile: rather than here...
46717 * sysdeps/sparc/sparc64/Makefile: and here.
46718
467192012-03-28 Ulrich Drepper <drepper@gmail.com>
46720
46721 * malloc/mallocbug.c: Avoid warnings about unused variables.
46722
467232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46724
46725 [BZ #13760]
46726 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46727 in the right place. Discard and retry query if response is
46728 larger than input buffer size.
46729
467302012-03-28 Joseph Myers <joseph@codesourcery.com>
46731
46732 [BZ #369]
46733 [BZ #2678]
46734 [BZ #3866]
46735 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46736 x for large integer exponent.
46737 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46738 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46739 sign of result as needed afterwards.
46740 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46742 result for underflowing pow the same as for overflow.
46743 (__kernel_standard_l): Handle powl overflow and underflow here
46744 rather than calling __kernel_standard.
46745 * math/libm-test.inc (pow_test): Add more tests.
46746
46747 [BZ #3868]
46748 [BZ #13879]
46749 [BZ #13910]
46750 [BZ #13911]
46751 [BZ #13912]
46752 [BZ #13913]
46753 [BZ #13915]
46754 [BZ #13916]
46755 [BZ #13917]
46756 [BZ #13918]
46757 [BZ #13919]
46758 [BZ #13920]
46759 [BZ #13921]
46760 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46761 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46762 (__kernel_standard_l): New function.
46763 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46764 __kernel_standard.
46765 * math/w_acosl.c (__acosl): Likewise.
46766 * math/w_asinl.c (__asinl): Likewise.
46767 * math/w_atan2l.c (__atan2l): Likewise.
46768 * math/w_atanhl.c (__atanhl): Likewise.
46769 * math/w_coshl.c (__coshl): Likewise.
46770 * math/w_exp10l.c (__exp10l): Likewise.
46771 * math/w_exp2l.c (__exp2l): Likewise.
46772 * math/w_fmodl.c (__fmodl): Likewise.
46773 * math/w_hypotl.c (__hypotl): Likewise.
46774 * math/w_j0l.c (__j0l, __y0l): Likewise.
46775 * math/w_j1l.c (__j1l, __y1l): Likewise.
46776 * math/w_jnl.c (__jnl, __ynl): Likewise.
46777 * math/w_lgammal.c (__lgammal): Likewise.
46778 * math/w_log10l.c (__log10l): Likewise.
46779 * math/w_log2l.c (__log2l): Likewise.
46780 * math/w_logl.c (__logl): Likewise.
46781 * math/w_powl.c (__powl): Likewise.
46782 * math/w_remainderl.c (__remainderl): Likewise.
46783 * math/w_scalbl.c (sysv_scalbl): Likewise.
46784 * math/w_sinhl.c (__sinhl): Likewise.
46785 * math/w_sqrtl.c (__sqrtl): Likewise.
46786 * math/w_tgammal.c (__tgammal): Likewise.
46787 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46788 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46789 * math/libm-test.inc (acos_test): Add more tests.
46790 (acosh_test): Likewise.
46791 (asin_test): Likewise.
46792 (atanh_test): Likewise.
46793 (exp_test): Likewise.
46794 (exp10_test): Likewise.
46795 (exp2_test): Likewise.
46796 (expm1_test): Likewise.
46797 (lgamma_test): Likewise.
46798 (log_test): Likewise.
46799 (log10_test): Likewise.
46800 (log1p_test): Likewise.
46801 (log2_test): Likewise.
46802 (pow_test): Do not allow some spurious overflow exceptions.
46803 (sqrt_test): Add more tests.
46804 (tgamma_test): Likewise.
46805 (y0_test): Likewise.
46806 (y1_test): Likewise.
46807 (yn_test): Likewise.
46808
468092012-03-27 Anton Blanchard <anton@samba.org>
46810
46811 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46812 MAP_HUGETLB.
46813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46816
468172012-03-27 David S. Miller <davem@davemloft.net>
46818
46819 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46820
46821 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46822 have-as-vis3 check.
46823
468242012-03-27 Andreas Jaeger <aj@suse.de>
46825
46826 * sysdeps/x86_64/elf/configure.in: Moved to ...
46827 * sysdeps/x86_64/configure.in: ... here.
46828 * sysdeps/x86_64/elf/start.S: Moved to ...
46829 * sysdeps/x86_64/start.S: ... here.
46830 * sysdeps/x86_64/elf/configure: Delete.
46831
46832 * sysdeps/x86_64/configure.in: Merge contents from
46833 sysdeps/i386/configure.in (without i686 check).
46834
46835 * sysdeps/i386/elf/Versions: Merge into ...
46836 * sysdeps/i386/Versions: ... this.
46837 * sysdeps/i386/elf/Versions: Delete file.
46838 * sysdeps/i386/elf/start.S: Moved to ...
46839 * sysdeps/i386/start.S: ...here.
46840 * sysdeps/i386/elf/configure.in: Merge into...
46841 * sysdeps/i386/configure.in: ...here.
46842 * sysdeps/i386/elf/configure.in: Delete file.
46843 * sysdeps/i386/elf/configure: Delete file.
46844
46845 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46846 * debug/backtracesyms.c: ... here.
46847 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46848 * debug/backtracesymsfd.c: ... here.
46849 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46850 * sysdeps/generic/ifunc-sel.h: ... here.
46851
46852 * sysdeps/unix/i386/start.c: Delete file.
46853 * sysdeps/unix/sparc/start.c: Delete file.
46854 * sysdeps/unix/start.c: Delete file.
46855
46856 * sysdeps/sh/elf/configure.in: Moved to ...
46857 * sysdeps/sh/configure.in: ... here.
46858 * sysdeps/sh/elf/start.S: Moved to ...
46859 * sysdeps/sh/start.S: ... here.
46860 * sysdeps/sh/elf/configure: Delete file.
46861
46862 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46863 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46864 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46865 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46866 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46867 * sysdeps/powerpc/powerpc64/start.S: here.
46868 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46869 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46870 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46871 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46872 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46873
46874 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46875 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46876 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46877 * sysdeps/powerpc/powerpc32/start.S: ... here.
46878 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46879 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46880 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46881
46882 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46883 * sysdeps/powerpc/ifunc-sel.h: ... here.
46884 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46885 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46886
46887 * sysdeps/sparc/elf/configure.in: Moved to ...
46888 * sysdeps/sparc/configure.in: ... here.
46889 * sysdeps/sparc/elf/configure: Delete file.
46890 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46891 * sysdeps/sparc/sparc32/start.S: ... here.
46892 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46893 * sysdeps/sparc/sparc64/start.S: ... here.
46894 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46895 * sysdeps/sparc/sparc32/Makefile: ... this.
46896 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46897 * sysdeps/sparc/sparc64/Makefile: ... this.
46898
46899 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46900 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46901 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46902 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46903 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46904 * sysdeps/s390/s390-32/setjmp.S: ... here.
46905 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46906 * sysdeps/s390/s390-32/configure.in: ... here.
46907 * sysdeps/s390/s390-32/elf/configure: Delete file.
46908 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46909 * sysdeps/s390/s390-32/start.S: ... here.
46910
46911 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46912 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46913 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46914 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46915 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46916 * sysdeps/s390/s390-64/setjmp.S: ... here.
46917 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46918 * sysdeps/s390/s390-64/configure.in: ... here
46919 * sysdeps/s390/s390-64/elf/configure: Delete file.
46920 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46921 * sysdeps/s390/s390-64/start.S: ... here.
46922 * sysdeps/s390/s390-64/elf/configure: Delete.
46923
46924 * configure.in: Remove support for elf directories in sysdeps.
46925
46926 * configure: Regenerated.
46927 * sysdeps/i386/configure: Regenerated.
46928 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46929 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46930 * sysdeps/s390/s390-32/configure: Regenerated.
46931 * sysdeps/s390/s390-64/configure: Regenerated.
46932 * sysdeps/sh/configure: Regenerated.
46933 * sysdeps/sparc/configure: Regenerated.
46934 * sysdeps/x86_64/configure: Regenerated.
46935
469362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46937
46938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46939
46940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46941 denormal result into account.
46942
469432012-03-25 Roland McGrath <roland@hack.frob.com>
46944
46945 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46946 Reported by Allan McRae <allan@archlinux.org>.
46947
469482012-03-23 Jeff Law <law@redhat.com>
46949
46950 * nss/getnssent.c (__nss_getent): Fix typo.
46951
469522012-03-23 David S. Miller <davem@davemloft.net>
46953
46954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46955
469562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46957
46958 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46959 to pad to uint64_t for each field.
46960 (dl_tls_index): Replace unsigned long with uint64_t.
46961
469622012-03-23 Daniel Jacobowitz <dmj@google.com>
46963 Paul Pluzhnikov <ppluzhnikov@google.com>
46964
46965 [BZ #6528]
46966 * grp/Makefile (otherlibs): Don't set it.
46967 * inet/Makefile (otherlibs): Likewise.
46968 * login/Makefile (otherlibs): Likewise.
46969 * nscd/Makefile (otherlibs): Likewise.
46970 * posix/Makefile (otherlibs): Likewise.
46971 * pwd/Makefile (otherlibs): Likewise.
46972 * rt/Makefile (otherlibs): Likewise.
46973 * sunrpc/Makefile (otherlibs): Likewise.
46974 * nss/Makefile (otherlibs): Likewise.
46975 Add libnss_files to routines and static-only-routines.
46976 ($(objpfx)getent): Remove rule.
46977 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46978 static-only-routines.
46979
469802012-03-22 Joseph Myers <joseph@codesourcery.com>
46981
46982 [BZ #13892]
46983 * math/s_cexp.c: Include <float.h>.
46984 (__cexp): Handle exp result overflowing not necessarily
46985 overflowing both real and imaginary parts of result.
46986 * math/s_cexpf.c: Likewise.
46987 * math/s_cexpl.c: Likewise.
46988 * math/libm-test.inc (cexp_test): Add more tests.
46989 * sysdeps/i386/fpu/libm-test-ulps: Update.
46990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46991
469922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46993
46994 * include/link.h (ELFW): New macro.
46995 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46996 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46997
469982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46999
47000 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47001 with uint64_t.
47002
470032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47004
47005 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47006 declaration.
47007 (struct La_x32_retval): Likewise.
47008
470092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47010
47011 * sysdeps/x86_64/preconfigure.in: New file.
47012 * sysdeps/x86_64/preconfigure: New generated file.
47013
470142012-03-22 Joseph Myers <joseph@codesourcery.com>
47015
47016 [BZ #13824]
47017 * math/e_exp2l.c: Include <float.h>.
47018 (__ieee754_exp2l): Handle overflow and underflow cases
47019 separately. Only pass fractional part of argument to
47020 __ieee754_expl.
47021 * math/libm-test.inc (exp2_test): Add more tests.
47022
47023 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47024 negating x to take absolute value.
47025 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47026 Likewise.
47027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47029 Likewise.
47030 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47031 computing low part if x was negated.
47032 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47033
470342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47035
47036 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47037 la_x32_gnu_pltexit.
47038 (pltexit): Cast int_retval to ptrdiff_t.
47039 * elf/tst-auditmod3b.c: Likewise.
47040 * elf/tst-auditmod4b.c: Likewise.
47041 * elf/tst-auditmod5b.c: Likewise.
47042 * elf/tst-auditmod6b.c: Likewise.
47043 * elf/tst-auditmod6c.c: Likewise.
47044 * elf/tst-auditmod7b.c: Likewise.
47045
47046 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47047 and x32_gnu_pltexit.
47048
47049 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47050 __ELF_NATIVE_CLASS.
47051 (La_x32_regs): New macro.
47052 (La_x32_retval): Likewise.
47053 (la_x32_gnu_pltenter): New function prototype.
47054 (la_x32_gnu_pltexit): Likewise.
47055
470562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47057
47058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47059 exponent.
47060
47061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47062
47063 * configure.in (libc_cv_cc_nofma): Check for option to disable
47064 generation of FMA instructions.
47065 * configure: Regenerate.
47066 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47067 * sysdeps/ieee754/dbl-64/Makefile: New file.
47068 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47069 Remove brandred-fma4.
47070 (CFLAGS-brandred-fma4.c): Remove.
47071 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47073 define.
47074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47075 define.
47076
470772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47078
47079 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47080 LLONG_MAX != LONG_MAX.
47081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47082 (_fitoa_word): Likewise.
47083 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47084 LLONG_MAX != LONG_MAX.
47085 * stdio-common/_itowa.h: Include <_itoa.h>.
47086 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47087 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47088 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47089 only if not defined.
47090 (_ITOA_WORD_TYPE): Likewise.
47091 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47092 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47093
470942012-03-21 David S. Miller <davem@davemloft.net>
47095
47096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47097
470982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47099
47100 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47101 of x86_64 when setting libc_cv_slibdir, libdir and
47102 libc_cv_localedir.
47103 * sysdeps/unix/sysv/linux/configure: Regenerated.
47104
471052012-03-21 Joseph Myers <joseph@codesourcery.com>
47106
47107 * manual/lang.texi (Old Varargs): Remove section.
47108 (How Variadic): Update menu.
47109 (va_start): Do not mention varargs.h.
47110
471112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47112 Joseph Myers <joseph@codesourcery.com>
47113
47114 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47115 link test.
47116 * configure: Regenerated.
47117
471182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47119
47120 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47121 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47122 conformtest.pl
47123
471242012-03-21 Joseph Myers <joseph@codesourcery.com>
47125
47126 * NOTES: Remove.
47127 * Makefile (files-for-dist): Remove NOTES.
47128 (NOTES): Remove rule.
47129 * README: Don't refer to NOTES.
47130 * manual/creature.texi: Don't include macros.texi.
47131 * manual/intro.texi (creature.texi): Remove comment referring to
47132 NOTES.
47133
47134 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47135 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47136 * configure: Regenerated.
47137 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47138 LIBC_TRY_CC_OPTION.
47139 (libc_cv_as_i686): Likewise.
47140 (libc_cv_cc_avx): Likewise.
47141 (libc_cv_cc_sse2avx): Likewise.
47142 (libc_cv_cc_fma4): Likewise.
47143 (libc_cv_cc_novzeroupper): Likewise.
47144 * sysdeps/i386/configure: Regenerated.
47145
47146 [BZ #13883]
47147 * sysdeps/i386/fpu/s_cexp.S: Remove.
47148 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47149 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47150 * math/libm-test.inc (cexp_test): Add more tests.
47151 * sysdeps/i386/fpu/libm-test-ulps: Update.
47152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47153
471542012-03-21 Allan McRae <allan@archlinux.org>
47155
47156 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47157
471582012-03-21 Joseph Myers <joseph@codesourcery.com>
47159
47160 [BZ #13871]
47161 * math/w_exp2.c: Do not include <float.h>.
47162 (o_threshold, u_threshold): Remove.
47163 (__exp2): Calculate result before checking finiteness and calling
47164 __kernel_standard.
47165 * math/w_exp2f.c: Likewise.
47166 * math/w_exp2l.c: Likewise.
47167 * math/libm-test.inc (exp2_test): Require overflow exception for
47168 1e6 input.
47169
47170 [BZ #3866]
47171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47172 range of signed 64-bit integers before using fistpll. Remove
47173 checks for whether integers fit in mantissa bits.
47174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47175 the range of signed 32-bit integers before using fistpl. Remove
47176 checks for whether integers fit in mantissa bits.
47177 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47178 (__ieee754_powl): Test for y outside the range of signed 64-bit
47179 integers before using fistpll. Reduce 64-bit values to 63-bit
47180 ones as needed.
47181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47182 divide-by-zero is raised for zero to large negative powers.
47183 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47184 (__ieee754_powl): Test for y outside the range of signed 64-bit
47185 integers before using fistpll. Reduce 64-bit values to 63-bit
47186 ones as needed.
47187 * math/libm-test.inc (pow_test): Add more tests.
47188
471892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47190
47191 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47192 <stdio-common/_itoa.h>.
47193 * debug/segfault.c: Likewise.
47194 * elf/dl-cache.c: Likewise.
47195 * elf/dl-minimal.c: Likewise.
47196 * elf/dl-misc.c: Likewise.
47197 * elf/dl-sysdep.c: Likewise.
47198 * elf/dl-version.c: Likewise.
47199 * elf/rtld.c: Likewise.
47200 * hurd/hurdsock.c: Likewise.
47201 * hurd/lookup-retry.c: Likewise.
47202 * malloc/malloc.c: Likewise.
47203 * malloc/mtrace.c: Likewise.
47204 * nscd/nscd_getgr_r.c: Likewise.
47205 * nscd/nscd_getpw_r.c: Likewise.
47206 * nscd/nscd_getserv_r.c: Likewise.
47207 * posix/getopt_init.c: Likewise.
47208 * posix/wordexp.c: Likewise.
47209 * stdio-common/_itoa.c: Likewise.
47210 * stdio-common/printf_fphex.c: Likewise.
47211 * stdio-common/vfprintf.c: Likewise.
47212 * string/_strerror.c: Likewise.
47213 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47214 * sysdeps/i386/i686/hp-timing.h: Likewise.
47215 * sysdeps/mach/_strerror.c: Likewise.
47216 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47217 * sysdeps/mach/hurd/sethostid.c: Likewise.
47218 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47219 * sysdeps/mach/xpg-strerror.c: Likewise.
47220 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47221 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47222 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47223 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47224 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47225 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47227 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47228 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47229 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47230 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47231 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47232 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47233 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47234 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47235 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47236 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47237 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47238 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47239 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47240 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47241
47242 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47243
47244 * stdio-common/_itoa.h: Moved to ...
47245 * sysdeps/generic/_itoa.h: Here.
47246
47247 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47248
47249 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47250 instead of "_itoa.h" and "_itowa.h".
47251 * stdio-common/vfprintf.: Likewise.
47252
472532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47254
47255 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47256 <bits/wordsize.h>.
47257 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47258 (__signbit): Likwise.
47259 (llrintf): Likwise.
47260 (llrint): Likwise.
47261
472622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47263
47264 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47265 __WORDSIZE != 64.
47266
472672012-03-20 Joseph Myers <joseph@codesourcery.com>
47268
47269 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47270 OVERFLOW_EXCEPTION_OK.
47271 * math/libm-test.inc ("Philosophy"): Update comment about
47272 exception testing.
47273 (OVERFLOW_EXCEPTION): Define.
47274 (OVERFLOW_EXCEPTION_OK): Likewise.
47275 (INVALID_EXCEPTION_OK): Renumber.
47276 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47277 (IGNORE_ZERO_INF_SIGN): Likewise.
47278 (test_exceptions): Handle FE_OVERFLOW.
47279 (exp10_test): Expect overflow exceptions.
47280 (exp2_test): Likewise.
47281 (expm1_test): Likewise.
47282 (nextafter_test): Likewise.
47283 (pow_test): Likewise.
47284 (scalbn_test): Likewise.
47285 (scalbln_test): Likewise.
47286
472872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47288
47289 * sysdeps/x86_64/bits/atomic.h
47290 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47291 64bit integer.
47292 (atomic_exchange_acq): Likewise.
47293 (__arch_exchange_and_add_body): Likewise.
47294 (__arch_add_body): Likewise.
47295 (atomic_add_negative): Likewise.
47296 (atomic_add_zero): Likewise.
47297
472982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47299
47300 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47301 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47302
473032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47304
47305 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47306 Check __x86_64__ instead of __WORDSIZE.
47307
473082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47309
47310 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47311
473122012-03-19 David S. Miller <davem@davemloft.net>
47313
47314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47315
47316 * sysdeps/sparc/fpu/fenv_private.h: New file.
47317 * sysdeps/sparc/fpu/math_private.h: Use it.
47318 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47319 Remove.
47320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47321 (libc_feholdexcept_setroundl): Remove.
47322 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47323 Remove.
47324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47326
473272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47328
47329 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47330 int64_t instead of long int.
47331 (INSERT_WORDS64): Likwise.
47332
473332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47334
47335 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47336 _Unwind_GetCFA return to _Unwind_Ptr first.
47337
473382012-03-19 Joseph Myers <joseph@codesourcery.com>
47339
47340 [BZ #13629]
47341 * math/s_clog.c: Include <float.h>.
47342 (__clog): Scale large or subnormal inputs.
47343 * math/s_clogf.c: Likewise.
47344 * math/s_clogl.c: Likewise.
47345 * math/s_clog10.c: Include <float.h>.
47346 (M_LOG10_2): Define.
47347 (__clog10): Scale large or subnormal inputs.
47348 * math/s_clog10f.c: Likewise.
47349 * math/s_clog10l.c: Likewise.
47350 * math/libm-test.inc (clog_test): Add more tests.
47351 (clog10_test): Likewise.
47352 * sysdeps/i386/fpu/libm-test-ulps: Update.
47353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47354
47355 [BZ #11451]
47356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47357 x and y.
47358 * math/libm-test.inc (atan2_test): Add another test.
47359
47360 * Makerules (common-objdir-compile): Remove.
47361 * sysdeps/unix/Makefile (config-generated): Do not add
47362 $(unix-generated) to variable.
47363 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47364 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47365 Remove rule.
47366 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47367 Likewise.
47368 [generic bits/local_lim.h] (before-compile): Do not append to
47369 variable.
47370 [generic bits/local_lim.h] (common-generated): Likewise.
47371 [generic sys/param.h] (before-compile): Do not append to variable.
47372 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47373 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47375 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47376 include.
47377 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47378 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47379 [generic sys/param.h] ($(addprefix
47380 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47381 [generic sys/param.h] (common-generated): Do not append to
47382 variable.
47383 [generic sys/param.h] (sysdep_headers): Likewise.
47384 [generic bits/errno.h] (before-compile): Do not append to
47385 variable.
47386 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47387 rule.
47388 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47389 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47390 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47391 [generic bits/errno.h] (common-generated): Do not append to
47392 variable.
47393 [generic bits/ioctls.h] (before-compile): Do not append to
47394 variable.
47395 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47396 rule.
47397 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47398 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47399 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47400 rule.
47401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47402 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47403 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47404 [generic bits/ioctls.h] (common-generated): Do not append to
47405 variable.
47406 [generic sys/syscall.h] (syscall.h): Remove variable.
47407 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47408 rule.
47409 [generic sys/syscall.h] (before-compile): Do not append to
47410 variable.
47411 [generic sys/syscall.h] (common-generated): Likewise.
47412 * sysdeps/unix/errnos-tmpl.c: Remove file.
47413 * sysdeps/unix/errnos.awk: Likewise.
47414 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47415 * sysdeps/unix/ioctls.awk: Likewise.
47416 * sysdeps/unix/mk-local_lim.c: Likewise.
47417 * sysdeps/unix/snarf-ioctls: Likewise.
47418
474192012-03-19 Richard Henderson <rth@twiddle.net>
47420
47421 * sysdeps/i386/fpu/fenv_private.h: New file.
47422 * sysdeps/i386/fpu/math_private.h: Use it.
47423 (math_opt_barrier, math_force_eval): Remove.
47424 (libc_feholdexcept_setround_53bit): Remove.
47425 (libc_feupdateenv_53bit): Remove.
47426 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47427 (math_opt_barrier, math_force_eval): Remove.
47428 (libc_feholdexcept): Remove.
47429 (libc_feholdexcept_setround): Remove.
47430 (libc_fetestexcept, libc_fesetenv): Remove.
47431 (libc_feupdateenv_test): Remove.
47432 (libc_feupdateenv, libc_feholdsetround): Remove.
47433 (libc_feresetround): Remove.
47434
47435 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47436 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47437
47438 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47439 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47440 (libc_feupdateenv_testl): New.
47441 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47442 (libc_feupdateenv_testf): New.
47443 (libc_feupdateenv): Use libc_feupdateenv_test.
47444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47446
47447 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47448 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47449 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47450 (libc_feresetround_noex): New.
47451 (libc_feresetround_noexf): New.
47452 (libc_feresetround_noexl): New.
47453 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47454 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47455 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47457 SET_RESTORE_ROUND.
47458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47460 (__cos): Likewise.
47461 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47462 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47463 SET_RESTORE_ROUND_NOEX.
47464 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47465 SET_RESTORE_ROUND_NOEXF.
47466 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47467 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47468 (libc_feholdsetroundf): New.
47469 (libc_feresetround, libc_feresetroundf): New.
47470
47471 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47472 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47473 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47474
47475 * sysdeps/generic/math_private.h: Include <fenv.h>.
47476 (default_libc_feholdexcept): New.
47477 (default_libc_feholdexcept_setround): New.
47478 (default_libc_fesetenv, default_libc_feupdateenv): New.
47479 (libc_feholdexcept): Only define if undefined.
47480 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47482 (libc_feholdexcept_setroundl): Likewise.
47483 (libc_feholdexcept_setround_53bit): Likewise.
47484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47487 (libc_feupdateenv_53bit): Likewise.
47488 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47489 (libc_feholdexcept): Convert from macro to inline function.
47490 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47491 (libc_fesetenv, libc_feupdateenv): Likewise.
47492
47493 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47494 not previously defined.
47495 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47496 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47497 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47498 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47499 * sysdeps/ieee754/flt-32/math_private.h: New file.
47500 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47501 math_private.h below SET_FLOAT_WORD.
47502 (__isnan, __isinf_ns, __finite): Remove.
47503 (__isnanf, __isinf_nsf, __finitef): Remove.
47504
475052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47506
47507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47508
475092012-03-17 David S. Miller <davem@davemloft.net>
47510
47511 [BZ #6471]
47512 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47513 for 2.16.
47514
475152012-03-16 David S. Miller <davem@davemloft.net>
47516
47517 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47518 warnings.
47519
47520 [BZ #6471]
47521 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47522 properly.
47523 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47524 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47525 sysdep_routines when subdir is sysvipc.
47526 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47527 __getshmlba helper.
47528
47529 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47530
475312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47532
47533 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47534 [__LP64__].
47535
475362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47537
47538 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47539 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47540 (__lround): Renamed to ...
47541 (__llround): This. Replace long int with long long int.
47542 Define lround functions as aliases of llround functions.
47543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47544
475452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47546
47547 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47548 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47549 adresses to uintptr_t. Replace "long int" and "unsigned long
47550 int" with "greg_t" on va_arg.
47551
475522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47553
47554 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47555 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47556
47557 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47558 Move e_machine check before EI_CLASS check. Handle x32
47559 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47560 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47561 SKIP_EM_IA_64 and include
47562 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47563
47564 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47565 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47566 (add_system_dir): New macro.
47567
47568 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47569 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47570
475712012-03-16 Joseph Myers <joseph@codesourcery.com>
47572
47573 [BZ #2551]
47574 [BZ #2552]
47575 [BZ #2553]
47576 [BZ #2554]
47577 [BZ #2562]
47578 [BZ #2563]
47579 [BZ #2565]
47580 [BZ #2566]
47581 [BZ #2576]
47582 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47583 (y0): Likewise.
47584 * math/w_j0f.c (j0f): Likewise.
47585 (y0f): Likewise.
47586 * math/w_j0l.c (__j0l): Likewise.
47587 (__y0l): Likewise.
47588 * math/w_j1.c (j1): Likewise.
47589 (y1): Likewise.
47590 * math/w_j1f.c (j1f): Likewise.
47591 (y1f): Likewise.
47592 * math/w_j1l.c (__j1l): Likewise.
47593 (__y1l): Likewise.
47594 * math/w_jn.c (jn): Likewise.
47595 (yn): Likewise.
47596 * math/w_jnf.c (jnf): Likewise.
47597 (ynf): Likewise.
47598 * math/w_jnl.c (__jnl): Likewise.
47599 (__ynl): Likewise.
47600 * math/libm-test.inc (j0_test): Add more tests.
47601 (j1_test): Likewise.
47602 (jn_test): Likewise. Add trailing semicolon to existing test.
47603 (y0_test): Likewise.
47604 (y1_test): Likewise.
47605 * sysdeps/i386/fpu/libm-test-ulps: Update.
47606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47607
47608 [BZ #13851]
47609 [BZ #13854]
47610 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47611 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47612 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47614 (__tanl): Set errno for infinite argument.
47615 * sysdeps/i386/fpu/mptan.c: Remove.
47616 * sysdeps/i386/fpu/s_tan.S: Likewise.
47617 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47618 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47619 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47620 * math/libm-test.inc (tan_test): Add more tests and enable more
47621 tests for double and long double.
47622 * sysdeps/i386/fpu/libm-test-ulps: Update.
47623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624
476252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47626
47627 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47628 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47629
476302012-03-16 Roland McGrath <roland@hack.frob.com>
47631
47632 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47633 * configure.in: Use it for both main tree and add-ons.
47634 * configure: Regenerated.
47635
476362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47637
47638 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47639
476402012-03-16 Joseph Myers <joseph@codesourcery.com>
47641
47642 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47643 in comment.
47644
47645 [BZ #13851]
47646 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47647 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47648 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47651 infinite argument.
47652 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47654 != 0 for prec == 2.
47655 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47656 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47657 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47658 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47659 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47660 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47661 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47662 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47663 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47664 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47665 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47666 * math/libm-test.inc (cos_test): Add more tests and enable more
47667 tests for long double.
47668 (sin_test): Likewise.
47669 (sincos_test): Likewise.
47670 * sysdeps/i386/fpu/libm-test-ulps: Update.
47671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47672
476732012-03-16 David S. Miller <davem@davemloft.net>
47674
47675 * sysdeps/sparc/fpu/math_private.h: New file.
47676
476772012-03-15 David S. Miller <davem@davemloft.net>
47678
47679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47680 file.
47681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47683 file.
47684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47690 sysdep routines.
47691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47692
47693 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47694 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47695
47696 * sysdeps/sparc/sparc-ifunc.h: New file.
47697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47698 sparc-ifunc.h
47699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47701 Likewise.
47702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47703 Likewise.
47704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47708 Likewise.
47709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47714 Likewise.
47715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47716 Likewise.
47717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47741
477422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47743
47744 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47745 scaling.
47746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47747
477482012-03-15 Andreas Jaeger <aj@suse.de>
47749
47750 [BZ #13852]
47751 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47752 ieee754/flt-32 implementation for sin, cos and sincos.
47753 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47754 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47755 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47756 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47757 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47758 ieee754/flt-32 implementation for tan.
47759
47760 * math/libm-test.inc (cos_test): Enable some large input tests for
47761 float as well
47762 (sin_test): Likewise.
47763 (sincos_test): Likewise.
47764 (tan_test): Add tests for large input.
47765
47766 * sysdeps/i386/fpu/libm-test-ulps: Update.
47767
477682012-03-15 Andreas Jaeger <aj@suse.de>
47769
47770 [BZ #13658]
47771 * math/libm-test.inc (cos_test): Add more test cases.
47772 (sin_test): Likewise.
47773 (sincos_test): Likewise.
47774
477752012-03-15 Andreas Jaeger <aj@suse.de>
47776
47777 [BZ #13837]
47778 * math/libm-test.inc (cos_test): Add a test case for large input
47779 value.
47780 (sin_test): Likewise.
47781 (sincos_test): Likewise.
47782
477832012-03-15 Andreas Jaeger <aj@suse.de>
47784 Joseph Myers <joseph@codesourcery.com>
47785
47786 [BZ #13658]
47787 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47788 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47789 * sysdeps/i386/fpu/branred.c: Likewise.
47790 * sysdeps/i386/fpu/dosincos.c: Likewise.
47791 * sysdeps/i386/fpu/mpa.c: Likewise.
47792 * sysdeps/i386/fpu/s_cos.S: Likewise.
47793 * sysdeps/i386/fpu/s_sin.S: Likewise.
47794 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47795 * sysdeps/i386/fpu/sincos32.c: Likewise.
47796
47797 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47798 Define.
47799 (libc_feupdateenv_53bit): Define.
47800 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47801 Define.
47802 (libc_feupdateenv_53bit): Define.
47803
47804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47805 53 bit (without extend i386 double precision).
47806
47807 * math/libm-test.inc (sincos_test): Add tests for large input.
47808 (sin): Likewise.
47809 (cos): Likewise.
47810
47811 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47812
478132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47814
47815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47816
478172012-03-15 David S. Miller <davem@davemloft.net>
47818
47819 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47820 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47821 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47822 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47835 file.
47836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47838 file.
47839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47841 file.
47842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47844 file.
47845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47847 fmin/fmax sysdep routines.
47848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47849
478502012-03-14 David S. Miller <davem@davemloft.net>
47851
47852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47881 routines.
47882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47883 file.
47884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47886 file.
47887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47889 file.
47890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47892 file.
47893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47895 file.
47896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47898 file.
47899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47900 file.
47901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47902 file.
47903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47904 file.
47905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47906 New file.
47907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47908 file.
47909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47910 file.
47911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47913 file.
47914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47916 file.
47917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47919 file.
47920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47922 VIS3 routines.
47923
47924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47925 New file.
47926
47927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47928
47929 * sysdeps/sparc/configure.in: New file.
47930 * sysdeps/sparc/configure: Generate.
47931 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47932 * configure: Regenerate.
47933 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47934 * config.make.in (have-as-vis3): New.
47935 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47936 available use -Av9d instead of -Av9a.
47937 * sysdeps/sparc/sparc64/Makefile: Likewise.
47938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47940 New file.
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47942 file.
47943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47944 New file.
47945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47946 file.
47947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47952
47953 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47954 fzeros/fnegs to load 0x80000000 into a float register instead of
47955 using the stack.
47956 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47957
479582012-03-14 Joseph Myers <joseph@codesourcery.com>
47959
47960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47961 bits/syscall.h.
47962 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47963 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47964 ($(inst_includedir)/bits/syscall.h): Remove rule.
47965 ($(objpfx)bits/syscall.d): Include instead of
47966 $(objpfx)syscall-list.d.
47967 (generated): Change syscall-list.h and syscall-list.d to
47968 bits/syscall.h and bits/syscall.d.
47969
479702012-03-14 Roland McGrath <roland@hack.frob.com>
47971
47972 [BZ #13846]
47973 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47974
479752012-03-14 Joseph Myers <joseph@codesourcery.com>
47976
47977 [BZ #13841]
47978 * math/s_csqrt.c: Include <float.h>.
47979 (__csqrt): Scale large or subnormal inputs.
47980 * math/s_csqrtf.c: Likewise.
47981 * math/s_csqrtl.c: Likewise.
47982 * math/libm-test.inc (csqrt_test): Add more tests.
47983 * sysdeps/i386/fpu/libm-test-ulps: Update.
47984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47985
47986 [BZ #13840]
47987 * math/libm-test.inc (hypot_test): Add more tests.
47988
479892012-03-13 David S. Miller <davem@davemloft.net>
47990
47991 [BZ #13840]
47992 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47993 double-precision for the calculation instead of scaling.
47994
479952012-03-13 Joseph Myers <joseph@codesourcery.com>
47996
47997 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47998 manipulate bits before adding and subtracting TWO52[sx].
47999 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48001 Likewise.
48002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48003
480042012-03-13 David S. Miller <davem@davemloft.net>
48005
48006 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48007 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48009 rtld-global-offsets.h
48010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48011
48012 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48013 large parameters.
48014
48015 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48016
48017 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48018 'err' in the ifdef scope in which it is actually used.
48019
48020 * nss/nss_db/db-init.c: Include string.h
48021
480222012-03-12 David S. Miller <davem@davemloft.net>
48023
48024 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48025 masking out of the most significant byte of random value used.
48026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48027 Fix coding style in previous change.
48028
48029 * sysdeps/unix/sysv/linux/kernel-features.h
48030 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48031 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48032 expression.
48033 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48034 later.
48035
480362012-03-11 David S. Miller <davem@davemloft.net>
48037
48038 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48039 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48041 for 'resultvar' otherwise things get truncated on 64-bit.
48042
48043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48044 Fix masking out of the most significant byte of random value used.
48045
48046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48047
480482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48049
48050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48051
480522012-03-09 David S. Miller <davem@davemloft.net>
48053
48054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48055 variables with appropriate CPP guards.
48056 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48057 from the frame pointer, not the stack pointer. Correct layout
48058 comments. Fix test on resulting framesize and the management of
48059 the outregs buffer for pltexit. Preserve floating point return
48060 values across _dl_call_pltexit call.
48061 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48062 framesize and the management of the outregs buffer for pltexit.
48063 Preserve floating point return values across _dl_call_pltexit
48064 call.
48065 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48066 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48067 (la_sparc64_gnu_pltexit): New functions.
48068 (print_exit): Fix format string for return register value.
48069
480702012-03-10 Joseph Myers <joseph@codesourcery.com>
48071
48072 * sunrpc/Makefile (others): Add rpcgen.
48073 ($(objpfx)rpcgen): Remove special build rule and dependency on
48074 libc.
48075 * sunrpc/rpcgen.c: New file.
48076
480772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48078
48079 [BZ #13673]
48080 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48081 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48082 * sysdeps/i386/crti.S: Likewise.
48083 * sysdeps/i386/crtn.S: Likewise.
48084 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48085 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48086 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48087 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48088 * sysdeps/sh/crti.S: Likewise.
48089 * sysdeps/sh/crtn.S: Likewise.
48090 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48091
48092 [BZ #13673]
48093 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48094 with URL.
48095 * locale/programs/locfile-kw.gperf: Likewise.
48096 * locale/programs/charmap-kw.h: Regenerated.
48097 * locale/programs/locfile-kw.h: Likewise.
48098
48099 [BZ #13673]
48100 * intl/plural.y: Replace FSF snail mail address with URL.
48101 * intl/plural.c: Regenerated.
48102
481032012-03-09 Richard Henderson <rth@twiddle.net>
48104
48105 * include/math_private.h: Remove file.
48106 * math/math_private.h: Move file ...
48107 * sysdeps/generic/math_private.h: ... here.
48108
48109 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48110 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48111 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48112
48113 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48114 and <math_private.h>.
48115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48120 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48121 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48123 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48124 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48130 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48131 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48132 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48133 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48134 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48136 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48137 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48147 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48148 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48152 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48153 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48155 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48156 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48161 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48165 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48167 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48180 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48182 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48189 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48193 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48195 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48202 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48203 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48206 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48209 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48219 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48220 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48222 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48227 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48229 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48238 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48242 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48243 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48244 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48245 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48246 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48248 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48249 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48250 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48251 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48253 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48257 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48258 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48259 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48260 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48261 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48262 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48263 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48264 * sysdeps/ieee754/k_standard.c: Likewise.
48265 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48268 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48269 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48271 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48282 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48287 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48288 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48290 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48292 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48307 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48321 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48342 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48352 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48358 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48364 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48382 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48386 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48387 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48388 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48398 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48399 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48402 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48403 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48404 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48405 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48406 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48408 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48414 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48415 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48422 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48425 * sysdeps/ieee754/s_lib_version.c: Likewise.
48426 * sysdeps/ieee754/s_matherr.c: Likewise.
48427 * sysdeps/ieee754/s_signgam.c: Likewise.
48428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48430 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48431 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48432 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48434 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48435 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48436 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48437 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48438 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48439 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48440 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48442 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48449
484502012-03-09 Joseph Myers <joseph@codesourcery.com>
48451
48452 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48453 * sunrpc/rpc_main.c: Likewise.
48454 * sunrpc/rpc_svcout.c: Likewise.
48455
484562012-03-09 David S. Miller <davem@davemloft.net>
48457
48458 * include/math_private.h: New file.
48459
484602012-03-09 Joseph Myers <joseph@codesourcery.com>
48461
48462 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48463 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48464 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48465 from <bits/socket_type.h>.
48466 (enum __socket_type): Don't define here.
48467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48469 bits/socket_type.h.
48470
48471 [BZ #13566]
48472 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48473 checking __USE_GNU.
48474
48475 * Makerules ($(inst_includedir)/%.h): New rule.
48476 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48477 (install-others): Remove variable setting.
48478 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48479
484802012-03-08 Richard Henderson <rth@twiddle.net>
48481
48482 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48483 from macro to inline function; merge with the
48484 !__LIBC_INTERNAL_MATH_INLINES version.
48485 (__ieee754_sqrtf): Likewise.
48486
48487 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48488 to inline function.
48489 (__rintf, __floor, __floorf): Likewise.
48490
48491 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48492 macro to inline function.
48493 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48494
48495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48496 not <math/math_private.h>.
48497
484982012-03-08 David S. Miller <davem@davemloft.net>
48499
48500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48501 copyright year.
48502 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48503
485042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48505
48506 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48507 normalization.
48508 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48509 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48510
485112012-03-08 Ulrich Drepper <drepper@gmail.com>
48512
48513 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48514 be defined individually, they must be defined as a block. Define
48515 S for printing a string instead of hidint the different by using a
48516 macro for adding the 'l'.
48517 * stdio-common/tst-fphex-wide.c: Adjust.
48518
485192012-03-07 Marek Polacek <polacek@redhat.com>
48520
48521 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48522
485232012-03-08 Marek Polacek <polacek@redhat.com>
48524
48525 [BZ #13806]
48526 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48527 * stdio-common/tst-fphex.c: Define a few macros to make the
48528 test reusable. Use them.
48529 * stdio-common/tst-fphex-wide.c: New file.
48530
485312012-03-08 Joseph Myers <joseph@codesourcery.com>
48532
48533 [BZ #6911]
48534 * manual/macros.texi (gnusystems): New macro.
48535 (nongnusystems): Likewise.
48536 (gnulinuxhurdsystems): Likewise.
48537 (gnuhurdsystems): Likewise..
48538 (gnulinuxsystems): Likewise.
48539 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48540 variants of the GNU system, not "GNU system".
48541 * manual/conf.texi: Likewise.
48542 * manual/errno.texi: Likewise. Update example of errno macro
48543 expansion.
48544 * manual/filesys.texi: Likewise.
48545 (getumask): Document as specific to GNU/Hurd.
48546 * manual/install.texi: Likewise. Reword some references to
48547 GNU/Linux.
48548 * manual/intro.texi: Likewise.
48549 * manual/io.texi: Likewise.
48550 (File Name Portability): Detail which constraints are inapplicable
48551 to all GNU systems and which are only inapplicable to GNU/Hurd.
48552 * manual/job.texi: Likewise.
48553 * manual/llio.texi: Likewise.
48554 (O_NOCTTY): Document as present on GNU/Linux.
48555 * manual/maint.texi: Likewise.
48556 * manual/memory.texi: Likewise.
48557 * manual/pattern.texi: Likewise.
48558 * manual/pipe.texi: Likewise.
48559 * manual/process.texi: Likewise.
48560 * manual/resource.texi: Likewise.
48561 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48562 child on GNU/Hurd.
48563 * manual/setjmp.texi: Likewise.
48564 * manual/signal.texi: Likewise.
48565 * manual/startup.texi: Likewise.
48566 * manual/stdio.texi: Likewise.
48567 * manual/terminal.texi: Likewise.
48568 (ONLCR): Document as POSIX.
48569 (OXTABS): Document availability on GNU/Linux as XTABS.
48570 (ONOEOT): Document availability separately from other bits.
48571 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48572 * manual/time.texi: Likewise.
48573 * manual/users.texi: Likewise.
48574 * INSTALL: Regenerated.
48575 * sysdeps/gnu/errlist.c: Regenerated.
48576
48577 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48578 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48579 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48580 puts.
48581 * configure: Regenerated.
48582
485832012-03-07 Joseph Myers <joseph@codesourcery.com>
48584
48585 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48586 default includes instead of AC_HEADER_CHECK.
48587 * sysdeps/i386/configure: Regenerated.
48588
48589 [BZ #10716]
48590 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48591 * math/s_cacoshf.c (__cacoshf): Likewise.
48592 * math/s_cacoshl.c (__cacoshl): Likewise.
48593 * math/s_casinh.c (__casinh): Set signs of result from argument.
48594 * math/s_casinhf.c (__casinhf): Likewise.
48595 * math/s_casinhl.c (__casinhl): Likewise.
48596 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48597 (casinh_test): Add more tests.
48598 * sysdeps/i386/fpu/libm-test-ulps: Update.
48599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48600
486012012-03-07 Ulrich Drepper <drepper@gmail.com>
48602
48603 * po/zh_TW.po: Update from translation team.
48604
48605 * login/Makefile (distribute): Remove variable.
48606 * catgets/Makefile: Likewise.
48607 * mach/Makefile: Likewise.
48608 * malloc/Makefile: Likewise.
48609 * misc/Makefile: Likewise.
48610 * iconv/Makefile: Likewise.
48611 * nscd/Makefile: Likewise.
48612 * hurd/Makefile: Likewise.
48613 * manual/Makefile: Likewise.
48614 * locale/Makefile: Likewise.
48615 * intl/Makefile: Likewise.
48616 * conform/Makefile: Likewise.
48617 * nss/Makefile: Likewise.
48618 * time/Makefile: Likewise.
48619 * soft-fp/Makefile: Likewise.
48620 * dirent/Makefile: Likewise.
48621 * gmon/Makefile: Likewise.
48622 * po/Makefile: Likewise.
48623 * rt/Makefile: Likewise.
48624 * socket/Makefile: Likewise.
48625 * math/Makefile: Likewise.
48626 * signal/Makefile: Likewise.
48627 * debug/Makefile: Likewise.
48628 * elf/Makefile: Likewise.
48629 * timezone/Makefile: Likewise.
48630 * stdlib/Makefile: Likewise.
48631 * iconvdata/Makefile: Likewise.
48632 * sunrpc/Makefile: Likewise.
48633 * io/Makefile: Likewise.
48634 * argp/Makefile: Likewise.
48635 * inet/Makefile: Likewise.
48636 * hesiod/Makefile: Likewise.
48637 * grp/Makefile: Likewise.
48638 * csu/Makefile: Likewise.
48639 * wctype/Makefile: Likewise.
48640 * crypt/Makefile: Likewise.
48641 * libio/Makefile: Likewise.
48642 * string/Makefile: Likewise.
48643 * nis/Makefile: Likewise.
48644 * resolv/Makefile: Likewise.
48645 * stdio-common/Makefile: Likewise.
48646 * wcsmbs/Makefile: Likewise.
48647 * dlfcn/Makefile: Likewise.
48648 * posix/Makefile: Likewise.
48649
48650 [BZ #6959]
48651 * timezone/Makefile: Don't install timezone files, just the programs
48652 and scripts.
48653
486542012-03-06 Ulrich Drepper <drepper@gmail.com>
48655
48656 * nss/databases.def: Add missing gshadow entry.
48657
48658 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48659
486602012-03-06 Marek Polacek <polacek@redhat.com>
48661
48662 [BZ #13726]
48663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48665 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48666 * stdio-common/tst-long-dbl-fphex.c: New file.
48667
486682012-03-06 David S. Miller <davem@davemloft.net>
48669
48670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48671 (set_obp_int): New function.
48672 (get_obp_int): New function.
48673 (__get_clockfreq_via_dev_openprom): Likewise.
48674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48675 Avoid unused variable warnings on 'val' and use builtin_expect.
48676 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48677 __builtin_expect.
48678 (INLINE_CLONE_SYSCALL): Likewise.
48679
486802012-03-05 David S. Miller <davem@davemloft.net>
48681
48682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48683
486842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48685
48686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48687
48688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48689 only for |x| >= 40.
48690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48691
486922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48693
48694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48695 Replace gettimeofday with __vdso_gettimeofday.
48696
48697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48698 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48699 __vdso_clock_gettime and __vdso_getcpu.
48700
48701 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48702 time with __vdso_time.
48703
487042012-03-05 Joseph Myers <joseph@codesourcery.com>
48705
48706 * manual/lang.texi (size_t): Note types to which size_t may be
48707 equivalent with the GNU C Library, but do not describe when
48708 differences between them are significant.
48709
487102012-03-05 Andreas Jaeger <aj@suse.de>
48711
48712 * sysdeps/i386/fpu/libm-test-ulps: Update.
48713
487142012-03-05 Joseph Myers <joseph@codesourcery.com>
48715
48716 [BZ #3976]
48717 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48718 (__ieee754_pow): Save and restore rounding mode and use
48719 round-to-nearest for main computations.
48720 * math/libm-test.inc (pow_test_tonearest): New function.
48721 (pow_test_towardzero): Likewise.
48722 (pow_test_downward): Likewise.
48723 (pow_test_upward): Likewise.
48724 (main): Call the new functions.
48725 * sysdeps/i386/fpu/libm-test-ulps: Update.
48726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48727
48728 [BZ #3976]
48729 * math/libm-test.inc (cosh_test_tonearest): New function.
48730 (cosh_test_towardzero): Likewise.
48731 (cosh_test_downward): Likewise.
48732 (cosh_test_upward): Likewise.
48733 (sinh_test_tonearest): Likewise.
48734 (sinh_test_towardzero): Likewise.
48735 (sinh_test_downward): Likewise.
48736 (sinh_test_upward): Likewise.
48737 (main): Call the new functions.
48738 * sysdeps/i386/fpu/libm-test-ulps: Update.
48739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48740
487412012-03-05 Tom de Vries <tom@codesourcery.com>
48742
48743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48744 default stack guard is set in last bytes.
48745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48746
487472012-03-05 Kees Cook <keescook@chromium.org>
48748
48749 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48750
48751 [BZ #13656]
48752 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48753 possibly allocate from heap instead of stack.
48754 * stdio-common/bug-vfprintf-nargs.c: New file.
48755 * stdio-common/Makefile (tests): Add nargs overflow test.
48756
487572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48758
48759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48760
487612012-03-03 Marek Polacek <polacek@redhat.com>
48762
48763 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48764 * math/math_private.h: Likewise.
48765 * stdlib/tst-strtod.c: Likewise.
48766 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48767 * sysdeps/x86_64/bits/atomic.h: Likewise.
48768
487692012-03-02 David S. Miller <davem@davemloft.net>
48770
48771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48775 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48776 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48779
487802012-03-02 Roland McGrath <roland@hack.frob.com>
48781
48782 [BZ #13792]
48783 * manual/examples/README: New file, says the example source files
48784 can be used under GPL>=2.
48785 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48786 line containing just "*/".
48787 * manual/examples/add.c: Add copyright header (GPL>=2).
48788 * manual/examples/argp-ex1.c: Likewise.
48789 * manual/examples/argp-ex2.c: Likewise.
48790 * manual/examples/argp-ex3.c: Likewise.
48791 * manual/examples/argp-ex4.c: Likewise.
48792 * manual/examples/atexit.c: Likewise.
48793 * manual/examples/db.c: Likewise.
48794 * manual/examples/dir.c: Likewise.
48795 * manual/examples/dir2.c: Likewise.
48796 * manual/examples/execinfo.c: Likewise.
48797 * manual/examples/filecli.c: Likewise.
48798 * manual/examples/filesrv.c: Likewise.
48799 * manual/examples/fmtmsgexpl.c: Likewise.
48800 * manual/examples/genpass.c: Likewise.
48801 * manual/examples/inetcli.c: Likewise.
48802 * manual/examples/inetsrv.c: Likewise.
48803 * manual/examples/isockad.c: Likewise.
48804 * manual/examples/longopt.c: Likewise.
48805 * manual/examples/memopen.c: Likewise.
48806 * manual/examples/memstrm.c: Likewise.
48807 * manual/examples/mkfsock.c: Likewise.
48808 * manual/examples/mkisock.c: Likewise.
48809 * manual/examples/mygetpass.c: Likewise.
48810 * manual/examples/pipe.c: Likewise.
48811 * manual/examples/popen.c: Likewise.
48812 * manual/examples/rprintf.c: Likewise.
48813 * manual/examples/search.c: Likewise.
48814 * manual/examples/select.c: Likewise.
48815 * manual/examples/setjmp.c: Likewise.
48816 * manual/examples/sigh1.c: Likewise.
48817 * manual/examples/sigusr.c: Likewise.
48818 * manual/examples/stpcpy.c: Likewise.
48819 * manual/examples/strdupa.c: Likewise.
48820 * manual/examples/strftim.c: Likewise.
48821 * manual/examples/strncat.c: Likewise.
48822 * manual/examples/subopt.c: Likewise.
48823 * manual/examples/swapcontext.c: Likewise.
48824 * manual/examples/termios.c: Likewise.
48825 * manual/examples/testopt.c: Likewise.
48826 * manual/examples/testpass.c: Likewise.
48827 * manual/examples/timeval_subtract.c: Likewise.
48828
48829 [BZ #13792]
48830 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48831 function to ...
48832 * manual/timeval_subtract.c.texi: ... here, new file.
48833
488342012-03-02 David S. Miller <davem@davemloft.net>
48835
48836 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48837
488382012-03-02 Joseph Myers <joseph@codesourcery.com>
48839
48840 [BZ #3976]
48841 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48842 (__sin): Save and restore rounding mode and use round-to-nearest
48843 for all computations.
48844 (__cos): Save and restore rounding mode and use round-to-nearest
48845 for all computations.
48846 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48847 <fenv.h>.
48848 (tan): Save and restore rounding mode and use round-to-nearest for
48849 all computations.
48850 * math/libm-test.inc (cos_test_tonearest): New function.
48851 (cos_test_towardzero): Likewise.
48852 (cos_test_downward): Likewise.
48853 (cos_test_upward): Likewise.
48854 (sin_test_tonearest): Likewise.
48855 (sin_test_towardzero): Likewise.
48856 (sin_test_downward): Likewise.
48857 (sin_test_upward): Likewise.
48858 (tan_test_tonearest): Likewise.
48859 (tan_test_towardzero): Likewise.
48860 (tan_test_downward): Likewise.
48861 (tan_test_upward): Likewise.
48862 (main): Call the new functions.
48863 * sysdeps/i386/fpu/libm-test-ulps: Update.
48864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48865
48866 [BZ #10135]
48867 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48868 small n, then large n, before computing and testing k+n.
48869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48871 Likewise.
48872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48873 Likewise.
48874 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48875 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48882 * math/libm-test.inc (scalbn_test): Add more tests.
48883 (scalbln_test): Likewise.
48884
48885 * manual/filesys.texi (mode_t): Describe constraints on size and
48886 signedness, not exact equivalence to a particular type.
48887 (ino_t): Likewise.
48888 (ino64_t): Likewise.
48889 (dev_t): Likewise.
48890 (nlink_t): Likewise.
48891 (blkcnt_t): Likewise.
48892 (blkcnt64_t): Likewise.
48893 * manual/llio.texi (off_t): Likewise.
48894
48895 [BZ #3976]
48896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48897 (__ieee754_exp): Save and restore rounding mode and use
48898 round-to-nearest for all computations.
48899 * math/libm-test.inc (exp_test_tonearest): New function.
48900 (exp_test_towardzero): Likewise.
48901 (exp_test_downward): Likewise.
48902 (exp_test_upward): Likewise.
48903 (main): Call the new functions.
48904 * sysdeps/i386/fpu/libm-test-ulps: Update.
48905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48906
489072012-03-01 Chris Demetriou <cgd@google.com>
48908
48909 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48910 have predictable order.
48911
489122012-03-01 David S. Miller <davem@davemloft.net>
48913
48914 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48915
48916 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48917 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48918 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48919 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48920
48921 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48922 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48923 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48925 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48926 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48927 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48928 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48929 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48930
48931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48932
48933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48934 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48936
48937 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48953 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48954 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48955 * sysdeps/sparc/elf/configure: Regenerated.
48956
489572012-03-01 Joseph Myers <joseph@codesourcery.com>
48958
48959 * configure.in (AS, LD): Require binutils 2.20 or later.
48960 * configure: Regenerated.
48961 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48962 as required minimum version.
48963 * INSTALL: Regenerated.
48964
48965 [BZ #2541]
48966 [BZ #4108]
48967 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48968 before squaring exponent.
48969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48970 bottom long double and 27 bits of top long double before squaring
48971 exponent.
48972 * math/libm-test.inc (erfc_test): Add more tests.
48973 * sysdeps/i386/fpu/libm-test-ulps: Update.
48974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48976
489772012-03-01 Kai Tietz <ktietz@redhat.com>
48978
48979 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48980 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48981 containing bit-fields.
48982 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48983 * soft-fp/single.h (_FP_UNION_S): Likewise.
48984 * soft-fp/double.h (_FP_UNION_D): Likewise.
48985
489862012-02-29 Joseph Myers <joseph@codesourcery.com>
48987
48988 [BZ #13786]
48989 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48990 not include ../strcmp.S.
48991 [USE_AS_STRNCASECMP_L]: Likewise.
48992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48993 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48994 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48995 (__strncasecmp_l_ia32): Define as alias to
48996 __strncasecmp_l_nonascii.
48997
48998 [BZ #5794]
48999 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49000 * sysdeps/i386/fpu/libm-test-ulps: Update.
49001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49002
49003 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49005
490062012-02-29 Jeff Law <law@redhat.com>
49007
49008 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49009 out of bounds read.
49010
490112012-02-29 Marek Polacek <polacek@redhat.com>
49012
49013 [BZ #13706]
49014 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49015 * elf/Makefile: Add rules to run tst-unused-dep.out.
49016
490172012-02-28 David S. Miller <davem@davemloft.net>
49018
49019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49023 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49024 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49025
490262012-02-29 Joseph Myers <joseph@codesourcery.com>
49027
49028 * math/libm-test.inc (llround_test): Move one test from
49029 lround_test. Use TEST_f_L in moved test.
49030 (lround_test): Move misplaced test to llround_test. Add testcase
49031 from bug 2561.
49032
490332012-02-28 Ulrich Drepper <drepper@gmail.com>
49034
49035 * sysdeps/x86_64/fpu/e_expf.S: New file.
49036 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49037
490382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49039
49040 [BZ #13637]
49041 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49042 of remain_len that may cause incomplete multi-byte character and
49043 false match.
49044 * posix/bug-regex33.c: New file.
49045 * posix/Makefile (tests): Add bug-regex33.
49046
490472012-02-28 Joseph Myers <joseph@codesourcery.com>
49048
49049 * manual/macros.texi: New file.
49050 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49051 * manual/libc.texinfo: Include macros.texi.
49052 * manual/creatute.texi: Likewise.
49053 * manual/install.texi: Likewise.
49054 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49055 @glibcadj{} in references to the GNU C Library.
49056 * manual/charset.texi: Likewise.
49057 * manual/conf.texi: Likewise.
49058 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49059 when not using those macros.
49060 * manual/creature.texi: Likewise.
49061 * manual/crypt.texi: Likewise.
49062 * manual/errno.texi: Likewise.
49063 * manual/filesys.texi: Likewise.
49064 * manual/header.texi: Likewise.
49065 * manual/install.texi: Likewise.
49066 * manual/intro.texi: Likewise.
49067 * manual/io.texi: Likewise.
49068 * manual/job.texi: Likewise.
49069 * manual/lang.texi: Likewise.
49070 * manual/libc.texiinfo: Likewise.
49071 * manual/llio.texi: Likewise.
49072 * manual/locale.texi: Likewise.
49073 * manual/maint.texi: Likewise.
49074 * manual/math.texi: Likewise.
49075 * manual/memory.texi: Likewise.
49076 * manual/message.texi: Likewise.
49077 * manual/nss.texi: Likewise.
49078 * manual/pattern.texi: Likewise.
49079 * manual/process.texi: Likewise.
49080 * manual/resource.texi: Likewise.
49081 * manual/search.texi: Likewise.
49082 * manual/setjmp.texi: Likewise.
49083 * manual/signal.texi: Likewise.
49084 * manual/socket.texi: Likewise.
49085 * manual/startup.texi: Likewise.
49086 * manual/stdio.texi: Likewise.
49087 * manual/string.texi: Likewise.
49088 * manual/sysinfo.texi: Likewise.
49089 * manual/syslog.texi: Likewise.
49090 * manual/terminal.texi: Likewise.
49091 * manual/time.texi: Likewise.
49092 * manual/users.texi: Likewise.
49093 * INSTALL: Regenerated.
49094 * NOTES: Regenerated.
49095 * sysdeps/gnu/errlist.c: Regenerated.
49096
490972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49098
49099 * include/dirent.h: Include <dirstream.h> before
49100 <dirent/dirent.h>.
49101
491022012-02-28 David S. Miller <davem@davemloft.net>
49103
49104 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49105 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49106 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49108
491092012-02-27 David S. Miller <davem@davemloft.net>
49110
49111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49113 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49114 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49115
49116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49117 frame pointer instead of stack pointer relative arg slot.
49118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49121
491222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49123
49124 [BZ #3992]
49125 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49126
491272012-02-27 David S. Miller <davem@davemloft.net>
49128
49129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49137
491382012-02-27 Joseph Myers <joseph@codesourcery.com>
49139
49140 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49141 later. Allow versions 5-9.
49142 * configure: Regenerated.
49143 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49144 required minimum version and 4.6 as recommended version. Do not
49145 mention bugs in GCC 2.7 and 2.8.
49146 * INSTALL: Regenerated.
49147
491482012-02-27 David S. Miller <davem@davemloft.net>
49149
49150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49156 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49158
49159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49160 manipulate bits before adding and subtracting TWO112[sx].
49161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49162
491632012-02-27 Roland McGrath <roland@hack.frob.com>
49164
49165 [BZ #13775]
49166 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49167 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49168 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49169 being in POSIX, because they are in 1003.1-2008.
49170
49171 * rt/tst-aio.c: Include <fcntl.h>.
49172 * rt/tst-aio7.c: Likewise.
49173 * rt/tst-aio64.c: Likewise.
49174
49175 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49176
491772012-02-27 Joseph Myers <joseph@codesourcery.com>
49178
49179 * manual/install.texi (--with-headers): Describe headers as
49180 interface headers, not private headers.
49181 (Specific advice for GNU/Linux systems): Describe use of headers
49182 from "make headers_install", not private headers from older
49183 kernels.
49184 * INSTALL: Regenerated.
49185 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49186 Change to 2.6.19.
49187 * sysdeps/unix/sysv/linux/configure: Regenerated.
49188
49189 * manual/llio.texi (fclean): Remove documentation.
49190
49191 * manual/Makefile (libc-texi-generated): New variable. Include
49192 version.texi.
49193 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49194 $(libc-texi-generated), not duplicated list of files.
49195 (version.texi, stamp-version): New rules.
49196 (realclean): Remove $(libc-texi-generated), not individual files
49197 from that list. Do not remove dir-add.texinfo.
49198 * manual/libc.texinfo: Comment out uses of edition numbers and
49199 references to printed manual. Remove last-updated dates.
49200 (EDITION): Comment out.
49201 (ISBN): Likewise.
49202 (VERSION, UPDATED): Remove.
49203 (version.texi): Include.
49204
492052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49206
49207 * sysdeps/posix/spawni.c: Include <signal.h>.
49208 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49209 * sysdeps/pthread/aio_fsync.c: Likewise.
49210
492112012-02-26 Ulrich Drepper <drepper@gmail.com>
49212
49213 * conform/Makefile (tests): Run only when not cross-compiling and
49214 when fast-check is not defined.
49215
49216 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49217 * conform/data/limits.h-data: Fixes for POSIX2008.
49218 * conform/run-conformtest.sh: Run all tests.
49219 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49220 headers.
49221 * include/bits/dlfcn.h: Likewise.
49222 * include/langinfo.h: Likewise.
49223 * include/monetary.h: Likewise.
49224 * include/sys/poll.h: Likewise.
49225
49226 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49227 for __USE_GNU.
49228 * posix/spawn.h: Define __need_sigset_t.
49229 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49230 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49231 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49232 to get sigevent_t only.
49233 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49234 only for __USE_GNU.
49235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49237 process_vm_writev only for __USE_GNU.
49238 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49239
49240 * conform/Makefile: For now ignore errors from run-conformtest.
49241 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49242 POSIX to avoid namespace pollution. Don't prepend headers.
49243 * conform/data/aio.h-data: Fixes for POSIX testing.
49244 * conform/data/fcntl.h-data: Likewise.
49245 * conform/data/glob.h-data: Likewise.
49246 * conform/data/grp.h-data: Likewise.
49247 * conform/data/pthread.h-data: Likewise.
49248 * conform/data/pwd.h-data: Likewise.
49249 * conform/data/signal.h-data: Likewise.
49250 * conform/data/spawn.h-data: Likewise.
49251 * conform/data/stdio.h-data: Likewise.
49252 * conform/data/stdlib.h-data: Likewise.
49253 * conform/data/stropts.h-data: Likewise.
49254 * conform/data/sys/mman.h-data: Likewise.
49255 * conform/data/sys/stat.h-data: Likewise.
49256 * conform/data/sys/types.h-data: Likewise.
49257 * conform/data/sys/wait.h-data: Likewise.
49258 * conform/data/time.h-data: Likewise.
49259 * conform/data/unistd.h-data: Likewise.
49260 * conform/data/utime.h-data: Likewise.
49261
49262 * io/sys/stat.h: fchmod was always in POSIX.
49263 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49264 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49265 * rt/aio.h: Define __need_timespec before including <time.h>.
49266 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49267 struct. Add forward declaration of pthread_attr_t and use it in
49268 sigevent.
49269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49271 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49272 always remove CLK_TCK definition.
49273
492742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49275
49276 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49277
492782012-02-25 Ulrich Drepper <drepper@gmail.com>
49279
49280 * conform/run-conformtest.sh: New file.
49281 * conform/Makefile: Run run-conformtest for tests.
49282 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49283 support.
49284
49285 * conform/data/uchar.h-data: New file.
49286 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49287 * conform/data/arpa/inet.h-data: Likewise.
49288 * conform/data/assert.h-data: Likewise.
49289 * conform/data/complex.h-data: Likewise.
49290 * conform/data/cpio.h-data: Likewise.
49291 * conform/data/ctype.h-data: Likewise.
49292 * conform/data/dirent.h-data: Likewise.
49293 * conform/data/dlfcn.h-data: Likewise.
49294 * conform/data/errno.h-data: Likewise.
49295 * conform/data/fcntl.h-data: Likewise.
49296 * conform/data/float.h-data: Likewise.
49297 * conform/data/fmtmsg.h-data: Likewise.
49298 * conform/data/fnmatch.h-data: Likewise.
49299 * conform/data/ftw.h-data: Likewise.
49300 * conform/data/glob.h-data: Likewise.
49301 * conform/data/grp.h-data: Likewise.
49302 * conform/data/iconv.h-data: Likewise.
49303 * conform/data/inttypes.h-data: Likewise.
49304 * conform/data/langinfo.h-data: Likewise.
49305 * conform/data/libgen.h-data: Likewise.
49306 * conform/data/limits.h-data: Likewise.
49307 * conform/data/locale.h-data: Likewise.
49308 * conform/data/math.h-data: Likewise.
49309 * conform/data/monetary.h-data: Likewise.
49310 * conform/data/mqueue.h-data: Likewise.
49311 * conform/data/ndbm.h-data: Likewise.
49312 * conform/data/net/if.h-data: Likewise.
49313 * conform/data/netdb.h-data: Likewise.
49314 * conform/data/netinet/in.h-data: Likewise.
49315 * conform/data/nl_types.h-data: Likewise.
49316 * conform/data/poll.h-data: Likewise.
49317 * conform/data/pthread.h-data: Likewise.
49318 * conform/data/pwd.h-data: Likewise.
49319 * conform/data/regex.h-data: Likewise.
49320 * conform/data/sched.h-data: Likewise.
49321 * conform/data/search.h-data: Likewise.
49322 * conform/data/semaphore.h-data: Likewise.
49323 * conform/data/setjmp.h-data: Likewise.
49324 * conform/data/signal.h-data: Likewise.
49325 * conform/data/spawn.h-data: Likewise.
49326 * conform/data/stdarg.h-data: Likewise.
49327 * conform/data/stdio.h-data: Likewise.
49328 * conform/data/stdlib.h-data: Likewise.
49329 * conform/data/string.h-data: Likewise.
49330 * conform/data/strings.h-data: Likewise.
49331 * conform/data/stropts.h-data: Likewise.
49332 * conform/data/sys/ipc.h-data: Likewise.
49333 * conform/data/sys/mman.h-data: Likewise.
49334 * conform/data/sys/msg.h-data: Likewise.
49335 * conform/data/sys/resource.h-data: Likewise.
49336 * conform/data/sys/select.h-data: Likewise.
49337 * conform/data/sys/sem.h-data: Likewise.
49338 * conform/data/sys/shm.h-data: Likewise.
49339 * conform/data/sys/socket.h-data: Likewise.
49340 * conform/data/sys/stat.h-data: Likewise.
49341 * conform/data/sys/statvfs.h-data: Likewise.
49342 * conform/data/sys/time.h-data: Likewise.
49343 * conform/data/sys/timeb.h-data: Likewise.
49344 * conform/data/sys/times.h-data: Likewise.
49345 * conform/data/sys/types.h-data: Likewise.
49346 * conform/data/sys/uio.h-data: Likewise.
49347 * conform/data/sys/un.h-data: Likewise.
49348 * conform/data/sys/utsname.h-data: Likewise.
49349 * conform/data/sys/wait.h-data: Likewise.
49350 * conform/data/syslog.h-data: Likewise.
49351 * conform/data/tar.h-data: Likewise.
49352 * conform/data/termios.h-data: Likewise.
49353 * conform/data/utime.h-data: Likewise.
49354 * conform/data/utmpx.h-data: Likewise.
49355 * conform/data/varargs.h-data: Likewise.
49356 * conform/data/wchar.h-data: Likewise.
49357 * conform/data/wctype.h-data: Likewise.
49358 * conform/data/wordexp.h-data: Likewise.
49359
49360 * include/stropts.h: New file.
49361 * include/uchar.h: New file.
49362 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49363 * include/assert.h: Likewise.
49364 * include/ctype.h: Likewise.
49365 * include/dirent.h: Likewise.
49366 * include/dlfcn.h: Likewise.
49367 * include/fcntl.h: Likewise.
49368 * include/fnmatch.h: Likewise.
49369 * include/glob.h: Likewise.
49370 * include/grp.h: Likewise.
49371 * include/libio.h: Likewise.
49372 * include/locale.h: Likewise.
49373 * include/math.h: Likewise.
49374 * include/net/if.h: Likewise.
49375 * include/netdb.h: Likewise.
49376 * include/netinet/in.h: Likewise.
49377 * include/pthread.h: Likewise.
49378 * include/pwd.h: Likewise.
49379 * include/regex.h: Likewise.
49380 * include/sched.h: Likewise.
49381 * include/search.h: Likewise.
49382 * include/setjmp.h: Likewise.
49383 * include/signal.h: Likewise.
49384 * include/stdio.h: Likewise.
49385 * include/stdlib.h: Likewise.
49386 * include/string.h: Likewise.
49387 * include/sys/cdefs.h: Likewise.
49388 * include/sys/mman.h: Likewise.
49389 * include/sys/msg.h: Likewise.
49390 * include/sys/resource.h: Likewise.
49391 * include/sys/select.h: Likewise.
49392 * include/sys/socket.h: Likewise.
49393 * include/sys/stat.h: Likewise.
49394 * include/sys/statvfs.h: Likewise.
49395 * include/sys/time.h: Likewise.
49396 * include/sys/times.h: Likewise.
49397 * include/sys/uio.h: Likewise.
49398 * include/sys/utsname.h: Likewise.
49399 * include/sys/wait.h: Likewise.
49400 * include/termios.h: Likewise.
49401 * include/time.h: Likewise.
49402 * include/ulimit.h: Likewise.
49403 * include/unistd.h: Likewise.
49404 * include/utime.h: Likewise.
49405 * include/wchar.h: Likewise.
49406 * include/wctype.h: Likewise.
49407 * include/wordexp.h: Likewise.
49408
49409 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49410
49411 * time/time.h: TIME_UTC must be a macro.
49412 Make timespec_get available for ISO C11 only as well.
49413
494142012-02-24 Ulrich Drepper <drepper@gmail.com>
49415
49416 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49417 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49418
494192012-02-24 Joseph Myers <joseph@codesourcery.com>
49420
49421 * configure.in: Use -o not -a in test for unsupported multi-arch.
49422
494232012-02-24 Joseph Myers <joseph@codesourcery.com>
49424
49425 * manual/texinfo.tex: Update to version 2012-01-19.16.
49426
494272012-02-24 Joseph Myers <joseph@codesourcery.com>
49428
49429 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49430
494312012-02-24 Roland McGrath <roland@hack.frob.com>
49432
49433 [BZ #13738]
49434 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49435 * manual/fdl-1.3.texi: New file.
49436 * manual/fdl-1.1.texi: File removed.
49437
49438 [BZ #13738]
49439 * manual/libc.texinfo (FDL_VERSION): New @set.
49440 Use it for mention of FDL in cover text.
49441 (Documentation License): Use it in @include file name.
49442
494432012-02-22 Joseph Myers <joseph@codesourcery.com>
49444 Roland McGrath <roland@hack.frob.com>
49445
49446 [BZ #5461]
49447 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49448 (not LONG_LONG_MAX and LONG_LONG_MIN.
49449 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49450 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49451 name.
49452 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49453
494542012-02-22 Joseph Myers <joseph@codesourcery.com>
49455
49456 [BZ #2547]
49457 [BZ #11365]
49458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49459 manipulate bits before adding and subtracting TWO23[sx].
49460 * math/libm-test.inc (nearbyint_test): Add more tests.
49461
494622012-02-22 Joseph Myers <joseph@codesourcery.com>
49463
49464 [BZ #2548]
49465 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49466 bits before adding and subtracting TWO23[sx].
49467 * math/libm-test.inc (rint_test): Add more tests.
49468 (rint_test_tonearest): Likewise.
49469 (rint_test_towardzero): Likewise.
49470 (rint_test_downward): Likewise.
49471 (rint_test_upward: Likewise.
49472
494732012-02-22 Joseph Myers <joseph@codesourcery.com>
49474
49475 [BZ #10110]
49476 * include/stdc-predef.h: New file. Extracted from features.h.
49477 * include/features.h: Include stdc-predef.h.
49478 * Makefile (headers): Add stdc-predef.h.
49479 * CONFORMANCE (Compiler limitations): Update.
49480
494812012-02-22 Joseph Myers <joseph@codesourcery.com>
49482
49483 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49484
494852012-02-21 David S. Miller <davem@davemloft.net>
49486
49487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49489
494902012-02-20 David S. Miller <davem@davemloft.net>
49491
49492 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49493 using a normal save/restore sequence, rather than allocating a
49494 dummy stack frame just to store a frame pointer and restore.
49495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49496
494972012-02-21 Joseph Myers <joseph@codesourcery.com>
49498
49499 * manual/install.texi: Fix stray word in line-wrapped comment.
49500
495012012-02-20 David S. Miller <davem@davemloft.net>
49502
49503 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49504 both binutils and gcc support GOTDATA.
49505
49506 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49507 "rd %pc" in the PIC register setup sequences.
49508
49509 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49510 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49512 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49513 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49518 (SYSCALL_ERROR_HANDLER): Likewise.
49519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49522 (SYSCALL_ERROR_HANDLER): Likewise.
49523
49524 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49525 (HAVE_GCC_GOTDATA): New.
49526 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49527 relocation support in both binutils and gcc.
49528 * sysdeps/sparc/elf/configure: Regenerate.
49529
49530 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49531 * sysdeps/sparc/sparc32/elf/configure: Delete.
49532 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49533 * sysdeps/sparc/sparc64/elf/configure: Delete.
49534 * sysdeps/sparc/elf/configure.in: New file.
49535 * sysdeps/sparc/elf/configure: Generate.
49536
49537 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49538 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49539 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49540 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49541 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49542
495432012-02-21 Joseph Myers <joseph@codesourcery.com>
49544
49545 * manual/install.texi: Do not mention specific glibc version
49546 numbers.
49547 * manual/libc.texinfo (VERSION, UPDATED): Update.
49548 (@copying): Use @copyright{} and range of years.
49549
495502012-02-21 Joseph Myers <joseph@codesourcery.com>
49551
49552 [BZ #13695]
49553 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49554 [crti.S not in sysdirs] (generated): Do not append.
49555 [crti.S not in sysdirs] (omit-deps): Likewise.
49556 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49557 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49558 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49559 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49560 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49561 Likewise.
49562 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49563 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49564 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49565 * csu/defs.awk: Remove file.
49566 * sysdeps/generic/initfini.c: Likewise.
49567 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49568 variable.
49569 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49570 Likewise.
49571
495722012-02-20 Joseph Myers <joseph@codesourcery.com>
49573
49574 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49579 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49580 <bits/epoll.h>.
49581 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49582 (__EPOLL_PACKED): Define to empty if not defined by
49583 <bits/epoll.h>.
49584 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49586 bits/epoll.h.
49587
495882012-02-20 Joseph Myers <joseph@codesourcery.com>
49589
49590 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49591 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49592 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49594 <bits/timerfd.h>.
49595 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49597 bits/timerfd.h.
49598
495992012-02-20 Joseph Myers <joseph@codesourcery.com>
49600
49601 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49602 in C locale.
49603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49607
496082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49609
49610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49612
496132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49614
49615 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49616 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49617 defined.
49618 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49619 Likewise.
49620 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49621 entry for 2.16.
49622
496232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49624
49625 * math/w_acos.c: Use non-signaling floating-point comparisons.
49626 * math/w_acosf.c: Likewise.
49627 * math/w_acosh.c: Likewise.
49628 * math/w_acoshf.c: Likewise.
49629 * math/w_acoshl.c: Likewise.
49630 * math/w_acosl.c: Likewise.
49631 * math/w_asin.c: Likewise.
49632 * math/w_asinf.c: Likewise.
49633 * math/w_asinl.c: Likewise.
49634 * math/w_atanh.c: Likewise.
49635 * math/w_atanhf.c: Likewise.
49636 * math/w_atanhl.c: Likewise.
49637 * math/w_exp2.c: Likewise.
49638 * math/w_exp2f.c: Likewise.
49639 * math/w_exp2l.c: Likewise.
49640 * math/w_j0.c: Likewise.
49641 * math/w_j0f.c: Likewise.
49642 * math/w_j0l.c: Likewise.
49643 * math/w_j1.c: Likewise.
49644 * math/w_j1f.c: Likewise.
49645 * math/w_j1l.c: Likewise.
49646 * math/w_jn.c: Likewise.
49647 * math/w_jnf.c: Likewise.
49648 * math/w_log.c: Likewise.
49649 * math/w_log10.c: Likewise.
49650 * math/w_log10f.c: Likewise.
49651 * math/w_log10l.c: Likewise.
49652 * math/w_log2.c: Likewise.
49653 * math/w_log2f.c: Likewise.
49654 * math/w_log2l.c: Likewise.
49655 * math/w_logf.c: Likewise.
49656 * math/w_logl.c: Likewise.
49657 * math/w_sqrt.c: Likewise.
49658 * math/w_sqrtf.c: Likewise.
49659 * math/w_sqrtl.c: Likewise.
49660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49661 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49665
496662012-02-19 Joseph Myers <joseph@codesourcery.com>
49667
49668 [BZ #9739]
49669 * manual/string.texi (strnlen): Use correct parameter name in
49670 equivalent expression.
49671
496722012-02-19 Joseph Myers <joseph@codesourcery.com>
49673
49674 [BZ #11174]
49675 * manual/users.texi (seteuid): Consistently use neweuid for
49676 argument name.
49677
496782012-02-19 Joseph Myers <joseph@codesourcery.com>
49679
49680 [BZ #13704]
49681 * manual/nss.texi (Services in the NSS configuration): Correct
49682 list of services in example configuration file.
49683
496842012-02-19 Nick Bowler <nbowler@draconx.ca>
49685
49686 [BZ #11322]
49687 * manual/arith.texi: Remove statements about negative zero
49688 behaving identically to zero.
49689
496902012-02-18 Joseph Myers <joseph@codesourcery.com>
49691
49692 [BZ #5993]
49693 * manual/install.texi: Do not document upgrading from libc5.
49694
496952012-02-18 Joseph Myers <joseph@codesourcery.com>
49696
49697 [BZ #4596]
49698 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49699
497002012-02-18 David S. Miller <davem@davemloft.net>
49701
49702 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49703 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49704 %o7 across the call.
49705 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49706 instead.
49707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49708 SETUP_PIC_REG_LEAF.
49709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49710 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49711 * sysdeps/sparc/crtn.S: Likewise.
49712
497132012-02-17 Ulrich Drepper <drepper@gmail.com>
49714
49715 * aout/Makefile: Remove.
49716
497172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49718
49719 [BZ #13058]
49720 * manual/examples/argp-ex1.c (main): Format definition in GNU
49721 style.
49722 * manual/examples/argp-ex2.c (main): Likewise.
49723 * manual/examples/argp-ex3.c (main): Likewise.
49724 * manual/examples/argp-ex4.c (main): Likewise.
49725 * manual/examples/longopt.c (main): Use new-style prototype
49726 definition.
49727 * manual/examples/strncat.c (main): Specify return type and use
49728 (void) for arguments.
49729 * manual/examples/subopt.c (main): Use char **argv argument.
49730
497312012-02-17 Joseph Myers <joseph@codesourcery.com>
49732
49733 [BZ #5077]
49734 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49735 rounding modes.
49736
497372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49738
49739 [BZ #6907]
49740 * manual/string.texi (strchr): Change when strchrnul is
49741 recommended.
49742
497432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49744
49745 [BZ #174]
49746 * manual/locale.texi (setlocale): Document LOCPATH.
49747
497482012-02-17 Joseph Myers <joseph@codesourcery.com>
49749
49750 [BZ #10210]
49751 * manual/process.texi (execle): Move @dots{} before last argument.
49752
497532012-02-17 Paul Bolle <pebolle@tiscali.nl>
49754
49755 [BZ #12047]
49756 * manual/charset.texi (Generic Charset Conversion): Fix typo
49757 (LC_TYPE -> LC_CTYPE).
49758
497592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49760
49761 [BZ #5805]
49762 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49763 (scalbnf): Likewise.
49764 (scalbnl): Likewise.
49765 (scalbln): Likewise.
49766 (scalblnf): Likewise.
49767 (scalblnl): Likewise.
49768 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49769 (vwarnx): Likewise.
49770 (verr): Likewise.
49771 (verrx): Likewise.
49772 * manual/filesys.texi (telldir): Use braces around return type.
49773 * manual/llio.texi (mmap): Add space after comma.
49774 (mmap64): Likewise.
49775 * manual/math.texi (jn): Use @var{} on parameter names.
49776 (jnf): Likewise.
49777 (jnl): Likewise.
49778 (yn): Likewise.
49779 (ynf): Likewise.
49780 (ynl): Likewise.
49781 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49782 line.
49783 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49784 "...".
49785 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49786 (sched_get_priority_max): Likewise.
49787 * manual/signal.texi (sigvec): Add space after comma.
49788 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49789 names.
49790 (if_indextoname): Likewise.
49791 (if_freenameindex): Likewise.
49792 (sendto): Use ',' instead of '.' in prototype.
49793 * manual/startup.texi (syscall): Use @dots{} instead of literal
49794 "...".
49795 * manual/stdio.texi (__fpending): Separate initial words of
49796 paragraph from @deftypefun line.
49797 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49798 "...".
49799 (vsyslog): Use @var{} on parameter names.
49800 * manual/terminal.texi (stty): Use @var{} on parameter names.
49801 * manual/users.texi (getutmp): Use @var{} on parameter names.
49802 (getutmpx): Likewise.
49803
498042012-02-17 Joseph Myers <joseph@codesourcery.com>
49805
49806 [BZ #6884]
49807 * manual/stdio.texi (fopen): Fix typos in description of
49808 ",ccs=STRING".
49809
498102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49811
49812 [BZ #4026]
49813 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49814 get clock_id definition.
49815
498162012-02-17 Thomas Schwinge <thomas@schwinge.name>
49817
49818 [BZ #4822]
49819 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49820 (madvise): Cast every argument to void on its own.
49821
498222012-02-17 Joseph Myers <joseph@codesourcery.com>
49823
49824 [BZ #9902]
49825 * manual/startup.texi (Exit Status): Fix typo.
49826
498272012-02-17 Joseph Myers <joseph@codesourcery.com>
49828
49829 [BZ #10140]
49830 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49831 * manual/examples/argp-ex2.c: Likewise.
49832 * manual/examples/argp-ex3.c: Likewise.
49833
498342012-02-16 Richard Henderson <rth@redhat.com>
49835
49836 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49837 * sysdeps/s390/s390-32/initfini.c: Remove.
49838 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49839 * sysdeps/s390/s390-64/initfini.c: Remove.
49840
498412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49842
49843 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49844 compiler output for sysdeps/generic/initfini.c.
49845 * sysdeps/sh/elf/initfini.c: Remove file.
49846
498472012-02-16 David S. Miller <davem@davemloft.net>
49848
49849 [BZ #11494]
49850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49851
49852 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49853 * sysdeps/sparc/crti.S: New file.
49854 * sysdeps/sparc/crtn.S: New file.
49855 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49856 * sysdeps/sparc/sparc64/Makefile: Likewise.
49857
498582012-02-15 Mike Frysinger <vapier@gentoo.org>
49859
49860 [BZ #3335]
49861 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49862
498632012-02-15 Roland McGrath <roland@hack.frob.com>
49864
49865 [BZ #4822]
49866 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49867
49868 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49869 (write, read, close): Likewise.
49870 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49871
498722012-02-15 Joseph Myers <joseph@codesourcery.com>
49873
49874 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49875 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49876 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49877 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49878 <bits/signalfd.h>.
49879 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49881 bits/signalfd.h.
49882
498832012-02-14 Marek Polacek <polacek@redhat.com>
49884
49885 * sysdeps/x86_64/crti.S: New file.
49886 * sysdeps/x86_64/crtn.S: New file.
49887 * sysdeps/x86_64/elf/initfini.c: Remove file.
49888
498892012-02-13 Joseph Myers <joseph@codesourcery.com>
49890
49891 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49892 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49893 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49894 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49895 <bits/inotify.h>.
49896 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49898 bits/inotify.h.
49899
499002012-02-13 Joseph Myers <joseph@codesourcery.com>
49901
49902 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49903 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49904 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49905 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49906 <bits/eventfd.h>.
49907 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49909 bits/eventfd.h.
49910
499112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49912
49913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49914 __feraiseexcept instead of feraiseexcept.
49915
49916 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49917 nanosleep invocations.
49918 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49919 strings, and add error checking for a nanosleep invocations.
49920
499212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49922
49923 Replace FSF snail mail address with URLs, as per GNU coding standards.
49924 Most of the snail mail addresses were wrong anyway, and omitting
49925 them makes the source code easier to maintain. Almost all of the
49926 changes are to license notices and to locale LC_IDENTIFICATION
49927 addresses, except for this one:
49928 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49929 not its snail mail address.
49930
499312012-02-09 Richard Henderson <rth@twiddle.net>
49932
49933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49934 of kernel-features.h.
49935
49936 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49937
499382012-02-08 Marek Polacek <polacek@redhat.com>
49939
49940 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49941 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49942 * sysdeps/gnu/_G_config.h: Likewise.
49943 * sysdeps/generic/_G_config.h: Likewise.
49944
499452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49946
49947 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49948 tests.
49949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49950
49951 * sysdeps/powerpc/powerpc32/crti.S: New file.
49952 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49953 * sysdeps/powerpc/powerpc64/crti.S: New file.
49954 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49955
49956 * Makeconfig (have-initfini): Don't set.
49957 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49958 * configure.in (nopic_initfini): Don't substitute.
49959 * config.h.in (HAVE_INITFINI): Don't #undef.
49960 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49961 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49962
499632012-02-08 Joseph Myers <joseph@codesourcery.com>
49964
49965 Support crti.S and crtn.S provided directly by architectures.
49966 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49967 [crti.S in sysdirs] (omit-deps): Likewise.
49968 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49969 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49970 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49971 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49972 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49973 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49974 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49975 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49976 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49977 compiler output for sysdeps/generic/initfini.c.
49978 * sysdeps/i386/elf/Makefile: Remove file.
49979 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49980
499812012-02-07 Marek Polacek <polacek@redhat.com>
49982
49983 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49984 * sysdeps/gnu/_G_config.h: Likewise.
49985 * sysdeps/mach/hurd/_G_config.h: Likewise.
49986
499872012-02-07 Marek Polacek <polacek@redhat.com>
49988
49989 * math/Makefile (tests): Add tst-CMPLX2.
49990 * math/tst-CMPLX2.c: New file.
49991
499922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49993
49994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49995
49996 * math/libm-test.inc (jn_test): Add missing L suffix.
49997
499982012-02-06 Marek Polacek <polacek@redhat.com>
49999
50000 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50001 * sysdeps/i386/fpu/e_powf.S: Likewise.
50002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50005 * sysdeps/i386/fpu/e_pow.S: Likewise.
50006 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50008 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50009 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50010 * sysdeps/i386/fpu/e_log2.S: Likewise.
50011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50013 * sysdeps/i386/fpu/e_powl.S: Likewise.
50014 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50017 * sysdeps/i386/fpu/e_logl.S: Likewise.
50018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50019 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50020 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50021 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50023 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50024 * sysdeps/i386/fpu/e_log.S: Likewise.
50025 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50027 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50028 * sysdeps/i386/fpu/e_logf.S: Likewise.
50029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50031 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50034 * sysdeps/i386/fpu/e_log10.S: Likewise.
50035 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50037 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50038 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50041 * sysdeps/i386/asm-syntax.h: Likewise.
50042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50045 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50046 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50048 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50049 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50051 * sysdeps/powerpc/sysdep.h: Likewise.
50052 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50053 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50054
500552012-02-06 Joseph Myers <joseph@codesourcery.com>
50056
50057 [BZ #411]
50058 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50059
500602012-02-06 Joseph Myers <joseph@codesourcery.com>
50061
50062 * sysdeps/i386/sysdep.h: Include <features.h>.
50063 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50064 version.
50065
500662012-02-05 Joseph Myers <joseph@codesourcery.com>
50067
50068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50069 Define.
50070 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50071 LOAD_PIC_REG_STR.
50072
500732012-02-03 Joseph Myers <joseph@codesourcery.com>
50074
50075 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50076 (SETUP_PIC_REG): Use GET_PC_THUNK.
50077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50078 macro.
50079
500802012-02-03 Joseph Myers <joseph@codesourcery.com>
50081
50082 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50083 for non-PIC compilation.
50084 (SETUP_PIC_REG): Add .p2align directive.
50085 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50090 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50091 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50126
501272012-02-03 Joseph Myers <joseph@codesourcery.com>
50128
50129 * math/tst-CMPLX.c: Include <stdio.h>.
50130
501312012-01-31 Joseph Myers <joseph@codesourcery.com>
50132
50133 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50134 float.
50135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50136 * sysdeps/sparc/bits/mathdef.h: Likewise.
50137
501382012-01-31 Marek Polacek <polacek@redhat.com>
50139
50140 * libio/libio.h: Don't define _PARAMS.
50141 * locale/programs/config.h: Don't define PARAMS.
50142 * stdlib/strtol_l.c: Likewise.
50143 (__strtol_l): Remove PARAMS from the prototype.
50144
501452012-01-31 Ulrich Drepper <drepper@gmail.com>
50146
50147 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50148 names. Just use the correct names. Remove unnecessary wrapper
50149 functions.
50150 * malloc/arena.c: Likewise.
50151 * malloc/hooks.c: Likewise.
50152
50153 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50154 ARENA_TEST says not to. Simplify test for creation of a new arena.
50155 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50156
501572012-01-30 Ulrich Drepper <drepper@gmail.com>
50158
50159 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50160 into tail calls.
50161 (update_get_addr): New function.
50162 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50163 GET_ADDR_MODULE parameter.
50164
501652012-01-30 Joseph Myers <joseph@codesourcery.com>
50166
50167 * crypt/cert.c: Remove __STDC__ conditionals.
50168 * crypt/crypt-entry.c: Likewise.
50169 * crypt/crypt_util.c: Likewise.
50170 * libio/filedoalloc.c: Likewise.
50171 * libio/fileops.c: Likewise.
50172 * libio/genops.c: Likewise.
50173 * libio/iofclose.c: Likewise.
50174 * libio/iofdopen.c: Likewise.
50175 * libio/iofopen.c: Likewise.
50176 * libio/iofopen64.c: Likewise.
50177 * libio/iogetdelim.c: Likewise.
50178 * libio/iopopen.c: Likewise.
50179 * libio/obprintf.c: Likewise.
50180 * libio/oldfileops.c: Likewise.
50181 * libio/oldiofclose.c: Likewise.
50182 * libio/oldiofdopen.c: Likewise.
50183 * libio/oldiofopen.c: Likewise.
50184 * libio/oldiopopen.c: Likewise.
50185 * libio/wfiledoalloc.c: Likewise.
50186 * libio/wgenops.c: Likewise.
50187 * locale/programs/xmalloc.c: Likewise.
50188 * misc/syslog.c: Likewise.
50189 * stdio-common/xbug.c: Likewise.
50190 * string/memchr.c: Likewise.
50191 * string/memcmp.c: Likewise.
50192 * string/memrchr.c: Likewise.
50193 * string/rawmemchr.c: Likewise.
50194 * sysdeps/posix/getcwd.c: Likewise.
50195 * time/strftime_l.c: Likewise.
50196
501972012-01-30 Joseph Myers <joseph@codesourcery.com>
50198
50199 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50200 * config.make.in (config-cflags-sse2avx): Define.
50201 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50202 Fix typo.
50203
502042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50205
50206 * scripts/config.guess: Update from upstream config git repository.
50207 * scripts/config.sub: Likewise.
50208
502092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50210
50211 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50212 (EM_NUM): Update.
50213 (R_TILEPRO_*, R_TILEGX_*): New macros.
50214
50215 * scripts/firstversions.awk: Fix bug in version range handling.
50216
50217 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50218
50219 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50220
50221 * include/sys/epoll.h: New file.
50222 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50223 libc_hidden_def.
50224
502252012-01-28 Ulrich Drepper <drepper@gmail.com>
50226
50227 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50228 Avoid unnecessary __WORDSIZE == 64 test.
50229 (fmaxf): Use VEX format if possible.
50230 (fmax): Likewise.
50231 (fminf): Likewise.
50232 (fmin): Likewise.
50233
50234 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50235 * math/math_private.h: Remove libc_fegetround* and
50236 libc_fesetround*.
50237 * sysdeps/i386/configure.in: Check for -msse2avx.
50238 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50239 also if SSE2AVX is defined.
50240 Remove libc_fegetround* and libc_fesetround*.
50241 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50242 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50244 of HAS_YMM_USABLE.
50245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50250
50251 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50252
502532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50254
50255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50256 size is not set.
50257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50258
502592012-01-27 Ulrich Drepper <drepper@gmail.com>
50260
50261 [BZ #13618]
50262 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50263 relocation.
50264 * Makeconfig (libm): Define.
50265 * elf/Makefile: Add rules to build and run tst-relsort1.
50266 * elf/tst-relsort1.c: New file.
50267 * elf/tst-relsort1mod1.c: New file.
50268 * elf/tst-relsort1mod2.c: New file.
50269
502702012-01-27 Joseph Myers <joseph@codesourcery.com>
50271
50272 * math/s_ldexp.c: Remove __STDC__ conditionals.
50273 * math/s_ldexpf.c: Likewise.
50274 * math/s_ldexpl.c: Likewise.
50275 * math/s_nextafter.c: Likewise.
50276 * math/s_nexttowardf.c: Likewise.
50277 * math/s_significand.c: Likewise.
50278 * math/s_significandf.c: Likewise.
50279 * math/s_significandl.c: Likewise.
50280 * math/w_jnl.c: Likewise.
50281 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50282 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50283 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50284 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50285 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50287 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50298 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50309 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50321 * sysdeps/ieee754/k_standard.c: Likewise.
50322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50327 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50329 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50330 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50334 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50347 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50401 * sysdeps/ieee754/s_matherr.c: Likewise.
50402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50406
504072012-01-26 Joseph Myers <joseph@codesourcery.com>
50408
50409 * crypt/md5.h: Remove __STDC__ conditionals.
50410 * libio/libioP.h: Likewise.
50411 * locale/programs/config.h: Likewise.
50412 * sysdeps/generic/sysdep.h: Likewise.
50413 * sysdeps/i386/asm-syntax.h: Likewise.
50414 * sysdeps/s390/asm-syntax.h: Likewise.
50415 * sysdeps/unix/sysdep.h: Likewise.
50416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50418
504192012-01-26 Joseph Myers <joseph@codesourcery.com>
50420
50421 * libio/libio.h: Remove __STDC__ conditionals.
50422 * malloc/obstack.h: Likewise.
50423 * math/complex.h: Likewise.
50424 * math/math.h: Likewise.
50425 * sysdeps/generic/_G_config.h: Likewise.
50426 * sysdeps/gnu/_G_config.h: Likewise.
50427 * sysdeps/mach/hurd/_G_config.h: Likewise.
50428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50430 * sysdeps/sparc/bits/mathdef.h: Likewise.
50431
504322012-01-26 Ulrich Drepper <drepper@gmail.com>
50433
50434 [BZ #13583]
50435 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50436 Clean up HAS_* macros.
50437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50438 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50439 possible.
50440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50441 HAS_AVX.
50442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50447
504482012-01-25 Joseph Myers <joseph@codesourcery.com>
50449
50450 * elf/tst-unique3.cc (gets): Remove declaration.
50451 * elf/tst-unique3lib.cc (gets): Likewise.
50452 * elf/tst-unique3lib2.cc (gets): Likewise.
50453 * elf/tst-unique4.cc (gets): Likewise.
50454
504552012-01-24 Ulrich Drepper <drepper@gmail.com>
50456
50457 * include/stdio.h: Add C++ protection. Add gets declarations and
50458 definitions.
50459 * debug/tst-chk1.c: Don't declare gets here.
50460 * stdio-common/tst-gets.c: Likewise.
50461
504622012-01-24 Joseph Myers <joseph@codesourcery.com>
50463
50464 * posix/glob: Remove directory.
50465
504662012-01-24 Joseph Myers <joseph@codesourcery.com>
50467
50468 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50469
504702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50471
50472 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50473 of the non-standard EPFNOSUPPORT.
50474
504752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50476
50477 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50478 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50479 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50480
504812012-01-21 Ulrich Drepper <drepper@gmail.com>
50482
50483 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50484
504852012-01-20 Ulrich Drepper <drepper@gmail.com>
50486
50487 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50488 transient errors.
50489 * nscd/grpcache.c (cache_addgr): Likewise.
50490 * nscd/hstcache.c (cache_addhst): Likewise.
50491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50492 * nscd/pwdcache.c (cache_addpw): Likewise.
50493 * nscd/servicescache.c (cache_addserv): Likewise.
50494
504952012-01-16 Ulrich Drepper <drepper@gmail.com>
50496
50497 * malloc/malloc.c: Various cleanups.
50498 * malloc/hooks.c: Likewise.
50499
50500 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50501 * stdlib/bug-fmtmsg1.c: New file.
50502
50503 * stdlib/fmtmsg.c (init): Add missing unlock.
50504 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50505
505062012-01-12 Marek Polacek <polacek@redhat.com>
50507
50508 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50509 and _GNU_SOURCE.
50510
505112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50512
50513 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50514 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50515 macro to ensure uniqueness of label name.
50516 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50517 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50518
505192012-01-11 Ulrich Drepper <drepper@gmail.com>
50520
50521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50522
50523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50524 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50527
505282012-01-10 Ulrich Drepper <drepper@gmail.com>
50529
50530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50531
50532 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50534 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50535
50536 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50537
50538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50542
50543 * math/bits/math-finite.h: Add ldexp support.
50544
505452012-01-10 Marek Polacek <polacek@redhat.com>
50546
50547 * locale/programs/localedef.h (show_archive_content): Add noreturn
50548 attribute.
50549
505502012-01-09 Ulrich Drepper <drepper@gmail.com>
50551
50552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50553
505542012-01-08 Ulrich Drepper <drepper@gmail.com>
50555
50556 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50557
50558 * io/Makefile (headers): Add bits/poll2.h.
50559
505602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50561
50562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50563 typo #include statement.
50564
505652012-01-08 Ulrich Drepper <drepper@gmail.com>
50566
50567 * include/sys/cdefs.h: Define __attribute_alloc_size.
50568 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50569 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50570 * elf/pldd.c: Likewise.
50571 * iconv/iconv_charmap.c: Likewise.
50572 * iconv/iconvconfig.c: Likewise.
50573 * iconv/strtab.c: Likewise.
50574 * locale/programs/locale.c: Likewise.
50575 * locale/programs/localedef.h: Likewise.
50576 * locale/programs/simple-hash.c: Likewise.
50577 * nscd/nscd.h: Likewise.
50578 * nss/makedb.c: Likewise.
50579 * sysdeps/generic/ldconfig.h: Likewise.
50580 * locale/programs/localedef.c: Remove xmalloc prototype.
50581 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50582
505832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50584
50585 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50586 appropriate.
50587
505882012-01-08 Ulrich Drepper <drepper@gmail.com>
50589
50590 * math/Makefile (tests): Add tst-CMPLX.
50591 * math/tst-CMPLX.c: New file.
50592
50593 * math/complex.h (CMPLXL): Fix typo.
50594
50595 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50596 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50597 GLIBC_2.16.
50598 * debug/tst-chk1.c: Add poll and ppoll tests.
50599 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50600 * include/sys/poll.h: Add hidden proto for ppoll.
50601 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50602 * sysdeps/mach/hurd/ppoll.c: Likewise.
50603 * io/ppoll.c: Likewise.
50604 * debug/poll_chk.c: New file.
50605 * debug/ppoll_chk.c: New file.
50606 * include/bits/poll2.h: New file.
50607 * io/bits/poll2.h: New file.
50608
50609 [BZ #1350]
50610 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50611
50612 * configure.in: static is always set to yes. Remove.
50613 * config.make.in: Don't set build-static.
50614 * Makeconfig: Remove use of build-static.
50615 * dlfcn/Makefile: Likewise.
50616 * elf/Makefile: Likewise.
50617 * math/Makefile: Likewise.
50618 * misc/Makefile: Likewise.
50619 * nptl/Makefile: Likewise.
50620 * sysdeps/mach/hurd/Makefile: Likewise.
50621
50622 * configure.in: PWD_P is not used anymore.
50623 * config.make.in: Remove PWD_P entry.
50624
50625 * configure.in: Remove last remnants of RANLIB.
50626 No need to check for signed size_t anymore.
50627 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50628 and IA-64.
50629 Remove __builtin_expect test because we require at least gcc 3.4.
50630 * aclocal.m4: Likewise.
50631
50632 * wcsmbs/mbrtoc16.c: Implement using towc function.
50633 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50634 * wcsmbs/wcsmbsload.c: Likewise.
50635 * iconv/gconv_simple.c: Likewise.
50636 * iconv/gconv_int.h: Likewise.
50637 * iconv/gconv_builtin.h: Likewise.
50638 * iconv/iconv_prog.c: Remove CHAR16 handling.
50639
50640 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50641
50642 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50643
50644 * configure.in: Remove --with-elf and --enable-bounded options.
50645 Dont set base_machine for ia64. More non-ELF conditions removed.
50646 Remove testing and setting of leading underscore information.
50647 * config.make.in (build-bounded): Set to no.
50648 * config.h.in: Remove NO_UNDERSCORES entry.
50649 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50650 them.
50651 * csu/start.c: Remove !NO_UNDERSCORE code.
50652 * locale/localeinfo.h: Likewise.
50653 * sysdeps/generic/machine-gmon.h: Likewise.
50654 * sysdeps/generic/sysdep.h: Likewise.
50655 * sysdeps/i386/sysdep.h: Likewise.
50656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50657 * sysdeps/mach/sysdep.h: Likewise.
50658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50660 * sysdeps/sh/sysdep.h: Likewise.
50661 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50662 * sysdeps/unix/i386/sysdep.S: Likewise.
50663 * sysdeps/unix/sparc/start.c: Likewise.
50664 * sysdeps/unix/sparc/sysdep.S: Likewise.
50665 * sysdeps/unix/sparc/sysdep.h: Likewise.
50666 * sysdeps/unix/start.c: Likewise.
50667 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50668 * sysdeps/x86_64/sysdep.h: Likewise.
50669
506702012-01-07 Ulrich Drepper <drepper@gmail.com>
50671
50672 [BZ #13553]
50673 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50674 for non-gcc.
50675 * argp/argp-fmtstream.h: Use const instead __const.
50676 * argp/argp.h: Likewise.
50677 * assert/assert.h: Likewise.
50678 * bits/fenv.h: Likewise.
50679 * bits/sched.h: Likewise.
50680 * bits/sigset.h: Likewise.
50681 * bits/sigthread.h: Likewise.
50682 * catgets/nl_types.h: Likewise.
50683 * conform/data/pthread.h-data: Likewise.
50684 * crypt/crypt-private.h: Likewise.
50685 * crypt/crypt.h: Likewise.
50686 * crypt/crypt_util.c: Likewise.
50687 * ctype/ctype.h: Likewise.
50688 * debug/execinfo.h: Likewise.
50689 * debug/mbsnrtowcs_chk.c: Likewise.
50690 * debug/mbsrtowcs_chk.c: Likewise.
50691 * debug/wcsnrtombs_chk.c: Likewise.
50692 * debug/wcsrtombs_chk.c: Likewise.
50693 * debug/wcstombs_chk.c: Likewise.
50694 * dirent/dirent.h: Likewise.
50695 * dlfcn/dlfcn.h: Likewise.
50696 * elf/neededtest4.c: Likewise.
50697 * grp/grp.h: Likewise.
50698 * gshadow/gshadow.h: Likewise.
50699 * iconv/gconv.h: Likewise.
50700 * iconv/gconv_int.h: Likewise.
50701 * iconv/gconv_simple.c: Likewise.
50702 * iconv/iconv.h: Likewise.
50703 * iconv/loop.c: Likewise.
50704 * iconv/skeleton.c: Likewise.
50705 * include/aio.h: Likewise.
50706 * include/aliases.h: Likewise.
50707 * include/argz.h: Likewise.
50708 * include/arpa/inet.h: Likewise.
50709 * include/assert.h: Likewise.
50710 * include/dirent.h: Likewise.
50711 * include/dlfcn.h: Likewise.
50712 * include/execinfo.h: Likewise.
50713 * include/fcntl.h: Likewise.
50714 * include/fenv.h: Likewise.
50715 * include/glob.h: Likewise.
50716 * include/grp.h: Likewise.
50717 * include/libintl.h: Likewise.
50718 * include/mntent.h: Likewise.
50719 * include/netdb.h: Likewise.
50720 * include/pwd.h: Likewise.
50721 * include/rpc/netdb.h: Likewise.
50722 * include/sched.h: Likewise.
50723 * include/search.h: Likewise.
50724 * include/shadow.h: Likewise.
50725 * include/signal.h: Likewise.
50726 * include/stdio.h: Likewise.
50727 * include/stdlib.h: Likewise.
50728 * include/string.h: Likewise.
50729 * include/sys/socket.h: Likewise.
50730 * include/sys/stat.h: Likewise.
50731 * include/sys/statfs.h: Likewise.
50732 * include/sys/statvfs.h: Likewise.
50733 * include/sys/syslog.h: Likewise.
50734 * include/sys/time.h: Likewise.
50735 * include/sys/uio.h: Likewise.
50736 * include/time.h: Likewise.
50737 * include/unistd.h: Likewise.
50738 * include/utmp.h: Likewise.
50739 * include/wchar.h: Likewise.
50740 * include/wctype.h: Likewise.
50741 * inet/aliases.h: Likewise.
50742 * inet/arpa/inet.h: Likewise.
50743 * inet/netinet/ether.h: Likewise.
50744 * inet/netinet/in.h: Likewise.
50745 * intl/libintl.h: Likewise.
50746 * io/bits/fcntl2.h: Likewise.
50747 * io/fcntl.h: Likewise.
50748 * io/ftw.h: Likewise.
50749 * io/sys/poll.h: Likewise.
50750 * io/sys/stat.h: Likewise.
50751 * io/sys/statfs.h: Likewise.
50752 * io/sys/statvfs.h: Likewise.
50753 * io/utime.h: Likewise.
50754 * libio/bits/stdio.h: Likewise.
50755 * libio/bits/stdio2.h: Likewise.
50756 * libio/libio.h: Likewise.
50757 * libio/libioP.h: Likewise.
50758 * libio/stdio.h: Likewise.
50759 * locale/lc-ctype.c: Likewise.
50760 * locale/locale.h: Likewise.
50761 * login/utmp.h: Likewise.
50762 * malloc/arena.c: Likewise.
50763 * malloc/malloc.c: Likewise.
50764 * malloc/malloc.h: Likewise.
50765 * malloc/mcheck.c: Likewise.
50766 * malloc/mtrace.c: Likewise.
50767 * math/bits/mathcalls.h: Likewise.
50768 * math/fenv.h: Likewise.
50769 * math/math_private.h: Likewise.
50770 * misc/bits/error.h: Likewise.
50771 * misc/bits/syslog.h: Likewise.
50772 * misc/err.h: Likewise.
50773 * misc/error.h: Likewise.
50774 * misc/fstab.h: Likewise.
50775 * misc/mntent.h: Likewise.
50776 * misc/regexp.h: Likewise.
50777 * misc/search.h: Likewise.
50778 * misc/sgtty.h: Likewise.
50779 * misc/sys/mman.h: Likewise.
50780 * misc/sys/syslog.h: Likewise.
50781 * misc/sys/uio.h: Likewise.
50782 * misc/sys/xattr.h: Likewise.
50783 * misc/ttyent.h: Likewise.
50784 * nis/rpcsvc/ypclnt.h: Likewise.
50785 * nss/nss.h: Likewise.
50786 * posix/bits/unistd.h: Likewise.
50787 * posix/fnmatch.h: Likewise.
50788 * posix/glob.h: Likewise.
50789 * posix/sched.h: Likewise.
50790 * posix/spawn.h: Likewise.
50791 * posix/sys/wait.h: Likewise.
50792 * posix/unistd.h: Likewise.
50793 * posix/wordexp.h: Likewise.
50794 * pwd/pwd.h: Likewise.
50795 * resolv/netdb.h: Likewise.
50796 * resource/sys/resource.h: Likewise.
50797 * rt/aio.h: Likewise.
50798 * rt/bits/mqueue2.h: Likewise.
50799 * rt/mqueue.h: Likewise.
50800 * shadow/shadow.h: Likewise.
50801 * signal/signal.h: Likewise.
50802 * socket/send.c: Likewise.
50803 * socket/sendto.c: Likewise.
50804 * socket/sys/socket.h: Likewise.
50805 * stdio-common/printf.h: Likewise.
50806 * stdlib/bits/stdlib.h: Likewise.
50807 * stdlib/fmtmsg.h: Likewise.
50808 * stdlib/monetary.h: Likewise.
50809 * stdlib/stdlib.h: Likewise.
50810 * stdlib/ucontext.h: Likewise.
50811 * streams/stropts.h: Likewise.
50812 * string/argz.h: Likewise.
50813 * string/bits/string2.h: Likewise.
50814 * string/string.h: Likewise.
50815 * string/strings.h: Likewise.
50816 * sunrpc/rpc/auth.h: Likewise.
50817 * sunrpc/rpc/auth_des.h: Likewise.
50818 * sunrpc/rpc/clnt.h: Likewise.
50819 * sunrpc/rpc/netdb.h: Likewise.
50820 * sunrpc/rpc/pmap_clnt.h: Likewise.
50821 * sunrpc/rpc/xdr.h: Likewise.
50822 * sysdeps/generic/inttypes.h: Likewise.
50823 * sysdeps/generic/net/if.h: Likewise.
50824 * sysdeps/generic/sys/swap.h: Likewise.
50825 * sysdeps/gnu/net/if.h: Likewise.
50826 * sysdeps/gnu/utmpx.h: Likewise.
50827 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50828 * sysdeps/i386/i486/bits/string.h: Likewise.
50829 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50830 * sysdeps/s390/bits/string.h: Likewise.
50831 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50832 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50834 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50836 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50839 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50840 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50841 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50843 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50844 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50845 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50852 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50853 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50854 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50855 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50856 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50859 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50861 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50862 * sysvipc/sys/ipc.h: Likewise.
50863 * sysvipc/sys/msg.h: Likewise.
50864 * sysvipc/sys/sem.h: Likewise.
50865 * sysvipc/sys/shm.h: Likewise.
50866 * termios/termios.h: Likewise.
50867 * time/sys/time.h: Likewise.
50868 * time/time.h: Likewise.
50869 * wcsmbs/bits/wchar2.h: Likewise.
50870 * wcsmbs/uchar.h: Likewise.
50871 * wcsmbs/wchar.h: Likewise.
50872 * wctype/wctype.h: Likewise.
50873
50874 [BZ #13551]
50875 * Makeconfig: Remove all but ELF support including AIX support.
50876 * Makerules: Likewise.
50877 * config.h.in: Likewise.
50878 * config.make.in: Likewise.
50879 * configure: Likewise.
50880 * configure.in: Likewise.
50881 * csu/Makefile: Likewise.
50882 * csu/version.c: Likewise.
50883 * debug/Makefile: Likewise.
50884 * dlfcn/Makefile: Likewise.
50885 * elf/Makefile: Likewise.
50886 * extra-lib.mk: Likewise.
50887 * iconv/Makefile: Likewise.
50888 * include/libc-symbols.h: Likewise.
50889 * include/shlib-compat.h: Likewise.
50890 * resolv/Makefile: Likewise.
50891 * resolv/res_libc.c: Likewise.
50892 * rt/Makefile: Likewise.
50893 * sysdeps/i386/asm-syntax.h: Likewise.
50894 * sysdeps/i386/sysdep.h: Likewise.
50895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50896 * sysdeps/mach/sysdep.h: Likewise.
50897 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50898 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50899 * sysdeps/s390/asm-syntax.h: Likewise.
50900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50902 * sysdeps/sh/sysdep.h: Likewise.
50903 * sysdeps/unix/sparc/sysdep.h: Likewise.
50904 * sysdeps/wordsize-32/divdi3.c: Likewise.
50905 * sysdeps/x86_64/sysdep.h: Likewise.
50906
50907 * argp/Versions: Remove _argp_unlock_xxx.
50908
50909 [BZ #13559]
50910 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50911 * abilist/libBrokenLocale.abilist: Likewise.
50912 * abilist/libanl.abilist: Likewise.
50913 * abilist/libc.abilist: Likewise.
50914 * abilist/libcrypt.abilist: Likewise.
50915 * abilist/libdl.abilist: Likewise.
50916 * abilist/libm.abilist: Likewise.
50917 * abilist/libnsl.abilist: Likewise.
50918 * abilist/libpthread.abilist: Likewise.
50919 * abilist/libresolv.abilist: Likewise.
50920 * abilist/librt.abilist: Likewise.
50921 * abilist/libthread_db.abilist: Likewise.
50922 * abilist/libutil.abilist: Likewise.
50923 * abilist/libnss_db.abilist: New file.
50924
50925 * scripts/abilist.awk: Add support for indirect functions.
50926
50927 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50928
50929 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50930
50931 * shlib-versions: Remove entries for ports architectures.
50932
50933 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50934 files in ports.
50935 * elf/stackguard-macros.h: Remove support for IA-64.
50936 * elf/tst-auditmod1.c: Likewise.
50937 * sysdeps/generic/ldsodefs.h: Likewise.
50938
50939 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50940 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50941 configure files.
50942
50943 [BZ #13552]
50944 * configure.in: Remove --enable-omitfp support.
50945 * FAQ.in: Adjust.
50946 * config.make.in: Likewise.
50947 * Makeconfig: Likewise.
50948 * manual/install.texi: Likewise.
50949
50950 In case anyone cares, the IA-64 architecture could move to ports.
50951 * sysdeps/ia64/*: Removed.
50952 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50953 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50954
50955 [BZ #13555]
50956 * configure.in: Remove entries for unsupported architectures.
50957
50958 [BZ #13533]
50959 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50960 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50961 routines.
50962 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50963 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50964 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50965 fall back to using wcrtomb.
50966 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50967 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50968 renaming.
50969 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50970 * wcsmbs/tst-c16c32-1.c: New file.
50971
50972 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50973 local variable.
50974
50975 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50976
50977 * elf/tst-unique3.cc: Add explicit declaration of gets.
50978 * elf/tst-unique3lib.cc: Likewise.
50979 * elf/tst-unique3lib2.cc: Likewise.
50980 * elf/tst-unique4.cc: Likewise.
50981
50982 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50983
509842012-01-06 Joseph Myers <joseph@codesourcery.com>
50985
50986 [BZ #13566]
50987 * assert/assert.h (static_assert): Don't define for C++.
50988 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50989 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50990
509912012-01-03 Ulrich Drepper <drepper@gmail.com>
50992
50993 * iconv/loop.c (single loop): Fix assertion in storing of
50994 remaining bytes.
50995
50996 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50997
509982012-01-01 Ulrich Drepper <drepper@gmail.com>
50999
51000 * posix/getconf.c: Update copyright year.
51001 * nss/getent.c: Likewise.
51002 * nss/makedb.c: Likewise.
51003 * iconv/iconvconfig.c: Likewise.
51004 * iconv/iconv_prog.c: Likewise.
51005 * elf/ldconfig.c: Likewise.
51006 * elf/pldd.c: Likewise.
51007 * elf/sotruss.ksh: Likewise.
51008 * catgets/gencat.c: Likewise.
51009 * csu/version.c: Likewise.
51010 * elf/ldd.bash.in: Likewise.
51011 * elf/sprof.c (print_version): Likewise.
51012 * locale/programs/locale.c: Likewise.
51013 * locale/programs/localedef.c: Likewise.
51014 * login/programs/pt_chown.c: Likewise.
51015 * nscd/nscd.c (print_version): Likewise.
51016 * debug/xtrace.sh: Likewise.
51017 * malloc/memusage.sh: Likewise.
51018 * malloc/mtrace.pl: Likewise.
51019 * debug/catchsegv.sh: Likewise.
51020
510212011-12-30 Jakub Jelinek <jakub@redhat.com>
51022
51023 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51024 pure attribute.
51025
510262011-12-24 Ulrich Drepper <drepper@gmail.com>
51027
51028 [BZ #13533]
51029 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51030 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51031 transformations.
51032 * iconv/gconv_int.h: Likewise.
51033 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51034 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51035 from libc for GLIBC_2.16.
51036 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51037 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51038 * wcsmbs/uchar.h: Really define mbstate_t.
51039 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51040 * wcsmbs/c16rtomb.c: New file.
51041 * wcsmbs/mbrtoc16.c: New file.
51042 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51043 for C/POSIX locale.
51044 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51045 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51046
51047 * wcsmbs/wchar.h: Add missing __restrict.
51048
510492011-12-23 Ulrich Drepper <drepper@gmail.com>
51050
51051 [BZ #13532]
51052 * time/Makefile (routines): Add timespec_get.
51053 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51054 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51055 timespec for ISO C11.
51056 * time/timespec_get.c: New file.
51057 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51058 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51059
51060 [BZ #13531]
51061 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51062 * stdlib/stdlib.h: Declare aligned_alloc.
51063 * Versions.def: Add GLIBC_2.16 for libc.
51064 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51065
51066 [BZ 13527]
51067 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51068 ISO C11.
51069
51070 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51071 code.
51072
51073 [BZ #13528]
51074 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51075
51076 [BZ #13529]
51077 * assert/assert.h (static_assert): Define.
51078
51079 * version.h: Update for 2.16 development version.
51080
51081 [BZ #13526]
51082 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51083 _ISOC11_SOURCE.
51084
51085 * version.h (RELEASE): Bump for 2.15 release.
51086 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51087
51088 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51089 Patch by Marek Polacek <mpolacek@redhat.com>.
51090
51091 * bits/byteswap.h: Protect long long constants with __extension__.
51092 * sysdeps/i386/bits/byteswap.h: Likewise.
51093 * sysdeps/ia64/bits/byteswap.h: Likewise.
51094 * sysdeps/s390/bits/byteswap.h: Likewise.
51095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51096
510972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51098
51099 [BZ #13540]
51100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51101 destination buffer.
51102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51103
511042011-12-23 Marek Polacek <polacek@redhat.com>
51105
51106 * elf/dl-addr.c (determine_info): Add inline keyword.
51107 * elf/tst-auditmod4b.c (check_avx): Likewise.
51108 * elf/tst-auditmod6b.c (check_avx): Likewise.
51109 * elf/tst-auditmod6c.c (check_avx): Likewise.
51110 * elf/tst-auditmod7b.c (check_avx): Likewise.
51111
511122011-12-23 Ulrich Drepper <drepper@gmail.com>
51113
51114 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51115 !__SSE_MATH__.
51116
511172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51118
51119 [BZ #13540]
51120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51121 processing for last bytes.
51122
511232011-08-06 Bruno Haible <bruno@clisp.org>
51124
51125 [BZ #13061]
51126 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51127 U+0385, not to U+1FEE.
51128
51129 [BZ #13062]
51130 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51131 entry for U+00A5 U+0301.
51132
511332011-12-22 Ulrich Drepper <drepper@gmail.com>
51134
51135 [BZ #13166]
51136 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51137 buffer for the output is too small.
51138
51139 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51140 optimization.
51141
51142 [BZ #13185]
51143 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51144 SSE flags if possible.
51145
511462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51147
51148 [BZ #13540]
51149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51150 processing for last bytes.
51151
511522011-12-22 Joseph Myers <joseph@codesourcery.com>
51153
51154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51155 (syscall-list-default-options, syscall-list-default-condition)
51156 (syscall-list-includes): Define.
51157 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51158 list of ABIs and options and #if conditions for each ABI. Do not
51159 handle common syscalls between ABIs specially.
51160 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51161 Remove.
51162 (syscall-list-variants, syscall-list-32bit-options)
51163 (syscall-list-32bit-condition, syscall-list-64bit-options)
51164 (syscall-list-64bit-condition): Define.
51165 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51166 (syscall-list-variants, syscall-list-32bit-options)
51167 (syscall-list-32bit-condition, syscall-list-64bit-options)
51168 (syscall-list-64bit-condition): Define.
51169 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51170 Remove.
51171 (syscall-list-variants, syscall-list-32bit-options)
51172 (syscall-list-32bit-condition, syscall-list-64bit-options)
51173 (syscall-list-64bit-condition): Define.
51174 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51175 Remove.
51176 (syscall-list-variants, syscall-list-32bit-options)
51177 (syscall-list-32bit-condition, syscall-list-64bit-options)
51178 (syscall-list-64bit-condition): Define.
51179
511802011-12-22 Ulrich Drepper <drepper@gmail.com>
51181
51182 * locale/iso-639.def: Add brx entry.
51183
51184 [BZ #13328]
51185 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51186 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51187
51188 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51189 __feraiseexcept_renamed.
51190
511912011-12-21 Ulrich Drepper <drepper@gmail.com>
51192
51193 [BZ #13538]
51194 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51195 EPOLLET with unsigned values.
51196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51198
51199 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51200 to large cancellation.
51201 * math/s_cacoshf.c: Likewise.
51202 * math/s_cacoshl.c: Likewise.
51203
512042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51205
51206 [BZ #13305]
51207 [BZ #12786]
51208 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51209 * math/s_cacoshf.c: Likewise.
51210 * math/s_cacoshl.c: Likewise.
51211
512122011-12-21 Ulrich Drepper <drepper@gmail.com>
51213
51214 [BZ #13439]
51215 * iconv/gconv.h: Define __GCONV_SWAP.
51216 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51217 * iconvdata/utf-16.c: Likewise.
51218 * iconvdata/utf-32.c: Likewise.
51219
512202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51221
51222 [BZ #13524]
51223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51224 numerator after shifting it by one limb.
51225
512262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51227
51228 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51229 under [__USE_EXTERN_INLINES].
51230
512312011-12-17 Ulrich Drepper <drepper@gmail.com>
51232
51233 [BZ #13446]
51234 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51235
512362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51237
51238 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51239 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51240 optimized code.
51241 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51243 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51244 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51245 for strncasecmp/strncasecmp_l compilation.
51246 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51247 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51248
512492011-12-08 Marek Polacek <mpolacek@redhat.com>
51250
51251 [BZ #13484]
51252 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51253 of __asm__.
51254
512552011-12-17 Ulrich Drepper <drepper@gmail.com>
51256
51257 [BZ #13506]
51258 * time/tzfile.c (__tzfile_read): Check values from file header.
51259
512602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51261
51262 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51263 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51264 * powerpc/powerpc32/dl-start.S: Likewise.
51265 * powerpc/powerpc32/elf/start.S: Likewise.
51266 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51267 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51268 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51269 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51270 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51271 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51272 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51273 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51274 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51275 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51276 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51277 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51278 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51279 * powerpc/powerpc32/memset.S: Likewise.
51280 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51281 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51282 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51283 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51284 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51285 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51286 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51287 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51288 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51289 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51293
512942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51295
51296 * math/libm-test.inc: Added more nearbyint tests.
51297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51301
513022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51303
51304 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51305 FD_CLOEXEC.
51306
513072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51308
51309 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51310 Add wcscpy-ssse3 wcscpy-c.
51311 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51312 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51313 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51314 * sysdeps/x86_64/wcschr.S: New file.
51315 * sysdeps/x86_64/wcsrchr.S: New file.
51316 * string/test-strcmp.c: Remove checking of wcscmp function for
51317 wrong alignments.
51318 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51319 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51320 wcsrchr-sse2 wcsrchr-c.
51321 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51322 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51323 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51324 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51327 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51328 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51329 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51330 * wcsmbc/wcschr.c (WCSCHR): New macro.
51331
513322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51333
51334 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51335 * wcsmbs/test-wcsrchr.c: New file.
51336 * string/test-strrchr.c: Add wcsrchr support.
51337 (WIDE): New macro.
51338 * wcsmbs/test-wcscpy.c: New file.
51339 * string/test-strcpy.c: Add wcscpy support.
51340 (WIDE): New macro.
51341
513422011-12-10 Ulrich Drepper <drepper@gmail.com>
51343
51344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51345 the inner loop.
51346
513472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51348
51349 [BZ #13472]
51350 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51351
513522011-12-04 Ulrich Drepper <drepper@gmail.com>
51353
51354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51355 Minor optimizations.
51356
51357 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51358 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51359 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51360
513612011-12-03 Ulrich Drepper <drepper@gmail.com>
51362
51363 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51364 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51365 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51366 for gcc to avoid warnings.
51367 * inet/Makefile (tests): Add tst-checks.
51368 * inet/tst-checks.c: New file.
51369
51370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51371 warning.
51372
51373 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51374 __wmemcmp_sse2.
51375
51376 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51377 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51378
51379 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51380
513812011-12-02 Ulrich Drepper <drepper@gmail.com>
51382
51383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51384 problem.
51385
51386 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51387
513882011-11-29 Joseph Myers <joseph@codesourcery.com>
51389
51390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51391 conditional on GCC version.
51392 (__arch_compare_and_exchange_val_8_acq)
51393 (__arch_compare_and_exchange_val_16_acq)
51394 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51395 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51396 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51397
513982011-12-02 Joseph Myers <joseph@codesourcery.com>
51399
51400 * sysdeps/sh/backtrace.c: New file.
51401
514022011-12-02 Andreas Schwab <schwab@redhat.com>
51403
51404 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51405 parenthesis.
51406
514072011-12-01 Andreas Schwab <schwab@redhat.com>
51408
51409 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51410 falling back to utime.
51411
514122011-11-30 Andreas Schwab <schwab@redhat.com>
51413
51414 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51415 expectations for float.
51416
514172011-11-29 Andreas Schwab <schwab@redhat.com>
51418
51419 * locale/weight.h (findidx): Add parameter len.
51420 * locale/weightwc.h (findidx): Likewise.
51421 * posix/fnmatch_loop.c (FCT): Adjust caller.
51422 * posix/regcomp.c (build_equiv_class): Likewise.
51423 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51424 * posix/regexec.c (check_node_accept_bytes): Likewise.
51425 * string/strcoll_l.c (STRCOLL): Likewise.
51426 * string/strxfrm_l.c (STRXFRM): Likewise.
51427
514282011-11-17 Ulrich Drepper <drepper@gmail.com>
51429
51430 * Makefile.in: Remove CVSOPT handling.
51431 * configure.in: Remove use of AC_REVISION.
51432 * iconvdata/Makefile (distribute): No need to filter out CVS.
51433 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51434 handling.
51435
514362011-11-16 Andreas Schwab <schwab@redhat.com>
51437
51438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51439 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51440 [USE_AS_STRNCASECMP_L]: Likewise.
51441 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51442 NO_TLS_DIRECT_SEG_REFS.
51443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51444 Fix argument offsets for non-PIC.
51445 [USE_AS_STRNCASECMP_L]: Likewise.
51446 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51447 NO_TLS_DIRECT_SEG_REFS.
51448
514492011-11-15 Ulrich Drepper <drepper@gmail.com>
51450
51451 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51452 O_CLOEXEC.
51453 * locale/loadlocale.c (_nl_load_locale): Likewise.
51454
514552011-11-15 Andreas Schwab <schwab@redhat.com>
51456
51457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51458 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51460 (SYSCALL_GETTIME): Set errno on error.
51461
51462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51463 count references to noai6ai_cached.
51464
514652011-11-15 Ulrich Drepper <drepper@gmail.com>
51466
51467 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51468
51469 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51470 FD_CLOEXEC for /proc/self/maps.
51471
51472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51473 FD_CLOEXEC for /proc/meminfo.
51474
51475 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51476 gai.conf.
51477
51478 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51479 FD_CLOEXEC for given file.
51480
51481 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51482
51483 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51484 FD_CLOEXEC for /etc/hosts.
51485 (_gethtent): Likewise.
51486
51487 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51488
51489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51490 cancellation and set FD_CLOEXEC for /etc/netgroup.
51491
51492 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51493 reading /etc/publickey.
51494
51495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51496 allow cancellation when reading /etc/group.
51497
51498 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51499 cancellation.
51500 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51501
51502 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51503 when using data file.
51504
51505 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51506
51507 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51508 (write_nis_obj): Use "c" and "e" in fopen.
51509
51510 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51511
51512 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51513
51514 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51515
51516 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51517
51518 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51519 locale.alias.
51520
51521 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51522
51523 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51524
51525 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51526
51527 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51528 file parsing and set FD_CLOEXEC.
51529
515302011-11-14 Ulrich Drepper <drepper@gmail.com>
51531
51532 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51533
515342011-11-14 Andreas Schwab <schwab@redhat.com>
51535
51536 * malloc/arena.c (arena_get2): Don't call reused_arena when
51537 _int_new_arena failed.
51538
515392011-11-14 Ulrich Drepper <drepper@gmail.com>
51540
51541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51542 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51547 to compile strcasecmp and strncasecmp.
51548 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51549 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51550
51551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51552
515532011-11-13 Ulrich Drepper <drepper@gmail.com>
51554
51555 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51556 locale-defines.sym to gen-as-const-headers.
51557 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51558 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51560 to compile strcasecmp and strncasecmp.
51561 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51562 strcasecmp_l and strncasecmp_l.
51563 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51564 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51565 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51567 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51569 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51570 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51571 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51572 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51573 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51574
515752011-11-12 Ulrich Drepper <drepper@gmail.com>
51576
51577 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51578 result of SYSDEP_GETTIME_CPU to retval.
51579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51580 parameter list to macro. Remove trailing semicolon. Adjust users.
51581
51582 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51583 variable.
51584
51585 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51586 mantissa words.
51587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51588
51589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51590 from unused variable.
51591
51592 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51593 DWARF definitions.
51594 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51595 for assembling.
51596
51597 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51598 over namespaces.
51599
51600 * sunrpc/rpc_prot.c (rejected): Fix case value.
51601
51602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51603 unsigned long long int to avoid warnings in shift.
51604
51605 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51606 of use of trans.
51607 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51608 variable tmp.
51609
51610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51611 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51613
51614 * nis/nis_table.c (nis_list): Use variable of correct type for
51615 result of __follow_path call.
51616
516172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51618
51619 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51620 of math functions ceil, trunc, floor, round, and sqrt, when
51621 avaliable on the platform.
51622 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51623 name clash.
51624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51625 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51626 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51627
516282011-10-30 Marek Polacek <mpolacek@redhat.com>
51629
51630 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51632
516332011-11-11 Roland McGrath <roland@hack.frob.com>
51634
51635 * include/unistd.h: Fix __readlink return type.
51636 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51637
516382011-11-11 Ulrich Drepper <drepper@gmail.com>
51639
51640 * stdlib/ucontext.h: Undo last change for makecontext.
51641
516422011-11-11 Andreas Schwab <schwab@redhat.com>
51643
51644 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51645
51646 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51647 * setjmp/setjmp.h: Mark functions as non-leaf.
51648 * setjmp/bits/setjmp2.h: Likewise.
51649 * stdlib/ucontext.h: Likewise.
51650
516512011-11-10 Andreas Schwab <schwab@redhat.com>
51652
51653 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51654 (reused_arena): Don't check arena limit.
51655 (arena_get2): Atomically check arena limit.
51656
516572011-11-08 Ulrich Drepper <drepper@gmail.com>
51658
51659 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51660 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51661
51662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51663 instructions.
51664
516652011-11-07 Andreas Schwab <schwab@redhat.com>
51666
51667 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51668 handler when locking.
51669
51670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51671 Fix size of allocated buffer.
51672
516732011-11-04 Andreas Schwab <schwab@redhat.com>
51674
51675 [BZ #10103]
51676 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51677 declarations for long double functions.
51678 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51679
51680 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51681
516822011-11-03 Andreas Schwab <schwab@redhat.com>
51683
51684 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51685 installed.
51686
51687 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51688 is disabled.
51689
516902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51691
51692 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51693
516942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51695
51696 * include/alloca.h (stackinfo_alloca_round): Define.
51697 (extend_alloca): Use it.
51698 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51699 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51700 here.
51701
51702 * scripts/check-local-headers.sh: Ignore libaudit.h.
51703
51704 * nscd/Makefile (extra-objs): Make recursively expanded.
51705
517062011-11-01 Ulrich Drepper <drepper@gmail.com>
51707
51708 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51710
51711 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51712 * posix/tst-rfc3484-2.c: Likewise.
51713 * posix/tst-rfc3484-3.c: Likewise.
51714
51715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51716 process_vm_writev.
51717 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51718 process_vm_writev.
51719 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51720 process_vm_writev from libc using GLIBC_2.15 version.
51721
51722 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51723
517242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51725
51726 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51727 stack usage.
51728
517292011-10-31 Ulrich Drepper <drepper@gmail.com>
51730
51731 [BZ #13367]
51732 * nss/getent.c (initgroups_keys): Show error message in case no group
51733 names are given.
51734
51735 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51736 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51737 __bump_nl_timestamp.
51738 * nscd/connections (nscd_init): When host database is served open
51739 netlink socket and request notification about configuration changes.
51740 (main_loop_poll): Track netlink file descriptor and bump timestamp
51741 in case data becomes available.
51742 (main_loop_epoll): Likewise.
51743 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51744 (database_pers_head): Add extra_data fileds.
51745 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51747 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51748 Adjust caller.
51749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51750 in6ai data, call __free_in6ai.
51751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51752 Add -DHAVE_NETLINK.
51753 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51754 interface information. Reuse previous data if netlink timestamp
51755 is not changed.
51756 (__bump_nl_timestamp): New function.
51757 (__free_in6ai): New function.
51758
517592011-10-30 Ulrich Drepper <drepper@gmail.com>
51760
51761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51762 close_not_cancel_no_status here.
51763 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51764
517652011-10-29 Ulrich Drepper <drepper@gmail.com>
51766
51767 [BZ #13276]
51768 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51769 return value.
51770
51771 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51772 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51773 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51774
517752011-07-03 Andreas Jaeger <aj@suse.de>
51776
51777 [BZ #10709]
51778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51779 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51780 * math/libm-test.inc (sin_test): Add test case.
51781
517822011-10-29 Ulrich Drepper <drepper@gmail.com>
51783
51784 [BZ #13337]
51785 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51787
51788 * elf/chroot_canon.c (chroot_canon): Cleanups.
51789
51790 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51791
51792 [BZ #13335]
51793 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51794 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51795
51796 * string/test-strchr.c: Make usable for strchrnul testing.
51797 * string/test-strchrnul.c: New file.
51798 * string/Makefile (strop-tests): Add strchrnul.
51799
51800 * po/it.po: Update from translation team.
51801 * po/es.po: Likewise.
51802
518032011-10-28 Ulrich Drepper <drepper@gmail.com>
51804
51805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51806 the three constants needed as parameters. Drop the others.
51807 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51808 __m128i_strloadu_tolower.
51809 Create and initialize variable zero and use it in all the places
51810 where _mm_setzero_si128 was used.
51811
51812 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51813 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51814 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51816 anymore.
51817 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51820 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51822 __mpranred, __mptan.
51823 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51824 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51825 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51826 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51832
518332011-10-28 Andreas Schwab <schwab@redhat.com>
51834
51835 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51836 redefine if SHARED.
51837 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51838
51839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51840 wide char related routines to wcsmbs subdir.
51841
518422011-10-27 Andreas Schwab <schwab@redhat.com>
51843
51844 [BZ #13344]
51845 * misc/sys/cdefs.h (__THROWNL): Define.
51846 * posix/unistd.h: Use __THREADNL instead of __THREAD
51847 for memory synchronization functions.
51848
518492011-10-26 Roland McGrath <roland@hack.frob.com>
51850
51851 [BZ #13349]
51852 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51853 doesn't exist.
51854 * manual/stdio.texi (Obstack Streams): Node removed.
51855
518562011-10-26 Andreas Schwab <schwab@redhat.com>
51857
51858 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51861
51862 * math/math_private.h (math_force_eval): Allow non-addressable
51863 arguments.
51864 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51865
518662011-10-25 Ulrich Drepper <drepper@gmail.com>
51867
51868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51869 file is not needed.
51870
51871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51878 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51879 Add AVX variants.
51880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51885 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51890 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51891 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51899
51900 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51901 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51902
51903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51904 place. Use VEX encoding when compiling for AVX.
51905
519062011-10-25 Andreas Schwab <schwab@redhat.com>
51907
51908 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51909 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51910
51911 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51912
519132011-10-25 Ulrich Drepper <drepper@gmail.com>
51914
51915 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51916 useless if() expression.
51917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51930 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51931 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51936
51937 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51938
519392011-10-25 Andreas Schwab <schwab@redhat.com>
51940
51941 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51942 condition.
51943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51944
519452011-10-25 Ulrich Drepper <drepper@gmail.com>
51946
51947 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51948 .text section. Avoid duplicate constants.
51949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51958 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51959 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51961 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51976 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51994
519952011-10-24 Ulrich Drepper <drepper@gmail.com>
51996
51997 * sysdeps/x86_64/dla.h: Move to ...
51998 * sysdeps/x86_64/fpu/dla.h: ...here.
51999 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52000 situations. Use __builtin_fma only for gcc 4.6 and up.
52001
52002 * config.make.in: Add have-mfma4 entry.
52003 * configure.in: Substitute libc_cv_cc_fma4.
52004 * math/Makefile (dbl-only-routines): Add sincostab.
52005 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52006 Use __sincostab not sincos.
52007 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52008 name is a macro.
52009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52013 using __copysign.
52014 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52015 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52016 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52017 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52018 and __inv.
52019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52020 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52021 __copysign.
52022 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52023 define aliases when function name is a macro.
52024 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52025 sysdeps/ieee754/dbl-64/sincos.tbl.
52026 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52027 fma4-enabled routines.
52028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52029 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52030 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52031 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52038 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52040 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52058
52059 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52060 rename.
52061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52069
520702011-10-24 Andreas Schwab <schwab@redhat.com>
52071
52072 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52073
520742011-10-23 Ulrich Drepper <drepper@gmail.com>
52075
52076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52077
52078 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52079 prediction.
52080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52081
52082 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52083 Remove unused variable magic_bits.
52084 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52085
52086 * string/strnlen.c: Define and use STRNLEN macro.
52087 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52088 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52090 * wcsmbs/wcslen.c: Define and use WCSLEN.
52091 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52092 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52093 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52094 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52095 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52096 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52098
520992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52100
52101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52102 strnlen-sse2-no-bsf.
52103 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52106 Add strnlen support.
52107 (USE_AS_STRNLEN): New macro.
52108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52110 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52111 * sysdeps/x86_64/wcslen.S: New file.
52112
521132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52114
52115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52116 XMM-moves are used for copying on small sizes.
52117
521182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52119
52120 * wcsmbs/Makefile (strop-tests): Add wcschr.
52121 * wcsmbs/test-wcschr.c: New file.
52122 * string/test-strchr.c: Update.
52123 Add wcschr support.
52124 (WIDE): New macro.
52125
521262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52127
52128 * wcsmbs/Makefile (strop-tests): Add wcslen.
52129 * wcsmbs/test-wcslen.c: New file.
52130 * string/test-strlen.c: Update.
52131 Add wcslen support.
52132 (WIDE): New macro.
52133
521342011-10-23 Ulrich Drepper <drepper@gmail.com>
52135
52136 * po/it.po: Update from translation team.
52137
521382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52139
52140 * sysdeps/x86_64/wcscmp.S: Update.
52141 Fix wrong comparison semantics.
52142 wcscmp shall use signed comparison not unsigned.
52143 Don't use substraction to avoid overflow bug.
52144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52145 * wcsmbc/wcscmp.c: Likewise.
52146 * string/test-strcmp.c: Likewise.
52147 Add new tests to check cases with negative values.
52148
521492011-10-23 Ulrich Drepper <drepper@gmail.com>
52150
52151 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52152 * sysdeps/x86_64/dla.h: ...here. New file.
52153 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52162
521632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52164
52165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52166 __ynl_finite aliases.
52167
521682011-10-22 Ulrich Drepper <drepper@gmail.com>
52169
52170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52171
52172 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52173 define DLA_FMA.
52174 [DLA_FMA] (EMULV): Use DLA_FMA.
52175 [DLA_FMA] (MUL12): Use EMULV.
52176 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52177 that are not needed.
52178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52185
521862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52187
52188 * math/s_nan.c: Undef __nan.
52189 * math/s_nanf.c: Undef __nanf.
52190 * math/s_nanl.c: Undef __nanl.
52191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52192 "math_private.h".
52193
521942011-10-22 Ulrich Drepper <drepper@gmail.com>
52195
52196 * math/s_catan.c: Add branch predictions.
52197 * math/s_catanf.c: Likewise.
52198 * math/s_catanh.c: Likewise.
52199 * math/s_catanhf.c: Likewise.
52200 * math/s_catanhl.c: Likewise.
52201 * math/s_catanl.c: Likewise.
52202 * math/s_cexp.c: Likewise.
52203 * math/s_cexpf.c: Likewise.
52204 * math/s_cexpl.c: Likewise.
52205 * math/s_clog.c: Likewise.
52206 * math/s_clog10.c: Likewise.
52207 * math/s_clog10f.c: Likewise.
52208 * math/s_clog10l.c: Likewise.
52209 * math/s_clogf.c: Likewise.
52210 * math/s_clogl.c: Likewise.
52211 * math/s_csqrt.c: Likewise.
52212 * math/s_csqrtf.c: Likewise.
52213 * math/s_csqrtl.c: Likewise.
52214 * math/s_ctanf.c: Likewise.
52215 * math/s_ctanh.c: Likewise.
52216 * math/s_ctanhf.c: Likewise.
52217 * math/s_ctanhl.c: Likewise.
52218 * math/s_ctanl.c: Likewise.
52219
52220 * math/math_private.h: Define __nan, __nanf, __nanl.
52221 * math/s_cacosh.c: Include <math_private.h>.
52222 * math/s_cacoshl.c: Likewise.
52223 * math/s_casinh.c: Likewise.
52224 * math/s_casinhf.c: Likewise.
52225 * math/s_casinhl.c: Likewise.
52226 * math/s_ccos.c: Rely entire on ccosh.
52227 * math/s_ccosf.c: Rely entire on ccoshf.
52228 * math/s_ccosl.c: Rely entirely on ccoshl.
52229 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52230 Remove tests for FE_INVALID.
52231 * math/s_ccoshf.c: Likewise.
52232 * math/s_ccoshl.c: Likewise.
52233 * math/s_csin.c: Likewise.
52234 * math/s_csinf.c: Likewise.
52235 * math/s_csinh.c Likewise.
52236 * math/s_csinhf.c: Likewise.
52237 * math/s_csinhl.c: Likewise.
52238 * math/s_csinl.c: Likewise.
52239 * math/s_ctan.c: Likewise.
52240 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52241 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52243
522442011-10-21 Ulrich Drepper <drepper@gmail.com>
52245
52246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52247 compilation problems.
52248
52249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52250 __builtin_expect.
52251
522522011-10-20 Ulrich Drepper <drepper@gmail.com>
52253
52254 * sysdeps/i386/configure.in: Test for -mfma4 option.
52255 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52256 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52257 COMMON_CPUID_INDEX_80000001.
52258 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52259 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52260 use it if FMA3 is not supported.
52261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52262
52263 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52265
522662011-10-20 Andreas Schwab <schwab@redhat.com>
52267
52268 [BZ #12892]
52269 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52270 it would create a cycle with a link time dependency.
52271
522722011-10-19 Ulrich Drepper <drepper@gmail.com>
52273
52274 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52275 instruction.
52276 * string/Makefile (strop-tests): Add rawmemchr.
52277 * string/test-rawmemchr.c: New file.
52278
52279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52281 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52282 when compiling str{,n}casecmp and when AVX is available. Hook up
52283 new optimized code in initializers.
52284
522852011-10-19 Andreas Schwab <schwab@redhat.com>
52286
52287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52288 __feraiseexcept instead of feraiseexcept.
52289
522902011-10-18 Ulrich Drepper <drepper@gmail.com>
52291
52292 * math/math_private.h: Define defaults for libc_fetestexcept and
52293 libc_feupdateenv.
52294 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52295 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52299 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52300 libc_fetestexcept and libc_feupdateenv.
52301
52302 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52303 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52304 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52305 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52306 libc_feholdexcept_setround.
52307
52308 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52309 Add s_nearbyint-c and s_nearbyintf-c.
52310 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52311 nearbyintf inlines.
52312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52316
52317 * math/math_private.h: Define defaults for libc_fegetround,
52318 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52319 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52320 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52322 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52323 standard functions.
52324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52325 Remove comments and hacks for old compiler versions.
52326 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52327 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52328 libc_feholdexceptl.
52329
523302011-10-18 Andreas Schwab <schwab@redhat.com>
52331
52332 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52333 (__feraiseexcept_renamed): Add __NTH.
52334 (feraiseexcept): Add __NTH. Rename local variables to fix
52335 namespace violations.
52336
523372011-10-17 Ulrich Drepper <drepper@gmail.com>
52338
52339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52340
52341 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52342
52343 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52344 recently added interfaces.
52345 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52346
52347 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52348 about macro parameter expansion.
52349
52350 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52351 __NO_MATH_INLINES is defined. Cleanups.
52352
52353 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52354 and __floorf is target has SSE4.1.
52355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52359
52360 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52361 name.
52362 (floorf): Likewise.
52363
52364 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52365
523662011-10-17 Andreas Schwab <schwab@redhat.com>
52367
52368 * misc/sys/cdefs.h: Fix last change.
52369
52370 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52371 database lookup.
52372
523732011-10-16 Ulrich Drepper <drepper@gmail.com>
52374
52375 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52376
52377 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52385 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52386 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52387 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52388 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52390 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52394 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52395 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52396 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52398 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52399
52400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52401 ceil, ceilf, floor, floorf.
52402
52403 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52404 Perform IRELATIVE relocations last.
52405
52406 * elf/do-rel.h: Add another parameter nrelative, replacing the
52407 local variable with the same name. Change name of the function
52408 to end in Rel or Rela (uppercase).
52409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52410 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52411 elf_dynamic_do_##reloc function.
52412
524132011-10-15 Ulrich Drepper <drepper@gmail.com>
52414
52415 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52416 is sufficient, at least on modern CPUs.
52417
52418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52419
52420 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52422
52423 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52424 __expl_finite.
52425 * math/bits/math-finite.h: Add entries for exp.
52426 * math/e_expl.c: Add __*_finite alias.
52427 * sysdeps/i386/fpu/e_exp.S: Likewise.
52428 * sysdeps/i386/fpu/e_expf.S: Likewise.
52429 * sysdeps/i386/fpu/e_expl.c: Likewise.
52430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52432 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52434 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52437
52438 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52439 is sufficient, at least on modern CPUs.
52440
52441 * ctype/ctype-info.c (__ctype_init): Define.
52442 * include/ctype.h (__ctype_init): Declare.
52443 (__ctype_b_loc): The variable is always initialized.
52444 (__ctype_toupper_loc): Likewise.
52445 (__ctype_tolower_loc): Likewise.
52446 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52447 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52448
524492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52450
52451 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52452
52453 * configure.in: Also look in $cxxmachine/include for C++ system
52454 headers.
52455
524562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52457
52458 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52459 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52460 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52461 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52463 (USE_AS_WMEMCMP): New macro.
52464 Fixing indents.
52465 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52466 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52467 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52468 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52470 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52471 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52473 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52474 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52476 (USE_AS_WMEMCMP): New macro.
52477 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52478 * sysdeps/string/test-memcmp.c: Update.
52479 Fix simple_wmemcmp.
52480 Add new tests.
52481 * wcsmbs/wmemcmp.c: Update.
52482 (WMEMCMP): New macro.
52483 Fix overflow bug.
52484
524852011-10-12 Andreas Jaeger <aj@suse.de>
52486
52487 [BZ #13268]
52488 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52489
524902011-10-15 Ulrich Drepper <drepper@gmail.com>
52491
52492 * libio/iofwide.c (do_length): Avoid warning.
52493
52494 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52495
524962011-10-14 Ulrich Drepper <drepper@gmail.com>
52497
52498 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52499
52500 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52501 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52502 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52503 * sysdeps/i386/i686/fpu/e_log.S: New file.
52504 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52505 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52506
52507 * ctype/ctype.h: Add support for inlined isXXX functions when
52508 compiling C++ code.
52509
525102011-10-14 Andreas Schwab <schwab@redhat.com>
52511
52512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52513
52514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52515
525162011-10-13 Roland McGrath <roland@hack.frob.com>
52517
52518 [BZ #13291]
52519 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52520
525212011-10-13 Andreas Schwab <schwab@redhat.com>
52522
52523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52524 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52525 feraiseexcept.
52526
52527 * sysdeps/x86_64/memrchr.S: Check for zero size.
52528
52529 * string/stratcliff.c: Add memrchr tests.
52530
525312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52532
52533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52534 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52535 rawmemchr-sse2 rawmemchr-sse2-bsf.
52536 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52537 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52538 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52539 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52540 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52541 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52542 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52543 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52546 * string/memrchr.c (MEMRCHR): New macro.
52547
525482011-10-12 Ulrich Drepper <drepper@gmail.com>
52549
52550 Add integration with gcc's -ffinite-math-only and optimize wrapper
52551 functions in libm.
52552 * Versions.def: Define GLIBC_2.15 version for libm.
52553 * math/Makefile (headers): Add bits/math-finite.h.
52554 * math/bits/math-finite.h: New file.
52555 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52556 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52557 * math/e_acoshl.c: Add __*_finite alias.
52558 * math/e_acosl.c: Likewise.
52559 * math/e_asinl.c: Likewise.
52560 * math/e_atan2l.c: Likewise.
52561 * math/e_atanhl.c: Likewise.
52562 * math/e_coshl.c: Likewise.
52563 * math/e_exp10.c: Likewise.
52564 * math/e_exp10f.c: Likewise.
52565 * math/e_exp10l.c: Likewise.
52566 * math/e_exp2l.c: Likewise.
52567 * math/e_fmodl.c: Likewise.
52568 * math/e_gammal_r.c: Likewise.
52569 * math/e_hypotl.c: Likewise.
52570 * math/e_j0l.c: Likewise.
52571 * math/e_j1l.c: Likewise.
52572 * math/e_jnl.c: Likewise.
52573 * math/e_lgammal_r.c: Likewise.
52574 * math/e_log10l.c: Likewise.
52575 * math/e_log2l.c: Likewise.
52576 * math/e_logl.c: Likewise.
52577 * math/e_powl.c: Likewise.
52578 * math/e_sinhl.c: Likewise.
52579 * math/e_sqrtl.c: Likewise.
52580 * math/e_scalb.c: Completely rewritten and optimized.
52581 * math/e_scalbf.c: Likewise.
52582 * math/e_scalbl.c: Likewise.
52583 * math/w_acos.c: Likewise.
52584 * math/w_acosf.c: Likewise.
52585 * math/w_acosl.c: Likewise.
52586 * math/w_acosh.c: Likewise.
52587 * math/w_acoshf.c: Likewise.
52588 * math/w_acoshl.c: Likewise.
52589 * math/w_asin.c: Likewise.
52590 * math/w_asinf.c: Likewise.
52591 * math/w_asinl.c: Likewise.
52592 * math/w_atan2.c: Likewise.
52593 * math/w_atan2f.c: Likewise.
52594 * math/w_atan2l.c: Likewise.
52595 * math/w_atanh.c: Likewise.
52596 * math/w_atanhf.c: Likewise.
52597 * math/w_atanhl.c: Likewise.
52598 * math/w_exp10.c: Likewise.
52599 * math/w_exp10f.c: Likewise.
52600 * math/w_exp10l.c: Likewise.
52601 * math/w_fmod.c: Likewise.
52602 * math/w_fmodf.c: Likewise.
52603 * math/w_fmodl.c: Likewise.
52604 * math/w_j0.c: Likewise.
52605 * math/w_j0f.c: Likewise.
52606 * math/w_j0l.c: Likewise.
52607 * math/w_j1.c: Likewise.
52608 * math/w_j1f.c: Likewise.
52609 * math/w_j1l.c: Likewise.
52610 * math/w_jn.c: Likewise.
52611 * math/w_jnf.c: Likewise.
52612 * math/w_log.c: Likewise.
52613 * math/w_logf.c: Likewise.
52614 * math/w_logl.c: Likewise.
52615 * math/w_log10.c: Likewise.
52616 * math/w_log10f.c: Likewise.
52617 * math/w_log10l.c: Likewise.
52618 * math/w_log2.c: Likewise.
52619 * math/w_log2f.c: Likewise.
52620 * math/w_log2l.c: Likewise.
52621 * math/w_pow.c: Likewise.
52622 * math/w_powf.c: Likewise.
52623 * math/w_powl.c: Likewise.
52624 * math/w_remainder.c: Likewise.
52625 * math/w_remainderf.c: Likewise.
52626 * math/w_remainderl.c: Likewise.
52627 * math/w_scalb.c: Likewise.
52628 * math/w_scalbf.c: Likewise.
52629 * math/w_scalbl.c: Likewise.
52630 * math/w_sqrt.c: Likewise.
52631 * math/w_sqrtf.c: Likewise.
52632 * math/w_sqrtl.c: Likewise.
52633 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52634 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52635 used.
52636 * math/math_private.h: Declare __kernel_standard_f.
52637 * math/w_cosh.c: Remove cruft and optimize a bit.
52638 * math/w_coshf.c: Likewise.
52639 * math/w_coshl.c: Likewise.
52640 * math/w_exp2.c: Likewise.
52641 * math/w_exp2f.c: Likewise.
52642 * math/w_exp2l.c: Likewise.
52643 * math/w_hypot.c: Likewise.
52644 * math/w_hypotf.c: Likewise.
52645 * math/w_hypotl.c: Likewise.
52646 * math/w_lgamma.c: Likewise.
52647 * math/w_lgamma_r.c: Likewise.
52648 * math/w_lgammaf.c: Likewise.
52649 * math/w_lgammaf_r.c: Likewise.
52650 * math/w_lgammal.c: Likewise.
52651 * math/w_lgammal_r.c: Likewise.
52652 * math/w_sinh.c: Likewise.
52653 * math/w_sinhf.c: Likewise.
52654 * math/w_sinhl.c: Likewise.
52655 * math/w_tgamma.c: Likewise.
52656 * math/w_tgammaf.c: Likewise.
52657 * math/w_tgammal.c: Likewise.
52658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52660 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52661 Minor optimizations. Pretty printing. Remove cruft.
52662 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52666 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52667 * sysdeps/i386/fpu/e_asin.S: Likewise.
52668 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52669 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52670 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52671 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52674 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52675 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52676 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52677 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52678 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52679 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52680 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52681 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52682 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52683 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52684 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52685 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52686 * sysdeps/i386/fpu/e_log.S: Likewise.
52687 * sysdeps/i386/fpu/e_log10.S: Likewise.
52688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52690 * sysdeps/i386/fpu/e_log2.S: Likewise.
52691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52693 * sysdeps/i386/fpu/e_logf.S: Likewise.
52694 * sysdeps/i386/fpu/e_logl.S: Likewise.
52695 * sysdeps/i386/fpu/e_pow.S: Likewise.
52696 * sysdeps/i386/fpu/e_powf.S: Likewise.
52697 * sysdeps/i386/fpu/e_powl.S: Likewise.
52698 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52699 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52700 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52704 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52705 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52706 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52710 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52712 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52725 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52757 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52762 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52763 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52764 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52790 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52794 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52795 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52796 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52797 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52804 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52805 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52806 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52807 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52808 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52809 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52810 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52815 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52817 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52818 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52819 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52820 (__isnanf): Likewise.
52821 (__isinf_ns): Likewise.
52822 (__isinf_nsf): Likewise.
52823 (__finite): Likewise.
52824 (__finitef): Likewise.
52825 (__ieee754_sqrt): Define as macro.
52826 (__ieee754_sqrtf): Define as macro.
52827 (__ieee754_sqrtl): Define as macro.
52828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52829 inlined copy.
52830 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52831 __FINITE_MATH_ONLY__ consistent.
52832 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52833
528342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52835
52836 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52837 of rawmemchr.
52838
52839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52840
528412011-10-09 Ulrich Drepper <drepper@gmail.com>
52842
52843 * po/ja.po: Update from translation team.
52844
528452011-10-08 Roland McGrath <roland@hack.frob.com>
52846
52847 * locale/programs/locarchive.c (prepare_address_space): New function.
52848 (create_archive, enlarge_archive, open_archive): Use it.
52849
52850 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52851 inside [SHARED], where it is used.
52852
52853 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52854
52855 * nss/getent.c (netgroup_keys): Remove unused variable.
52856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52857
528582011-10-08 Ulrich Drepper <drepper@gmail.com>
52859
52860 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52866 * math/Makefile (libm-calls): Add s_isinf_ns.
52867 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52868 * math/multc3.c: Likewise.
52869 * math/s_casin.c: Likewise.
52870 * math/s_casinf.c: Likewise.
52871 * math/s_casinl.c: Likewise.
52872 * math/s_ccos.c: Likewise.
52873 * math/s_ccosf.c: Likewise.
52874 * math/s_ccosl.c: Likewise.
52875 * math/s_ctan.c: Likewise.
52876 * math/s_ctanf.c: Likewise.
52877 * math/s_ctanh.c: Likewise.
52878 * math/s_ctanhf.c: Likewise.
52879 * math/s_ctanhl.c: Likewise.
52880 * math/s_ctanl.c: Likewise.
52881 * math/w_fmod.c: Likewise.
52882 * math/w_fmodf.c: Likewise.
52883 * math/w_fmodl.c: Likewise.
52884 * math/w_remainder.c: Likewise.
52885 * math/w_remainderf.c: Likewise.
52886 * math/w_remainderl.c: Likewise.
52887 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52888 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52891 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52892 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52893 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52894 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52895
52896 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52897 of the number.
52898 * stdio-common/printf_fphex.c: Likewise.
52899 * stdio-common/printf_size.c: Likewise.
52900
52901 * math/e_exp10.c: Include math_private.h using <...> not "...".
52902 * math/e_exp10f.c: Likewise.
52903 * math/e_exp10l.c: Likewise.
52904 * math/e_exp2l.c: Likewise.
52905 * math/e_j0l.c: Likewise.
52906 * math/e_j1l.c: Likewise.
52907 * math/e_jnl.c: Likewise.
52908 * math/e_lgammal_r.c: Likewise.
52909 * math/e_rem_pio2l.c: Likewise.
52910 * math/e_scalb.c: Likewise.
52911 * math/e_scalbf.c: Likewise.
52912 * math/e_scalbl.c: Likewise.
52913 * math/k_cosl.c: Likewise.
52914 * math/k_sinl.c: Likewise.
52915 * math/k_tanl.c: Likewise.
52916 * math/s_cacoshf.c: Likewise.
52917 * math/s_catan.c: Likewise.
52918 * math/s_catanf.c: Likewise.
52919 * math/s_catanh.c: Likewise.
52920 * math/s_catanhf.c: Likewise.
52921 * math/s_catanhl.c: Likewise.
52922 * math/s_catanl.c: Likewise.
52923 * math/s_ccosh.c: Likewise.
52924 * math/s_ccoshf.c: Likewise.
52925 * math/s_ccoshl.c: Likewise.
52926 * math/s_cexp.c: Likewise.
52927 * math/s_cexpf.c: Likewise.
52928 * math/s_cexpl.c: Likewise.
52929 * math/s_clog.c: Likewise.
52930 * math/s_clog10.c: Likewise.
52931 * math/s_clog10f.c: Likewise.
52932 * math/s_clog10l.c: Likewise.
52933 * math/s_clogf.c: Likewise.
52934 * math/s_clogl.c: Likewise.
52935 * math/s_csin.c: Likewise.
52936 * math/s_csinf.c: Likewise.
52937 * math/s_csinh.c: Likewise.
52938 * math/s_csinhf.c: Likewise.
52939 * math/s_csinhl.c: Likewise.
52940 * math/s_csinl.c: Likewise.
52941 * math/s_csqrt.c: Likewise.
52942 * math/s_csqrtf.c: Likewise.
52943 * math/s_csqrtl.c: Likewise.
52944 * math/s_ctan.c: Likewise.
52945 * math/s_ctanf.c: Likewise.
52946 * math/s_ctanh.c: Likewise.
52947 * math/s_ctanhf.c: Likewise.
52948 * math/s_ctanhl.c: Likewise.
52949 * math/s_ctanl.c: Likewise.
52950 * math/s_ldexp.c: Likewise.
52951 * math/s_ldexpf.c: Likewise.
52952 * math/s_ldexpl.c: Likewise.
52953 * math/s_significand.c: Likewise.
52954 * math/s_significandf.c: Likewise.
52955 * math/s_significandl.c: Likewise.
52956 * math/w_acos.c: Likewise.
52957 * math/w_acosf.c: Likewise.
52958 * math/w_acosh.c: Likewise.
52959 * math/w_acoshf.c: Likewise.
52960 * math/w_acoshl.c: Likewise.
52961 * math/w_acosl.c: Likewise.
52962 * math/w_asin.c: Likewise.
52963 * math/w_asinf.c: Likewise.
52964 * math/w_asinl.c: Likewise.
52965 * math/w_atan2.c: Likewise.
52966 * math/w_atan2f.c: Likewise.
52967 * math/w_atan2l.c: Likewise.
52968 * math/w_atanh.c: Likewise.
52969 * math/w_atanhf.c: Likewise.
52970 * math/w_atanhl.c: Likewise.
52971 * math/w_cosh.c: Likewise.
52972 * math/w_coshf.c: Likewise.
52973 * math/w_coshl.c: Likewise.
52974 * math/w_dremf.c: Likewise.
52975 * math/w_exp10.c: Likewise.
52976 * math/w_exp10f.c: Likewise.
52977 * math/w_exp10l.c: Likewise.
52978 * math/w_exp2.c: Likewise.
52979 * math/w_exp2f.c: Likewise.
52980 * math/w_fmod.c: Likewise.
52981 * math/w_fmodf.c: Likewise.
52982 * math/w_fmodl.c: Likewise.
52983 * math/w_hypot.c: Likewise.
52984 * math/w_hypotf.c: Likewise.
52985 * math/w_hypotl.c: Likewise.
52986 * math/w_j0.c: Likewise.
52987 * math/w_j0f.c: Likewise.
52988 * math/w_j0l.c: Likewise.
52989 * math/w_j1.c: Likewise.
52990 * math/w_j1f.c: Likewise.
52991 * math/w_j1l.c: Likewise.
52992 * math/w_jn.c: Likewise.
52993 * math/w_jnf.c: Likewise.
52994 * math/w_jnl.c: Likewise.
52995 * math/w_lgamma.c: Likewise.
52996 * math/w_lgamma_r.c: Likewise.
52997 * math/w_lgammaf.c: Likewise.
52998 * math/w_lgammaf_r.c: Likewise.
52999 * math/w_lgammal.c: Likewise.
53000 * math/w_lgammal_r.c: Likewise.
53001 * math/w_log.c: Likewise.
53002 * math/w_log10.c: Likewise.
53003 * math/w_log10f.c: Likewise.
53004 * math/w_log10l.c: Likewise.
53005 * math/w_log2.c: Likewise.
53006 * math/w_log2f.c: Likewise.
53007 * math/w_log2l.c: Likewise.
53008 * math/w_logf.c: Likewise.
53009 * math/w_logl.c: Likewise.
53010 * math/w_pow.c: Likewise.
53011 * math/w_powf.c: Likewise.
53012 * math/w_powl.c: Likewise.
53013 * math/w_remainder.c: Likewise.
53014 * math/w_remainderf.c: Likewise.
53015 * math/w_remainderl.c: Likewise.
53016 * math/w_scalb.c: Likewise.
53017 * math/w_scalbf.c: Likewise.
53018 * math/w_scalbl.c: Likewise.
53019 * math/w_sinh.c: Likewise.
53020 * math/w_sinhf.c: Likewise.
53021 * math/w_sinhl.c: Likewise.
53022 * math/w_sqrt.c: Likewise.
53023 * math/w_sqrtf.c: Likewise.
53024 * math/w_sqrtl.c: Likewise.
53025 * math/w_tgamma.c: Likewise.
53026 * math/w_tgammaf.c: Likewise.
53027 * math/w_tgammal.c: Likewise.
53028
53029 * po/ja.po: Update from translation team.
53030
530312011-09-29 Andreas Jaeger <aj@suse.de>
53032
53033 [BZ #13179]
53034 * sunrpc/netname.c (netname2host): Fix logic.
53035
53036 [BZ #6779]
53037 [BZ #6783]
53038 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53039 correctly.
53040 * math/w_remainder.c (__remainder): Likewise.
53041 * math/w_remainderf.c (__remainderf): Likewise.
53042 * math/libm-test.inc (remainder_test): Add test cases.
53043
530442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53045
53046 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53047 sdiv_qrnnd.
53048
530492011-10-07 Ulrich Drepper <drepper@gmail.com>
53050
53051 * string/test-memcmp.c: Avoid unncessary #defines.
53052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53053
530542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53055
53056 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53057 Use new sse2 version for core i3 - i7 as it's faster
53058 than sse42 version.
53059 (bit_Prefer_PMINUB_for_stringop): New.
53060 * sysdeps/x86_64/rawmemchr.S: Update.
53061 Replace with faster SSE2 version.
53062 * sysdeps/x86_64/memrchr.S: New file.
53063 * sysdeps/x86_64/memchr.S: Update.
53064 Replace with faster SSE2 version.
53065
530662011-09-12 Marek Polacek <mpolacek@redhat.com>
53067
53068 * elf/dl-load.c (lose): Add cast to avoid warning.
53069
530702011-10-07 Ulrich Drepper <drepper@gmail.com>
53071
53072 * po/ca.po: Update from translation team.
53073
53074 * inet/getnetgrent_r.c: Hook up nscd.
53075 * nscd/Makefile (routines): Add nscd_netgroup.
53076 (nscd-modules): Add netgroupcache.
53077 (CFLAGS-netgroupcache.c): Define.
53078 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53079 (cache_search): Add const to second parameter.
53080 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53081 INNETGR.
53082 (dbs): Add netgrdb entry.
53083 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53084 (verify_persistent_db): Handle netgrdb.
53085 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53086 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53087 GETFDNETGR.
53088 (netgroup_response_header): Define.
53089 (innetgroup_response_header): Define.
53090 (datahead): Add netgroup_response_header and innetgroup_response_header
53091 elements.
53092 * nscd/nscd.conf: Add entries for netgroup cache.
53093 * nscd/nscd.h (dbtype): Add netgrdb.
53094 (_PATH_NSCD_NETGROUP_DB): Define.
53095 (netgroup_iov_disabled): Declare.
53096 (xmalloc, xcalloc, xrealloc): Move declarations here.
53097 (cache_search): Adjust prototype.
53098 Add netgroup-related prototypes.
53099 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53100 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53101 (__nscd_innetgr): Declare.
53102 * nscd/selinux.c (perms): Use access_vector_t as element type and
53103 add netgroup-related initializers.
53104 * nscd/netgroupcache.c: New file.
53105 * nscd/nscd_netgroup.c: New file.
53106 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53107 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53108 For four parameters use innetgr.
53109 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53110 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53111 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53112 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53113
53114 * nscd/connections.c (register_traced_file): Don't register file
53115 for disabled databases.
53116
531172011-10-06 Ulrich Drepper <drepper@gmail.com>
53118
53119 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53120
53121 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53122 from tree and freeing node.
53123
531242011-09-25 Jiri Olsa <jolsa@redhat.com>
53125
53126 * nss/nsswitch.c (__nss_database_lookup): Handle
53127 nss_parse_service_list out of memory case.
53128
531292011-09-15 Jiri Olsa <jolsa@redhat.com>
53130
53131 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53132 out of memory case.
53133
531342011-10-04 Andreas Schwab <schwab@redhat.com>
53135
53136 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53137 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53138 pass it down.
53139 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53140 elf_machine_rela, elf_machine_lazy_rel.
53141 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53142 (ELF_DYNAMIC_DO_REL): Likewise.
53143 (ELF_DYNAMIC_DO_RELA): Likewise.
53144 (ELF_DYNAMIC_RELOCATE): Likewise.
53145 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53146 to ELF_DYNAMIC_DO_REL.
53147 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53148 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53149 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53150 elf_machine_rela.
53151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53152 skip_ifunc, don't call ifunc function if non-zero.
53153 (elf_machine_rela): Likewise.
53154 (elf_machine_lazy_rel): Likewise.
53155 (elf_machine_lazy_rela): Likewise.
53156 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53157 (elf_machine_lazy_rel): Likewise.
53158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53159 Likewise.
53160 (elf_machine_lazy_rel): Likewise.
53161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53162 Likewise.
53163 (elf_machine_lazy_rel): Likewise.
53164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53165 (elf_machine_lazy_rel): Likewise.
53166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53167 (elf_machine_lazy_rel): Likewise.
53168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53169 (elf_machine_lazy_rel): Likewise.
53170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53171 (elf_machine_lazy_rel): Likewise.
53172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53173 (elf_machine_lazy_rel): Likewise.
53174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53175 (elf_machine_lazy_rel): Likewise.
53176
531772011-09-28 Ulrich Drepper <drepper@gmail.com>
53178
53179 * nss/nss_files/files-init.c (_nss_files_init): Use static
53180 initialization for all the *_traced_file variables.
53181
531822011-09-28 Andreas Schwab <schwab@redhat.com>
53183
53184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53185
531862011-09-27 Roland McGrath <roland@hack.frob.com>
53187
53188 [BZ #13226]
53189 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53190
531912011-09-27 Andreas Schwab <schwab@redhat.com>
53192
53193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53194 Reread the line before reparsing it.
53195
531962011-09-26 Andreas Schwab <schwab@redhat.com>
53197
53198 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53199
532002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53201 Maxim Kuvyrkov <maxim@codesourcery.com>
53202 Joseph Myers <joseph@codesourcery.com>
53203
53204 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53205 if needed for __stack_chk_guard.
53206
532072011-09-19 Roland McGrath <roland@hack.frob.com>
53208
53209 * sysdeps/posix/spawni.c (script_execute): Always define it.
53210 It will be optimized away if unused.
53211 (maybe_script_execute): New function.
53212 (__spawni): Call it.
53213
53214 * Makerules: Don't include tls.make.
53215 (config-tls): Always set to thread.
53216 * tls.make.c: File removed.
53217
532182011-09-19 Mike Frysinger <vapier@gentoo.org>
53219
53220 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53221 * config.make.in (CPPFLAGS-config): New substituted variable.
53222
532232011-09-15 Ulrich Drepper <drepper@gmail.com>
53224
53225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53226
53227 [BZ #13192]
53228 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53229 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53230
532312011-09-15 Roland McGrath <roland@hack.frob.com>
53232
53233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53234 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53236 (CALL_FAIL): Likewise.
53237 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53238 (CALL_FAIL): Macro removed.
53239 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53240
532412011-09-15 Ulrich Drepper <drepper@gmail.com>
53242
53243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53244 for __FINITE_MATH_ONLY__ == 1.
53245
532462011-09-15 Andreas Schwab <schwab@redhat.com>
53247
53248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53249 __ieee754_sqrt instead of sqrt.
53250 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53251 __ieee754_sqrtf instead of sqrtf.
53252 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53253 __floorf instead of floorf.
53254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53255 __floorf, __truncf instead of floorf, truncf.
53256
532572011-09-14 Ulrich Drepper <drepper@gmail.com>
53258
53259 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53260
53261 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53262 __extern_always_inline.
53263 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53264 32-bit.
53265
532662011-09-14 Andreas Schwab <schwab@redhat.com>
53267
53268 * elf/rtld.c (dl_main): Also relocate in dependency order when
53269 doing symbol dependency testing.
53270
532712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53272
53273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53274 Always define `refsym'.
53275
532762011-09-13 Andreas Schwab <schwab@redhat.com>
53277
53278 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53279 (__FD_ELT): Renamed from __FDELT.
53280 * misc/bits/select2.h (__FD_ELT): Likewise.
53281 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53282 __FD_MASK instead of __FDELT, __FDMASK.
53283 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53284 Likewise.
53285 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53286 Likewise.
53287
53288 * elf/Makefile (gen-ldd): Fix pattern.
53289
53290 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53291 (init_tls): Likewise.
53292
532932011-09-12 Ulrich Drepper <drepper@gmail.com>
53294
53295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53296
532972011-09-12 Andreas Schwab <schwab@redhat.com>
53298
53299 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53300 `struct cmsghdr *' instead of `void *'.
53301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53302 Likewise.
53303
533042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53305
53306 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53307 if non-absolute.
53308 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53309 ldd_rewrite_script.
53310
533112011-09-11 Ulrich Drepper <drepper@gmail.com>
53312
53313 * configure.in: Remove --with-tls option.
53314 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53315 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53316 out in case it is missing.
53317 * sysdeps/ia64/elf/configure.in: Likewise.
53318 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53319 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53320 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53321 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53322 * sysdeps/sh/elf/configure.in: Likewise.
53323 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53325 * sysdeps/x86_64/elf/configure.in: Likewise.
53326 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53327 * sysdeps/mach/hurd/tls.h: Likewise.
53328
53329 [BZ #13067]
53330 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53331
53332 [BZ #13090]
53333 * configure.in: Fix use of AC_INIT.
53334
53335 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53336
533372011-09-10 Ulrich Drepper <drepper@gmail.com>
53338
53339 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53340 __set_errno.
53341 * malloc/hooks.c: Likewise.
53342
53343 [BZ #11929]
53344 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53345 variables statically.
53346 (narenas): Initialize.
53347 (list_lock): Initialize.
53348 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53349 initializtion of main_arena and list_lock. Small cleanups.
53350 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53351 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53352 Add initializers to main_arena and mp_.
53353 (malloc_state): Remove pagesize member. Change all users to use
53354 GLRO(dl_pagesize).
53355
53356 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53357 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53358 is always initialized.
53359
53360 * malloc/malloc.c: Removed unused configurations and dead code.
53361 * malloc/arena.c: Likewise.
53362 * malloc/hooks.c: Likewise.
53363 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53364
53365 * include/tls.h: Removed. USE___THREAD must always be defined.
53366 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53367 * elf/dl-libc.c: Likewise.
53368 * elf/dl-tsd.c: Likewise.
53369 * include/errno.h: Likewise.
53370 * include/netdb.h: Likewise.
53371 * include/resolv.h: Likewise.
53372 * inet/herrno-loc.c: Likewise.
53373 * inet/herrno.c: Likewise.
53374 * malloc/arena.c: Likewise.
53375 * malloc/hooks.c: Likewise.
53376 * malloc/malloc.c: Likewise.
53377 * resolv/res-state.c: Likewise.
53378 * resolv/res_libc.c: Likewise.
53379 * sysdeps/i386/dl-machine.h: Likewise.
53380 * sysdeps/ia64/dl-machine.h: Likewise.
53381 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53383 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53384 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53385 * sysdeps/sh/dl-machine.h: Likewise.
53386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53388 * sysdeps/unix/i386/sysdep.S: Likewise.
53389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53390 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53400 * sysdeps/x86_64/dl-machine.h: Likewise.
53401 * tls.make.c: Likewise.
53402
53403 * configure.in: Remove --with-__thread option. Make tests for
53404 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53405 tls_model attribute fail if no support is available. Remove
53406 USE_IN_LIBIO.
53407 * Makeconfig: Adjust for dropped configure option. All features are
53408 now mandatory.
53409 * Makerules: Likewise.
53410 * Versions.def: Likewise.
53411 * argp/argp-fmtstream.c: Likewise.
53412 * argp/argp-fmtstream.h: Likewise.
53413 * argp/argp-help.c: Likewise.
53414 * assert/assert.c: Likewise.
53415 * config.h.in: Likewise.
53416 * config.make.in: Likewise.
53417 * configure: Likewise.
53418 * configure.in: Likewise.
53419 * csu/Versions: Likewise.
53420 * csu/init.c: Likewise.
53421 * elf/tst-audit2.c: Likewise.
53422 * elf/tst-tls10.c: Likewise.
53423 * elf/tst-tls10.h: Likewise.
53424 * elf/tst-tls11.c: Likewise.
53425 * elf/tst-tls12.c: Likewise.
53426 * elf/tst-tls14.c: Likewise.
53427 * elf/tst-tlsmod11.c: Likewise.
53428 * elf/tst-tlsmod12.c: Likewise.
53429 * elf/tst-tlsmod13.c: Likewise.
53430 * elf/tst-tlsmod13a.c: Likewise.
53431 * elf/tst-tlsmod14a.c: Likewise.
53432 * elf/tst-tlsmod15b.c: Likewise.
53433 * elf/tst-tlsmod16a.c: Likewise.
53434 * elf/tst-tlsmod16b.c: Likewise.
53435 * elf/tst-tlsmod7.c: Likewise.
53436 * elf/tst-tlsmod8.c: Likewise.
53437 * elf/tst-tlsmod9.c: Likewise.
53438 * gmon/gmon.c: Likewise.
53439 * grp/fgetgrent_r.c: Likewise.
53440 * grp/putgrent.c: Likewise.
53441 * hurd/fopenport.c: Likewise.
53442 * include/libc-symbols.h: Likewise.
53443 * include/tls.h: Likewise.
53444 * intl/gettextP.h: Likewise.
53445 * intl/loadinfo.h: Likewise.
53446 * locale/global-locale.c: Likewise.
53447 * locale/localeinfo.h: Likewise.
53448 * mach/devstream.c: Likewise.
53449 * malloc/arena.c: Likewise.
53450 * malloc/set-freeres.c: Likewise.
53451 * misc/err.c: Likewise.
53452 * misc/getttyent.c: Likewise.
53453 * misc/mntent_r.c: Likewise.
53454 * posix/getopt.c: Likewise.
53455 * posix/wordexp.c: Likewise.
53456 * pwd/fgetpwent_r.c: Likewise.
53457 * resolv/Versions: Likewise.
53458 * resolv/res_hconf.c: Likewise.
53459 * shadow/fgetspent_r.c: Likewise.
53460 * shadow/putspent.c: Likewise.
53461 * stdio-common/printf_fphex.c: Likewise.
53462 * stdio-common/tmpfile.c: Likewise.
53463 * stdlib/abort.c: Likewise.
53464 * stdlib/fmtmsg.c: Likewise.
53465 * sunrpc/auth_unix.c: Likewise.
53466 * sunrpc/clnt_perr.c: Likewise.
53467 * sunrpc/clnt_tcp.c: Likewise.
53468 * sunrpc/clnt_udp.c: Likewise.
53469 * sunrpc/clnt_unix.c: Likewise.
53470 * sunrpc/openchild.c: Likewise.
53471 * sunrpc/svc_simple.c: Likewise.
53472 * sunrpc/svc_tcp.c: Likewise.
53473 * sunrpc/svc_udp.c: Likewise.
53474 * sunrpc/svc_unix.c: Likewise.
53475 * sunrpc/xdr.c: Likewise.
53476 * sunrpc/xdr_array.c: Likewise.
53477 * sunrpc/xdr_rec.c: Likewise.
53478 * sunrpc/xdr_ref.c: Likewise.
53479 * sunrpc/xdr_stdio.c: Likewise.
53480
534812011-09-09 Ulrich Drepper <drepper@gmail.com>
53482
53483 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53484
534852011-07-03 Andreas Jaeger <aj@suse.de>
53486
53487 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53488 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53489 regenerate with gen-libm-tests.pl.
53490
534912010-05-12 Petr Baudis <pasky@suse.cz>
53492
53493 [BZ #11589]
53494 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53495 around j0() zero points by switching to j1().
53496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53500
535012011-09-09 Ulrich Drepper <drepper@gmail.com>
53502
53503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53504 instead of 0.
53505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53506 instead of 0.
53507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53508 Patch in part by Pavel Roskin <proski@gnu.org>.
53509
53510 [BZ #13138]
53511 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53512 realloc.
53513 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53514 Free memory block if necessary.
53515
53516 [BZ #12847]
53517 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53518 be NULL. Don't lock in this case.
53519
535202011-09-09 Roland McGrath <roland@hack.frob.com>
53521
53522 * elf/elf.h (ELFOSABI_GNU): New macro.
53523 (ELFOSABI_LINUX): Define to that.
53524
535252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53526
53527 * string/strncat.c (strncat): Undef the symbol in case it has been
53528 defined in bits/string.h.
53529
535302011-09-09 Ulrich Drepper <drepper@gmail.com>
53531
53532 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53533
53534 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53535 link map.
53536
535372011-08-17 Andreas Jaeger <aj@suse.de>
53538
53539 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53540
535412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53542 Ian Lance Taylor <iant@google.com>
53543
53544 * math/libm-test.inc (lround_test): New testcase.
53545 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53546
535472011-09-08 Ulrich Drepper <drepper@gmail.com>
53548
53549 * Makefile: Remove support for automatic cvs check-ins.
53550 * Makerules: Likewise.
53551 * config.make.in: Likewise.
53552 * configure.in: Likewise.
53553 * intl/Makefile: Likewise.
53554 * locale/Makefile: Likewise.
53555 * po/Makefile: Likewise.
53556 * posix/Makefile: Likewise.
53557 * sysdeps/gnu/Makefile: Likewise.
53558 * sysdeps/mach/hurd/Makefile: Likewise.
53559 * sysdeps/sparc/sparc32/Makefile: Likewise.
53560
53561 [BZ #13118]
53562 * posix/Makefile (bug-regex32-ENV): Define.
53563 Patch by John Stanley <jpsinthemix@verizon.net>.
53564
53565 * misc/Makefile (headers): Add bits/select2.h.
53566 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53567 * misc/bits/select2.h: New file.
53568 * include/bits/select2.h: New file.
53569 * debug/Makefile (routines): Add fdelt_chk.
53570 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53571 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53572 FD_ISSET.
53573 * debug/fdelt_chk.c: New file.
53574
53575 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53576 * wcsmbs/test-wmemcmp.c: Likewise.
53577 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53578 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53579
535802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53581
53582 * string/Makefile (strop-tests): Add memcmp.
53583 * string/test-wmemcmp.c: New file.
53584 * string/test-memcmp.c: Add wmemcmp support.
53585
535862011-09-08 Roland McGrath <roland@hack.frob.com>
53587
53588 [BZ #13153]
53589 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53590 2011-07-19 change.
53591
53592 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53593 garbage value in a __mach_port_mod_refs call in the cases of the
53594 task-self and thread-self ports.
53595
535962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53597
53598 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53599
536002011-09-08 Andreas Schwab <schwab@redhat.com>
53601
53602 * elf/dl-load.c (lose): Check for non-null L.
53603
536042011-09-07 Ulrich Drepper <drepper@gmail.com>
53605
53606 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53607
53608 * elf/dl-libc.c (dlerror_run): Pass back error code from
53609 dl_catch_error.
53610
53611 [BZ #13123]
53612 * elf/dl-load.c (lose): Free l_origin if it is valid.
53613
53614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53615 names.
53616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53621 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53622
536232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53624
53625 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53626 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53629 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53630 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53631 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53632 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53633 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53634 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53635
536362011-08-15 Alan Modra <amodra@gmail.com>
53637
53638 [BZ #13092]
53639 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53640 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53641 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53642 ppc_mcount to static-only-routines.
53643 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53644 __mcount_internal.
53645 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53646 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53647
536482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53649
53650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53651 for finite and infinity parameters.
53652
536532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53654
53655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53656 and add nop instructions for throughput optimization.
53657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53658
536592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53660
53661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53662 aligned copy for power7 with vector-scalar instructions.
53663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53664
536652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53666
53667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53668 AVX check.
53669
536702011-09-07 Andreas Schwab <schwab@redhat.com>
53671
53672 [BZ #13144]
53673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53674 last change.
53675
536762011-09-07 Ulrich Drepper <drepper@gmail.com>
53677
53678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53679 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53680 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53682 clock_gettime.
53683
536842011-09-06 Ulrich Drepper <drepper@gmail.com>
53685
53686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53687 Forgot to demangle the pointer.
53688
53689 * sysdeps/i386/sysdep.h: Define atom_text_section.
53690 * sysdeps/x86_64/sysdep.h: Likewise.
53691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53692 section with atom_text_section.
53693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53698
53699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53701 already be defined. Change to take two parameters and don't assign
53702 result to variable. Adjust all users.
53703 Define INTERNAL_GETTIME if not already defined.
53704 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53705 call.
53706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53707 HAVE_CLOCK_GETTIME_VSYSCALL.
53708 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53709
53710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53711 gettimeofday vsyscall, just use time.
53712
537132011-09-06 Andreas Schwab <schwab@redhat.com>
53714
53715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53716 <errno.h>.
53717
537182011-09-06 Ulrich Drepper <drepper@gmail.com>
53719
53720 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53721 syscall on x86-64.
53722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53723 syscall.
53724 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53726 syscall if possible.
53727
537282011-09-05 Ulrich Drepper <drepper@gmail.com>
53729
53730 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53731 e_ident. Don't pass to find_mapsXX.
53732 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53733
537342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53735
53736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53737 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53738 * sysdeps/x86_64/multiarch/strchr.S: Update.
53739 Check bit_slow_BSF bit.
53740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53743
537442011-09-05 Ulrich Drepper <drepper@gmail.com>
53745
53746 [BZ #13134]
53747 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53748 before glibc 2.15.
53749 (tryshell): Define.
53750 (__spawni): Change last parameter to be flag. Test
53751 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53752 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53753 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53754 * posix/spawni.c: Likewise.
53755 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53756 * posix/spawnp.c: Likewise. Change normal version to use
53757 SPAWN_XFLAGS_USE_PATH.
53758 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53759 SPAWN_XFLAGS_TRY_SHELL.
53760
53761 [BZ #13150]
53762 * posix/glob.h: Remove gcc 1.x support.
53763
53764 [BZ #13068]
53765 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53766
537672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53768
53769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53770 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53771 strrchr-sse2-bsf
53772 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53773 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53776 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53778
537792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53780
53781 * sysdeps/x86_64/wcscmp.S: New file.
53782
53783 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53784 wcscmp-c wcscmp-sse2
53785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53786 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53788 * wcsmbs/wcscmp.c: Allow renaming.
53789
537902011-09-05 David S. Miller <davem@davemloft.net>
53791
53792 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53793 stack slot, rather than the struct return pointer slot.
53794 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53795 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53798
537992011-09-05 Ulrich Drepper <drepper@gmail.com>
53800
53801 * po/ja.po: Update from translation team.
53802
53803 [BZ #13144]
53804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53805 kernel in 64-bit binaries.
53806
538072011-09-01 David S. Miller <davem@davemloft.net>
53808
53809 * elf/elf.h (HWCAP_SPARC_*): Move to..
53810 * sysdeps/sparc/sysdep.h: this new file and add new values.
53811 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53812 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53813 _DL_HWCAP_COUNT to 24.
53814 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53815 entries.
53816 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53817 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53818 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53820 instead of magic constants.
53821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53822
538232011-08-31 David S. Miller <davem@davemloft.net>
53824
53825 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53827 Reimplement to do errno handling inline.
53828 (SYSCALL_ERROR_HANDLER): New macro.
53829 (__SYSCALL_STRING): Do not do errno handling in asm.
53830 (__CLONE_SYSCALL_STRING): Delete.
53831 (__INTERNAL_SYSCALL_STRING): Delete.
53832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53833 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53834 (PSEUDO): Reimplement to do errno handling inline.
53835 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53836 (SYSCALL_ERROR_HANDLER): New macro.
53837 (__SYSCALL_STRING): Do not do errno handling in asm.
53838 (__CLONE_SYSCALL_STRING): Delete.
53839 (__INTERNAL_SYSCALL_STRING): Delete.
53840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53841 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53842 i386.
53843 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53844 (inline_syscall*): Add 'err' argument.
53845 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53846 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53847 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53848 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53849
53850 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53852
538532011-08-30 Andreas Schwab <schwab@redhat.com>
53854
53855 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53856
538572011-08-29 Jiri Olsa <jolsa@redhat.com>
53858
53859 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53860 directive.
53861
538622011-08-24 David S. Miller <davem@davemloft.net>
53863
53864 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53865
538662011-08-24 Andreas Schwab <schwab@redhat.com>
53867
53868 * elf/Makefile: Add rules to build and run unload8 test.
53869 * elf/unload8.c: New file.
53870 * elf/unload8mod1.c: New file.
53871 * elf/unload8mod1x.c: New file.
53872 * elf/unload8mod2.c: New file.
53873 * elf/unload8mod3.c: New file.
53874
53875 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53876 it wasn't used.
53877
538782011-08-23 David S. Miller <davem@davemloft.net>
53879
53880 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53881 subtract stack bias.
53882 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53883 %sp not %fp in calculations.
53884 (_JMPBUF_UNWINDS_ADJ): Likewise.
53885
53886 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53887 (aio_suspend): Call it to force an exception region around the
53888 AIO_MISC_WAIT() invocation.
53889
538902011-08-23 Andreas Schwab <schwab@redhat.com>
53891
53892 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53893 backslash.
53894
538952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53896
53897 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53898 protection macro.
53899 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53900 and <dl-machine.h>.
53901 (Elf64_FuncDesc): Remove.
53902
539032011-08-22 David S. Miller <davem@davemloft.net>
53904
53905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53906 sigaltstack check, add missing cfi directives.
53907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53908 missing cfi directives, and sigaltstack handling.
53909
539102011-08-16 Andreas Schwab <schwab@redhat.com>
53911
53912 [BZ #11724]
53913 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53914 object is seen twice.
53915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53916
53917 * elf/Makefile (distribute): Add tst-initorder2.c.
53918 (tests): Add tst-initorder2.
53919 (modules-names): Add tst-initorder2a tst-initorder2b
53920 tst-initorder2c tst-initorder2d. Add rules to build them.
53921 ($(objpfx)tst-initorder2.out): New rule.
53922 * elf/tst-initorder2.c: New file.
53923 * elf/tst-initorder2.exp: New file.
53924
539252011-08-22 Andreas Schwab <schwab@redhat.com>
53926
53927 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53928
53929 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53930 dependencies back to end of function.
53931
53932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53933 $(elfobjdir)/ld.so.
53934
539352011-08-21 Ulrich Drepper <drepper@gmail.com>
53936
53937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53938 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53940 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53941 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53942 of __vdso_gettimeofday.
53943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53944 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53945 attribute_hidden.
53946 (_libc_vdso_platform_setup): Remove initialization of
53947 __vdso_gettimeofday and __vdso_time.
53948
539492011-08-20 Ulrich Drepper <drepper@gmail.com>
53950
53951 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53952 and fgetc_unlocked.
53953 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53954 getc_unlocked.
53955
53956 * elf/dl-open.c (add_to_global): Report additions to the global scope
53957 for LD_DEBUG=scopes.
53958 (dl_open_worker): Also print scope of newly loaded dependencies.
53959 (_dl_show_scope): Indicate if there is no scope.
53960
53961 [BZ #13114]
53962 * stdio-common/Makefile (tests): Add bug24.
53963 * stdio-common/bug24.c: New file.
53964
539652011-08-19 Andreas Jaeger <aj@suse.de>
53966
53967 [BZ #13114]
53968 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53969 non-existant file when using close-on-exec mode.
53970
539712011-08-20 Ulrich Drepper <drepper@gmail.com>
53972
53973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53974 the very first instruction.
53975
53976 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53977 the CFI state in the end.
53978 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53979 inclusion of dl-trampoline.h.
53980 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53981
539822011-08-19 Andreas Schwab <schwab@redhat.com>
53983
53984 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53985 expectations for long double.
53986
53987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53988 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53989
539902011-08-14 David S. Miller <davem@davemloft.net>
53991
53992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53993 artificual limit depends upon the system page size.
53994
539952011-08-17 Ulrich Drepper <drepper@gmail.com>
53996
53997 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53998 * resolv/Makefile: Define CFLAGS-libresolv.
53999
540002011-08-17 Andreas Schwab <schwab@redhat.com>
54001
54002 * nss/makedb.c (compute_tables): Make variables used in nested
54003 function static.
54004
540052011-08-17 Ulrich Drepper <drepper@gmail.com>
54006
54007 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54008 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54009 if buffer was too small.
54010
54011 * elf/pldd.c (main): Attach to all threads in the process.
54012 Rewrite /proc handling to use *at functions.
54013
540142011-08-16 Ulrich Drepper <drepper@gmail.com>
54015
54016 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54017 specifies first scope to show.
54018 (dl_open_worker): Update callers. Move printing scope of new
54019 object to before the relocation.
54020 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54021 * sysdeps/generic/ldsodefs.h: Update declaration.
54022
54023 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54024 string for the scope number.
54025
540262011-08-14 Ulrich Drepper <drepper@gmail.com>
54027
54028 * nscd/servicescache.c (cache_addserv): Make sure written is always
54029 initialized.
54030
540312011-08-14 Roland McGrath <roland@hack.frob.com>
54032
54033 * sysdeps/i386/i486/bits/atomic.h
54034 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54035 statement expression, so as to suppress "set but not used" warning.
54036 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54037
54038 * string/strncat.c (STRNCAT): Use prototype definition.
54039
54040 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54041 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54042 -Iprograms here.
54043 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54044 (localedef-modules): Add localedef.
54045 (locale-modules): Add locale.
54046
54047 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54048 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54049 to avoid a warning.
54050
540512011-08-14 David S. Miller <davem@davemloft.net>
54052
54053 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54054 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54055
540562011-08-13 Ulrich Drepper <drepper@gmail.com>
54057
54058 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54059 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54060 * elf/rtld.c (dl_main): Set l_name of vDSO.
54061 Call _dl_show_scope when DL_DEBUG_SCOPES.
54062 (process_dl_debug): Recognize scopes flag and also set it for all.
54063 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54064 Declare _dl_show_scope.
54065
54066 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54067 (do_dlopen): Pass caller_dlopen to dl_open.
54068 (__libc_dlopen_mode): Initialize caller_dlopen.
54069
54070 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54071 of libc. Make tolower call locale-independent. Optimize a bit by
54072 using isdigit instead of isalnum.
54073 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54074
540752011-08-12 Ulrich Drepper <drepper@gmail.com>
54076
54077 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54078 was a dependency or dynamically loaded.
54079
540802011-08-11 Ulrich Drepper <drepper@gmail.com>
54081
54082 * intl/l10nflist.c: Allow architecture-specific pop function.
54083 * sysdeps/x86_64/l10nflist.c: New file.
54084
54085 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54086 classification.
54087
540882011-08-10 Andreas Schwab <schwab@redhat.com>
54089
54090 * include/dirent.h: Add libc_hidden_proto for scandirat and
54091 scandirat64. Don't declare __scandirat64.
54092 * dirent/scandirat.c: Add libc_hidden_def.
54093 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54094 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54095
540962011-08-10 David S. Miller <davem@davemloft.net>
54097
54098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54099 enum.
54100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54103
541042011-08-09 Ulrich Drepper <drepper@gmail.com>
54105
54106 * Versions.def [libc]: Add GLIBC_2.15.
54107 * dirent/Makefile (routines): Add scandirat and scandirat64.
54108 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54109 GLIBC_2.15.
54110 * dirent/dirent.h: Declare scandirat and scandirat64.
54111 * dirent/scandirat.c: New file.
54112 * dirent/scandirat64.c: New file.
54113 * sysdeps/wordsize-64/scandirat.c: New file.
54114 * sysdeps/wordsize-64/scandirat64.c: New file.
54115 * dirent/opendir.c: Define opendirat.
54116 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54117 using scandirat.
54118 * dirent/scandir64.c: Adjust for scandir.c change.
54119 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54120 __scandirat64, and __scandir_cancel_handler.
54121 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54122 additional parameter and use openat instead of open (outside of ld.so).
54123 Add new __opendir as wrapper around __opendirat.
54124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54125 here without requiring old scandirat implementation.
54126
541272011-08-08 Ulrich Drepper <drepper@gmail.com>
54128
54129 * dirent/scandir.c (cancel_handler): Renamed to
54130 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54131 defined. Adjust users.
54132 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54134
541352011-08-04 Ulrich Drepper <drepper@gmail.com>
54136
54137 * string/test-string.h (IMPL): Use __STRING to expand name and then
54138 stringify it.
54139
54140 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54141 of cleanups.
54142
541432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54144
54145 * string/Makefile: Update.
54146 (strop-tests): Append strncat.
54147 * string/test-wcscmp.c: New file.
54148 New comprehensive test for wcscmp.
54149 * string/test-strcmp.c: Update.
54150 (WIDE): New define.
54151
541522011-07-22 Andreas Schwab <schwab@redhat.com>
54153
54154 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54155 line.
54156
541572011-07-26 Andreas Schwab <schwab@redhat.com>
54158
54159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54160 encoding to ACE if AI_IDN.
54161
541622011-08-01 Jakub Jelinek <jakub@redhat.com>
54163
54164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54165 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54166
541672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54168
54169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54170 Fix overflow bug in strncat.
54171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54172
54173 * string/test-strncat.c: Update.
54174 Add new tests for checking overflow bugs.
54175
541762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54177
54178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54179 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54180 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54181 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54183 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54184 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54185 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54186 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54187
54188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54189 (USE_AS_STRCAT): Define.
54190 Add strcat and strncat support.
54191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54192
541932011-07-25 Andreas Schwab <schwab@redhat.com>
54194
54195 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54196 __n bigger than INT_MAX+1.
54197 (__strncmp_g): Likewise.
54198
541992011-07-23 Ulrich Drepper <drepper@gmail.com>
54200
54201 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54202 * libio/stido.h: Likewise.
54203
54204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54205 (AF_NFC): Define.
54206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54207 (AF_NFC): Define.
54208
54209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54214
54215 [BZ #13021]
54216 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54217 installed.
54218
54219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54220 typo.
54221 (_dl_x86_64_save_sse): Likewise.
54222
542232011-07-22 Ulrich Drepper <drepper@gmail.com>
54224
54225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54226 OSXSAVE.
54227 (_dl_x86_64_save_sse): Likewise.
54228
54229 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54230
54231 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54232
542332011-07-21 Andreas Schwab <schwab@redhat.com>
54234
54235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54236 change.
54237 (_dl_x86_64_save_sse): Use correct AVX check.
54238
542392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54240
54241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54242 bug in strncpy/strncat.
54243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54244
542452011-07-21 Ulrich Drepper <drepper@gmail.com>
54246
54247 * string/tester.c (test_strcat): Add tests for different alignments
54248 of source and destination.
54249 (test_strncat): Likewise.
54250
542512011-07-20 Ulrich Drepper <drepper@gmail.com>
54252
54253 [BZ #12852]
54254 * posix/glob.c (glob): Check passed in values before using them in
54255 expressions to avoid some overflows.
54256 (glob_in_dir): Likewise.
54257
54258 [BZ #13007]
54259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54260 check for AVX enablement so that we don't crash with old kernels and
54261 new hardware.
54262 * elf/tst-audit4.c: Add same checks here.
54263 * elf/tst-audit6.c: Likewise.
54264
54265 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54266
542672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54268
54269 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54270
542712011-07-20 Ulrich Drepper <drepper@gmail.com>
54272
54273 * po/cs.po: Update from translation team.
54274 * po/bg.po: Likewise.
54275
542762011-07-12 Marek Polacek <mpolacek@redhat.com>
54277
54278 * misc/sys/cdefs.h: Add support for const attribute.
54279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54280 to gnu_dev_{major,minor,makedev} functions.
54281
542822011-07-20 Marek Polacek <mpolacek@redhat.com>
54283
54284 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54285
542862011-07-20 Andreas Schwab <schwab@redhat.com>
54287
54288 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54289 strlen results.
54290
542912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54292
54293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54294 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54295 register in order to avoid conflicts with the soft frame pointer
54296 being held in r11 when necessary.
54297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54298 (INTERNAL_VSYSCALL_NCS): Likewise.
54299
543002011-07-14 Marek Polacek <mpolacek@redhat.com>
54301
54302 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54303 * elf/dl-fini.c (_dl_fini): Adjust caller.
54304 * elf/dl-close.c (_dl_close_worker): Likewise.
54305 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54306
543072011-07-15 Marek Polacek <mpolacek@redhat.com>
54308
54309 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54310 "aux_cache->nlibs < 0".
54311
54312 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54313 in the reload-count case.
54314
543152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54316
54317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54318 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54319 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54321 * sysdeps/x86_64/multiarch/strcat.S: New file.
54322 * sysdeps/x86_64/multiarch/strncat.S: New file.
54323 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54325 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54326 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54328 (USE_AS_STRCAT): Define.
54329 Add strcat and strncat support.
54330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54332 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54333 * string/strncat.c: Update.
54334 (USE_AS_STRNCAT): Define.
54335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54336 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54337 and i7.
54338 * sysdeps/x86_64/multiarch/init-arch.h
54339 (bit_Prefer_PMINUB_for_stringop): New.
54340 (index_Prefer_PMINUB_for_stringop): Likewise.
54341 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54342 bit_Prefer_PMINUB_for_stringop.
54343
543442011-07-19 Ulrich Drepper <drepper@gmail.com>
54345
54346 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54347 buffer64.
54348 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54349 of casting of buffer.
54350 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54351 buffer32 and buffer64.
54352 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54353 writes instead of casting of buffer.
54354 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54355 buffer32.
54356 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54357 casting of buffer.
54358
543592011-07-19 Andreas Schwab <schwab@redhat.com>
54360
54361 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54362
543632011-07-19 Ulrich Drepper <drepper@gmail.com>
54364
54365 * nscd/nscd.c (termination_handler): Don't do anything for a database
54366 if it has not yet been initialized.
54367
543682011-07-18 Ulrich Drepper <drepper@gmail.com>
54369
54370 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54371
543722011-07-15 Marek Polacek <mpolacek@redhat.com>
54373
54374 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54375
543762011-07-18 Ulrich Drepper <drepper@gmail.com>
54377
54378 * po/nl.po: Update from translation team.
54379 * po/sv.po: Likewise.
54380
543812011-07-16 Roland McGrath <roland@hack.frob.com>
54382
54383 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54384 now disallowed by GCC.
54385
54386 * configure.in (use-default-link): Default to yes if a test -shared
54387 link meets our qualifications.
54388 * configure: Regenerated.
54389
54390 * config.make.in (output-format): New variable.
54391 * configure.in: Check for ld --print-output-format support.
54392 * configure: Regenerated.
54393 * Makerules ($(common-objpfx)format.lds)
54394 [$(output-format) != unknown]: Just use $(output-format),
54395 instead of the linker-script munging.
54396
543972011-07-14 Roland McGrath <roland@hack.frob.com>
54398
54399 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54400 of $(common-objpfx)shlib.lds.
54401 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54402
54403 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54404 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54405
54406 * configure.in (-z relro check): Adjust test code to add a large
54407 writable data section after it.
54408 * configure: Regenerated.
54409
544102011-07-11 Roland McGrath <roland@hack.frob.com>
54411
54412 * configure.in (-z relro check): Fix test code to make the variable
54413 truly const.
54414 * configure: Regenerated.
54415
544162011-07-11 Ulrich Drepper <drepper@gmail.com>
54417
54418 * nscd/nscd.h (struct traced_file): Define.
54419 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54420 elements. Add traced_files.
54421 (inotify_fd): Declare.
54422 (register_traced_file): Declare.
54423 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54424 (inotify_fd): Export.
54425 (resolv_conf_descr): Remove.
54426 (nscd_init): Move inotify descriptor creation to main.
54427 Don't register files for notification here.
54428 (register_traced_file): New function.
54429 (invalidate_cache): Don't use reset_res to determine whether to call
54430 res_init, go through the list of registered files.
54431 (main_loop_poll): The inotify descriptors are now stored in the
54432 structures for the traced files.
54433 (main_loop_epoll): Likewise
54434 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54435 to __nss_disable_nscd.
54436 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54437 for a database anymore. Check the records for all the registered
54438 files instead.
54439 * nss/Makefile (libnss_files-routines): Add files-init.
54440 (libnss_db-routines): Add db-init.
54441 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54442 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54443 * nss/nss_db/db-init.c: New file.
54444 * nss/nss_files/files-init.c: New file.
54445 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54446 __nss_lookup_function.
54447 (__nss_lookup_function): Call nss_load_library.
54448 (nss_load_all_libraries): New function.
54449 (__nss_disable_nscd): Take parameter with callback function for files
54450 to register. Set is_nscd. Load all the DSOs for the NSS modules
54451 used for the cached services.
54452 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54453 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54454 options for features to all the files in nscd.
54455
54456 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54457
544582011-07-10 Roland McGrath <roland@hack.frob.com>
54459
54460 * csu/elf-init.c (__libc_csu_init): Comment typo.
54461
544622011-07-09 Ulrich Drepper <drepper@gmail.com>
54463
54464 * po/pl.po: Update from translation team.
54465 * po/ja.po: Likewise.
54466 * po/ru.po: Likewise.
54467 * po/ko.po: Likewise.
54468 * po/fr.po: Likewise.
54469
544702011-07-09 Roland McGrath <roland@hack.frob.com>
54471
54472 * configure.in (.ctors/.dtors header and trailer check):
54473 Use an empirical test on a built program.
54474 * configure: Regenerated.
54475
54476 * configure.in (-z relro check): Use an empirical test on a built DSO.
54477 Detect, but do not require, on ia64.
54478 * configure: Regenerated.
54479
54480 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54481 Update tests that use readelf to use $READELF instead.
54482 * configure: Regenerated.
54483
544842011-07-08 Ulrich Drepper <drepper@gmail.com>
54485
54486 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54487 if the result is not used.
54488
544892011-07-05 Andreas Jaeger <aj@suse.de>
54490
54491 [BZ#9696]
54492 * stdlib/tst-strtod.c: Add testcase.
54493
544942011-07-07 Ulrich Drepper <drepper@gmail.com>
54495
54496 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54497 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54498 The latter has a higher limit. Take additional parameter to pass to
54499 the new function.
54500 (__pathconf): Pass file to __statfs_link_max.
54501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54502 __statfs_link_max.
54503 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54504 __statfs_link_max.
54505
54506 [BZ #12868]
54507 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54509 Handle Lustre.
54510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54511 (__statfs_filesize_max): Likewise.
54512 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54513
545142011-07-05 Andreas Jaeger <aj@suse.de>
54515
54516 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54517
545182011-07-06 Marek Polacek <mpolacek@redhat.com>
54519
54520 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54521 `status' variable.
54522 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54523 Likewise.
54524
545252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54526
54527 * Makefile (strop-tests): Add strncat.
54528 * string/test-strncat.c: New file.
54529
545302011-06-30 Marek Polacek <mpolacek@redhat.com>
54531
54532 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54533
545342011-06-21 Andreas Jaeger <aj@suse.de>
54535
54536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54537 Copy rule from iconvdata/Makefile.
54538
545392011-07-06 Ulrich Drepper <drepper@gmail.com>
54540
54541 [BZ #12922]
54542 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54543 but no long options are defined, just return 'W'.
54544
545452011-06-22 Marek Polacek <mpolacek@redhat.com>
54546
54547 [BZ #9696]
54548 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54549
545502011-07-06 Ulrich Drepper <drepper@gmail.com>
54551
54552 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54553 netgroups to read.
54554 (innetgr): Likewise.
54555
545562011-07-05 Roland McGrath <roland@hack.frob.com>
54557
54558 * config.make.in (install_root): Default to $(DESTDIR).
54559
545602011-07-05 Ulrich Drepper <drepper@gmail.com>
54561
54562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54563
545642011-07-02 Roland McGrath <roland@hack.frob.com>
54565
54566 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54567
54568 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54569 containing directory rather than embedding absolute directory names.
54570
54571 * scripts/check-local-headers.sh: Rewritten using awk.
54572 Match by word, not by line. Print error messages for matches.
54573 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54574
54575 * Makerules [shlib-lds-flags empty]:
54576 ($(common-objpfx)libc_pic.opts): New target.
54577 ($(common-objpfx)libc_pic.os.clean): New target.
54578 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54579
54580 * config.make.in (OBJCOPY): New variable.
54581 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54582 * configure: Regenerated.
54583
54584 * config.make.in (use-default-link): New variable.
54585 * configure.in (use_default_link): Grok --with-default-link to set it.
54586 * configure: Regenerated.
54587 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54588 (shlib-lds, shlib-lds-flags): Define to empty.
54589
54590 * Makerules (shlib-lds): New variable.
54591 (shlib-lds-flags): New variable.
54592 (build-shlib, build-moduile, build-module-asneeded): Use it.
54593 ($(common-objpfx)libc.so): Use $(shlib-lds).
54594 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54596
54597 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54598 DT_FLAGS/DT_FLAGS_1 with zero flags.
54599
54600 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54601 linker script munging.
54602
546032011-07-02 Ulrich Drepper <drepper@gmail.com>
54604
54605 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54606 as 128-bit value.
54607 * crypt/sha512.c (sha512_process_block): Perform total addition using
54608 128-bit if possible.
54609 (__sha512_finish_ctx): Likewise.
54610 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54611 as 64-bit value.
54612 * crypt/sha256.c (SWAP64): Define.
54613 (sha256_process_block): Perform total addition using 64-bit if
54614 possible.
54615 (__sha256_finish_ctx): Likewise.
54616
546172011-07-01 Ulrich Drepper <drepper@gmail.com>
54618
54619 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54621 * nscd/hstcache.c (cache_addhst): Likewise.
54622 * nscd/grpcache.c (cache_addgr): Likewise.
54623 * nscd/aicache.c (addhstaiX): Likewise
54624 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54625
546262011-07-01 Thorsten Kukuk <kukuk@suse.de>
54627
54628 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54630 * nscd/hstcache.c (cache_addhst): Likewise.
54631 * nscd/grpcache.c (cache_addgr): Likewise.
54632 * nscd/aicache.c (addhstaiX): Likewise
54633
546342011-07-01 Andreas Schwab <schwab@redhat.com>
54635
54636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54637 domain only when needed.
54638
546392011-06-30 Andreas Schwab <schwab@redhat.com>
54640
54641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54642 is always restored.
54643
546442011-06-29 Ulrich Drepper <drepper@gmail.com>
54645
54646 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54647 are re-adding the entry.
54648 * nscd/servicescache.c (cache_addserv): Likewise.
54649
546502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54651
54652 * sysdeps/generic/dl-irel.h: fix protection against multiple
54653 inclusions.
54654 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54655
546562011-06-28 Ulrich Drepper <drepper@gmail.com>
54657
54658 [BZ #12935]
54659 * malloc/memusage.sh: Fix quoting in message.
54660 * debug/xtrace.sh: Likewise.
54661
54662 * configure.in: Remove support for --experimental-malloc option, make
54663 it the default.
54664 * config.make.in: Likewise.
54665 * malloc/Makefile: Likewise.
54666
546672011-06-27 Andreas Schwab <schwab@redhat.com>
54668
54669 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54670 two-byte characters.
54671
546722011-06-27 Roland McGrath <roland@hack.frob.com>
54673
54674 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54675 AC_CACHE_CHECK invocation.
54676 * configure: Regenerated.
54677
54678 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54679
546802011-06-27 Ulrich Drepper <drepper@gmail.com>
54681
54682 [BZ #12350]
54683 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54684 bit from old_res_options.
54685
54686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54687
54688 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54689 value type for setfct.
54690
546912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54692
54693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54694 __gettimeofday instead of gettimeofday.
54695
546962011-06-26 Ulrich Drepper <drepper@gmail.com>
54697
54698 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54699
547002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54701
54702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54703
54704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54705 info.
54706
547072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54708
54709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54710 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54711 strcpy-sse2-unaligned strncpy-sse2-unaligned
54712 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54713 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54714 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54715 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54716 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54719 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54720 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54721 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54722 (STRCPY): Support SSE2 and SSSE3 versions.
54723
547242011-06-24 Ulrich Drepper <drepper@gmail.com>
54725
54726 [BZ #12874]
54727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54728 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54729 kernels which artificially limit size of requests.
54730
547312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54732
54733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54734 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54735 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54736 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54737 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54738 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54739 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54740 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54743 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54744 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54745 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54746 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54747 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54749 Enable unaligned load optimization for Intel Core i3, i5 and i7
54750 processors.
54751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54752 Define.
54753 (index_Fast_Unaligned_Load): Define.
54754 (HAS_FAST_UNALIGNED_LOAD): Define.
54755
547562011-06-23 Marek Polacek <mpolacek@redhat.com>
54757
54758 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54759
547602011-06-22 Ulrich Drepper <drepper@gmail.com>
54761
54762 [BZ #12907]
54763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54764 until it is clear that the information is realy needed.
54765 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54766
547672011-06-22 Andreas Schwab <schwab@redhat.com>
54768
54769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54770
547712011-06-22 Ulrich Drepper <drepper@gmail.com>
54772
54773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54774 /sys/devices/system/cpu/online if it is usable.
54775
54776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54777 reading the information from the /proc filesystem to once a second.
54778
547792011-06-21 Andreas Jaeger <aj@suse.de>
54780
54781 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54782 NULL after inclusion of kernel headers.
54783
547842011-06-21 Ulrich Drepper <drepper@gmail.com>
54785
54786 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54787 calls to internal_setent.
54788
54789 [BZ #12885]
54790 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54791 addresses using gethostbyname4_r ignore IPv4 addresses.
54792
54793 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54794 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54795
54796 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54797
547982011-06-20 David S. Miller <davem@davemloft.net>
54799
54800 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54801 inclusions.
54802 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54803
54804 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54805 (elf_irel): Use it.
54806 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54807 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54808 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54809 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54810 * sysdeps/x86_64/dl-irel.h: Likewise.
54811
54812 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54813 * elf/dl-sym.c: Likewise.
54814
548152011-06-15 Ulrich Drepper <drepper@gmail.com>
54816
54817 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54818 need to dereference resplen2.
54819
548202011-06-14 Andreas Schwab <schwab@redhat.com>
54821
54822 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54823
548242011-06-15 Ulrich Drepper <drepper@gmail.com>
54825
54826 * Makeconfig: Define vardbdir and inst_vardbdir.
54827 * nss/Makefile: Add rules to install db-Makefile.
54828
54829 * nss/nss_db/db-XXX.c: Cleanup.
54830
54831 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54832 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54833 GLIBC_PRIVATE.
54834 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54835 * nss/makedb.c: Implement -g option to specify that value strings
54836 are generated and should not be added to table iterated over for
54837 get*ent calls.
54838 * nss/nss_db/db-initgroups.c: New file.
54839
54840 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54841 interface.
54842
54843 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54844 (internal_getgrouplist): Adjust to name change.
54845 Update use_initgroups_entry if this is not the first call.
54846 * nss/databases.def: Add initgroups entry.
54847
54848 * nss/makedb.c (compute_tables): Check result of multiple hash table
54849 sizes to minimize maximum chain length.
54850
548512011-06-14 Ulrich Drepper <drepper@gmail.com>
54852
54853 * Versions.def: Add entry for libnss_db.
54854 * shlib-versions: Likewise.
54855 * nss/Makefile: Add rules to build libnss_db.
54856 * nss/Versions: Add libnss_db information. Organize libnss_files
54857 entries better.
54858 * nss/db-Makefile: Add gshadow support. Change rules for the new
54859 makedb progra. Some minor improvements to generate smaller files.
54860 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54861 here from...
54862 * nss/makedb.c: ...here.
54863 Improve database format to be smaller and require less memory at
54864 runtime.
54865 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54866 db anymore.
54867 * nss/nss_db/db-netgrp.c: Likewise.
54868 * nss/nss_db/db-open.c: Likewise.
54869 * nss/nss_files/flies-XXX.x: Adjust comments.
54870 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54871 * nss/nss_files/files-grp.c: Likewise.
54872 * nss/nss_files/files-hosts.c: Likewise.
54873 * nss/nss_files/files-network.c: Likewise.
54874 * nss/nss_files/files-proto.c: Likewise.
54875 * nss/nss_files/files-pwd.c: Likewise.
54876 * nss/nss_files/files-rpc.c: Likewise.
54877 * nss/nss_files/files-service.c: Likewise.
54878 * nss/nss_files/files-sgrp.c: Likewise.
54879 * nss/nss_files/files-spwd.c: Likewise.
54880 * nss/nss_db/db-alias.c: Removed.
54881 * nss/nss_db/dummy-db.h: Removed.
54882
548832011-06-02 Ulrich Drepper <drepper@gmail.com>
54884
54885 * nss/makedb.c: Rewritten to not use database library.
54886 * nss/Makefile: Update to build new makedb program.
54887
548882011-06-14 Andreas Jaeger <aj@suse.de>
54889
54890 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54891 memset declaration.
54892
548932011-06-10 Andreas Schwab <schwab@redhat.com>
54894
54895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54896 tmpbuf.
54897
548982011-06-10 Roland McGrath <roland@hack.frob.com>
54899
54900 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54901 * elf/Makefile ($(objpfx)ld.so): Likewise.
54902
54903 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54904 Don't list ld.so twice in dependencies.
54905
54906 * posix/bug-regex31.c: Include <stdlib.h>.
54907
54908 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54909
54910 * nis/nss_compat/compat-spwd.c
54911 (getspent_next_nss_netgr): Remove unused variable.
54912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54913
54914 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54915 nonmembers" output to use the right array.
54916
54917 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54918
54919 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54920
54921 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54922 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54923 * catgets/gencat.c (read_input_file): Likewise.
54924 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54925
54926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54927 variable definition inside #if's controlling its use.
54928
54929 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54930
54931 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54932
54933 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54934
54935 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54936 unreachable code.
54937
54938 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54939
54940 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54941 * configure: Regenerated.
54942
54943 * Makerules: Revert last change.
54944 * elf/Makefile: Likewise.
54945
549462011-06-09 Roland McGrath <roland@hack.frob.com>
54947
54948 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54949 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54950 (reloc-link): Likewise.
54951
549522011-06-09 Ulrich Drepper <drepper@gmail.com>
54953
54954 * elf/Makefile: Add rules to build pldd.
54955 * elf/pldd.c: New file.
54956 * elf/pldd-xx.c: New file.
54957
549582011-06-07 Ulrich Drepper <drepper@gmail.com>
54959
54960 * version.h: Update for 2.15 development version.
54961
549622011-06-07 David S. Miller <davem@davemloft.net>
54963
54964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54965 ifuncs.
54966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54967 elf_machine_lazy_rel): Likewise.
54968 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54970 elf_machine_lazy_rel): Likewise.
54971 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54972 dl_hwcap via passed in argument.
54973 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54974 Likewise.
54975
549762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54977
54978 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54979
549802011-06-06 Roland McGrath <roland@hack.frob.com>
54981
54982 [BZ #12849]
54983 * manual/fdl-1.1.texi: New file, verbatim from:
54984 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54985 * manual/lgpl-2.1.texi: New file, verbatim from:
54986 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54987 * manual/Makefile (licenses): New variable, list those new file names.
54988 (texis): Use it.
54989 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54990
54991 * manual/fdl.texi: File removed.
54992 * manual/lesser.texi: File removed.
54993 * manual/libc.texinfo (Copying, Documentation License):
54994 Use new @include file names, put @appendix directive before @include.
54995
549962011-06-04 Jakub Jelinek <jakub@redhat.com>
54997
54998 [BZ #12841]
54999 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55000 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55001 (mq_open): Add __NTH.
55002
550032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55004
55005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55006 Assume Intel Core i3/i5/i7 processor if AVX is available.
55007
550082011-05-31 Ulrich Drepper <drepper@gmail.com>
55009
55010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55011 typo.
55012
550132011-05-31 Andreas Schwab <schwab@redhat.com>
55014
55015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55016 memory. Use alloca_account. Fix memory leak when retrying.
55017
550182011-05-31 Ulrich Drepper <drepper@gmail.com>
55019
55020 * version.h (RELEASE): Bump for 2.14 release.
55021 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55022
55023 * config.make.in (RANLIB): Remove entry.
55024
550252011-05-30 Ulrich Drepper <drepper@gmail.com>
55026
55027 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55028 (libc.pot): Work around missing support for .ksh extension in xgettext.
55029
55030 [BZ #12684]
55031 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55032 if both request failed.
55033 (send_dg): In case of server errors clear resplen or *resplen2.
55034
55035 [BZ #12454]
55036 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55037 when there are multiple maps.
55038 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55039 (_dl_fini): Remove test here.
55040
55041 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55042
550432011-05-29 Ulrich Drepper <drepper@gmail.com>
55044
55045 [BZ #12350]
55046 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55047 bit from old_res_options.
55048 (gaih_inet): Likewise.
55049
55050 [BZ #11099]
55051 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55052 as signed.
55053
55054 * resolv/res_init.c (res_setoptions): Make the code more compact.
55055
55056 [BZ #11558]
55057 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55058 set RES_USEVC.
55059
55060 [BZ #11634]
55061 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55062
55063 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55064
55065 [BZ #11781]
55066 * malloc/malloc.h: Declare malloc hook variables as volatile.
55067
55068 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55069 in last patch.
55070
55071 [BZ #11799]
55072 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55073 raise in the comment.
55074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55076 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55077
550782011-05-28 Ulrich Drepper <drepper@gmail.com>
55079
55080 [BZ #12811]
55081 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55082 grow the buffers more if it already has to be sufficient.
55083 (build_wcs_upper_buffer): Likewise.
55084 * posix/regexec.c (check_matching): Likewise.
55085 (clean_state_log_if_needed): Likewise.
55086 (extend_buffers): Don't enlarge buffers beyond size of the input
55087 buffer.
55088 Patches mostly by Emil Wojak <emil@wojak.eu>.
55089 * posix/bug-regex32.c: New file.
55090 * posix/Makefile (tests): Add bug-regex32.
55091
55092 * locale/findlocale.c (_nl_find_locale): Return right away if
55093 _nl_explode_name failed.
55094 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55095
55096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55097
55098 * debug/xtrace.sh: Unify messages.
55099 * malloc/memusage.sh: Likewise.
55100
55101 [BZ #12813]
55102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55103 time symbol from vDSO. Substitute with vsyscall if not available.
55104 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55105 __vdso_time.
55106
55107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55108 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55109 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55110 Add sendmmsg and internal_sendmmsg.
55111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55114
55115 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55116 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55118
551192011-05-27 Ulrich Drepper <drepper@gmail.com>
55120
55121 [BZ #12813]
55122 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55123 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55124 available.
55125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55126 __vdso_getcpu.
55127
55128 [BZ #12814]
55129 * iconvdata/Makefile (tests): Add bug-iconv9.
55130 * iconvdata/bug-iconv9.c: New file.
55131
551322011-05-27 Andreas Schwab <schwab@redhat.com>
55133
55134 [BZ #12814]
55135 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55136
551372011-05-25 Jakub Jelinek <jakub@redhat.com>
55138
55139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55140 (struct user_regs_struct): Change intcs field back to cs.
55141
551422011-05-25 Ulrich Drepper <drepper@gmail.com>
55143
55144 * po/ja.po: Update from translation team.
55145
551462011-05-23 Ulrich Drepper <drepper@gmail.com>
55147
55148 [BZ #12795]
55149 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55151
551522011-05-20 Andreas Schwab <schwab@redhat.com>
55153
55154 * stdlib/longlong.h: Update from GCC.
55155
551562011-05-23 Andreas Schwab <schwab@redhat.com>
55157
55158 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55159 parameter name.
55160 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55161 Add parameter name.
55162 (__sysconf): Pass it down.
55163
551642011-05-22 Ulrich Drepper <drepper@gmail.com>
55165
55166 [BZ #12671]
55167 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55168 some situations.
55169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55170 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55171 add in in __libc_use_alloca calls. Adjust callers.
55172 (glob): Use malloc in some situations.
55173
55174 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55175 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55176 pltexit.
55177
551782011-05-21 Ulrich Drepper <drepper@gmail.com>
55179
55180 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55181 and CLOCK_BOOTTIME_ALARM.
55182
55183 [BZ #12782]
55184 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55185 is returned.
55186
55187 * string/_strerror.c (__strerror_r): Print negative errors as signed
55188 numbers.
55189
55190 [BZ #12777]
55191 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55192 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55193 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55194
55195 * configure.in: Fix typo in redirection and correct removal of test
55196 files in two cases.
55197
55198 [BZ #12788]
55199 * locale/setlocale.c (new_composite_name): Fix test to check for
55200 identical name of all categories.
55201
55202 [BZ #12792]
55203 * libio/filedoalloc.c (local_isatty): New function.
55204 (_IO_file_doallocate): Use local_isatty.
55205 * stdio-common/perror.c (perror): In case a new stream is used
55206 forward the stream error.
55207 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55208 error flag.
55209
552102011-05-20 Ulrich Drepper <drepper@gmail.com>
55211
55212 [BZ #11869]
55213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55214 alloca.
55215 * include/alloca.h (extend_alloca_account): Define.
55216
55217 [BZ #11857]
55218 * posix/regex.h: Fix comments with documentation of user-accessible
55219 fields after compilation and describe correct free'ing of pattern
55220 after re_compile_pattern.
55221 Patch by Reuben Thomas <rrt@sc3d.org>.
55222
552232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55224
55225 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55226 and -mno-altivec to prevent the compiler from using Altivec and/or
55227 VSX instructions when the corresponding registers are not available.
55228
552292011-05-19 Andreas Schwab <schwab@redhat.com>
55230
55231 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55232
552332011-05-19 Ulrich Drepper <drepper@gmail.com>
55234
55235 * libio/freopen.c (freopen): Use __dup2, not dup2.
55236 * libio/freopen64.c (freopen64): Likewise.
55237
552382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55239
55240 [BZ #12775]
55241 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55242 * math/Makefile (tests): Add test-powl.
55243 (CFLAGS-test-powl.c): Define.
55244 * math/test-powl.c: New file.
55245
552462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55247
55248 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55249
552502011-05-17 Ulrich Drepper <drepper@gmail.com>
55251
55252 [BZ #11837]
55253 * iconvdata/gb18030.c: Update to GB18020-2005.
55254
552552011-05-16 Ulrich Drepper <drepper@gmail.com>
55256
55257 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55258 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55259 Patch by Aharon Robbins <arnold@skeeve.com>.
55260
55261 [BZ #11892]
55262 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55263 on the stack.
55264
55265 [BZ #11895]
55266 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55267 through underflows.
55268
55269 [BZ #12766]
55270 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55271 point to strings before performing equality test for error_one_per_line
55272 mode.
55273
55274 [BZ #11697]
55275 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55276
55277 [BZ #11820]
55278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55279 (struct user_fpregs_struct): Avoid __uint*_t types.
55280
55281 [BZ #6420]
55282 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55283 symbol info. Use it instead of calling _dl_addr locally.
55284 (lock_and_info): New function.
55285 (tr_freehook): Call lock_and_info and pass symbol info as additional
55286 parameter to tr_where.
55287 (tr_mallochook): Likewise.
55288 (tr_reallochook): Likewise.
55289 (tr_memalignhook): Likewise.
55290
55291 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55292 used and couldn't be at all thread-safe.
55293
552942011-05-15 Ulrich Drepper <drepper@gmail.com>
55295
55296 * libio/freopen.c (freopen): Don't close old file descriptor
55297 before the new one is opened. Instead dup the new file descriptor
55298 to the old one after the new stream is created.
55299 * libio/freopen64.c (freopen64): Likewise.
55300 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55301 * libio/fileops.c (_IO_new_file_close_it): Handle new
55302 _IO_FLAGS2_NOCLOSE flag.
55303 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55304 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55305 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55306 _IO_FLAGS2_NOCLOSE flag.
55307 * include/unistd.h: Add hidden_proto for dup3.
55308 Define __have_dup3.
55309 * io/dup3.c: Define hidden symbol.
55310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55311
55312 [BZ #7101]
55313 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55314 when an incomplete long option is used.
55315 * posix/tst-getopt_long1.c: New file.
55316 * posix/Makefile (tests): Add tst-getopt_long1.
55317
55318 [BZ #10138]
55319 * scripts/config.guess: Update from autoconf-2.68.
55320 * scripts/config.sub: Likewise.
55321
55322 [BZ #10157]
55323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55324 tests into ...
55325 (has_cpuclock): ...this. New function.
55326 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55327 macro here based on has_cpuclock code.
55328
55329 [BZ #10149]
55330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55331 First byte (not low byte) is now always NUL.
55332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55333
55334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55335 Use non-cancelable interfaces.
55336
55337 [BZ #9809]
55338 * locale/iso-639.def: Add entry for Sorani.
55339
55340 [BZ #11901]
55341 * include/stdlib.h: Move include protection to the right place.
55342 Define abort_msg_s. Declare __abort_msg with it.
55343 * stdlib/abort.c (__abort_msg): Adjust type.
55344 * assert/assert.c (__assert_fail_base): New function. Majority
55345 of code from __assert_fail. Allocate memory for __abort_msg with
55346 mmap.
55347 (__assert_fail): Now call __assert_fail_base.
55348 * assert/assert-perr.c: Remove bulk of implementation. Use
55349 __assert_fail_base.
55350 * include/assert.hL Declare __assert_fail_base.
55351 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55352 mmap.
55353 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55354
553552011-05-14 Ulrich Drepper <drepper@gmail.com>
55356
55357 [BZ #11952]
55358 [BZ #12453]
55359 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55360 until all modules are registered in the DTV.
55361 * elf/Makefile: Add rules to build and run tst-tls19.
55362 * elf/tst-tls19.c: New file.
55363 * elf/tst-tls19mod1.c: New file.
55364 * elf/tst-tls19mod2.c: New file.
55365 * elf/tst-tls19mod3.c: New file.
55366 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55367
55368 [BZ #12083]
55369 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55370 correctly.
55371
55372 [BZ #12601]
55373 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55374 two-byte sequence errors.
55375 * iconvdata/Makefile (tests): Add bug-iconv8.
55376 * iconvdata/bug-iconv8.c: New file.
55377
55378 [BZ #12626]
55379 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55380 buf2 definition.
55381
55382 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55383
55384 [BZ #12432]
55385 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55386 (dummy_getcfa): New function.
55387 (init): Get _Unwind_GetCFA address, use dummy if not found.
55388 (backtrace_helper): In recursion check, also check whether CFA changes.
55389 (__backtrace): Completely initialize arg.
55390
55391 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55392 storing incomplete byte sequence in state object. Avoid testing for
55393 guaranteed too small input if we know there is enough data available.
55394
553952011-05-11 Andreas Schwab <schwab@redhat.com>
55396
55397 * Makeconfig (+link-pie): Indent.
55398 * Rules (binaries-pie): Define if $(have-fpie) and
55399 $(build-shared).
55400 (binaries-shared): Also filter out $(binaries-pie).
55401 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55402 * nscd/Makefile (others-pie): Add nscd.
55403 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55404 ($(objpfx)nscd): Remove command override.
55405 * login/Makefile (others-pie): Add pt_chown.
55406 ($(objpfx)pt_chown): Remove command override.
55407 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55408 remove command overrides.
55409
554102011-05-13 Ulrich Drepper <drepper@gmail.com>
55411
55412 * libio/tst_putwc.c: Fix error messages.
55413
55414 [BZ #12724]
55415 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55416 currently writing and seek to current position when not.
55417 * libio/Makefile (tests): Add bug-fclose1.
55418 * libio/bug-fclose1.c: New file.
55419
554202011-05-12 Ulrich Drepper <drepper@gmail.com>
55421
55422 [BZ #12511]
55423 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55424 don't set DF_1_NODELETE here.
55425 (do_lookup_x): When entering new entry test for copy relocation
55426 and if necessary set DF_1_NODELETE flag.
55427 * elf/tst-unique4.cc: New file.
55428 * elf/tst-unique4.h: New file.
55429 * elf/tst-unique4lib.cc: New file.
55430 * elf/Makefile: Add rules to build and run tst-unique4.
55431 Patch by Piotr Bury <pbury@goahead.com>.
55432
554332011-05-11 Ulrich Drepper <drepper@gmail.com>
55434
55435 [BZ #12052]
55436 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55437
55438 [BZ #12625]
55439 * misc/mntent_r.c (addmntent): Flush the stream after the output
55440
55441 [BZ #12393]
55442 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55443 (is_trusted_path_normalize): Skip initial colon. Append slash
55444 to empty buffer. Duplicate is_trusted_path code but allow
55445 constructed patch to be prefix.
55446 (is_dst): Allow $ORIGIN followed by /.
55447 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55448 Correct testing of result of is_trusted_path_normalize
55449 (decompose_rpath): Fix warning.
55450
554512011-05-10 Ulrich Drepper <drepper@gmail.com>
55452
55453 [BZ #11257]
55454 * grp/initgroups.c (internal_getgrouplist): When we found the service
55455 list through the initgroups entry in nsswitch.conf do not always
55456 continue on a successful lookup. Don't always use the
55457 __nss_group_database value if it is set.
55458 * nss/nsswitch.conf (initgroups): Change action for successful db
55459 lookup to continue for compatibility.
55460
554612011-05-09 Ulrich Drepper <drepper@gmail.com>
55462
55463 [BZ #11532]
55464 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55465 and CP774 modules.
55466 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55467 and CP774 modules.
55468 * iconvdata/tst-tables.sh: Likewise.
55469 * iconvdata/cp770.c: New file.
55470 * iconvdata/cp771.c: New file.
55471 * iconvdata/cp772.c: New file.
55472 * iconvdata/cp773.c: New file.
55473 * iconvdata/cp774.c: New file.
55474 * iconvdata/testdata/CP770: New file.
55475 * iconvdata/testdata/CP770..UTF8: New file.
55476 * iconvdata/testdata/CP771: New file.
55477 * iconvdata/testdata/CP771..UTF8: New file.
55478 * iconvdata/testdata/CP772: New file.
55479 * iconvdata/testdata/CP772..UTF8: New file.
55480 * iconvdata/testdata/CP773: New file.
55481 * iconvdata/testdata/CP773..UTF8: New file.
55482 * iconvdata/testdata/CP774: New file.
55483 * iconvdata/testdata/CP774..UTF8: New file.
55484
55485 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55486 END CHARMAP line.
55487 * iconvdata/gen-8bit-gap.sh: Likewise.
55488 * iconvdata/gen-8bit.sh: Likewise.
55489
55490 * locale/iso-639.def: Add ary entry.
55491
55492 [BZ #11258]
55493 * locale/C-translit.h.in: Add U20A1 transliteration.
55494
55495 [BZ #12178]
55496 * locale/iso-639.def: Add wae entry.
55497 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55498
55499 [BZ #12545]
55500 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55501 for n.
55502
55503 [BZ #12711]
55504 * locale/C-translit.h.in: Add entry for U20B9.
55505 Patch by pravin.d.s@gmail.com.
55506
555072011-05-08 Ulrich Drepper <drepper@gmail.com>
55508
55509 [BZ #12713]
55510 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55511 ENAMETOOLONG use generic getcwd.
55512 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55513 in rtld. Use *stat64.
55514 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55515 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55516 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55517 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55518 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55519 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55520 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55521 __fstatat64 macros.
55522 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55523 * dirent/rewinddir.c: Add libc_hidden_def.
55524 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55525 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55526
55527 * include/dirent.h (__alloc_dir): Add flags parameter.
55528 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55529 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55530 __alloc_dir.
55531 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55532 from fdopendir if O_CLOEXEC is already set.
55533
555342011-03-15 Alan Modra <amodra@gmail.com>
55535
55536 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55537 l_tls_firstbyte_offset non-zero. Save padding offset in
55538 l_tls_firstbyte_offset for later use.
55539 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55540 freeing static tls block.
55541
555422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55543
55544 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55545 where #ifdef was intended. The intent is to prevent ARG_MAX from
55546 being defined by the kernel headers.
55547
555482011-05-07 Ulrich Drepper <drepper@gmail.com>
55549
55550 [BZ #12734]
55551 * resolv/resolv.h: Define RES_NOTLDQUERY.
55552 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55553 no-tld-query and set RES_NOTLDQUERY.
55554 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55555 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55556 modern BIND to search name as TLD unless forbidden.
55557
555582011-05-07 Petr Baudis <pasky@suse.cz>
55559 Ulrich Drepper <drepper@gmail.com>
55560
55561 [BZ #12393]
55562 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55563 (is_trusted_path): ...to here.
55564 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55565 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55566 using is_trusted_path_normalize() in setuid scripts.
55567
555682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55569
55570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55571 __BEGIN/__END_DECLS.
55572
555732011-05-06 Ulrich Drepper <drepper@gmail.com>
55574
55575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55576 NSS_STATUS_NOTFOUND if no record was found.
55577
555782011-05-05 Andreas Schwab <schwab@redhat.com>
55579
55580 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55581 (headers-not-in-tirpc): Remove rpc/netdb.h
55582 * resolv/netdb.h: Revert last change.
55583
555842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55585
55586 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55587 circular dependency between libgcc.a and libc.a.
55588
555892011-05-05 Andreas Schwab <schwab@redhat.com>
55590
55591 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55592 * nis/Makefile: Don't install rpcsvc/*.
55593 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55594 instead of <rpc/types.h>.
55595 (MAXHOSTNAMELEN): Define.
55596
555972011-05-03 Andreas Schwab <schwab@redhat.com>
55598
55599 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55600
556012011-04-28 Maciej Babinski <mbabinski@google.com>
55602
55603 [BZ #12714]
55604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55605 gethostbyname4_r when IPv6 results are possible.
55606
556072011-05-02 Ulrich Drepper <drepper@gmail.com>
55608
55609 [BZ #12723]
55610 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55611 _PC_PIPE_BUF handling.
55612
556132011-04-30 Bruno Haible <bruno@clisp.org>
55614
55615 [BZ #12717]
55616 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55617 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55618 to 'int'.
55619 * inet/getnameinfo.c (getnameinfo): Likewise.
55620
556212011-04-29 Ulrich Drepper <drepper@gmail.com>
55622
55623 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55624 to groups setting in database lookup.
55625 * nss/nsswitch.conf: Add initgroups entry.
55626
556272011-04-22 Ulrich Drepper <drepper@gmail.com>
55628
55629 [BZ #12685]
55630 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55631 mode string.
55632 Patch by Eric Blake <eblake@redhat.com>.
55633
556342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55635
55636 * sunrpc/Makefile (need-export-routines): Add svc_run.
55637 (routines): Remove svc_run.
55638 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55639 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55640 * sunrpc/svc_run.c (svc_run): Likewise.
55641 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55642
556432011-04-21 Ulrich Drepper <drepper@gmail.com>
55644
55645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55646 problem in reallocation in last patch.
55647
556482011-04-20 Ulrich Drepper <drepper@gmail.com>
55649
55650 * sunrpc/Makefile: Move inclusion of Rules.
55651
556522011-04-19 Ulrich Drepper <drepper@gmail.com>
55653
55654 * nss/nss_files/files-initgroups.c: New file.
55655 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55656 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55657 _nss_files_initgroups_dyn.
55658
556592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55660
55661 * elf/elf.h (R_ARM_IRELATIVE): Define.
55662
556632011-04-19 Ulrich Drepper <drepper@gmail.com>
55664
55665 * po/ru.po: Update from translation team.
55666
556672011-04-17 Ulrich Drepper <drepper@gmail.com>
55668
55669 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55670 dependencies.
55671
556722011-02-06 Mike Frysinger <vapier@gentoo.org>
55673
55674 [BZ #12653]
55675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55676 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55680
556812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55682
55683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55684 differing bytes.
55685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55688
556892011-04-17 Ulrich Drepper <drepper@gmail.com>
55690
55691 [BZ #12420]
55692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55693 storing it.
55694 * stdlib/bug-getcontext.c: New file.
55695 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55696
556972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55698
55699 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55700 instructions into .machine "z9-109".
55701 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55702 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55703
557042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55705
55706 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55707 between environment variables and auxiliary vector.
55708
557092011-04-16 Ulrich Drepper <drepper@gmail.com>
55710
55711 * Makefile: Add rules to build linkobj/libc.so.
55712 * include/libc-symbols.h: Define libc_hidden_nolink.
55713 * include/rpc/auth.h: Mark functions which are to be hidden.
55714 * include/rpc/auth_des.h: Likewise.
55715 * include/rpc/auth_unix.h: Likewise.
55716 * include/rpc/clnt.h: Likewise.
55717 * include/rpc/des_crypt.h: Likewise.
55718 * include/rpc/key_prot.h: Likewise.
55719 * include/rpc/pmap_clnt.h: Likewise.
55720 * include/rpc/pmap_prot.h: Likewise.
55721 * include/rpc/pmap_rmt.h: Likewise.
55722 * include/rpc/rpc_msg.h: Likewise.
55723 * include/rpc/svc.h: Likewise.
55724 * include/rpc/svc_auth.h: Likewise.
55725 * include/rpc/xdr.h: Likewise.
55726 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55727 * nss/Makefile: Likewise.
55728 * sunrpc/Makefile: Don't install headers. Build library with normal
55729 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55730 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55731 for the compat linking library. Remove use of INTDEF/INTUSE.
55732 * sunrpc/auth_none.c: Likewise.
55733 * sunrpc/auth_unix.c: Likewise.
55734 * sunrpc/authdes_prot.c: Likewise.
55735 * sunrpc/authuxprot.c: Likewise.
55736 * sunrpc/clnt_gen.c: Likewise.
55737 * sunrpc/clnt_perr.c: Likewise.
55738 * sunrpc/clnt_raw.c: Likewise.
55739 * sunrpc/clnt_simp.c: Likewise.
55740 * sunrpc/clnt_tcp.c: Likewise.
55741 * sunrpc/clnt_udp.c: Likewise.
55742 * sunrpc/clnt_unix.c: Likewise.
55743 * sunrpc/des_crypt.c: Likewise.
55744 * sunrpc/des_soft.c: Likewise.
55745 * sunrpc/get_myaddr.c: Likewise.
55746 * sunrpc/key_call.c: Likewise.
55747 * sunrpc/key_prot.c: Likewise.
55748 * sunrpc/netname.c: Likewise.
55749 * sunrpc/pm_getmaps.c: Likewise.
55750 * sunrpc/pm_getport.c: Likewise.
55751 * sunrpc/pmap_clnt.c: Likewise.
55752 * sunrpc/pmap_prot.c: Likewise.
55753 * sunrpc/pmap_prot2.c: Likewise.
55754 * sunrpc/pmap_rmt.c: Likewise.
55755 * sunrpc/publickey.c: Likewise.
55756 * sunrpc/rpc_cmsg.c: Likewise.
55757 * sunrpc/rpc_common.c: Likewise.
55758 * sunrpc/rpc_dtable.c: Likewise.
55759 * sunrpc/rpc_prot.c: Likewise.
55760 * sunrpc/rpc_thread.c: Likewise.
55761 * sunrpc/rtime.c: Likewise.
55762 * sunrpc/svc.c: Likewise.
55763 * sunrpc/svc_auth.c: Likewise.
55764 * sunrpc/svc_authux.c: Likewise.
55765 * sunrpc/svc_raw.c: Likewise.
55766 * sunrpc/svc_run.c: Likewise.
55767 * sunrpc/svc_simple.c: Likewise.
55768 * sunrpc/svc_tcp.c: Likewise.
55769 * sunrpc/svc_udp.c: Likewise.
55770 * sunrpc/svc_unix.c: Likewise.
55771 * sunrpc/svcauth_des.c: Likewise.
55772 * sunrpc/xcrypt.c: Likewise.
55773 * sunrpc/xdr.c: Likewise.
55774 * sunrpc/xdr_array.c: Likewise.
55775 * sunrpc/xdr_float.c: Likewise.
55776 * sunrpc/xdr_intXX_t.c: Likewise.
55777 * sunrpc/xdr_mem.c: Likewise.
55778 * sunrpc/xdr_rec.c: Likewise.
55779 * sunrpc/xdr_ref.c: Likewise.
55780 * sunrpc/xdr_sizeof.c: Likewise.
55781 * sunrpc/xdr_stdio.c: Likewise.
55782
557832011-04-10 Ulrich Drepper <drepper@gmail.com>
55784
55785 [BZ #12650]
55786 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55787 * sysdeps/ia64/dl-tls.h: Likewise.
55788 * sysdeps/powerpc/dl-tls.h: Likewise.
55789 * sysdeps/s390/dl-tls.h: Likewise.
55790 * sysdeps/sh/dl-tls.h: Likewise.
55791 * sysdeps/sparc/dl-tls.h: Likewise.
55792 * sysdeps/x86_64/dl-tls.h: Likewise.
55793 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55794
557952011-03-14 Andreas Schwab <schwab@redhat.com>
55796
55797 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55798 rpath element also skip the following colon.
55799 (expand_dynamic_string_token): Add is_path parameter and pass
55800 down to DL_DST_REQUIRED and _dl_dst_substitute.
55801 (decompose_rpath): Call expand_dynamic_string_token with
55802 non-zero is_path. Ignore empty rpaths.
55803 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55804 with zero is_path.
55805
558062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55807
55808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55809 Make cancelable.
55810
558112011-04-09 Ulrich Drepper <drepper@gmail.com>
55812
55813 [BZ #12655]
55814 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55815 Patch by Filipe David Manana <fdmanana@apache.org>.
55816
558172011-04-07 Andreas Schwab <schwab@redhat.com>
55818
55819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55820 Maintain aligned stack.
55821 (CHECK_RSP): Remove unused macro.
55822
558232011-04-03 Ulrich Drepper <drepper@gmail.com>
55824
55825 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55827
558282011-04-02 Ulrich Drepper <drepper@gmail.com>
55829
55830 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55831
55832 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55833
558342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55835
55836 [BZ #12518]
55837 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55838 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55839 * sysdeps/x86_64/memmove.c: New file.
55840 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55841 (memcpy): Renamed to ...
55842 (__new_memcpy): This.
55843 (memcpy): Provide GLIBC_2_14 memcpy.
55844 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55845 (memcpy): Provide GLIBC_2_2_5 memcpy.
55846
558472011-04-01 Ulrich Drepper <drepper@gmail.com>
55848
55849 [BZ #12631]
55850 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55851
558522011-03-30 Andreas Schwab <schwab@redhat.com>
55853
55854 * misc/syncfs.c: New file.
55855 * misc/Makefile (routines): Add syncfs.
55856 * posix/unistd.h: Declare syncfs.
55857 * sysdeps/unix/syscalls.list: Add syncfs.
55858
558592011-04-01 Andreas Schwab <schwab@redhat.com>
55860
55861 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55862 open_by_handle_at.
55863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55868 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55870
558712011-04-01 Ulrich Drepper <drepper@gmail.com>
55872
55873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55880
55881 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55882 sync_file_range.c with -fexceptions.
55883 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55884 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55885 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55886 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55887 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55890 sync_file_range as cancellation point
55891 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55892 now a wrapper around __call_sync_file_range with cancellation handling.
55893 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55894 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55895 function name to __call_sync_file_range.
55896 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55897 Add call_sync_file_range.
55898
558992011-04-01 Andreas Schwab <schwab@redhat.com>
55900
55901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55902 bits/timex.h.
55903
559042011-04-01 Ulrich Drepper <drepper@gmail.com>
55905
55906 * iconv/iconv.h: Fix typo in comment.
55907 * io/fcntl.h: Likewise.
55908 * libio/stdio.h: Likewise.
55909 * posix/spawn.h: Likewise.
55910 * posix/unistd.h: Likewise.
55911 * stdlib/stdlib.h: Likewise.
55912 * time/time.h: Likewise.
55913 * wcsmbs/wchar.h: Likewise.
55914
55915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55916 open_by_handle): Add.
55917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55918 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55919 Augment a few comments.
55920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55925 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55926 open_by_handle.
55927
55928 * io/fcntl.h (AT_EMPTY_PATH): Define.
55929
559302011-03-30 Ulrich Drepper <drepper@gmail.com>
55931
55932 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55933 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55934 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55935 to...
55936 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55937 * Versions.def: Add GLIBC_2.14.
55938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55939 Export.
55940
559412011-03-22 Ulrich Drepper <drepper@gmail.com>
55942
55943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55944 round counter.
55945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55946
559472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55948
55949 [BZ #12597]
55950 * string/test-strncmp.c (do_page_test): New function.
55951 (check2): Likewise.
55952 (test_main): Call check2.
55953 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55954
559552011-03-20 Ulrich Drepper <drepper@gmail.com>
55956
55957 [BZ #12587]
55958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55959 Handle cache information in CPU leaf 4.
55960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55961
559622011-03-18 Ulrich Drepper <drepper@gmail.com>
55963
55964 [BZ #12583]
55965 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55966 character representation.
55967 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55968
559692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55970
55971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55972 END(__isnan) to END(__isnanf) to match function entry point/label
55973 EALIGN(__isnanf,...).
55974
559752011-03-10 Jakub Jelinek <jakub@redhat.com>
55976
55977 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55978
559792011-03-10 Ulrich Drepper <drepper@gmail.com>
55980
55981 [BZ #12510]
55982 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55983 copy from the symbol referenced in the relocation to initialize the
55984 used variable.
55985 Patch by Piotr Bury <pbury@goahead.com>.
55986 * elf/Makefile: Add rules to build and tst-unique3.
55987 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55988 * elf/tst-unique3.cc: New file.
55989 * elf/tst-unique3.h: New file.
55990 * elf/tst-unique3lib.cc: New file.
55991 * elf/tst-unique3lib2.cc: New file.
55992
55993 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55994
559952011-03-10 Mike Frysinger <vapier@gentoo.org>
55996
55997 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55998 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55999 to _start.
56000
560012011-03-06 Ulrich Drepper <drepper@gmail.com>
56002
56003 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56004 to-be-loaded object along a path to loader is ld.so.
56005
560062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56007 Ulrich Drepper <drepper@gmail.com>
56008
56009 * sysdeps/x86_64/memset.S: After aligning destination, code
56010 branches to different locations depending on the value of
56011 misalignment, when multiarch is enabled. Fix this.
56012
560132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56014
56015 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56016 Set _x86_64_preferred_memory_instruction for AMD processsors.
56017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56018 Set bit_Prefer_SSE_for_memop for AMD processors.
56019
560202011-03-04 Ulrich Drepper <drepper@gmail.com>
56021
56022 * libio/fmemopen.c (fmemopen): Optimize a bit.
56023
560242011-03-03 Andreas Schwab <schwab@redhat.com>
56025
56026 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56027
560282011-03-03 Roland McGrath <roland@redhat.com>
56029
56030 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56031
560322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56033
56034 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56035 __bzero_ultra1 instead of __memset_ultra1.
56036
560372011-02-23 Andreas Schwab <schwab@redhat.com>
56038 Ulrich Drepper <drepper@gmail.com>
56039
56040 [BZ #12509]
56041 * include/link.h (struct link_map): Add l_orig_initfini.
56042 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56043 returning unsuccessfully.
56044 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56045 close of a file loaded at startup, restore the original l_initfini
56046 list.
56047 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56048 list, store the pointer.
56049 * elf/Makefile ($(objpfx)noload-mem): New rule.
56050 (noload-ENV): Define.
56051 (tests): Add $(objpfx)noload-mem.
56052 * elf/noload.c: Include <memcheck.h>.
56053 (main): Call mtrace. Close all opened handles.
56054
560552011-02-17 Andreas Schwab <schwab@redhat.com>
56056
56057 [BZ #12454]
56058 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56059 dependencies are missing.
56060
560612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56062
56063 Fix __if_freereq crash: Unlike the generic version which uses free,
56064 Hurd needs munmap.
56065 * sysdeps/mach/hurd/ifreq.h: New file.
56066
560672011-01-27 Petr Baudis <pasky@suse.cz>
56068 Ulrich Drepper <drepper@gmail.com>
56069
56070 [BZ 12445]#
56071 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56072 to extend_alloca().
56073 * stdio-common/bug23.c: New file.
56074 * stdio-common/Makefile (tests): Add bug23.
56075
560762010-09-28 Andreas Schwab <schwab@redhat.com>
56077 Ulrich Drepper <drepper@gmail.com>
56078
56079 [BZ #12489]
56080 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56081 before performing relro protection. At old place add assertion
56082 to make sure nothing changed.
56083
560842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56085 Glauber de Oliveira Costa <glommer@gmail.com>
56086
56087 * elf/elf.h: Add new ARM TLS relocs.
56088
560892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56090
56091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56092 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56093 cast from r3.
56094 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56095 'tests' variable.
56096 * sysdeps/wordsize-64/tst-writev.c: New file.
56097
560982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56099
56100 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56101 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56102 insns in _dl_start to prevent a TOC reference before relocs are
56103 resolved.
56104
561052011-02-15 Ulrich Drepper <drepper@gmail.com>
56106
56107 [BZ #12469]
56108 * Makeconfig: Remove RANLIB definition.
56109 * Makerules: Don't use RANLIB.
56110 * aclocal.m4: Remove ranlib test.
56111 * configure.in: No need to check for ranlib.
56112 * elf/rtld-Rules: Don't use RANLIB.
56113
561142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56115
56116 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56117 protection macro.
56118 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56119 inclusion protection macro.
56120
56121 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56122 SIGRTMIN and SIGRTMAX and print information in that case only when
56123 SIGRTMIN is defined.
56124
561252011-02-11 Jakub Jelinek <jakub@redhat.com>
56126
56127 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56128 arginfo fn returning -1.
56129
56130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56131 and thousands string is zero terminated.
56132
561332011-02-03 Andreas Schwab <schwab@redhat.com>
56134
56135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56136 sysdeps/unix/sysv/linux/bits/socket.h.
56137
561382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56139
56140 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56141 (__CPU_COUNT): Remove old macros.
56142 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56143 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56144 (__CPU_ALLOC, __CPU_FREE): Add macros.
56145 (__sched_cpualloc, __sched_cpufree): Add declarations.
56146
561472011-02-05 Ulrich Drepper <drepper@gmail.com>
56148
56149 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56150 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56151 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56152 (readdhstai): Return value of addhstaiX call.
56153 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56154 (addgrbyX): Return value returned by cache_addgr.
56155 (readdgrbyname): Return value returned by addgrbyX.
56156 (readdgrbygid): Likewise.
56157 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56158 (addpwbyX): Return value returned by cache_addpw.
56159 (readdpwbyname): Return value returned by addhstbyX.
56160 (readdpwbyuid): Likewise.
56161 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56162 (addservbyX): Return value returned by cache_addserv.
56163 (readdservbyname): Return value returned by addservbyX:
56164 (readdservbyport): Likewise.
56165 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56166 (addhstbyX): Return value returned by cache_addhst.
56167 (readdhstbyname): Return value returned by addhstbyX.
56168 (readdhstbyaddr): Likewise.
56169 (readdhstbynamev6): Likewise.
56170 (readdhstbyaddrv6): Likewise.
56171 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56172 (readdinitgroups): Return value returned by addinitgroupsX.
56173 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56174 (prune_cache): Keep track of timeout value of re-added entries.
56175 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56176 * nscd/nscd.h: Adjust prototypes of readd* functions.
56177
561782011-02-04 Roland McGrath <roland@redhat.com>
56179
56180 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56181 (nis_stats): Likewise.
56182 * nis/nis_modify.c (nis_modify): Likewise.
56183 * nis/nis_remove.c (nis_remove): Likewise.
56184 * nis/nis_add.c (nis_add): Likewise.
56185
56186 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56187
56188 * posix/fnmatch_loop.c: Add some consts.
56189
56190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56191
561922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56193
56194 [BZ #12460]
56195 * config.make.in (config-cflags-novzeroupper): Define.
56196 * configure.in: Substitute libc_cv_cc_novzeroupper.
56197 * elf/Makefile (AVX-CFLAGS): Define.
56198 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56199 (CFLAGS-tst-auditmod4a.c): Likewise.
56200 (CFLAGS-tst-auditmod4b.c): Likewise.
56201 (CFLAGS-tst-auditmod6b.c): Likewise.
56202 (CFLAGS-tst-auditmod6c.c): Likewise.
56203 (CFLAGS-tst-auditmod7b.c): Likewise.
56204 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56205
562062011-02-02 Ulrich Drepper <drepper@gmail.com>
56207
56208 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56209 function to the callback.
56210 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56211
562122011-02-02 Andreas Schwab <schwab@redhat.com>
56213
56214 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56215 of errno.
56216
562172011-01-19 Ulrich Drepper <drepper@gmail.com>
56218
56219 [BZ #11724]
56220 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56221 of constructors.
56222 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56223 of destructors.
56224 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56225
56226 [BZ #11724]
56227 * elf/Makefile: Add rules to build and run new test.
56228 * elf/tst-initorder.c: New file.
56229 * elf/tst-initorder.exp: New file.
56230 * elf/tst-initordera1.c: New file.
56231 * elf/tst-initordera2.c: New file.
56232 * elf/tst-initordera3.c: New file.
56233 * elf/tst-initordera4.c: New file.
56234 * elf/tst-initorderb1.c: New file.
56235 * elf/tst-initorderb2.c: New file.
56236 * elf/tst-order-a1.c: New file.
56237 * elf/tst-order-a2.c: New file.
56238 * elf/tst-order-a3.c: New file.
56239 * elf/tst-order-a4.c: New file.
56240 * elf/tst-order-b1.c: New file.
56241 * elf/tst-order-b2.c: New file.
56242 * elf/tst-order-main.c: New file.
56243 New test case by George Gensure <werkt0@gmail.com>.
56244
562452010-10-01 Andreas Schwab <schwab@redhat.com>
56246
56247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56248 decoding ACE if AI_CANONIDN.
56249
562502011-01-18 Ulrich Drepper <drepper@gmail.com>
56251
56252 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56253
562542011-01-17 Ulrich Drepper <drepper@gmail.com>
56255
56256 * version.h (RELEASE): Bump for 2.13 release.
56257 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56258
56259 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56260
56261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56262 MADV_NOHUGEPAGE.
56263 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56269
56270 * posix/getconf.c: Update copyright year.
56271 * catgets/gencat.c: Likewise.
56272 * csu/version.c: Likewise.
56273 * debug/catchsegv.sh: Likewise.
56274 * debug/xtrace.sh: Likewise.
56275 * elf/ldconfig.c: Likewise.
56276 * elf/ldd.bash.in: Likewise.
56277 * elf/sprof.c (print_version): Likewise.
56278 * iconv/iconv_prog.c: Likewise.
56279 * iconv/iconvconfig.c: Likewise.
56280 * locale/programs/locale.c: Likewise.
56281 * locale/programs/localedef.c: Likewise.
56282 * malloc/memusage.sh: Likewise.
56283 * malloc/mtrace.pl: Likewise.
56284 * nscd/nscd.c (print_version): Likewise.
56285 * nss/getent.c: Likewise.
56286
56287 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56288 PF_CAIF, and PF_ALG.
56289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56290
562912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56292
56293 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56294 (modules-names): Use them.
56295 (ifunc-test-modules, ifunc-pie-tests): Define.
56296 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56297 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56298 (test-extras): Likewise.
56299 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56300 $(compile-command.c).
56301 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56302 (all-built-dso): Define.
56303 (check-textrel.out, check-execstack.out): Depend on it.
56304
56305 * configure.in: Don't override --enable-multi-arch.
56306
563072011-01-15 Ulrich Drepper <drepper@gmail.com>
56308
56309 [BZ #6812]
56310 * nscd/hstcache.c (tryagain): Define.
56311 (cache_addhst): Return tryagain not notfound for temporary errors.
56312 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56313 failed.
56314
563152011-01-14 Ulrich Drepper <drepper@gmail.com>
56316
56317 [BZ #10563]
56318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56319 to make the syscall.
56320 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56321
56322 [BZ #12378]
56323 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56324 and fall back to matching as normal character if the string ends before
56325 the matching ']' is found. This is what POSIX requires.
56326 * posix/testfnm.c: Adjust test result.
56327 * posix/globtest.sh: Adjust test result. Add new test.
56328 * posix/tst-fnmatch.input: Likewise.
56329 * posix/tst-fnmatch2.c: Add new test.
56330
563312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56332
56333 * elf/Makefile (check-execstack): Revert last change. Depend on
56334 check-execstack.h.
56335 (check-execstack.h): New target.
56336 (generated): Add check-execstack.h.
56337 * elf/check-execstack.c: Include "check-execstack.h".
56338 (main): Revert last change.
56339 (handle_file): Return zero if GNU_STACK is absent and
56340 DEFAULT_STACK_PERMS doesn't include PF_X.
56341
563422011-01-13 Ulrich Drepper <drepper@gmail.com>
56343
56344 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56345 in child fails because the descriptor is already closed.
56346 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56347 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56349
56350 [BZ #12397]
56351 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56352 syscall.
56353
56354 [BZ #10484]
56355 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56356 temporary buffer used to handle multi lookups locally.
56357 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56358
563592011-01-12 Ulrich Drepper <drepper@gmail.com>
56360
56361 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56362 loader is ld.so.
56363
563642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56365
56366 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56367 alignment for SSE2.
56368
563692011-01-12 Ulrich Drepper <drepper@gmail.com>
56370
56371 [BZ #12394]
56372 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56373 characters. When rounding increased number of integer digits recompute
56374 number of groups.
56375 * stdio-common/tst-grouping.c: New file.
56376 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56377
563782011-01-09 Ulrich Drepper <drepper@gmail.com>
56379
56380 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56381 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56382
56383 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56384 void.
56385 * bits/select.h: Likewise.
56386
563872011-01-08 Ulrich Drepper <drepper@gmail.com>
56388
56389 * po/ja.po: Update from translation team.
56390
563912011-01-04 David S. Miller <davem@sunset.davemloft.net>
56392
56393 [BZ #11155]
56394 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56395 implementation just like for lxstat, fxstatat, et al.
56396
563972010-12-27 Jim Meyering <meyering@redhat.com>
56398
56399 [BZ #12348]
56400 * posix/regexec.c (build_trtable): Return failure indication upon
56401 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56402
564032010-12-25 Ulrich Drepper <drepper@gmail.com>
56404
56405 [BZ #12201]
56406 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56407 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56410
56411 [BZ #12207]
56412 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56413
56414 [BZ #12204]
56415 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56416 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56417
564182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56419
56420 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56421 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56422 script has SORT_BY_INIT_PRIORITY.
56423 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56424 NO_CTORS_DTORS_SECTIONS is defined.
56425 * elf/soinit.c: Likewise.
56426 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56427 NO_CTORS_DTORS_SECTIONS is defined.
56428 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56429 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56430 * sysdeps/sh/init-first.c: Likewise.
56431 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56432
564332010-12-24 Ulrich Drepper <drepper@gmail.com>
56434
56435 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56436 always use the slow path.
56437
564382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56439
56440 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56441 similar rule which adds the sysdep directories to the header search in
56442 order to pick up the correct platform stackinfo.h.
56443 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56444 perform test if it is, otherwise return successfully without testing.
56445 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56446 DEFAULT_STACK_PERMS define in stackinfo.h.
56447 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56448 defined in stackinfo.h.
56449 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56450 DEFAULT_STACK_PERMS defined in stackinfo.h.
56451 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56452 * sysdeps/ia64/stackinfo.h: Likewise.
56453 * sysdeps/s390/stackinfo.h: Likewise.
56454 * sysdeps/sh/stackinfo.h: Likewise.
56455 * sysdeps/sparc/stackinfo.h: Likewise.
56456 * sysdeps/x86_64/stackinfo.h: Likewise.
56457 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56458 PF_X for powerpc64. Retain PF_X for powerpc32.
56459
564602010-12-19 Ulrich Drepper <drepper@gmail.com>
56461
56462 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56463 accurately.
56464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56465 GETDENTS_64BIT_ALIGNED.
56466
564672010-12-14 Ulrich Drepper <dreper@gmail.com>
56468
56469 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56470
564712010-12-10 Andreas Schwab <schwab@redhat.com>
56472
56473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56474 _GNU_SOURCE.
56475
56476 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56477 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56478 Remove __restrict.
56479 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56480 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56481
564822010-12-09 Ulrich Drepper <drepper@gmail.com>
56483
56484 [BZ #11655]
56485 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56486 are initialized.
56487
564882010-12-09 Jakub Jelinek <jakub@redhat.com>
56489
56490 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56491
564922010-12-03 Ulrich Drepper <drepper@gmail.com>
56493
56494 * po/it.po: Update from translation team.
56495
564962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56497
56498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56499 unused codes.
56500
565012010-11-30 Ulrich Drepper <drepper@gmail.com>
56502
56503 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56504
565052010-11-24 Andreas Schwab <schwab@redhat.com>
56506
56507 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56508 specially.
56509 (gaih_getanswer_slice): Likewise.
56510
565112010-10-20 Jakub Jelinek <jakub@redhat.com>
56512
56513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56514
565152010-05-31 Petr Baudis <pasky@suse.cz>
56516
56517 [BZ #11149]
56518 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56519 silently even in the chroot mode.
56520
565212010-11-22 Ulrich Drepper <drepper@gmail.com>
56522
56523 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56524 last patch a bit. Pretty printing
56525
565262010-05-31 Petr Baudis <pasky@suse.cz>
56527
56528 [BZ #10085]
56529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56530 initialization of skip_initgroups_dyn.
56531
565322010-11-19 Ulrich Drepper <drepper@gmail.com>
56533
56534 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56536
565372010-11-16 Ulrich Drepper <drepper@gmail.com>
56538
56539 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56540
565412010-11-11 Andreas Schwab <schwab@redhat.com>
56542
56543 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56544 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56545 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56546 ($(objpfx)tst-fnmatch-mem): New rule.
56547 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56548 * posix/tst-fnmatch.c (main): Call mtrace.
56549
565502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56551
56552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56553 Support Intel processor model 6 and model 0x2c.
56554
565552010-11-10 Luis Machado <luisgpm@br.ibm.com>
56556
56557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56558 signed comparison.
56559
565602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56561
56562 [BZ #12205]
56563 * string/test-strncasecmp.c (check_result): New function.
56564 (do_one_test): Use it.
56565 (check1): New function.
56566 (test_main): Use it.
56567 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56568 Support strcasecmp and strncasecmp.
56569
565702010-11-08 Ulrich Drepper <drepper@gmail.com>
56571
56572 [BZ #12194]
56573 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56575
565762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56577
56578 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56579 IFUNC support.
56580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56581 memset-x86-64.
56582 * sysdeps/x86_64/multiarch/bzero.S: New file.
56583 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56584 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56585 * sysdeps/x86_64/multiarch/memset.S: New file.
56586 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56588 Set bit_Prefer_SSE_for_memop for Intel processors.
56589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56590 Define.
56591 (index_Prefer_SSE_for_memop): Define.
56592 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56593
565942010-11-04 Luis Machado <luisgpm@br.ibm.com>
56595
56596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56598
565992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56600
56601 [BZ #12191]
56602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56603 (__x86_64_raw_data_cache_size_half): Likewise.
56604 (__x86_64_raw_shared_cache_size): Likewise.
56605 (__x86_64_raw_shared_cache_size_half): Likewise.
56606
56607 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56608 (__x86_64_raw_data_cache_size_half): Likewise.
56609 (__x86_64_raw_shared_cache_size): Likewise.
56610 (__x86_64_raw_shared_cache_size_half): Likewise.
56611 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56612 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56613 and __x86_64_raw_shared_cache_size_half. Round
56614 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56615 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56616 to multiple of 256 bytes.
56617
566182010-11-03 Ulrich Drepper <drepper@gmail.com>
56619
56620 [BZ #12167]
56621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56622 of inacessible symlinks. Verify result of symlink before returning it.
56623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56624 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56625
566262010-10-28 Erich Ritz <erichritz@gmail.com>
56627
56628 * math/math.h (isinf): Fix typo in comment.
56629
566302010-11-01 Ulrich Drepper <drepper@gmail.com>
56631
56632 * po/da.po: Update from translation team.
56633
566342010-10-26 Ulrich Drepper <drepper@gmail.com>
56635
56636 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56637 is added to the list.
56638
566392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56640 Ulrich Drepper <drepper@gmail.com>
56641
56642 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56643 the global list here. Move code to...
56644 (_dl_add_to_namespace_list): ...here. New function.
56645 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56646 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56647 * elf/dl-load.c (lose): Don't remove the element from the list.
56648 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56649 (_dl_map_object): Likewise.
56650
566512010-10-25 Ulrich Drepper <drepper@gmail.com>
56652
56653 [BZ #12159]
56654 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56655 into all bytes of SSE register.
56656 Patch by Richard Li <richardpku@gmail.com>.
56657
566582010-10-24 Ulrich Drepper <drepper@gmail.com>
56659
56660 [BZ #12140]
56661 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56662 perturbing.
56663
566642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56665
56666 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56667 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56671 submachine.
56672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56673
566742010-10-22 Andreas Schwab <schwab@redhat.com>
56675
56676 * include/dlfcn.h (__RTLD_SECURE): Define.
56677 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56678 mode & __RTLD_SECURE instead.
56679 (open_path): Rename preloaded parameter to secure.
56680 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56681 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56682 * elf/dl-deps.c (openaux): Likewise.
56683 * elf/rtld.c (struct map_args): Remove is_preloaded.
56684 (map_doit): Don't use it.
56685 (dl_main): Likewise.
56686 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56687 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56688
566892010-09-09 Andreas Schwab <schwab@redhat.com>
56690
56691 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56692 (sysd-rules-targets): Remove duplicates.
56693 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56694 rtld-%.$o dependency.
56695
566962010-10-18 Andreas Schwab <schwab@redhat.com>
56697
56698 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56699 _dl_map_object do it.
56700
567012010-10-19 Ulrich Drepper <drepper@gmail.com>
56702
56703 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56704 fast fma builtins, define the macros in the C99 standard.
56705 (FP_FAST_FMAF): Likewise.
56706 (FP_FAST_FMAL): Likewise.
56707 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56708
56709 * bits/mathdef.h: Update copyright year.
56710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56711
567122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56713
56714 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56715 builtins, define the macros in the C99 standard.
56716 (FP_FAST_FMAF): Likewise.
56717 (FP_FAST_FMAL): Likewise.
56718 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56719 multiply/add.
56720 (FP_FAST_FMAF): Likewise.
56721
567222010-10-15 Jakub Jelinek <jakub@redhat.com>
56723
56724 [BZ #3268]
56725 * math/libm-test.inc (fma_test): Some new testcases.
56726 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56728 y and infinite z. Do multiplication by C already in long double.
56729 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56731 y and infinite z. Do bitwise or of inexact bit into u.d.
56732 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56733 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56734 * sysdeps/i386/fpu/s_fma.S: Removed.
56735 * sysdeps/i386/fpu/s_fmal.S: Removed.
56736
567372010-10-16 Jakub Jelinek <jakub@redhat.com>
56738
56739 [BZ #3268]
56740 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56742 computation is not scheduled after fetestexcept. Fix value
56743 of minimum denormal long double.
56744
567452010-10-14 Jakub Jelinek <jakub@redhat.com>
56746
56747 [BZ #3268]
56748 * math/libm-test.inc (fma_test): Add some more tests.
56749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56750 correctly.
56751
567522010-10-15 Andreas Schwab <schwab@redhat.com>
56753
56754 * scripts/data/localplt-s390-linux-gnu.data: New file.
56755 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56756
567572010-10-13 Jakub Jelinek <jakub@redhat.com>
56758
56759 [BZ #3268]
56760 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56761 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56762 instead of dbl-64.
56763 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56764 inlines.
56765 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56767 if one of x and y is very large and the other is subnormal.
56768 * sysdeps/s390/fpu/s_fmaf.c: New file.
56769 * sysdeps/s390/fpu/s_fma.c: New file.
56770 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56771 * sysdeps/powerpc/fpu/s_fma.S: New file.
56772 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56774 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56775
567762010-10-12 Jakub Jelinek <jakub@redhat.com>
56777
56778 [BZ #3268]
56779 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56780 fma tests.
56781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56782 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56783 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56784 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56785 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56787 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56788
567892010-10-12 Ulrich Drepper <drepper@redhat.com>
56790
56791 [BZ #12078]
56792 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56793 * posix/bug-regex31.input: Add test case.
56794
567952010-10-11 Ulrich Drepper <drepper@gmail.com>
56796
56797 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56798 * posix/bug-regex31.input: New file.
56799
56800 [BZ #12078]
56801 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56802 (parse_sub_exp): Fix last change, use postorder.
56803
56804 * posix/bug-regex31.c: New file.
56805 * posix/Makefile: Add rules to build and run bug-regex31.
56806
56807 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56808
56809 [BZ #12078]
56810 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56811
56812 [BZ #12108]
56813 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56814 to have entries in sys_siglist.
56815
56816 [BZ #12093]
56817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56818 be NULL.
56819
568202010-10-07 Jakub Jelinek <jakub@redhat.com>
56821
56822 [BZ #3268]
56823 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56824 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56825 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56826 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56828 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56829 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56830 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56831 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56832 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56833 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56834 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56835 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56836 * math/ftestexcept.c (fetestexcept): Likewise.
56837 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56838 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56839 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56840 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56841 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56842 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56844
568452010-10-11 Ulrich Drepper <drepper@gmail.com>
56846
56847 [BZ #12107]
56848 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56849 newline.
56850
568512010-10-06 Ulrich Drepper <drepper@gmail.com>
56852
56853 * string/bug-strstr1.c: New file.
56854 * string/Makefile: Add rules to build and run bug-strstr1.
56855
568562010-10-05 Eric Blake <eblake@redhat.com>
56857
56858 [BZ #12092]
56859 * string/str-two-way.h (two_way_long_needle): Always clear memory
56860 when skipping input due to the shift table.
56861
568622010-10-03 Ulrich Drepper <drepper@gmail.com>
56863
56864 [BZ #12005]
56865 * malloc/mcheck.c: Handle large requests.
56866
56867 [BZ #12077]
56868 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56869 for strncmp and strncasecmp.
56870 * string/stratcliff.c: Add tests for strcmp and strncmp.
56871 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56872
568732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56874
56875 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56876 __set_fpscr.
56877
568782010-09-30 Andreas Jaeger <aj@suse.de>
56879
56880 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56881 (CGROUP_SUPER_MAGIC): Define.
56882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56883 Handle btrfs and cgroup file systems.
56884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56885 Likewise.
56886
568872010-09-27 Luis Machado <luisgpm@br.ibm.com>
56888
56889 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56890 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56891
568922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56893
56894 [BZ #12067]
56895 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56896 trying to locate the ELF header.
56897
568982010-09-27 Andreas Schwab <schwab@redhat.com>
56899
56900 [BZ #11611]
56901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56902 Mask out sign-bit copies when constructing f_fsid.
56903
569042010-09-24 Petr Baudis <pasky@suse.cz>
56905
56906 * debug/stack_chk_fail_local.c: Add missing licence exception.
56907 * debug/warning-nop.c: Likewise.
56908
569092010-09-15 Joseph Myers <joseph@codesourcery.com>
56910
56911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56912 implementing getdents64 using getdents syscall, set d_type if
56913 __ASSUME_GETDENTS32_D_TYPE.
56914
569152010-09-16 Andreas Schwab <schwab@redhat.com>
56916
56917 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56918 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56919
569202010-09-21 Ulrich Drepper <drepper@redhat.com>
56921
56922 [BZ #12037]
56923 * posix/unistd.h: Undo change of feature selection for ftruncate from
56924 2010-01-11.
56925
569262010-09-20 Ulrich Drepper <drepper@redhat.com>
56927
56928 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56929 detection.
56930
569312010-09-20 Andreas Schwab <schwab@redhat.com>
56932
56933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56934 fanotify_mark.
56935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56936
569372010-09-14 Andreas Schwab <schwab@redhat.com>
56938
56939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56940 variables after CHECK_SP call.
56941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56942
569432010-09-13 Andreas Schwab <schwab@redhat.com>
56944 Ulrich Drepper <drepper@redhat.com>
56945
56946 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56947 re-relocationg ld.so.
56948 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56949 _dl_init_paths call.
56950 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56951 here anymore.
56952
569532010-09-14 Ulrich Drepper <drepper@redhat.com>
56954
56955 * resolv/res_init.c (__res_vinit): Count the default server we added.
56956
569572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56958 Ulrich Drepper <drepper@redhat.com>
56959
56960 [BZ #11968]
56961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56962 (____longjmp_chk): Use %ebx for saving value across system call.
56963 Add unwind info.
56964
569652010-09-06 Andreas Schwab <schwab@redhat.com>
56966
56967 * manual/Makefile: Don't mix pattern rules with normal rules.
56968
569692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56970
56971 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56972 operation.
56973 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56974 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56976 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56978 Likewise.
56979
569802010-09-04 Ulrich Drepper <drepper@redhat.com>
56981
56982 [BZ #11979]
56983 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56984 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56985
569862010-09-02 Ulrich Drepper <drepper@redhat.com>
56987
56988 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56989 * sysdeps/x86_64/addmul_1.S: Likewise.
56990 * sysdeps/x86_64/lshift.S: Likewise.
56991 * sysdeps/x86_64/mul_1.S: Likewise.
56992 * sysdeps/x86_64/rshift.S: Likewise.
56993 * sysdeps/x86_64/sub_n.S: Likewise.
56994 * sysdeps/x86_64/submul_1.S: Likewise.
56995
569962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56997
56998 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56999 Define __sched_param instead of SCHED_* and sched_param when
57000 <bits/sched.h> is included with __need_schedparam defined.
57001 * bits/sched.h [__need_schedparam]
57002 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57003 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57004 (__defined_schedparam): Define to 1.
57005 (__sched_param): New structure, identical to sched_param.
57006 (__need_schedparam): Undefine.
57007
570082010-08-31 Mike Frysinger <vapier@gentoo.org>
57009
57010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57011 (epoll_create1): Declare.
57012
57013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57014
570152010-08-31 Andreas Schwab <schwab@redhat.com>
57016
57017 [BZ #7066]
57018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57019 shifting retval into place.
57020
570212010-09-01 Ulrich Drepper <drepper@redhat.com>
57022
57023 * nis/rpcsvc/nis.h: Update copyright notice.
57024 * nis/rpcsvc/nis.x: Likewise.
57025 * nis/rpcsvc/nis_callback.h: Likewise.
57026 * nis/rpcsvc/nis_callback.x: Likewise.
57027 * nis/rpcsvc/nis_object.x: Likewise.
57028 * nis/rpcsvc/nis_tags.h: Likewise.
57029 * nis/rpcsvc/yp.h: Likewise.
57030 * nis/rpcsvc/yp.x: Likewise.
57031 * nis/rpcsvc/ypupd.h: Likewise.
57032 * nis/yp_xdr.c: Likewise.
57033 * nis/ypupdate_xdr.c: Likewise.
57034
57035 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57036 mainly the body of pmap_getport. Add parameters to specify timeouts.
57037 (pmap_getport): Use __libc_rpc_getport.
57038 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57039 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57040 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57041
570422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57043
57044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57045 fanotify_mark.
57046
570472010-08-27 Roland McGrath <roland@redhat.com>
57048
57049 * sysdeps/i386/i686/multiarch/Makefile
57050 (CFLAGS-varshift.c): New variable.
57051
570522010-08-27 Ulrich Drepper <drepper@redhat.com>
57053
57054 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57055 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57056
57057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57058
57059 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57060
570612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57062
57063 * sysdeps/x86_64/strlen.S: Unroll the loop.
57064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57065 strlen-sse2 strlen-sse2-bsf.
57066 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57067 __strlen_no_bsf if bit_Slow_BSF is set.
57068 (__strlen_sse42): Removed.
57069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57070 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57071
570722010-08-25 Roland McGrath <roland@redhat.com>
57073
57074 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57075 * sysdeps/x86_64/multiarch/varshift.c: New file.
57076 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57077 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57078 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57080
570812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57082
57083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57084 strlen-sse2 strlen-sse2-bsf.
57085 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57086 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57087 (__strlen_sse2): Removed.
57088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57091 bit_Slow_BSF for Atom.
57092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57093 (index_Slow_BSF): Define.
57094 (HAS_SLOW_BSF): Define.
57095
570962010-08-25 Ulrich Drepper <drepper@redhat.com>
57097
57098 [BZ #10851]
57099 * resolv/res_init.c (__res_vinit): When no server address at all
57100 is given default to loopback.
57101
571022010-08-24 Roland McGrath <roland@redhat.com>
57103
57104 * configure.in: Remove config-name.h generation.
57105 * configure: Regenerated.
57106 * config-name.in: File removed.
57107 * scripts/config-uname.sh: New file.
57108 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57109 ($(objdir)config-name.h): New target.
57110
57111 * sunrpc/rpc_parse.h: Avoid nested comment.
57112
571132010-08-24 Richard Henderson <rth@redhat.com>
57114 Ulrich Drepper <drepper@redhat.com>
57115 H.J. Lu <hongjiu.lu@intel.com>
57116
57117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57119 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57120 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57121 _mm_alignr_epi8 with _mm_loadu_si128.
57122 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57123 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57124 (__m128i_shift_right): Removed.
57125 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57126 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57127 * sysdeps/x86_64/multiarch/varshift.h: New file.
57128 * sysdeps/x86_64/multiarch/varshift.S: New file.
57129
571302010-08-21 Mike Frysinger <vapier@gentoo.org>
57131
57132 * configure.in: Move assembler checks to before sysdep dir checking.
57133
571342010-08-20 Petr Baudis <pasky@suse.cz>
57135
57136 * LICENSES: Sync the sunrpc license.
57137
571382010-08-19 Ulrich Drepper <drepper@redhat.com>
57139
57140 * sunrpc/auth_des.c: Update copyright notice once again.
57141 * sunrpc/auth_none.c: Likewise.
57142 * sunrpc/auth_unix.c: Likewise.
57143 * sunrpc/authdes_prot.c: Likewise.
57144 * sunrpc/authuxprot.c: Likewise.
57145 * sunrpc/bindrsvprt.c: Likewise.
57146 * sunrpc/clnt_gen.c: Likewise.
57147 * sunrpc/clnt_perr.c: Likewise.
57148 * sunrpc/clnt_raw.c: Likewise.
57149 * sunrpc/clnt_simp.c: Likewise.
57150 * sunrpc/clnt_tcp.c: Likewise.
57151 * sunrpc/clnt_udp.c: Likewise.
57152 * sunrpc/clnt_unix.c: Likewise.
57153 * sunrpc/des_crypt.c: Likewise.
57154 * sunrpc/des_soft.c: Likewise.
57155 * sunrpc/get_myaddr.c: Likewise.
57156 * sunrpc/getrpcport.c: Likewise.
57157 * sunrpc/key_call.c: Likewise.
57158 * sunrpc/key_prot.c: Likewise.
57159 * sunrpc/openchild.c: Likewise.
57160 * sunrpc/pm_getmaps.c: Likewise.
57161 * sunrpc/pm_getport.c: Likewise.
57162 * sunrpc/pmap_clnt.c: Likewise.
57163 * sunrpc/pmap_prot.c: Likewise.
57164 * sunrpc/pmap_prot2.c: Likewise.
57165 * sunrpc/pmap_rmt.c: Likewise.
57166 * sunrpc/rpc/auth.h: Likewise.
57167 * sunrpc/rpc/auth_unix.h: Likewise.
57168 * sunrpc/rpc/clnt.h: Likewise.
57169 * sunrpc/rpc/des_crypt.h: Likewise.
57170 * sunrpc/rpc/key_prot.h: Likewise.
57171 * sunrpc/rpc/netdb.h: Likewise.
57172 * sunrpc/rpc/pmap_clnt.h: Likewise.
57173 * sunrpc/rpc/pmap_prot.h: Likewise.
57174 * sunrpc/rpc/pmap_rmt.h: Likewise.
57175 * sunrpc/rpc/rpc.h: Likewise.
57176 * sunrpc/rpc/rpc_des.h: Likewise.
57177 * sunrpc/rpc/rpc_msg.h: Likewise.
57178 * sunrpc/rpc/svc.h: Likewise.
57179 * sunrpc/rpc/svc_auth.h: Likewise.
57180 * sunrpc/rpc/types.h: Likewise.
57181 * sunrpc/rpc/xdr.h: Likewise.
57182 * sunrpc/rpc_clntout.c: Likewise.
57183 * sunrpc/rpc_cmsg.c: Likewise.
57184 * sunrpc/rpc_common.c: Likewise.
57185 * sunrpc/rpc_cout.c: Likewise.
57186 * sunrpc/rpc_dtable.c: Likewise.
57187 * sunrpc/rpc_hout.c: Likewise.
57188 * sunrpc/rpc_main.c: Likewise.
57189 * sunrpc/rpc_parse.c: Likewise.
57190 * sunrpc/rpc_parse.h: Likewise.
57191 * sunrpc/rpc_prot.c: Likewise.
57192 * sunrpc/rpc_sample.c: Likewise.
57193 * sunrpc/rpc_scan.c: Likewise.
57194 * sunrpc/rpc_scan.h: Likewise.
57195 * sunrpc/rpc_svcout.c: Likewise.
57196 * sunrpc/rpc_tblout.c: Likewise.
57197 * sunrpc/rpc_util.c: Likewise.
57198 * sunrpc/rpc_util.h: Likewise.
57199 * sunrpc/rpcinfo.c: Likewise.
57200 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57201 * sunrpc/rpcsvc/key_prot.x: Likewise.
57202 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57203 * sunrpc/rpcsvc/mount.x: Likewise.
57204 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57205 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57206 * sunrpc/rpcsvc/rex.x: Likewise.
57207 * sunrpc/rpcsvc/rstat.x: Likewise.
57208 * sunrpc/rpcsvc/rusers.x: Likewise.
57209 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57210 * sunrpc/rpcsvc/spray.x: Likewise.
57211 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57212 * sunrpc/rtime.c: Likewise.
57213 * sunrpc/svc.c: Likewise.
57214 * sunrpc/svc_auth.c: Likewise.
57215 * sunrpc/svc_authux.c: Likewise.
57216 * sunrpc/svc_raw.c: Likewise.
57217 * sunrpc/svc_run.c: Likewise.
57218 * sunrpc/svc_simple.c: Likewise.
57219 * sunrpc/svc_tcp.c: Likewise.
57220 * sunrpc/svc_udp.c: Likewise.
57221 * sunrpc/svc_unix.c: Likewise.
57222 * sunrpc/svcauth_des.c: Likewise.
57223 * sunrpc/xcrypt.c: Likewise.
57224 * sunrpc/xdr.c: Likewise.
57225 * sunrpc/xdr_array.c: Likewise.
57226 * sunrpc/xdr_float.c: Likewise.
57227 * sunrpc/xdr_mem.c: Likewise.
57228 * sunrpc/xdr_rec.c: Likewise.
57229 * sunrpc/xdr_ref.c: Likewise.
57230 * sunrpc/xdr_sizeof.c: Likewise.
57231 * sunrpc/xdr_stdio.c: Likewise.
57232
57233 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57234 handling.
57235
572362010-08-19 Andreas Schwab <schwab@redhat.com>
57237
57238 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57239
572402010-08-19 Luis Machado <luisgpm@br.ibm.com>
57241
57242 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57245 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57247 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57249 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57252 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57254 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57255 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57256
572572010-07-26 Anton Blanchard <anton@samba.org>
57258
57259 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57260 * malloc/arena.c (heap_trim): Likewise.
57261
572622010-08-16 Ulrich Drepper <drepper@redhat.com>
57263
57264 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57265 here. Not...
57266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57267 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57268
572692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57270
57271 * sysdeps/i386/elf/Makefile: New file.
57272
572732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57274
57275 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57276 from fanotify_init.
57277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57279
572802010-08-15 Ulrich Drepper <drepper@redhat.com>
57281
57282 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57283 of strncasecmp_l.
57284 * sysdeps/multiarch/strcmp.S: Likewise.
57285
572862010-08-14 Ulrich Drepper <drepper@redhat.com>
57287
57288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57289 strncase_l-nonascii.
57290 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57291 Add strncase_l-ssse3.
57292 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57293 * sysdeps/x86_64/strcmp.S: Likewise.
57294 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57295 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57296 * sysdeps/x86_64/strncase.S: New file.
57297 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57298 * sysdeps/x86_64/strncase_l.S: New file.
57299 * string/Makefile (strop-tests): Add strncasecmp.
57300 * string/test-strncasecmp.c: New file.
57301
57302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57303 warning.
57304
57305 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57307
573082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57309
57310 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57311
573122010-08-12 Ulrich Drepper <drepper@redhat.com>
57313
57314 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57315 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57316 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57317
573182010-05-01 Alan Modra <amodra@gmail.com>
57319
57320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57321 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57322 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57323 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57324 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57325 tidying. Don't tail-call __sigjmp_save for static lib.
57326 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57327 save location.
57328 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57329 (CALL_MCOUNT): Add eh info, and nop after bl.
57330 (TAIL_CALL_SYSCALL_ERROR): New macro.
57331 (PSEUDO_RET): Use it.
57332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57333 Correct save location of integer regs and cr.
57334 (_dl_profile_resolve): Correct cr save location. Delete nops
57335 after bl when SHARED. Reduce cfi size a little by better
57336 placement of cfi directives.
57337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57338 make a stack frame. Instead use parm save area as a temp.
57339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57340 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57342 Don't make a stack frame for parent, use parm save area.
57343 Increase child stack frame to 112 bytes. Don't save unused reg,
57344 and adjust reg usage. Set up cfi on error recovery and
57345 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57347 (__makecontext): Add dummy nop after jump to exit.
57348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57349 Use correct parm save area and cr save, reduce stack frame.
57350 Correct cfi for possible PSEUDO_RET frame setup.
57351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57352 Branch to local label emitted by PSEUDO_RET rather than
57353 __syscall_error.
57354
573552010-08-12 Andreas Schwab <schwab@redhat.com>
57356
57357 [BZ #11904]
57358 * locale/programs/locale.c (print_assignment): New function.
57359 (show_locale_vars): Use it.
57360
573612010-08-11 Ulrich Drepper <drepper@redhat.com>
57362
57363 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57364 field.
57365 (struct statfs64): Likewise.
57366 (_STATFS_F_FLAGS): Define.
57367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57369 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57370 (ST_VALID): Define locally.
57371 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57372 __statvfs_getflags, use the provided value.
57373 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57374 __ASSUME_STATFS_F_FLAGS.
57375
57376 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57377
57378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57379 Add sys/fanotify.h.
57380 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57381 fanotify_mask for GLIBC_2.13.
57382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57383 fanotify_init and fanotify_mark.
57384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57385 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57386
57387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57388 Add prlimit.
57389 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57390 prlimit64 for GLIBC_2.13.
57391 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57392 prlimit64.
57393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57394 syscall.
57395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57397 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57400 add prlimit alias.
57401 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57402
57403 [BZ #11903]
57404 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57405 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57406
57407 * nss/Makefile: Add rules to build and run tst-nss-test1.
57408 * shlib-versions: Add entry for libnss_test1.
57409 * nss/nss_test1.c: New file.
57410 * nss/tst-nss-test1.c: New file.
57411
57412 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57413 (__nss_configure_lookup): Set appropriate entry in
57414 __nss_configure_lookup to true.
57415 * nss/nsswitch.h: Define enum with indeces of databases in
57416 databases and __nss_database_custom arrays. Declare
57417 __nss_database_custom.
57418 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57419 to avoid using nscd when custom rules are installed.
57420 * nss/getXXbyYY_r.c: Likewise.
57421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57422
57423 * nss/nss_files/files-parse.c: Whitespace fixes.
57424
574252010-08-09 Ulrich Drepper <drepper@redhat.com>
57426
57427 [BZ #11883]
57428 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57429 * posix/fnmatch_loop.c: Likewise.
57430
574312010-07-17 Andi Kleen <ak@linux.intel.com>
57432
57433 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57434 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57435 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57436 * Versions.def [GLIBC_2.13]: Add.
57437
574382010-08-06 Ulrich Drepper <drepper@redhat.com>
57439
57440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57441 Also fail if tpwd after pwuid call is NULL.
57442
574432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57444
57445 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57446 when converting to ms.
57447
574482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57449
57450 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57451 EOPNOTSUPP errors with ENOTTY.
57452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57453 EOPNOTSUPP errors with ENOTTY.
57454
574552010-07-31 Ulrich Drepper <drepper@redhat.com>
57456
57457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57458 Add strcasecmp_l-ssse3.
57459 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57460 strcasecmp.
57461 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57464
574652010-07-30 Ulrich Drepper <drepper@redhat.com>
57466
57467 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57468
57469 * string/Makefile (strop-tests): Add strcasecmp.
57470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57471 strcasecmp_l-nonascii.
57472 (gen-as-const-headers): Add locale-defines.sym.
57473 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57474 * sysdeps/x86_64/strcasecmp.S: New file.
57475 * sysdeps/x86_64/strcasecmp_l.S: New file.
57476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57477 * sysdeps/x86_64/locale-defines.sym: New file.
57478 * string/test-strcasecmp.c: New file.
57479
57480 * string/test-strcasestr.c: Test both ends of the range of characters.
57481 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57482
574832010-07-29 Roland McGrath <roland@redhat.com>
57484
57485 [BZ #11856]
57486 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57487
574882010-07-27 Ulrich Drepper <drepper@redhat.com>
57489
57490 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57491 for ld.so.
57492
574932010-07-27 Andreas Schwab <schwab@redhat.com>
57494
57495 * manual/memory.texi (Malloc Tunable Parameters): Document
57496 M_PERTURB.
57497
574982010-07-26 Roland McGrath <roland@redhat.com>
57499
57500 [BZ #11840]
57501 * configure.in (-fgnu89-inline check): Set and substitute
57502 gnu89_inline, not libc_cv_gnu89_inline.
57503 * configure: Regenerated.
57504 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57505
575062010-07-26 Ulrich Drepper <drepper@redhat.com>
57507
57508 * string/test-strnlen.c: New file.
57509 * string/Makefile (strop-tests): Add strnlen.
57510 * string/tester.c (test_strnlen): Add a few more test cases.
57511 * string/tst-strlen.c: Better error reporting.
57512
57513 * sysdeps/x86_64/strnlen.S: New file.
57514
575152010-07-24 Ulrich Drepper <drepper@redhat.com>
57516
57517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57518 lower-latency instructions.
57519
575202010-07-23 Ulrich Drepper <drepper@redhat.com>
57521
57522 * string/test-strcasestr.c: New file.
57523 * string/test-strstr.c: New file.
57524 * string/Makefile (strop-tests): Add strstr and strcasestr.
57525 * string/str-two-way.h: Don't undefine MAX.
57526 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57527
575282010-07-21 Andreas Schwab <schwab@redhat.com>
57529
57530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57531 strcasestr-nonascii.
57532 (CFLAGS-strcasestr-nonascii.c): Define.
57533 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57535 Remove unused attribute.
57536
575372010-07-20 Roland McGrath <roland@redhat.com>
57538
57539 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57540 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57541 ld.so.cache was broken. With it, there is no way to disable dsocaps
57542 like LD_HWCAP_MASK can disable hwcaps.
57543
575442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57545
57546 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57547
575482010-07-16 Ulrich Drepper <drepper@redhat.com>
57549
57550 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57551 call in strcasestr.
57552 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57553 __strcasestr_sse42_nonascii.
57554 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57555 strcasestr-nonascii.c.
57556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57557
575582010-06-15 Luis Machado <luisgpm@br.ibm.com>
57559
57560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57564
575652010-07-09 Ulrich Drepper <drepper@redhat.com>
57566
57567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57568 fcntl.
57569
575702010-07-06 Andreas Schwab <schwab@redhat.com>
57571
57572 [BZ #11577]
57573 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57574 dl_signal_cerror.
57575
575762010-07-06 Ulrich Drepper <drepper@redhat.com>
57577
57578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57579 _PC_PIPE_BUF using F_GETPIPE_SZ.
57580
575812010-07-05 Roland McGrath <roland@redhat.com>
57582
57583 * manual/arith.texi (Rounding Functions): Fix rint description
57584 implicit in round description.
57585
575862010-07-02 Ulrich Drepper <drepper@redhat.com>
57587
57588 * elf/Makefile: Fix linking for a few tests to make recent linker
57589 happy.
57590
575912010-06-30 Andreas Schwab <schwab@redhat.com>
57592
57593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57594 $(common-objpfx)libc_nonshared.a.
57595
575962010-06-21 Luis Machado <luisgpm@br.ibm.com>
57597
57598 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57599 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57600 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57602 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57620 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57621 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57622 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57623 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57624 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57625 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57626 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57627 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57628 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57629 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57630 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57631 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57646
576472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57648
57649 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57650 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57651 * string/memmove.c (memmove): Renamed to ...
57652 (MEMMOVE): ...this. Default to memmove.
57653 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57654 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57655 (END_CHK): Define.
57656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57657 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57658 mempcpy-ssse3-back memmove-ssse3-back.
57659 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57662 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57663 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57664 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57665 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57666 * sysdeps/x86_64/multiarch/memmove.c: New file.
57667 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57668 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57669 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57670 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57671 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57673 Define.
57674 (index_Fast_Copy_Backward): Define.
57675 (HAS_ARCH_FEATURE): Define.
57676 (HAS_FAST_REP_STRING): Define.
57677 (HAS_FAST_COPY_BACKWARD): Define.
57678
576792010-06-21 Andreas Schwab <schwab@redhat.com>
57680
57681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57682 Restore proper fallback handling.
57683
576842010-06-19 Ulrich Drepper <drepper@redhat.com>
57685
57686 [BZ #11701]
57687 * posix/group_member.c (__group_member): Correct checking loop.
57688
57689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57690 OOM in getpwuid_r correctly. Return error number when the caller
57691 should return, otherwise -1.
57692 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57693 call returning > 0 value.
57694 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57695
576962010-06-07 Andreas Schwab <schwab@redhat.com>
57697
57698 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57699 libc_nonshared.a from targets in modules-names.
57700
577012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57702
57703 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57704 requires it.
57705
577062010-06-10 Luis Machado <luisgpm@br.ibm.com>
57707
57708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57712
577132010-06-02 Andreas Schwab <schwab@redhat.com>
57714
57715 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57716
577172010-06-14 Ulrich Drepper <drepper@redhat.com>
57718
57719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57720 and F_GETPIPE_SZ.
57721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57727
577282010-06-14 Roland McGrath <roland@redhat.com>
57729
57730 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57731
577322010-06-07 Jakub Jelinek <jakub@redhat.com>
57733
57734 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57735 __REDIRECT followed by __THROW.
57736 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57737 * posix/getopt.h (getopt): Likewise.
57738
577392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57740
57741 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57742 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57743 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57744 in AT_FLAGS.
57745 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57746 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57747
577482010-05-28 Luis Machado <luisgpm@br.ibm.com>
57749
57750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57751
577522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57753
57754 [BZ #11640]
57755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57756 Properly check family and model.
57757
577582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57759
57760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57761
577622010-05-24 Luis Machado <luisgpm@br.ibm.com>
57763
57764 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57765
577662010-05-21 Ulrich Drepper <drepper@redhat.com>
57767
57768 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57769 symbol reference.
57770
577712010-05-19 Andreas Schwab <schwab@redhat.com>
57772
57773 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57774 symbol reference.
57775
577762010-05-21 Andreas Schwab <schwab@redhat.com>
57777
57778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57779 and internal_recvmmsg.
57780 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57783 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57784
57785 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57788
577892010-05-20 Andreas Schwab <schwab@redhat.com>
57790
57791 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57792
577932010-05-17 Luis Machado <luisgpm@br.ibm.com>
57794
57795 POWER7 optimizations.
57796 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57797 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57798
577992010-05-19 Ulrich Drepper <drepper@redhat.com>
57800
57801 * version.h: Update for 2.13 development version.
57802
578032010-05-12 Andrew Stubbs <ams@codesourcery.com>
57804
57805 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57806 exceptions. Return 0.
57807
578082010-05-07 Roland McGrath <roland@redhat.com>
57809
57810 * elf/ldconfig.c (main): Add a const.
57811
578122010-05-06 Ulrich Drepper <drepper@redhat.com>
57813
57814 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57815 (args_options): Add no-idn option.
57816 (ahosts_keys_int): Add idn_flags to ai_flags.
57817 (parse_option): Handle 'i' option to clear idn_flags.
57818
57819 * malloc/malloc.c (_int_free): Possible race in the most recently
57820 added check. Only act on the data if no current modification
57821 happened.
57822
57823See ChangeLog.17 for earlier changes.