]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add another test of asin.
[thirdparty/glibc.git] / ChangeLog
1 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2
3 * math/auto-libm-test-in: Add another test of asin.
4 * math/auto-libm-test-out: Regenerated.
5 * sysdeps/i386/fpu/libm-test-ulps: Update.
6 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7
8 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
9 Remove macro.
10 (LLL_EBX_REG): Likewise.
11 (LLL_ENTER_KERNEL): Likewise.
12
13 * math/auto-libm-test-in: Add more tests of asin.
14 * math/auto-libm-test-out: Regenerated.
15 * sysdeps/i386/fpu/libm-test-ulps: Update.
16 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17
18 [BZ #18138]
19 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20 libc_do_syscall_args): New structure.
21 (INTERNAL_SYSCALL_MAIN_0): New macro.
22 (INTERNAL_SYSCALL_MAIN_1): Likewise.
23 (INTERNAL_SYSCALL_MAIN_2): Likewise.
24 (INTERNAL_SYSCALL_MAIN_3): Likewise.
25 (INTERNAL_SYSCALL_MAIN_4): Likewise.
26 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
28 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
29 Replace conditional definitions by conditional definitions of ....
30 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
31 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
33 (libpthread-sysdep_routines): Add libc-do-syscall.
34 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36 to __NR_futex not 240.
37
38 2015-03-25 Alan Modra <amodra@gmail.com>
39
40 * NEWS: Advertise TLS optimization.
41 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
42 (DT_PPC_NUM): Increment.
43 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
44 (CHECK_STATIC_TLS): Use here.
45 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
46 TLS descriptors.
47 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48 * sysdeps/powerpc/dl-tls.c: New file.
49 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
50 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
51 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
52 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
56
57 2015-03-25 Alan Modra <amodra@gmail.com>
58
59 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
60 for overlapping .opd entries" to "support...".
61 * sysdeps/powerpc/powerpc64/configure: Regenerate
62
63 2015-03-25 Joseph Myers <joseph@codesourcery.com>
64
65 * math/auto-libm-test-in: Add more tests of acos.
66 * math/auto-libm-test-out: Regenerated.
67 * sysdeps/i386/fpu/libm-test-ulps: Update.
68 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69
70 * math/auto-libm-test-in: Add more tests of expm1.
71 * math/auto-libm-test-out: Regenerated.
72 * sysdeps/i386/fpu/libm-test-ulps: Update.
73 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74
75 2015-03-24 Joseph Myers <joseph@codesourcery.com>
76
77 * math/auto-libm-test-in: Add more tests of cosh and sinh.
78 * math/auto-libm-test-out: Regenerated.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
82 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
83 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84
85 * math/auto-libm-test-in: Add more tests of log2.
86 * math/auto-libm-test-out: Regenerated.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
89
90 2015-03-23 Roland McGrath <roland@hack.frob.com>
91
92 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
93 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
94 _IO_IS_APPENDING bit in READ_WRITE instead.
95
96 2015-03-23 Florian Weimer <fweimer@redhat.com>
97
98 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
99 (__determine_cpumask_size): Replace extend_alloca with a
100 variable-length array. Do not treat res == 0 as an error.
101
102 2015-03-23 Florian Weimer <fweimer@redhat.com>
103
104 [BZ #18100]
105 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
106 and integer overflow.
107 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
108 (main): Add integer overflow tests.
109 * manual/pattern.texi (Calling Wordexp): Document additional use
110 for WRDE_SYNTAX.
111
112 2015-03-23 Alan Modra <amodra@gmail.com>
113
114 * config.h.in: Remove HAVE_ASM_PPC_REL16.
115 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
116 and false branch of conditional.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
118 Likewise.
119
120 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
121
122 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
123 libc-modules.h
124 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
125 unused declaration of _hurd_intr_rpc_msg_in_trap.
126 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
127 defined instead of whether it is non-zero.
128 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
129 input constraint instead of both input and output constraint. Use ecx
130 clobber instead of %ecx.
131 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
132 mutex_unlock): Use a statement expression instead of an expression list.
133 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
134 type to vm_size_t instead of vm_address_t.
135 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
136 defined instead of whether it is non-zero.
137 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
138 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
139 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
140 comparisons with mapaddr.
141 * nscd/nscd-client.h: Include <time.h>.
142 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
143 9th parameter to __vm_region instead of int.
144 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
145 * scripts/check-local-headers.sh (exclude): Add device/,
146 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
147 cthreads.h.
148
149 2015-03-19 Roland McGrath <roland@hack.frob.com>
150
151 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
152 to account for alignment padding.
153 * sysdeps/arm/memmove.S: Likewise.
154
155 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
156
157 * sysdeps/unix/sysv/linux/generic/README: New file.
158
159 2015-03-18 Joseph Myers <joseph@codesourcery.com>
160
161 [BZ #18138]
162 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
163 (futex_abstimed_wait)
164 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
165 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
166 of lll_futex_timed_wait.
167
168 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
169
170 [BZ #17542]
171 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
172
173 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
174
175 [BZ #17090]
176 [BZ #17620]
177 [BZ #17621]
178 [BZ #17628]
179 * NEWS: Update.
180 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
181 entries with Static TLS too. Skip entries past the end of the
182 allocated DTV, from Alan Modra.
183 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
184 Static TLS DTV entry set up from...
185 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
186 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
187 * nptl/allocatestack.c (init_one_static_tls): ... and here...
188 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
189 for Static TLS.
190 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
191 that the slot we find is associated with the given map before
192 using its generation count.
193 * nptl_db/db_info.c: Include ldsodefs.h.
194 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
195 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
196 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
197 (link_map::l_tls_offset): New struct field.
198 (dtv_t::counter): Likewise.
199 (rtld_global): New struct.
200 (_rtld_global): New rtld variable.
201 (dl_tls_dtv_slotinfo_list): New rtld global field.
202 (dtv_slotinfo_list): New struct.
203 (dtv_slotinfo): Likewise.
204 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
205 (td_lookup): Rename to...
206 (td_mod_lookup): ... this. Use new mod parameter instead of
207 LIBPTHREAD_SO.
208 * nptl_db/td_thr_tlsbase.c: Include link.h.
209 (dtv_slotinfo_list, dtv_slotinfo): New functions.
210 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
211 addresses even if the DTV is out of date or missing them.
212 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
213 index zero-length arrays.
214 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
215 (td_lookup): Make it a macro implemented in terms of...
216 (td_mod_lookup): ... this declaration.
217 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
218 (DB_MAIN_VARIABLE): Likewise.
219
220 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
221
222 [BZ #18134]
223 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
224
225 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
226
227 * stdlib/setenv.c (__add_to_environ): Revert previous change.
228
229 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
230
231 [BZ #18128]
232 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
233 (atomic_add, atomic_increment_and_test)
234 (atomic_decrement_and_test): Fix 64-bit arithmetic.
235
236 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
237
238 * stdlib/setenv.c (__add_to_environ):
239 Dump core quickly if setenv (..., NULL, ...) is called.
240
241 2015-03-13 Roland McGrath <roland@hack.frob.com>
242
243 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
244 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
245 all the necessary asm magic in one place.
246 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
247 using those.
248
249 2015-03-13 Carlos O'Donell <carlos@redhat.com>
250
251 [BZ #14906]
252 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
253 traced file mtime. Use consistent log message.
254 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
255 (register_traced_file): Call install_watches. Always set mtime.
256 (invalidate_cache): Iterate over all trace files. Call install_watches.
257 (inotify_check_files): Don't inline. Handle watching parent
258 directories and configuration file movement in and out.
259 (handle_inotify_events): New function.
260 (main_loop_poll): Call handle_inotify_events.
261 (main_loop_epoll): Likewise.
262 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
263 (struct traced_file): Use array of inotify fds. Add parent directory,
264 and basename.
265 (struct database_dyn): Remove unused file_mtime.
266 (init_traced_file): New inline function.
267 (define_traced_file): New macro.
268 * nss/nss_db/db-init.c: Use define_traced_file.
269 (_nss_db_init): Use init_traced_file.
270 * nss/nss_files/files-init.c: Use define_traced_file.
271 (_nss_files_init): Use init_traced_file.
272
273 2015-03-12 Joseph Myers <joseph@codesourcery.com>
274
275 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
276 [_LIBC]: Do not include <stdlib.h>.
277 [!_LIBC] (abort): Remove declaration.
278 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
279 _FP_STATIC_ASSERT instead of conditionally calling abort.
280 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
281 (_FP_EXTEND_CNAN): Likewise.
282 (FP_TRUNC): Likewise.
283 (__FP_CLZ): Likewise.
284 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
285
286 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
287
288 * manual/string.texi (XPG basename): Fix prototype.
289
290 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
291
292 [BZ #18080]
293 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
294 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
295 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
296 (__setcontext): Likewise.
297 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
298 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
299 Call rt_sigprocmask syscall one time to set new signal mask
300 and retrieve the current signal mask instead of two calls.
301 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
302 (__swapcontext): Likewise.
303 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
304 * stdlib/tst-setcontext2.c: New file.
305
306 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
307
308 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
309
310 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
311
312 [BZ #18093]
313 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
314 the wrong size.
315
316 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
317
318 [BZ #18043]
319 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
320
321 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
322
323 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
324 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
325 Remove define.
326 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
327 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
328 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
329 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
330 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
331 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
332 define.
333 * nptl_db/td_symbol_list.c (td_lookup): Remove
334 HAVE_ASM_GLOBAL_DOT_NAME code.
335 * sysdeps/powerpc/powerpc64/configure.ac: Remove
336 HAVE_ASM_GLOBAL_DOT_NAME check.
337 * sysdeps/powerpc/powerpc64/configure: Regenerate.
338 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
339 (DOT_LABEL): Remove define.
340 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
341 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
342 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
343 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
344 (__TLS_GET_ADDR): Likewise.
345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
346 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
347
348 2015-03-11 Carlos O'Donell <carlos@redhat.com>
349
350 [BZ #18111]
351 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
352 (_FPU_SETCW): Initialize cw from fpsr before storing.
353 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
354 (fesetexceptflag): Rewrite using fpu_control.h.
355 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
356
357 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
358
359 [BZ #18110]
360 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
361 asms.
362 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
363
364 2015-03-11 Joseph Myers <joseph@codesourcery.com>
365
366 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
367 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
368 abort.
369 (_FP_FMA): Likewise.
370 (_FP_DIV): Likewise.
371
372 2015-03-10 Roland McGrath <roland@hack.frob.com>
373
374 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
375 with 0 in that case.
376 * Makefile (summarize-tests): New canned sequence, factored out of
377 commands for targets tests and xtests. Display summary lines that
378 don't start with PASS: or XFAIL: rather than ones that do start with
379 ERROR: or FAIL:. Make the commands fail if any summary lines fail
380 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
381 do start with ERROR: or FAIL:.
382 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
383 (except for [$(build-shared) = yes]).
384 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
385 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
386 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
387 * nptl/Makefile: Revert 2015-03-04 changes.
388 [$(CXX) empty] (tests-unsupported): New variable.
389 * debug/Makefile: Likewise.
390
391 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
392 gnulib file. Replace __attribute with __attribute__ throughout.
393
394 2015-03-10 Carlos O'Donell <carlos@redhat.com>
395
396 * sysdeps/hppa/fpu/libm-test-ulps: Update.
397
398 2015-03-10 Joseph Myers <joseph@codesourcery.com>
399
400 [BZ #18104]
401 * math/auto-libm-test-in: Add another test of pow.
402 * math/auto-libm-test-out: Regenerated.
403
404 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
405
406 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
407 $(config-cflags-nofma).
408
409 2015-03-10 Joseph Myers <joseph@codesourcery.com>
410
411 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
412 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
413 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
414 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
415 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
416 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
417 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
418 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
419 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
420 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
421 Add comment on closing #endif.
422
423 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
424
425 * posix/wordexp.c (CHAR_IN_SET): New macro.
426 (parse_param): Use it.
427
428 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * sysdeps/powerpc/fpu/libm-test-ulps: update.
431
432 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
433
434 [BZ #18043]
435 * posix/wordexp.c (parse_param): Fix buffer overflow.
436 * posix/wordexp-test.c (test_case): Add test case.
437
438 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
439
440 [BZ #18042]
441 * posix/wordexp.c (parse_backtick): Fix off-by-one.
442 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
443
444 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
445
446 [BZ #18043]
447 * posix/wordexp-test.c (test_case): Add test for BZ #18043
448 (do_bz18043): Delete.
449 (at_page_end): New.
450 (testit): Refactor to have words at the edge of unreadable page.
451
452 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
453
454 [BZ #16734]
455 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
456 Cleanup read-only streams as well.
457 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
458
459 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
460
461 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
462 <bits/libc-lockP.h>
463
464 2015-03-07 Joseph Myers <joseph@codesourcery.com>
465
466 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
467 on [__KERNEL__].
468 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
469 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
470 * soft-fp/op-common.h (_FP_DECL): Likewise.
471
472 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
473
474 * elf/ifuncdep2.c (global): Replace
475 __attribute__((visibility("protected"))) with
476 asm (".protected global").
477 * elf/ifuncmod1.c (global): Likewise.
478 * elf/ifuncmod5.c (global): Likewise.
479
480 2015-03-06 Joseph Myers <joseph@codesourcery.com>
481
482 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
483 <asm/sfp-machine.h> instead of <sfp-machine.h>.
484
485 2015-03-06 Roland McGrath <roland@hack.frob.com>
486
487 * manual/install.texi (Configuring and compiling):
488 Document test-wrapper-env-only.
489 * INSTALL: Regenerated.
490
491 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
492
493 [BZ #18043]
494 * posix/wordexp.c (parse_param): Fix buffer overflow.
495 * posix/wordexp-test.c (do_bz18043): Add test case.
496
497 2015-03-06 Vincent Bernat <vincent@bernat.im>
498
499 * time/tst-strptime2.c (do_test): Ensure failing tests are
500 reported correctly.
501 * time/tst-strptime3.c (do_test): Likewise.
502
503 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
504
505 Fix aio_error thread-safety.
506 * sysdeps/pthread/aio_error.c: New file
507 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
508 synchronization.
509
510 2015-03-06 Florian Weimer <fweimer@redhat.com>
511
512 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
513 (group_number, vfprintf): Use it.
514 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
515 (JUMP, REF): Use it.
516 (WORK_BUFFER_SIZE): New enum constant.
517 (process_arg, vfprintf): Use it.
518
519 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
520
521 * manual/errno.texi (Error Messages): Complete example function
522 by adding missing #define.
523 (program_invocation_name): Add statement indicating GNU
524 extension and reference which header file declares the variable.
525 (program_invocation_short_name): Likewise.
526
527 2015-03-06 Mike Frysinger <vapier@gentoo.org>
528
529 * manual/errno.texi (Error Messages): Delete strerror ISO C89
530 compatibility note.
531
532 2015-03-05 Roland McGrath <roland@hack.frob.com>
533
534 * Makeconfig (test-wrapper-env-only): New variable.
535 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
536 then use that with $(test-wrapper-env-only) rather than using
537 $(test-wrapper-env) $(run-program-env) $($*-ENV).
538
539 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
540
541 [BZ #18082]
542 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
543 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
544 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
545 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
546 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
547 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
548 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
549 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
550 Likewise.
551 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
552 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
553 Likewise.
554 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
555 Likewise.
556 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
557 Likewise.
558 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
559 Likewise.
560 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
562 Likewise.
563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
564 Likewise.
565 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
566 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
567
568 2015-03-04 Roland McGrath <roland@hack.frob.com>
569
570 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
571 (ETH_ALEN): New macro.
572 (struct ether_addr): Use it for length of ether_addr_octet.
573
574 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
575 (setdb): Don't call __nss_configure_lookup for "rpc".
576 (do_test): Don't call test_rpc.
577 (output_rpcent, test_rpc): Functions moved ...
578 * sunrpc/test-rpcent.c: ... to this new file.
579 * sunrpc/Makefile (tests): Add it.
580
581 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
582 __xpg_sigpause.
583 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
584 * nptl/tst-signal6.c: Likewise.
585 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
586 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
587
588 * configure.ac (libc_cv_cxx_link_ok): New check.
589 Reset CXX to empty if it fails to link.
590 * configure: Regenerated.
591 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
592 bug-atexit3-lib only if $(CXX) is nonempty.
593 * nptl/Makefile (tests): Likewise for tst-cancel24.
594 (tests, tests-static): Likewise for tst-cancel24-static.
595 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
596 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
597 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
598 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
599
600 2015-03-04 Andreas Schwab <schwab@suse.de>
601
602 [BZ #17631]
603 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
604 for non-GCC compilers.
605 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
606 Likewise.
607
608 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
609
610 [BZ #17776]
611 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
612 integer before bitwise and assembly operations.
613 (feclearexcept): Likewise.
614 * math/test-fenvinline.c: New file.
615 * math/Makefile: Add test-fenvinline test.
616
617 2015-03-03 Alan Modra <amodra@gmail.com>
618
619 [BZ #16512]
620 * scripts/localplt.awk: Strip off symbol version.
621 * NEWS: Mention bug fix.
622
623 2015-03-02 Roland McGrath <roland@hack.frob.com>
624
625 * sysdeps/pthread/timer_routines.c
626 (timer_free_list, thread_free_list, thread_active_list): Make static.
627
628 2015-03-02 Joseph Myers <joseph@codesourcery.com>
629
630 [BZ #17779]
631 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
632 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
633 Undefine.
634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
635 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
636 Likewise.
637 * sysdeps/unix/sysv/linux/sh/kernel-features.h
638 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
639 Likewise.
640
641 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
642
643 [BZ #18036]
644 * posix/fnmatch_loop.c (END): Detect invalid pattern.
645 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
646
647 2015-03-02 Andreas Schwab <schwab@suse.de>
648
649 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
650 variable name.
651
652 2015-03-02 Florian Weimer <fweimer@redhat.com>
653
654 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
655 Return error status.
656
657 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
658
659 [BZ #15969]
660 * locale/findlocale.c (_nl_find_locale): Introduce const
661 version of loc_name and drop unsafe type casts.
662
663 2015-02-27 Roland McGrath <roland@hack.frob.com>
664
665 * dlfcn/tststatic2.c (main): Converted to ...
666 (do_test): ... this.
667 (TEST_FUNCTION): New macro.
668 Include test-skeleton.c.
669
670 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
671
672 [BZ #17711]
673 * elf/Makefile (tests): Add vismain only if PIE is enabled.
674 (tests-pie): Add vismain.
675 (CFLAGS-vismain.c): New.
676 * elf/vismain.c: Add comments for PIE requirement.
677
678 2015-02-27 Joseph Myers <joseph@codesourcery.com>
679
680 [BZ #18046]
681 [BZ #18047]
682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
683 0x1p-56L as threshold for just returning the argument.
684 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
685 0x1p-32L as threshold for just returning the argument.
686 * math/auto-libm-test-in: Add more tests of atanh.
687 * math/auto-libm-test-out: Regenerated.
688 * sysdeps/i386/fpu/libm-test-ulps: Update.
689 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
690
691 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
692
693 * string/bcopy.c (bcopy): Call memmove for performance.
694
695 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
696
697 * string/bzero.c (__bzero): Call memset for performance.
698
699 2015-02-27 John David Anglin <dave.anglin@bell.net>
700
701 [BZ #18068]
702 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
703 to 00100000.
704
705 2015-02-27 Joseph Myers <joseph@codesourcery.com>
706
707 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
708
709 2015-02-26 Joseph Myers <joseph@codesourcery.com>
710
711 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
712 (__kernel_standard): Use CSTR macro when setting exc.name.
713 * sysdeps/ieee754/Makefile [$(subdir) = math]
714 (CFLAGS-k_standard.c): Remove variable.
715
716 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
717 setting p and q from "else if" to "else".
718 (qzero): Likewise.
719 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
720 (qone): Likewise.
721 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
722 (qzerof): Likewise.
723 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
724 (qonef): Likewise.
725 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
726 (qzero): Likewise.
727 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
728 (qone): Likewise.
729
730 [BZ #18038]
731 [BZ #18039]
732 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
733 return pi/2 for arguments below 0x1p-113L.
734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
735 return pi/2 for arguments below 0x1p-106L.
736 * math/auto-libm-test-in: Add more tests of acos.
737 * math/auto-libm-test-out: Regenerated.
738
739 [BZ #16351]
740 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
741 (MO): New macro.
742 (__ieee754_asin): Force underflow exception for results with small
743 absolute value.
744 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
745 (MO): New macro.
746 (__ieee754_asinf): Force underflow exception for results with
747 small absolute value.
748 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
749 (__ieee754_asin): Force underflow exception for results with small
750 absolute value.
751 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
752 (__ieee754_asinf): Force underflow exception for results with
753 small absolute value.
754 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
755 (__ieee754_asinl): Force underflow exception for results with
756 small absolute value.
757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
758 (__ieee754_asinl): Force underflow exception for results with
759 small absolute value.
760 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
761 (__ieee754_asinl): Force underflow exception for results with
762 small absolute value.
763 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
764 Include <math.h>.
765 * math/auto-libm-test-in: Do not mark underflow exceptions as
766 possibly missing for bug 16351.
767 * math/auto-libm-test-out: Regenerated.
768
769 [BZ #18030]
770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
771 of power of 2 down when low part has opposite sign.
772 * math/libm-test.inc (logb_test_data): Add more tests.
773
774 2015-02-26 Andreas Schwab <schwab@suse.de>
775
776 [BZ #18032]
777 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
778 over collating symbol inside a bracket expression. Minor cleanup.
779 * posix/tst-fnmatch3.c (do_test): Add test case.
780
781 2015-02-26 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #18029]
784 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
785 Adjust exponent of power of 2 down when low part has opposite
786 sign.
787 * math/libm-test.inc (ilogb_test_data): Add more tests.
788
789 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
790
791 [BZ #15969]
792 * locale/findlocale.c (_nl_find_locale): Fix constness error in
793 the previous change.
794
795 [BZ #15969]
796 * locale/findlocale.c (_nl_find_locale): Retry archive search
797 after alias expansion.
798
799 2015-02-25 Roland McGrath <roland@hack.frob.com>
800
801 * iconv/tst-iconv3.c (main): Converted to ...
802 (do_test): ... this.
803 (TEST_FUNCTION): New macro.
804 Include test-skeleton.c.
805
806 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
807 (convert): Make function static.
808 (test_unalign): Likewise. Add const to argument pointee types.
809 (main): Replace with static function do_test.
810 Print "Succeeded." only if RET is zero.
811 (TEST_FUNCTION): New macro.
812 Include test-skeleton.c.
813
814 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
815 returns a null pointer.
816
817 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818
819 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
820 to __memcpy_ppc only for static builds.
821
822 2015-02-25 Joseph Myers <joseph@codesourcery.com>
823
824 [BZ #18020]
825 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
826 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
827 * math/auto-libm-test-in: Add more tests of asinh.
828 * math/auto-libm-test-out: Regenerated.
829 * sysdeps/i386/fpu/libm-test-ulps: Update.
830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
831
832 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
833
834 [BZ #15850]
835 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
836 and ip6_mtuinfo definitions here.
837 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
838 in this define too. Update comment.
839
840 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
841
842 * elf/sprof.c (load_shobj): Tweak error message to match others.
843
844 2015-02-24 Kevin Easton <kevin@guarana.org>
845
846 [BZ #16145] (partial fix)
847 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
848 to reduce lock contention.
849
850 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
851
852 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
853 (struct timex): Update time comment.
854 (ADJ_SETOFFSET): Define.
855
856 2015-02-24 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #18019]
859 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
860 2**56 not 2**28 as threshold for log (2x) formula.
861 * math/auto-libm-test-in: Add more tests of acosh.
862 * math/auto-libm-test-out: Regenerated.
863 * sysdeps/i386/fpu/libm-test-ulps: Update.
864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865
866 2015-02-24 Mike Frysinger <vapier@gentoo.org>
867
868 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
869 parenthesis around the buf assignment.
870 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
871
872 2015-02-24 Joseph Myers <joseph@codesourcery.com>
873
874 [BZ #16783]
875 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
876 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
877 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
878 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
879 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
880 * math/libm-test.inc (scalb_test_data): Add more tests.
881
882 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
883
884 [BZ #17916]
885 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
886 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
887
888 2015-02-24 Eric Rannaud <e@nanocritical.com>
889
890 [BZ #17523]
891 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
892 * io/bits/fcntl2.h (open): Use it.
893 (openat): Likewise.
894 * io/open.c (__libc_open): Likewise.
895 * io/open64.c (__libc_open64): Likewise.
896 * io/open64_2.c (__open64_2): Likewise.
897 * io/open_2.c (__open_2): Likewise.
898 * io/openat.c (__openat): Likewise.
899 * io/openat64.c (__openat64): Likewise.
900 * io/openat64_2.c (__openat64_2): Likewise.
901 * io/openat_2.c (__openat_2): Likewise.
902 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
903 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
904 * sysdeps/posix/open64.c (__libc_open64): Likewise.
905 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
906 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
907 (__open_nocancel): Likewise.
908 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
909 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
910 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
911
912 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
913
914 [BZ #14841]
915 * resolv/gethnamaddr.c (getanswer): Skip logging if
916 RES_USE_DNSSEC is set.
917 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
918
919 2015-02-24 Mike Frysinger <vapier@gentoo.org>
920
921 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
922
923 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
924
925 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
926 201304L, for Unicode 7.
927
928 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
929
930 [BZ #17836]
931 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
932 shared library. Add gmon-start.os otherwise.
933 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
934 $(objpfx)gmon-start.os if builing shared library.
935 ($(objpfx)g$(static-start-installed-name)): Likewise.
936
937 2015-02-23 Andreas Schwab <schwab@suse.de>
938
939 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
940
941 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
942
943 [BZ #17269]
944 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
945 (enlarge_userbuf): Likewise.
946
947 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
948
949 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
950 * math/atest-exp.c (TIMEOUT): Adjust to 200.
951 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
952 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
953
954 2015-02-20 Joseph Myers <joseph@codesourcery.com>
955
956 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
957 expression inside statement expression.
958
959 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
960
961 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
962 <sysdeps/nptl/lowlevellock.h> and remove macros and
963 functions that are now defined there.
964 (SYS_futex): Remove.
965 (lll_compare_and_swap): Remove.
966 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
967
968 2015-02-19 Joseph Myers <joseph@codesourcery.com>
969
970 [BZ #17999]
971 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
972 instead of scandirat.
973 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
974 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
975 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
976 __scandirat.
977 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
978 (__scandirat): Declare. Use libc_hidden_proto.
979 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
980 Remove variable.
981 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
982
983 2015-02-18 Joseph Myers <joseph@codesourcery.com>
984
985 [BZ #15319]
986 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
987 (MO): New macro.
988 (__ieee754_atan2): For results with small absolute value, force
989 underflow exception and remove excess range and precision from
990 return value.
991 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
992 (MO): New macro.
993 (__ieee754_atan2f): For results with small absolute value, force
994 underflow exception and remove excess range and precision from
995 return value.
996 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
997 (MO): New macro.
998 (__atan): For results with small absolute value, force underflow
999 exception and remove excess range and precision from return value.
1000 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1001 (MO): New macro.
1002 (__atanf): For results with small absolute value, force underflow
1003 exception and remove excess range and precision from return value.
1004 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1005 <math.h>.
1006 (__ieee754_atan2): Force underflow exception for results with
1007 small absolute value.
1008 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1009 <math_private.h>.
1010 (atan): Force underflow exception for results with small absolute
1011 value.
1012 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1013 (__atanf): Force underflow exception for results with small
1014 absolute value.
1015 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1016 <math.h>.
1017 (__atanl): Force underflow exception for results with small
1018 absolute value.
1019 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1020 (__atanl): Force underflow exception for results with small
1021 absolute value.
1022 * sysdeps/x86/fpu/bits/mathinline.h
1023 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1024 (__ieee754_atan2): Only define inline for long double.
1025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1026 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1027 * math/auto-libm-test-in: Do not mark underflow exceptions as
1028 possibly missing for bug 15319. Add more tests of atan2.
1029 * math/auto-libm-test-out: Regenerated.
1030 * math/libm-test.inc (casin_test_data): Do not mark underflow
1031 exceptions as possibly missing for bug 15319.
1032 (casinh_test_data): Likewise.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034
1035 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1036
1037 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1038 * sysdeps/mips/bits/endian.h: Fix comments.
1039
1040 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1041
1042 [BZ #17996]
1043 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1044 (hdestroy_r): Likewise.
1045 (hsearch_r): Likewise.
1046 (__hcreate_r): Declare and use libc_hidden_proto.
1047 (__hdestroy_r): Likewise.
1048 (__hsearch_r): Likewise.
1049 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1050 (hcreate): Call __hcreate_r instead of hcreate_r.
1051 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1052 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1053 as weak alias of __hcreate_r.
1054 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1055 __hdestroy_r.
1056 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1057 __hsearch_r.
1058 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1059 Remove variable.
1060 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1061 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1062 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1063 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1064
1065 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1066
1067 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1068 arena_lock into a single arena_get.
1069
1070 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1071
1072 * dl-reloc.c: Inlucde libc-internal.h.
1073 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1074 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1075 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1076 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1077 (grow_heap): Likewise.
1078 * malloc/malloc.c: Include libc-internal.h.
1079 (do_check_malloc): Call powerof2.
1080 (sysmalloc): Use pagesize. Call ALIGN_UP.
1081 (systrim): Use pagesize.
1082 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1083 (__libc_valloc): Use pagesize.
1084 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1085
1086 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1087
1088 [BZ #17991]
1089 * include/sys/resource.h (__getrlimit64): Declare. Use
1090 libc_hidden_proto.
1091 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1092 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1093 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1094 getrlimit64.
1095 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1096 __getrlimit64.
1097 [!getrlimit64] (getrlimit64): Define as weak alias of
1098 __getrlimit64. Use libc_hidden_weak.
1099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1100 using __getrlimit64 not __new_getrlimit64.
1101 (__GI_getrlimit64): Likewise.
1102 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1103 Likewise.
1104 (__GI_getrlimit64): Likewise.
1105 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1107 (getrlimit): Add __getrlimit64 alias.
1108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1109 Likewise.
1110 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1111 Remove variable.
1112 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1113 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1114
1115 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1116
1117 * libio/fileops.c: Add missing sys/mman.h
1118 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1119
1120 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1121
1122 * manual/math.texi (Errors in Math Functions): Clarify goals
1123 regarding inexact and underflow exceptions.
1124
1125 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1126
1127 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1128 * sysdeps/mips/memset.S: Ditto.
1129
1130 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1131
1132 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1133
1134 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1135
1136 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1137 (__v1longjmp): Remove versioned symbol.
1138 (__v1siglongjmp): Remove alias and versioned symbol.
1139 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1140 (__v2siglongjmp): Likewise.
1141
1142 2015-02-16 Torvald Riegel <triegel@redhat.com>
1143
1144 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1145
1146 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1147
1148 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1149
1150 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1151
1152 [BZ #17987]
1153 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1154 zero result does not depend on the sign resulting from
1155 subtraction.
1156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1157 Likewise.
1158 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1159 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1161 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1162 * math/libm-test.inc (remquo_test_data): Add more tests.
1163
1164 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1165
1166 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1167 Problem reported by J William Piggott.
1168
1169 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #17978]
1172 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1173 products 4 * y and 2 * y where those would overflow.
1174 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1175 Likewise.
1176 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1177 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1178 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1179 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1180 * math/libm-test.inc (remquo_test_data): Add more tests.
1181
1182 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1183
1184 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1185 [defined _COMPILING_NEWLIB].
1186 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1187 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1188
1189 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1190 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1191
1192 2015-02-16 Torvald Riegel <triegel@redhat.com>
1193
1194 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1195 acquired.
1196
1197 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1198
1199 [BZ #17792]
1200 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1201 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1202 HOST_STACK_END_ADDR): Likewise.
1203
1204 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1205
1206 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1207 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1208 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1209
1210 2015-02-13 Roland McGrath <roland@hack.frob.com>
1211
1212 * sysdeps/generic/c++-types.data: New file.
1213 * sysdeps/generic/ld.abilist: New file.
1214 * sysdeps/generic/libBrokenLocale.abilist: New file.
1215 * sysdeps/generic/libanl.abilist: New file.
1216 * sysdeps/generic/libc.abilist: New file.
1217 * sysdeps/generic/libcrypt.abilist: New file.
1218 * sysdeps/generic/libdl.abilist: New file.
1219 * sysdeps/generic/libm.abilist: New file.
1220 * sysdeps/generic/libpthread.abilist: New file.
1221 * sysdeps/generic/libresolv.abilist: New file.
1222 * sysdeps/generic/librt.abilist: New file.
1223
1224 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1225
1226 [BZ #17569]
1227 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1228 Compute absolute value of x as modified by fmod, not original
1229 value of x.
1230 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1231 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1232 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1233 RUN_TEST_ffI_f1_mod8.
1234 (remquo_test_data): Add more tests.
1235
1236 2015-02-13 Roland McGrath <roland@hack.frob.com>
1237
1238 * sysdeps/init_array/pt-crti.S: New file.
1239
1240 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1241
1242 [BZ #17967]
1243 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1244 __builtin_fmaf instead of relying on contraction of a * b + c.
1245
1246 2015-02-12 J William Piggott <elseifthen@gmx.com>
1247
1248 [BZ #17969]
1249 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1250 node.
1251
1252 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1253
1254 [BZ #17964]
1255 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1256 __builtin_fma instead of relying on contraction of a * b + c.
1257
1258 2015-02-12 Roland McGrath <roland@hack.frob.com>
1259
1260 * Makeconfig (ASFLAGS): Add -Werror=undef.
1261 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1262 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1263 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1264
1265 * Makeconfig (after-link): New variable.
1266 (+link-pie, +link-pie-tests): Use it.
1267 (+link-static, +link-static-tests): Likewise.
1268 (+link, +link-tests): Likewise.
1269 * Makerules (build-module, build-module-asneeded): Likewise.
1270 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1271 Likewise.
1272 * elf/Makefile ($(objpfx)ld.so): Likewise.
1273
1274 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1275
1276 [BZ #17965]
1277 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1278 both struct timeval and struct timespec.
1279
1280 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1281
1282 [BZ #16560]
1283 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1284 and redefine.
1285 (__ieee754_exp2l): Do not multiply small fractional parts by
1286 M_LN2l.
1287 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1288 small argument.
1289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1290 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1291 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1292 * math/auto-libm-test-in: Add more tests of exp2.
1293 * math/auto-libm-test-out: Regenerated.
1294
1295 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1296
1297 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1298 unaligned path.
1299
1300 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
1302 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1303 little endian.
1304
1305 2015-02-12 Andreas Schwab <schwab@suse.de>
1306
1307 [BZ #15790]
1308 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1309 Filter out elision flags from value returned in kind.
1310 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1311 * nptl/tst-pthread-mutexattr.c: New file.
1312
1313 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1314
1315 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1316 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1317 into gnu-gnu, and update comment to refer to abi-tags.
1318
1319 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1320
1321 [BZ #15467]
1322 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1323 (__sincos): Set errno to EDOM for infinite argument.
1324 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1325 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1326 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1327 (__sincosl): Set errno to EDOM for infinite argument.
1328 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1329 (__sincosl): Set errno to EDOM for infinite argument.
1330 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1331 (__sincosl): Set errno to EDOM for infinite argument.
1332 * math/libm-test.inc (sincos_test_data): Test errno setting.
1333
1334 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1335
1336 * string/strxfrm_l.c: Remove #define STRCMP.
1337 * string/strcoll_l.c: Remove #define STRLEN.
1338 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1339 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1340
1341 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1342
1343 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1344 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1345 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1346 * sysdeps/mips/mips64/Makefile: ... here.
1347 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1348 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1349 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1350 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1351 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1352 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1353 * sysdeps/mips/mips64/n64/Implies: Likewise.
1354
1355 2015-02-10 Roland McGrath <roland@hack.frob.com>
1356
1357 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1358 <sys/time.h>, <string.h>, and <errno.h>.
1359 (dest_offset, dest_address, value, zero): Remove unused variables.
1360 (ldouble): Remove typedef.
1361 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1362 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1363 1). Fix code style.
1364 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1365 (check): Function removed.
1366 (CHECK): New macro.
1367 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1368 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1369 Don't call set_sigaction_FP and remove_sigaction_FP here.
1370 (ldouble_test): Just use 'long double' as macro argument, no need for
1371 the 'ldouble' typedef.
1372 (do_test): Set up SIGFPE handler at start, using plain signal rather
1373 than sigaction. Fix code style.
1374
1375 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1376
1377 [BZ #17949]
1378 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1379 jump label.
1380
1381 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1382
1383 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1384 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1385
1386 * sysdeps/powerpc/configure.ac: Remove file.
1387 * sysdeps/powerpc/configure: Likewise.
1388
1389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1390 [sysdep_routines]: Remove wordcopy-power6 object.
1391 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1392 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1393 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1394 (__memmove_ppc32): Likewise.
1395 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1396 file.
1397 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1398 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1399 Remove preprocessor.
1400
1401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1402 [sysdep_routines]: Remove wide chars objects.
1403 [wcsmbs]: New rule for wide char objects.
1404
1405 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1406 Remove wordcopy-power6 obejct.
1407 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1408 Use local call for wordcopy and memcpy symbols.
1409 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1410 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1411 implementation for loader.
1412 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1413
1414 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1415 Remove wordcopy-power7 object.
1416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1418 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1419 (_wordcopy_fwd_dest_aligned): Likewise.
1420 (_wordcopy_bwd_aligned): Likewise.
1421 (_wordcopy_bwd_dest_aligned): Likewise.
1422
1423 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1424 Rewrite to call __memmove_ppc instead of include default
1425 implementation.
1426
1427 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1428 Remove wide chars objects.
1429 [wcsmbs]: New rule for wide char objects.
1430
1431 2015-02-09 Andreas Schwab <schwab@suse.de>
1432
1433 [BZ #17912]
1434 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1435 in terms of __O_DIRECTORY.
1436
1437 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1438
1439 * time/getdate.c: Include <stdbool.h>.
1440 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1441 call PTR_MANGLE.
1442 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1443 PTR_DEMANGLE.
1444
1445 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1446
1447 Add ersatz _Static_assert on older C hosts
1448 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1449 pre-C11 C platform that is not known to support _Static_assert.
1450
1451 2015-02-07 Richard Braun <rbraun@sceen.net>
1452
1453 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1454 sigstate.
1455 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1456
1457 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1458
1459 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1460 priority against unexistent AIO_PRIO_DELTA_MAX.
1461 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1462 instead of int.
1463 * misc/fchflags.c (fchflags): Likewise.
1464 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1465 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1466 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1467 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1468 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1469 Declare macros.
1470 [__USE_MISC] (chflags, fchflags): Declare functions.
1471 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1472 EINVAL when nfds is greater than FD_SETSIZE.
1473 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1474 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1475 45.
1476 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1477 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1478 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1479 MACH_RCV_TIMED_OUT.
1480 * hurd/hurd/signal.h (_hurd_self_sigstate,
1481 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1482 Explicit casts from void *.
1483 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1484 * abi-tags: Rename gnu-gnu os into gnu.
1485
1486 [BZ #4719]
1487 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1488 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1489 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1490 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1491 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1492 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1493
1494 [BZ #17944]
1495 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1496 duplicates ADDR->sun_path with sockaddr LEN limitation.
1497 * sysdeps/mach/hurd/connect.c: Include <string.h>
1498 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1499 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1500 * sysdeps/mach/hurd/sendto.c: Likewise.
1501 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1502 implementing it by hand.
1503
1504 2015-02-06 Roland McGrath <roland@hack.frob.com>
1505
1506 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1507 Use sfi_breg on ldr.
1508 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1509 Likewise.
1510
1511 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1512 it's defined.
1513 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1514 Test SIGSETXID only if it's defined.
1515
1516 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1517
1518 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1519 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1520
1521 * nptl/tst-align2.c: Moved ...
1522 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1523 * nptl/Makefile (tests): Remove tst-align2.
1524 * sysdeps/unix/sysv/linux/Makefile
1525 [$(subdir) = nptl] (tests): Add tst-align-clone.
1526 * nptl/tst-getpid1.c: Moved ...
1527 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1528 * nptl/tst-getpid2.c: Moved ...
1529 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1530 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1531 * sysdeps/unix/sysv/linux/Makefile
1532 [$(subdir) = nptl] (tests): ... here.
1533 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1534 * sysdeps/unix/sysv/linux/Makefile
1535 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1536
1537 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1538 Drop trailing \n from perror argument. Use return rather than exit.
1539
1540 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1541 on [SA_SIGINFO].
1542 * nptl/tst-cancel21.c (do_test): Likewise.
1543 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1544 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1545 [!SA_SIGINFO]: Make it a stub test.
1546
1547 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1548 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1549
1550 * posix/tst-getlogin.c: Move to ...
1551 * login/tst-getlogin.c: ... here.
1552 * posix/Makefile (tests): Move tst-getlogin to ...
1553 * login/Makefile (tests): ... here.
1554
1555 * libio/tst-atime.c (do_test): Move local variables SV and E
1556 inside [ST_NOATIME] conditional.
1557
1558 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1559
1560 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1561
1562 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1563 (wait_code): New function replaces macro.
1564 Call nanosleep rather than syscall.
1565
1566 * nptl/pt-system.c: Rewritten. Put everything under
1567 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1568 Use IFUNC to redirect when possible.
1569
1570 * nptl/pt-longjmp.c: Rewritten. Put everything under
1571 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1572 Use IFUNC to redirect when possible.
1573
1574 * nptl/pt-fork.c: Rewritten. Put everything under
1575 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1576 Use IFUNC to redirect when possible.
1577 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1578
1579 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1580 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1581 unconditionally nowadays. This included the only reference to
1582 __vdso_clock_gettime that appears outside libc proper.
1583 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1584 Remove version set (containing only __vdso_clock_gettime).
1585 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1586 Add attribute_hidden.
1587 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1588 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1589 libc_hidden_data_def.
1590 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1591 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1592
1593 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1594 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1595 setrpcent, and getrpcport to ...
1596 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1597 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1598 getrpcbynumber_r, and getrpcent_r to ...
1599 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1600 * inet/getrpcbyname.c: Moved ...
1601 * sunrpc/getrpcbyname.c: ... here.
1602 * inet/getrpcbyname_r.c: Moved ...
1603 * sunrpc/getrpcbyname_r.c: ... here.
1604 * inet/getrpcbynumber.c: Moved ...
1605 * sunrpc/getrpcbynumber.c: ... here.
1606 * inet/getrpcbynumber_r.c: Moved ...
1607 * sunrpc/getrpcbynumber_r.c: ... here.
1608 * inet/getrpcent.c: Moved ...
1609 * sunrpc/getrpcent.c: ... here.
1610 * inet/getrpcent_r.c: Moved ...
1611 * sunrpc/getrpcent_r.c: ... here.
1612 * inet/Makefile (routines): Move those to ...
1613 * sunrpc/Makefile (routines): ... here.
1614 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1615 the $(subdirs) list.
1616 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1617 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1618 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1619 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1620
1621 * elf/Makefile (routines): Include $(all-dl-routines), not just
1622 $(dl-routines).
1623 (rtld-routines): Likewise. Use = rather than :=.
1624 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1625 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1626 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1627 * sysdeps/arm/Makefile: Likewise.
1628 * sysdeps/i386/Makefile: Likewise.
1629 * sysdeps/x86_64/Makefile: Likewise.
1630 * sysdeps/hppa/Makefile [$(subdir) = elf]
1631 (sysdep_routines, sysdep-rtld-routines): Don't add
1632 $(sysdep-dl-routines) to these.
1633 * sysdeps/ia64/Makefile: Likewise.
1634 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1635 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1636 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1637 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1638 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1639 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1640 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1641 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1642 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1643 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1644 these; sysdep-dl-routines alone is enough.
1645
1646 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1647
1648 [BZ #17932]
1649 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1650 where multiplication results in zero and third argument is finite
1651 and nonzero.
1652 * math/auto-libm-test-in: Add more tests of fma.
1653 * math/auto-libm-test-out: Regenerated.
1654
1655 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1656 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1657 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1658 (_FP_CMP_EQ): Likewise.
1659 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1660
1661 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1662 extra argument CHECK_NAN. Redefine as wrapper around
1663 _FP_EXTEND_CNAN.
1664
1665 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1666
1667 * version.h (RELEASE): Set to "stable".
1668 (VERSION): Set to "2.21"
1669 * include/features.h (__GLIBC_MINOR__): Set to 21.
1670
1671 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1672
1673 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1674 Paul Eggert <eggert@cs.ucla.edu>
1675
1676 [BZ #16618]
1677 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1678 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1679 size in bytes. Store needed elements in wpmax. Use needed size
1680 in bytes for extend_alloca.
1681
1682 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1683
1684 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1685 binutls 2.25, and texinfo 5.2.
1686 * INSTALL: Regenerate.
1687 * sysdeps/nios2/configure: Regenerate.
1688 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1689 * manual/contrib.texi: Update.
1690 * po/be.po: Update.
1691 * po/bg.po: Update.
1692 * po/ca.po: Update.
1693 * po/cs.po: Update.
1694 * po/da.po: Update.
1695 * po/de.po: Update.
1696 * po/el.po: Update.
1697 * po/eo.po: Update.
1698 * po/es.po: Update.
1699 * po/fi.po: Update.
1700 * po/fr.po: Update.
1701 * po/gl.po: Update.
1702 * po/hr.po: Update.
1703 * po/hu.po: Update.
1704 * po/ia.po: Update.
1705 * po/id.po: Update.
1706 * po/it.po: Update.
1707 * po/ja.po: Update.
1708 * po/ko.po: Update.
1709 * po/lt.po: Update.
1710 * po/nb.po: Update.
1711 * po/nl.po: Update.
1712 * po/pl.po: Update.
1713 * po/pt_BR.po: Update.
1714 * po/ru.po: Update.
1715 * po/rw.po: Update.
1716 * po/sk.po: Update.
1717 * po/sl.po: Update.
1718 * po/sv.po: Update.
1719 * po/tr.po: Update.
1720 * po/uk.po: Update.
1721 * po/vi.po: Update.
1722 * po/zh_CN.po: Update.
1723 * po/zh_TW.po: Update.
1724
1725 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1726 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1727 * sysdeps/hppa/dl-irel.h: Remove #warning.
1728 * sysdeps/hppa/entry.h: Provide prototype for
1729 __canonicalize_funcptr_for_compare and cast argument.
1730 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1731 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1732 * sysdeps/hppa/sotruss-lib.c: New file.
1733 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1734 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1735 (atomic_compare_and_exchange_bool_acq): Likewise.
1736 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1737 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1738
1739 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1740 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1741 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1742
1743 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1744
1745 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1746 called function in non-PIC case.
1747
1748 2015-01-31 David S. Miller <davem@davemloft.net>
1749
1750 * sysdeps/sparc/sparc32/bits/atomic.h
1751 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1752 unlock not after it.
1753 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1754 volatile register usage warnings from the compiler.
1755
1756 * sysdeps/sparc/nptl/sem_init.c: Delete.
1757 * sysdeps/sparc/nptl/sem_post.c: Delete.
1758 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1759 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1760 * sysdeps/sparc/sparc32/sem_init.c: New file.
1761 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1762 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1763 padding explicitly initialized.
1764 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1765 padding for in-semaphore spinlock.
1766 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1767 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1768 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1769 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1770 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1771 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1772 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1773 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1774 version.
1775 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1776 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1777
1778 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 [BZ #17801]
1781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1782 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1783 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1784 New.
1785 (index_AVX_Fast_Unaligned_Load): Likewise.
1786 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1787 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1788 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1789 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1790 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1791 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1792 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1793 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1794 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1795
1796 2015-01-29 Andreas Schwab <schwab@suse.de>
1797
1798 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1799
1800 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1801
1802 [BZ #17892]
1803 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1804
1805 2015-01-28 Martin Sebor <msebor@redhat.com>
1806
1807 * math/README.libm-test: Clarify. Add "How to read the test output."
1808
1809 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1810
1811 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1812 Define to 0.
1813
1814 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1815
1816 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1817 (__HAVE_64B_ATOMICS): Define to 0.
1818
1819 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1820
1821 [BZ #17885]
1822 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1823 value to set as new flag.
1824
1825 [BZ #16576]
1826 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1827 and use _ARCH_PPCSQ instead.
1828 (__ieee754_sqrt): Likewise.
1829 (__ieee754_sqrtf): Likewise.
1830 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1831 _ARCH_PPCSQ is defined.
1832 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1833 fsqrt instruction.
1834 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1835 _ARCH_PPCSQ is defined.
1836 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1837 fsqrts instruction.
1838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1839
1840 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1841
1842 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1843 bug (GCC BZ #64739).
1844
1845 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1846
1847 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1848 Mark _retval as used.
1849 (lll_futex_wake_unlock): Likewise.
1850 (lll_futex_timed_wait_requeue_pi): Likewise.
1851
1852 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1853 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1854 register variables.
1855
1856 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1857 libm_hidden_def.
1858
1859 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1860 (__bswap_64): Mark as __always_inline.
1861
1862 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1863
1864 [BZ #15378]
1865 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1866 when none of the search directories exist.
1867
1868 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1869
1870 [BZ #17869]
1871 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1872 power8 in .machine directive.
1873
1874 [BZ #17868]
1875 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1876 set dependency from opd value.
1877
1878 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1879
1880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1881 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1882 architecture.
1883
1884 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 [BZ #17870]
1887 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1888 with uint64_t.
1889 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1890 (uint64_t) 1.
1891 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1892 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1893 Replace 1UL with (uint64_t) 1.
1894 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1895 int with uint64_t.
1896
1897 2015-01-23 Roland McGrath <roland@hack.frob.com>
1898
1899 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1900 (if_freenameindex): Likewise.
1901
1902 * resource/getrlimit64.c: Add missing libc_hidden_def.
1903
1904 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1905
1906 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1907 __label__.
1908 (_FP_FMA): Likewise.
1909 (_FP_TO_INT_ROUND): Likewise.
1910 (_FP_FROM_INT): Likewise.
1911
1912 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 [BZ #16418]
1915 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1916 Make code racy and cancel safe.
1917
1918 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1919
1920 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1921 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1922 attribution.
1923
1924 * pwd/tst-getpw.c: Rewrite.
1925
1926 [BZ #17702]
1927 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1928 (modules-names): Add moddummy1 and moddummy2.
1929 ($(objpfx)tst-rec-dlopen): Define.
1930 * dlfcn/moddummy1.c: New file.
1931 * dlfcn/moddummy2.c: New file.
1932 * dlfcn/tst-rec-dlopen.c: New file.
1933 * elf/dl-cache.c (_dl_load_cache_lookup):
1934 Return char*. Copy result with alloca/strcpy/strdup.
1935 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1936 returns char*. Free cached. If not saving realname
1937 free cached.
1938 * elf/dl-open.c (dl_open_worker): Do not assert that
1939 _r_debug->r_state is RT_CONSISTENT.
1940 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1941 returns char*.
1942
1943 2015-01-21 Torvald Riegel <triegel@redhat.com>
1944 Carlos O'Donell <carlos@redhat.com>
1945
1946 [BZ #12674]
1947 * nptl/sem_waitcommon.c: New file.
1948 * nptl/sem_wait.c: Include sem_waitcommon.c.
1949 (__sem_wait_cleanup, do_futex_wait): Remove.
1950 (__new_sem_wait): Adapt.
1951 (__new_sem_trywait): New function.
1952 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1953 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1954 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1955 (sem_timedwait): Adapt.
1956 * nptl/sem_post.c (__new_sem_post): Adapt.
1957 (futex_wake): New function.
1958 (__old_sem_post): Add release MO fence.
1959 * nptl/sem_open.c (sem_open): Adapt.
1960 * nptl/sem_init.c (__new_sem_init): Adapt.
1961 (futex_private_if_supported): New function.
1962 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1963 (__old_sem_getvalue): Add using previous code.
1964 * sysdeps/nptl/internaltypes.h: Adapt.
1965 * nptl/tst-sem13.c (do_test): Adapt.
1966 * nptl/tst-sem11.c (main): Adapt.
1967 * nptl/sem_trywait.c: Remove.
1968 * nptl/DESIGN-sem.txt: Remove.
1969 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1970 (gen-as-const-headers): Remove structsem.sym.
1971 * nptl/structsem.sym: Remove.
1972 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1973 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1974 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1975 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1976 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1977 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1978 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1979 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1980 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1981 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1982 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1983 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1984 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1985 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1986 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1987 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1988 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1989 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1990 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1991 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1992 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1993 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1994
1995 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1996
1997 * INSTALL: Regenerated.
1998
1999 * po/libc.pot: Regenerated.
2000
2001 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2002 Sandra Loosemore <sandra@codesourcery.com>
2003 Andrew Jenner <andrew@codesourcery.com>
2004 Joseph Myers <joseph@codesourcery.com>
2005 Nathan Sidwell <nathan@codesourcery.com>
2006
2007 * NEWS: Mention new Nios II port.
2008 * sysdeps/nios2/Implies: New file.
2009 * sysdeps/nios2/Makefile: New file.
2010 * sysdeps/nios2/Subdirs: New file.
2011 * sysdeps/nios2/Versions: New file.
2012 * sysdeps/nios2/__longjmp.S: New file.
2013 * sysdeps/nios2/abort-instr.h: New file.
2014 * sysdeps/nios2/backtrace.c: New file.
2015 * sysdeps/nios2/bits/endian.h: New file.
2016 * sysdeps/nios2/bits/fenv.h: New file.
2017 * sysdeps/nios2/bits/link.h: New file.
2018 * sysdeps/nios2/bits/setjmp.h: New file.
2019 * sysdeps/nios2/bsd-_setjmp.S: New file.
2020 * sysdeps/nios2/bsd-setjmp.S: New file.
2021 * sysdeps/nios2/configure: New generated file.
2022 * sysdeps/nios2/configure.ac: New file.
2023 * sysdeps/nios2/crti.S: New file.
2024 * sysdeps/nios2/crtn.S: New file.
2025 * sysdeps/nios2/dl-init.c: New file.
2026 * sysdeps/nios2/dl-machine.h: New file.
2027 * sysdeps/nios2/dl-sysdep.h: New file.
2028 * sysdeps/nios2/dl-tls.h: New file.
2029 * sysdeps/nios2/dl-trampoline.S: New file.
2030 * sysdeps/nios2/gccframe.h: New file.
2031 * sysdeps/nios2/gmp-mparam.h: New file.
2032 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2033 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2034 * sysdeps/nios2/ldsodefs.h: New file.
2035 * sysdeps/nios2/libc-tls.c: New file.
2036 * sysdeps/nios2/libm-test-ulps: New file.
2037 * sysdeps/nios2/machine-gmon.h: New file.
2038 * sysdeps/nios2/math-tests.h: New file.
2039 * sysdeps/nios2/math_private.h: New file.
2040 * sysdeps/nios2/memusage.h: New file.
2041 * sysdeps/nios2/nptl/Makefile: New file.
2042 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2043 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2044 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2045 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2046 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2047 * sysdeps/nios2/nptl/tls.h: New file.
2048 * sysdeps/nios2/preconfigure: New file.
2049 * sysdeps/nios2/s_fma.c: New file.
2050 * sysdeps/nios2/s_fmaf.c: New file.
2051 * sysdeps/nios2/setjmp.S: New file.
2052 * sysdeps/nios2/sfp-machine.h: New file.
2053 * sysdeps/nios2/sotruss-lib.c: New file.
2054 * sysdeps/nios2/stackguard-macros.h: New file.
2055 * sysdeps/nios2/stackinfo.h: New file.
2056 * sysdeps/nios2/start.S: New file.
2057 * sysdeps/nios2/sysdep.h: New file.
2058 * sysdeps/nios2/tls-macros.h: New file.
2059 * sysdeps/nios2/tst-audit.h: New file.
2060 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2061 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2062 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2063 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2064 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2065 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2066 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2067 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2068 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2069 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2070 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2071 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2072 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2073 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2074 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2075 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2076 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2077 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2078 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2079 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2080 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2081 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2082 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2083 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2084 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2085 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2086 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2087 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2088 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2089 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2090 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2091 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2092 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2093 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2094 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2095 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2096 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2097 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2098 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2099 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2100 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2101 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2102 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2103 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2104
2105 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2106
2107 [BZ #17844]
2108 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2109 (getutent): Use weak_alias in non SHARED case
2110 and default_symbol_version in SHARED case.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2112 (getutent_r, pututline): Likewise.
2113 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2114 (getutid): Likewise.
2115 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2116 (getutid_r): Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2118 (getutline): Likewise.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2120 (getutline_r): Likewise.
2121 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2122 (updwtmp): Likewise.
2123
2124 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2125
2126 [BZ #17848]
2127 * sysdeps/s390/s390-32/memcmp.S
2128 (memcmp_g5): Rename to __memcmp_g5.
2129 * sysdeps/s390/s390-32/memcpy.S
2130 (memcpy_g5): Rename to __memcpy_g5.
2131 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2132 (memcpy_mvcle) Rename to __memcpy_mvcle.
2133 * sysdeps/s390/s390-32/memset.S
2134 (memset_g5): Rename to __memset_g5.
2135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2136 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2137 and use prefixed functions.
2138 * sysdeps/s390/s390-32/multiarch/memcmp.S
2139 (memcmp_z196): Rename to __memcmp_z196.
2140 (memcmp_z10): Rename to __memcmp_z10.
2141 (memcmp): Set alias to __memcmp_g5.
2142 (bcmp): Set alias to __memcmp_g5.
2143 * sysdeps/s390/s390-32/multiarch/memcpy.S
2144 (memcpy_z196): Rename to __memcpy_z196.
2145 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2146 (memcpy_z10): Rename to __memcpy_z10.
2147 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2148 (memcpy): Set alias to __memcpy_g5.
2149 * sysdeps/s390/s390-32/multiarch/memset.S
2150 (memset_z196): Rename to __memset_z196.
2151 Jump to __memset_mvcle instead of memset_mvcle.
2152 (memset_z10): Rename to __memset_z10.
2153 Jump to __memset_mvcle instead of memset_mvcle.
2154 (memset_mvcle) Rename to __memset_mvcle.
2155 (memset): Set alias to __memset_g5.
2156 * sysdeps/s390/s390-64/memcmp.S
2157 (memcmp_z900): Rename to __memcmp_z900.
2158 * sysdeps/s390/s390-64/memcpy.S
2159 (memcpy_z900): Rename to __memcpy_z900.
2160 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2161 (memcpy_mvcle) Rename to __memcpy_mvcle.
2162 * sysdeps/s390/s390-64/memset.S
2163 (memset_z900): Rename to __memset_z900.
2164 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2165 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2166 and use prefixed functions.
2167 * sysdeps/s390/s390-64/multiarch/memcmp.S
2168 (memcmp_z196): Rename to __memcmp_z196.
2169 (memcmp_z10): Rename to __memcmp_z10.
2170 (memcmp): Set alias to __memcmp_z900.
2171 (bcmp): Set alias to __memcmp_z900.
2172 * sysdeps/s390/s390-64/multiarch/memcpy.S
2173 (memcpy_z196): Rename to __memcpy_z196.
2174 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2175 (memcpy_z10): Rename to __memcpy_z10.
2176 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2177 (memcpy): Set alias to __memcpy_z900.
2178 * sysdeps/s390/s390-64/multiarch/memset.S
2179 (memset_z196): Rename to __memset_z196.
2180 Jump to __memset_mvcle instead of memset_mvcle.
2181 (memset_z10): Rename to __memset_z10.
2182 Jump to __memset_mvcle instead of memset_mvcle.
2183 (memset_mvcle) Rename to __memset_mvcle.
2184 (memset): Set alias to __memset_z900.
2185
2186 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2187
2188 [BZ #17748]
2189 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2190 __fesetenv instead of fesetenv.
2191
2192 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2193
2194 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2195 macro.
2196
2197 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2198
2199 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2200 regression on LE.
2201
2202 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2203 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2204 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2205 strncmp-power8 object.
2206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2207 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2208 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2209 * NEWS: Update.
2210
2211 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2212 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2215 trailing byte check.
2216
2217 2015-01-13 David S. Miller <davem@davemloft.net>
2218
2219 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2220
2221 2015-01-13 Roland McGrath <roland@hack.frob.com>
2222
2223 * login/logout.c (logout): Use memset rather than bzero.
2224 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2225 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2226 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2227 (_gethtbyaddr): Likewise.
2228 * locale/programs/simple-hash.c (bcopy): Macro removed.
2229
2230 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231
2232 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2233 Add strcmp-power8 object.
2234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2235 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2236 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2237 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2238 __strcmp_power8 implementation.
2239 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2240 * NEWS: Update.
2241
2242 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2243 Add strncpy-power8 and stpncpy-power8 objects.
2244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2245 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2246 implementations.
2247 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2248 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2249 __stpncpy_power8 implementation.
2250 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2251 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2252 __strncpy_power8 implementation.
2253 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2254 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2255 * NEWS: Update.
2256
2257 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2258 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2259 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2260
2261 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2262 strncat-power8 object.
2263 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2264 __strcat_power8 implementation.
2265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2266 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2267 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2268 optimized strcat for power8.
2269
2270 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2271 strcpy-power8 and stpcpy-power8 objects.
2272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2273 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2274 implementations.
2275 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2276 multiarch stpcpy implementation for POWER8.
2277 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2278 multiarch strcpy implementation for POWER8.
2279 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2280 __strcpy_power8 function.
2281 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2282 stpcpy for POWER8.
2283 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2284 strcpy for POWER8.
2285 * NEWS: Update.
2286
2287 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2288
2289 [BZ #16009]
2290 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2291 weights and rules. Use do_xfrm_cached if data fits in cache,
2292 do_xfrm otherwise. Moved former main loop to...
2293 * (do_xfrm_cached): New function.
2294 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2295 find_idx, find_position and stack_push.
2296 * (find_idx): New function.
2297 * (find_position): Likewise.
2298 * localedata/sort-test.sh: Added test run for do_xfrm.
2299 * localedata/xfrm-test.c (main): Added command line option
2300 -nocache to run the test with strings that are too large for
2301 the STRXFRM cache.
2302
2303 2015-01-13 Torvald Riegel <triegel@redhat.com>
2304
2305 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2306 variable to lll_futex_wake call, not the value itself.
2307
2308 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2309
2310 [BZ #17803]
2311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2312 twom64. Adjust value to 0x1p-64L.
2313 (__scalblnl): Only return standard underflowing result for K <=
2314 -64 not K <= -63; adjust exponent for underflowing result by 64
2315 not 63.
2316 * math/libm-test.inc (scalbn_test_data): Add more tests.
2317 (scalbln_test_data): Likewise.
2318
2319 [BZ #17834]
2320 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2321 0x1p63L.
2322 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2323 not HX.
2324 * math/libm-test.inc (scalbn_test_data): Add more tests.
2325 (scalbln_test_data): Likewise.
2326
2327 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328 Stefani Seibold <stefani@seibold.net>
2329
2330 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2331 (sysdep_routines): Add dl-vdso here, ...
2332 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2333 (sysdep_routines): ... not here.
2334 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2335 fallback when vDSO is not presented.
2336 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2337 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2338 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2339 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2340 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2341 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2342 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2344 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2346 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2347 fallback configurable symbol when vDSO is not available.
2348 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2349 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2350 be able to redefine fallback symbol when vDSO is not available.
2351 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2352 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2353
2354 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2355
2356 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2357 (TLS_INIT_TP): Add tm_capable initialization.
2358 (TLS_DEFINE_INIT_TP): Likewise.
2359 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2360 TCB.
2361 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2362 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2363 calculation.
2364 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2365 transactoion is lock elision is built and TCB tm_capable is set.
2366 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2368 (INTERNAL_SYSCALL_NCS): Likewise.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2370 (INTERNAL_SYSCALL_NCS): Likewise.
2371 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2372
2373 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2374 for powerpc.
2375 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2376 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2377 and remove it for 32 bits case.
2378 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2380 initialization.
2381 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2382 Disable lock elision with rdlocks if elision is not available.
2383
2384 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2385 (sysdep_routines): Add lock elision objects.
2386 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2387 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2388 [pthread_mutex_t] (__elision): Add field.
2389 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2390 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2391 elision definitions for powerpc.
2392 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2393 implementation of lock elision for powerpc.
2394 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2395 implementation of timed lock elision for powerpc.
2396 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2397 implementation of trylock with lock elision for powerpc.
2398 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2399 implementaion of unlock for lock elision for powerpc.
2400 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2401 automatic enable lock elision for mutexes.
2402 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2403 transaction execution definitions for powerpc.
2404 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2405 definitions.
2406 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2407 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2408 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2410 * NEWS: Update.
2411
2412 2015-01-09 Roland McGrath <roland@hack.frob.com>
2413
2414 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2415 for #include of <shm-directory.h>.
2416
2417 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2418
2419 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2420 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2421
2422 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2423
2424 [BZ #17791]
2425 * NEWS: Mention bug fix.
2426 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2427 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2428 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2429
2430 2015-01-09 Torvald Riegel <triegel@redhat.com>
2431
2432 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2433
2434 2015-01-09 Torvald Riegel <triegel@redhat.com>
2435
2436 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2437
2438 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2439
2440 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2441 pointer and cast to uintptr_t.
2442
2443 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2444
2445 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2446 removed.
2447 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2448
2449 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2450
2451 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2452 of 0.
2453
2454 2015-01-08 Roland McGrath <roland@hack.frob.com>
2455
2456 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2457 <nptl/pthreadP.h> instead.
2458 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2459
2460 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2461 already defined.
2462 [__SIGRTMIN] (init): Function removed.
2463 [__SIGRTMIN] (initialized): Variable removed.
2464 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2465 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2466 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2467 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2468 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2469 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2470 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2471 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2472 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2473 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2474 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2475 * sysdeps/nptl/allocrtsig.c: New file.
2476 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2477 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2478 * sysdeps/generic/testrtsig.h: File removed.
2479
2480 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2481 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2482
2483 * nptl/nptl-init.c (pthread_functions): Conditionalize
2484 .ptr__nptl_setxid initialization on [SIGSETXID].
2485
2486 * sysdeps/nptl/sys/procfs.h: New file.
2487 * nptl_db/Makefile (headers): Add it.
2488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2489
2490 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2491 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2492 * nptl/pthread_attr_setaffinity.c: Include it.
2493 * nptl/pthread_setattr_default_np.c: Likewise.
2494 * nptl/check-cpuset.h: New file.
2495
2496 2015-01-08 Richard Henderson <rth@redhat.com>
2497
2498 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2499 (CFLAGS-tst-execstack-prog.c): Likewise.
2500 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2501
2502 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2503 Sandra Loosemore <sandra@codesourcery.com>
2504 Andrew Jenner <andrew@codesourcery.com>
2505 Joseph Myers <joseph@codesourcery.com>
2506 Nathan Sidwell <nathan@codesourcery.com>
2507
2508 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2509 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2510 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2511 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2512 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2513 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2514 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2515 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2516 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2517 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2518 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2519 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2520 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2521 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2522 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2523 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2524 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2525
2526 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527
2528 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2529 timespec struct member in syscall macro.
2530 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2531 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2532 first timeval struct member in syscall macro.
2533 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2534
2535 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2536
2537 [BZ #17748]
2538 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2539 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2540 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2541 __feupdateenv and define as weak alias of __feupdateenv. Use
2542 libm_hidden_weak.
2543 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2544 libm_hidden_def.
2545 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2546 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2547 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2548 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2549 libm_hidden_def.
2550 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2551 __feupdateenv and define as weak alias of __feupdateenv. Use
2552 libm_hidden_weak.
2553 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2554 libm_hidden_def.
2555 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2556 __feupdateenv and define as weak alias of __feupdateenv. Use
2557 libm_hidden_weak.
2558 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2559 libm_hidden_def.
2560 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2561 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2562 (__feupdateenv): Likewise.
2563 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2564 __feupdateenv and define as weak alias of __feupdateenv. Use
2565 libm_hidden_weak.
2566 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2567 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2568 libm_hidden_def.
2569 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2570 function.
2571 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2572 libm_hidden_def.
2573 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2574 __feupdateenv instead of feupdateenv.
2575 (default_libc_feupdateenv_test): Likewise.
2576 (libc_feresetround_ctx): Likewise.
2577
2578 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2581 prototype.
2582
2583 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2584
2585 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2586 COLL_SYM in a couple of places to avoid uninitialized variable
2587 wanings on tilegx gcc 4.8.2.
2588
2589 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2590
2591 * sysdeps/aarch64/strcpy.S: New file.
2592 * sysdeps/aarch64/stpcpy.S: New file.
2593 * NEWS: Updated.
2594
2595 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2596
2597 * sysdeps/aarch64/strrchr.S: New file.
2598 * NEWS: Updated.
2599
2600 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2601
2602 [BZ #17658]
2603 * stdlib/setenv.c: Fix memory leak when setting large,
2604 duplicate string.
2605
2606 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2607
2608 [BZ #17273]
2609 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2610 and tabs from buffer before parsing fstab entry.
2611 * misc/tst-mntent.c (main): Add test for mount entry with
2612 trailing spaces and tabs.
2613
2614 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2615
2616 [BZ #17748]
2617 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2618 * math/fesetround.c (fesetround): Rename to __fesetround and
2619 define as weak alias of __fesetround. Use libm_hidden_weak.
2620 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2621 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2622 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2623 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2624 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2625 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2626 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2627 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2628 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2629 __fesetround_inline.
2630 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2631 __fesetround_inline instead of __fesetround.
2632 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2633 __fesetround and define as weak alias of __fesetround. Use
2634 libm_hidden_weak. Call __fesetround_inline instead of
2635 __fesetround.
2636 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2637 __fesetround and define as weak alias of __fesetround. Use
2638 libm_hidden_weak.
2639 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2640 Likewise.
2641 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2642 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2643 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2644 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2645 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2646 __fesetround and define as weak alias of __fesetround. Use
2647 libm_hidden_weak.
2648 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2649 __fesetround instead of fesetround.
2650 (default_libc_feholdexcept_setround): Likewise.
2651 (libc_feholdsetround_ctx): Likewise.
2652 (libc_feholdsetround_noex_ctx): Likewise.
2653
2654 [BZ #17748]
2655 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2656 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2657 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2658 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2659 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2660 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2661 define as weak alias of __fesetenv. Use libm_hidden_weak.
2662 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2663 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2664 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2665 define as weak alias of __fesetenv. Use libm_hidden_weak.
2666 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2667 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2668 define as weak alias of __fesetenv. Use libm_hidden_weak.
2669 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2670 libm_hidden_def.
2671 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2672 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2673 Likewise.
2674 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2675 define as weak alias of __fesetenv. Use libm_hidden_weak.
2676 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2677 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2678 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2679 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2680 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2681 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2682 __fesetenv instead of fesetenv.
2683 (libc_feresetround_noex_ctx): Likewise.
2684 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2685 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2686 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2687 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2688 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2689 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2690 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2691 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2692 (__feupdateenv): Likewise.
2693 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2694 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2695 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2696 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2697
2698 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2699
2700 [BZ #17806]
2701 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2702 addresses have been freed.
2703
2704 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2705
2706 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2707 and nservall.
2708
2709 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2710
2711 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2712 Clean up check_pf allocation pattern. addresses
2713
2714 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2715
2716 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2717 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2718 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2719 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2720 * nptl/pthread_join.c (pthread_join): Likewise.
2721 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2722 * sysdeps/posix/waitid.c (__waitid): Likewise.
2723 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2724 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2725 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2726 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2727 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2728 Likewise.
2729 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2730 (__libc_pread64): Likewise.
2731 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2732 (__libc_pwrite): Likewise.
2733 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2734 (__libc_pwrite64): Likewsie.
2735 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2736 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2737 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2738 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2739 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2740 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2741 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2743 Likewise.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2745 (__libc_pread64): Likewise.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2747 Likewise.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2749 (__libc_pwrite64): Likewise.
2750 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2751 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2752 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2753 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2754 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2755 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2756 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2757 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2758 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2759 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2760 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2761 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2762 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2763 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2764 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2765 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2766 Likewise.
2767
2768 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2769
2770 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2771 (CFLAGS-test-double.c): Likewise.
2772 (CFLAGS-test-ldouble.c): Likewise.
2773 (CPPFLAGS-test-ifloat.c): Likewise.
2774 (CPPFLAGS-test-idouble.c): Likewise.
2775 (CPPFLAGS-test-ildoubl.c): Likewise.
2776 (CFLAGS-test-test-fenv.c): Remove variable.
2777 (CFLAGS-test-misc.c): Likewise.
2778
2779 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2780
2781 [BZ #17797]
2782 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2783 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2784 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2785 CLOCKS_PER_SEC == 1000000.
2786 * time/clocktest.c (main): Replace %ld with %jd and cast to
2787 intmax_t.
2788
2789 2015-01-05 Roland McGrath <roland@hack.frob.com>
2790
2791 * sysdeps/generic/unwind-resume.h: New file.
2792 * sysdeps/gnu/unwind-resume.c: Include it.
2793 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2794 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2795 argument list.
2796 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2797 global rather than static.
2798 (_Unwind_Resume): Update user.
2799 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2800 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2801 rather than static. Add __attribute__ ((cold)).
2802 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2803 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2804 * sysdeps/arm/arm-unwind-resume.S: New file.
2805 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2806 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2807 * sysdeps/arm/Makefile [$(subdir) = csu]
2808 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2809 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2810 Add rt-arm-unwind-resume.
2811 [$(subdir) = nptl]
2812 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2813 Add pt-arm-unwind-resume.
2814 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2815 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2816
2817 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2818
2819 [BZ #17748]
2820 * include/fenv.h (__feholdexcept): Declare. Use
2821 libm_hidden_proto.
2822 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2823 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2824 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2825 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2826 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2827 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2828 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2829 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2830 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2831 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2832 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2833 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2834 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2835 (feholdexcept): Likewise.
2836 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2837 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2838 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2839 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2840 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2841 __feholdexcept instead of feholdexcept.
2842 (default_libc_feholdexcept_setround): Likewise.
2843
2844 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2845
2846 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2847 to avoid using stl/str to align destination.
2848
2849 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2850
2851 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2852
2853 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2854
2855 [BZ #17796]
2856 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2857 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2858 Define as weak alias not strong alias.
2859
2860 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2861
2862 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2863 bltzal with addiupc.
2864 (RTLD_START): Ditto.
2865
2866 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2867
2868 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2869 for __vdso_* functions in declarations.
2870 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2871 definitions.
2872 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2873 INTERNAL_VSYSCALL): Use struct return types to check for error.
2874
2875 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2876 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2877 function with cast from llround().
2878 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2879 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2880 Define.
2881
2882 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2883
2884 [BZ #17793]
2885 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2886 Define as weak alias not strong alias.
2887
2888 [BZ #17635]
2889 * ctype/ctype-c99.c: New file. isblank implementation moved from
2890 ...
2891 * ctype/ctype-extn.c: ... here.
2892 (__isblank_l): Move to ...
2893 * ctype/ctype-c99_l.c: ... here. New file.
2894 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2895 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2896 Remove variable.
2897 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2898 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2899 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2900 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2901 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2902
2903 [BZ #17777]
2904 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2905 (posix_fadvise64): Define as weak alias not strong alias.
2906 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2907 (posix_fallocate64): Likewise.
2908 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2909 Remove variable.
2910 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2911 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2912 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2913 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2914 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2915
2916 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2917
2918 [BZ #16191]
2919 * NEWS: Mention bug fix.
2920 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2921 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2922 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2923 (HOST_STACK_END_ADDR): Likewise.
2924
2925 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2926
2927 [BZ #17748]
2928 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2929 * math/fegetround.c (fegetround): Rename to __fegetround and
2930 define as weak alias of __fegetround. Use libm_hidden_weak.
2931 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2932 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2933 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2934 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2935 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2936 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2937 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2938 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2939 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2940 Undefine after rather than before function definition; use
2941 parentheses around function name in definition.
2942 (__fegetround): Also undefine macro after function definition.
2943 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2944 __fegetround and define as weak alias of __fegetround. Use
2945 libm_hidden_weak. Do not undefine as macro.
2946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2947 Likewise.
2948 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2949 __fegetround and define as weak alias of __fegetround. Use
2950 libm_hidden_weak.
2951 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2952 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2953 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2954 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2955 __fegetround and define as weak alias of __fegetround. Use
2956 libm_hidden_weak.
2957 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2958 __fegetround instead of fegetround.
2959
2960 [BZ #17782]
2961 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2962 Condition macro definition on [__USE_MISC].
2963
2964 [BZ #17781]
2965 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2966 (struct sigaction): Change type of sa_flags field to int.
2967
2968 [BZ #17780]
2969 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2970 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2971 __glibc_reserved0.
2972
2973 * nptl/version.c (banner): Use single year in copyright notice.
2974
2975 * NEWS: Update copyright dates.
2976 * catgets/gencat.c (print_version): Likewise.
2977 * csu/version.c (banner): Likewise.
2978 * debug/catchsegv.sh: Likewise.
2979 * debug/pcprofiledump.c (print_version): Likewise.
2980 * debug/xtrace.sh (do_version): Likewise.
2981 * elf/ldconfig.c (print_version): Likewise.
2982 * elf/ldd.bash.in: Likewise.
2983 * elf/pldd.c (print_version): Likewise.
2984 * elf/sotruss.sh: Likewise.
2985 * elf/sprof.c (print_version): Likewise.
2986 * iconv/iconv_prog.c (print_version): Likewise.
2987 * iconv/iconvconfig.c (print_version): Likewise.
2988 * locale/programs/locale.c (print_version): Likewise.
2989 * locale/programs/localedef.c (print_version): Likewise.
2990 * login/programs/pt_chown.c (print_version): Likewise.
2991 * malloc/memusage.sh (do_version): Likewise.
2992 * malloc/memusagestat.c (print_version): Likewise.
2993 * malloc/mtrace.pl: Likewise.
2994 * manual/libc.texinfo: Likewise.
2995 * nptl/version.c (banner): Likewise.
2996 * nscd/nscd.c (print_version): Likewise.
2997 * nss/getent.c (print_version): Likewise.
2998 * nss/makedb.c (print_version): Likewise.
2999 * posix/getconf.c (main): Likewise.
3000 * scripts/test-installation.pl: Likewise.
3001 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3002
3003 2015-01-02 Will Newton <will.newton@linaro.org>
3004
3005 * sysdeps/arm/armv7/configure: Removed.
3006 * sysdeps/arm/armv7/configure.ac: Likewise.
3007
3008 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3009
3010 * All files with FSF copyright notices: Update copyright dates
3011 using scripts/update-copyrights.
3012 * intl/plural.c: Regenerated.
3013 * locale/programs/charmap-kw.h: Likewise.
3014 * locale/programs/locfile-kw.h: Likewise.
3015
3016 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3019
3020 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #17748]
3023 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3024 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3025 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3026 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3027 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3028 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3029 define as weak alias of __fegetenv. Use libm_hidden_weak.
3030 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3031 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3032 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3033 define as weak alias of __fegetenv. Use libm_hidden_weak.
3034 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3035 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3036 define as weak alias of __fegetenv. Use libm_hidden_weak.
3037 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3038 libm_hidden_def.
3039 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3040 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3041 Likewise.
3042 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3043 define as weak alias of __fegetenv. Use libm_hidden_weak.
3044 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3045 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3046 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3047 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3048 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3049 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3050 __fegetenv instead of fegetenv.
3051 (libc_feholdsetround_noex_ctx): Likewise.
3052
3053 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3054
3055 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3056 (Elf_MIPS_ABIFlags_v0): New structure.
3057 (EF_MIPS_FP64): Define.
3058 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3059 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3060 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3061 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3062 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3063 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3064 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3065 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3066 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3067 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3068 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3069 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3070 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3071 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3072 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3073 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3074 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3075 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3076 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3077 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3078 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3079 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3080 field.
3081 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3082 EF_MIPS_FP64.
3083 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3084 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3085 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3086 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3087 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3088 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3089 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3090 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3091 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3092 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3093 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3094 record the current FP ABI extension.
3095 (mips-mode-switch): Define to show if kernel headers support mode
3096 switching.
3097 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3098 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3099 supported SYSV ABI version to 3.
3100 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3101 feature.
3102
3103 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3104 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3107 path.
3108 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3109
3110 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3111
3112 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3113 __fegetround and redefine to call __fegetround. Remove condition
3114 on [!__NO_MATH_INLINES].
3115 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3116 function.
3117 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3118 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3119 Remove macro.
3120 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3121 instead of <fenv_libc.h>.
3122 (__llrintl): Call fegetround instead of __fegetround.
3123 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3124 instead of <fenv_libc.h>.
3125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3126 (__lrintl): Call fegetround instead of __fegetround.
3127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3128 instead of <fenv_libc.h>.
3129 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3130 (__rintl): Call fegetround instead of __fegetround.
3131
3132 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3133
3134 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3135 arrays.
3136
3137 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3138
3139 [BZ #17775]
3140 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3141 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3142 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3143
3144 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3145
3146 * sysdeps/i386/tls-macros.h: Include <features.h>.
3147 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3148 (TLS_IE): Likewise.
3149 (TLS_LD): Likewise.
3150 (TLS_GD): Likewise.
3151 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3152 define for GCC >= 5.0.
3153
3154 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3155
3156 * math/test-fenv.c (test_single_exception, set_single_exc,
3157 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3158 feexcp_mask_test, feenable_test, fe_single_test): Add
3159 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3160 case where they are not used.
3161 * math/libm-test.inc: Likewise.
3162 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3163 unused in the absence of FP rounding/exception support.
3164 * stdio-common/tst-printf-round.c: Likewise.
3165 * stdlib/tst-strtod-round.c: Likewise.
3166 * stdlib/tst-strtod-underflow.c: Likewise.
3167
3168 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3169
3170 [BZ #17723]
3171 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3172 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3173 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3174 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3175 libm_hidden_weak.
3176 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3177 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3178 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3179 libm_hidden_def.
3180 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3181 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3182 libm_hidden_weak.
3183 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3184 Likewise.
3185 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3186 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3187 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3188 libm_hidden_weak.
3189 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3190 libm_hidden_def.
3191 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3192 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3193 (__feraiseexcept): Likewise.
3194 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3195 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3196 libm_hidden_weak.
3197 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3198 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3199 libm_hidden_def.
3200 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3201 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3202 Use libm_hidden_def.
3203 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3204 libm_hidden_def.
3205 (feraiseexcept): Define as weak not strong alias. Use
3206 libm_hidden_weak.
3207 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3208 New inline function. Factored out of ...
3209 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3210 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3211 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3212 feraiseexcept.
3213 * math/w_acos.c (__acos): Likewise.
3214 * math/w_asin.c (__asin): Likewise.
3215 * math/w_ilogb.c (__ilogb): Likewise.
3216 * math/w_j0.c (y0): Likewise.
3217 * math/w_j1.c (y1): Likewise.
3218 * math/w_jn.c (yn): Likewise.
3219 * math/w_log.c (__log): Likewise.
3220 * math/w_log10.c (__log10): Likewise.
3221 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3222 * sysdeps/aarch64/fpu/math_private.h
3223 (libc_feupdateenv_test_aarch64): Likewise.
3224 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3225 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3226 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3227 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3228 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3229 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3230 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3231 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3232 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3233 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3234
3235 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3236
3237 [BZ #17732]
3238 * io/test-utime.c (main): Replace %ld with %jd and cast to
3239 intmax_t.
3240 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3241 * nptl/tst-mutex5.c: Include <stdint.h>.
3242 (do_test): Replace %ld with %jd and cast to intmax_t.
3243 * posix/tst-regex.c (run_test): Likewise.
3244 (run_test_backwards): Likewise.
3245 * rt/tst-clock.c: Include <stdint.h>.
3246 (clock_test): Replace %ld with %jd and cast to intmax_t.
3247 * rt/tst-cpuclock1.c: Include <stdint.h>.
3248 (do_test): Replace %lu with %ju and cast to uintmax_t.
3249 * rt/tst-cpuclock2.c: Include <stdint.h>.
3250 (do_test): Replace %lu with %ju and cast to uintmax_t.
3251 * rt/tst-mqueue1.c: Include <stdint.h>.
3252 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3253 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3254 intmax_t.
3255 * rt/tst-mqueue4.c (do_test): Likewise.
3256 * rt/tst-timer4.c: Include <stdint.h>.
3257 (check_ts): Replace %ld with %jd and cast to intmax_t.
3258 (do_test): Likewise.
3259 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3260 and cast to intmax_t.
3261 * sysdeps/pthread/tst-timer.c (main): Likewise.
3262 * time/clocktest.c (main): Likewise.
3263 * time/tst-posixtz.c (do_test): Likewise.
3264 * timezone/tst-timezone.c (main): Likewise.
3265
3266 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3267 H.J. Lu <hongjiu.lu@intel.com>
3268
3269 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3270 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3272 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3273 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3274 version if bit_Fast_Unaligned_Load is set.
3275 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3276 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3277 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3282 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3283 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3284 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3285 to 4.
3286 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3287 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3288 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3289 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3290
3291 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3292
3293 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3294 instead of #if to avoid a Wundef warning.
3295 * stdlib/tst-limits.c (do_test): Likewise.
3296
3297 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3298 parallel other exception macros.
3299 (fegetenv): Convert from macro to extern inline so that it applies
3300 retroactively to inline functions already seen by the compiler.
3301 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3302
3303 * posix/Makefile (before-compile): Use $(objpfx) for
3304 posix-conf-vars-def.h.
3305
3306 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3307
3308 * posix/getconf.c (main): Use size_t for type of I.
3309 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3310 NSPEC.
3311
3312 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3313 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3314 * posix/posix-envs.def: Likewise.
3315 * sysdeps/posix/sysconf.c: Likewise.
3316 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3317 (specs): Remove array.
3318 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3319 array.
3320
3321 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3322 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3323 (__sysconf): Use CONF_IS_* macros.
3324
3325 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3326 ($(objpfx)posix-conf-vars-def.h): New target.
3327 * posix/posix-conf-vars.list: New file.
3328 * posix/posix-conf-vars.h: New file.
3329 * posix/confstr.c: Include posix-conf-vars.h.
3330 (confstr): Use CONF_IS_* macros.
3331 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3332 CONF_IS_* macros.
3333 * scripts/gen-posix-conf-vars.awk: New file.
3334
3335 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3336
3337 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3338 fegetround): Add no-op macros to avoid linknamespace issues.
3339
3340 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3341 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3342
3343 * sysdeps/unix/sysv/linux/tile/sysdep.h
3344 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3345 assembly-specific section to avoid a redefinition warning.
3346
3347 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3348 long before casting to pointer to avoid a cast warning.
3349
3350 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3351
3352 * sysdeps/tile/tilegx/Implies: New file.
3353
3354 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3355
3356 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3357
3358 2014-12-23 Florian Weimer <fweimer@redhat.com>
3359
3360 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3361
3362 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3363
3364 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3365 not define.
3366 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3367 <kernel-features.h>.
3368 (__utimes) [__NR_utimes]: Make code unconditional.
3369 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3370 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3371 (__ASSUME_UTIMES): Do not undefine.
3372 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3373 (__ASSUME_UTIMES): Likewise.
3374 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3375 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3376 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3377 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3378
3379 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3380
3381 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3382
3383 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3384
3385 [BZ #17747]
3386 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3387 alias to weak alias for j0l, y0l.
3388 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3389 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3390
3391 [BZ #17746]
3392 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3393 conversion.
3394
3395 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3396
3397 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3398 to zero if not already defined.
3399
3400 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3401
3402 [BZ #17724]
3403 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3404 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3405 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3406 (char *) casts added.
3407 * sysdeps/ieee754/k_standardf.c: New file.
3408 * sysdeps/ieee754/k_standardl.c: Likewise.
3409 * math/Makefile (libm-support): Remove k_standard.
3410 (libm-calls): Add k_standard.
3411
3412 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3413
3414 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3415 Optimize to avoid an unnecessary FPCR read.
3416
3417 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3418
3419 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3420 Optimize to reduce FPCR/FPSR accesses.
3421
3422 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3423
3424 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3425 Call libc_fetestexcept_aarch64.
3426
3427 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3428
3429 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3430 Call libc_fesetround_aarch64.
3431
3432 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3433
3434 [BZ #17733]
3435 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3436 (__bind): Do not define as weak alias.
3437 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3438 define.
3439 (__getsockname): Do not define as weak alias.
3440
3441 2014-12-22 Will Newton <will.newton@linaro.org>
3442
3443 * manual/install.texi: Document that we require bison 2.7
3444 or above.
3445 * INSTALL: Regenerate.
3446 * configure.ac: Use AC_CHECK_PROG_VER instead of
3447 AC_PATH_PROG when checking for bison and check for
3448 version 2.7 or above.
3449 * configure: Regenerate.
3450
3451 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3452
3453 [BZ #17745]
3454 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3455 * sysdeps/tile/ffsll.c (ffsll): To here.
3456
3457 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3458
3459 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3460
3461 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3462 if not defined.
3463 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3464 definition.
3465 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3466 hidden ___tls_get_addr.
3467 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3468 hidden __tls_get_addr.
3469 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3470 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3471 Likewise.
3472
3473 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3474
3475 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3476 _dl_init call.
3477
3478 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3481 from "call _dl_init@PLT".
3482 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3483
3484 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3485
3486 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3487 guarantees.
3488
3489 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3490
3491 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3492
3493 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3494
3495 [BZ #17744]
3496 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3497 strnlen.
3498
3499 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3500
3501 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3502 of multu on MIPSr6.
3503 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3504 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3505 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3506 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3507 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3508
3509 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3510
3511 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3512 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3513 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3514 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3515 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3516 mips32r6/mips64r6.
3517 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3518
3519 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3520
3521 * string/strncat.c (STRNCAT): Simplify implementation.
3522
3523 2014-12-19 David S. Miller <davem@davemloft.net>
3524
3525 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3526 access the quad as both a long double and as a series of 4 words.
3527
3528 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3529 link_map->l_info array access.
3530
3531 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3532
3533 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3534
3535 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3536 * math/atest-exp2.c (TIMEOUT): Likewise.
3537 * math/atest-sincos.c (TIMEOUT): Likewise.
3538
3539 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3542 -Wno-error with -fno-builtin-lround.
3543
3544 2014-12-19 Torvald Riegel <triegel@redhat.com>
3545
3546 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3547 Contains futex constants and functions moved over from ...
3548 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3549 <lowlevellock-futex.h>.
3550 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3551 (lll_timedwait_tid): Add comments and parentheses around macro
3552 arguments.
3553
3554 2014-12-19 Torvald Riegel <triegel@redhat.com>
3555
3556 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3557 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3558 (__lll_private_flag): Remove.
3559 (lll_futex_wait): Likewise.
3560 (lll_futex_timed_wait): Likewise.
3561 (lll_futex_wake): Likewise.
3562 (lll_futex_requeue): Likewise.
3563 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3564 (__lll_timedwait_tid): Spell out argument names.
3565 (lll_timedwait_tid): Add comments and parentheses around macro
3566 arguments.
3567 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3568 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3569
3570 2014-12-19 Torvald Riegel <triegel@redhat.com>
3571
3572 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3573 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3574 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3575 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3576 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3577 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3578 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3579 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3580 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3581 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3582 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3583 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3585 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3586 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3588 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3589 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3590 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3591
3592 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3593
3594 * sysdeps/x86_64/x32/Makefile: New file.
3595
3596 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3597
3598 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3599 1L with (mp_limb_t) 1.
3600
3601 2014-12-17 Roland McGrath <roland@hack.frob.com>
3602
3603 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3604 * nptl/libc_pthread_init.c: ... here.
3605 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3606 * nptl/register-atfork.c: ... here.
3607
3608 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3609 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3610 Use assert_perror to check its return value.
3611 (__gai_create_helper_thread): Likewise.
3612
3613 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3614
3615 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3616
3617 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3618
3619 [BZ #17725]
3620 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3621 __profil_counter.
3622 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3625 Likewise.
3626 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3629 (profil_counter): Likewise.
3630 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3631 (profil_counter): Likewise.
3632 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3635 Likewise.
3636 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3637 (profil_counter): Likewise.
3638 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3639 Likewise.
3640 [!__profil_counter] (profil_counter): Define as weak alias of
3641 __profil_counter.
3642 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3643 (profil_counter): Rename to __profil_counter.
3644 [!__profil_counter] (profil_counter): Define as weak alias of
3645 __profil_counter.
3646 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3647 (profil_counter): Rename to __profil_counter.
3648 [!__profil_counter] (profil_counter): Define as weak alias of
3649 __profil_counter.
3650 * sysdeps/posix/profil.c: Update comment referring to
3651 profil_counter.
3652 (__profil): Use __profil_counter instead of profil_counter.
3653 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3654 __profil_counter. Use __profil_counter_ushort and
3655 __profil_counter_uint in definitions.
3656 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3657 instead of profil_counter_uint and profil_counter_ushort.
3658
3659 [BZ #17722]
3660 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3661 define as weak alias of __inet_makeaddr.
3662 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3663 as weak alias of __inet_addr.
3664 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3665 as weak alias of __inet_pton. Use libc_hidden_weak.
3666 * include/arpa/inet.h (__inet_pton): Declare. Use
3667 libc_hidden_proto.
3668 (inet_makeaddr): Don't use libc_hidden_proto.
3669 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3670 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3671 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3672 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3673 Remove variable.
3674 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3675 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3676
3677 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3678
3679 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3680
3681 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3682
3683 * stdio-common/bug-vfprintf-nargs.c (do_test):
3684 Cast value to intptr_t to avoid format warning
3685 for usage with PRIdPTR printing macro.
3686
3687 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3688
3689 * libio/tst-widetext.c (do_test):
3690 Use format type %td instead of %Zd for ptrdiff_t
3691 in order to avoid format warning.
3692
3693 2014-12-17 Andreas Schwab <schwab@suse.de>
3694
3695 * nscd/mem.c (gc): Add size_t cast to match printf format.
3696
3697 2014-12-16 Roland McGrath <roland@hack.frob.com>
3698
3699 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3700 (init): Apply PTR_MANGLE to pointers before storing them.
3701 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3702 before using them.
3703
3704 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3705
3706 [BZ #17719]
3707 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3708 define as weak alias of __memrchr.
3709 (__memrchr): Do not define as strong alias of memrchr.
3710 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3711 Remove variable.
3712 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3713 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3714 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3715
3716 [BZ #17717]
3717 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3718 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3719 (if_indextoname): Rename to __if_indextoname and define as weak
3720 alias of __if_indextoname. Use libc_hidden_weak.
3721 (if_freenameindex): Rename to __if_freenameindex and define as
3722 weak alias of __if_freenameindex.
3723 (if_nameindex): Rename to __if_nameindex and define as weak alias
3724 of __if_nameindex.
3725 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3726 __if_nametoindex and define as weak alias of __if_nametoindex.
3727 Use libc_hidden_weak.
3728 (if_freenameindex): Rename to __if_freenameindex and define as
3729 weak alias of __if_freenameindex.
3730 (if_nameindex): Rename to __if_nameindex and define as weak alias
3731 of __if_nameindex.
3732 (if_indextoname): Rename to __if_indextoname and define as weak
3733 alias of __if_indextoname. Use libc_hidden_weak.
3734 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3735 __if_nametoindex and define as weak alias of __if_nametoindex.
3736 Use libc_hidden_weak.
3737 (if_freenameindex): Rename to __if_freenameindex and define as
3738 weak alias of __if_freenameindex. Use libc_hidden_weak.
3739 (if_nameindex_netlink): Use __if_freenameindex instead of
3740 if_freenameindex.
3741 (if_nameindex): Rename to __if_nameindex and define as weak alias
3742 of __if_nameindex. Use libc_hidden_weak.
3743 (if_indextoname): Rename to __if_indextoname and define as weak
3744 alias of __if_indextoname. Use libc_hidden_weak.
3745 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3746 libc_hidden_proto.
3747 [!_ISOMAC] (__if_freenameindex): Likewise.
3748 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3749 if_nametoindex.
3750 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3751 variable.
3752 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3753 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3754 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3755 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3756 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3757 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3758 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3759
3760 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3761 Remove variable.
3762 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3763 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3764
3765 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3766
3767 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3768 subscript above bounds'
3769
3770 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3771 bounds.
3772
3773 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3774
3775 * libio/tst-fopenloc.c: Use test-skeleton.c.
3776
3777 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3778 (entry): Rename to ITEM.
3779 (do_test, comp): Adjust.
3780
3781 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3782
3783 2014-12-16 Torvald Riegel <triegel@redhat.com>
3784
3785 * string/tester.c: Include <libc-internal.h>.
3786 (test_memset): Ignore -Wmemset-transposed-args.
3787
3788 2014-12-16 Torvald Riegel <triegel@redhat.com>
3789
3790 * misc/tst-mntent2.c (do_test): Fix warning.
3791
3792 2014-12-16 Torvald Riegel <triegel@redhat.com>
3793
3794 * elf/tst-unique4lib.cc(a): Mark as used.
3795
3796 2014-12-16 Florian Weimer <fweimer@redhat.com>
3797
3798 [BZ #17630]
3799 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3800 names.
3801
3802 2014-12-16 Allan McRae <allan@archlinux.org>
3803
3804 * stdio-common/Makefile (tests): Re-add bug26.
3805
3806 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3807
3808 [BZ #17657]
3809 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3810 static array.
3811
3812 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3813
3814 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3815 (__lll_lock_wait): Likewise.
3816 (__lll_timedlock_wait): Likewise.
3817 (__lll_timedwait_tid): Likewise.
3818 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3819 (__lll_robust_timedlock_wait): Likewise.
3820 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3821 (lll_cond_trylock): Likewise.
3822 (__lll_lock): Likewise.
3823 (__lll_robust_lock): Likewise.
3824 (__lll_cond_lock): Likewise.
3825 (lll_robust_cond_lock): Likewise.
3826 (__lll_timedlock): Likewise.
3827 (__lll_robust_timedlock): Likewise.
3828 (__lll_unlock): Likewise.
3829 (__lll_robust_unlock): Likewise.
3830 (lll_wait_tid): Likewise.
3831 (lll_timedwait_tid): Likewise.
3832
3833 2014-12-15 Torvald Riegel <triegel@redhat.com>
3834
3835 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3836
3837 2014-12-15 Torvald Riegel <triegel@redhat.com>
3838
3839 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3840
3841 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3842
3843 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3844 * stdio-common/tst-sprintf.c: Likewise.
3845
3846 2014-12-15 Torvald Riegel <triegel@redhat.com>
3847
3848 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3849
3850 2014-12-15 Jeff Law <law@redhat.com>
3851
3852 [BZ #16617]
3853 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3854 on the heap. (CVE-2012-3406)
3855 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3856 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3857 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3858
3859 2014-12-15 Will Newton <will.newton@linaro.org>
3860
3861 * manual/install.texi: Bump required version of texinfo
3862 to 4.7 from 4.5.
3863 * INSTALL: Regenerated.
3864 * configure.ac: Check for makeinfo version 4.7 and above.
3865 * configure: Regenerated.
3866
3867 2014-12-12 Roland McGrath <roland@hack.frob.com>
3868
3869 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3870 PREFIX, string constant to insert between directory and name.
3871 * sysdeps/posix/shm_open.c: Update caller.
3872 * sysdeps/posix/shm_unlink.c: Likewise.
3873 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3874 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3875 (SEM_SHM_PREFIX): New macro.
3876 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3877 [$(have-thread-library) = no].
3878 * nptl/Makefile (libpthread-routines): Add shm-directory.
3879 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3880 * sysdeps/nptl/shm-directory.h: New file.
3881 * sysdeps/posix/shm-directory.c
3882 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3883 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3884 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3885 INTERNAL_SYSCALL.
3886 (__where_is_shmfs): Function removed.
3887 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3888 Variables removed.
3889 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3890 Use SHM_GET_NAME.
3891 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3892
3893 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3894 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3895 unconditional for use inside libpthread.
3896 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3897
3898 2014-12-12 Roland McGrath <roland@hack.frob.com>
3899
3900 * nptl/pthread_getaffinity.c: New file.
3901 * nptl/pthread_setaffinity.c: New file.
3902 * nptl/pthread_getname.c: New file.
3903 * nptl/pthread_setname.c: New file.
3904
3905 * nptl/pthread_create.c (START_THREAD_DEFN)
3906 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3907
3908 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3909 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3910
3911 * resolv/res_send.c (send_vc): Disable warning resplen may
3912 be used uninitialized.
3913
3914 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3915
3916 * nptl/tst-mutex6.c
3917 (ATTR_NULL): New define checks ATTR against NULL.
3918 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3919 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3920
3921 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3922
3923 [BZ #17581]
3924 * malloc/hooks.c
3925 (mem2mem_check): Revert my previous change.
3926 (malloc_check_get_size): Revert my previous change.
3927 (mem2chunk_check): Revert my previous change.
3928
3929 2014-12-11 Roland McGrath <roland@hack.frob.com>
3930
3931 * sysdeps/posix/shm-directory.c: New file.
3932 * sysdeps/posix/shm-directory.h: New file.
3933 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3934 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3935 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3936 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3937 Transmute EPERM to EACCES.
3938 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3939 from ...
3940 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3941 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3942
3943 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3944
3945 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3946 pointer and cast to uintptr_t.
3947 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3948 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3949 Add cast to avoid warning.
3950 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3951
3952 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3953
3954 * nptl/semaphore.h: Move to ...
3955 * sysdeps/pthread/semaphore.h: ... here.
3956 * Makefile (installed-headers): Change nptl/semaphore.h to
3957 sysdeps/pthread/semaphore.h.
3958
3959 2014-12-11 Roland McGrath <roland@hack.frob.com>
3960
3961 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3962 generated error format strings.
3963
3964 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3965 -Wformat-extra-args warnings for scanf formats.
3966 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3967 test of zero-length format (duh).
3968 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3969 corner-case scanf format test.
3970 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3971 generated fprintf format string.
3972 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3973 corner-case sprintf format tests.
3974 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3975 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3976 -Wformat-extra-args warnings throughout.
3977 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3978 (CFLAGS-scanf4.c): Likewise.
3979 (CFLAGS-scanf7.c): Likewise.
3980 (CFLAGS-tst-sprintf.c): Likewise.
3981 (CFLAGS-tst-printf.c): Likewise.
3982 (CFLAGS-tst-printfsz.c): Likewise.
3983
3984 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3985
3986 * include/cpio.h: New file.
3987 * include/fmtmsg.h: Likewise.
3988
3989 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3990 corresponding format argument to size_t.
3991 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3992 arguments.
3993 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3994 corresponding format argument to size_t.
3995 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3996 arguments.
3997 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3998 corresponding format argument to size_t.
3999 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4000 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4001 (CFLAGS-tst-mbswcs2.c): Likewise.
4002 (CFLAGS-tst-mbswcs3.c): Likewise.
4003 (CFLAGS-tst-mbswcs4.c): Likewise.
4004 (CFLAGS-tst-mbswcs5.c): Likewise.
4005 (CFLAGS-tst-trans.c): Likewise
4006
4007 2014-12-11 Roland McGrath <roland@hack.frob.com>
4008
4009 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4010 rather than assuming they won't contain any '%'s.
4011
4012 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4013
4014 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4015 inhibit_loop_to_libcall to avoid recursive calls.
4016 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4017 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4018
4019 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4020
4021 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4022 prototype.
4023
4024 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4025
4026 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4027 integer value instead of boolean.
4028
4029 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4030
4031 * malloc/malloc.c: Fix powerof2 check.
4032
4033 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4034
4035 * locale/programs/locfile.h (maybe_swap_uint32):
4036 Remove inline and add unused attribute.
4037
4038 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4039
4040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4041 Truncating assembler expression to a .long expression.
4042
4043 2014-12-11 Andreas Schwab <schwab@suse.de>
4044
4045 * elf/rtld.c (struct map_args): Constify str member.
4046 (do_preload): Constify fname argument.
4047
4048 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4049
4050 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4051 constants definition.
4052
4053 2014-12-11 Andreas Schwab <schwab@suse.de>
4054
4055 [BZ #16657]
4056 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4057 FORCE_ELISION instead of DO_ELISION.
4058 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4059 Remove.
4060 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4061 Likewise.
4062
4063 * iconvdata/gconv-modules: Remove duplicate entry.
4064
4065 2014-12-11 Will Newton <will.newton@linaro.org>
4066
4067 Merge gettext 0.19.3 into intl/.
4068
4069 This involves a number of cosmetic changes to comments
4070 and ANSI function definitions and prototypes throughout
4071 all the files. The gettext copyright header is used but
4072 with the date ranges taken from the glibc copy.
4073
4074 * NEWS: Add gettext merge to 2.21.
4075 * intl/bindtextdom.c: Switch to gettext copyright.
4076 Use ANSI definitions and prototypes.
4077 Use gl_* locking primitives rather than __libc_* ones.
4078 Use __builtin_expect rather than __glibc_likely/unlikely.
4079 * intl/dcgettext.c: Switch to gettext copyright.
4080 Use ANSI definitions and prototypes.
4081 * intl/dcigettext.c: Switch to gettext copyright.
4082 Use ANSI definitions and prototypes.
4083 (INTDIV0_RAISES_SIGFPE): New define.
4084 Use gl_* locking primitives rather than __libc_* ones.
4085 Include eval-plural.h instead of plural-eval.c.
4086 Use __builtin_expect rather than __glibc_likely/unlikely.
4087 * intl/dcngettext.c: Switch to gettext copyright.
4088 Use ANSI definitions and prototypes.
4089 * intl/dgettext.c: Likewise.
4090 * intl/dngettext.c: Likewise.
4091 * intl/plural-eval.c: Renamed to...
4092 * intl/eval-plural.h: ...this.
4093 * intl/explodename.c: Switch to gettext copyright.
4094 Use ANSI definitions and prototypes.
4095 (_nl_explode_name): Use strchr instead of __rawmemchr.
4096 * intl/finddomain.c: Switch to gettext copyright.
4097 Use ANSI definitions and prototypes.
4098 Use gl_* locking primitives rather than __libc_* ones.
4099 (_nl_find_domain): Use malloc rather than alloca for
4100 allocation of temporary locale name.
4101 * intl/gettext.c: Switch to gettext copyright.
4102 Use ANSI definitions and prototypes.
4103 * intl/gettextP.h: Switch to gettext copyright.
4104 Use ANSI definitions and prototypes.
4105 Use gl_* locking primitives rather than __libc_* ones.
4106 * intl/gmo.h: Switch to gettext copyright.
4107 (struct sysdep_string): Move struct segment_pair outside of
4108 struct definition.
4109 * intl/hash-string.c: Use ANSI definitions and prototypes.
4110 * intl/hash-string.h: Switch to gettext copyright.
4111 Use ANSI definitions and prototypes.
4112 * intl/l10nflist.c: Switch to gettext copyright.
4113 Use ANSI definitions and prototypes.
4114 (_nl_normalize_codeset): Avoid integer overflow.
4115 * intl/loadinfo.h: Switch to gettext copyright.
4116 Use ANSI definitions and prototypes.
4117 (LIBINTL_DLL_EXPORTED): New define.
4118 (PATH_SEPARATOR): New define.
4119 * intl/loadmsgcat.c: Switch to gettext copyright.
4120 * intl/localealias.c: Switch to gettext copyright.
4121 Use ANSI definitions and prototypes.
4122 (_nl_expand_alias): Use PATH_SEPARATOR.
4123 * intl/ngettext.c: Switch to gettext copyright.
4124 Use ANSI definitions and prototypes.
4125 * intl/plural-exp.c: Likewise.
4126 * intl/plural-exp.h: Switch to gettext copyright.
4127 Use ANSI definitions and prototypes.
4128 (struct expression): Move definition of enum operator outside
4129 of struct definition.
4130 * intl/plural.c: Regenerate.
4131 * intl/plural.y: Switch to gettext copyright.
4132 Use ANSI definitions and prototypes.
4133 Port to bison 3.0.
4134 * intl/textdomain.c: Switch to gettext copyright.
4135 Use ANSI definitions and prototypes.
4136 Use gl_* locking primitives rather than __libc_* ones.
4137
4138 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4139
4140 * debug/warning-nop.c: Add used atrribute.
4141
4142 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4143
4144 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4145
4146 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4147 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4148 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4149
4150 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4151 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4152
4153 [BZ #17634]
4154 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4155 Undefine after defining function. Define as weak alias of
4156 __wcschr. Use libc_hidden_weak.
4157 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4158 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4159 (libc_hidden_def): Also define __GI___wcschr alias.
4160 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4161 __wcschr and define as weak alias of __wcschr.
4162 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4163 __wcschr.
4164 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4165 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4166 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4167 libc_hidden_weak. Do not use libc_hidden_def.
4168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4169 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4170 __GI___wcschr alias.
4171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4172 [IS_IN (libc)] (wcschr): Define as macro expanding to
4173 __redirect_wcschr.
4174 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4175 [IS_IN (libc)] (__wcschr_power6): Likewise.
4176 [IS_IN (libc)] (__wcschr_power7): Likewise.
4177 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4178 instead of wcschr.
4179 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4180 __libc_wcschr.
4181 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4182 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4183 __wcschr and define as weak alias of __wcschr. Use
4184 libc_hidden_builtin_def.
4185 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4186 as weak alias of __wcschr. Use libc_hidden_weak.
4187 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4188 wcschr.
4189 * time/era.c (_nl_init_era_entries): Likewise.
4190 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4191 variable.
4192 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4193 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4194
4195 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4196
4197 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4198 format for long int variable.
4199
4200 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4201
4202 [BZ #10672]
4203 * manual/search.texi: (Array Sort Function): Remove claim how to make
4204 qsort stable.
4205
4206 2014-12-10 Andreas Schwab <schwab@suse.de>
4207
4208 [BZ #12847]
4209 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4210 user-controlled locks.
4211
4212 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4213
4214 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4215 register.
4216
4217 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4218
4219 * configure.ac (--disable-werror): New configure option.
4220 (enable_werror): New AC_SUBST.
4221 * configure: Regenerated.
4222 * config.make.in (enable-werror): New variable.
4223 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4224 -Wno-error=undef.
4225 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4226 * manual/install.texi (Configuring and compiling): Document
4227 --disable-werror.
4228 * INSTALL: Regenerated.
4229 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4230 (CFLAGS-tst-chk2.c): Likewise.
4231 (CFLAGS-tst-chk3.c): Likewise.
4232 (CFLAGS-tst-chk4.cc): Likewise.
4233 (CFLAGS-tst-chk5.cc): Likewise.
4234 (CFLAGS-tst-chk6.cc): Likewise.
4235 (CFLAGS-tst-lfschk1.c): Likewise.
4236 (CFLAGS-tst-lfschk2.c): Likewise.
4237 (CFLAGS-tst-lfschk3.c): Likewise.
4238 (CFLAGS-tst-lfschk4.cc): Likewise.
4239 (CFLAGS-tst-lfschk5.cc): Likewise.
4240 (CFLAGS-tst-lfschk6.cc): Likewise.
4241
4242 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4243 (main): Disable -Wdeprecated-declarations around calls to
4244 register_printf_function.
4245
4246 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4247 (do_test): Disable -Wdiv-by-zero around some calls to
4248 fwrite_unlocked and fread_unlocked.
4249
4250 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4251 (DIAG_POP_NEEDS_COMMENT): Likewise.
4252 (_DIAG_STR1): Likewise.
4253 (_DIAG_STR): Likewise.
4254 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4255 * stdio-common/bug21.c: Include <libc-internal.h>.
4256 (do_test): Disable -Wformat around call to sscanf.
4257 * stdio-common/scanf14.c: Include <libc-internal.h>.
4258 (main): Disable -Wformat around some calls to scanf functions.
4259
4260 2014-12-09 Torvald Riegel <triegel@redhat.com>
4261
4262 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4263
4264 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4265
4266 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4267 stack variable alignment.
4268
4269 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4270
4271 [BZ #17682]
4272 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4273 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4274 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4275 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4276 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4277 __getrlimit instead of getrlimit.
4278 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4279 __gettimeofday instead of gettimeofday.
4280 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4281 Likewise.
4282 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4283 Likewise.
4284 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4285 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4286 Remove variable.
4287 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4288 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4289
4290 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4291
4292 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4293 for wide-character tests.
4294
4295 2014-12-04 Roland McGrath <roland@hack.frob.com>
4296
4297 * io/openat64.c: #include <libc-internal.h>
4298 (__openat64): Prototypify. Use ignore_value on MODE.
4299 * io/openat.c: Likewise.
4300 * misc/reboot.c: #include <libc-internal.h>
4301 (reboot): Prototypify. Use ignore_value on HOWTO.
4302 * misc/ptrace.c: #include <libc-internal.h>
4303 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4304
4305 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4306
4307 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4308 XPG4, UNIX98 and XOPEN2K.
4309 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4310 Remove variable.
4311 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4312
4313 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4314
4315 * libio/fileops.c: Use ISO C style for function definitions.
4316 * libio/iofopen.c: Likewise.
4317 * libio/wfileops.c: Likewise.
4318
4319 [BZ #17653]
4320 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4321 offset on EOF.
4322 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4323 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4324 (fgets_func): Function pointer to fgets and fgetws.
4325 (do_ftell_test): Add test to verify ftell value after read
4326 EOF.
4327 (do_test): Set fgets_func.
4328
4329 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4330 O_TRUNC flag for w and w+ modes.
4331 (do_rewind_test): Likewise.
4332 (do_ftell_test): Likewise.
4333 (do_write_test): Likewise.
4334
4335 [BZ #17647]
4336 * libio/fileops.c (do_ftell): Seek only when there are
4337 unflushed writes.
4338 * libio/wfileops.c (do_ftell_wide): Likewise.
4339 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4340 test case.
4341 (do_one_test): Call it.
4342
4343 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4344
4345 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4346 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4347 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4348 Remove variable.
4349 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4350 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4351 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4352
4353 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4354
4355 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4356 Remove variable.
4357 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4358
4359 [BZ #17668]
4360 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4361 as weak alias of __getifaddrs. Use libc_hidden_weak.
4362 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4363 __freeifaddrs. Use libc_hidden_weak.
4364 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4365 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4366 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4367 __freeifaddrs. Use libc_hidden_weak.
4368 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4369 __getifaddrs and define as weak alias of __getifaddrs. Use
4370 libc_hidden_weak.
4371 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4372 __freeifaddrs. Use libc_hidden_weak.
4373 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4374 Remove variable.
4375 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4376 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4377
4378 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4379
4380 [BZ #17601]
4381 * sysdeps/mips/start.S (__start): Use indirect jump to call
4382 __libc_start_main.
4383
4384 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4385
4386 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4387
4388 * nptl/tst-mutex1.c: Include <stdbool.h>.
4389 [!ATTR] (ATTR_NULL): New macro.
4390 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4391 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4392 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4393
4394 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4395 to char *.
4396
4397 [BZ #17665]
4398 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4399 Change conditional to [__USE_MISC].
4400
4401 [BZ #17664]
4402 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4403 fgets_unlocked.
4404 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4405 __fgets_unlocked.
4406 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4407 fgets_unlocked.
4408 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4409 Remove variable.
4410 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4411 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4412 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4413 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4414 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4415 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4416 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4417 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4418 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4419
4420 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4421
4422 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4423
4424 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4425 Remove strpbrk objects.
4426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4427 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4428 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4429 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4430 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4431 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4432
4433 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4434 Remove strcspn objects.
4435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4436 (__libc_ifunc_impl_list): Remove strcspn implementation.
4437 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4438 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4439 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4440 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4441
4442 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4443 Remove strspn objetcs.
4444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4445 (__libc_ifunc_impl_list): Remove strspn implementation.
4446 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4447 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4448 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4449 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4450
4451 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4452
4453 [BZ #17581]
4454 * malloc/hooks.c
4455 (mem2mem_check): Add a terminator to the chain of checking blocks.
4456 (malloc_check_get_size): Use it here.
4457 (mem2chunk_check): Ditto.
4458
4459 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4460
4461 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4462 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4463
4464 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4465
4466 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4467
4468 * nptl/nptl-init.c: Include libc-internal.h.
4469 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4470
4471 * elf/ldconfig.c (search_dir): Expand comment.
4472
4473 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4474
4475 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4476 variable.
4477 (linknamespace-symlist-stdlibs-tests): Likewise.
4478 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4479 instead of $(objpfx)symlist-stdlibs.
4480 (linknamespace-libs-isoc): New variable.
4481 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4482 (linknamespace-libs-ISO): New variable.
4483 (linknamespace-libs-ISO99): Likewise.
4484 (linknamespace-libs-ISO11): Likewise.
4485 (linknamespace-libs-XPG3): Likewise.
4486 (linknamespace-libs-XPG4): Likewise.
4487 (linknamespace-libs-POSIX): Likewise.
4488 (linknamespace-libs-UNIX98): Likewise.
4489 (linknamespace-libs-XOPEN2K): Likewise.
4490 (linknamespace-libs-POSIX2008): Likewise.
4491 (linknamespace-libs-XOPEN2K8): Likewise.
4492 ($(objpfx)symlist-stdlibs): Replace by
4493 $(linknamespace-symlist-stdlibs-tests). Use
4494 $(linknamespace-libs-$*) as set of libraries.
4495 ($(linknamespace-header-tests)): Update dependencies. Use
4496 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4497 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4498 * conform/linknamespace.pl: Remove comment about considering
4499 definitions of symbols from irrelevant libraries.
4500
4501 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4502
4503 [BZ #13862]
4504 * elf/dl-tls.c: Include <atomic.h>.
4505 (oom): Remove #ifdef SHARED/#endif.
4506 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4507 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4508 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4509 big enough.
4510 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4511 * nptl/Makefile (tests): Add tst-stack4.
4512 (modules-names): Add tst-stack4mod.
4513 ($(objpfx)tst-stack4): New.
4514 (tst-stack4mod.sos): Likewise.
4515 ($(objpfx)tst-stack4.out): Likewise.
4516 ($(tst-stack4mod.sos)): Likewise.
4517 (clean): Likewise.
4518 * nptl/tst-stack4.c: New file.
4519 * nptl/tst-stack4mod.c: Likewise.
4520
4521 2014-11-27 J. Brown <jb999@gmx.de>
4522
4523 * sysdeps/x86/bits/string.h: Add recent CPUs.
4524
4525 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4526
4527 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4528 sigblock.
4529
4530 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4531 feof.
4532
4533 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4534 variable.
4535
4536 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4537
4538 * nscd/connections.c: Include libc-internal.h because of macro
4539 usage ignore_value.
4540
4541 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4542
4543 * string/bits/string3.h (__warn_memset_zero_len): Don't
4544 declare for gcc newer than 5.0.
4545 (memset): Don't test for zero-length __LEN for gcc newer than
4546 5.0.
4547
4548 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4549
4550 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4551 size_t for %zu format.
4552
4553 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4554 difference, not %ju.
4555
4556 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4557
4558 * include/libc-internal.h (ignore_value): New macro.
4559 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4560 with ignore_value.
4561
4562 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4563 definition.
4564
4565 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4566 pthread_cleanup_push to void *.
4567
4568 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4569 Undefine.
4570
4571 [BZ #16619]
4572 [BZ #16740]
4573 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4574 instead of 1L << 52.
4575
4576 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4577 * libio/bug-rewind2.c (do_test): Likewise.
4578
4579 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4580 * debug/test-strcpy_chk-ifunc.c: Likewise.
4581 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4582 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4583 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4584 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4585 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4586 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4587 * Rules [$(multi-arch) = no] (tests): Do not filter out
4588 $(tests-ifunc).
4589 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4590 * debug/Makefile (tests-ifunc): Remove variable.
4591 (tests): Do not add $(tests-ifunc).
4592 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4593 (tests): Do not add $(tests-ifunc).
4594 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4595 [TEST_IFUNC]: Remove conditionals.
4596 * string/test-string.h (TEST_IFUNC): Remove macro.
4597 [TEST_IFUNC]: Remove conditionals.
4598
4599 * string/test-strchr.c [!WIDE] (L): New macro.
4600 [WIDE] (L): Likewise.
4601 (check1): Use CHAR instead of char. Use L on string and character
4602 constants.
4603
4604 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4605
4606 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4607 tests.
4608 * sysdeps/powerpc/bits/atomic.h
4609 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4610 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4611 (atomic_exchange_and_add_acq): Likewise.
4612 (atomic_exchange_and_add_rel): Likewise.
4613 * sysdeps/powerpc/powerpc32/bits/atomic.h
4614 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4615 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4616 * sysdeps/powerpc/powerpc64/bits/atomic.h
4617 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4618 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4619
4620 2014-11-26 Torvald Riegel <triegel@redhat.com>
4621
4622 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4623 Change synchronization of __sched_fifo_min_prio and
4624 __sched_fifo_max_prio.
4625 * nptl/pthread_mutexattr_getprioceiling.c
4626 (pthread_mutexattr_getprioceiling): Likewise.
4627 * nptl/pthread_mutexattr_setprioceiling.c
4628 (pthread_mutexattr_setprioceiling): Likewise.
4629 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4630 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4631 Likewise.
4632
4633 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4634
4635 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4636 void.
4637
4638 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4639
4640 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4641 third argument const.
4642
4643 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4644
4645 fnmatch: work around GCC compiler warning bug with uninit var
4646 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4647 This works around a bug with x86-64 GCC 4.9.2 and earlier
4648 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4649 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4650 used uninitialized in this function [-Wmaybe-uninitialized]".
4651
4652 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4653
4654 * posix/bug-regex31.c (main): Return RES not 0.
4655
4656 2014-11-25 Anton Blanchard <anton@samba.org>
4657
4658 * sysdeps/powerpc/bits/atomic.h
4659 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4660
4661 2014-11-24 Sterling Augustine <saugustine@google.com>
4662
4663 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4664
4665 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4666
4667 [BZ #17608]
4668 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4669
4670 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4671
4672 [BZ #17633]
4673 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4674 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4675 variable.
4676 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4677 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4678
4679 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4680
4681 * string/strncpy.c (strncpy): Improve performance by using memset.
4682
4683 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4684
4685 * string/strcpy.c (strcpy):
4686 Improve performance by using strlen and memcpy.
4687
4688 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4689
4690 * string/strcoll_l.c (get_next_seq): __always_inline.
4691 * string/strcoll_l.c (do_compare): __always_inline.
4692
4693 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4694
4695 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4696 defined.
4697 * include/mqueue.h: Likewise.
4698 * include/stdlib.h: Likewise.
4699
4700 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4701 (get_null_defines): Adjust.
4702 * sunrpc/Makefile: Adjust comment.
4703 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4704 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4705 (CFLAGS-interp.c): Likewise.
4706 (CFLAGS-ldconfig.c): Likewise.
4707 (CPPFLAGS-.os): Likewise.
4708 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4709 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4710 * extra-modules.mk (extra-modules.mk): Likewise.
4711 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4712 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4713 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4714 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4715 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4716 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4717 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4718 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4719 * iconvdata/Makefile (CPPFLAGS): Likewise.
4720 (cpp-srcs-left): Add libof for all iconvdata routines.
4721 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4722 * include/assert.h: Likewise.
4723 * include/ctype.h: Likewise.
4724 * include/errno.h: Likewise.
4725 * include/libc-symbols.h: Likewise.
4726 * include/math.h: Likewise.
4727 * include/netdb.h: Likewise.
4728 * include/resolv.h: Likewise.
4729 * include/stdio.h: Likewise.
4730 * include/stdlib.h: Likewise.
4731 * include/string.h: Likewise.
4732 * include/sys/stat.h: Likewise.
4733 * include/wctype.h: Likewise.
4734 * intl/l10nflist.c: Likewise.
4735 * libidn/idn-stub.c: Likewise.
4736 * libio/libioP.h: Likewise.
4737 * nptl/libc_multiple_threads.c: Likewise.
4738 * nptl/pthreadP.h: Likewise.
4739 * posix/regex_internal.h: Likewise.
4740 * resolv/res_hconf.c: Likewise.
4741 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4742 * sysdeps/arm/memmove.S: Likewise.
4743 * sysdeps/arm/sysdep.h: Likewise.
4744 * sysdeps/generic/_itoa.h: Likewise.
4745 * sysdeps/generic/symbol-hacks.h: Likewise.
4746 * sysdeps/gnu/errlist.awk: Likewise.
4747 * sysdeps/gnu/errlist.c: Likewise.
4748 * sysdeps/i386/i586/memcpy.S: Likewise.
4749 * sysdeps/i386/i586/memset.S: Likewise.
4750 * sysdeps/i386/i686/memcpy.S: Likewise.
4751 * sysdeps/i386/i686/memmove.S: Likewise.
4752 * sysdeps/i386/i686/mempcpy.S: Likewise.
4753 * sysdeps/i386/i686/memset.S: Likewise.
4754 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4755 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4756 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4757 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4758 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4759 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4760 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4761 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4762 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4764 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4765 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4766 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4767 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4768 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4769 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4770 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4771 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4772 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4773 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4774 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4775 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4776 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4777 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4778 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4780 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4781 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4782 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4783 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4784 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4787 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4790 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4791 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4797 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4799 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4800 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4801 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4802 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4803 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4804 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4805 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4806 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4807 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4808 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4809 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4810 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4811 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4812 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4813 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4815 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4816 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4817 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4818 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4819 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4820 * sysdeps/posix/closedir.c: Likewise.
4821 * sysdeps/posix/opendir.c: Likewise.
4822 * sysdeps/posix/readdir.c: Likewise.
4823 * sysdeps/posix/rewinddir.c: Likewise.
4824 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4825 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4826 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4828 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4829 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4830 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4831 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4833 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4835 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4837 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4838 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4839 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4841 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4842 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4844 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4845 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4846 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4848 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4852 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4859 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4860 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4861 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4862 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4863 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4864 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4865 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4866 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4868 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4869 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4870 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4872 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4873 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4874 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4875 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4876 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4877 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4878 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4879 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4880 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4881 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4882 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4883 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4884 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4885 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4886 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4887 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4888 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4889 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4890 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4891 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4892 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4893 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4894 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4895 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4896 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4897 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4898 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4899 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4900 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4901 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4902 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4903 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4904 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4905 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4906 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4907 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4908 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4909 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4910 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4911 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4912 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4913 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4914 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4915 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4916 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4917 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4918 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4919 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4920 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4922 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4923 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4924 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4925 * sysdeps/unix/alpha/sysdep.S: Likewise.
4926 * sysdeps/unix/alpha/sysdep.h: Likewise.
4927 * sysdeps/unix/make-syscalls.sh: Likewise.
4928 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4930 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4931 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4932 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4933 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4934 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4935 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4936 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4937 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4938 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4939 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4941 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4942 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4943 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4944 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4945 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4946 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4947 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4948 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4949 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4950 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4951 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4952 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4953 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4954 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4957 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4958 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4959 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4962 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4965 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4966 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4967 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4968 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4969 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4970 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4971 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4972 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4977 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4978 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4979 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4980 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4981 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4982 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4984 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4986 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4987 * sysdeps/x86_64/memcpy.S: Likewise.
4988 * sysdeps/x86_64/memmove.c: Likewise.
4989 * sysdeps/x86_64/memset.S: Likewise.
4990 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4992 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4993 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4994 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4996 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4997 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4998 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4999 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5000 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5001 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5002 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5003 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5005 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5007 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5008 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5009 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5010 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5011 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5012 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5014 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5015 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5016 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5017 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5019 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5020 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5021 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5022 * sysdeps/x86_64/strcmp.S: Likewise.
5023
5024 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5025
5026 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5027 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5028 * elf/rtld-Rules: Likewise.
5029 * elf/setup-vdso.h: Likewise.
5030 * include/assert.h: Likewise.
5031 * include/bits/stdlib-float.h: Likewise.
5032 * include/errno.h: Likewise.
5033 * include/sys/stat.h: Likewise.
5034 * include/unistd.h: Likewise.
5035 * sysdeps/aarch64/setjmp.S: Likewise.
5036 * sysdeps/alpha/setjmp.S: Likewise.
5037 * sysdeps/arm/__longjmp.S: Likewise.
5038 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5039 * sysdeps/arm/setjmp.S: Likewise.
5040 * sysdeps/arm/sysdep.h: Likewise.
5041 * sysdeps/generic/_itoa.h: Likewise.
5042 * sysdeps/generic/dl-sysdep.h: Likewise.
5043 * sysdeps/generic/ldsodefs.h: Likewise.
5044 * sysdeps/i386/dl-tls.h: Likewise.
5045 * sysdeps/i386/setjmp.S: Likewise.
5046 * sysdeps/m68k/setjmp.c: Likewise.
5047 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5048 * sysdeps/mach/hurd/opendir.c: Likewise.
5049 * sysdeps/posix/getcwd.c: Likewise.
5050 * sysdeps/posix/opendir.c: Likewise.
5051 * sysdeps/posix/profil.c: Likewise.
5052 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5054 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5055 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5056 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5057 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5059 * sysdeps/s390/dl-tls.h: Likewise.
5060 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5061 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5062 * sysdeps/sh/sh3/setjmp.S: Likewise.
5063 * sysdeps/sh/sh4/setjmp.S: Likewise.
5064 * sysdeps/unix/alpha/sysdep.h: Likewise.
5065 * sysdeps/unix/arm/sysdep.S: Likewise.
5066 * sysdeps/unix/i386/sysdep.S: Likewise.
5067 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5068 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5069 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5070 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5071 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5072 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5073 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5074 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5075 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5076 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5077 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5078 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5079 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5082 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5084 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5085 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5086 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5087 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5088 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5090 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5091 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5094 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5095 * sysdeps/x86_64/setjmp.S: Likewise.
5096
5097 * include/math.h: Use IS_IN instead of IS_IN_libm.
5098 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5110 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5112 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5113 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5117 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5118 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5119 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5120 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5121 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5122 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5123 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5125 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5126 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5127 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5128 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5129 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5132 Likewise.
5133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5134 Likewise.
5135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5136 Likewise.
5137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5138 Likewise.
5139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5140 Likewise.
5141 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5142 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5143 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5144 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5145 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5146 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5152 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5153 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5154 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5155 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5157 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5158 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5159 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5160 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5161 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5162 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5163 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5164 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5165 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5167 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5168
5169 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5170 * nptl/pthreadP.h: Likewise.
5171 * nptl_db/structs.def: Likewise.
5172 * sysdeps/arm/sysdep.h: Likewise.
5173 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5174 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5175 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5176 * sysdeps/unix/alpha/sysdep.h: Likewise.
5177 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5179 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5180 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5181 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5182 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5184 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5185 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5186 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5187 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5188 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5189 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5190 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5195 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5198 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5199 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5200 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5201 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5202 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5203
5204 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5205 * nptl/pthreadP.h: Likewise.
5206 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5207 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5208 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5209 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5210 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5211 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5212 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5213 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5214 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5215 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5216 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5217 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5219 Likewise.
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5221 Likewise.
5222 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5224 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5227 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5228 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5229 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5230
5231 * dlfcn/dladdr.c: Use IS_IN.
5232 * dlfcn/dladdr1.c: Likewise.
5233 * dlfcn/dlclose.c: Likewise.
5234 * dlfcn/dlerror.c: Likewise.
5235 * dlfcn/dlinfo.c: Likewise.
5236 * dlfcn/dlmopen.c: Likewise.
5237 * dlfcn/dlopen.c: Likewise.
5238 * dlfcn/dlsym.c: Likewise.
5239 * dlfcn/dlvsym.c: Likewise.
5240
5241 * include/ifaddrs.h: Use IS_IN.
5242 * inet/check_pf.c: Likewise.
5243 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5244 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5245
5246 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5247 IS_IN_ldconfig.
5248 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5249 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5250
5251 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5252 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5253 IS_IN (libc).
5254
5255 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5256
5257 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5258 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5259 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5260 * include/libc-symbols.h (IS_IN_LIB): New macro.
5261 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5262 * include/netdb.h: Likewise.
5263 * include/stap-probe.h: Remove all uses of IN_LIB.
5264
5265 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5266 instead of IN_MODULE.
5267 * include/libc-symbols.h (IN_MODULE): Define using
5268 MODULE_NAME.
5269 (PASTE_NAME, PASTE_NAME1): New macros.
5270 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5271 of IN_LIB.
5272 (STAP_PROBE_ASM): Likewise.
5273
5274 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5275
5276 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5277 __mach_init in dlopened libc.
5278
5279 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5280
5281 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5282 * sysdeps/arm/preconfigure: Regenerate.
5283
5284 2014-11-21 Roland McGrath <roland@hack.frob.com>
5285
5286 * nptl/pthread_create.c (__pthread_create_2_1): Set
5287 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5288 when copying values from IATTR into PD.
5289
5290 2014-11-21 Will Newton <will.newton@linaro.org>
5291 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5292
5293 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5294 Refactor inline-asm. Also add comment.
5295
5296 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5297 ElfW macro instead of hardcoded Elf64 types.
5298 (la_aarch64_gnu_pltenter): Likewise.
5299 * sysdeps/aarch64/dl-machine.h
5300 (elf_machine_runtime_setup): Use ElfW(Addr).
5301
5302 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5303 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5304 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5305 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5306 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5307 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5308 (R_AARCH64_TLS_DTPMOD): This.
5309 (R_AARCH64_TLS_DTPREL64): Rename to ...
5310 (R_AARCH64_TLS_DTPREL): This.
5311 (R_AARCH64_TLS_TPREL64): Rename to ...
5312 (R_AARCH64_TLS_TPREL): This.
5313 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5314 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5315 R_AARCH64_TLS_TPREL64.
5316 (elf_machine_rela): Likewise.
5317
5318 2014-11-21 Torvald Riegel <triegel@redhat.com>
5319
5320 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5321 by setting it to 0. 64b atomics are not supported currently.
5322
5323 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5324
5325 [BZ #16469]
5326 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5327 search domain names.
5328
5329 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5330
5331 [BZ #16469]
5332 * NEWS: Update.
5333 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5334 trailing dot.
5335 * posix/tst-getaddrinfo5.c: New.
5336 * posix/Makefile (tests): Add it.
5337
5338 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5339
5340 [BZ #14498]
5341 * NEWS: Fixed.
5342 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5343 after parsing line but before break_if_match.
5344 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5345 if there is a protocol mismatch.
5346
5347 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5348
5349 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5350 because the potential race is on the user-supplied stream.
5351
5352 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5353
5354 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5355 string literal if not passed a buffer.
5356 * manual/job.texi (ctermid): Update reasoning, note deviation
5357 from posix, suggest mtasurace when not passed a buffer, for
5358 future non-preliminary safety notes.
5359
5360 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5361
5362 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5363 of not passing it a buffer.
5364 Reported by Peng Haitao.
5365
5366 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5367
5368 * manual/Makefile ($(objpfx)stamp-summary): Require
5369 check-safety.sh to pass.
5370 * manual/check-safety.sh: Wish for verification that every
5371 @deftypefn and @deftypefun is followed by a @safety remark.
5372
5373 2014-11-20 Roland McGrath <roland@hack.frob.com>
5374
5375 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5376
5377 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5378 PTHREAD_CANCEL_ASYNCHRONOUS.
5379 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5380 send SIGCANCEL.
5381
5382 * nptl/default-sched.h: New file.
5383 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5384 * nptl/pthread_create.c: Include it.
5385 (__pthread_create_2_1): Use collect_default_sched instead of making
5386 Linux syscalls here directly.
5387
5388 2014-11-20 Torvald Riegel <triegel@redhat.com>
5389
5390 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5391 __pthread_once): Use C11 atomics.
5392
5393 2014-11-20 Torvald Riegel <triegel@redhat.com>
5394
5395 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5396
5397 2014-11-20 Torvald Riegel <triegel@redhat.com>
5398
5399 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5400 atomic_thread_fence_acquire, atomic_thread_fence_release,
5401 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5402 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5403 atomic_compare_exchange_weak_relaxed,
5404 atomic_compare_exchange_weak_acquire,
5405 atomic_compare_exchange_weak_release,
5406 atomic_exchange_acquire, atomic_exchange_release,
5407 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5408 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5409 atomic_fetch_and_acquire,
5410 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5411
5412 2014-11-20 Torvald Riegel <triegel@redhat.com>
5413
5414 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5415 USE_ATOMIC_COMPILER_BUILTINS): Define.
5416 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5417 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5418 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5419 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5420 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5421 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5422 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5423 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5424 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5425 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5426 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5427 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5428 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5429 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5430 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5431 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5432 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5433 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5434 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5435 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5436 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5437 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5438 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5439 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5440 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5441 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5442 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5443 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5444 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5445 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5446 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5447 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5448 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5449 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5450 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5451 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5452 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5453 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5454 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5455 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5456
5457 2014-11-19 Roland McGrath <roland@hack.frob.com>
5458
5459 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5460 the sched_priority value here. It was already checked when the user
5461 called pthread_attr_setschedparam.
5462
5463 * nptl/tst-bad-schedattr.c: New file.
5464 * nptl/Makefile (tests): Add it.
5465
5466 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5467 Florian Weimer <fweimer@redhat.com>
5468 Joseph Myers <joseph@codesourcery.com>
5469 Adam Conrad <adconrad@0c3.net>
5470 Andreas Schwab <schwab@suse.de>
5471 Brooks <bmoses@google.com>
5472
5473 [BZ #17625]
5474 * wordexp-test.c (__dso_handle): Add prototype.
5475 (__register_atfork): Likewise.
5476 (__app_register_atfork): New function.
5477 (registered_forks): New global.
5478 (register_fork): New function.
5479 (test_case): Add 3 new tests for WRDE_CMDSUB.
5480 (main): Call __app_register_atfork.
5481 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5482 fork count is non-zero fail the test.
5483 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5484 is set.
5485 (parse_dollars): Remove check for WRDE_NOCMD.
5486 (parse_dquote): Likewise.
5487
5488 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5489
5490 * Makeconfig (built-modules): List non-library modules to be
5491 built.
5492 (module-cppflags): Include libc-modules.h for
5493 everything except shlib-versions.v.i.
5494 (CPPFLAGS): Use it.
5495 (before-compile): Add libc-modules.h.
5496 ($(common-objpfx)libc-modules.h,
5497 $(common-objpfx)libc-modules.stmp): New targets.
5498 (common-generated): Add libc-modules.h and libc-modules.stmp.
5499 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5500 * include/libc-symbols.h: Don't include libc-modules.h.
5501 * include/libc-modules.h: Remove file.
5502 * scripts/gen-libc-modules.awk: New script to generate
5503 libc-modules.h.
5504 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5505 Depend on libc-modules.stmp.
5506
5507 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5508
5509 * Makeconfig (in-module): Get value of libof set for the
5510 translation unit.
5511 (CPPFLAGS): Use $(in-module).
5512 * Makerules: Don't suffix routine names for nonlib.
5513 * include/libc-modules.h: New file.
5514 * include/libc-symbols.h: Include libc-modules.h
5515 (IS_IN): New macro to replace IS_IN_* macros.
5516 * elf/Makefile: Set libof-* for each routine.
5517 * elf/rtld-Rules: Likewise.
5518 * extra-modules.mk: Likewise.
5519 * iconv/Makefile: Likewise.
5520 * iconvdata/Makefile: Likewise.
5521 * locale/Makefile: Likewise.
5522 * malloc/Makefile: Likewise.
5523 * nss/Makefile: Likewise.
5524 * sysdeps/gnu/Makefile: Likewise.
5525 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5526 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5527 * sysdeps/s390/s390-64/Makefile: Likewise.
5528 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5529 CPPFLAGS for nscd instead of nonlib.
5530
5531 2014-11-18 Roland McGrath <roland@hack.frob.com>
5532
5533 * nptl/createthread.c: New file.
5534
5535 * nptl/createthread.c: Moved ...
5536 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5537
5538 * nptl/createthread.c: Add proper top-line comment.
5539 (do_clone): Folded into ...
5540 (create_thread): ... here. Take new arguments STOPPED_START and
5541 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5542 increment __nptl_threads, do event-reporting logic, do
5543 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5544 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5545 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5546 just send SIGCANCEL.
5547 * nptl/pthread_create.c: Forward-declare create_thread before
5548 including createthread.c.
5549 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5550 declaration, and new macro START_THREAD_SELF to replace argument.
5551 Remove return statement.
5552 (report_thread_creation): New function.
5553 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5554 synchronization logic, and __nptl_nthreads increment here, around
5555 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5556 PD->parent_cancelhandling here, before create_thread. When
5557 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5558 __deallocate_stack, and ENOMEM translation here.
5559
5560 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5561
5562 [BZ #17616]
5563 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5564 (mptwo): Rename to __mptwo.
5565 (__inv): Use __mptwo instead of mptwo.
5566 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5567 (mptwo): Rename to __mptwo.
5568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5569 of mpone and __mptwo instead of mptwo.
5570 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5571 instead of mpone.
5572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5573 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5574 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5575 of mpone and __mptwo instead of mptwo.
5576 (__mpranred): Use __mpone instead of mpone.
5577 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5578 variable.
5579 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5580 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5581 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5582 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5583 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5584 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5585 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5586 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5587 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5588 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5589 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5590 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5591 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5592 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5593 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5594 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5595 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5596 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5597 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5598
5599 2014-11-18 Tom de Vries <tom@codesoucery.com>
5600
5601 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5602 replace BSD Handler xref with BSD Signal Handling.
5603
5604 2014-11-17 Richard Henderson <rth@redhat.com>
5605
5606 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5607 (_FP_PACK_RAW_2): Remove.
5608 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5609 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5610 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5611 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5612 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5613 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5614 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5615 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5616 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5617 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5618 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5619 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5620 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5621 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5622 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5623 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5624
5625 2014-11-14 Roland McGrath <roland@hack.frob.com>
5626
5627 * signal/signal.h [__USE_MISC]
5628 (struct sigvec): Remove type.
5629 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5630 (sigvec): Remove declaration.
5631 * sysdeps/posix/sigvec.c: Moved ...
5632 * signal/sigvec.c: ... here, replacing old file.
5633 (struct sigvec): New type, copied from old signal.h definition.
5634 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5635 (__sigvec): Convert definition to prototype.
5636 (sigvec): Replace weak_alias with compat_symbol.
5637 * signal/Versions (libc: GLIBC_2.21): New version set.
5638 * include/signal.h: Remove __sigvec declaration.
5639 * sysdeps/unix/bsd/sigvec.c: Remove file.
5640 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5641 * manual/signal.texi (BSD Handler): Remove subsection.
5642 Move siginterrupt up to ...
5643 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5644 (Blocking in BSD): Fold subsection into its parent.
5645 * NEWS: Mention sigvec removal.
5646
5647 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5650 (DLA_FMS): Make definition conditional only on [__FMA4__].
5651 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5652 definition.
5653
5654 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5655 Make definition conditional only on [PROF].
5656 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5657 definition.
5658 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5659 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5660
5661 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5662 !__GNUC__].
5663 * include/signal.h (__sigpause): Move declaration above call to
5664 libc_hidden_proto.
5665 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5666 variable.
5667 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5668 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5669
5670 2014-11-14 David S. Miller <davem@davemloft.net>
5671
5672 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5673 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5674
5675 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5676
5677 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5678 * configure: Regenerated.
5679 * manual/install.texi (Tools for Compilation): Document a
5680 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5681 compiler verified to work.
5682 * INSTALL: Regenerated.
5683
5684 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5685 redeclare with asm name.
5686 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5687 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5688 including <string.h>.
5689 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5690 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5691 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5693 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5694 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5695 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5696
5697 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5698
5699 * stdlib/strtol.c (__strtol): Use prototype definition.
5700
5701 [BZ #17594]
5702 * stdlib/strtol.c (SYM__): New macro.
5703 (SYM__1): Likewise.
5704 (__strtol): Likewise.
5705 (strtol): Rename to __strtol and define as weak alias of
5706 __strtol. Use libc_hidden_weak.
5707
5708 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5709
5710 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5711 Use numbered labels in inline assembly.
5712
5713 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5714
5715 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5716 Add setjmp LIBC_PROBE.
5717 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5718 Likewise.
5719 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5720 Add longjmp, longjmp_target LIBC_PROBE.
5721 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5722 Likewise.
5723
5724 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5725
5726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5727 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5728 to get rid of unused variable warning.
5729
5730 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5731
5732 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5733 Check for unwind_backtrace == NULL only in SHARED case.
5734 (__backchain_backtrace): Compile only in SHARED case.
5735 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5736 Likewise.
5737 (__backchain_backtrace): Declare as static.
5738
5739 2014-11-12 Roland McGrath <roland@hack.frob.com>
5740
5741 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5742 (__libc_multiple_threads_ptr): Variable moved ...
5743 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5744
5745 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5746
5747 * conform/GlibcConform.pm: New file.
5748 * conform/conformtest.pl: Use GlibcConform module.
5749 * conform/linknamespace.pl: New file.
5750 * conform/list-header-symbols.pl: Likewise.
5751 * conform/Makefile (linknamespace-symlists-base): New variable.
5752 (linknamespace-symlists-tests): Likewise.
5753 (linknamespace-header-base): Likewise.
5754 (linknamespace-header-tests): Likewise.
5755 (tests-special): Add new tests.
5756 ($(linknamespace-symlists-tests)): New rule.
5757 (linknamespace-libs): New variable.
5758 ($(objpfx)symlist-stdlibs): New rule.
5759 ($(linknamespace-header-tests)): Likewise.
5760 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5761 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5762 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5763 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5764 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5765 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5766 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5767 (test-xfail-ISO/math.h/linknamespace): Likewise.
5768 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5769 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5770 (test-xfail-ISO/time.h/linknamespace): Likewise.
5771 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5772 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5773 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5774 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5775 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5776 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5777 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5778 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5779 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5780 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5781 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5782 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5783 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5784 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5785 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5786 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5787 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5788 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5789 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5790 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5791 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5792 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5793 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5794 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5795 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5796 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5797 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5798 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5799 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5800 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5801 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5802 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5803 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5804 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5805 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5806 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5807 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5808 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5809 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5810 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5811 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5812 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5813 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5814 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5815 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5816 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5817 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5818 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5819 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5820 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5821 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5822 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5823 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5824 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5825 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5826 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5827 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5828 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5829 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5830 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5831 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5832 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5833 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5834 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5835 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5836 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5837 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5838 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5839 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5840 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5841 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5842 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5843 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5844 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5845 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5846 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5847 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5848 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5849 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5850 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5851 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5852 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5853 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5854 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5855 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5856 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5857 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5858 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5859 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5860 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5861 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5862 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5863 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5864 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5865 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5866 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5867 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5868 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5869 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5870 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5871 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5872 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5873 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5874 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5875 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5876 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5877 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5878 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5879 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5880 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5881 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5882 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5883 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5884 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5885 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5886 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5887 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5888 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5889 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5890 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5891 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5892 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5893 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5894 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5895 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5896 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5897 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5898 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5899 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5900 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5901 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5902 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5903 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5904 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5905 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5906 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5907 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5908 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5909 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5910 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5911 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5912 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5913 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5914 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5915 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5916 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5917 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5918 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5919 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5920 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5921
5922 [BZ #17589]
5923 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5924 of fgets_unlocked.
5925
5926 [BZ #17585]
5927 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5928 (memmem): Rename to __memmem and define as weak alias of
5929 __memmem. Use libc_hidden_weak.
5930 (__memmem): Use libc_hidden_def.
5931 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5932 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5933 memmem.
5934
5935 [BZ #17582]
5936 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5937 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5938 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5939 and define as weak alias of __fgets_unlocked. Use
5940 libc_hidden_weak.
5941 (__fgets_unlocked): Use libc_hidden_def.
5942 * include/stdio.h (__fgets_unlocked): Declare. Use
5943 libc_hidden_proto.
5944 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5945 __fgets_unlocked instead of fgets_unlocked.
5946 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5947 (GET_NPROCS_CONF_PARSER): Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5949 (GET_NPROCS_CONF_PARSER): Likewise.
5950
5951 [BZ #17574]
5952 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5953 weak alias of __wmemset. Use libc_hidden_weak.
5954 (__wmemset): Use libc_hidden_def.
5955 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5956 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5957 of wmemset.
5958
5959 [BZ #17573]
5960 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5961 with asm name __mempcpy.
5962 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5963
5964 [BZ #17572]
5965 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5966 and define as weak alias of __rawmemchr.
5967 (__rawmemchr): Do not define as strong alias of rawmemchr.
5968
5969 [BZ #17571]
5970 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5971 alias of __qsort_r.
5972 (qsort): Call __qsort_r instead of qsort_r.
5973 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5974 (__qsort_r): Declare. Call libc_hidden_proto.
5975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5976 instead of qsort_r.
5977 * nscd/gai.c (__qsort_r): Define to qsort_r.
5978 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5979 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5980 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5981
5982 [BZ #17570]
5983 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5984 define as weak alias of __malloc_info.
5985
5986 [BZ #17584]
5987 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5988 as weak alias of __rewinddir. Don't use libc_hidden_def.
5989 (__rewinddir): Use libc_hidden_def.
5990 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5991 as weak alias of __rewinddir. Don't use libc_hidden_def.
5992 (__rewinddir): Use libc_hidden_def.
5993 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5994 weak alias of __rewinddir. Don't use libc_hidden_def.
5995 (__rewinddir): Use libc_hidden_def.
5996 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5997 (__rewinddir): Use libc_hidden_proto.
5998 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5999 rewinddir.
6000 (__getcwd): Use __rewinddir instead of rewinddir.
6001
6002 [BZ #17583]
6003 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6004 alias of __fileno. Use libc_hidden_weak.
6005 (__fileno): Use libc_hidden_def.
6006 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6007 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6008 alias of __ftello.
6009 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6010 __ftello.
6011 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6012 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6013 libc_hidden_def.
6014 (fread_unlocked): Don't use libc_hidden_ver.
6015 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6016 and define as weak alias of __fread_unlocked. Don't use
6017 libc_hidden_def.
6018 (__fread_unlocked): Use libc_hidden_def.
6019 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6020 (ftello): Don't use libc_hidden_proto.
6021 (__ftello): Declare. Use libc_hidden_proto.
6022 (fread_unlocked): Don't use libc_hidden_proto.
6023 (__fread_unlocked): Declare. Use libc_hidden_proto.
6024 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6025 and __ftello instead of fileno, fread_unlocked and ftello.
6026
6027 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
6029 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6030 GOT12.
6031 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6032 Likewise.
6033 (_dl_start_user): Likewise.
6034 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6035
6036 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6037 Siddhesh Poyarekar <siddhesh@redhat.com>
6038
6039 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6040 Move argv and envp down instead of moving argc up.
6041 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6042
6043 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6044
6045 [BZ #17506]
6046 * test-skeleton.c (main): Return successful if one of
6047 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6048 * string/tst-strcoll-overflow.c: Define expected status.
6049
6050 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6051
6052 [BZ #17475]
6053 * locale/iso-639.def: Define Bhili and Tulu language codes.
6054
6055 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6056
6057 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6058
6059 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6060
6061 [BZ #17555]
6062 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6063
6064 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6065
6066 * configure.ac: Updated check of minimal required version to
6067 2.22.
6068 * manual/install.texi (Tools for Compilation): Updated version
6069 number.
6070 * configure: Regenerated.
6071 * INSTALL: Likewise.
6072
6073 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6074
6075 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6076 __tls_get_addr.
6077
6078 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6079
6080 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6081 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6082 (__waitpid): Don't define as alias. Use libc_hidden_def not
6083 libc_hidden_weak.
6084 (waitpid): Define as alias of __waitpid.
6085 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6086 __waitpid.
6087 (__waitpid): Don't define as alias. Use libc_hidden_def not
6088 libc_hidden_weak.
6089 (waitpid): Define as alias of __waitpid.
6090 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6091 __libc_waitpid alias.
6092 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6093 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6094 Likewise.
6095 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6096 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6097 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6098 alias.
6099 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6100 __waitpid.
6101 (__waitpid): Don't define as alias. Use libc_hidden_def not
6102 libc_hidden_weak.
6103 (waitpid): Define as alias of __waitpid.
6104
6105 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6106
6107 * manual/llio.texi: Add comment that write safety has been
6108 fixed in Linux.
6109
6110 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6111 (localplt-build-dso): Add elf/ld.so.
6112 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6113 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6114 and free for ld.so.
6115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6116 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6118 Likewise.
6119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6120 Likewise.
6121 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6122 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6123 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6124 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6125 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6126 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6127 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6128 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6129 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6131 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6132
6133 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6134
6135 [BZ #14132]
6136 * include/libc-symbols.h (INTUSE): Remove macro.
6137 (INTDEF): Likewise.
6138 (INTVARDEF): Likewise.
6139 (_INTVARDEF): Likewise.
6140 (INTDEF2): Likewise.
6141 (INTVARDEF2): Likewise.
6142 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6143 rtld_hidden_def instead of INTVARDEF.
6144 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6145 (_dl_starting_up_internal): Remove declaration.
6146 (_dl_starting_up): Use rtld_hidden_proto.
6147 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6148 declaration.
6149 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6150 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6151 _dl_starting_up.
6152 * elf/dl-writev.h (_dl_writev): Likewise.
6153 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6154 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6155 _dl_starting_up_internal.
6156
6157 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6158
6159 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6160 test-skeleton.c.
6161
6162 2014-11-05 Will Newton <will.newton@linaro.org>
6163
6164 * benchtests/Makefile: (bench-malloc): Add malloc thread
6165 scalability benchmark.
6166 * benchtests/bench-malloc-threads.c: New file.
6167
6168 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6169
6170 * sysdeps/aarch64/strchrnul.S: New file.
6171
6172 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6173
6174 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6175 definition.
6176 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6177 Likwise.
6178 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6179 Likewise.
6180 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6181 Likewise.
6182 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6183 Likewise.
6184 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6185 Likewise.
6186
6187 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6188
6189 * catgets/test-gencat.c: Use test-skeleton.c.
6190 * catgets/tst-catgets.c: Likewise.
6191 * csu/tst-empty.c: Likewise.
6192 * elf/tst-audit2.c: Likewise.
6193 * elf/tst-global1.c: Likewise.
6194 * elf/tst-pathopt.c: Likewise.
6195 * elf/tst-piemod1.c: Likewise.
6196 * elf/tst-tls10.c: Likewise.
6197 * elf/tst-tls11.c: Likewise.
6198 * elf/tst-tls12.c: Likewise.
6199 * gnulib/tst-gcc.c: Likewise.
6200 * iconvdata/tst-e2big.c: Likewise.
6201 * iconvdata/tst-loading.c: Likewise.
6202 * iconv/tst-iconv1.c: Likewise.
6203 * iconv/tst-iconv2.c: Likewise.
6204 * inet/test-inet6_opt.c: Likewise.
6205 * inet/tst-gethnm.c: Likewise.
6206 * inet/tst-network.c: Likewise.
6207 * inet/tst-ntoa.c: Likewise.
6208 * intl/tst-codeset.c: Likewise.
6209 * intl/tst-gettext2.c: Likewise.
6210 * intl/tst-gettext3.c: Likewise.
6211 * intl/tst-ngettext.c: Likewise.
6212 * intl/tst-translit.c: Likewise.
6213 * io/test-stat.c: Likewise.
6214 * libio/test-fmemopen.c: Likewise.
6215 * libio/tst-freopen.c: Likewise.
6216 * libio/tst-sscanf.c: Likewise.
6217 * libio/tst-ungetwc1.c: Likewise.
6218 * libio/tst-ungetwc2.c: Likewise.
6219 * libio/tst-widetext.c: Likewise.
6220 * localedata/tst-ctype.c: Likewise.
6221 * localedata/tst-digits.c: Likewise.
6222 * localedata/tst-leaks.c: Likewise.
6223 * localedata/tst-mbswcs1.c: Likewise.
6224 * localedata/tst-mbswcs2.c: Likewise.
6225 * localedata/tst-mbswcs3.c: Likewise.
6226 * localedata/tst-mbswcs4.c: Likewise.
6227 * localedata/tst-mbswcs5.c: Likewise.
6228 * localedata/tst-setlocale.c: Likewise.
6229 * localedata/tst-trans.c: Likewise.
6230 * localedata/tst-wctype.c: Likewise.
6231 * localedata/tst-xlocale1.c: Likewise.
6232 * login/tst-grantpt.c: Likewise.
6233 * malloc/tst-calloc.c: Likewise.
6234 * malloc/tst-malloc.c: Likewise.
6235 * malloc/tst-mallocstate.c: Likewise.
6236 * malloc/tst-mcheck.c: Likewise.
6237 * malloc/tst-mtrace.c: Likewise.
6238 * malloc/tst-obstack.c: Likewise.
6239 * math/atest-exp2.c: Likewise.
6240 * math/atest-exp.c: Likewise.
6241 * math/atest-sincos.c: Likewise.
6242 * math/test-matherr.c: Likewise.
6243 * math/test-misc.c: Likewise.
6244 * math/test-powl.c: Likewise.
6245 * math/tst-definitions.c: Likewise.
6246 * misc/tst-dirname.c: Likewise.
6247 * misc/tst-efgcvt.c: Likewise.
6248 * misc/tst-fdset.c: Likewise.
6249 * misc/tst-hsearch.c: Likewise.
6250 * misc/tst-mntent2.c: Likewise.
6251 * nptl/tst-sem7.c: Likewise.
6252 * nptl/tst-sem8.c: Likewise.
6253 * nptl/tst-sem9.c: Likewise.
6254 * nss/test-netdb.c: Likewise.
6255 * posix/tst-fnmatch.c: Likewise.
6256 * posix/tst-getlogin.c: Likewise.
6257 * posix/tst-gnuglob.c: Likewise.
6258 * posix/tst-mmap.c: Likewise.
6259 * pwd/tst-getpw.c: Likewise.
6260 * resolv/tst-inet_ntop.c: Likewise.
6261 * rt/tst-timer.c: Likewise.
6262 * stdio-common/test-fseek.c: Likewise.
6263 * stdio-common/test-popen.c: Likewise.
6264 * stdio-common/test-vfprintf.c: Likewise.
6265 * stdio-common/tst-cookie.c: Likewise.
6266 * stdio-common/tst-fileno.c: Likewise.
6267 * stdio-common/tst-gets.c: Likewise.
6268 * stdio-common/tst-obprintf.c: Likewise.
6269 * stdio-common/tst-perror.c: Likewise.
6270 * stdio-common/tst-sprintf2.c: Likewise.
6271 * stdio-common/tst-sprintf3.c: Likewise.
6272 * stdio-common/tst-sprintf.c: Likewise.
6273 * stdio-common/tst-swprintf.c: Likewise.
6274 * stdio-common/tst-tmpnam.c: Likewise.
6275 * stdio-common/tst-unbputc.c: Likewise.
6276 * stdio-common/tst-wc-printf.c: Likewise.
6277 * stdlib/tst-environ.c: Likewise.
6278 * stdlib/tst-fmtmsg.c: Likewise.
6279 * stdlib/tst-limits.c: Likewise.
6280 * stdlib/tst-rand48-2.c: Likewise.
6281 * stdlib/tst-rand48.c: Likewise.
6282 * stdlib/tst-random2.c: Likewise.
6283 * stdlib/tst-random.c: Likewise.
6284 * stdlib/tst-strtol.c: Likewise.
6285 * stdlib/tst-strtoll.c: Likewise.
6286 * stdlib/tst-tls-atexit.c: Likewise.
6287 * stdlib/tst-xpg-basename.c: Likewise.
6288 * string/test-ffs.c: Likewise.
6289 * string/tst-bswap.c: Likewise.
6290 * string/tst-inlcall.c: Likewise.
6291 * string/tst-strtok.c: Likewise.
6292 * string/tst-strxfrm.c: Likewise.
6293 * sysdeps/x86_64/tst-audit10.c: Likewise.
6294 * sysdeps/x86_64/tst-audit3.c: Likewise.
6295 * sysdeps/x86_64/tst-audit4.c: Likewise.
6296 * sysdeps/x86_64/tst-audit5.c: Likewise.
6297 * time/tst-ftime_l.c: Likewise.
6298 * time/tst-getdate.c: Likewise.
6299 * time/tst-mktime3.c: Likewise.
6300 * time/tst-mktime.c: Likewise.
6301 * time/tst-posixtz.c: Likewise.
6302 * time/tst-strptime2.c: Likewise.
6303 * time/tst-strptime3.c: Likewise.
6304 * wcsmbs/tst-btowc.c: Likewise.
6305 * wcsmbs/tst-mbrtowc.c: Likewise.
6306 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6307 * wcsmbs/tst-wchar-h.c: Likewise.
6308 * wcsmbs/tst-wcpncpy.c: Likewise.
6309 * wcsmbs/tst-wcrtomb.c: Likewise.
6310 * wcsmbs/tst-wcsnlen.c: Likewise.
6311 * wcsmbs/tst-wcstof.c: Likewise.
6312
6313 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #14132]
6316 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6317 INTDEF.
6318 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6319 declaration.
6320 (_dl_mcount): Use rtld_hidden_proto.
6321 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6322 _dl_mcount.
6323 * elf/rtld.c (_rtld_global_ro): Likewise.
6324
6325 [BZ #14132]
6326 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6327 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6328 of _dl_init_internal.
6329 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6330 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6331 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6332 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6333 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6334 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6335 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6336 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6337 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6338 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6339 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6340 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6341 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6342 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6343 * sysdeps/tile/dl-start.S (_start): Likewise.
6344 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6345 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6346
6347 [BZ #14132]
6348 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6349 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6350 (rtld_progname): Make macro definition unconditional.
6351 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6352 INTDEF.
6353 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6354 (dl_main): Likewise.
6355 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6356 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6357 instead of _dl_argv_internal.
6358 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6359 __GI__dl_argv instead of INTUSE(_dl_argv).
6360 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6361 __GI__dl_argv instead of _dl_argv_internal.
6362
6363 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6364 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6365 macro.
6366 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6367 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6368 New macro.
6369 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6370 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6371 macro.
6372 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6373 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6374
6375 2014-11-04 Andreas Schwab <schwab@suse.de>
6376
6377 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6378
6379 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6380
6381 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6382 mtvsrd instruction in binary form.
6383
6384 2014-11-03 Andreas Schwab <schwab@suse.de>
6385
6386 [BZ #17522]
6387 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6388 for less than MB_LEN_MAX use a local buffer of that size.
6389 * libio/tst-fputws.c: New file.
6390 * libio/Makefile (tests): Add tst-fputws.
6391
6392 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6393
6394 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6395 the size of the fpu_fr.fpu_dregs[] array.
6396
6397 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6398
6399 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6400 (__nanosleep): Do not define as alias.
6401 (nanosleep): Define as alias of __nanosleep.
6402 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6403 __libc_nanosleep name.
6404
6405 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6406
6407 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6408 install.texi in comment.
6409
6410 2014-10-31 Torvald Riegel <triegel@redhat.com>
6411
6412 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6413 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6414 ... add here and use lwsync or sync ...
6415 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6416 ... and add here using lwsync.
6417
6418 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6419
6420 * elf/dl-machine-reject-phdr.h: New file.
6421 * elf/dl-load.c: #include that.
6422 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6423 if that returned true.
6424
6425 2014-10-31 Roland McGrath <roland@hack.frob.com>
6426
6427 [BZ #17496]
6428 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6429 gen-as-const-headers chunk. Add a big scare comment after the last
6430 safe place to touch before-compile.
6431
6432 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6433
6434 * manual/install.texi (Tools for Compilation): Update autoconf
6435 version requirements.
6436 * INSTALL: Regenerated.
6437
6438 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6439 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6440 (__libc_pselect): Likewise.
6441
6442 [BZ #14138]
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6447
6448 2014-10-31 Torvald Riegel <triegel@redhat.com>
6449
6450 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6451 correct barrier instruction.
6452 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6453 Likewise.
6454 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6455 Likewise.
6456
6457 2014-10-30 Roland McGrath <roland@hack.frob.com>
6458
6459 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6460 after defining inlines. Instead, just use parens to defeat macro
6461 expansion of __isctype in its declaration.
6462
6463 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6464
6465 * include/sys/uio.h (__libc_readv): Remove declaration.
6466 (__libc_writev): Likewise.
6467 * misc/readv.c (__libc_readv): Rename to __readv.
6468 (__readv): Do not define as alias.
6469 (readv): Define as alias of __readv.
6470 * misc/writev.c (__libc_writev): Rename to __writev.
6471 (__writev): Do not define as alias.
6472 (writev): Define as alias of __writev.
6473 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6474 (__readv): Do not define as alias.
6475 (readv): Define unconditionally as alias of __readv.
6476 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6477 (__writev): Do not define as alias.
6478 (writev): Define unconditionally as alias of __writev.
6479 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6480 name.
6481 (writev): Do not define __libc_writev name.
6482
6483 2014-10-30 Roland McGrath <roland@hack.frob.com>
6484
6485 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6486 (convert_charseq): New function, broken out of ...
6487 (use_from_charmap): ... here. Call it.
6488 (use_to_charmap): Use convert_charseq and free instead of duplicating
6489 its code with a variable-length stack struct.
6490
6491 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6492
6493 * include/fcntl.h (__libc_creat): Remove declaration.
6494 * io/creat.c (__libc_creat): Rename to creat.
6495 (creat): Do not define as alias.
6496 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6497 of creat instead of __libc_creat.
6498 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6499 to creat.
6500 (creat): Do not define as alias.
6501 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6502 __libc_creat.
6503 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6504 __libc_creat name.
6505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6506 Likewise.
6507
6508 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6509
6510 * manual/llio.texi: Add comments discussing why write() may be
6511 considered MT-unsafe on Linux.
6512
6513 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6514
6515 * dl-load.c (local_strdup): Remove.
6516 (expand_dynamic_string_token): Use __strdup.
6517 (decompose_rpath): Likewise.
6518 (_dl_map_object): Likewise.
6519
6520 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6521
6522 [BZ #14132]
6523 * sysdeps/generic/unwind-dw2-fde.c
6524 (__register_frame_info_bases_internal): Do not declare.
6525 (__register_frame_info_table_bases_internal): Likewise.
6526 (__deregister_frame_info_bases_internal): Likewise.
6527 (__register_frame_info_bases): Declare and use hidden_proto before
6528 definition. Use hidden_def instead of INTDEF.
6529 (__register_frame_info_table_bases): Likewise.
6530 (__deregister_frame_info_bases): Likewise.
6531 (__register_frame_info): Do not use INTUSE.
6532 (__register_frame): Likewise.
6533 (__register_frame_info_table): Likewise.
6534 (__register_frame_table): Likewise.
6535 (__deregister_frame_info): Likewise.
6536 (__deregister_frame): Likewise.
6537
6538 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6539
6540 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6541 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6542 not undefine.
6543 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6544 Likewise.
6545 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6546 Likewise.
6547
6548 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6549
6550 [BZ #14138]
6551 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6552 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6553 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6554 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6555 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6556 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6557 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6559 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6560 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6561 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6562 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6563 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6564 syscall.
6565 (setfsuid): Likewise.
6566 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6567 (setfsuid): Likewise.
6568 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6569 (setfsuid): Likewise.
6570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6571 Likewise.
6572 (setfsuid): Likewise.
6573 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6574 (setfsuid): Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6576 Likewise.
6577 (setfsuid): Likewise.
6578
6579 2014-10-27 Andreas Schwab <schwab@suse.de>
6580
6581 [BZ #17501]
6582 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6583 check for Slow_SSE4_2 feature bit.
6584 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6585 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6586 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6587 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6588
6589 2014-10-24 Roland McGrath <roland@hack.frob.com>
6590
6591 * configure.ac: Validate compiler version with a empirical test of
6592 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6593 $CC -v output.
6594 * configure: Regenerated.
6595
6596 * inet/htons.c (htons): Prototypify.
6597 * inet/htonl.c (htonl): Likewise.
6598
6599 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6600
6601 * string/strncat.c (strncat): Improve performance by using strlen.
6602
6603 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6604
6605 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6606
6607 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6608
6609 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6610 Call libc_fetestexcept_aarch64.
6611
6612 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6613
6614 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6615 Call libc_feholdexcept_aarch64.
6616
6617 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6618
6619 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6620 Call get_rounding_mode.
6621
6622 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6623
6624 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6625 Simplify logic.
6626
6627 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6628
6629 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6630 Simplify logic.
6631
6632 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6633
6634 [BZ #14138]
6635 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6636 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6637 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6638 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6639 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6640 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6641 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6642 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6643 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6644 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6645 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6646 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6647 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6648 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6649 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6650 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6651 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6652 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6653 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6654 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6655 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6656 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6657 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6658 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6659 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6660 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6661 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6662 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6663 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6664 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6665 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6666 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6667 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6668 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6669 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6670 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6673 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6674 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6675 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6676 syscall.
6677 (geteuid): Likewise.
6678 (getgid): Likewise.
6679 (getuid): Likewise.
6680 (getresgid): Likewise.
6681 (getresuid): Likewise.
6682 (getgroups): Likewise.
6683 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6684 (geteuid): Likewise.
6685 (getgid): Likewise.
6686 (getuid): Likewise.
6687 (getresgid): Likewise.
6688 (getresuid): Likewise.
6689 (getgroups): Likewise.
6690 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6691 (geteuid): Likewise.
6692 (getgid): Likewise.
6693 (getuid): Likewise.
6694 (getresgid): Likewise.
6695 (getresuid): Likewise.
6696 (getgroups): Likewise.
6697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6698 Likewise.
6699 (geteuid): Likewise.
6700 (getgid): Likewise.
6701 (getuid): Likewise.
6702 (getresgid): Likewise.
6703 (getresuid): Likewise.
6704 (getgroups): Likewise.
6705 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6706 (geteuid): Likewise.
6707 (getgid): Likewise.
6708 (getuid): Likewise.
6709 (getresgid): Likewise.
6710 (getresuid): Likewise.
6711 (getgroups): Likewise.
6712 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6713 Likewise.
6714 (geteuid): Likewise.
6715 (getgid): Likewise.
6716 (getuid): Likewise.
6717 (getgroups): Likewise.
6718
6719 [BZ #14138]
6720 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6721 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6722 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6723 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6724 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6725 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6726 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6727 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6728 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6729 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6730 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6731 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6732 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6733 __chown.
6734 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6735 (lchown): Likewise.
6736 (fchown): Likewise.
6737 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6738 Likewise.
6739 (lchown): Likewise.
6740 (fchown): Likewise.
6741 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6742 (lchown): Likewise.
6743 (fchown): Likewise.
6744 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6745 Likewise.
6746 (lchown): Likewise.
6747 (fchown): Likewise.
6748
6749 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6750
6751 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6752 Simplify logic.
6753
6754 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6755
6756 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6757 Cleanup logic.
6758
6759 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6760
6761 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6762 Remove unused include.
6763
6764 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6765
6766 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6767 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6768 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6769 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6770
6771 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6772 Helge Deller <deller@gmx.de>
6773
6774 [BZ #17508]
6775 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6776 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6777 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6778
6779 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6780
6781 [BZ #14132]
6782 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6783 Remove macro definition.
6784 (__ashrdi3_v_glibc20): Likewise.
6785 (__lshrdi3_v_glibc20): Likewise.
6786 (__cmpdi2_v_glibc20): Likewise.
6787 (__ucmpdi2_v_glibc20): Likewise.
6788 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6789 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6790 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6791 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6792 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6793 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6794
6795 2014-10-22 Roland McGrath <roland@hack.frob.com>
6796
6797 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6798 old GNU extension [0] syntax.
6799 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6800 alloca rather than an array member with variable length.
6801 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6802 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6803 (parse_opt): ... here. Likewise use alloca there.
6804 Validate the -i argument before checking for rootness.
6805 (send_shutdown): New function, broken out of ...
6806 (parse_opt): ... here.
6807
6808 2014-10-22 Roland McGrath <roland@hack.frob.com>
6809
6810 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6811 macro to get at the _rt_local_ro field.
6812 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6813 ([PIC] case) or _dl_hwcap ([!PIC] case).
6814 * sysdeps/arm/setjmp.S: Likewise.
6815
6816 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6817 * sysdeps/arm/configure.ac: New check to define it.
6818 * sysdeps/arm/configure: Regenerated.
6819 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6820 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6821 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6822 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6823 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6824 Use move/movt pair instead of a load.
6825 (LDST_GLOBAL): Macro removed.
6826 (LDR_GLOBAL): New macro replaces it.
6827 (LDR_HIDDEN): New macro.
6828 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6829 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6830
6831 * setjmp/tst-setjmp-static.c: New file.
6832 * setjmp/Makefile (tests): Add it.
6833 (tests-static): New variable.
6834
6835 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6836
6837 [BZ #17485]
6838 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6839
6840 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #14132]
6843 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6844
6845 2014-10-21 Roland McGrath <roland@hack.frob.com>
6846
6847 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6848
6849 2014-10-20 Roland McGrath <roland@hack.frob.com>
6850
6851 * io/fts.c (dirent_not_directory): New function.
6852 (fts_build): Call it.
6853
6854 2014-10-20 Roland McGrath <roland@hack.frob.com>
6855
6856 * nptl/version.c (__nptl_main): Use normal __write rather than
6857 INTERNAL_SYSCALL.
6858 (banner): Update copyright years.
6859
6860 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6861 gettimeofday.
6862 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6863 * nptl/pthread_cond_timedwait.c: Likewise.
6864 * nptl/pthread_mutex_timedlock.c: Likewise.
6865 * nptl/sem_timedwait.c: Likewise.
6866
6867 * sysdeps/nptl/bits/libc-lock.h
6868 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6869 (__libc_lock_init_recursive): Return void, not 0.
6870 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6871 (__libc_rwlock_init): Likewise.
6872 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6873
6874 2014-10-20 Torvald Riegel <triegel@redhat.com>
6875
6876 [BZ #15215]
6877 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6878 (__pthread_once_slow): ... here.
6879 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6880 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6881
6882 2014-10-20 Torvald Riegel <triegel@redhat.com>
6883
6884 [BZ #15215]
6885 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6886 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6887 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6888 * nptl/pthread_once.c (__pthread_once): Likewise.
6889 Update comments.
6890
6891 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6892
6893 [BZ #14138]
6894 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6895 name.
6896 (writev): Use __libc_writev as strong name.
6897 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6898 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6899
6900 2014-10-17 Roland McGrath <roland@hack.frob.com>
6901
6902 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6903
6904 * sysdeps/i386/nptl/tls.h
6905 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6906 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6907 New macros.
6908 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6909 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6910 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6911 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6912 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6913 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6914
6915 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6916 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6917 on [__NR_futex].
6918 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6919 broken out of ...
6920 (__pthread_mutex_init): ... here. Call it.
6921 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6922 Conditionalize PI cases on [__NR_futex].
6923 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6924 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6925 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6926
6927 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6928 conditional on [SIGSETXID].
6929 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6930 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6931 is defined. Likewise for SIGSETXID.
6932 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6933 Conditionalize definitions on [SIGSETXID].
6934 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6935 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6936 unblocking on [SIGCANCEL].
6937
6938 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6939 [__NR_set_robust_list].
6940
6941 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
6943 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6944 (do_compare): Likewise.
6945
6946 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6947
6948 [BZ #15884]
6949 * string/strcoll_l.c: Don't include stdio.h.
6950 (coll_seq): Remove members idxarr and rulearr.
6951 (get_next_seq_cached): Remove function.
6952 (get_next_seq): Likewise.
6953 (get_next_seq_nocache): Rename to get_next_seq.
6954 (do_compare): Remove function.
6955 (do_compare_nocache): Rename to do_compare.
6956 (STRCOLL): Remove weight and rules cache.
6957
6958 2014-10-16 Roland McGrath <roland@hack.frob.com>
6959
6960 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6961 * sysdeps/arm/sfp-machine.h: ... to here.
6962 * sysdeps/arm/Implies: Remove arm/soft-fp.
6963
6964 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6965
6966 * conform/data/sys/utsname.h-data (*_t): Allow.
6967 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6968 [POSIX] (WEXITED): Do not expect constant.
6969 [POSIX] (WSTOPPED): Likewise.
6970 [POSIX] (WNOHANG): Likewise.
6971 [POSIX] (WNOWAIT): Likewise.
6972 [POSIX] (siginfo_t): Do not expect type or elements.
6973 [POSIX] (pid_t): Do not expect type.
6974 [POSIX] (signal.h): Do not allow header.
6975 [POSIX] (sys/resource.h): Likewise.
6976 [POSIX] (si_*): Do not allow pattern.
6977 [POSIX] (W*): Likewise.
6978 [POSIX] (P_*): Likewise.
6979 [POSIX] (BUS_*): Likewise.
6980 [POSIX] (CLD_*): Likewise.
6981 [POSIX] (FPE_*): Likewise.
6982 [POSIX] (ILL_*): Likewise.
6983 [POSIX] (POLL_*): Likewise.
6984 [POSIX] (SEGV_*): Likewise.
6985 [POSIX] (SI_*): Likewise.
6986 [POSIX] (TRAP_*): Likewise.
6987 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6988 variable.
6989
6990 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6991
6992 [BZ #12926]
6993 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6994 infinite loop when __recvmsg returns 0.
6995
6996 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6997
6998 * CANCEL-FCT-WAIVE: Remove file.
6999 * CANCEL-FILE-WAIVE: Likewise.
7000
7001 [BZ #14132]
7002 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7003 instead of INTVARDEF.
7004 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7005 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7006 rtld_hidden_data_def instead of INTVARDEF.
7007 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7008 * elf/dl-deps.c (expand_dst): Likewise.
7009 * elf/dl-load.c (_dl_dst_count): Likewise.
7010 (_dl_dst_substitute): Likewise.
7011 (decompose_rpath): Likewise.
7012 (_dl_init_paths): Likewise.
7013 (open_path): Likewise.
7014 (_dl_map_object): Likewise.
7015 * elf/rtld.c (dl_main): Likewise.
7016 (process_dl_audit): Likewise.
7017 (process_envvars): Likewise.
7018 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7019 Remove declaration.
7020 (__libc_enable_secure): Use rtld_hidden_proto.
7021
7022 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7023
7024 * elf/dl-load.c
7025 (add_path): New function broken out of _dl_rtld_di_serinfo.
7026 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7027
7028 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7029
7030 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7031 parentheses around macro arguments.
7032 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7035 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7036 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7037 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7038 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7039 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7040 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7041 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7042 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7043 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7044 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7045 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7046 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7047 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7048 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7053 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7054 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7055 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7056 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7057 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7058 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7059 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7060 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7061 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7062 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7063 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7064 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7065 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7066 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7067 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7068 Likewise.
7069 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7070 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7071 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7072 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7073 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7074 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7075 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7076 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7077 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7078 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7079 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7080 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7081 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7082 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7083 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7084 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7085 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7086 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7087 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7088 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7089 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7090 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7091 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7092 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7093 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7094 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7095 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7096 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7097 (_FP_FRAC_SRS_1): Likewise.
7098 (_FP_FRAC_CLZ_1): Likewise.
7099 (_FP_MUL_MEAT_1_imm): Likewise.
7100 (_FP_MUL_MEAT_1_wide): Likewise.
7101 (_FP_MUL_MEAT_1_hard): Likewise.
7102 (_FP_SQRT_MEAT_1): Likewise.
7103 (_FP_FRAC_ASSEMBLE_1): Likewise.
7104 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7105 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7106 (__FP_CLZ_2): Likewise.
7107 (_FP_MUL_MEAT_2_wide): Likewise.
7108 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7109 (_FP_MUL_MEAT_2_gmp): Likewise.
7110 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7111 (_FP_SQRT_MEAT_2): Likewise.
7112 (_FP_FRAC_ASSEMBLE_2): Likewise.
7113 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7114 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7115 (_FP_FRAC_CLZ_4): Likewise.
7116 (_FP_MUL_MEAT_4_wide): Likewise.
7117 (_FP_MUL_MEAT_4_gmp): Likewise.
7118 (_FP_SQRT_MEAT_4): Likewise.
7119 (_FP_FRAC_ASSEMBLE_4): Likewise.
7120 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7121 * soft-fp/op-common.h (_FP_CMP): Likewise.
7122 (_FP_CMP_EQ): Likewise.
7123 (_FP_CMP_UNORD): Likewise.
7124 (_FP_TO_INT): Likewise.
7125 (_FP_FROM_INT): Likewise.
7126 [!__FP_CLZ] (__FP_CLZ): Likewise.
7127 (_FP_DIV_HELP_imm): Likewise.
7128 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7129 Likewise.
7130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7133 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7134 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7135 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7136 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7137 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7140 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7141 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7142 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7143 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7144 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7145 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7146 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7151 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7152 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7153 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7154 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7155 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7156 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7157 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7158 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7159 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7160 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7161 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7162 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7163 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7164 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7165 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7166 (FP_UNPACK_RAW_SP): Likewise.
7167 (FP_PACK_RAW_S): Likewise.
7168 (FP_PACK_RAW_SP): Likewise.
7169 (FP_UNPACK_S): Likewise.
7170 (FP_UNPACK_SP): Likewise.
7171 (FP_UNPACK_SEMIRAW_S): Likewise.
7172 (FP_UNPACK_SEMIRAW_SP): Likewise.
7173 (FP_PACK_S): Likewise.
7174 (FP_PACK_SP): Likewise.
7175 (FP_PACK_SEMIRAW_S): Likewise.
7176 (FP_PACK_SEMIRAW_SP): Likewise.
7177 (_FP_SQRT_MEAT_S): Likewise.
7178 (FP_CMP_S): Likewise.
7179 (FP_CMP_EQ_S): Likewise.
7180 (FP_CMP_UNORD_S): Likewise.
7181 (FP_TO_INT_S): Likewise.
7182 (FP_FROM_INT_S): Likewise.
7183
7184 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7185
7186 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7187 (FP_EX_INVALID_IMZ): Likewise.
7188 (FP_EX_INVALID_IMZ_FMA): Likewise.
7189 (FP_EX_INVALID_ISI): Likewise.
7190 (FP_EX_INVALID_ZDZ): Likewise.
7191 (FP_EX_INVALID_IDI): Likewise.
7192 (FP_EX_INVALID_SQRT): Likewise.
7193 (FP_EX_INVALID_CVI): Likewise.
7194 (FP_EX_INVALID_VC): Likewise.
7195 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7196 "invalid" exceptions.
7197 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7198 (_FP_ADD_INTERNAL): Likewise.
7199 (_FP_MUL): Likewise.
7200 (_FP_FMA): Likewise.
7201 (_FP_DIV): Likewise.
7202 (_FP_CMP_CHECK_NAN): Likewise.
7203 (_FP_SQRT): Likewise.
7204 (_FP_TO_INT): Likewise.
7205 (FP_EXTEND): Likewise.
7206
7207 2014-10-09 Allan McRae <allan@archlinux.org>
7208
7209 * po/fr.po: Update French translation from translation project.
7210
7211 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7212
7213 [BZ #14132]
7214 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7215 of INTDEF.
7216 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7217 (__cxa_atexit): Use libc_hidden_proto.
7218 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7219
7220 [BZ #14132]
7221 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7222 declaration.
7223 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7224 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7225 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7226 [!_ISOMAC] (__iswctype_internal): Likewise.
7227 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7228 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7229 alias.
7230 (fcntl): Remove __fcntl_internal alias.
7231 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7232 __connect_internal alias.
7233 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7234 Likewise.
7235
7236 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7237 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7238 FP_DENORM_ZERO.
7239 (_FP_CHECK_FLUSH_ZERO): New macro.
7240 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7241 (_FP_CMP): Likewise.
7242 (_FP_CMP_EQ): Likewise.
7243 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7244 FP_DENORM_ZERO.
7245 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7246 (FP_TRUNC): Likewise.
7247
7248 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7249 treated as invalid conversion, not as normal exponent.
7250
7251 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7252 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7253 (_FP_CMP_EQ): Likewise.
7254 (_FP_CMP_UNORD): Likewise.
7255 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7256 (FP_CMP_EQ_D): Likewise.
7257 (FP_CMP_UNORD_D): Likewise.
7258 * soft-fp/extended.h (FP_CMP_E): Likewise.
7259 (FP_CMP_EQ_E): Likewise.
7260 (FP_CMP_UNORD_E): Likewise.
7261 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7262 (FP_CMP_EQ_Q): Likewise.
7263 (FP_CMP_UNORD_Q): Likewise.
7264 * soft-fp/single.h (FP_CMP_S): Likewise.
7265 (FP_CMP_EQ_S): Likewise.
7266 (FP_CMP_UNORD_S): Likewise.
7267 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7268 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7269 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7270 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7271 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7272 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7273 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7274 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7275 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7276 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7277 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7278 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7279 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7280 to FP_CMP_Q.
7281 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7282 FP_CMP_Q.
7283 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7284 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7285 FP_CMP_EQ_Q.
7286 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7287 FP_CMP_Q.
7288 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7289 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7290 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7291 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7292 FP_CMP_EQ_Q.
7293 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7294 FP_CMP_Q.
7295 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7296 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7297 FP_CMP_EQ_Q.
7298 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7299 FP_CMP_Q.
7300 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7301 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7302 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7303 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7304 FP_CMP_EQ_Q.
7305
7306 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7307 a subnormal result, set the underflow exception if trapping on
7308 underflow is enabled.
7309 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7310 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7311 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7312 redefine to 0.
7313 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7314 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7315 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7316 * soft-fp/extendxftf2.c (__extendxftf2): Use
7317 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7318
7319 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7320 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7321 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7322 FP_HANDLE_EXCEPTIONS.
7323 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7324 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7325 FP_HANDLE_EXCEPTIONS.
7326 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7327 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7328 FP_HANDLE_EXCEPTIONS.
7329 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7330 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7331 FP_HANDLE_EXCEPTIONS.
7332
7333 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7334
7335 [BZ #14132]
7336 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7337 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7338 use INTUSE.
7339 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7340 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7341 Remove alias.
7342 (__adjtimex): Define using libc_hidden_ver.
7343 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7344 Remove declaration.
7345 (ntp_gettime): Call __adjtimex directly.
7346 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7347 Remove declaration.
7348 (ntp_gettimex): Call __adjtimex directly.
7349 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7350 __adjtimex_internal alias.
7351
7352 2014-10-08 Roland McGrath <roland@hack.frob.com>
7353
7354 [BZ #17460]
7355 * nscd/nscd.c (more_help): Rewrite list of tables collection
7356 using xstrdup and asprintf.
7357
7358 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7359
7360 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7361 Roland McGrath <roland@hack.frob.com>
7362
7363 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7364 (do_lookup_unique): ... local function 'enter' here; update callers.
7365
7366 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7367
7368 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7369 compat_symbol calls on [SHARED].
7370 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7371 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7372 Remove.
7373 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7374 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7375 (oldsetrlimit): Remove.
7376 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7378 (lchown): New syscall entry.
7379 (oldsetrlimit): Remove.
7380 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7381 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7382 (oldsetrlimit): Remove.
7383 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7384
7385 [BZ #14138]
7386 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7387 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7388 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7389 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7390 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7391 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7392 (fchown): Likewise.
7393 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7394 (fchown): Likewise.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7396 Likewise.
7397
7398 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7399
7400 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7401 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7402 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7403 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7404 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7405 Likewise.
7406 (__old_sem_post): Likewise.
7407
7408 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7409
7410 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7411 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7412 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7413 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7414 Use INLINE_VSYSCALL macro.
7415 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7416 __vdso_clock_gettime.
7417 * sysdeps/unix/sysv/linux/tile/init-first.c
7418 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7419 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7420 __vdso_clock_gettime.
7421
7422 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7423 to set up frame more cleanly.
7424
7425 * sysdeps/tile/memcmp.c: New file.
7426
7427 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7428
7429 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7430 * sysdeps/tile/tilegx/strcasestr.c: New file.
7431 * sysdeps/tile/tilegx/strnlen.c: New file.
7432 * sysdeps/tile/tilegx/strstr.c: New file.
7433
7434 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7435
7436 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7437
7438 * nptl/tst-setuid3.c: Write errors to stdout.
7439
7440 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7441
7442 * elf/dl-deps.c
7443 (preload): New functions broken out of _dl_map_object_deps.
7444 (_dl_map_object_deps): Remove a nested function. Update call sites.
7445
7446 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7447
7448 [BZ #14138]
7449 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7450 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7451
7452 2014-10-01 Steve Ellcey <sellcey@mips.com>
7453
7454 * sysdeps/mips/strcmp.S: New.
7455
7456 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7457
7458 [BZ #14138]
7459 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7460 (linkat): Likewise.
7461 (mkdirat): Likewise.
7462 (readlinkat): Likewise.
7463 (renameat): Likewise.
7464 (symlinkat): Likewise.
7465 (unlinkat): Likewise.
7466 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7467 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7468 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7469 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7470 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7471 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7472 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7473
7474 2014-09-30 Will Newton <will.newton@linaro.org>
7475
7476 * math/math.h: Define long double math functions if
7477 _LIBC_TEST is defined.
7478 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7479
7480 * localedata/Makefile: Move assignment to tests-special
7481 into an ifdef testing run-built-tests.
7482 * timezone/Makefile: Likewise.
7483
7484 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7485
7486 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7487 with $(BASH) not $(SHELL).
7488
7489 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7490 Matthew LeGendre <legendre1@llnl.gov>
7491
7492 [BZ #17411]
7493 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7494 l_reloc_result.
7495
7496 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7497
7498 * stdio-common/printf_fp.c
7499 (hack_digit): New function, broken out of ...
7500 (__printf_fp): ... local function here. Update call sites.
7501 hack_digit now takes an additional parameter that is a pointer
7502 to a struct of the referenced locals. Those locals moved inside
7503 the struct and references updated.
7504
7505 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 * aclocal.m4: Require autoconf 2.69.
7508 * configure: Regenerated.
7509 * sysdeps/aarch64/configure: Likewise.
7510 * sysdeps/alpha/configure: Likewise.
7511 * sysdeps/arm/armv7/configure: Likewise.
7512 * sysdeps/arm/configure: Likewise.
7513 * sysdeps/ia64/configure: Likewise.
7514 * sysdeps/mach/configure: Likewise.
7515 * sysdeps/mips/configure: Likewise.
7516 * sysdeps/s390/configure: Likewise.
7517 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7519
7520 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7521 file.
7522 * sysdeps/ia64/configure.ac: Likewise.
7523
7524 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7525
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7527 specify symbol version for ld.so. Do not include entry for
7528 libpthread.
7529 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7530 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7531 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7532
7533 [BZ #14171]
7534 * Makeconfig [$(build-shared) = yes]
7535 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7536 makefiles.
7537 [$(build-shared) = yes && $(soversions.mk-done) = t]
7538 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7539 [$(build-shared) = yes && $(soversions.mk-done) = t]
7540 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7541 to Makerules.
7542 [$(build-shared) = yes && $(soversions.mk-done) = t]
7543 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7544 here.
7545 [$(build-shared) = yes && $(soversions.mk-done) = t]
7546 (common-generated): Don't append gnu/lib-names.h and
7547 gnu/lib-names.stmp here.
7548 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7549 (lib-names-h-abi): New variable.
7550 [$(build-shared) = yes && $(soversions.mk-done) = t]
7551 (lib-names-stmp-abi): Likewise.
7552 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7553 abi-variants] (before-compile): Append
7554 $(common-objpfx)$(lib-names-h-abi).
7555 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7556 abi-variants] (common-generated): Append gnu/lib-names.h.
7557 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7558 abi-variants] (install-others-nosubdir): Depend on
7559 $(inst_includedir)/$(lib-names-h-abi).
7560 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7561 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7562 [$(build-shared) = yes && $(soversions.mk-done) = t]
7563 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7564 [$(build-shared) = yes && $(soversions.mk-done) = t]
7565 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7566 [$(build-shared) = yes && $(soversions.mk-done) = t]
7567 (common-generated): Append $(lib-names-h-abi) and
7568 $(lib-names-stmp-abi).
7569 * scripts/lib-names.awk: Do not handle multi being set.
7570 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7571 Remove variable.
7572 (abi-lp64_be-ld-soname): Likewise.
7573 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7574 Likewise.
7575 (abi-hard-ld-soname): Likewise.
7576 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7577 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7578 Remove variable.
7579 (abi-o32_hard-ld-soname): Likewise.
7580 (abi-o32_soft_2008-ld-soname): Likewise.
7581 (abi-o32_hard_2008-ld-soname): Likewise.
7582 (abi-n32_soft-ld-soname): Likewise.
7583 (abi-n32_hard-ld-soname): Likewise.
7584 (abi-n32_soft_2008-ld-soname): Likewise.
7585 (abi-n32_hard_2008-ld-soname): Likewise.
7586 (abi-n64_soft-ld-soname): Likewise.
7587 (abi-n64_hard-ld-soname): Likewise.
7588 (abi-n64_soft_2008-ld-soname): Likewise.
7589 (abi-n64_hard_2008-ld-soname): Likewise.
7590 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7591 Likewise.
7592 (abi-64-v2-ld-soname): Likewise.
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7594 ld.so entries.
7595 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7596 variable.
7597 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7598 entry.
7599 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7600 variable.
7601 (abi-64-ld-soname): Likewise.
7602 (abi-x32-ld-soname): Likewise.
7603 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7604 entry.
7605 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7606
7607 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #14138]
7610 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7611 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7612 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7613 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7614 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7615 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7616 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7617 syscall entry for GLIBC_2.2 symbol version.
7618 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7619 Likewise.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7621 (setrlimit): Likewise.
7622 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7623 Likewise.
7624
7625 2014-09-23 Will Newton <will.newton@linaro.org>
7626
7627 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7628 _LINUX_ARM_SYSDEP_H include guard too.
7629 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7630 define.
7631
7632 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7633
7634 * sysdeps/unix/sysv/linux/eventfd.c:
7635 Make first argument unsigned.
7636 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7637 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7638
7639 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7640
7641 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7642 * socket/sys/socket.h: Likewise
7643 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7644
7645 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7646
7647 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7648
7649 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7650
7651 * time/tst-ftime.c: New test.
7652 * time/Makefile (tests): Add tst-ftime.
7653
7654 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7655
7656 * soft-fp/extended.h: Fix comment formatting.
7657 * soft-fp/op-1.h: Likewise.
7658 * soft-fp/op-2.h: Likewise.
7659 * soft-fp/op-4.h: Likewise.
7660 * soft-fp/op-8.h: Likewise.
7661 * soft-fp/op-common.h: Likewise.
7662 * soft-fp/soft-fp.h: Likewise.
7663
7664 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7665
7666 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7667
7668 [BZ #6652]
7669 * Makeconfig (soversions-default-setname): Remove variable.
7670 ($(common-objpfx)soversions.i): Don't pass default_setname to
7671 soversions.awk.
7672 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7673 oldest_abi to abi-versions.awk.
7674 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7675 * config.make.in (oldest-abi): Remove variable.
7676 * configure.ac (--enable-oldest-abi): Remove configure option.
7677 * configure: Regenerated.
7678 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7679 text.
7680 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7681 * scripts/soversions.awk: Do not handle default_setname variable.
7682 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7683 variable.
7684 * sysdeps/mach/hurd/configure: Regenerated.
7685 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7686 variable.
7687 * sysdeps/unix/sysv/linux/configure: Regenerated.
7688
7689 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7690
7691 * elf/Makefile (CFLAGS-interp.c): Remove.
7692 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7693 path string.
7694 * elf/interp.c: Include generated runtime-linker.h
7695
7696 * Makerules (lib%.so): Don't include $(+interp) in
7697 prerequisites.
7698 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7699 * dlfcn/eval.c: Remove file.
7700
7701 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7702 macros.
7703
7704 [BZ #17266]
7705 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7706 4.2 and newer.
7707
7708 [BZ #17370]
7709 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7710
7711 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7712 Jakub Jelinek <jakub@redhat.com>
7713
7714 [BZ #17266]
7715 * libio/stdio.h: Check definition of __fortify_function
7716 instead of __extern_always_inline to include bits/stdio2.h.
7717 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7718 check if __extern_always_inline is defined.
7719 [__USE_MISC || __USE_XOPEN]: Likewise.
7720 [__USE_ISOC99] Likewise.
7721 * misc/sys/cdefs.h (__fortify_function): Define only if
7722 __extern_always_inline is defined.
7723 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7724 __extern_always_inline and __extern_inline only for g++-4.3
7725 and newer or a compatible gcc.
7726
7727 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7728
7729 [BZ #17371]
7730 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7731 last change to handle zero prefix length.
7732
7733 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7734
7735 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7736 _SC_REGEX_VERSION.
7737
7738 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7739 _POSIX_RAW_SOCKETS.
7740
7741 2014-09-13 Allan McRae <allan@archlinux.org>
7742
7743 * po/ru.po: Update Russian translation from translation project.
7744
7745 2014-09-12 Roland McGrath <roland@hack.frob.com>
7746
7747 * locale/programs/locale.c (show_locale_vars): Inline local function
7748 into its sole call site. Clean up some style nits.
7749 (print_item): New function, broken out of ...
7750 (show_info): ... local function here. Clean up style nits.
7751
7752 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7753 out of ...
7754 (set_class_defaults): ... local function set_default here.
7755 Define set_default as a macro locally to pass constant parameters.
7756 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7757 rather than a shared local.
7758
7759 * stdlib/rpmatch.c (try): New function, broken out of ...
7760 (rpmatch): ... local function here. Also, prototypify definition.
7761
7762 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7763
7764 * scripts/soversions.awk: Do not handle configuration names.
7765 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7766 vendor and os variables to soversions.awk.
7767 * configure.ac: Do not modify gnu-* host_os.
7768 * configure: Regenerated
7769 * shlib-versions: Remove first column with configuration names.
7770 * nptl/shlib-versions: Likewise.
7771 * nptl_db/shlib-versions: Likewise.
7772 * sysdeps/hppa/shlib-versions: Likewise.
7773 * sysdeps/m68k/shlib-versions: Likewise.
7774 * sysdeps/mach/hurd/shlib-versions: Likewise.
7775 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7776 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7777 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7778 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7779 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7780 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7781 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7782 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7784 Likewise.
7785 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7786 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7787 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7789 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7790 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7791 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7792 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7793
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7795 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7797 Regenerated.
7798 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7800 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7801
7802 * shlib-versions: Remove OS-specific entries. Moved to files in
7803 sysdeps.
7804 * sysdeps/mach/hurd/shlib-versions: New file.
7805 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7806
7807 * nptl/shlib-versions: Remove architecture-specific entries.
7808 Moved to files in sysdeps.
7809 * shlib-versions: Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7811 file.
7812 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7813 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7815 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7816
7817 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7818 (UDP_NO_CHECK6_RX): Likewise.
7819
7820 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7821
7822 * sysdeps/posix/sysconf.c (__sysconf): Spell
7823 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7824
7825 2014-08-12 Florian Weimer <fweimer@redhat.com>
7826
7827 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7828 loading.
7829 * iconv/Versions (__gconv_transliterate): Export for use from
7830 gconv modules.
7831 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7832 (struct __gconv_trans_data, __gconv_trans_fct,
7833 __gconv_trans_context_fct, __gconv_trans_query_fct,
7834 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7835 definitions.
7836 (struct __gconv_step_data): Remove __trans member.
7837 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7838 longer hidden. Remove unused trans_data argument.
7839 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7840 (__gconv_translit_find): Remove declaration.
7841 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7842 prototype.
7843 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7844 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7845 trans_data argument. Add hidden definition.
7846 (__gconv_translit_find): Remove.
7847 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7848 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7849 * iconv/skeleton.c: Remove transliteration initialization.
7850 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7851 __gconv_step_data initialization.
7852 * libio/iofwide.c (__libio_translit_): Remove.
7853 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7854 * wcsmbs/btowc.c (__btowc): Likewise.
7855 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7856 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7857 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7858 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7859 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7860 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7861 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7862 * wcsmbs/wctob.c (wctob): Likewise.
7863
7864 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7865
7866 [BZ #16194]
7867 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7868 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7869 register usage.
7870 * sysdeps/x86/Makefile: Adjust.
7871
7872 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7873 Roland McGrath <roland@hack.frob.com>
7874
7875 * locale/weight.h: Add include guard.
7876 (findidx): Make static rather than auto; take new parameters
7877 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7878 * locale/weightwc.h: Likewise.
7879 * posix/fnmatch_loop.c
7880 (FCT): Change type of EXTRA from int32_t to wint_t.
7881 Don't include either header inside the function.
7882 Call FINDIDX rather than findidx, and pass new arguments.
7883 #undef FINDIDX at the end of the file.
7884 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7885 FINDIDX before including fnmatch_loop.c for the non-wide version.
7886 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7887 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7888 for the wide version.
7889 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7890 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7891 Pass new arguments to findidx.
7892 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7893 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7894 Don't #include it inside the function. Pass new arguments to findidx.
7895 * posix/regex_internal.h
7896 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7897 (re_string_elem_size_at): Don't #include it inside the function.
7898 Pass new arguments to findidx.
7899 * string/strcoll_l.c: #include WEIGHT_H at top level.
7900 (get_next_seq): Don't #include it inside the function.
7901 Pass new arguments to findidx.
7902 (get_next_seq_nocache): Likewise.
7903 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7904 (STRXFRM): Don't #include it inside the function.
7905 Pass new arguments to findidx.
7906
7907 2014-09-11 Florian Weimer <fweimer@redhat.com>
7908
7909 [BZ #17344]
7910 * malloc/malloc.c (unlink): Turn asserts into a call to
7911 malloc_printerr.
7912
7913 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7914
7915 [BZ #17370]
7916 * libio/wfileops (do_ftell_wide): Free OUT.
7917
7918 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7919
7920 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7921
7922 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7923
7924 [BZ #17363]
7925 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7926 group if the current group is empty.
7927
7928 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7929
7930 * benchtests/bench-memset.c (test_main): Add more test from size
7931 from 32 to 512 bytes.
7932 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7933 Add POWER8 memset object.
7934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7935 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7936 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7937 implementation.
7938 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7939 Likewise.
7940 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7941 multiarch POWER8 memset optimization.
7942 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7943 POWER8 memset optimization.
7944
7945 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7946 Remove bzero multiarch objects.
7947 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7948 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7949 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7950 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7951 Remove define.
7952 [__bzero]: Redefine to specific name.
7953 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7954 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7955 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7956 define.
7957 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7958 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7959
7960 2014-09-10 Florian Weimer <fweimer@redhat.com>
7961
7962 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7963 warnings into errors.
7964
7965 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7966 __cxa_thread_atexit_impl prototype.
7967
7968 2014-09-09 Steve Ellcey <sellcey@mips.com>
7969
7970 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7971 Fix capitalization of error message.
7972
7973 2014-09-09 Steve Ellcey <sellcey@mips.com>
7974
7975 * sysdeps/mips/preconfigure: Modify ABI tests.
7976
7977 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7978
7979 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7980
7981 2014-09-07 Roland McGrath <roland@hack.frob.com>
7982 Carlos O'Donell <carlos@systemhalted.org>
7983
7984 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7985 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7986 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7987 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7988 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7989 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7990 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7991 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7992 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7993 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7994 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7995 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7996 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7997 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7998 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7999 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8000 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8001 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8002 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8003 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8004 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8005 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8006 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8007 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8008 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8009 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8010 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8011 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8012 Deconditionalize the code that was previously under [RESET_PID].
8013 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8014 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8015 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8016 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8017 include sysdep.h.
8018
8019 2014-09-08 Allan McRae <allan@archlinux.org>
8020
8021 * version.h (RELEASE): Set to "development".
8022 (VERSION): Set to "2.20.90"
8023
8024 2014-09-07 Allan McRae <allan@archlinux.org
8025
8026 * version.h (RELEASE): Set to "stable".
8027 (VERSION): Set to "2.20"
8028 * include/features.h (__GLIBC_MINOR__): Set to 20.
8029
8030 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8031 Liebler.
8032
8033 * po/ko.po: Update Korean translation from translation project.
8034
8035 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8036
8037 [BZ #17354]
8038 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8039 macro for handling signed relocations.
8040
8041 2014-09-03 Florian Weimer <fweimer@redhat.com>
8042
8043 [BZ #17325]
8044 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8045 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8046 assert.
8047 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8048 * iconvdata/ibm935.c (BODY): Likewise.
8049 * iconvdata/ibm937.c (BODY): Likewise.
8050 * iconvdata/ibm939.c (BODY): Likewise.
8051 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8052 assert.
8053 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8054 script.
8055 * iconvdata/run-iconv-test.sh: New test loop for checking for
8056 decoder crashers.
8057
8058 2014-09-02 Khem Raj <raj.khem@gmail.com>
8059
8060 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8061 libm_hidden_ver.
8062
8063 2014-09-01 Allan McRae <allan@archlinux.org>
8064
8065 * po/eo.po: Update Esperanto translation from translation project.
8066
8067 * po/ca.po: Update Catalan translation from translation project.
8068
8069 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8070
8071 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8072 __proc_dostop call.
8073
8074 2014-08-27 Mark Wielaard <mjw@redhat.com>
8075
8076 [BZ #17319]
8077 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8078 to call set_thread_area instead of hand written asm.
8079 (__NR_set_thread_area): Removed define.
8080 (TLS_FLAG_WRITABLE): Likewise.
8081 (__ASSUME_SET_THREAD_AREA): Remove check.
8082 (TLS_EBX_ARG): Remove define.
8083 (TLS_LOAD_EBX): Likewise.
8084
8085 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8086
8087 Simplify atomicity of socket creation in bind.
8088
8089 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8090 looking up the name after linking the file.
8091
8092 2014-08-27 Allan McRae <allan@archlinux.org>
8093
8094 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8095
8096 2014-08-26 Florian Weimer <fweimer@redhat.com>
8097
8098 [BZ #17187]
8099 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8100 trans_compare, open_translit, __gconv_translit_find):
8101 Remove module loading code.
8102
8103 2014-08-26 Allan McRae <allan@archlinux.org>
8104
8105 * po/vi.po: Update Vietnamese translation from translation project.
8106
8107 * po/uk.po: Update Ukrainian translation from translation project.
8108
8109 * po/fr.po: Update French translation from translation project.
8110
8111 * po/ru.po: Update Russian translation from translation project.
8112
8113 * po/pl.po: Update Polish translation from translation project.
8114
8115 * po/cs.po: Update Czech translation from translation project.
8116
8117 * po/de.po: Update German translation from translation project.
8118
8119 * po/bg.po: Update Bulgarian translation from translation project.
8120
8121 * po/sv.po: Update Sweedish translation from translation project.
8122
8123 * po/nl.po: Update Dutch translation from translation project.
8124
8125 * po/es.po: Update Spanish translation from translation project.
8126
8127 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8128
8129 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8130
8131 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8132 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8133 (CPPFLAGS-iconvconfig): Likewise.
8134 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8135
8136 * include/libc-symbols.h: Remove unnecessary check for
8137 NOT_IN_libc.
8138 * nptl/pthreadP.h: Likewise.
8139 * sysdeps/aarch64/setjmp.S: Likewise.
8140 * sysdeps/alpha/setjmp.S: Likewise.
8141 * sysdeps/arm/sysdep.h: Likewise.
8142 * sysdeps/i386/setjmp.S: Likewise.
8143 * sysdeps/m68k/setjmp.c: Likewise.
8144 * sysdeps/posix/getcwd.c: Likewise.
8145 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8146 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8147 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8148 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8149 * sysdeps/sh/sh3/setjmp.S: Likewise.
8150 * sysdeps/sh/sh4/setjmp.S: Likewise.
8151 * sysdeps/unix/alpha/sysdep.h: Likewise.
8152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8154 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8155 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8160 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8163 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8164 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8165 * sysdeps/x86_64/setjmp.S: Likewise.
8166
8167 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8168
8169 [BZ #17263]
8170 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8171 <stdint.h>.
8172 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8173 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8174
8175 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8176
8177 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8178
8179 [BZ #17262]
8180 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8181 and __x86_64__ when disabling x87 inline functions.
8182
8183 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8184
8185 [BZ #17259]
8186 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8187 asm statement with __cpuid_count.
8188
8189 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8190
8191 * configure.ac: Change __ehdr_start code to dereference the struct.
8192 Run readelf on the output to look for relocations.
8193 * configure: Regenerated.
8194
8195 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8196
8197 [BZ #17261]
8198 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8199 value to 0.
8200 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8201
8202 2014-08-12 Roland McGrath <roland@hack.frob.com>
8203
8204 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8205
8206 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8207
8208 [BZ #16892]
8209 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8210 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8211
8212 2014-08-12 Sean Anderson <seanga2@gmail.com>
8213
8214 * malloc/malloc.c: Fix typo in comment.
8215
8216 2014-08-09 Allan McRae <allan@archlinux.org>
8217
8218 * Regenerate libc.po.
8219
8220 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8221
8222 * intl/tst-gettext2.sh: Check every lang file for creation.
8223
8224 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8225
8226 * sysdeps/aarch64/fpu/math_private.h
8227 (libc_feholdsetround_noex_aarch64_ctx): New function.
8228
8229 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8230
8231 * sysdeps/arm/armv6/strcpy.S (strcpy):
8232 Fix performance issue in misaligned cases.
8233
8234 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8235
8236 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8237 Move definition from termios.h.
8238 (struct termio): Likewise.
8239 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8240 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8241 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8242 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8243 Likewise.
8244 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8245 Move definition to ioctl-types.h
8246 (struct termio): Likewise.
8247 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8248 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8249 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8250 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8251 Likewise.
8252
8253 2014-08-05 Richard Henderson <rth@redhat.com>
8254
8255 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8256 exceptions.
8257 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8258 Add fraiseexcpt.
8259 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8260 Use __feraiseexcept.
8261 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8262 Protect libm symbols with IS_IN_libm.
8263
8264 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8265
8266 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8267
8268 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8269
8270 2014-08-04 Will Newton <will.newton@linaro.org>
8271
8272 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8273 file.
8274
8275 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8276
8277 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8278 variants for each function.
8279
8280 2014-08-04 Roland McGrath <roland@hack.frob.com>
8281
8282 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8283 appended ...
8284 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8285 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8286 appended ...
8287 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8288 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8289 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8290 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8291 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8292 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8293 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8294 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8295 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8296 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8297 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8298 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8299 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8300 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8301 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8303 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8304 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8323 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8324 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8325 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8326 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8327 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8328 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8329 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8330 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8331 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8332 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8333 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8334 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8335 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8336 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8337 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8338 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8339 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8340 Update #include.
8341 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8342 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8343
8344 2014-08-04 Roland McGrath <roland@hack.frob.com>
8345
8346 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8347 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8348 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8349 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8350 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8351 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8352
8353 2014-08-04 Roland McGrath <roland@hack.frob.com>
8354
8355 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8356 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8357 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8358 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8359
8360 2014-08-04 Roland McGrath <roland@hack.frob.com>
8361
8362 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8363 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8364 (__libc_vfork): Define function under this name.
8365 (__vfork): Define as an alias.
8366 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8367 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8368
8369 2014-08-04 Roland McGrath <roland@hack.frob.com>
8370
8371 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8372 that was previously under [RESET_PID].
8373 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8374
8375 2014-08-04 Andreas Schwab <schwab@suse.de>
8376
8377 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8378
8379 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8380
8381 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8382 (main): Likewise.
8383
8384 2014-08-01 Roland McGrath <roland@hack.frob.com>
8385
8386 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8387
8388 2014-08-01 Richard Henderon <rth@redhat.com>
8389
8390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8391 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8392 typo in exact zero test.
8393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8394 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8396
8397 2014-08-01 Roland McGrath <roland@hack.frob.com>
8398
8399 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8400 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8401 * sysdeps/arm/sysdep.h: ... here.
8402 [!__ASSEMBLER__]: Include <stdint.h>.
8403
8404 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8405
8406 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8407 (HAVE_WCTYPE_H): Likewise.
8408 (HAVE_ISWCTYPE): Likewise.
8409 (ENABLE_NLS): Likewise.
8410 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8411 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8412
8413 * posix/regex_internal.c: Check if DEBUG is defined and is
8414 set.
8415
8416 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8417 (HAVE_MBSRTOWCS): Likewise.
8418 * posix/fnmatch.c: Include string.h unconditionally.
8419
8420 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8421
8422 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8423 reversal.
8424
8425 2014-07-31 Roland McGrath <roland@hack.frob.com>
8426
8427 * sysdeps/generic/safe-fatal.h: New file.
8428 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8429 * nptl/forward.c: Include it.
8430 (__pthread_unwind): Use __safe_fatal as default action, rather
8431 than a bogus use of INTERNAL_SYSCALL that could never work.
8432
8433 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8434 * configure.ac (libc_cv_builtin_trap): New test.
8435 * configure: Regenerated.
8436 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8437 (ABORT_INSTRUCTION): Define using __builtin_trap.
8438
8439 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8440 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8441 * sysdeps/nptl/nptl-signals.h: New file.
8442 * nptl/pthreadP.h: Include <nptl-signals.h>.
8443
8444 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8445
8446 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8447 (ONE_DIRECTION): Define.
8448 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8449 (ONE_DIRECTION): Define.
8450 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8451 (ONE_DIRECTION): Define.
8452
8453 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8454
8455 * sysdeps/s390/Makefile: Delete file.
8456 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8457 * sysdeps/s390/__longjmp.c: Delete file.
8458 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8459 Remove fields __flags and __reserved.
8460 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8461 and add versioning.
8462 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8463 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8464 * sysdeps/s390/rtld-setjmp.S: Likewise.
8465 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8466 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8467 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8468 * sysdeps/s390/s390-32/setjmp.S: ... here.
8469 Add versioning.
8470 (__sigsetjmp): Remove setting __flags field.
8471 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8472 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8473 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8474 * sysdeps/s390/s390-64/setjmp.S: ... here.
8475 Add versioning.
8476 (__sigsetjmp): Remove setting __flags field.
8477 * sysdeps/s390/setjmp.S: Delete file.
8478 * sysdeps/s390/sigjmp.c: Likewise.
8479 * sysdeps/s390/v1-longjmp.c: Likewise.
8480 * sysdeps/s390/v1-setjmp.h: Likewise.
8481 * sysdeps/s390/v1-sigjmp.c: Likewise.
8482 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8483 Remove v1-longjmp_chk.
8484 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8485 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8486 Include debug/longjmp_chk.c and add versioning.
8487 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8488 Include nptl/pt-longjmp.c and add versioning.
8489 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8490 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8491 Include __longjmp.c.
8492 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8493 Move to ...
8494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8495 (__getcontext): Remove setting __flags field.
8496 Add versioning.
8497 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8498 Don't restore upper high grps.
8499 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8500 Likewise.
8501 (__swapcontext): Remove setting uc_flags field.
8502 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8503 Delete file.
8504 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8505 Include __longjmp.c.
8506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8507 Move to ...
8508 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8509 (__getcontext): Remove setting __flags field.
8510 Add versioning.
8511 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8512 (__swapcontext): Remove setting uc_flags field.
8513 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8514 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8515 Remove fields uc_high_gprs and __reserved.
8516 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8517 New file with reverted content.
8518 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8520 Regenerated.
8521 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8522 Regenerated.
8523
8524 2014-07-31 Andreas Schwab <schwab@suse.de>
8525
8526 * config.h.in (HAVE_IFUNC): Define to 0.
8527 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8528 definedness.
8529
8530 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8531
8532 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8533 memmove-avx-unaligned, memcpy-avx-unaligned and
8534 mempcpy-avx-unaligned.
8535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8536 Add tests for AVX memcpy functions.
8537 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8538 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8539 memcpy_chk.
8540 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8541 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8542 memmove_chk.
8543 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8544 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8545 mempcpy_chk.
8546 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8547 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8548 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8549
8550 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8551
8552 [BZ #17213]
8553 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8554 powerpc64le.
8555
8556 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8557
8558 [BZ #16839]
8559 * manual/llio.texi: Add section about open file description locks.
8560 * manual/examples/ofdlocks.c: Example of open file description
8561 lock usage.
8562 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8563 F_OFD_SETLK, and F_OFD_SETLKW.
8564
8565 2014-07-23 Allan McRae <allan@archlinux.org>
8566
8567 * po/es.po: Update Spanish translation from translation project.
8568
8569 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8570
8571 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8572
8573 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8574
8575 [BZ #17078]
8576 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8577 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8578 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8579
8580 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8581
8582 [BZ #17088]
8583 * math/fesetenv.c (__fesetenv)
8584 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8585 * math/feupdateenv.c (__feupdateenv)
8586 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8587
8588 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8589 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8590 (__ASSUME_SOCKETCALL): Do not define.
8591
8592 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8593 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8594 (__ASSUME_SOCKETCALL): Do not define.
8595 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8596 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8597 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8598 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8599 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8600 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8601 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8602 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8603
8604 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8605 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8606 (__ASSUME_SOCKETCALL): Do not define.
8607 (__ASSUME_IPC64): Define unconditionally.
8608 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8609 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8610 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8611 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8612 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8613 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8614 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8615 Likewise.
8616
8617 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8618 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8619 (__ASSUME_SOCKETCALL): Do not define.
8620 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8621 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8622 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8623 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8624 (__ASSUME_REQUEUE_PI): Define unconditionally.
8625 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8626 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8627 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8628 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8629 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8630 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8631
8632 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8633 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8634 (__ASSUME_SOCKETCALL): Do not define.
8635 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8636 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8637 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8638 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8639 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8640 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8641
8642 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8643 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8644 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8645 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8646 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8647 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8648 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8649 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8650 (__ASSUME_GETCPU_SYSCALL): Likewise.
8651
8652 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8653 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8654 cases for individual architectures.
8655 * sysdeps/gnu/configure: Regenerated.
8656 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8657 LIBC_SLIBDIR_RTLDDIR.
8658 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8659 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8660 LIBC_SLIBDIR_RTLDDIR.
8661 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8663 LIBC_SLIBDIR_RTLDDIR.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8665 Regenerated.
8666 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8667 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8668 file.
8669 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8670 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8671 file.
8672 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8673 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8674 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8675 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8676
8677 * sysdeps/aarch64/shlib-versions: Move to ...
8678 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8679 * sysdeps/alpha/shlib-versions: Move to ...
8680 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8681 * sysdeps/arm/shlib-versions: Move to ...
8682 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8683 * sysdeps/hppa/shlib-versions: Move all contents except for
8684 libgcc_s entry to ...
8685 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8686 entry from ...
8687 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8688 * sysdeps/ia64/shlib-versions: Move to ...
8689 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8690 entry from ...
8691 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8692 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8693 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8694 * sysdeps/microblaze/shlib-versions: Move to ...
8695 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8696 * sysdeps/mips/shlib-versions: Move to ...
8697 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8698 entry from ...
8699 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8700 * sysdeps/tile/shlib-versions: Move to ...
8701 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8702 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8703 from ...
8704 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8705 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8706 entry from ...
8707 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8708
8709 2014-07-17 Will Newton <will.newton@linaro.org>
8710
8711 * sysdeps/arm/bits/atomic.h
8712 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8713 (__arch_compare_and_exchange_bool_16_int): Likewise.
8714 (__arch_compare_and_exchange_bool_64_int): Likewise.
8715
8716 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8717 into an #else block.
8718
8719 2014-07-16 Roland McGrath <roland@hack.frob.com>
8720
8721 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8722 just Linux configurations. Test empirically that the compiler sets
8723 __ARM_EABI__, rather than using the tuple to decide.
8724 * sysdeps/arm/preconfigure: Regenerated.
8725 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8726 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8727 contents appended ...
8728 * sysdeps/arm/configure.ac: ... here.
8729 * sysdeps/arm/configure: Regenerated.
8730
8731 2014-07-15 Roland McGrath <roland@hack.frob.com>
8732
8733 * nptl/pthread_kill.c: New file.
8734 * nptl/pthread_sigmask.c: New file.
8735 * nptl/pthread_sigqueue.c: New file.
8736
8737 * sysdeps/nptl/lowlevellock.h: New file.
8738 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8739 * sysdeps/nptl/lowlevellock-futex.h: New file.
8740
8741 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8742 Remove dead declarations.
8743
8744 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8747 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8748 config-cflags-avx2.
8749 * sysdeps/x86_64/configure.ac: Likewise.
8750 * sysdeps/i386/configure: Regenerated.
8751 * sysdeps/x86_64/configure: Likewise.
8752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8753 memset-avx2 only if config-cflags-avx2 is yes.
8754 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8755 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8756 defined.
8757 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8758 only if HAVE_AVX2_SUPPORT is defined.
8759 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8760
8761 2014-07-14 Alan Modra <amodra@gmail.com>
8762
8763 [BZ #17153]
8764 * elf/elf.h (DT_PPC64_NUM): Correct value.
8765 * NEWS: Add to fixed bug list.
8766
8767 2014-07-13 Jim Meyering <meyering@fb.com>
8768
8769 [BZ 17150]
8770 regex: don't deref NULL upon heap allocation failure
8771 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8772 failure in one more place.
8773 To trigger the segfault, configure grep -with-included-regex,
8774 build it, and run these commands:
8775 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8776
8777 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8778
8779 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8780
8781 2014-07-11 Richard Henderson <rth@redhat.com>
8782
8783 * sysdeps/aarch64/libm-test-ulps: Update.
8784
8785 2014-07-10 Florian Weimer <fweimer@redhat.com>
8786
8787 [BZ #17135]
8788 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8789 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8790 (__nptl_setxid): Initialize error member. Call
8791 __nptl_setxid_error.
8792 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8793 * nptl/descr.h (struct xid_command): Add error member.
8794 * nptl/tst-setuid3.c: New file.
8795 * nptl/Makefile (tests): Add it.
8796
8797 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8798
8799 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8800 New define.
8801 (__lll_trylock): Use __lll_base_trylock.
8802 (__lll_cond_trylock): Likewise.
8803
8804 2014-07-10 Roland McGrath <roland@hack.frob.com>
8805
8806 * nptl/pthread_create.c (start_thread): Use atomic_or and
8807 lll_futex_wake directly rather than lll_robust_dead.
8808 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8809 (lll_robust_dead): Macro removed.
8810 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8811 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8812 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8813 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8814 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8815 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8816 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8817 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8818 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8819 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8820 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8821 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8822 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8823 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8824 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8825
8826 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8827 Use atomic_compare_and_exchange_val_acq directly rather than
8828 lll_robust_trylock.
8829 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8830 (__lll_robust_trylock, lll_robust_trylock): Removed.
8831 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8832 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8833 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8834 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8835 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8836 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8837 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8838 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8840 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8841 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8842 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8843 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8844 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8845
8846 2014-07-02 Florian Weimer <fweimer@redhat.com>
8847
8848 * manual/locale.texi (Locale Names): New section documenting
8849 locale name syntax. Adjust menu and node chaining accordingly.
8850 (Choosing Locale): Reference Locale Names, Locale Categories.
8851 Mention setting LC_ALL=C. Reflect that name syntax is now
8852 documented.
8853 (Locale Categories): New section title. Reference Locale Names.
8854 LC_ALL is an environment variable, but not a category.
8855 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8856 description, now in Locale Name. Reference that section. Locale
8857 name syntax is now documented.
8858
8859 2014-07-02 Florian Weimer <fweimer@redhat.com>
8860
8861 [BZ #17137]
8862 * locale/findlocale.c (name_present, valid_locale_name): New
8863 functions.
8864 (_nl_find_locale): Use the loc_name variable to store name
8865 candidates. Call name_present and valid_locale_name to check and
8866 validate locale names. Return an error if the locale is invalid.
8867
8868 2014-07-02 Florian Weimer <fweimer@redhat.com>
8869
8870 * locale/setlocale.c (setlocale): Use strdup for allocating
8871 composite name copy.
8872
8873 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8874
8875 Sync up with gnulib.
8876 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8877 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8878 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8879 and _GL_ARG_NONNULL.
8880 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8881 [!_LIBC]: Include code for Windows and Cygwin.
8882 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8883 Include prototype for int strerror_r.
8884 [!_LIBC] (is_open): New function.
8885 (flush_stdout): New function.
8886 (print_errno_message): Use it.
8887 (error): Likewise.
8888 (error_at_line): Likewise.
8889 (error_tail) Add function attribute macros. Use
8890 __builtin_expect.
8891
8892 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8893
8894 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8895
8896 * io/ftw.c: Include sys/param.h unconditionally.
8897
8898 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8899
8900 [BZ #17125]
8901 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8902 libc_freeres_ptr.
8903 (freecache): New function to free CACHE on exit.
8904
8905 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8906 initialization.
8907
8908 2014-07-09 David S. Miller <davem@davemloft.net>
8909
8910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8911
8912 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8913 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8914 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8915 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8916 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8917 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8918 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8919 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8920 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8921 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8922 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8923 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8924 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8925
8926 2014-07-09 Andreas Schwab <schwab@suse.de>
8927
8928 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8929 output.
8930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8931 (do_test): Likewise.
8932
8933 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8934
8935 2014-07-09 Will Newton <will.newton@linaro.org>
8936
8937 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8938 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8939 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8940 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8941 * sysdeps/hppa/start.S (_start): Likewise.
8942
8943 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8944
8945 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8946
8947 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8948 defined.
8949
8950 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8951
8952 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8953 after checking that it is non-NULL.
8954
8955 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8956
8957 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8958
8959 * sysdeps/powerpc/memmove.c: Remove file.
8960 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8961 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8962 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8963 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8964 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8965 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8966 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8967 string memmove instead of removed powerpc one.
8968
8969 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8970 [weak_alias]: Fix compiler warning due trailing data.
8971 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8972 [weak_alias]: Likewise.
8973 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8974 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8975
8976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8977 (__libc_ifunc_impl_list): Add memmove functions.
8978
8979 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8980
8981 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8982 Remove code.
8983 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8984 Likewise
8985 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8986 Likewise
8987 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8988 Likewise
8989 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8990 Likewise
8991 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8992 Likewise
8993 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8994 Likewise
8995 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8996 Likewise
8997 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8998 Likewise
8999 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9000 Likewise
9001 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9002 Likewise
9003 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9004 Likewise
9005 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9006 Likewise
9007 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9008 Likewise
9009 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9010 Likewise
9011 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9012 Likewise
9013 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9014 Likewise
9015
9016 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9017
9018 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9019 to avoid alignment traps in non-cacheable memory.
9020 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9021
9022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9023 multiarch objects.
9024 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9025 file: multiarch power7 memmove.
9026 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9027 multiarch default memmove.
9028 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9029 multiarch memove for powerpc32/power4.
9030
9031 * string/bcopy.c: Use full path to include memmove.c.
9032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9033 multiarch objects.
9034 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9035 bcopy for powerpc64.
9036 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9037 bcopy for powerpc64.
9038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9039 and memmove implementations.
9040 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9041 optimized multiarch memmove for POWER7/powerpc64.
9042 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9043 default multiarch memmove for powerpc64.
9044 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9045 multiarch for powerpc64.
9046 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9047 for POWER7/powerpc64.
9048 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9049 memmove for POWER7/powerpc64.
9050
9051 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9052 glibc default one.
9053
9054 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9055 __ELF_NATIVE_CLASS equal to 64.
9056
9057 2014-07-07 Roland McGrath <roland@hack.frob.com>
9058
9059 * sysdeps/nptl/lowlevellock.h: File removed.
9060
9061 * NEWS: NPTL is no longer an add-on!
9062 * nptl/internaltypes.h: Moved ...
9063 * sysdeps/nptl/internaltypes.h: ... here.
9064 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9065 * sysdeps/nptl/fork.c: Likewise.
9066 * sysdeps/nptl/gai_misc.h: Likewise.
9067 * sysdeps/nptl/librt-cancellation.c: Likewise.
9068 * sysdeps/nptl/jmp-unwind.c: Likewise.
9069 * sysdeps/nptl/setxid.h: Likewise.
9070 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9071 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9072 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9073 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9074 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9075 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9076 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9077 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9078 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9079 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9080 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9081 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9082 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9083 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9084 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9085 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9087 * nptl/Makeconfig: Moved ...
9088 * sysdeps/nptl/Makeconfig: ... here.
9089 * nptl/configure: File removed.
9090 * nptl/ANNOUNCE: File removed.
9091 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9092 * sysdeps/unix/sysv/linux/configure: Regenerated.
9093
9094 * nptl/Makefile (routines): Add libc_pthread_init,
9095 libc_multiple_threads, register-atfork and unregister-atfork.
9096 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9097 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9098 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9099 pthread-pi-defines.sym, structsem.sym.
9100 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9101 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9102 [$(subdir) = nptl] (tests): Add tst-setgetname.
9103 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9104 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9105 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9106 [!LIBC_SIGACTION]: Remove aliases.
9107 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9108 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9109 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9110 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9111 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9112 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9116 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9117 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9118 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9119 __libc_allocate_rtsig_private.
9120 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9121 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9122 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9123 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9124 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9125 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9126 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9127 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9128 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9129 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9130 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9131 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9132 * nptl/internaltypes.h: ... here.
9133 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9134 * sysdeps/nptl/jmp-unwind.c: ... here.
9135 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9136 * nptl/libc-lowlevellock.c: ... here.
9137 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9138 * nptl/libc_multiple_threads.c: ... here.
9139 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9140 * nptl/libc_pthread_init.c: ... here.
9141 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9142 * nptl/lowlevelbarrier.sym: ... here.
9143 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9144 * nptl/lowlevelcond.sym: ... here.
9145 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9146 * nptl/lowlevellock.c: ... here.
9147 * nptl/lowlevellock.h: Moved ...
9148 * sysdeps/nptl/lowlevellock.h: ... here.
9149 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9150 * nptl/lowlevelrobustlock.c: ... here.
9151 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9152 * nptl/lowlevelrobustlock.sym: ... here.
9153 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9154 * nptl/lowlevelrwlock.sym: ... here.
9155 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9156 * nptl/pt-fork.c: ... here.
9157 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9158 * nptl/pthread-pi-defines.sym: ... here.
9159 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9160 * nptl/pthread_attr_getaffinity.c: ... here.
9161 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9162 * nptl/pthread_attr_setaffinity.c: ... here.
9163 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9164 * nptl/pthread_mutex_cond_lock.c: ... here.
9165 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9166 Update #include.
9167 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9168 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9169 * nptl/pthread_once.c: ... here, replacing old file.
9170 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9171 * nptl/pthread_yield.c: ... here.
9172 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9173 * nptl/register-atfork.c: ... here.
9174 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9175 * nptl/sem_post.c: ... here.
9176 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9177 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9178 * nptl/sem_timedwait.c: ... here.
9179 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9180 * nptl/sem_trywait.c: ... here.
9181 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9182 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9183 * nptl/sem_wait.c: ... here.
9184 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9185 * nptl/structsem.sym: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9187 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9188 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9189 * nptl/unregister-atfork.c: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9191 * nptl/unwindbuf.sym: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9193 * sysdeps/nptl/fork.c: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9195 * sysdeps/nptl/fork.h: ... here.
9196 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9197 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9198 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9199 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9200 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9201 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9202 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9204 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9205 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9206 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9207 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9208 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9209 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9210 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9212 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9213 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9214 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9215 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9216 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9217 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9218 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9219 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9220 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9221 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9222 * sysdeps/unix/sysv/linux/raise.c: ... here.
9223 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9224 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9225 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9226 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9227 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9228 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9229 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9230 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9231 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9232 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9233 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9234 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9235 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9236 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9237 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9238
9239 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9240
9241 * sysdeps/generic/memcopy.h: Add comment for
9242 MEMCPY_OK_FOR_FWD_MEMMOVE.
9243
9244 2014-07-04 Will Newton <will.newton@linaro.org>
9245
9246 * string/memchr.c: Merge from gnulib.
9247 [_LIBC]: Remove conditionals.
9248 (__ptr_t): Remove define.
9249 (LONG_MAX_32_BITS): Likewise.
9250 (LONG_MAX): Likewise.
9251 (MEMCHR): Use ANSI prototype and optimize algorithm.
9252
9253 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9254
9255 2014-07-03 Roland McGrath <roland@hack.frob.com>
9256
9257 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9258 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9259
9260 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9261 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9262 in a bare environment with no <stdlib.h> installed.
9263 * sysdeps/nptl/configure: Regenerated.
9264
9265 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9266
9267 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9268 AC_EGREP_CPP for kernel header checks, so they only succeed if
9269 including <linux/version.h> actually works right.
9270 * sysdeps/unix/sysv/linux/configure: Regenerated.
9271
9272 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9273 value so it's not diagnosed as unused.
9274
9275 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9276 thing) with "ifeq ($(subdir),rt)".
9277
9278 2014-07-03 Richard Henderson <rth@redhat.com>
9279
9280 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9281 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9282 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9283
9284 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9285 (math_force_eval): New.
9286
9287 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9288 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9289
9290 * sysdeps/alpha/fpu/s_round.c: Remove file.
9291 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9292
9293 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9294 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9295 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9296 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9297 (_dl_start, print_statistics): Likewise.
9298 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9299 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9300
9301 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9302 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9303 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9304 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9305 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9306 (HP_SMALL_TIMING_AVAIL): Define.
9307 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9308 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9309 (HP_SMALL_TIMING_AVAIL): Define.
9310 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9311 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9312
9313 * sysdeps/aarch64/hp-timing.h: New file.
9314
9315 * sysdeps/generic/hp-timing.h: Remove dead comment.
9316 * sysdeps/generic/hp-timing-common.h: New file.
9317 * sysdeps/alpha/hp-timing.h: Include it.
9318 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9319 * sysdeps/i386/i686/hp-timing.h: Likewise.
9320 * sysdeps/ia64/hp-timing.h: Likewise.
9321 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9322 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9323 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9324 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9325 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9326 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9327 (hp_timing_t): New.
9328
9329 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9330 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9331 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9332 * elf/rtld.c (_dl_start_final): Likewise.
9333 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9334 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9335 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9336 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9337 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9338 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9339 (HP_TIMING_DIFF_INIT): Remove.
9340 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9341 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9342 (HP_TIMING_DIFF_INIT): Remove.
9343 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9344 * sysdeps/i386/i686/hp-timing.c: Remove file.
9345 * sysdeps/x86_64/hp-timing.c: Remove file.
9346 * sysdeps/ia64/hp-timing.c: Remove file.
9347 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9348 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9349 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9350 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9351
9352 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9353 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9354 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9355 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9356 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9357 (HP_TIMING_ACCUM): Remove.
9358 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9359 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9360 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9361
9362 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9363 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9364 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9365 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9366 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9367 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9368 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9369 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9370
9371 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9372
9373 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9374
9375 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9376
9377 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9378
9379 Sync up with gettext.
9380 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9381 [_MSC_VER]: Include malloc.h
9382 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9383 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9384 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9385 TEMP_FAILURE_RETRY. Cast return of alloca.
9386 [!_LIBC] Call gl_rwlock_init.
9387 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9388
9389 2014-07-02 Roland McGrath <roland@hack.frob.com>
9390
9391 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9392 before checking its value.
9393
9394 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9395
9396 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9397
9398 * debug/memcpy_chk.c: Don't include pagecopy.h.
9399 * debug/mempcpy_chk.c: Likewise.
9400 * string/memcpy.c: Likewise.
9401 * string/memmove.c: Likewise.
9402 * sysdeps/powerpc/memmove.c: Likewise.
9403 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9404 definition of PAGE_COPY_FWD_MAYBE here...
9405 * sysdeps/generic/pagecopy.h: ... from here.
9406 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9407
9408 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9409 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9410
9411 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9413 optimizations.
9414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9415 (__libc_ifunc_impl_list): Likewise.
9416 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9417 multiarch strcat for PPC64.
9418 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9419 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9420
9421 2014-07-02 Roland McGrath <roland@hack.frob.com>
9422
9423 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9424
9425 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9426
9427 * intl/loadmsgcat.c: Remove declaration of
9428 get_sysdep_segment_value.
9429 (get_sysdep_segment_value): Use ISO C style.
9430 (_nl_load_domain): Use ISO C style. Get rid of redundant
9431 semicolon. Fix typo and formatting in comment.
9432 (_nl_unload_domain): Use ISO C style.
9433
9434 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9435
9436 2014-07-02 Will Newton <will.newton@linaro.org>
9437
9438 * malloc/obstack.c: Merge from gnulib master.
9439 [HAVE_CONFIG_H]: Remove conditional code.
9440 [!_LIBC]: Include config.h.
9441 [!ELIDE_CODE]: Don't include inttypes.h, include
9442 stdint.h unconditionally.
9443 (print_and_abort): Mark as _Noreturn.
9444 (_obstack_allocated_p): Mark as __attribute_pure__.
9445 (obstack_free): Rename to __obstack_free.
9446 [!__attribute__]: Remove conditional code.
9447 * malloc/obstack.h: Merge from gnulib master.
9448 [__cplusplus]: Move conditional down.
9449 [!__attribute_pure__]: Define __attribute_pure__ here
9450 if it is not already defined.
9451 (_obstack_memory_used): Mark as __attribute_pure__.
9452 [!__obstack_free]: Define as obstack_free.
9453 [__GNUC__]: Remove check for ancient NeXT gcc.
9454
9455 2014-07-02 Will Newton <will.newton@linaro.org>
9456 Paul Eggert <eggert@cs.ucla.edu>
9457
9458 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9459
9460 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9461
9462 * resolv/gethnamaddr.c: Add comment warning that the file is
9463 not maintained.
9464
9465 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9466
9467 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9468 entries.
9469
9470 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9471 entry for aio_cancel and aio_cancel64.
9472 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9473 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9474 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9475 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9476 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9477 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9478 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9479 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9480 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9481 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9482 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9483 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9484 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9485
9486 2014-07-01 Roland McGrath <roland@hack.frob.com>
9487
9488 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9489 * nptl/pthread_mutex_lock.c: Likewise.
9490 * nptl/pthread_mutex_timedlock.c: Likewise.
9491 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9492
9493 2014-07-01 Richard henderson <rth@redhat.com>
9494
9495 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9496 (__isnan, __isnanl): Remove.
9497 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9498
9499 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9500
9501 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9502
9503 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9504
9505 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9506
9507 * resolv/nss_dns/dns-host.c (getanswer_r)
9508 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9509
9510 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9511
9512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9513 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9514 undefine.
9515 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9516 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9517
9518 2014-07-01 Roland McGrath <roland@hack.frob.com>
9519
9520 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9521 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9522
9523 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9524 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9525
9526 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9527 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9528 ... here.
9529 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9530 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9531
9532 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9533 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9534 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9535 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9536
9537 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9538 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9539 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9540 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9542 Moved ...
9543 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9544 ... here.
9545 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9546 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9548 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9549 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9550 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9551 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9552 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9553 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9554 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9556 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9560 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9561 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9562 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9563 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9564 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9565 ... here.
9566 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9567 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9569 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9570 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9571 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9572 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9573 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9574
9575 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9576
9577 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9578 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9579 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9580 Add sysdep.
9581
9582 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9583
9584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9585
9586 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9587
9588 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9589 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9590
9591 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9592
9593 * sysdeps/arm/libm-test-ulps: Regenerated.
9594
9595 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9596 Roland McGrath <roland@hack.frob.com>
9597
9598 * test-skeleton.c (signal_handler): Kill the whole process group
9599 before killing the child individually.
9600 (main): Report any failure on `setpgid'.
9601
9602 2014-06-30 Roland McGrath <roland@hack.frob.com>
9603
9604 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9605 from _TLS_H to _ARM_NPTL_TLS_H.
9606 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9607 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9608
9609 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9610
9611 [BZ #16539]
9612 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9613 (__expm1l): Return argument unchanged when small but not
9614 subnormal.
9615
9616 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9617 include macro name.
9618 (_FP_UNPACK_RAW_1_P): Likewise.
9619 (_FP_PACK_RAW_1): Likewise.
9620 (_FP_PACK_RAW_1_P): Likewise.
9621 (_FP_MUL_MEAT_1_wide): Likewise.
9622 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9623 (_FP_MUL_MEAT_1_hard): Likewise.
9624 (_FP_DIV_MEAT_1_imm): Likewise.
9625 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9626 (_FP_DIV_MEAT_1_udiv): Likewise.
9627 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9628 (_FP_UNPACK_RAW_2): Likewise.
9629 (_FP_UNPACK_RAW_2_P): Likewise.
9630 (_FP_PACK_RAW_2): Likewise.
9631 (_FP_PACK_RAW_2_P): Likewise.
9632 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9633 (_FP_MUL_MEAT_2_wide): Likewise.
9634 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9635 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9636 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9637 (_FP_MUL_MEAT_2_gmp): Likewise.
9638 (_FP_DIV_MEAT_2_udiv): Likewise.
9639 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9640 (_FP_FRAC_SRL_4): Likewise.
9641 (_FP_FRAC_SRST_4): Likewise.
9642 (_FP_FRAC_SRS_4): Likewise.
9643 (_FP_UNPACK_RAW_4): Likewise.
9644 (_FP_UNPACK_RAW_4_P): Likewise.
9645 (_FP_PACK_RAW_4): Likewise.
9646 (_FP_PACK_RAW_4_P): Likewise.
9647 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9648 (_FP_MUL_MEAT_4_wide): Likewise.
9649 (_FP_MUL_MEAT_4_gmp): Likewise.
9650 (umul_ppppmnnn): Likewise.
9651 (_FP_DIV_MEAT_4_udiv): Likewise.
9652 (__FP_FRAC_ADD_4): Likewise.
9653 (__FP_FRAC_SUB_3): Likewise.
9654 (__FP_FRAC_SUB_4): Likewise.
9655 (__FP_FRAC_DEC_3): Likewise.
9656 (__FP_FRAC_DEC_4): Likewise.
9657 (__FP_FRAC_ADDI_4): Likewise.
9658 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9659 (_FP_FRAC_SRL_8): Likewise.
9660 (_FP_FRAC_SRS_8): Likewise.
9661
9662 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9663 include macro name.
9664 (FP_UNPACK_RAW_EP): Likewise.
9665 (FP_PACK_RAW_E): Likewise.
9666 (FP_PACK_RAW_EP): Likewise.
9667 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9668 (_FP_ISSIGNAN): Likewise.
9669 (_FP_ADD_INTERNAL): Likewise.
9670 (_FP_FMA): Likewise.
9671 (_FP_CMP): Likewise.
9672 (_FP_SQRT): Likewise.
9673 (_FP_TO_INT): Likewise.
9674 (_FP_FROM_INT): Likewise.
9675 (FP_EXTEND): Likewise.
9676 (_FP_DIV_MEAT_N_loop): Likewise.
9677
9678 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9679
9680 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9681 throughout.
9682
9683 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9684
9685 [BZ #17097]
9686 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9687 result with correct sign in case of exponents that produce
9688 overflow except for X very close to 1.
9689
9690 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9691
9692 mktime: merge #if/#ifdef usage from glibc
9693 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9694 as that works with both Glibc's and Gnulib's style.
9695 See thread starting at Siddhesh Poyarekar's bug report at:
9696 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9697
9698 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9699
9700 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9701 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9702 * sysdeps/tile/tilegx/memmove.c: Remove file.
9703
9704 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9705
9706 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9707 abi-name definition.
9708 * scripts/soversions.awk: Do not handle or generate ABI lines.
9709 * shlib-versions: Remove ABI entries.
9710 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9711 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9712
9713 2014-06-27 Roland McGrath <roland@hack.frob.com>
9714
9715 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9716 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9717 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9718 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9720 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9722 Moved ...
9723 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9724 ... here.
9725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9726 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9728 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9730 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9732 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9734 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9741 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9743 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9745 Moved ...
9746 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9747 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9748 Moved ...
9749 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9750 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9751 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9756 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9758 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9760 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9767 Moved ...
9768 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9770 Moved ...
9771 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9772 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9773 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9774 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9775 Moved ...
9776 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9777 ... here.
9778 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9779 Identical file removed.
9780 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9781 Moved ...
9782 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9784 Identical file removed.
9785 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9786 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9787 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9788 Moved ...
9789 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9791 Identical file removed.
9792 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9795 Identical file removed.
9796 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9799 Identical file removed.
9800 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9801 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9803 Identical file removed.
9804 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9808 Identical file removed.
9809 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9810 Moved ...
9811 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9815 Identical file removed.
9816 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9817 Moved ...
9818 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9819 ... here.
9820 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9821 Identical file removed.
9822 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9823 Moved ...
9824 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9826 Identical file removed.
9827 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9828 Moved ...
9829 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9830 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9835 Moved ...
9836 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9838 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9839
9840 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9841 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9842 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9843 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9844 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9845
9846 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9847
9848 [BZ #17092]
9849 * nscd/nscd.c (monitor_child): Return exit status of child
9850 instead of return value from wait syscall.
9851
9852 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9853
9854 * configure.ac (libc_commonpagesize): Remove variable.
9855 (libc_relro_required): Likewise.
9856 (libc_cv_z_relro): Remove configure test.
9857 * configure: Regenerated.
9858 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9859 variable.
9860 (libc_relro_required): Likewise.
9861 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9862 (libc_relro_required): Likewise.
9863 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9864 (libc_relro_required): Likewise.
9865 * sysdeps/arm/preconfigure: Regenerated.
9866 * sysdeps/ia64/preconfigure: Remove file.
9867 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9868 variable.
9869 (libc_relro_required): Likewise.
9870
9871 [BZ #16561]
9872 [BZ #16562]
9873 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9874 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9875 recompute overflowing results in original rounding mode.
9876 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9877 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9878 recompute overflowing results in original rounding mode.
9879 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9880 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9881 recompute overflowing results in original rounding mode.
9882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9883 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9884 recompute overflowing results in original rounding mode.
9885 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9886 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9887 recompute overflowing results in original rounding mode.
9888 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9889 (libc_feholdsetround_ctx): New macro.
9890 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9891 * sysdeps/i386/fpu/libm-test-ulps: Update.
9892 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9893
9894 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9895
9896 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9897 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9898 corresponding .cpsetup call.
9899
9900 2014-06-26 Roland McGrath <roland@hack.frob.com>
9901
9902 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9903 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9904 * sysdeps/arm/Makefile [$(subdir) = csu]
9905 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9906 (static-only-routines): Add aeabi_read_tp here.
9907 (shared-only-routines): Add libc-aeabi_read_tp here.
9908 (CFLAGS-libc-start.c): Add -fexceptions here.
9909 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9910 (sysdep_routines, static-only-routines, shared-only-routines):
9911 Don't add to these here.
9912 (CFLAGS-libc-start.c): Likewise.
9913
9914 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9915 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9916 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9917 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9918 * sysdeps/arm/Makefile [$(subdir) = rt]
9919 (librt-sysdep_routines, librt-shared-only-routines):
9920 Append rt-aeabi_unwind_cpp_pr1 here.
9921 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9922 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9923 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9924 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9925 Append nptl-aeabi_unwind_cpp_pr1 here.
9926 (tests): Filter out tst-cleanupx4 here.
9927 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9928 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9929 Don't do those here.
9930
9931 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9932
9933 * scripts/list-sources.sh: Do not handle ports specially.
9934
9935 2014-06-26 Roland McGrath <roland@hack.frob.com>
9936
9937 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9938 * sysdeps/arm/feupdateenv.c: Likewise.
9939
9940 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9941
9942 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9943
9944 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9945 trailing whitespace removed.
9946 * scripts/config.guess: Update to version 2014-03-23.
9947 * scripts/config.sub: Update to version 2014-05-01
9948 * scripts/install-sh: Update to version 2013-12-25.23.
9949 * scripts/move-if-change: Update from gnulib.
9950
9951 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9952
9953 * debug/memmove_chk.c: Remove pagecopy.h include.
9954
9955 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9956
9957 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9958 identical to gnulib mktime.
9959
9960 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9961
9962 * configure.ac: Do not test for machine being rs6000. Do not test
9963 for powerpc*-*soft.
9964 * configure: Regenerated.
9965
9966 [BZ #11505]
9967 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9968 test.
9969 * configure: Regenerated.
9970 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9971 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9972 Remove configure test.
9973 * sysdeps/arm/configure: Regenerated.
9974 * sysdeps/nptl/configure.ac: Do not check
9975 libc_cv_asm_cfi_directives.
9976 * sysdeps/nptl/configure: Regenerated.
9977 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9978 * sysdeps/x86_64/nptl/configure: Remove generated file.
9979 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9980 unconditional.
9981 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9982
9983 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9984
9985 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9986 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9987 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9988 it is defined.
9989
9990 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9991 instead of whether it is defined.
9992 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9993 * sysdeps/hppa/dl-machine.h: Likewise.
9994 * sysdeps/ia64/dl-machine.h: Likewise.
9995 * sysdeps/m68k/dl-machine.h: Likewise.
9996 * sysdeps/microblaze/dl-machine.h: Likewise.
9997 * sysdeps/mips/dl-machine.: Likewise.
9998 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9999 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10000 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10001 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10002 * sysdeps/sh/dl-machine.h: Likewise.
10003 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10004 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10005 * sysdeps/tile/dl-machine.h: Likewise.
10006 * sysdeps/x86_64/dl-machine.h: Likewise.
10007
10008 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10009 code.
10010 (verify_persistent_db): Likewise.
10011
10012 2014-06-26 Roland McGrath <roland@hack.frob.com>
10013
10014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10015 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10017 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10019 Moved ...
10020 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10021 ... here.
10022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10023 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10025 Identical file removed.
10026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10027 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10029 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10031 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10033 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10035 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10037 Moved ...
10038 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10040 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10042 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10044 Moved ...
10045 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10047 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10049 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10051 Identical file removed.
10052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10053 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10055 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10057 Moved ...
10058 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10059 ... here.
10060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10065 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10067 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10071 Moved ...
10072 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10074 Moved ...
10075 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10077 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10079 Moved ...
10080 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10082 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10083
10084 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10085 folded into ...
10086 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10087 * sysdeps/unix/sysv/linux/s390/Versions
10088 (libpthread: GLIBC_2.19): New version set.
10089 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10090 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10091 (librt: GLIBC_2.3.3): New version set.
10092 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10093 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10094 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10096 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10098 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10100 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10101 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10102 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10103 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10104 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10105 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10106 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10107 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10108 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10109 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10110 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10111 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10112 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10114 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10116 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10118 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10120 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10121 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10122 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10123 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10128 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10129 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10130 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10132 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10134 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10136 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10137
10138 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10139 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10140 (__libc_vfork): Define the function under this name.
10141 [!NOT_IN_libc] (__vfork): Make this an alias.
10142 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10143 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10144 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10145 (__libc_vfork): Define the function under this name.
10146 [!NOT_IN_libc] (__vfork): Make this an alias.
10147 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10148 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10149 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10152 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10153
10154 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10155 code that was previously under [RESET_PID].
10156 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10157 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10159
10160 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10161 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10162 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10163 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10164 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10165 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10166 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10167 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10168 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10169 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10171 Moved ...
10172 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10173 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10174 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10175 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10177 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10178 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10179 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10180 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10181 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10183 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10184 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10185 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10186 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10187 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10188 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10189 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10190 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10191 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10192 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10193 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10194 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10195 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10196 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10197 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10198 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10199 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10200 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10201
10202 2014-06-25 Roland McGrath <roland@hack.frob.com>
10203
10204 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10205 that was previously under [RESET_PID].
10206 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10207
10208 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10209
10210 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10211 not undefine and redefine.
10212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10213 [O_CLOEXEC]: Make code unconditional.
10214 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10215 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10216 <kernel-features.h>.
10217 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10218 conditional variable definition.
10219 (shm_open) [O_CLOEXEC]: Make code unconditional.
10220 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10221 code.
10222
10223 * configure.ac (USE_REGPARMS): Don't define here.
10224 * configure: Regenerated.
10225 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10226 * sysdeps/i386/configure: Regenerated.
10227
10228 * nptl/createthread.c: Don't include kernel-features.h.
10229 * nptl/pthread_cancel.c: Likewise.
10230 * nptl/pthread_condattr_setclock.c: Likewise.
10231 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10232 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10233 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10234 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10235 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10236 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10237 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10240 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10241 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10242 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10243 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10244 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10245 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10246 * nscd/gai.c: Likewise.
10247 * nss/nss_db/db-open.c: Likewise.
10248 * sysdeps/generic/ldsodefs.h: Likewise.
10249 * sysdeps/sh/nptl/tls.h: Likewise.
10250 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10251 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10252 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10253 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10254 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10255 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10256 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10257 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10258 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10259 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10260 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10261 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10262 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10263 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10264 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10265 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10266 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10267 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10268 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10269 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10270 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10271 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10272 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10273 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10275 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10277 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10278 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10279 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10280 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10281 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10282 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10283 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10284 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10285 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10286 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10287 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10288 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10289 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10290 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10291 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10292 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10293 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10294 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10295 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10296 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10297 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10298 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10299 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10300 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10301 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10302 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10303 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10304 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10305 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10307 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10330 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10331 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10332 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10333 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10334 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10335 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10336 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10337 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10338 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10339 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10340 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10341 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10342 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10343 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10344 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10345 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10346 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10347 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10348 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10349 * sysdeps/unix/sysv/linux/system.c: Likewise.
10350 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10351 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10352 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10353 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10354 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10356 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10357
10358 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10359 * configure: Regenerated.
10360 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10361
10362 * configure.ac (base_machine): Do not set specially for particular
10363 machines here.
10364 * configure: Regenerated.
10365 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10366 settings from configure.ac.
10367 * sysdeps/i386/preconfigure: New file.
10368 * sysdeps/s390/preconfigure: Likewise.
10369 * sysdeps/sh/preconfigure: Likewise.
10370 * sysdeps/sparc/preconfigure: Likewise.
10371
10372 2014-06-25 Roland McGrath <roland@hack.frob.com>
10373
10374 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10375 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10376 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10377 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10378 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10379 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10380 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10381 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10382 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10383 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10384 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10385 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10386 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10387 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10388 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10389 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10390 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10391 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10392 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10393
10394 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10395 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10396 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10397 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10398 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10399 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10400 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10401 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10402 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10403 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10404 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10405 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10406 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10407 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10408 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10409 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10410 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10411 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10412 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10413 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10415 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10416 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10417 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10418 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10419 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10421 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10422 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10423 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10424 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10425 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10426 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10427 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10428 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10429 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10430 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10431 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10432
10433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10434 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10436 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10438 Moved ...
10439 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10440 ... here.
10441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10442 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10444 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10446 Moved ...
10447 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10449 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10451 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10453 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10455 Moved ...
10456 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10458 Moved ...
10459 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10461 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10463 Moved ...
10464 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10466 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10468 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10470 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10472 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10474 Moved ...
10475 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10476 ... here.
10477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10478 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10480 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10482 Moved ...
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10485 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10487 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10489 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10491 Moved ...
10492 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10494 Moved ...
10495 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10497 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10499 Moved ...
10500 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10502 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10504 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10505
10506 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10507
10508 * timezone/checktab.awk: Update from tzcode 2014e.
10509 * timezone/private.h: Likewise.
10510 * timezone/tzfile.h: Likewise.
10511 * timezone/zdump.c: Likewise.
10512 * timezone/zic.c: Likewise.
10513
10514 * sysdeps/unix/sysv/linux/kernel-features.h
10515 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10516 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10517 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10518 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10519 Remove conditional code.
10520
10521 2014-06-25 Will Newton <will.newton@linaro.org>
10522
10523 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10524 (_dl_arm_cap_flags): Add HWCAP2 values.
10525 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10526 (_DL_HWCAP_COUNT): Increase to 37.
10527 (_DL_HWCAP_LAST): New define.
10528 (_DL_HWCAP2_LAST): New define.
10529 (_dl_procinfo): Add support for printing
10530 AT_HWCAP2 entries.
10531 (_dl_string_hwcap): Use _dl_hwcap_string.
10532
10533 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10534
10535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10536
10537 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10538
10539 * README: Do not mention ports directory.
10540
10541 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10542 Remove macro.
10543 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10544 <kernel-features.h>.
10545 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10546 conditional variable definition.
10547 (__futimes): Update comment.
10548 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10549 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10550
10551 [BZ #16560]
10552 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10553 arguments close to 0.
10554 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10555 Likewise.
10556 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10557 Likewise.
10558 * math/auto-libm-test-in: Add more tests of exp10.
10559 * math/auto-libm-test-out: Regenerated.
10560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10561
10562 * sysdeps/unix/sysv/linux/kernel-features.h
10563 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10564 * sysdeps/unix/sysv/linux/readv.c: Do not include
10565 <kernel-features.h>.
10566 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10567 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10568 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10569 unconditional.
10570 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10571 conditional code.
10572 * sysdeps/unix/sysv/linux/writev.c: Do not include
10573 <kernel-features.h>.
10574 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10575 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10576 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10577 unconditional.
10578 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10579 conditional code.
10580
10581 2014-06-25 Will Newton <will.newton@linaro.org>
10582
10583 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10584 comment changes throughout the file. Remove checks
10585 for HAVE_*_H definitions that are not required.
10586 (__gen_tempname): Call abort if an unknown kind value is
10587 passed.
10588
10589 2014-06-25 Andreas Schwab <schwab@suse.de>
10590
10591 [BZ #17086]
10592 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10593 scalbln, scalblnf, scalblnl in libc.
10594
10595 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10596
10597 [BZ #17086]
10598 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10599 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10600 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10601
10602 2014-06-24 Roland McGrath <roland@hack.frob.com>
10603
10604 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10605 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10606 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10607 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10608 Update #include.
10609 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10610 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10611 Update #include.
10612 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10613 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10614 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10615 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10616 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10617 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10618 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10619 * sysdeps/x86/bits/semaphore.h: ... here.
10620 * sysdeps/x86/nptl/elide.h: Moved ...
10621 * sysdeps/x86/elide.h: ... here.
10622 * sysdeps/x86_64/nptl/Implies: File removed.
10623 * sysdeps/i386/nptl/Implies: File removed.
10624
10625 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10626
10627 [BZ #16539]
10628 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10629 return the argument for normal arguments with exponent below -64.
10630 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10631 Likewise.
10632 * math/auto-libm-test-in: Add another test of expm1.
10633 * math/auto-libm-test-out: Regenerated.
10634
10635 [BZ #16287]
10636 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10637 calling __erfcl for arguments at least 16.
10638 * math/auto-libm-test-in: Add more tests of erf.
10639 * math/auto-libm-test-out: Regenerated.
10640
10641 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10642 individual architectures.
10643 * sysdeps/unix/sysv/linux/configure: Regenerated.
10644 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10645 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10646 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10647 (ldd_rewrite_script): Define variable.
10648 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10650 file.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10652 generated file.
10653 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10654 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10655 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10656 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10657 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10658 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10659 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10660 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10661
10662 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10663
10664 [BZ #17084]
10665 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10666 Rename member __data.d to __data.__elision_data.
10667
10668 2014-06-24 Wilco <wdijkstr@arm.com>
10669
10670 * NEWS: Add 16918 to fixed bug list.
10671
10672 2014-06-24 Wilco <wdijkstr@arm.com>
10673
10674 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10675
10676 2014-06-24 Wilco <wdijkstr@arm.com>
10677
10678 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10679 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10680 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10681 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10682 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10683 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10684 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10685 Use _FPU_MASK_RM.
10686
10687 2014-06-24 Wilco <wdijkstr@arm.com>
10688
10689 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10690
10691 2014-06-24 Wilco <wdijkstr@arm.com>
10692
10693 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10694 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10695 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10696 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10697
10698 2014-06-24 Wilco <wdijkstr@arm.com>
10699
10700 [BZ #16918]
10701 * sysdeps/arm/feupdateenv.c (feupdateenv):
10702 Rewrite to reduce FPSCR accesses and fix return value.
10703
10704 2014-06-24 Wilco <wdijkstr@arm.com>
10705
10706 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10707 Optimize to avoid unnecessary FPSCR writes.
10708 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10709 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10710 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10711 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10712
10713 2014-06-24 Wilco <wdijkstr@arm.com>
10714
10715 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10716 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10717 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10718 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10719 Call libc_fetestexcept_vfp.
10720 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10721 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10722 __SOFTFP__ ifdef so that they can be built for softfp.
10723
10724 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10725
10726 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10727 argument type signed char.
10728
10729 * Makerules (check-abi): Dump diff of symlist if the test
10730 fails.
10731
10732 2014-06-23 Roland McGrath <roland@hack.frob.com>
10733
10734 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10735 using abort.
10736
10737 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10738 Remove unused variable ST.
10739
10740 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10741
10742 [BZ #16354]
10743 [BZ #17061]
10744 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10745 small arguments before calling __expm1.
10746 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10747 small arguments before calling __expm1f.
10748 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10749 small arguments before calling __expm1l.
10750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10751 Likewise.
10752 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10753 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10754 spurious underflow for some cosh tests.
10755 * math/auto-libm-test-out: Regenerated.
10756 * sysdeps/i386/fpu/libm-test-ulps: Update.
10757
10758 [BZ #17050]
10759 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10760 (__ieee754_y1): Set errno if return value overflows.
10761 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10762 (__ieee754_y1f): Set errno if return value overflows.
10763 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10764 (__ieee754_y1l): Set errno if return value overflows.
10765 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10766 (__ieee754_y1l): Set errno if return value overflows.
10767 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10768 * math/auto-libm-test-out: Regenerated.
10769
10770 * math/gen-auto-libm-tests.c: Document use of
10771 ignore-zero-inf-sign.
10772 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10773 (input_flags): Add ignore-zero-inf-sign.
10774 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10775 * math/gen-libm-test.pl (generate_testfile): Handle
10776 ignore-zero-inf-sign.
10777 * math/auto-libm-test-in: Mark some cpow tests with
10778 ignore-zero-inf-sign and some with xfail-rounding.
10779 * math/auto-libm-test-out: Regenerated.
10780 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10781 * sysdeps/i386/fpu/libm-test-ulps: Update.
10782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10783
10784 [BZ #16315]
10785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10786 overflowing or underflowing operations take place with sign of
10787 result.
10788 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10789 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10790 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10791 (__ieee754_pow): Recompute overflowing and underflowing results in
10792 original rounding mode.
10793 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10794 (__powl_helper): Allow negative argument X and scale negated value
10795 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10796 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10797 overflowing or underflowing operations take place with sign of
10798 result.
10799 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10800 Include <math.h>.
10801 * math/auto-libm-test-in: Add more tests of pow.
10802 * math/auto-libm-test-out: Regenerated.
10803 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10804 (pow_tonearest_test_data): Remove.
10805 (pow_test_tonearest): Likewise.
10806 (pow_towardzero_test_data): Likewise.
10807 (pow_test_towardzero): Likewise.
10808 (pow_downward_test_data): Likewise.
10809 (pow_test_downward): Likewise.
10810 (pow_upward_test_data): Likewise.
10811 (pow_test_upward): Likewise.
10812 (main): Don't call removed functions.
10813 * sysdeps/i386/fpu/libm-test-ulps: Update.
10814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10815
10816 2014-06-23 Roland McGrath <roland@hack.frob.com>
10817
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10819 Moved ...
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10822 Moved ...
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10825 Moved ...
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10828 Moved ...
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10831 File removed.
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10833 File removed.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10835 File removed.
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10837 File removed.
10838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10839 File removed.
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10841 File removed.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10843 File removed.
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10845 File removed.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10847 File removed.
10848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10849 File removed.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10851 File removed.
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10853 File removed.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10855 Moved ...
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10858 Moved ...
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10860 ... here.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10862 Moved ...
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10865 Moved ...
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10868 Moved ...
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10871 Moved ...
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10874 Moved ...
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10877 Moved ...
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10880 Moved ...
10881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10884 ... here.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10886 Moved ...
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10889 Moved ...
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10891 ... here.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10893 Moved ...
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10895 ... here.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10897 Moved ...
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10899 ... here.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10901 Moved ...
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10904 Moved ...
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10909 Moved ...
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10911 ... here.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10913 Moved ...
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10915 ... here.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10917 Moved ...
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10920 Moved ...
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10923 Moved ...
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10926 Moved ...
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10929 Moved ...
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10931 ... here.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10933 Moved ...
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10936 Moved ...
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10939 Moved ...
10940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10942 Moved ...
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10947 Moved ...
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10950 Moved ...
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10953 Moved ...
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10955 ... here.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10957 Moved ...
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10959 ... here.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10961 Moved ...
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10963 ... here.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10965 Moved ...
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10968 Moved ...
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10971 Moved ...
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10974 Moved ...
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10976 ... here.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10978 Moved ...
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10980 ... here.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10982 Moved ...
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10984 ... here.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10986 Moved ...
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10989 Moved ...
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10991
10992 2014-06-23 Will Newton <will.newton@linaro.org>
10993 Wilco <wdijkstr@arm.com>
10994
10995 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10996 implementation. Include get-rounding-mode.h.
10997 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10998 [!libc_feholdsetround_noex_ctx]: Define
10999 libc_feholdsetround_noex_ctx.
11000 [!libc_feholdsetround_noexf_ctx]: Define
11001 libc_feholdsetround_noexf_ctx.
11002 [!libc_feholdsetround_noexl_ctx]: Define
11003 libc_feholdsetround_noexl_ctx.
11004 (libc_feholdsetround_ctx): New function.
11005 (libc_feresetround_ctx): New function.
11006 (libc_feholdsetround_noex_ctx): New function.
11007 (libc_feresetround_noex_ctx): New function.
11008
11009 2014-06-23 Roland McGrath <roland@hack.frob.com>
11010
11011 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11012 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11013 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11014 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11015 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11016 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11017
11018 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11019 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11020 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11021 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11022 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11023 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11025 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11026 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11029 Moved ...
11030 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11031 ... here.
11032 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11033 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11034 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11035 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11037 Moved ...
11038 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11046 Moved ...
11047 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11048 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11049 Moved ...
11050 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11054 Moved ...
11055 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11056 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11057 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11059 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11060 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11061 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11062 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11063 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11065 Moved ...
11066 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11067 ... here.
11068 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11069 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11070 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11073 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11074 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11075 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11076 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11079 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11080 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11081 Moved ...
11082 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11084 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11086 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11091 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11093 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11094
11095 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11096 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11097 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11098 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11100 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11101 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11102 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11104 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11108 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11110 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11111 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11112 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11114 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11118 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11120 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11123
11124 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11125
11126 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11127 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11128 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11129 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11130 (IPV6_PMTUDISC_INTERFACE): Likewise.
11131 (IPV6_PMTUDISC_OMIT): Likewise.
11132
11133 2014-06-23 Andreas Schwab <schwab@suse.de>
11134
11135 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11136 Remove unused errout label.
11137
11138 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11139
11140 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11141 macro: hardware supports Vector Crypto instructions.
11142
11143 2014-06-23 Will Newton <will.newton@linaro.org>
11144
11145 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11146 rather than __builtin_expect.
11147
11148 * elf/dl-lookup.c (undefined_msg): Remove variable.
11149 (_dl_lookup_symbol_x): Replace undefined_msg with string
11150 literal.
11151
11152 * elf/dl-lookup.c (do_lookup_unique): New function.
11153 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11154 to a separate function.
11155
11156 2014-06-23 Andreas Schwab <schwab@suse.de>
11157
11158 [BZ #17079]
11159 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11160 before reading the next line.
11161
11162 2014-06-23 Will Newton <will.newton@linaro.org>
11163
11164 * test-skeleton.c (signal_handler): Use printf and %m
11165 rather than perror. Use printf rather than fprintf to
11166 stderr. Use puts rather than fputs to stderr.
11167 (main): Likewise.
11168
11169 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11170
11171 * nscd/nscd.c (thread_info_t): Remove typedef.
11172 (thread_info): Remove variable.
11173
11174 2014-06-21 Allan McRae <allan@archlinux.org>
11175
11176 * NEWS: Mention CVE-2014-4043.
11177
11178 2014-06-20 Roland McGrath <roland@hack.frob.com>
11179
11180 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11181 * nptl/smp.h: ... here.
11182
11183 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11184
11185 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11186 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11187 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11188 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11189
11190 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11191 * nptl/stack-aliasing.h: New file.
11192 * sysdeps/i386/i686/stack-aliasing.h: New file.
11193 * sysdeps/i386/i686/nptl/Makefile: File removed.
11194 * sysdeps/x86_64/stack-aliasing.h: New file.
11195 * sysdeps/x86_64/nptl/Makefile
11196 (CFLAGS-pthread_create.c): Variable removed.
11197
11198 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11199 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11200 old file.
11201 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11202 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11203 old file.
11204
11205 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11206
11207 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11208 (__ASSUME_SIGFRAME_V2): Remove macro.
11209 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11210 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11211 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11212 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11213 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11214 Declare as function. Remove conditional macro definitions.
11215 (__default_rt_sa_restorer): Likewise.
11216 (__default_sa_restorer_v1): Remove declaration.
11217 (__default_sa_restorer_v2): Likewise.
11218 (__default_rt_sa_restorer_v1): Likewise.
11219 (__default_rt_sa_restorer_v2): Likewise.
11220 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11221 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11222 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11223
11224 2014-06-20 Roland McGrath <roland@hack.frob.com>
11225
11226 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11227 (libpthread-routines): Add sysdep.
11228 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11229 * sysdeps/unix/sysv/linux/sparc/Versions
11230 (libpthread: GLIBC_2.3.3): New version set.
11231 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11232 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11233 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11234 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11235 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11236 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11237 Moved ...
11238 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11239 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11240 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11242 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11244 * sysdeps/sparc/nptl/sem_init.c: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11246 * sysdeps/sparc/nptl/sem_post.c: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11248 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11250 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11252 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11253 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11254 (libpthread-routines): Add cpu_relax.
11255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11256 File removed.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11258 (librt: GLIBC_2.3.3): New version set.
11259 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11260 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11262 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11265 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11267 Moved ...
11268 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11270 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11272 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11274 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11276 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11278 Moved ...
11279 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11280 Update #include.
11281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11282 Moved ...
11283 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11284 Update #include.
11285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11286 Moved ...
11287 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11288 Update #include.
11289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11290 Moved ...
11291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11292 Update #include.
11293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11294 Moved ...
11295 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11296 Update #include.
11297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11298 Moved ...
11299 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11300 Update #include.
11301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11302 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11308 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11310 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11312 Moved ...
11313 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11315 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11317 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11318
11319 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11320
11321 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11322 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11323 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11324 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11325 * nscd/nscd.c: Likewise.
11326 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11327 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11328 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11329 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11330
11331 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11332 <kernel-features.h>.
11333 (init_mq_netlink): Remove conditional have_sock_cloexec
11334 definitions. Remove code conditional on have_sock_cloexec < 0.
11335 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11336 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11337 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11338 <kernel-features.h>.
11339 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11340 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11341
11342 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11343
11344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11345 Add tests for memset_chk and memset.
11346
11347 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11348 with AVX2_Usable.
11349
11350 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11351
11352 [BZ #16046]
11353 * elf/tst-dl-iter-static.c: New file.
11354 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11355
11356 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11357 error.
11358
11359 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11360
11361 * sysdeps/unix/sysv/linux/kernel-features.h
11362 (__ASSUME_F_GETOWN_EX): Remove macro.
11363 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11364 <kernel-features.h>.
11365 (miss_F_GETOWN_EX): Remove variable or macro.
11366 (do_fcntl): Do not check miss_F_GETOWN_EX.
11367 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11368
11369 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11370 Remove macro.
11371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11372 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11373 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11374
11375 * sysdeps/unix/sysv/linux/kernel-features.h
11376 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11377 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11378 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11379 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11380
11381 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11382
11383 [BZ #17075]
11384 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11385 Fix calculation of the symbol's value.
11386 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11387 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11388 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11389 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11390 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11391 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11392 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11393 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11394 (modules-names): Add `tst-armtlsdescmod',
11395 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11396 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11397 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11398 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11399 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11400 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11401 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11402 ($(objpfx)tst-armtlsdescloc): New dependency.
11403 ($(objpfx)tst-armtlsdescextnow): Likewise.
11404 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11405 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11406 TLS scheme support.
11407 * sysdeps/arm/configure: Regenerate.
11408
11409 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11410
11411 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11412 (__atfct_seterrno_2): Likewise.
11413 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11414 <kernel-features.h>.
11415 (__ASSUME_ATFCTS): Do not undefine and redefine.
11416 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11417 (__have_atfcts): Remove conditional definition.
11418 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11419 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11420 unreachable if [__ASSUME_ATFCTS].
11421 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11422 not undefine and redefine.
11423 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11424 <kernel-features.h>.
11425 (faccessat) [__NR_faccessat]: Make code unconditional.
11426 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11427 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11428 <kernel-features.h>.
11429 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11430 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11431 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11432 <kernel-features.h>.
11433 (fchownat) [__NR_fchownat]: Make code unconditional.
11434 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11435 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11436 <kernel-features.h>.
11437 (futimesat) [__NR_futimesat]: Make code unconditional.
11438 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11439 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11440 <kernel-features.h>.
11441 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11442 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11443 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11444 <kernel-features.h>.
11445 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11446 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11447 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11448 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11449 <kernel-features.h>.
11450 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11451 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11452 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11453 <kernel-features.h>.
11454 (linkat) [__NR_linkat]: Make code unconditional.
11455 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11456 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11457 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11458 <kernel-features.h>.
11459 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11460 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11461 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11462 <kernel-features.h>.
11463 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11464 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11465 * sysdeps/unix/sysv/linux/openat.c: Do not include
11466 <kernel-features.h>.
11467 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11468 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11469 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11470 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11471 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11472 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11473 <kernel-features.h>.
11474 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11475 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11476 result of INLINE_SYSCALL directly, not via int variable.
11477 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11478 <kernel-features.h>.
11479 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11480 (renameat) [__NR_renameat]: Make code unconditional.
11481 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11482 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11483 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11484 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11485 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11486 (__ASSUME_ATFCTS): Do not undefine and redefine.
11487 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11488 <kernel-features.h>.
11489 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11490 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11491 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11492 <kernel-features.h>.
11493 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11494 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11495 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11496 (__ASSUME_ATFCTS): Do not undefine and redefine.
11497 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11498 <kernel-features.h>.
11499 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11500 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11501 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11502 <kernel-features.h>.
11503 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11504 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11505
11506 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11509
11510 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11511
11512 [BZ #17069]
11513 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11514 constructed tree before returning error.
11515 * posix/bug-regexp36.c: Expand test case.
11516
11517 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11518
11519 [BZ #6803]
11520 * math/libm-test.inc (scalbln_test_date):
11521 Add errno expectations.
11522 * math/w_scalblnf.c: New File.
11523 Add wrapper which checks for setting errno to ERANGE.
11524 Add weak_alias for corresponding scalbln function.
11525 * math/w_scalbln.c: Likewise.
11526 * math/w_scalblnl.c: Likewise.
11527 * math/Makefile (libm-calls): Add w_scalbln.
11528 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11529 Remove weak_alias for corresponding scalbln function.
11530 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11532 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11534 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11535 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11536 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11537 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11538 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11539 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11540 Remove long_double_symbol for scalblnl function in libm, libc.
11541 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11542 Add wrapper which checks for setting errno to ERANGE.
11543 Add long_double_symbol for scalblnl function in libm, libc.
11544 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11545 Remove long_double_symbol for scalblnl in libm.
11546 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11547 Add wrapper which checks for setting errno to ERANGE.
11548 Add long_double_symbol for scalblnl function in libm.
11549 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11550 Do not use wrapper because of own implementation.
11551
11552 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11555 3 bytes for __pad1 for x32.
11556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11557
11558 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11559 H.J. Lu <hongjiu.lu@intel.com>
11560
11561 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11562 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11563 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11564 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11565 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11566
11567 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11568
11569 [BZ #17069]
11570 * posix/regcomp.c (parse_expression): Deallocate partially
11571 constructed tree before returning error.
11572 * posix/Makefile.c (tests): Add bug-regex36.
11573 (generated): Add bug-regex36.mtrace.
11574 (tests-special): Add $(objpfx)bug-regex36-mem.out
11575 (bug-regex36-ENV): New variable.
11576 ($(objpfx)bug-regex36-mem.out): New rule.
11577 * posix/bug-regex36.c: New file.
11578
11579 2014-06-19 Will Newton <will.newton@linaro.org>
11580
11581 * malloc/malloc.c (systrim): If extra is zero then return
11582 early.
11583
11584 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11585
11586 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11587
11588 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11589
11590 * sysdeps/aarch64/strchr.S: New file.
11591
11592 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11593
11594 [BZ #17022]
11595 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11596 from arguments -2 or below.
11597 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11598 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11599
11600 2014-06-18 Andreas Schwab <schwab@suse.de>
11601
11602 [BZ #17062]
11603 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11604 of a bracket expr not to run off the end of the string.
11605 * posix/Makefile (tests): Add tst-fnmatch3.
11606 * posix/tst-fnmatch3.c: New file.
11607
11608 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11609
11610 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11611 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11612 [$(cross-compiling) = no]: Likewise.
11613 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11614 [$(cross-compiling) = no]: Likewise.
11615
11616 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11617
11618 [BZ #17031]
11619 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11620 double, adjusted for any remainder from the high double.
11621 * math/libm-test.inc (nearbyint): Add tests.
11622 (rint): Likewise.
11623
11624 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11625
11626 * nptl/sysdeps/powerpc/Makefile: Moved ...
11627 * sysdeps/powerpc/nptl/Makefile: ... here.
11628 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11629 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11630 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11631 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11632 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11633 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11634 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11635 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11636 * nptl/sysdeps/powerpc/tls.h: Moved ...
11637 * sysdeps/powerpc/nptl/tls.h: ... here.
11638
11639 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11640
11641 [BZ #16681]
11642 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11643 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11644 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11645 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11646 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11647 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11648 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11649 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11650 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11651
11652 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11653
11654 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11655
11656 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11657
11658 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11659 defined operator.
11660
11661 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11662 $TIMEOUTFACTOR.
11663
11664 2014-06-16 Florian Weimer <fweimer@redhat.com>
11665
11666 [BZ #17058]
11667 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11668 non-executed part of the test.
11669
11670 2014-06-16 Andreas Schwab <schwab@suse.de>
11671
11672 * string/bits/string2.h (strdup, strndup): Update feature guard.
11673
11674 2014-06-14 David S. Miller <davem@davemloft.net>
11675
11676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11677
11678 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11679
11680 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11681 that was previously under [RESET_PID].
11682 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11683
11684 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11685 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11686 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11687 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11688 (__libc_vfork): New strong alias.
11689 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11690
11691 2014-06-14 Andi Kleen <ak@linux.intel.com>
11692
11693 * sysdeps/generic/elide.h: New file.
11694
11695 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11696
11697 * Makefile (installed-headers): Adjust path of pthread.h header.
11698
11699 2014-06-13 Roland McGrath <roland@hack.frob.com>
11700
11701 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11702 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11703 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11704 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11705
11706 * nptl/sysdeps/s390/Makefile: Moved ...
11707 * sysdeps/s390/nptl/Makefile: ... here.
11708 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11709 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11710 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11711 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11712 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11713 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11714 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11715 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11716 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11717 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11718 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11719 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11720 * nptl/sysdeps/s390/tls.h: Moved ...
11721 * sysdeps/s390/nptl/tls.h: ... here.
11722
11723 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11724 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11725
11726 2014-06-13 David S. Miller <davem@davemloft.net>
11727
11728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11731 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11735 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11736 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11737 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11738 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11739 Remove RESET_PID cpp guards.
11740 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11741 Remove RESET_PID cpp guards.
11742 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11743
11744 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11745
11746 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11747 __sp to uintptr_t.
11748
11749 2014-06-13 Andi Kleen <ak@linux.intel.com>
11750
11751 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11752 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11753 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11755 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11756 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11757 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11758 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11759 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11761 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11762 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11763 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11764 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11765 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11766 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11767 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11768 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11769 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11770 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11771
11772 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11773 (pthread_rwlock_rdlock): Add elision.
11774 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11775 (pthread_rwlock_wrlock): Add elision.
11776 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11777 (pthread_rwlock_trywrlock): Add elision.
11778 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11779 (pthread_rwlock_tryrdlock): Add elision.
11780 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11781 (pthread_rwlock_tryrdlock): Add elision unlock.
11782 * nptl/sysdeps/pthread/pthread.h:
11783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11784 (PTHREAD_RWLOCK_INITIALIZER,
11785 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11786 Handle new elision field.
11787 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11788 * sysdeps/arm/nptl/bits/pthreadtypes.h
11789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11790 * sysdeps/sh/nptl/bits/pthreadtypes.h
11791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11792 * sysdeps/tile/nptl/bits/pthreadtypes.h
11793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11794 * sysdeps/a/nptl/bits/pthreadtypes.h
11795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11796 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11798 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11800 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11802 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11803 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11804 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11805 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11806 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11807 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11808 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11809 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11810 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11811 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11812 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11813 (elision_init): Set try_xbegin to zero when no RTM.
11814 * sysdeps/x86/nptl/bits/pthreadtypes.h
11815 (pthread_rwlock_t): Change __pad1 to __rwelision.
11816 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11817
11818 2014-06-13 Andi Kleen <ak@linux.intel.com>
11819
11820 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11821 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11822 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11823 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11824
11825 2014-06-13 Meador Inge <meadori@codesourcery.com>
11826
11827 [BZ #16996]
11828 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11829 that the cached result has been set before returning it.
11830
11831 2014-06-12 Roland McGrath <roland@hack.frob.com>
11832
11833 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11834 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11835 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11836 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11837 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11838 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11839
11840 * nptl/sysdeps/sparc/Makefile: Moved ...
11841 * sysdeps/sparc/nptl/Makefile: ... here.
11842 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11843 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11844 * nptl/sysdeps/sparc/tls.h: Moved ...
11845 * sysdeps/sparc/nptl/tls.h: ... here.
11846 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11847 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11848 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11849 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11850 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11851 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11852 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11853 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11854 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11855 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11856 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11857 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11858 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11859 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11860 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11861 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11862 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11863 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11864 Update #include.
11865 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11866 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11867 Update #include.
11868 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11869 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11870 Update #include.
11871 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11872 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11873 Update #include.
11874
11875 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11876
11877 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11878 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11879
11880 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11881 (struct list_links): Type removed.
11882 (struct thread_node, struct timer_node): Replace struct list_links
11883 with struct list_head.
11884 (list_unlink_ip): Likewise.
11885 * sysdeps/pthread/timer_routines.c
11886 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11887 (list_append, list_insbefore): Likewise.
11888 (list_init): Function removed.
11889 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11890 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11891 * sysdeps/pthread/Makefile: ... here, new file.
11892
11893 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11894 * sysdeps/nptl/Implies: ... here.
11895 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11896 * nptl/sysdeps/pthread/list.h: Moved ...
11897 * include/list.h: ... here.
11898 * nptl/sysdeps/pthread/createthread.c: Moved ...
11899 * nptl/createthread.c: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11901 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11902 * nptl/pt-longjmp.c: ... here.
11903 * nptl/sysdeps/pthread/Makefile: Moved ...
11904 * sysdeps/nptl/Makefile: ... here.
11905 * nptl/sysdeps/pthread/Subdirs: Moved ...
11906 * sysdeps/nptl/Subdirs: ... here.
11907 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11908 * sysdeps/nptl/aio_misc.h: ... here.
11909 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11910 * sysdeps/nptl/bits/libc-lock.h: ... here.
11911 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11912 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11913 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11914 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11915 * nptl/sysdeps/pthread/configure: Moved ...
11916 * sysdeps/nptl/configure: ... here.
11917 * nptl/sysdeps/pthread/configure.ac: Moved ...
11918 * sysdeps/nptl/configure.ac: ... here.
11919 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11920 * sysdeps/nptl/gai_misc.h: ... here.
11921 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11922 * sysdeps/nptl/librt-cancellation.c: ... here.
11923 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11924 * sysdeps/nptl/malloc-machine.h: ... here.
11925 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11926 * sysdeps/nptl/pthread-functions.h: ... here.
11927 * nptl/sysdeps/pthread/pthread.h: Moved ...
11928 * sysdeps/nptl/pthread.h: ... here.
11929 * nptl/sysdeps/pthread/setxid.h: Moved ...
11930 * sysdeps/nptl/setxid.h: ... here.
11931 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11932 * sysdeps/nptl/sigfillset.c: ... here.
11933 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11934 * sysdeps/nptl/tcb-offsets.h: ... here.
11935 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11936 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11937 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11938 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11939 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11940 * sysdeps/pthread/allocalim.h: ... here.
11941 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11942 * sysdeps/pthread/bits/sigthread.h: ... here.
11943 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11944 * sysdeps/pthread/flockfile.c: ... here.
11945 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11946 * sysdeps/pthread/ftrylockfile.c: ... here.
11947 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11948 * sysdeps/pthread/funlockfile.c: ... here.
11949 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11950 * sysdeps/pthread/posix-timer.h: ... here.
11951 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11952 * sysdeps/pthread/timer_create.c: ... here.
11953 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11954 * sysdeps/pthread/timer_delete.c: ... here.
11955 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11956 * sysdeps/pthread/timer_getoverr.c: ... here.
11957 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11958 * sysdeps/pthread/timer_gettime.c: ... here.
11959 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11960 * sysdeps/pthread/timer_routines.c: ... here.
11961 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11962 * sysdeps/pthread/timer_settime.c: ... here.
11963 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11964 * sysdeps/pthread/tst-timer.c: ... here.
11965 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11966 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11967
11968 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11969 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11970
11971 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11972 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11973 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11974 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11975 Update #include target.
11976 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11977 * sysdeps/i386/i686/nptl/Makefile: ... here.
11978 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11979 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11980 Update #include target.
11981 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11982 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11983 * nptl/sysdeps/i386/Makefile: Moved ...
11984 * sysdeps/i386/nptl/Makefile: ... here.
11985 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11986 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11987 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11988 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11989 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11990 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11991 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11992 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11993 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11994 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11995 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11996 * nptl/sysdeps/i386/tls.h: Moved ...
11997 * sysdeps/i386/nptl/tls.h: ... here.
11998
11999 * sysdeps/sh/Makefile [$(subdir) = csu]
12000 (gen-as-const-headers): Add tcb-offsets.sym.
12001 * nptl/sysdeps/sh/Makefile: File removed.
12002 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12003 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12004 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12005 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12006 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12007 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12008 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12009 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12010 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12011 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12012 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12013 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12014 * nptl/sysdeps/sh/tls.h: Moved ...
12015 * sysdeps/sh/nptl/tls.h: ... here.
12016 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12017 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12018 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12019 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12020 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12021 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12022 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12023 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12024 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12025 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12026 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12027 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12029 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12031 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12033 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12034 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12035 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12036 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12037 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12038 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12039 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12040 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12041 Moved ...
12042 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12043 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12044 Moved ...
12045 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12046 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12047 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12048 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12049 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12050 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12051 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12052 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12053 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12054 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12055 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12056 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12057 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12058 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12059 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12060 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12061 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12062 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12063 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12064
12065 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12066
12067 * posix/spawn_faction_addopen.c: Include string.h.
12068
12069 2014-06-11 Roland McGrath <roland@hack.frob.com>
12070
12071 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12072 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12073 * nptl/sysdeps/x86_64/Makefile: Moved ...
12074 * sysdeps/x86_64/nptl/Makefile: ... here.
12075 * nptl/sysdeps/x86_64/configure: Moved ...
12076 * sysdeps/x86_64/nptl/configure: ... here.
12077 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12078 * sysdeps/x86_64/nptl/configure.ac: ... here.
12079 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12080 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12081 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12082 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12083 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12084 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12085 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12086 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12087 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12088 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12089 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12090 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12091 * nptl/sysdeps/x86_64/tls.h: Moved ...
12092 * sysdeps/x86_64/nptl/tls.h: ... here.
12093 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12094 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12095 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12096 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12097
12098 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12099
12100 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12101
12102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12103
12104 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12105
12106 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12107 type.
12108 [POSIX] (off_t): Likewise.
12109 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12110 [POSIX] (S_ISBLK): Require macro.
12111 [POSIX] (S_ISCHR): Likewise.
12112 [POSIX] (S_ISDIR): Likewise.
12113 [POSIX] (S_ISFIFO): Likewise.
12114 [POSIX] (S_ISREG): Likewise.
12115 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12116 optional-macro.
12117 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12118 type.
12119 [POSIX] (time_t): Likewise.
12120 [POSIX] (timer_t): Likewise.
12121
12122 2014-06-11 Florian Weimer <fweimer@redhat.com>
12123
12124 [BZ #17048]
12125 * posix/spawn_int.h (struct __spawn_action): Make the path string
12126 non-const to support deallocation.
12127 * posix/spawn_faction_addopen.c
12128 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12129 * posix/spawn_faction_destroy.c
12130 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12131 path in all spawn_do_open actions.
12132 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12133 posix_spawn_file_actions_addopen.
12134
12135 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12136
12137 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12138 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12139 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12140 conditional code always true.
12141 (__libc_vfork): New alias.
12142
12143 2014-06-11 Roland McGrath <roland@hack.frob.com>
12144
12145 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12146 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12147
12148 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12149
12150 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12151 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12152
12153 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12154 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12155
12156 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12157 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12158
12159 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12160
12161 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12162 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12163 multiarch strcmp for PPC64.
12164 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12165 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12167 multiarch optimizations.
12168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12169 (__libc_ifunc_impl_list): Likewise.
12170
12171 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12172
12173 * benchtests/scripts/validate_benchout.py: New script.
12174 * benchtests/Makefile (bench-func): Call it.
12175 * benchtests/scripts/benchout.schema.json: New file.
12176
12177 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12178
12179 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12180 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12181 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12182 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12183 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12184 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12185 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12186 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12187 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12188 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12189 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12190 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12191 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12192 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12193 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12194 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12196 Moved ...
12197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12198 ... here.
12199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12200 Moved ...
12201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12203 Moved ...
12204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12205 ... here.
12206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12207 Moved ...
12208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12209 ... here.
12210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12211 Moved ...
12212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12214 Moved ...
12215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12216 ... here.
12217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12218 Moved ...
12219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12220 ... here.
12221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12222 Moved ...
12223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12225 Moved ...
12226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12227 ... here.
12228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12229 Moved ...
12230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12231 ... here.
12232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12233 Moved ...
12234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12235 ... here.
12236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12237 Moved ...
12238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12240 Moved ...
12241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12242 ... here.
12243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12244 Moved ...
12245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12246 ... here.
12247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12248 Moved ...
12249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12250 ... here.
12251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12252 Moved ...
12253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12255 Moved ...
12256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12257 ... here.
12258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12259 Moved ...
12260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12261 ... here.
12262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12263 Moved ...
12264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12266 Moved ...
12267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12268 ... here.
12269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12270 Moved ...
12271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12273 Moved ...
12274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12276 Moved ...
12277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12278 ... here.
12279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12280 Moved ...
12281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12282 ... here.
12283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12284 Moved ...
12285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12286 ... here.
12287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12288 Moved ...
12289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12291 Moved ...
12292 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12293 ... here.
12294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12295 Moved ...
12296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12297 ... here.
12298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12299 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12301 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12303 Moved ...
12304 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12305 ... here.
12306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12307 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12308 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12309 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12311 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12312 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12313 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12314 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12315 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12316 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12317 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12319 Moved ...
12320 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12321 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12322 Moved ...
12323 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12324 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12325 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12326 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12327 Moved ...
12328 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12330 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12331 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12332 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12333 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12334 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12335
12336 2014-06-10 Wilco <wdijkstr@arm.com>
12337
12338 * math/test-fenv-return.c: New file.
12339 * math/Makefile: Add new test test-fenv-return.
12340
12341 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12342
12343 [BZ #17042]
12344 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12345 when x - 1 is zero.
12346 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12347 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12348 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12349 0.0L for an argument of 1.0L.
12350 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12351 Likewise.
12352 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12353 value when x - 1 is zero.
12354 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12355 * sysdeps/i386/fpu/libm-test-ulps: Update.
12356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12357
12358 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12359
12360 [BZ #15119]
12361 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12362
12363 2014-06-09 Roland McGrath <roland@hack.frob.com>
12364
12365 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12366 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12367
12368 2014-06-09 Roland McGrath <roland@hack.frob.com>
12369
12370 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12371 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12372
12373 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12374 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12375
12376 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12377 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12378
12379 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12380 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12381
12382 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12383 if not already defined.
12384 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12385 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12386 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12387 (TLS_INIT_TP): Use it.
12388 (TLS_DEFINE_INIT_TP): New macro.
12389 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12390
12391 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12392
12393 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12394 constant.
12395 [POSIX] (IXANY): Likewise.
12396 [POSIX] (OLCUC): Likewise.
12397 [POSIX || POSIX2008] (CBAUD): Do not allow.
12398 [POSIX || POSIX2008] (DEFECHO): Likewise.
12399 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12400 [POSIX || POSIX2008] (ECHOKE): Likewise.
12401 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12402 [POSIX || POSIX2008] (EXTA): Likewise.
12403 [POSIX || POSIX2008] (EXTB): Likewise.
12404 [POSIX || POSIX2008] (FLUSHO): Likewise.
12405 [POSIX || POSIX2008] (LOBLK): Likewise.
12406 [POSIX || POSIX2008] (PENDIN): Likewise.
12407 [POSIX || POSIX2008] (SWTCH): Likewise.
12408 [POSIX || POSIX2008] (VDISCARD): Likewise.
12409 [POSIX || POSIX2008] (VDSUSP): Likewise.
12410 [POSIX || POSIX2008] (VLNEXT): Likewise.
12411 [POSIX || POSIX2008] (VREPRINT): Likewise.
12412 [POSIX || POSIX2008] (VSTATUS): Likewise.
12413 [POSIX || POSIX2008] (VWERASE): Likewise.
12414 (B*): Change to B[0123456789]*.
12415 * conform/data/time.h-data [POSIX || UNIX98]
12416 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12417 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12418 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12419 [POSIX] (tm_*): Do not allow.
12420
12421 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12422
12423 * Makefile (install): Don't set LANGUAGE.
12424 * Makefile.in (install): Likewise.
12425 * assert/Makefile (test-assert-ENV): Remove variable.
12426 (test-assert-perr-ENV): Likewise.
12427 * elf/Makefile (neededtest4-ENV): Likewise.
12428 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12429 [$(cross-compiling) = no]: Don't set LANGUAGE.
12430 * io/ftwtest-sh (LANG): Remove variable.
12431 * libio/Makefile (tst-widetext-ENV): Likewise.
12432 * manual/install.texi (Running make install): Don't refer to
12433 environment settings for make install.
12434 * INSTALL: Regenerated.
12435 * nptl/tst-tls6.sh: Don't set LANG.
12436 * posix/globtest.sh (LANG): Remove variable.
12437 * string/Makefile (tester-ENV): Likewise.
12438 (inl-tester-ENV): Likewise.
12439 (noinl-tester-ENV): Likewise.
12440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12441 [$(cross-compiling) = no]: Don't set LANGUAGE.
12442 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12443 without explicit environment settings.
12444
12445 2014-06-06 Roland McGrath <roland@hack.frob.com>
12446
12447 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12448 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12450 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12451
12452 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12453
12454 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12455 other files in the crypt directory.
12456 * crypt/crypt.c: Remove duplicate includes.
12457 * crypt/crypt-entry.c: Likewise.
12458 * crypt/crypt_util.c: Likewise.
12459
12460 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12461
12462 * Makeconfig (run-program-env): New variable.
12463 (run-program-prefix-before-env): Likewise.
12464 (run-program-prefix-after-env): Likewise.
12465 (run-program-prefix): Define in terms of new variables.
12466 (built-program-cmd-before-env): New variable.
12467 (built-program-cmd-after-env): Likewise.
12468 (built-program-cmd): Define in terms of new variables.
12469 (test-program-prefix-before-env): New variable.
12470 (test-program-prefix-after-env): Likewise.
12471 (test-program-prefix): Define in terms of new variables.
12472 (test-program-cmd-before-env): New variable.
12473 (test-program-cmd-after-env): Likewise.
12474 (test-program-cmd): Define in terms of new variables.
12475 * Rules (make-test-out): Use $(run-program-env).
12476 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12477 (help): Do not mention environment variables. Mention
12478 --timeoutfactor option.
12479 (timeoutfactor): New variable.
12480 (blacklist_exports): Remove function.
12481 (exports): Remove variable.
12482 (command): Do not include ${exports}.
12483 * manual/install.texi (Configuring and compiling): Do not mention
12484 test wrappers preserving environment variables. Mention that last
12485 assignment to a variable must take precedence.
12486 * INSTALL: Regenerated.
12487 * benchtests/Makefile (run-bench): Use $(run-program-env).
12488 * catgets/Makefile ($(objpfx)test1.cat): Use
12489 $(built-program-cmd-before-env), $(run-program-env) and
12490 $(built-program-cmd-after-env).
12491 ($(objpfx)test2.cat): Do not specify environment variables
12492 explicitly.
12493 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12494 $(run-program-env) and $(built-program-cmd-after-env).
12495 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12496 $(run-program-env) and $(test-program-cmd-after-env).
12497 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12498 explicitly.
12499 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12500 run_program_env and test_program_cmd_after_env arguments.
12501 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12502 * elf/tst-pathopt.sh: Use run_program_env argument.
12503 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12504 $(test-wrapper-env) and $(run-program-env).
12505 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12506 run_program_env arguments.
12507 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12508 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12509 $(test-program-prefix-before-env), $(run-program-env) and
12510 $(test-program-prefix-after-env).
12511 ($(objpfx)tst-gettext2.out): Likewise.
12512 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12513 run_program_env and test_program_prefix_after_env arguments.
12514 * intl/tst-gettext2.sh: Likewise.
12515 * intl/tst-gettext4.sh: Do not set environment variables
12516 explicitly.
12517 * intl/tst-gettext6.sh: Likewise.
12518 * intl/tst-translit.sh: Likewise.
12519 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12520 $(test-program-prefix-before-env), $(run-program-env) and
12521 $(test-program-prefix-after-env).
12522 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12523 run_program_env and test_program_prefix_after_env arguments.
12524 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12525 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12526 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12527 explicitly with each use of ${test_wrapper_env}.
12528 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12529 $(test-program-prefix-before-env), $(run-program-env) and
12530 $(test-program-prefix-after-env).
12531 * posix/tst-getconf.sh: Do not set environment variables
12532 explicitly.
12533 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12534 run_program_env and test_program_prefix_after_env arguments.
12535 * stdio-common/tst-printf.sh: Do not set environment variables
12536 explicitly.
12537 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12538 $(test-program-prefix-before-env), $(run-program-env) and
12539 $(test-program-prefix-after-env).
12540 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12541 run_program_env and test_program_prefix_after_env arguments.
12542 Split $test calls into $test_pre and $test.
12543 * timezone/Makefile (build-testdata): Use
12544 $(built-program-cmd-before-env), $(run-program-env) and
12545 $(built-program-cmd-after-env).
12546
12547 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12548
12549 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12550 strlen for non SHARED builds.
12551
12552 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12553
12554 * nptl/allocatestack.c (check_list): Inlined function...
12555 (__reclaim_stacks): ... here.
12556
12557 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12558
12559 [BZ #15698]
12560 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12561 memory overrun.
12562
12563 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12564
12565 * Rules (make-test-out): Include
12566 LOCPATH=$(common-objpfx)localedata in default environment.
12567 * debug/Makefile (tst-chk1-ENV): Remove variable.
12568 (tst-chk2-ENV): Likewise.
12569 (tst-chk3-ENV): Likewise.
12570 (tst-chk4-ENV): Likewise.
12571 (tst-chk5-ENV): Likewise.
12572 (tst-chk6-ENV): Likewise.
12573 (tst-lfschk1-ENV): Likewise.
12574 (tst-lfschk2-ENV): Likewise.
12575 (tst-lfschk3-ENV): Likewise.
12576 (tst-lfschk4-ENV): Likewise.
12577 (tst-lfschk5-ENV): Likewise.
12578 (tst-lfschk6-ENV): Likewise.
12579 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12580 (tst-iconv7-ENV): Likewise.
12581 * intl/Makefile (LOCPATH-ENV): Likewise.
12582 (tst-codeset-ENV): Likewise.
12583 (tst-gettext3-ENV): Likewise.
12584 (tst-gettext5-ENV): Likewise.
12585 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12586 (tst-fopenloc-ENV): Likewise.
12587 (tst-fgetws-ENV): Remove variable.
12588 (tst-ungetwc1-ENV): Likewise.
12589 (tst-ungetwc2-ENV): Likewise.
12590 (bug-ungetwc2-ENV): Likewise.
12591 (tst-swscanf-ENV): Likewise.
12592 (bug-ftell-ENV): Likewise.
12593 (tst-fgetwc-ENV): Likewise.
12594 (tst-fseek-ENV): Likewise.
12595 (tst-ftell-partial-wide-ENV): Likewise.
12596 (tst-ftell-active-handler-ENV): Likewise.
12597 (tst-ftell-append-ENV): Likewise.
12598 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12599 (tst-regexloc-ENV): Likewise.
12600 (bug-regex1-ENV): Likewise.
12601 (tst-regex-ENV): Likewise.
12602 (tst-regex2-ENV): Likewise.
12603 (bug-regex5-ENV): Likewise.
12604 (bug-regex6-ENV): Likewise.
12605 (bug-regex17-ENV): Likewise.
12606 (bug-regex18-ENV): Likewise.
12607 (bug-regex19-ENV): Likewise.
12608 (bug-regex20-ENV): Likewise.
12609 (bug-regex22-ENV): Likewise.
12610 (bug-regex23-ENV): Likewise.
12611 (bug-regex25-ENV): Likewise.
12612 (bug-regex26-ENV): Likewise.
12613 (bug-regex30-ENV): Likewise.
12614 (bug-regex32-ENV): Likewise.
12615 (bug-regex33-ENV): Likewise.
12616 (bug-regex34-ENV): Likewise.
12617 (bug-regex35-ENV): Likewise.
12618 (tst-rxspencer-ENV): Likewise.
12619 (tst-rxspencer-no-utf8-ENV): Likewise.
12620 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12621 (tst-sscanf-ENV): Likewise.
12622 (tst-swprintf-ENV): Likewise.
12623 (tst-swscanf-ENV): Likewise.
12624 (test-vfprintf-ENV): Likewise.
12625 (scanf13-ENV): Likewise.
12626 (bug14-ENV): Likewise.
12627 (tst-grouping-ENV): Likewise.
12628 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12629 (tst-strtod3-ENV): Likewise.
12630 (tst-strtod4-ENV): Likewise.
12631 (tst-strtod5-ENV): Likewise.
12632 (testmb2-ENV): Likewise./
12633 * string/Makefile (tst-strxfrm-ENV): Likewise.
12634 (tst-strxfrm2-ENV): Likewise.
12635 (bug-strcoll1-ENV): Likewise.
12636 (test-strcasecmp-ENV): Likewise.
12637 (test-strncasecmp-ENV): Likewise.
12638 * time/Makefile (tst-strptime-ENV): Likewise.
12639 (tst-ftime_l-ENV): Likewise.
12640 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12641 (tst-mbrtowc-ENV): Likewise.
12642 (tst-wcrtomb-ENV): Likewise.
12643 (tst-mbrtowc2-ENV): Likewise.
12644 (tst-c16c32-1-ENV): Likewise.
12645 (tst-mbsnrtowcs-ENV): Likewise.
12646
12647 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12648
12649 * manual/resource.texi (How to get information about the memory
12650 subsystem?): Fix typo.
12651 Reported by Peon de la Parra Ivan <peon@keba.com>
12652
12653 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12654
12655 [BZ #16882]
12656 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12657 (pthread_spin_lock): Branch out of spin loop to proper location.
12658 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12659 (pthread_spin_lock): Likewise.
12660
12661 * nptl/tst-spin4.c: New test.
12662 * nptl/Makefile (tests): Add tst-spin4.
12663
12664 2014-06-03 Andreas Schwab <schwab@suse.de>
12665
12666 [BZ #15946]
12667 * resolv/res_send.c (send_dg): Reload file descriptor after
12668 calling reopen.
12669
12670 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12671
12672 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12673
12674 2014-06-03 Richard Henderson <rth@redhat.com>
12675
12676 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12677 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12678 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12679 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12680 in the SAVE_PID block.
12681 (__libc_vfork): New alias.
12682 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12683
12684 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12685 child in registers, not on the stack. Remove RESET_PID conditionals.
12686 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12687
12688 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12689
12690 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12691
12692 2014-06-03 Wilco <wdijkstr@arm.com>
12693
12694 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12695 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12696 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12697 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12698 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12699 Likewise.
12700
12701 2014-06-03 Wilco <wdijkstr@arm.com>
12702
12703 * sysdeps/aarch64/fpu/math_private.h
12704 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12705 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12706 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12707 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12708 Fix declarations.
12709
12710 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12711
12712 * crypt/crypt-private.h: Include ufc-crypt.h.
12713 (__b64_from_24bit): Declare extern.
12714 * crypt/crypt_util.c(__b64_from_24bit): New function.
12715 (b64t): New static const variable.
12716 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12717 (b64t): Remove variable.
12718 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12719 * crypt/sha256-crypt.c: Include crypt-private.h.
12720 (b64t): Remove variable.
12721 (__sha256_crypt_r): Remove b64_from_24bit and replace
12722 with __b64_from_24bit.
12723 * crypt/sha512-crypt.c: Likewise.
12724
12725 2014-06-02 Roland McGrath <roland@hack.frob.com>
12726
12727 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12728 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12729 Label the code __libc_vfork rather than __vfork.
12730 [!NOT_IN_libc] (vfork): Define as weak alias.
12731 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12732 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12733 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12734
12735 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12736
12737 * malloc/malloc.c (malloc_info): Fix format specifier for
12738 n_mmaps.
12739
12740 2014-06-02 Wilco <wdijkstr@arm.com>
12741
12742 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12743 FPCR write.
12744
12745 2014-06-02 Wilco <wdijkstr@arm.com>
12746
12747 [BZ #17009]
12748 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12749 Rewrite to reduce FPCR/FPSR accesses.
12750
12751 2014-06-01 David S. Miller <davem@davemloft.net>
12752
12753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12754
12755 2014-05-31 David S. Miller <davem@davemloft.net>
12756
12757 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12758 to occur in round to nearest mode when |x| >= 2.0
12759
12760 2014-05-30 Richard Henderson <rth@twiddle.net>
12761
12762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12763 (PSEUDO_RET_NOERRNO): Remove.
12764 (ret): Don't redefine.
12765 (ret_NOERRNO): Define in terms of ret.
12766 (ret_ERRVAL): Likewise.
12767
12768 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12769 use of PSEUDO_RET; perform the error check directly.
12770
12771 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12772
12773 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12774 with __int128_t.
12775
12776 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12777
12778 * malloc/malloc (malloc_info): Fix formatting.
12779
12780 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12781 Roland McGrath <roland@hack.frob.com>
12782
12783 * malloc/malloc (malloc_info): Also print mmapped statistics.
12784
12785 2014-05-30 Roland McGrath <roland@hack.frob.com>
12786
12787 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12788 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12789
12790 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12791
12792 * malloc/malloc.c (malloc_info): Inline mi_arena.
12793
12794 2014-05-29 Richard Henderson <rth@twiddle.net>
12795
12796 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12797 Remove comma before expanding ASM_ARGS_##nr.
12798 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12799 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12800 of ASM_ARGS_##nr.
12801 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12802 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12803 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12804 (ASM_ARGS_1): Add leading comma.
12805
12806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12807 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12808 to __errno_location.
12809 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12810 Remove the expected plt for __errno_location.
12811
12812 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12813 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12814 call to __read_tp.
12815
12816 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12817 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12818 it and break it down.
12819 (DOCARGS_0, DOCARGS_1): Do nothing.
12820 (DOCARGS_2): Update to store into the new stack frame.
12821 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12822 (UNDOCARGS_1): Update to restore from the new stack frame.
12823 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12824 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12825
12826 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12827 (SINGLE_THREAD_P): New parameter for result regno.
12828 (PSEUDO): Update to match; use cbz instead of beq.
12829
12830 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12831 Use ENTRY to define the _nocancel entry point. Share the syscall
12832 and syscall error check paths with the cancel path.
12833 (PSEUDO_END): New.
12834
12835 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12836 whitespace; tabs before and after asm mnemonics.
12837
12838 2014-05-29 Eric Wong <normalperson@yhbt.net>
12839
12840 [BZ #15132]
12841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12842 Call fstat64 or stat64 internally, depending on arguments passed.
12843 Replace stat buffer argument with file descriptor argument.
12844 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12845 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12846 Pass fd to __internal_statvfs instead of calling fstat64.
12847 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12848 Pass fd to __internal_statvfs64 instead of calling fstat64.
12849 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12850 Pass -1 to __internal_statvfs instead of calling stat64.
12851 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12852 Pass -1 to __internal_statvfs64 instead of calling stat64.
12853
12854 2014-05-28 Roland McGrath <roland@hack.frob.com>
12855
12856 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12857 that was previously under [RESET_PID].
12858 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12859
12860 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12861 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12862
12863 2014-05-27 Roland McGrath <roland@hack.frob.com>
12864
12865 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12866
12867 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12868 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12869
12870 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12871
12872 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12873
12874 2014-05-27 Andreas Schwab <schwab@suse.de>
12875
12876 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12877 TLS_INIT_TP macro.
12878 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12879 * elf/rtld.c (init_tls, dl_main): Likewise.
12880 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12881 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12882 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12883 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12884 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12885 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12886 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12887 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12888 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12889 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12890 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12891 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12892 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12893 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12894 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12895 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12896 * sysdeps/generic/tls.h: Update description.
12897
12898 2014-05-27 Will Newton <will.newton@linaro.org>
12899
12900 [BZ #16990]
12901 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12902 and restore r2 rather than just restoring.
12903
12904 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12905
12906 [BZ #16724]
12907 * libio/tst-ftell-append.c: New test case.
12908 * libio/Makefile (tests): Add test case.
12909 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12910 append mode.
12911 * libio/wfileops.c (do_ftell_wide): Likewise.
12912
12913 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12914
12915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12916
12917 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12918 ...
12919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12921 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12922 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12923 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12924 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12925 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12926 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12927 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12928 Moved ...
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12930 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12931 Moved ...
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12933 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12934 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12935 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12936 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12937 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12938 ...
12939 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12940 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12941 Moved ...
12942 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12943 here.
12944 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12945 ...
12946 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12947 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12948 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12949
12950 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12951 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12952 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12953 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12954
12955 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12956 merge into ...
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12958 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12959 ...
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12961 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12962 ...
12963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12965 Moved ...
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12967 here.
12968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12969 Moved ...
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12972 Moved ...
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12974
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12976 conditional [RESET_PID].
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12979 removed.
12980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12981 removed.
12982
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12984 <tcb-offsets.h>.
12985 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12986 (__libc_vfork): New strong alias.
12987 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12988 removed.
12989 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12990 Removed.
12991
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12993 <tcb-offsets.h>.
12994 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12995 (__libc_vfork): New strong alias.
12996 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12997 removed.
12998 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12999 removed.
13000
13001 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13002
13003 * malloc/malloc.c (mi_arena): New function.
13004 (malloc_info): Remove nested function mi_arena. Call non-nosted
13005 function mi_arena.
13006
13007 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13008
13009 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13010 by insrwi.
13011 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13012 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13013 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13014 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13015 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13016 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13017 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13018
13019 2014-05-26 Andreas Schwab <schwab@suse.de>
13020
13021 [BZ #16984]
13022 * locale/programs/repertoire.c (repertoire_read): Add slash
13023 between I18NPATH element and file name.
13024 * locale/programs/locfile.c (locfile_read): Likewise.
13025
13026 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13027
13028 * nptl/pthread_mutexattr_settype.c
13029 (__pthread_mutexattr_settype):
13030 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13031
13032 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13033
13034 * nptl/tst-mutex5 (do_test):
13035 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13036
13037 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13038
13039 * benchtests/README: Document 'init' directive.
13040 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13041 BENCH_INIT.
13042 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13043 (parse_file): Recognize 'init' directive.
13044
13045 2014-05-26 Kyle McMartin <kyle@redhat.com>
13046
13047 [BZ #16796]
13048 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13049 alignment of struct pthread.
13050
13051 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13052
13053 [BZ #16878]
13054 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13055 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13056 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13057 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13058
13059 2014-05-25 Richard Henderson <rth@twiddle.net>
13060
13061 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13062 (SINGLE_THREAD_P_PIC): Remove.
13063 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13064 (SINGLE_THREAD_P_PIC): Remove.
13065
13066 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13067 branch to syscall error ...
13068 (PSEUDO): ... here.
13069 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13070 from __local_syscall_error to .Lsyscall_error.
13071 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13072 (SYSCALL_ERROR): Update label name.
13073
13074 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13075 Do not use DOARGS/UNDOARGS.
13076 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13077 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13078 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13079 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13080 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13081
13082 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13083 block comment.
13084
13085 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13086 define if !NOT_IN_libc.
13087 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13088 define with non-default symbol versions.
13089
13090 2014-05-23 Richard Henderson <rth@twiddle.net>
13091
13092 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13093 (vfork, __vfork): Define via compat_symbol.
13094
13095 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13096 [!HAVE_IFUNC] (vfork_compat): Remove.
13097 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13098
13099 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13100
13101 [BZ #16978]
13102 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13103 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13104 variable.
13105
13106 2014-05-23 Richard Henderson <rth@twiddle.net>
13107
13108 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13109 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13110 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13111 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13112
13113 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13114 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13115 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13116 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13117 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13118 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13119 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13120 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13121 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13122 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13123 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13124 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13125 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13126 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13127 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13128 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13129 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13130 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13131 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13132 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13133 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13134 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13135 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13136 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13137 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13138 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13139 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13140 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13141 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13142 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13143 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13144 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13145 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13146 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13147 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13148 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13149 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13150 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13151 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13152 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13153 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13154 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13155 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13156 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13157 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13158 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13159 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13160 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13161 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13162 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13164 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13166 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13167 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13168 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13169
13170 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13171 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13172 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13173 before exiting on error.
13174 (__libc_vfork): New strong alias.
13175 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13176 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13177
13178 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13179 that was previously under [RESET_PID].
13180 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13181
13182 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13183
13184 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13185
13186 [BZ #16977]
13187 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13188 value when x - 1 is zero.
13189 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13190 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13191 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13192 0.0L for an argument of 1.0L.
13193 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13194 Likewise.
13195 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13196 value when x - 1 is zero.
13197 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13198 * sysdeps/i386/fpu/libm-test-ulps: Update.
13199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13200
13201 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13202
13203 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13204 alphasort and versionsort.
13205
13206 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13207
13208 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13209 macro.
13210 [copysignf]: Likewise.
13211
13212 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
13214 * crypt/md5-crypt.c: Fix formatting.
13215
13216 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13217
13218 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13219 (b64_from_24bit): New function.
13220
13221 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13222
13223 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13224 libc_hidden_builtin_def to ifunc.
13225 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13226 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13227
13228 2014-05-21 Roland McGrath <roland@hack.frob.com>
13229
13230 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13231 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13232
13233 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13234
13235 * nscd/Depend (linuxthreads): Remove.
13236 (nptl): Add.
13237 * resolv/Depend (linuxthreads): Remove.
13238 * rt/Depend (linuxthreads): Remove.
13239
13240 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13241 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13242 $(common-objpfx)elf/.
13243 (link-libc-before-gnulib): Likewise.
13244 (elfobjdir): Remove variable.
13245 * Makefile (install): Use $(elf-objpfx) instead of
13246 $(common-objpfx)elf/.
13247 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13248 $(elfobjdir)/.
13249 (link-libc-deps): Likewise.
13250 ($(common-objpfx)libc.so): Likewise.
13251 ($(common-objpfx)linkobj/libc.so): Likewise.
13252 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13253 instead of $(common-objpfx)elf/.
13254 (symbolic-link-list): Likewise.
13255 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13256 [$(cross-compiling) = no]: Likewise.
13257 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13258 $(elfobjdir)/.
13259 (static-gnulib-arch): Likewise.
13260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13261 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13262 $(common-objpfx)elf/.
13263
13264 2014-05-21 Richard Henderson <rth@redhat.com>
13265
13266 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13267 (SINGLE_THREAD_P): Use the correct width load. Fold
13268 into the ldr offset.
13269
13270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13271 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13272
13273 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13274
13275 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13276 (libgcc_s_resume): Use __attribute_used__.
13277 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13278 Likewise.
13279
13280 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13281
13282 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13283 optimization when used with float constants.
13284
13285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13286
13287 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13288
13289 [BZ #16915]
13290 * locale/nl_langinfo_l.c: Make direct reference to every
13291 _nl_current_CATEGORY symbol.
13292 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13293 (tests-static): Add tst-langinfo-static.
13294 (tests-special): Add tst-langinfo-static.out.
13295 ($(objpfx)tst-langinfo.out): Redirect output.
13296 ($(objpfx)tst-langinfo-static.out): New.
13297 * localedata/tst-langinfo.sh: Send output to stdout.
13298 * localedata/tst-langinfo-static.c: New file.
13299
13300 [BZ #16965]
13301 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13302 when the shift amount is modulo the limb size.
13303
13304 2014-05-20 Richard Henderson <rth@redhat.com>
13305
13306 [BZ #16967]
13307 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13308 Change type of sa_flags from unsigned int to int.
13309
13310 [BZ #16966]
13311 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13312
13313 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13314
13315 2014-05-20 Will Newton <will.newton@linaro.org>
13316
13317 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13318 Test the return value of the system call in the nocancel case.
13319
13320 2014-05-20 Will Newton <will.newton@linaro.org>
13321 Yvan Roux <yvan.roux@linaro.org>
13322
13323 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13324 #include of asm/ptrace.h.
13325 (PTRACE_GET_THREAD_AREA): Remove #undef.
13326 (PTRACE_GETHBPREGS): Likewise.
13327 (PTRACE_SETHBPREGS): Likewise.
13328 (struct user_regs_struct): New structure.
13329 (struct user_fpsimd_struct): New structure.
13330 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13331 #include of asm/ptrace.h and second #include of sys/user.h.
13332 (PTRACE_GET_THREAD_AREA): Remove #undef.
13333 (PTRACE_GETHBPREGS): Likewise.
13334 (PTRACE_SETHBPREGS): Likewise.
13335 (ELF_NGREG): Use new struct user_regs_struct.
13336 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13337
13338 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13339
13340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13342
13343 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13344
13345 [BZ #16958]
13346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13347 membar to avoid block loads/stores to overlap previous stores.
13348
13349 2014-05-17 Richard Henderson <rth@redhat.com>
13350
13351 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13352 Create the __##syscall_name##_nocancel entry point.
13353 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13354 Remove; let the sysdep-cancel.h code create it.
13355
13356 2014-05-17 David S. Miller <davem@davemloft.net>
13357
13358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13359 Protect with __USE_GNU.
13360 (TIOCSET_TEMPT): Likewise.
13361 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13362 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13363 these are already provided in bits/ioctl-types.h
13364
13365 2014-05-16 Roland McGrath <roland@hack.frob.com>
13366
13367 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13368 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13369
13370 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13371 Use wait4 regardless of [__NR_waitpid].
13372
13373 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13374
13375 PR libgcc/60166
13376 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13377 (_FP_NANSIGN_Q): Set the quiet bit.
13378
13379 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13380
13381 * benchtests/Makefile
13382 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13383 not $(common-objpfx)math/libm.so.
13384 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13385 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13386 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13387 $(common-objpfx)dlfcn/libdl.so.
13388 ($(objpfx)tst-audit8): Depend on $(libm), not
13389 $(common-objpfx)math/libm.so.
13390 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13391 not $(common-objpfx)dlfcn/libdl.so.
13392 * math/Makefile
13393 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13394 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13395 [$(build-shared) = yes].
13396 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13397 $(common-objpfx)nptl/libpthread.so.
13398 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13399 $(common-objpfx)math/libm.so$(libm.so-version) or
13400 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13401 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13402 $(common-objpfx)dlfcn/libdl.so.
13403 * setjmp/Makefile (link-libm): Remove variable.
13404 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13405 * stdio-common/Makefile (link-libm): Remove variable.
13406 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13407 * stdlib/Makefile (link-libm): Remove variable.
13408 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13409 ($(objpfx)tst-strtod-round): Likewise.
13410 ($(objpfx)tst-tininess): Likewise.
13411 ($(objpfx)tst-strtod-underflow): Likewise.
13412 ($(objpfx)tst-strtod6): Likewise.
13413 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13414 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13415 $(common-objpfx)dlfcn/libdl.so.
13416
13417 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13418
13419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13420 BSD terminal modes definitions.
13421
13422 2014-05-16 Roland McGrath <roland@hack.frob.com>
13423
13424 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13425 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13426
13427 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13428 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13429 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13430 Don't do #include_next.
13431 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13432 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13433 Don't do #include_next.
13434 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13435 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13436 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13437 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13438
13439 2014-05-16 Allan McRae <allan@archlinux.org>
13440
13441 * po/sv.po: Update Swedish translation from translation project.
13442
13443 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13444 in sed expression.
13445
13446 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13447
13448 [BZ #16917]
13449 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13450 errno if the TIOCGPTN ioctl fails with an error different than
13451 EINVAL.
13452 * login/tst-ptsname.c: New file.
13453 * login/Makefile (tests): Add tst-ptsname.
13454
13455 [BZ #16943]
13456 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13457 and prlimit64.
13458
13459 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13460
13461 [BZ #16849]
13462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13463 herrno to return EAI_AGAIN.
13464
13465 2014-05-14 Roland McGrath <roland@hack.frob.com>
13466
13467 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13468 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13469 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13470 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13471 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13472 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13473 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13474 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13476 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13477 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13478 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13479 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13480 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13481 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13482 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13483 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13484 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13485 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13486 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13487 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13488 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13489 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13490 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13491 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13492 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13493 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13494 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13495 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13496 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13498 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13500 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13502 Moved ...
13503 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13505 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13507 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13509 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13511 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13513 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13515 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13517 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13519 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13521 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13523 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13525 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13527 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13529 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13531 Moved ...
13532 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13534 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13536 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13538 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13540 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13542 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13544 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13546 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13548 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13550 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13552 Moved ...
13553 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13555 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13556
13557 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13558 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13559 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13560 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13561 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13562 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13563 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13564 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13565 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13566 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13567 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13568 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13569 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13571 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13572 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13573 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13575 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13577 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13578 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13579 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13580 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13581 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13582 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13583 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13584 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13585 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13586 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13587 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13588
13589 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13590 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13591
13592 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13593 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13594 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13595 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13596 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13597 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13598 Moved ...
13599 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13601 Moved ...
13602 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13603 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13604 Moved ...
13605 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13606 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13607 Moved ...
13608 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13609 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13610 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13611 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13612 Moved ...
13613 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13614 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13615 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13616 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13617 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13618 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13619 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13620 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13621 Moved ...
13622 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13624 Moved ...
13625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13626 ... here.
13627 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13628 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13629 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13630 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13631 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13632 Moved ...
13633 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13634 ... here.
13635 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13636 Moved ...
13637 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13638 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13639 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13640 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13641 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13642 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13643 Moved ...
13644 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13646 Moved ...
13647 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13648 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13649 Moved ...
13650 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13651 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13652 Moved ...
13653 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13654 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13655 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13657 Moved ...
13658 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13659 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13660 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13661 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13662 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13663 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13664 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13665 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13666 Moved ...
13667 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13669 Moved ...
13670 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13671 ... here.
13672 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13673 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13674 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13675 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13676 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13677 Moved ...
13678 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13679 ... here.
13680 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13681 Moved ...
13682 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13683 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13684 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13685 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13686 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13687 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13688 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13689 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13690 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13691 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13692 Moved ...
13693 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13694 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13695 Moved ...
13696 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13697 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13698 Moved ...
13699 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13701 Moved ...
13702 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13703 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13704 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13706 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13707 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13708 Moved ...
13709 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13710 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13711 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13712 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13713 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13714 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13715 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13716 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13717 Moved ...
13718 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13720 Moved ...
13721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13722 ... here.
13723 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13724 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13725 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13726 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13727 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13728 Moved ...
13729 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13730 ... here.
13731 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13732 Moved ...
13733 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13734 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13735 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13736 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13737 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13738 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13739 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13740 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13741 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13742 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13743 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13744
13745 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13746 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13747
13748 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13749 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13750
13751 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13752 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13753 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13754 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13755 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13756 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13757 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13758 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13759 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13760 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13761 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13762 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13763 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13765 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13767 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13769 Moved ...
13770 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13771 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13772 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13774 Moved ...
13775 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13776 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13777 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13778 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13779 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13781 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13782 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13783 Moved ...
13784 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13785 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13786 Moved ...
13787 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13788 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13789 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13790 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13791 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13792 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13793 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13795 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13796 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13797 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13798 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13799 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13801 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13803 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13804
13805 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13806 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13807 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13808 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13809 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13810
13811 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13812 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13814 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13815 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13816 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13817 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13818 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13819 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13820 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13821
13822 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13824
13825 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13826 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13827 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13828 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13829 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13830 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13831 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13832 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13833 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13834 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13835 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13836 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13837 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13838 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13840 Update #include.
13841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13842 Likewise.
13843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13844 Likewise.
13845 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13846 Likewise.
13847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13848 Likewise.
13849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13850 Likewise.
13851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13852 Likewise.
13853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13854 Likewise.
13855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13856 Likewise.
13857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13858 Likewise.
13859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13864 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13865 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13866 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13867 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13868 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13869 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13870 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13871 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13873 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13874
13875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13876 that was previously under [RESET_PID].
13877 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13878 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13879 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13880
13881 * sysdeps/i386/nptl/Implies: New file.
13882 * sysdeps/x86_64/nptl/Implies: New file.
13883 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13884 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13886 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13887
13888 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13889 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13890 (__libc_vfork): New strong alias.
13891 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13892 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13893
13894 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13895 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13896 (__libc_vfork): New strong alias.
13897 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13898 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13899
13900 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13901 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13902 (__libc_vfork): New strong alias.
13903 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13904 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13905 * nptl/pt-vfork.c: New file.
13906 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13907 (libpthread: GLIBC_2.20): New version set (empty).
13908
13909 2014-05-14 Will Newton <will.newton@linaro.org>
13910
13911 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13912 rather than #if.
13913
13914 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13915
13916 [BZ #16564]
13917 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13918 arguments with exponent 65 or above.
13919 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13920 arguments 0x1p113L or above.
13921 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13922 to arguments 0x1p107L or above.
13923 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13924 positive arguments with exponent 65 or above.
13925 * math/auto-libm-test-in: Add more tests of log1p.
13926 * math/auto-libm-test-out: Regenerated.
13927
13928 [BZ #16928]
13929 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13930 non-finite arguments is +0.
13931 * math/s_cacosf.c (__cacosf): Likewise.
13932 * math/s_cacosl.c (__cacosl): Likewise.
13933 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13934 * sysdeps/i386/fpu/libm-test-ulps: Update.
13935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13936
13937 [BZ #16927]
13938 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13939 value.
13940 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13941 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13942 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13943 for explicit high bit of mantissa when testing for argument equal
13944 to 1.
13945 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13946 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13948
13949 [BZ #16516]
13950 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13951 (__erf): Scale by 16 instead of 8 in potentially underflowing
13952 case. Ensure exception if result actually underflows.
13953 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13954 (__erff): Scale by 16 instead of 8 in potentially underflowing
13955 case. Ensure exception if result actually underflows.
13956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13957 (efx8): Remove variable.
13958 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13959 case. Ensure exception if result actually underflows.
13960 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13961 (efx8): Remove variable.
13962 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13963 case. Ensure exception if result actually underflows.
13964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13965 (efx8): Remove variable.
13966 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13967 case. Ensure exception if result actually underflows.
13968 * math/auto-libm-test-in: Add more tests of erf.
13969 * math/auto-libm-test-out: Regenerated.
13970
13971 2014-05-14 Andreas Schwab <schwab@suse.de>
13972
13973 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13974 Remove code conditionalized on USE___THREAD.
13975
13976 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13977 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13978 not definedness.
13979
13980 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13981
13982 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13983 Define unconditionally.
13984 (__ASSUME_O_CLOEXEC): Likewise.
13985 (__ASSUME_SOCK_CLOEXEC): Likewise.
13986 (__ASSUME_IN_NONBLOCK): Likewise.
13987 (__ASSUME_PIPE2): Likewise.
13988 (__ASSUME_EVENTFD2): Likewise.
13989 (__ASSUME_SIGNALFD4): Likewise.
13990 (__ASSUME_DUP3): Likewise.
13991 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13992 (__ASSUME_DUP3): Do not define.
13993 (__ASSUME_EVENTFD2): Likewise.
13994 (__ASSUME_IN_NONBLOCK): Likewise.
13995 (__ASSUME_O_CLOEXEC): Likewise.
13996 (__ASSUME_PIPE2): Likewise.
13997 (__ASSUME_SIGNALFD4): Likewise.
13998 (__ASSUME_SOCK_CLOEXEC): Likewise.
13999 (__ASSUME_UTIMES): Undefine.
14000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14001 (__ASSUME_UTIMES): Do not define.
14002 (__ASSUME_O_CLOEXEC): Likewise.
14003 (__ASSUME_SOCK_CLOEXEC): Likewise.
14004 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14005 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14006 0x020621].
14007 (__ASSUME_PIPE2): Likewise.
14008 (__ASSUME_EVENTFD2): Likewise.
14009 (__ASSUME_SIGNALFD4): Likewise.
14010 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14011 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14012 Do not define.
14013 (__ASSUME_EVENTFD2): Likewise.
14014 (__ASSUME_SIGNALFD4): Likewise.
14015 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14016 (__ASSUME_32BITUIDS): Likewise.
14017 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14018 (__ASSUME_IPC64): Likewise.
14019 (__ASSUME_ST_INO_64_BIT): Likewise.
14020 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14021 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14022 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14023 (__ASSUME_UTIMES): Do not define.
14024 (__ASSUME_PSELECT): Likewise.
14025 (__ASSUME_PPOLL): Likewise.
14026 (__ASSUME_O_CLOEXEC): Likewise.
14027 (__ASSUME_SOCK_CLOEXEC): Likewise.
14028 (__ASSUME_IN_NONBLOCK): Likewise.
14029 (__ASSUME_PIPE2): Likewise.
14030 (__ASSUME_EVENTFD2): Likewise.
14031 (__ASSUME_SIGNALFD4): Likewise.
14032 (__ASSUME_DUP3): Likewise.
14033 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14034 (__ASSUME_UTIMES): Likewise.
14035 (__ASSUME_O_CLOEXEC): Likewise.
14036 (__ASSUME_SOCK_CLOEXEC): Likewise.
14037 (__ASSUME_IN_NONBLOCK): Likewise.
14038 (__ASSUME_PIPE2): Likewise.
14039 (__ASSUME_EVENTFD2): Likewise.
14040 (__ASSUME_SIGNALFD4): Likewise.
14041 (__ASSUME_DUP3): Likewise.
14042 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14043 (__ASSUME_UTIMES): Likewise.
14044 (__ASSUME_O_CLOEXEC): Likewise.
14045 (__ASSUME_SOCK_CLOEXEC): Likewise.
14046 (__ASSUME_IN_NONBLOCK): Likewise.
14047 (__ASSUME_PIPE2): Likewise.
14048 (__ASSUME_EVENTFD2): Likewise.
14049 (__ASSUME_SIGNALFD4): Likewise.
14050 (__ASSUME_DUP3): Likewise.
14051 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14052 Likewise.
14053 (__ASSUME_UTIMES): Likewise.
14054 (__ASSUME_EVENTFD2): Likewise.
14055 (__ASSUME_SIGNALFD4): Likewise.
14056 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14057 (__ASSUME_O_CLOEXEC): Likewise.
14058 (__ASSUME_SOCK_CLOEXEC): Likewise.
14059 (__ASSUME_IN_NONBLOCK): Likewise.
14060 (__ASSUME_PIPE2): Likewise.
14061 (__ASSUME_EVENTFD2): Likewise.
14062 (__ASSUME_SIGNALFD4): Likewise.
14063 (__ASSUME_DUP3): Likewise.
14064 (__ASSUME_UTIMES): Undefine.
14065
14066 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14067 feclearexcept. Remove symbol versioning code.
14068 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14069 symbol versioning code.
14070 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14071 symbol versioning code.
14072 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14073 feupdateenv. Remove symbol versioning code.
14074 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14075 fegetexceptflag. Remove symbol versioning code.
14076 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14077 fesetexceptflag. Remove symbol versioning code.
14078 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14079 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14080 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14081 (__posix_fadvise64_l32): Remove prototype.
14082 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14083 code.
14084
14085 2014-05-13 Roland McGrath <roland@hack.frob.com>
14086
14087 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14088 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14089 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14090 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14091
14092 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14093
14094 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14095 current working directory
14096
14097 2014-05-13 Roland McGrath <roland@hack.frob.com>
14098
14099 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14100 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14101 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14102 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14103 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14104 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14105 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14106 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14107 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14108 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14109 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14110 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14111 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14112 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14114 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14115 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14116 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14117 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14118 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14119 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14120 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14121 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14122 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14123 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14124 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14125 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14126 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14127 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14128 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14129 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14130 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14131 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14132 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14133 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14134 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14135 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14136 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14137 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14138 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14139 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14140 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14141
14142 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14143 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14144
14145 * sysdeps/unix/sysv/linux/arm/Makefile
14146 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14147 Add rt-aeabi_unwind_cpp_pr1.
14148 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14149 Add nptl-aeabi_unwind_cpp_pr1.
14150 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14151 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14152 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14153 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14154 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14155 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14156
14157 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14158 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14159 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14160 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14161
14162 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14163 Deconditionalize the code that was previously under [RESET_PID].
14164 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14165
14166 * sysdeps/generic/exit-thread.h: New file.
14167 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14168 * include/unistd.h (__exit_thread): Remove declaration.
14169 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14170 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14171 * csu/libc-start.c: Include <exit-thread.h>.
14172 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14173 * nptl/pthread_create.c: Include <exit-thread.h>.
14174 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14175 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14176 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14177 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14178 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14179 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14180 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14181 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14182 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14183 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14184 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14185 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14186 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14187 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14188 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14189 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14190 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14191
14192 2014-05-13 Andreas Schwab <schwab@suse.de>
14193
14194 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14195
14196 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14197
14198 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14199 (__ASSUME_UTIMES): Do not condition on kernel version.
14200 (__ASSUME_PSELECT): Define unconditionally.
14201 (__ASSUME_PPOLL): Likewise.
14202 (__ASSUME_ATFCTS): Likewise.
14203 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14204 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14205 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14206 (__ASSUME_UTIMENSAT): Define unconditionally.
14207 (__ASSUME_PRIVATE_FUTEX): Likewise.
14208 (__ASSUME_FALLOCATE): Likewise.
14209 (__ASSUME_O_CLOEXEC): Likewise.
14210 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14211 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14212 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14213 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14214 (__ASSUME_IN_NONBLOCK): Likewise.
14215 (__ASSUME_PIPE2): Likewise.
14216 (__ASSUME_EVENTFD2): Likewise.
14217 (__ASSUME_SIGNALFD4): Likewise.
14218 (__ASSUME_DUP3): Likewise.
14219 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14220 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14221 (__ASSUME_AT_RANDOM): Likewise.
14222 (__ASSUME_PREADV): Likewise.
14223 (__ASSUME_PWRITEV): Likewise.
14224 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14225 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14226 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14227 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14228 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14230 (__ASSUME_O_CLOEXEC): Define unconditionally.
14231 (__ASSUME_PSELECT): Do not undefine conditionally.
14232 (__ASSUME_PPOLL): Likewise.
14233 (__ASSUME_ATFCTS): Likewise.
14234 (__ASSUME_SET_ROBUST_LIST): Likewise.
14235 (__ASSUME_UTIMENSAT): Likewise.
14236 (__ASSUME_FDATASYNC): Define unconditionally.
14237 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14238 (__ASSUME_SIGFRAME_V2): Likewise.
14239 )__ASSUME_EVENTFD2): Likewise.
14240 (__ASSUME_SIGNALFD4): Likewise.
14241 (__ASSUME_PSELECT): Do not undefine conditionally.
14242 (__ASSUME_PPOLL): Likewise.
14243 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14244 (__ASSUME_PSELECT): Define unconditionally.
14245 (__ASSUME_PPOLL): Likewise.
14246 (__ASSUME_O_CLOEXEC): Likewise.
14247 (__ASSUME_SOCK_CLOEXEC): Likewise.
14248 (__ASSUME_IN_NONBLOCK): Likewise.
14249 (__ASSUME_PIPE2): Likewise.
14250 (__ASSUME_EVENTFD2): Likewise.
14251 (__ASSUME_SIGNALFD4): Likewise.
14252 (__ASSUME_DUP3): Likewise.
14253 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14254 (__ASSUME_O_CLOEXEC): Likewise.
14255 (__ASSUME_SOCK_CLOEXEC): Likewise.
14256 (__ASSUME_IN_NONBLOCK): Likewise.
14257 (__ASSUME_PIPE2): Likewise.
14258 (__ASSUME_EVENTFD2): Likewise.
14259 (__ASSUME_SIGNALFD4): Likewise.
14260 (__ASSUME_DUP3): Likewise.
14261 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14262 (__ASSUME_EVENTFD2): Likewise.
14263 (__ASSUME_SIGNALFD4): Likewise.
14264 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14265
14266 2014-05-12 Andreas Schwab <schwab@suse.de>
14267
14268 [BZ #16932]
14269 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14270 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14271 than maximum RPC packet size.
14272 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14273 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14274 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14275 (_nss_nis_getservbyport_r): Likewise.
14276
14277 2014-05-12 Will Newton <will.newton@linaro.org>
14278
14279 * malloc/Makefile (tests): Add tst-mallopt.
14280 * malloc/tst-mallopt.c: New file.
14281
14282 2014-05-09 Roland McGrath <roland@hack.frob.com>
14283
14284 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14285 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14286
14287 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14288
14289 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14290 (tst-tlsmod6.so): Likewise.
14291
14292 2014-05-09 Roland McGrath <roland@hack.frob.com>
14293
14294 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14295
14296 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14297
14298 [BZ #16064]
14299 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14300 and <dl-procinfo.h>.
14301 (__fegetenv): Save SSE state in envp->__eip if supported.
14302 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14303 envp->__eip if supported.
14304 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14305 and <dl-procinfo.h>.
14306 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14307 __data_offset and __data_selector in environment to 0. Set SSE
14308 state if supported.
14309 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14310 test-fenv-sse.
14311 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14312 -mfpmath=sse.
14313 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14314
14315 2014-05-09 Will Newton <will.newton@linaro.org>
14316
14317 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14318 and libc_relro_required for ARM.
14319 * sysdeps/arm/preconfigure: Regenerate.
14320
14321 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14322 Stefan Liebler <stli@linux.vnet.ibm.com>
14323
14324 * config.make.in (enable-lock-elision): New Makefile variable.
14325 * configure.ac: Likewise.
14326 * configure: Regenerate.
14327 * sysdeps/s390/configure.ac:
14328 Add check for gcc transactions support.
14329 * sysdeps/s390/configure: Regenerate.
14330 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14331 Build elision files if enabled.
14332 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14333 Add lock elision support for s390.
14334 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14335 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14336 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14337 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14338 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14339 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14340 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14341 Likewise.
14342 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14343 Likewise.
14344 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14345 Likewise.
14346 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14347 Likewise.
14348 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14349 (__lll_timedlock_elision, __lll_lock_elision)
14350 (__lll_unlock_elision, __lll_trylock_elision)
14351 (lll_timedlock_elision, lll_lock_elision)
14352 (lll_unlock_elision, lll_trylock_elision): Add.
14353 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14354 (pthread_mutex_t): Add lock elision support for s390.
14355
14356 2014-05-14 Wilco <wdijkstr@arm.com>
14357
14358 * sysdeps/arm/fclrexcpt.c: Cleanup.
14359 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14360 * sysdeps/arm/feenablxcpt.c: Cleanup.
14361 * sysdeps/arm/fegetenv.c: Cleanup.
14362 * sysdeps/arm/fegetexcept.c: Cleanup.
14363 * sysdeps/arm/fegetround.c: Cleanup.
14364 * sysdeps/arm/feholdexcpt.c: Cleanup.
14365 * sysdeps/arm/fesetenv.c: Cleanup.
14366 * sysdeps/arm/fesetround.c: Cleanup.
14367 * sysdeps/arm/feupdateenv.c: Cleanup.
14368 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14369 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14370 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14371 * sysdeps/arm/ftestexcept.c: Cleanup.
14372 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14373 * sysdeps/arm/setfpucw.c: Cleanup.
14374
14375 2014-05-09 Will Newton <will.newton@linaro.org>
14376
14377 * sysdeps/arm/armv7/strcmp.S: New file.
14378 * NEWS: Mention addition of ARMv7 optimized strcmp.
14379
14380 2014-05-08 Roland McGrath <roland@hack.frob.com>
14381
14382 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14383 look for %.ac rather than %.in.
14384
14385 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14386 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14387 * sysdeps/mach/hurd/configure: Regenerated.
14388 * sysdeps/unix/sysv/linux/configure: Regenerated.
14389
14390 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14391
14392 2014-05-07 Steve Ellcey <sellcey@mips.com>
14393
14394 [BZ# 16922]
14395 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14396 (LONG_SUB): Ditto.
14397 (PTR_SUB): Ditto.
14398
14399 2014-05-07 Andreas Schwab <schwab@suse.de>
14400
14401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14402 when skipping over non-matching result from nscd.
14403
14404 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14405
14406 [BZ #16876]
14407 * nptl/sockperf.c (client): Check socket return value.
14408
14409 [BZ #16877]
14410 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14411 nscd security class.
14412
14413 2014-05-06 Roland McGrath <roland@hack.frob.com>
14414
14415 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14416 * sysdeps/arm/unwind.h: ... here.
14417
14418 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14419
14420 [BZ# 16916]
14421 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14422 Define.
14423
14424 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14425
14426 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14427 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14428 multiarch strncpy for PPC64.
14429 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14430 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14432 multiarch optimizations.
14433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14434 (__libc_ifunc_impl_list): Likewise.
14435 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14436 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14437 multiarch stpncpy for PPC64.
14438 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14439 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14440
14441 2014-05-06 Andreas Schwab <schwab@suse.de>
14442
14443 [BZ #16912]
14444 * gmon/mcount.c (_MCOUNT_DECL): Use
14445 atomic_compare_and_exchange_bool_acq instead of
14446 catomic_compare_and_exchange_bool_acq.
14447
14448 2014-05-05 Roland McGrath <roland@hack.frob.com>
14449
14450 * elf/Makefile (others, install-bin): Remove pldd.
14451 (pldd-modules): Variable removed.
14452 ($(objpfx)pldd): Target removed.
14453 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14454 (others, install-bin): Append pldd here.
14455 ($(objpfx)pldd): New target.
14456
14457 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14458 to 0, so the first #if test emitted later doesn't see it undefined.
14459 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14460 * sysdeps/gnu/errlist.c: Regenerated.
14461
14462 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14463
14464 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14465 [libc_hidden_builtin_def]: Define to empty value.
14466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14467 [libc_hidden_builtin_def]: Likewise.
14468 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14469 [libc_hidden_builtin_def]: Likewise.
14470 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14471 [libc_hidden_builtin_def]: Likewise.
14472 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14473 __redirect_memcpy and define ifunc as default hidden symbol.
14474 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14475 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14476
14477 2014-05-04 Adam Conrad <adconrad@0c3.net>
14478
14479 * locale/iso-4217.def: Reintroduce XDR currency.
14480
14481 2014-05-04 Allan McRae <allan@archlinux.org>
14482
14483 * po/eo.po: Update Esperanto translation from translation project.
14484
14485 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14486
14487 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14488 and FEATURE_INDEX_MAX to 1.
14489 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14490
14491 2014-05-01 Steve Ellcey <sellcey@mips.com>
14492
14493 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14494 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14495 * iconvdata/big5.c (ONE_DIRECTION): Define.
14496 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14497 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14498 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14499 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14500 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14501 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14502 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14503 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14504 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14505 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14506 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14507 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14508 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14509 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14510 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14511 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14512 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14513 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14514 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14515 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14516 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14517 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14518 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14519 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14520 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14521 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14522 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14523 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14524 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14525 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14526 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14527 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14528 * iconvdata/johab.c (ONE_DIRECTION): Define.
14529 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14530 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14531 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14532 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14533 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14534 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14535 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14536 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14537 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14538 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14539
14540 2014-05-01 Roland McGrath <roland@hack.frob.com>
14541
14542 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14543 (_IO_JUMPS_OFFSET): Define to 0.
14544
14545 * nptl/sysdeps/pthread/bits/libc-lock.h
14546 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14547 (__libc_lock_define_initialized_recursive): Always define using
14548 initializer. Modern compilers treat uninitialized (implicit zero) and
14549 explicit zero initializers the same (i.e. put the datum in bss).
14550
14551 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14552
14553 * nscd/nscd-client.h: Include <string.h>.
14554
14555 2014-05-01 David S. Miller <davem@davemloft.net>
14556
14557 [BZ #16885]
14558 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14559 multiple zero bytes exist at the end of a string.
14560 Reported by Aurelien Jarno <aurelien@aurel32.net>
14561
14562 * string/test-strcmp.c (check): Add explicit test for situations where
14563 there are multiple zero bytes after the first.
14564
14565 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14566
14567 [BZ #16890]
14568 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14569 when compiling wprintf.
14570 * stdio-common/tstdiomisc.c (t3): New function.
14571 (main): Call it.
14572
14573 2014-05-01 Steve Ellcey <sellcey@mips.com>
14574
14575 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14576 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14577 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14578 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14579
14580 2014-05-01 Steve Ellcey <sellcey@mips.com>
14581
14582 * stdlib/longlong.h: Updated from GCC.
14583
14584 2014-05-01 Will Newton <will.newton@linaro.org>
14585 Bernard Ogden <bernie.ogden@linaro.org>
14586
14587 * NEWS: Update fixed bug list.
14588
14589 [BZ #15119]
14590 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14591
14592 2014-04-30 David S. Miller <davem@davemloft.net>
14593
14594 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14595 (libc_feholdexcept_setround_sparc_ctx): New function.
14596 (libc_fesetenv_sparc_ctx): Likewise.
14597 (libc_feupdateenv_sparc_ctx): Likewise.
14598 (libc_feholdsetround_sparc_ctx): Likewise.
14599 (libc_feholdexcept_setround_ctx): Define.
14600 (libc_feholdexcept_setroundf_ctx): Likewise.
14601 (libc_feholdexcept_setroundl_ctx): Likewise.
14602 (libc_fesetenv_ctx): Likewise.
14603 (libc_fesetenvf_ctx): Likewise.
14604 (libc_fesetenvl_ctx): Likewise.
14605 (libc_feupdateenv_ctx): Likewise.
14606 (libc_feupdateenvf_ctx): Likewise.
14607 (libc_feupdateenvl_ctx): Likewise.
14608 (libc_feresetround_ctx): Likewise.
14609 (libc_feresetroundf_ctx): Likewise.
14610 (libc_feresetroundl_ctx): Likewise.
14611 (libc_feholdsetround_ctx): Likewise.
14612 (libc_feholdsetroundf_ctx): Likewise.
14613 (libc_feholdsetroundl_ctx): Likewise.
14614
14615 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14616 with __USE_GNU instead of XOPEN cpp guards.
14617
14618 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14619 0.
14620
14621 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14622 with XOPEN cpp guards.
14623
14624 2014-04-30 Julian Brown <julian@codesourcery.com>
14625
14626 [BZ #16888]
14627 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14628 handling.
14629
14630 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14631
14632 [BZ #9894]
14633 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14634 Change to 2.6.32.
14635 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14636 * sysdeps/unix/sysv/linux/configure: Regenerated.
14637 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14638 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14639 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14640 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14641 * README: Update reference to required Linux kernel version.
14642 * manual/install.texi (Linux): Update reference to required Linux
14643 kernel headers version.
14644 * INSTALL: Regenerated.
14645
14646 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14647 header inclusion.
14648 [POSIX] (limits.h): Likewise.
14649 [POSIX] (math.h): Likewise.
14650 [POSIX] (sys/wait.h): Likewise.
14651 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14652 function.
14653 [POSIX] (stddef.h): Do not allow header inclusion.
14654
14655 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14656
14657 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14658
14659 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14660
14661 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14662 Return immediately after lll_futex_wake.
14663
14664 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14665
14666 [BZ #16791]
14667 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14668 structure.
14669 (datahead_init_pos): Call datahead_init_common early.
14670 (datahead_init_neg): Likewise.
14671
14672 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14673 datahead_init_neg): New functions.
14674 * nscd/aicache.c (addhstaiX): Use them.
14675 * nscd/grpcache.c (cache_addgr): Likewise.
14676 * nscd/hstcache.c (cache_addhst): Likewise.
14677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14678 * nscd/netgroupcache.c (do_notfound): Likewise.
14679 (addgetnetgrentX): Likewise.
14680 (addinnetgrX): Likewise.
14681 * nscd/pwdcache.c (cache_addpw): Likewise.
14682 * nscd/servicescache.c (cache_addserv): Likewise.
14683
14684 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14685 Atsushi Onoe <atsushi@onoe.org>
14686
14687 [BZ #14308]
14688 [BZ #12994]
14689 [BZ #13651]
14690 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14691 one response is valid.
14692 * resolv/res_send.c (send_dg): Check for validity of other
14693 response if the current response is a referral.
14694
14695 2014-04-29 Steve Ellcey <sellcey@mips.com>
14696
14697 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14698
14699 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14700
14701 [BZ #16823]
14702 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14703 Always divide by positive zero when computing -Inf result.
14704 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14705 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14706
14707 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14708
14709 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14710 FPSCR if value do not change.
14711 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14712 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14713 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14714 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14715 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14716 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14717 function.
14718
14719 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14720
14721 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14722 * sysdeps/unix/sysv/linux/hppa: Move directory from
14723 ports/systeps/unix/sysv/linux/hppa.
14724 * README: Update listing for hppa-*-linux-gnu.
14725
14726 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14727
14728 [BZ #16754]
14729 * manual/stdio.texi (Hook functions): Fix types of stream hook
14730 functions.
14731 [BZ #16854]
14732 * socket/sys/socket.h: Fix typo in comment.
14733
14734 2014-04-28 Wilco <wdijkstr@arm.com>
14735
14736 * sysdeps/arm/fenv_private.h: New file.
14737 * sysdeps/arm/math_private.h: New file.
14738 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14739
14740 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14741
14742 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14743 with __int128_t.
14744 (La_x86_64_retval): Likewise.
14745
14746 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14747
14748 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14749 fpsr if value didn't change.
14750 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14751 to fpcr if value didn't change.
14752 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14753 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14754 fpsr or fpcr if value didn't change.
14755 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14756 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14757 fpcr if value didn't change.
14758 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14759 to fpsr if value didn't change.
14760
14761 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14762
14763 * nptl/tst-sem3.c: Use test-skeleton.c
14764 (main): Rename to do_test. Use return instead of
14765 exit.
14766 * nptl/tst-sem4.c: Use test-skeleton.c
14767 (main): Rename to do_test.
14768
14769 2014-04-22 David S. Miller <davem@davemloft.net>
14770
14771 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14772 (struct sigaction): New struct member __glibc_reserved0, change
14773 type of sa_flags to int.
14774
14775 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14776
14777 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14778 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14779
14780 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14781
14782 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14783 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14784
14785 2014-04-22 Will Newton <will.newton@linaro.org>
14786 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14787
14788 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14789 (__longjmp): Add longjmp and longjmp_target SystemTap
14790 probes.
14791 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14792 (__sigsetjmp): Add setjmp SystemTap probe.
14793
14794 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14795
14796 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14797 match manual order.
14798
14799 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14800
14801 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14802
14803 * sysdeps/powerpc/fpu/fenv_private.h
14804 (libc_feholdexcept_setroundl_ctx): Define to
14805 libc_feholdexcept_setround_ppc_ctx.
14806 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14807 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14808 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14809 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14810
14811 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14812
14813 * sysdeps/aarch64/math-tests.h: New file.
14814
14815 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14816
14817 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14818 New.
14819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14820 Check and set bit_AVX2_Usable.
14821 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14822 macro.
14823 (bit_AVX2): Likewise.
14824 (index_AVX2_Usable): Likewise.
14825 (CPUID_AVX2): Likewise.
14826 (HAS_AVX2): Likewise.
14827
14828 2014-04-17 Will Newton <will.newton@linaro.org>
14829
14830 * manual/setjmp.texi (System V contexts): Add note that
14831 calling setcontext on a context created by a call to a
14832 signal handler is undefined. Update text to note that
14833 setcontext from a signal handler is possible but not
14834 recommended.
14835
14836 [BZ #16629]
14837 * stdlib/tst-setcontext.c: Include signal.h.
14838 (main): Check that the signal stack before and
14839 after swapcontext is the same.
14840
14841 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14842 Re-implement to restore registers in user code and avoid
14843 rt_sigreturn system call.
14844
14845 2014-04-17 Wilco <wdijkstr@arm.com>
14846
14847 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14848 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14849 * math/test-fenv.c: Skip exception trap tests on targets which only
14850 support non-stop mode.
14851
14852 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14853 Wilco Dijkstra <wilco.dijkstra@arm.com>
14854
14855 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14856 (libc_feholdsetround_aarch64_ctx)
14857 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14858 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14859 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14860 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14861 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14862 (libc_feresetround_noexl_ctx): Define.
14863
14864 2014-04-16 Richard Henderson <rth@redhat.com>
14865
14866 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14867
14868 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14869 unwind tables.
14870
14871 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14872 const from the non-libc, non-ldso copy.
14873
14874 * sysdeps/alpha/libm-test-ulps: Regenerate.
14875
14876 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14877 Wilco Dijkstra <wilco.dijkstra@arm.com>
14878
14879 * sysdeps/aarch64/fpu/math_private.h: New file.
14880
14881 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14882
14883 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14884
14885 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14886
14887 [BZ #16275]
14888 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14889 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14891 Intel MPX bound registers before _dl_profile_fixup.
14892 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14893 registers after _dl_profile_fixup. Save and restore bound
14894 registers bnd0/bnd1 when calling _dl_call_pltexit.
14895 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14896 (LR_BND_OFFSET): Likewise.
14897 (LRV_BND0_OFFSET): Likewise.
14898 (LRV_BND1_OFFSET): Likewise.
14899
14900 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14901
14902 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14903 to...
14904 * sysdeps/mach/hurd/i386/tls.h: ... here.
14905 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14906 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14907 fields.
14908
14909 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14910
14911 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14912
14913 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14914
14915 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14916
14917 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14918
14919 [BZ #14770]
14920 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14921 * sysdeps/s390/configure: Regenerate.
14922
14923 [BZ #16824]
14924 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14925 Set round-to-nearest internally to reduce error accumulation.
14926
14927 2014-04-16 Alan Modra <amodra@gmail.com>
14928
14929 [BZ #16740]
14930 [BZ #16619]
14931 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14932 * math/libm-test.inc (frexp_test_data): Add tests.
14933 * NEWS: Update fixed bug list.
14934
14935 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14936
14937 * benchtests/Makefile: Depend on libraries in build directory.
14938 (bench-math): Separate out math tests.
14939 (bench-pthread): Separate out pthread tests.
14940 (bench): Include math and pthread tests.
14941
14942 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14943
14944 [BZ #16831]
14945 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14946 _dl_debug_initialize.
14947
14948 * configure.ac: Remove SELinux header check.
14949 * configure: Regenerate.
14950 * nscd/selinux.c (perms): Array of const char* to permission names.
14951 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14952 default policy. Call string_to_security_class and string_to_av_perm to
14953 translate strings. Enforce default policy and call avs_has_perm with
14954 results of translated strings.
14955
14956 2014-04-13 David S. Miller <davem@davemloft.net>
14957
14958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14959
14960 2014-04-12 Allan McRae <allan@archlinux.org>
14961
14962 [BZ #16838]
14963 * manual/string.texi (Collation Functions): Fix qsort argument
14964 order in example.
14965 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14966
14967 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14968
14969 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14970 Make the test a no-op if there are no exceptions defined.
14971
14972 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14973
14974 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14975 enable-hardcoded-path-in-tests
14976
14977 2014-04-11 Will Newton <will.newton@linaro.org>
14978
14979 * benchtests/Makefile (extra-objs): Add json-lib.o.
14980 (bench-func): Tidy up JSON output.
14981 * benchtests/bench-skeleton.c: Include json-lib.h.
14982 (main): Use JSON library functions to do output of
14983 benchmark results.
14984 * benchtests/bench-timing-type.c (main): Output the
14985 timing type simply, leaving formatting to the user.
14986 * benchtests/json-lib.c: New file.
14987 * benchtests/json-lib.h: Likewise.
14988
14989 2014-04-11 Torvald Riegel <triegel@redhat.com>
14990
14991 [BZ #15215]
14992 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14993 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14994 memory barriers. Add comments.
14995 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14996 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14997 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14998 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14999 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15000 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15001
15002 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15003
15004 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15005 * sysdeps/s390/s390-64/configure.ac: ... this ...
15006 * sysdeps/s390/configure.ac: ... to here.
15007 * sysdeps/s390/s390-32/configure: Delete file.
15008 * sysdeps/s390/s390-64/configure: Delete file.
15009 * sysdeps/s390/configure: Regenerate.
15010
15011 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15012
15013 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15014
15015 2014-04-11 Will Newton <will.newton@linaro.org>
15016
15017 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15018 to zero if it is not defined elsewhere. (mtrim): Test
15019 the value of MALLOC_DEBUG with #if rather than #ifdef.
15020
15021 2014-04-10 Torvald Riegel <triegel@redhat.com>
15022
15023 * benchtests/pthread_once-inputs: New file.
15024 * benchtests/pthread_once-source.c: New file.
15025 * benchtests/README: Update documentation.
15026
15027 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15028 H.J. Lu <hongjiu.lu@intel.com>
15029
15030 [BZ #16275]
15031 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15032 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15033 * sysdeps/x86_64/configure: Regenerated.
15034 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15035 macro.
15036 (REGISTER_SAVE_RAX): Likewise.
15037 (REGISTER_SAVE_RCX): Likewise.
15038 (REGISTER_SAVE_RDX): Likewise.
15039 (REGISTER_SAVE_RSI): Likewise.
15040 (REGISTER_SAVE_RDI): Likewise.
15041 (REGISTER_SAVE_R8): Likewise.
15042 (REGISTER_SAVE_R9): Likewise.
15043 (REGISTER_SAVE_BND0): Likewise.
15044 (REGISTER_SAVE_BND1): Likewise.
15045 (REGISTER_SAVE_BND2): Likewise.
15046 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15047 bound registers when calling _dl_fixup.
15048
15049 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15050
15051 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15052 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15053 of its definition.
15054 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15055 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15056 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15057 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15058 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15059 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15060 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15061
15062 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15063
15064 [BZ #15514]
15065 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15066 pathconf(_PC_NAME_MAX).
15067
15068 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15069
15070 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15071 Remove macro usage.
15072 (__PTHREAD_SPINS): Move definition to ...
15073 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15074 (__PTHREAD_SPINS): ... here.
15075 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15076 (__PTHREAD_SPIN): Likewise.
15077 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15078 (__PTHREAD_SPIN): Likewise.
15079 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15080 (__PTHREAD_SPIN): Likewise.
15081 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15082 (__PTHREAD_SPIN): Likewise.
15083 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15084 (__PTHREAD_SPIN): Likewise.
15085 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15086 (__PTHREAD_SPIN): Likewise.
15087 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15088 (__PTHREAD_SPIN): Likewise.
15089 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15090 (__PTHREAD_SPIN): Likewise.
15091 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15092 (__PTHREAD_SPIN): Likewise.
15093 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15094 (__PTHREAD_SPIN): Likewise.
15095 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15096 (__PTHREAD_SPIN): Likewise.
15097 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15098 (__PTHREAD_SPIN): Likewise.
15099
15100 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15101 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15102 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15103 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15104 imply folder.
15105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15106 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15107 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15108 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15109 correct imply path.
15110 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15111 strlen symbol for non multi-arch builds.
15112 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15113 missing hidden_def and weak_alias.
15114
15115 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15116
15117 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15118
15119 2014-04-07 Will Newton <will.newton@linaro.org>
15120
15121 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15122 and contents. [!_LIBC] Remove #ifndef and contents.
15123 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15124 * string/memccpy.c (__memccpy): Use ANSI prototype.
15125 * string/memfrob.c (memfrob): Likewise.
15126 * string/strcoll.c (STRCOLL): Likewise.
15127 * string/strlen.c (strlen): Likewise.
15128 * string/strtok.c (STRTOK): Likewise.
15129 * string/strcat.c: Remove unused #include of memcopy.h.
15130 (strcat): Use ANSI prototype.
15131 * string/strchr.c: Remove unused #include of memcopy.h.
15132 (strchr): Use ANSI prototype.
15133 * string/strcmp.c: Remove unused #include of memcopy.h.
15134 (strcmp): Use ANSI prototype.
15135 * string/strcpy.c: Remove unused #include of memcopy.h.
15136 (strcpy): Use ANSI prototype.
15137
15138 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15139
15140 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15141 * config.make.in (config-extra-cppflags): Set it from
15142 libc_extra_cppflags.
15143 * configure.ac (libc_extra_cflags): Make it accumulate over
15144 configure fragments.
15145 (libc_extra_cppflags): New flag.
15146 * configure. Regenerate.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15148 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15149 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15151
15152 [BZ #16815]
15153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15154 result for FE_DOWNWARD rounding mode.
15155 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15156 Likewise.
15157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15158
15159 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15160
15161 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15162 in function argument name.
15163
15164 2014-04-03 David Svoboda <svoboda@cert.org>
15165
15166 [BZ #5666]
15167 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15168 explicitly.
15169
15170 2014-04-03 Roland McGrath <roland@hack.frob.com>
15171
15172 * elf/dl-unmap-segments.h: New file.
15173 * sysdeps/generic/ldsodefs.h
15174 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15175 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15176 * elf/dl-fptr.c: Likewise.
15177 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15178 * sysdeps/aarch64/tlsdesc.c: Likewise.
15179 * sysdeps/arm/tlsdesc.c: Likewise.
15180 * sysdeps/i386/tlsdesc.c: Likewise.
15181 * sysdeps/tile/dl-runtime.c: Likewise.
15182 * sysdeps/x86_64/tlsdesc.c: Likewise.
15183 * elf/dl-load.h: New file.
15184 * elf/dl-load.c: Include it.
15185 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15186 Macros moved to dl-load.h.
15187 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15188 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15189 Use _dl_unmap_segments in place of __munmap.
15190 Break out segment-mapping loop into ...
15191 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15192
15193 2014-04-03 Will Newton <will.newton@linaro.org>
15194
15195 * elf/dl-lookup.c (do_lookup_x): Remove comment
15196 referring to nested function and move variable
15197 declarations down to before first use.
15198
15199 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15200
15201 [BZ #16799]
15202 [BZ #16800]
15203 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15204 with 0 numerator.
15205 * math/s_catanf.c (__catanf): Likewise.
15206 * math/s_catanh.c (__catanh): Likewise.
15207 * math/s_catanhf.c (__catanhf): Likewise.
15208 * math/s_catanhl.c (__catanhl): Likewise.
15209 * math/s_catanl.c (__catanl): Likewise.
15210 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15211 by positive zero when computing -Inf result.
15212 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15213 (catanh_test): Likewise.
15214 * sysdeps/i386/fpu/libm-test-ulps: Update.
15215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15216
15217 [BZ #16789]
15218 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15219 instead of using underflowing value in computing result.
15220 * math/s_clog10.c (__clog10): Likewise.
15221 * math/s_clog10f.c (__clog10f): Likewise.
15222 * math/s_clog10l.c (__clog10l): Likewise.
15223 * math/s_clogf.c (__clogf): Likewise.
15224 * math/s_clogl.c (__clogl): Likewise.
15225 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15226 (clog10_test): Likewise.
15227 * sysdeps/i386/fpu/libm-test-ulps: Update.
15228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229
15230 2014-04-02 Alan Modra <amodra@gmail.com>
15231
15232 [BZ #16739]
15233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15234 output when value is near a power of two. Use int64_t for lx and
15235 remove casts. Use decimal rather than hex exponent constants.
15236 Don't use long double multiplication when double will suffice.
15237 * math/libm-test.inc (nextafter_test_data): Add tests.
15238 * NEWS: Add 16739 and 16786 to bug list.
15239
15240 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15241
15242 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15243
15244 2014-04-01 Will Newton <will.newton@linaro.org>
15245
15246 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15247 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15248
15249 2014-04-01 Florian Weimer <fweimer@redhat.com>
15250
15251 [BZ #13347]
15252 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15253 * nptl/tst-setuid2.c: New file.
15254 * nptl/Makefile (xtests): Add tst-setuid2.
15255
15256 2014-04-01 Alan Modra <amodra@gmail.com>
15257
15258 [BZ #16786]
15259 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15260
15261 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15262
15263 [BZ #6803]
15264 [BZ #6804]
15265 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15266 set errno as appropriate.
15267 * math/w_scalbf.c (__scalbf): Likewise.
15268 * math/w_scalbl.c (__scalbl): Likewise.
15269 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15270 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15271 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15272 Add more NaN tests.
15273
15274 [BZ #16349]
15275 * math/w_atan2.c: Include <errno.h>.
15276 (__atan2): Set errno for result underflowing to zero.
15277 * math/w_atan2f.c: Include <errno.h>.
15278 (__atan2f): Set errno for result underflowing to zero.
15279 * math/w_atan2l.c: Include <errno.h>.
15280 (__atan2l): Set errno for result underflowing to zero.
15281 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15282 tests.
15283 * math/auto-libm-test-out: Regenerated.
15284
15285 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15286
15287 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15288 Encode instruction correctly in little endian.
15289 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15290 Likewise.
15291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15292 Likewise.
15293 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15294 Likewise.
15295 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15296 Likewise.
15297
15298 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15299
15300 [BZ #9894]
15301 * sysdeps/unix/sysv/linux/kernel-features.h
15302 [__sparc__ && !__arch64__ && !__sparc_v9__]
15303 (__ASSUME_SET_ROBUST_LIST): Do not define.
15304 [__sparc__ && !__arch64__ && !__sparc_v9__]
15305 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15306 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15307 Likewise.
15308 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15309 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15310 (__ASSUME_REQUEUE_PI): Likewise.
15311 (__ASSUME_SET_ROBUST_LIST): Likewise.
15312 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15313 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15314 Undefine.
15315 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15316 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15317 Likewise.
15318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15319 Likewise.
15320 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15321 Likewise.
15322 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15323 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15324 Undefine.
15325 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15326 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15327 Likewise.
15328
15329 [BZ #16648]
15330 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15331 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15332 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15333
15334 2014-03-31 Will Newton <will.newton@linaro.org>
15335
15336 * benchtests/Makefile (bench): Add ffs and ffsll to list
15337 of tests.
15338 * benchtests/ffs-inputs: New file.
15339 * benchtests/ffsll-inputs: Likewise.
15340
15341 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15342
15343 [BZ #16770]
15344 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15345 too large before casting to int.
15346 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15347 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15348 * math/libm-test.inc (scalb_test_data): Add more tests.
15349
15350 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15351
15352 * benchtests/Makefile (DETAILED_OPT): New make option.
15353 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15354 set.
15355 * benchtests/bench-skeleton.c: Include stdbool.h.
15356 (main): Store and print timings per input.
15357 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15358 member to each argument value.
15359 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15360 (_print_arg_data): Initialize per-input timing to 0.
15361
15362 * benchtests/Makefile (timing-type): New binary.
15363 (bench-clean): Also remove bench-timing-type.
15364 (bench): New target for timing-type.
15365 (bench-func): Print output in JSON format.
15366 * benchtests/bench-skeleton.c (main): Print output in JSON
15367 format.
15368 * benchtests/bench-timing-type.c: New file.
15369 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15370 (TIMING_PRINT_STATS): Remove.
15371 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15372 name separately.
15373
15374 * benchtests/bench-modf.c: Remove.
15375 * benchtests/modf-inputs: New inputs file.
15376
15377 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15378
15379 [BZ #16362]
15380 * math/s_clog10.c (M_PI_LOG10E): New macro.
15381 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15382 imaginary parts are 0.
15383 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15384 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15385 imaginary parts are 0.
15386 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15387 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15388 imaginary parts are 0.
15389 * math/libm-test.inc (clog10_test_data): Update expected results
15390 for when real and imaginary parts are 0.
15391
15392 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15393
15394 * elf/dl-load.c: Finish conversion of __builtin_expect into
15395 __glibc_{un}likely.
15396
15397 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15398
15399 [BZ #16348]
15400 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15401 1+x for argument with exponent below -67.
15402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15403 Likewise.
15404 * math/auto-libm-test-in: Add more tests of exp.
15405 * math/auto-libm-test-out: Regenerated.
15406
15407 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15408
15409 [BZ #16759]
15410 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15411 (nscd_getnetgrent): Use it.
15412
15413 [BZ #16760]
15414 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15415 of stpcpy.
15416
15417 2014-03-27 Andi Kleen <ak@linux.intel.com>
15418
15419 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15420 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15421 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15422 (lll_robust_unlock): Remove out of line section. Use cfi
15423 intrinsics.
15424 (LLL_STUB_UNWIND_INFO*): Remove.
15425 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15426 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15427 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15428 (lll_robust_unlock): Remove out of line section. Use cfi
15429 intrinsics.
15430 (LLL_STUB_UNWIND_INFO*): Remove.
15431
15432 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
15434 [BZ #16758]
15435 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15436 blank values.
15437
15438 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15439
15440 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15441
15442 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15443
15444 [BZ #16198]
15445 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15446 fnstenv.
15447 * math/test-fenv-preserve.c: New file.
15448 * math/Makefile (tests): Add test-fenv-preserve.
15449
15450 2014-03-26 Will Newton <will.newton@linaro.org>
15451
15452 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15453
15454 2014-03-25 Roland McGrath <roland@hack.frob.com>
15455
15456 * scripts/versionlist.awk: Partition the version sets and emit all
15457 GLIBC_* (sorted) before all others (sorted).
15458
15459 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15460
15461 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15462 GLIBC_2.2.5 version.
15463
15464 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15465
15466 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15467 calls.
15468
15469 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15470 previous change.
15471
15472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15473
15474 2014-03-25 Andreas Schwab <schwab@suse.de>
15475
15476 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15477 label to be used after in6ailist is initialized.
15478
15479 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15480
15481 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15482 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15483
15484 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15485
15486 [BZ #16357]
15487 [BZ #16599]
15488 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15489 min_plus_half.
15490 (fp_formats): Update initializers.
15491 (init_fp_formats): Initialize new field.
15492 (output_for_one_input_case): Allow underflow for results up to
15493 min_plus_half.
15494 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15495 * math/auto-libm-test-in: Don't mark some underflows from asin and
15496 atanh as spurious.
15497 * math/auto-libm-test-out: Regenerated.
15498 * sysdeps/i386/fpu/libm-test-ulps: Update.
15499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15500
15501 2014-03-25 Andreas Schwab <schwab@suse.de>
15502
15503 * libio/Makefile (tst-ftell-partial-wide-ENV)
15504 (tst-ftell-active-handler-ENV): Define.
15505
15506 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15507
15508 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15509
15510 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15511
15512 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15513
15514 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15515
15516 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15517 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15518 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15519
15520 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15521
15522 [BZ #16634]
15523 * elf/dl-load.c (open_verify): Add mode parameter.
15524 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15525 (open_path): Change from boolean 'secure' to complete flag 'mode'
15526 (_dl_map_object): Adjust.
15527 * elf/Makefile (tests): Add tst-dlopen-aout.
15528 * elf/tst-dlopen-aout.c: New test.
15529
15530 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15531
15532 [BZ #16714]
15533 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15534 (struct stat): Rename member pad0 to __glibc_reserved0.
15535
15536 [BZ #16712]
15537 * sysdeps/s390/s390-32/bits/wordsize.h
15538 (__WORDSIZE32_SIZE_ULONG): New define.
15539 * sysdeps/s390/s390-64/bits/wordsize.h
15540 (__WORDSIZE32_SIZE_ULONG): Likewise.
15541 * sysdeps/generic/stdint.h (SIZE_MAX):
15542 Define as UL if __WORDSIZE32_SIZE_ULONG.
15543
15544 [BZ #16713]
15545 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15546 (__glibc_reserved0): New variable.
15547 (sa_flags): Change type to int.
15548
15549 * posix/Makefile (before-compile): Use += before-compile instead
15550 of a :=.
15551
15552 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15553 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15554
15555 2014-03-20 Andreas Schwab <schwab@suse.de>
15556
15557 [BZ #16743]
15558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15559 non-matching result from nscd.
15560
15561 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15562
15563 * scripts/bench.py: Moved to ...
15564 * benchtests/scripts/bench.py: ... here.
15565 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15566
15567 2014-03-24 Andreas Schwab <schwab@suse.de>
15568
15569 [BZ #16002]
15570 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15571 alloca_account and account alloca use for struct in6ailist.
15572
15573 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15574
15575 [BZ #16284]
15576 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15577 rounding mode to recompute results that overflow to infinity or
15578 underflow to zero.
15579 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15580 bug 16284.
15581 * math/auto-libm-test-out: Regenerated.
15582 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15583 (ccosh_test): Likewise.
15584 (csin_test_data): Use plus_oflow.
15585 (csin_test): Use ALL_RM_TEST.
15586 (csinh_test_data): Use plus_oflow.
15587 (csinh_test): Use ALL_RM_TEST.
15588 * sysdeps/i386/fpu/libm-test-ulps: Update.
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590
15591 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15592
15593 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15594 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15595 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15596
15597 [BZ #16731]
15598 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15599 when x - 1 is zero.
15600 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15601 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15602 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15604 argument is 1.
15605 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15606 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15607 zero.
15608 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15609 * sysdeps/i386/fpu/libm-test-ulps: Update.
15610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15611
15612 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15613
15614 * scripts/bench.pl: Remove file.
15615 * scripts/bench.py: New benchmark script.
15616 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15617 * benchtests/README: Mention python dependency.
15618 * scripts/pylintrc: New file.
15619 * scripts/pylint: New file.
15620
15621 * bits/mathdef.h: Use #ifdef instead of #if.
15622 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15623 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15624 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15625 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15626 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15627 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15628
15629 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15630 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15631
15632 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15634 and strpbrk-ppc64 objects.
15635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15636 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15637 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15638 multiarch strpbrk for POWER7.
15639 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15640 multiarch strpbrk for PPC64.
15641 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15642 ifunc selector.
15643 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15644 strpbrk for POWER7.
15645
15646 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15647
15648 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15649 (atan_test): Likewise.
15650 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15651 (atanh_test): Use ALL_RM_TEST.
15652 (atan2_test_data): Likewise.
15653 (cabs_test): Likewise.
15654 (cacosh_test): Likewise.
15655 (carg_test): Likewise.
15656 (casin_test): Likewise.
15657 (casinh_test): Likewise.
15658 (cbrt_test): Likewise.
15659 (csqrt_test): Likewise.
15660 (erf_test): Likewise.
15661 (erfc_test): Likewise.
15662 (pow10_test): Likewise.
15663 (exp2_test): Likewise.
15664 (hypot_test): Likewise.
15665 (j0_test): Likewise.
15666 (j1_test): Likewise.
15667 (lgamma_test): Likewise.
15668 (gamma_test): Likewise.
15669 (sincos_test): Likewise.
15670 (tanh_test): Likewise.
15671 (y0_test): Likewise.
15672 (y1_test): Likewise.
15673 * sysdeps/i386/fpu/libm-test-ulps: Update.
15674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15675
15676 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677
15678 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15680 and strcspn-ppc64 objects.
15681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15682 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15683 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15684 multiarch strcspn for POWER7.
15685 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15686 multiarch strcspn for PPC64.
15687 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15688 ifunc selector.
15689 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15690 strcspn for POWER7.
15691
15692 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15693
15694 * math/gen-libm-test.pl (generate_testfile): Expect only function
15695 name as argument to AUTO_TESTS_* and pass results for all rounding
15696 modes to parse_args.
15697 (parse_auto_input): Separate inputs of automatic tests from
15698 outputs before storing in %auto_tests.
15699 * math/libm-test.inc (acos_test_data): Update call to
15700 AUTO_TESTS_f_f.
15701 (acos_test): Use ALL_RM_TEST.
15702 (acos_tonearest_test_data): Remove.
15703 (acos_test_tonearest): Likewise.
15704 (acos_towardzero_test_data): Likewise.
15705 (acos_test_towardzero): Likewise.
15706 (acos_downward_test_data): Likewise.
15707 (acos_test_downward): Likewise.
15708 (acos_upward_test_data): Likewise.
15709 (acos_test_upward): Likewise.
15710 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15711 (asin_test_data): Likewise.
15712 (asin_test): Use ALL_RM_TEST.
15713 (asin_tonearest_test_data): Remove.
15714 (asin_test_tonearest): Likewise.
15715 (asin_towardzero_test_data): Likewise.
15716 (asin_test_towardzero): Likewise.
15717 (asin_downward_test_data): Likewise.
15718 (asin_test_downward): Likewise.
15719 (asin_upward_test_data): Likewise.
15720 (asin_test_upward): Likewise.
15721 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15722 (atan_test_data): Likewise.
15723 (atanh_test_data): Likewise.
15724 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15725 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15726 (carg_test_data): Likewise.
15727 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15728 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15729 (ccosh_test_data): Likewise.
15730 (cexp_test_data): Likewise.
15731 (clog_test_data): Likewise.
15732 (clog10_test_data): Likewise.
15733 (cos_test_data): Update call to AUTO_TESTS_f_f.
15734 (cos_test): Use ALL_RM_TEST.
15735 (cos_tonearest_test_data): Remove.
15736 (cos_test_tonearest): Likewise.
15737 (cos_towardzero_test_data): Likewise.
15738 (cos_test_towardzero): Likewise.
15739 (cos_downward_test_data): Likewise.
15740 (cos_test_downward): Likewise.
15741 (cos_upward_test_data): Likewise.
15742 (cos_test_upward): Likewise.
15743 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15744 (cosh_test): Use ALL_RM_TEST.
15745 (cosh_tonearest_test_data): Remove.
15746 (cosh_test_tonearest): Likewise.
15747 (cosh_towardzero_test_data): Likewise.
15748 (cosh_test_towardzero): Likewise.
15749 (cosh_downward_test_data): Likewise.
15750 (cosh_test_downward): Likewise.
15751 (cosh_upward_test_data): Likewise.
15752 (cosh_test_upward): Likewise.
15753 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15754 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15755 (ctan_test_data): Likewise.
15756 (ctan_test): Use ALL_RM_TEST.
15757 (ctan_tonearest_test_data): Remove.
15758 (ctan_test_tonearest): Likewise.
15759 (ctan_towardzero_test_data): Likewise.
15760 (ctan_test_towardzero): Likewise.
15761 (ctan_downward_test_data): Likewise.
15762 (ctan_test_downward): Likewise.
15763 (ctan_upward_test_data): Likewise.
15764 (ctan_test_upward): Likewise.
15765 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15766 (ctanh_test): Use ALL_RM_TEST.
15767 (ctanh_tonearest_test_data): Remove.
15768 (ctanh_test_tonearest): Likewise.
15769 (ctanh_towardzero_test_data): Likewise.
15770 (ctanh_test_towardzero): Likewise.
15771 (ctanh_downward_test_data): Likewise.
15772 (ctanh_test_downward): Likewise.
15773 (ctanh_upward_test_data): Likewise.
15774 (ctanh_test_upward): Likewise.
15775 (erf_test_data): Update call to AUTO_TESTS_f_f.
15776 (erfc_test_data): Likewise.
15777 (exp_test_data): Likewise.
15778 (exp_test): Use ALL_RM_TEST.
15779 (exp_tonearest_test_data): Remove.
15780 (exp_test_tonearest): Likewise.
15781 (exp_towardzero_test_data): Likewise.
15782 (exp_test_towardzero): Likewise.
15783 (exp_downward_test_data): Likewise.
15784 (exp_test_downward): Likewise.
15785 (exp_upward_test_data): Likewise.
15786 (exp_test_upward): Likewise.
15787 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15788 (exp10_test): Use ALL_RM_TEST.
15789 (exp10_tonearest_test_data): Remove.
15790 (exp10_test_tonearest): Likewise.
15791 (exp10_towardzero_test_data): Likewise.
15792 (exp10_test_towardzero): Likewise.
15793 (exp10_downward_test_data): Likewise.
15794 (exp10_test_downward): Likewise.
15795 (exp10_upward_test_data): Likewise.
15796 (exp10_test_upward): Likewise.
15797 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15798 (expm1_test_data): Likewise.
15799 (expm1_test): Use ALL_RM_TEST.
15800 (expm1_tonearest_test_data): Remove.
15801 (expm1_test_tonearest): Likewise.
15802 (expm1_towardzero_test_data): Likewise.
15803 (expm1_test_towardzero): Likewise.
15804 (expm1_downward_test_data): Likewise.
15805 (expm1_test_downward): Likewise.
15806 (expm1_upward_test_data): Likewise.
15807 (expm1_test_upward): Likewise.
15808 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15809 (fma_test): Use ALL_RM_TEST.
15810 (fma_towardzero_test_data): Remove.
15811 (fma_test_towardzero): Likewise.
15812 (fma_downward_test_data): Likewise.
15813 (fma_test_downward): Likewise.
15814 (fma_upward_test_data): Likewise.
15815 (fma_test_upward): Likewise.
15816 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15817 (j0_test_data): Update call to AUTO_TESTS_f_f.
15818 (j1_test_data): Likewise.
15819 (jn_test_data): Update call to AUTO_TESTS_if_f.
15820 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15821 (log_test_data): Update call to AUTO_TESTS_f_f.
15822 (log10_test_data): Likewise.
15823 (log1p_test_data): Likewise.
15824 (log2_test_data): Likewise.
15825 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15826 (pow_tonearest_test_data): Likewise.
15827 (sin_test_data): Update call to AUTO_TESTS_f_f.
15828 (sin_test): Use ALL_RM_TEST.
15829 (sin_tonearest_test_data): Remove.
15830 (sin_test_tonearest): Likewise.
15831 (sin_towardzero_test_data): Likewise.
15832 (sin_test_towardzero): Likewise.
15833 (sin_downward_test_data): Likewise.
15834 (sin_test_downward): Likewise.
15835 (sin_upward_test_data): Likewise.
15836 (sin_test_upward): Likewise.
15837 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15838 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15839 (sinh_test): Use ALL_RM_TEST.
15840 (sinh_tonearest_test_data): Remove.
15841 (sinh_test_tonearest): Likewise.
15842 (sinh_towardzero_test_data): Likewise.
15843 (sinh_test_towardzero): Likewise.
15844 (sinh_downward_test_data): Likewise.
15845 (sinh_test_downward): Likewise.
15846 (sinh_upward_test_data): Likewise.
15847 (sinh_test_upward): Likewise.
15848 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15849 (sqrt_test): Use ALL_RM_TEST.
15850 (sqrt_tonearest_test_data): Remove.
15851 (sqrt_test_tonearest): Likewise.
15852 (sqrt_towardzero_test_data): Likewise.
15853 (sqrt_test_towardzero): Likewise.
15854 (sqrt_downward_test_data): Likewise.
15855 (sqrt_test_downward): Likewise.
15856 (sqrt_upward_test_data): Likewise.
15857 (sqrt_test_upward): Likewise.
15858 (tan_test_data): Update call to AUTO_TESTS_f_f.
15859 (tan_test): Use ALL_RM_TEST.
15860 (tan_tonearest_test_data): Remove.
15861 (tan_test_tonearest): Likewise.
15862 (tan_towardzero_test_data): Likewise.
15863 (tan_test_towardzero): Likewise.
15864 (tan_downward_test_data): Likewise.
15865 (tan_test_downward): Likewise.
15866 (tan_upward_test_data): Likewise.
15867 (tan_test_upward): Likewise.
15868 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15869 (tgamma_test_data): Likewise.
15870 (y0_test_data): Likewise.
15871 (y1_test_data): Likewise.
15872 (yn_test_data): Update call to AUTO_TESTS_if_f.
15873 (main): Do not call removed functions.
15874
15875 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15876
15877 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15878 (ldexp_test_data): Remove.
15879 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15880 scalbn_test_data.
15881 (scalb_test): Use ALL_RM_TEST.
15882
15883 2014-03-19 Andreas Schwab <schwab@suse.de>
15884
15885 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15886
15887 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15888
15889 [BZ #16649]
15890 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15891 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15892 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15894 (__ASSUME_PREADV): Undefine.
15895 (__ASSUME_PWRITEV): Likewise.
15896
15897 2014-03-18 Roland McGrath <roland@hack.frob.com>
15898
15899 * bits/mman-linux.h: Add comment about non-Linux use.
15900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15901 bits/mman-linux.h resting place.
15902
15903 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15904 * bits/mman-linux.h: ... here.
15905
15906 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907
15908 * conform/conformtest.pl: Add standard definition when calling C
15909 preprocessor on data files.
15910 (checknamespace): Remove unused variable.
15911
15912 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15913
15914 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15915 minus_oflow, plus_uflow and minus_uflow in expected results.
15916 * math/libm-test.inc (scalbn_test_data): Add more tests of
15917 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15918 minus_uflow.
15919 (scalbn_test): Use ALL_RM_TEST.
15920 (scalbln_test_data): Add more tests of negative arguments. Use
15921 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15922 (scalbln_test): Use ALL_RM_TEST.
15923
15924 2014-03-18 Roland McGrath <roland@hack.frob.com>
15925
15926 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15927
15928 2014-03-18 Will Newton <will.newton@linaro.org>
15929
15930 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15931 inaccurate comment.
15932
15933 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15934
15935 * Makerules [!subdir] (check-abi): Exit with error status if a
15936 test failed.
15937
15938 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15939
15940 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15941 for rint. Include results for all rounding modes.
15942 (nearbyint_test): Use ALL_RM_TEST.
15943 (rint_test_data): Include all tests used for nearbyint.
15944
15945 2014-03-17 Will Newton <will.newton@linaro.org>
15946
15947 * nptl/sysdeps/pthread/pthread.h: Revert previous
15948 change.
15949
15950 * sysdeps/generic/ldsodefs.h: Revert previous
15951 change.
15952
15953 * libio/genops.c: Revert previous change.
15954 * libio/libioP.h: Likewise.
15955 * stdio-common/vfprintf.c: Likewise.
15956
15957 * sysdeps/generic/math_private.h: Revert previous
15958 change.
15959
15960 * sysdeps/generic/math_private.h: Check whether
15961 HAVE_RM_CTX is defined with #ifdef rather
15962 than #if.
15963
15964 * argp/argp-fmtstream.h: Check whether
15965 __STRICT_ANSI__ is defined with #ifdef rather
15966 than #if.
15967 * argp/argp.h: Likewise.
15968
15969 * libio/genops.c: Check whether
15970 _IO_JUMPS_OFFSET is defined with #ifdef rather
15971 than #if.
15972 * libio/libioP.h: Likewise.
15973 * stdio-common/vfprintf.c: Likewise.
15974
15975 * sysdeps/generic/ldsodefs.h: Check whether
15976 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15977 than #if.
15978
15979 * nptl/sysdeps/pthread/pthread.h: Check
15980 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15981 its value.
15982
15983 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15984
15985 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15986 setting O_APPEND.
15987 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15988 test case.
15989
15990 [BZ #16680]
15991 * libio/fileops.c (_IO_file_open): Seek to end of file but
15992 don't cache the offset.
15993 (get_file_offset): Remove function.
15994 (do_ftell): Use cached offset when available.
15995 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15996 don't cache the offset.
15997 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15998 case.
15999 (do_one_test): Call it.
16000 (do_ftell_test): Fix up expected old offset for a+ mode.
16001 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16002 available.
16003
16004 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16005 up test status with function return status.
16006 (do_write_test): Likewise.
16007 (do_append_test): Likewise.
16008
16009 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16010 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16011 Remove.
16012
16013 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16014
16015 * math/gen-libm-test.pl (parse_args): Handle results specified for
16016 each rounding mode separately.
16017 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16018 tests and results from lrint_tonearest_test_data,
16019 lrint_towardzero_test_data, lrint_downward_test_data and
16020 lrint_upward_test_data.
16021 (lrint_test): Use ALL_RM_TEST.
16022 (lrint_tonearest_test_data): Remove.
16023 (lrint_test_tonearest): Likewise.
16024 (lrint_towardzero_test_data): Likewise.
16025 (lrint_test_towardzero): Likewise.
16026 (lrint_downward_test_data): Likewise.
16027 (lrint_test_downward): Likewise.
16028 (lrint_upward_test_data): Likewise.
16029 (lrint_test_upward): Likewise.
16030 (llrint_test_data): Merge in per-rounding-mode tests and results
16031 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16032 llrint_downward_test_data and llrint_upward_test_data.
16033 (llrint_test): Use ALL_RM_TEST.
16034 (llrint_tonearest_test_data): Remove.
16035 (llrint_test_tonearest): Likewise.
16036 (llrint_towardzero_test_data): Likewise.
16037 (llrint_test_towardzero): Likewise.
16038 (llrint_downward_test_data): Likewise.
16039 (llrint_test_downward): Likewise.
16040 (llrint_upward_test_data): Likewise.
16041 (llrint_test_upward): Likewise.
16042 (rint_test_data): Merge in per-rounding-mode tests and results
16043 from rint_tonearest_test_data, rint_towardzero_test_data,
16044 rint_downward_test_data and rint_upward_test_data. Add
16045 per-rounding-mode results for tests not in those arrays.
16046 (rint_test): Use ALL_RM_TEST.
16047 (rint_tonearest_test_data): Remove.
16048 (rint_test_tonearest): Likewise.
16049 (rint_towardzero_test_data): Likewise.
16050 (rint_test_towardzero): Likewise.
16051 (rint_downward_test_data): Likewise.
16052 (rint_test_downward): Likewise.
16053 (rint_upward_test_data): Likewise.
16054 (rint_test_upward): Likewise.
16055 (main): Don't call removed functions.
16056
16057 2014-03-14 Roland McGrath <roland@hack.frob.com>
16058
16059 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16060 "Compiled on ..." crapola. It is anti-useful.
16061
16062 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16063
16064 * scripts/evaluate-test.sh: Handle fourth argument to determine
16065 whether test run should stop on failure.
16066 * Makeconfig (stop-on-test-failure): New variable.
16067 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16068 $(stop-on-test-failure).
16069 * Makefile (tests): Give a summary of results from testing and
16070 exit with failure status if they include an ERROR or FAIL.
16071 (xtests): Likewise.
16072 * manual/install.texi (Configuring and compiling): Mention
16073 stop-on-test-failure=y.
16074 * INSTALL: Regenerated.
16075
16076 2014-03-14 Roland McGrath <roland@hack.frob.com>
16077
16078 * scripts/versionlist.awk: New file.
16079 * Makerules [$(build-shared) = yes]
16080 (postclean-generated): Add Versions.def, not Versions.def.v and
16081 Versions.def.v.i.
16082 ($(common-objpfx)Versions.def.v.i): Target removed.
16083 ($(common-objpfx)Versions.def): New target.
16084 ($(common-objpfx)Versions.all): Depend on that rather that
16085 $(common-objpfx)Versions.def.v.
16086 * Versions.def: File removed.
16087
16088 * Makeconfig (+gccwarn): Add -Wundef.
16089 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16090 a dl-sysdep.h breaking its contract.
16091 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16092 * include/stackinfo.h: New file.
16093 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16094 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16095 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16096 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16097 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16098 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16099 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16100 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16101 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16102 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16103 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16104 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16105 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16106 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16107 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16108
16109 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16110
16111 [BZ #16707]
16112 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16113 implementation.
16114 * math/libm-test.inc (round_test_data): Add more tests.
16115
16116 [BZ #16706]
16117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16118 implementation.
16119 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16120
16121 [BZ #16701]
16122 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16123 implementation.
16124 * math/libm-test.inc (ceil_test_data): Add more tests.
16125
16126 * math/libm-test.inc (trunc_test_data): Add more tests related to
16127 BZ#16414.
16128
16129 2014-03-14 Roland McGrath <roland@hack.frob.com>
16130
16131 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16132 with #if rather than #ifdef.
16133 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16134
16135 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16136
16137 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16138 first. Disable AVX-512 GCC support if assembler doesn't support
16139 it.
16140 * sysdeps/x86_64/configure: Regenerated.
16141
16142 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16143
16144 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16145 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16146 (__old_pthread_attr_setstack): Likewise.
16147 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16148 [!_STACK_GROWS_DOWN]: Likewise.
16149
16150 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16151
16152 * config.make.in (have-bash2): Delete.
16153 * configure.ac (libc_cv_have_bash2): Delete.
16154 * configure: Regenerate.
16155 * elf/Makefile (common-ldd-rewrite): Rename to ...
16156 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16157 (sh-ldd-rewrite): Delete.
16158 (bash-ldd-rewrite): Delete.
16159 (have-bash2): Delete checks.
16160 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16161 ldd-rewrite.
16162
16163 * config.make.in (have-ksh): Delete.
16164 (KSH): Delete.
16165 * configure.ac (libc_cv_have_ksh): Delete.
16166 * configure: Regenerate.
16167
16168 * elf/Makefile: Delete $(have-ksh) check.
16169 ($(objpfx)sotruss): Change KSH to BASH.
16170 * elf/sotruss.ksh: Rename to ...
16171 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16172 function style to match POSIX. Drop ksh vim mode setting.
16173
16174 * manual/time.texi (Specifying the Time Zone with TZ): Change
16175 Tuesday to Thursday.
16176
16177 * debug/tst-longjmp_chk2.c: Update header comment.
16178 (stackoverflow_handler): Add comment. Call assert on pass value.
16179
16180 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16181
16182 [BZ #16194]
16183 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16184 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16185 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16186 (La_x86_64_vector): Add zmm.
16187 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16188 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16189 ($(objpfx)tst-audit10): New target.
16190 ($(objpfx)tst-audit10.out): Likewise.
16191 (tst-audit10-ENV): New.
16192 (AVX512-CFLAGS): Likewise.
16193 (CFLAGS-tst-audit10.c): Likewise.
16194 (CFLAGS-tst-auditmod10a.c): Likewise.
16195 (CFLAGS-tst-auditmod10b.c): Likewise.
16196 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16197 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16198 * sysdeps/x86_64/configure: Regenerated.
16199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16200 AVX-512 zmm register support.
16201 (_dl_x86_64_save_sse): Likewise.
16202 (_dl_x86_64_restore_sse): Likewise.
16203 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16204 size vector registers.
16205 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16206 (ZMM_SIZE): Likewise.
16207 * sysdeps/x86_64/tst-audit10.c: New file.
16208 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16209 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16210
16211 2014-03-13 Roland McGrath <roland@hack.frob.com>
16212
16213 * configure.ac (HAVE_EHDR_START): New check.
16214 * configure: Regenerated.
16215 * config.h.in (HAVE_EHDR_START): New #undef.
16216 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16217 assuming the lowest-addressed segment maps the start of the file.
16218
16219 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16220
16221 * INSTALL: Regenerated.
16222
16223 2014-03-13 Will Newton <will.newton@linaro.org>
16224
16225 * manual/setjmp.texi (System V contexts): Improve
16226 clarity and grammar of documentation.
16227
16228 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16229
16230 [BZ #16381]
16231 * elf/Makefile (tests): Add tst-pie2.
16232 (tests-pie): Add tst-pie2.
16233 * elf/tst-pie2.c: New file.
16234 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16235 for ET_EXEC.
16236 * elf/rtld.c (map_doit): Load executable as lt_executable.
16237 (dl_main): Likewise.
16238
16239 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16240
16241 [BZ #16642]
16242 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16243 (__ASSUME_PSELECT): Undefine.
16244
16245 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16246
16247 [BZ #16689]
16248 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16249 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16250 static build.
16251 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16252 selector for static builds.
16253
16254 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16255
16256 [BZ #16695]
16257 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16258 key in the buffer.
16259
16260 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16261
16262 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16263 IFUNC selector for static builds.
16264
16265 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16266
16267 * sysdeps/mips/math_private.h [__mips_hard_float]
16268 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16269 libc_feresetround_mips_ctx.
16270 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16271 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16272 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16273
16274 [BZ #16677]
16275 * math/s_nextafter.c (__nextafter): Do not return value from
16276 overflowing computation.
16277 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16278 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16279 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16280 Likewise.
16281 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16282 Likewise.
16283 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16284 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16285
16286 2014-03-11 Roland McGrath <roland@hack.frob.com>
16287
16288 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16289 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16290 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16291 the new mov targetting sp.
16292
16293 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16294
16295 [BZ #16683]
16296 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16297 Define it for static builds as well.
16298 (NO_BZERO_IMPL): Likewise.
16299
16300 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16301
16302 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16303 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16304 multiarch strspn for PPC64.
16305 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16306 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16308 (__libc_ifunc_impl_list): Likewise.
16309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16310 multiarch optimizations
16311 * string/strspn.c (strspn): Using macro to redefine symbol name.
16312
16313 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16314 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16315
16316 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16317 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16318 multiarch strncat for PPC64.
16319 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16320 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16322 (__libc_ifunc_impl_list): Likewise.
16323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16324 multiarch optimizations
16325
16326 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16327
16328 [BZ #16639]
16329 * nscd/nscd.service: Make service type forking.
16330
16331 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16332
16333 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16334 sign in non default rounding modes.
16335 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16336
16337 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16338
16339 * math/libm-test.inc (ALL_RM_TEST): New macro.
16340 (ceil_test): Use ALL_RM_TEST.
16341 (cimag_test): Likewise.
16342 (conj_test): Likewise.
16343 (copysign_test): Likewise.
16344 (cproj_test): Likewise.
16345 (creal_test): Likewise.
16346 (fabs_test): Likewise.
16347 (floor_test): Likewise.
16348 (fmax_test): Likewise.
16349 (fmin_test): Likewise.
16350 (fmod_test): Likewise.
16351 (fpclassify_test): Likewise.
16352 (frexp_test): Likewise.
16353 (ilogb_test): Likewise.
16354 (isfinite_test): Likewise.
16355 (finite_test): Likewise.
16356 (isgreater_test): Likewise.
16357 (isgreaterequal_test): Likewise.
16358 (isinf_test): Likewise.
16359 (isless_test): Likewise.
16360 (islessequal_test): Likewise.
16361 (islessgreater_test): Likewise.
16362 (isnan_test): Likewise.
16363 (isnormal_test): Likewise.
16364 (issignaling_test): Likewise.
16365 (isunordered_test): Likewise.
16366 (logb_test): Likewise.
16367 (logb_downward_test_data): Remove.
16368 (logb_test_downward): Likewise.
16369 (lround_test): Use ALL_RM_TEST.
16370 (llround_test): Likewise.
16371 (modf_test): Likewise.
16372 (nexttoward_test): Likewise.
16373 (remainder_test): Likewise.
16374 (drem_test): Likewise.
16375 (remainder_tonearest_test_data): Likewise.
16376 (remainder_test_tonearest): Likewise.
16377 (drem_test_tonearest): Likewise.
16378 (remainder_towardzero_test_data): Likewise.
16379 (remainder_test_towardzero): Likewise.
16380 (drem_test_towardzero): Likewise.
16381 (remainder_downward_test_data): Likewise.
16382 (remainder_test_downward): Likewise.
16383 (drem_test_downward): Likewise.
16384 (remainder_upward_test_data): Likewise.
16385 (remainder_test_upward): Likewise.
16386 (drem_test_upward): Likewise.
16387 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16388 (round_test): Use ALL_RM_TEST.
16389 (signbit_test): Likewise.
16390 (trunc_test): Likewise.
16391 (significand_test): Likewise.
16392 (main): Don't call removed functions.
16393
16394 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16395
16396 [BZ #16674]
16397 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16398 || __USE_XOPEN2K8].
16399 (ILL_ILLOPN): Likewise.
16400 (ILL_ILLADR): Likewise.
16401 (ILL_ILLTRP): Likewise.
16402 (ILL_PRVOPC): Likewise.
16403 (ILL_PRVREG): Likewise.
16404 (ILL_COPROC): Likewise.
16405 (ILL_BADSTK): Likewise.
16406 (FPE_INTDIV): Likewise.
16407 (FPE_INTOVF): Likewise.
16408 (FPE_FLTDIV): Likewise.
16409 (FPE_FLTOVF): Likewise.
16410 (FPE_FLTUND): Likewise.
16411 (FPE_FLTRES): Likewise.
16412 (FPE_FLTINV): Likewise.
16413 (FPE_FLTSUB): Likewise.
16414 (SEGV_MAPERR): Likewise.
16415 (SEGV_ACCERR): Likewise.
16416 (BUS_ADRALN): Likewise.
16417 (BUS_ADRERR): Likewise.
16418 (BUS_OBJERR): Likewise.
16419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16420 (TRAP_TRACE): Likewise.
16421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16422 __USE_XOPEN2K8].
16423 (CLD_KILLED): Likewise.
16424 (CLD_DUMPED): Likewise.
16425 (CLD_TRAPPED): Likewise.
16426 (CLD_STOPPED): Likewise.
16427 (CLD_CONTINUED): Likewise.
16428 (POLL_IN): Likewise.
16429 (POLL_OUT): Likewise.
16430 (POLL_MSG): Likewise.
16431 (POLL_ERR): Likewise.
16432 (POLL_PRI): Likewise.
16433 (POLL_HUP): Likewise.
16434 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16435 Likewise.
16436 (ILL_ILLOPN): Likewise.
16437 (ILL_ILLADR): Likewise.
16438 (ILL_ILLTRP): Likewise.
16439 (ILL_PRVOPC): Likewise.
16440 (ILL_PRVREG): Likewise.
16441 (ILL_COPROC): Likewise.
16442 (ILL_BADSTK): Likewise.
16443 (FPE_INTDIV): Likewise.
16444 (FPE_INTOVF): Likewise.
16445 (FPE_FLTDIV): Likewise.
16446 (FPE_FLTOVF): Likewise.
16447 (FPE_FLTUND): Likewise.
16448 (FPE_FLTRES): Likewise.
16449 (FPE_FLTINV): Likewise.
16450 (FPE_FLTSUB): Likewise.
16451 (SEGV_MAPERR): Likewise.
16452 (SEGV_ACCERR): Likewise.
16453 (BUS_ADRALN): Likewise.
16454 (BUS_ADRERR): Likewise.
16455 (BUS_OBJERR): Likewise.
16456 (BUS_MCEERR_AR): Likewise.
16457 (BUS_MCEERR_AO): Likewise.
16458 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16459 (TRAP_TRACE): Likewise.
16460 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16461 __USE_XOPEN2K8].
16462 (CLD_KILLED): Likewise.
16463 (CLD_DUMPED): Likewise.
16464 (CLD_TRAPPED): Likewise.
16465 (CLD_STOPPED): Likewise.
16466 (CLD_CONTINUED): Likewise.
16467 (POLL_IN): Likewise.
16468 (POLL_OUT): Likewise.
16469 (POLL_MSG): Likewise.
16470 (POLL_ERR): Likewise.
16471 (POLL_PRI): Likewise.
16472 (POLL_HUP): Likewise.
16473 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16474 (ILL_ILLOPN): Likewise.
16475 (ILL_ILLADR): Likewise.
16476 (ILL_ILLTRP): Likewise.
16477 (ILL_PRVOPC): Likewise.
16478 (ILL_PRVREG): Likewise.
16479 (ILL_COPROC): Likewise.
16480 (ILL_BADSTK): Likewise.
16481 (FPE_INTDIV): Likewise.
16482 (FPE_INTOVF): Likewise.
16483 (FPE_FLTDIV): Likewise.
16484 (FPE_FLTOVF): Likewise.
16485 (FPE_FLTUND): Likewise.
16486 (FPE_FLTRES): Likewise.
16487 (FPE_FLTINV): Likewise.
16488 (FPE_FLTSUB): Likewise.
16489 (SEGV_MAPERR): Likewise.
16490 (SEGV_ACCERR): Likewise.
16491 (BUS_ADRALN): Likewise.
16492 (BUS_ADRERR): Likewise.
16493 (BUS_OBJERR): Likewise.
16494 (BUS_MCEERR_AR): Likewise.
16495 (BUS_MCEERR_AO): Likewise.
16496 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16497 (TRAP_TRACE): Likewise.
16498 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16499 __USE_XOPEN2K8].
16500 (CLD_KILLED): Likewise.
16501 (CLD_DUMPED): Likewise.
16502 (CLD_TRAPPED): Likewise.
16503 (CLD_STOPPED): Likewise.
16504 (CLD_CONTINUED): Likewise.
16505 (POLL_IN): Likewise.
16506 (POLL_OUT): Likewise.
16507 (POLL_MSG): Likewise.
16508 (POLL_ERR): Likewise.
16509 (POLL_PRI): Likewise.
16510 (POLL_HUP): Likewise.
16511 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16512 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 (ILL_BADIADDR): Likewise.
16521 (ILL_BREAK): Likewise.
16522 (FPE_INTDIV): Likewise.
16523 (FPE_INTOVF): Likewise.
16524 (FPE_FLTDIV): Likewise.
16525 (FPE_FLTOVF): Likewise.
16526 (FPE_FLTUND): Likewise.
16527 (FPE_FLTRES): Likewise.
16528 (FPE_FLTINV): Likewise.
16529 (FPE_FLTSUB): Likewise.
16530 (FPE_DECOVF): Likewise.
16531 (FPE_DECDIV): Likewise.
16532 (FPE_DECERR): Likewise.
16533 (FPE_INVASC): Likewise.
16534 (FPE_INVDEC): Likewise.
16535 (SEGV_MAPERR): Likewise.
16536 (SEGV_ACCERR): Likewise.
16537 (SEGV_PSTKOVF): Likewise.
16538 (BUS_ADRALN): Likewise.
16539 (BUS_ADRERR): Likewise.
16540 (BUS_OBJERR): Likewise.
16541 (BUS_MCEERR_AR): Likewise.
16542 (BUS_MCEERR_AO): Likewise.
16543 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16544 (TRAP_TRACE): Likewise.
16545 (TRAP_BRANCH): Likewise.
16546 (TRAP_HWBKPT): Likewise.
16547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16548 __USE_XOPEN2K8].
16549 (CLD_KILLED): Likewise.
16550 (CLD_DUMPED): Likewise.
16551 (CLD_TRAPPED): Likewise.
16552 (CLD_STOPPED): Likewise.
16553 (CLD_CONTINUED): Likewise.
16554 (POLL_IN): Likewise.
16555 (POLL_OUT): Likewise.
16556 (POLL_MSG): Likewise.
16557 (POLL_ERR): Likewise.
16558 (POLL_PRI): Likewise.
16559 (POLL_HUP): Likewise.
16560 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16561 (ILL_ILLOPN): Likewise.
16562 (ILL_ILLADR): Likewise.
16563 (ILL_ILLTRP): Likewise.
16564 (ILL_PRVOPC): Likewise.
16565 (ILL_PRVREG): Likewise.
16566 (ILL_COPROC): Likewise.
16567 (ILL_BADSTK): Likewise.
16568 (FPE_INTDIV): Likewise.
16569 (FPE_INTOVF): Likewise.
16570 (FPE_FLTDIV): Likewise.
16571 (FPE_FLTOVF): Likewise.
16572 (FPE_FLTUND): Likewise.
16573 (FPE_FLTRES): Likewise.
16574 (FPE_FLTINV): Likewise.
16575 (FPE_FLTSUB): Likewise.
16576 (SEGV_MAPERR): Likewise.
16577 (SEGV_ACCERR): Likewise.
16578 (BUS_ADRALN): Likewise.
16579 (BUS_ADRERR): Likewise.
16580 (BUS_OBJERR): Likewise.
16581 (BUS_MCEERR_AR): Likewise.
16582 (BUS_MCEERR_AO): Likewise.
16583 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16584 (TRAP_TRACE): Likewise.
16585 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16586 __USE_XOPEN2K8].
16587 (CLD_KILLED): Likewise.
16588 (CLD_DUMPED): Likewise.
16589 (CLD_TRAPPED): Likewise.
16590 (CLD_STOPPED): Likewise.
16591 (CLD_CONTINUED): Likewise.
16592 (POLL_IN): Likewise.
16593 (POLL_OUT): Likewise.
16594 (POLL_MSG): Likewise.
16595 (POLL_ERR): Likewise.
16596 (POLL_PRI): Likewise.
16597 (POLL_HUP): Likewise.
16598 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16599 (ILL_ILLOPN): Likewise.
16600 (ILL_ILLADR): Likewise.
16601 (ILL_ILLTRP): Likewise.
16602 (ILL_PRVOPC): Likewise.
16603 (ILL_PRVREG): Likewise.
16604 (ILL_COPROC): Likewise.
16605 (ILL_BADSTK): Likewise.
16606 (FPE_INTDIV): Likewise.
16607 (FPE_INTOVF): Likewise.
16608 (FPE_FLTDIV): Likewise.
16609 (FPE_FLTOVF): Likewise.
16610 (FPE_FLTUND): Likewise.
16611 (FPE_FLTRES): Likewise.
16612 (FPE_FLTINV): Likewise.
16613 (FPE_FLTSUB): Likewise.
16614 (SEGV_MAPERR): Likewise.
16615 (SEGV_ACCERR): Likewise.
16616 (BUS_ADRALN): Likewise.
16617 (BUS_ADRERR): Likewise.
16618 (BUS_OBJERR): Likewise.
16619 (BUS_MCEERR_AR): Likewise.
16620 (BUS_MCEERR_AO): Likewise.
16621 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16622 (TRAP_TRACE): Likewise.
16623 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16624 __USE_XOPEN2K8].
16625 (CLD_KILLED): Likewise.
16626 (CLD_DUMPED): Likewise.
16627 (CLD_TRAPPED): Likewise.
16628 (CLD_STOPPED): Likewise.
16629 (CLD_CONTINUED): Likewise.
16630 (POLL_IN): Likewise.
16631 (POLL_OUT): Likewise.
16632 (POLL_MSG): Likewise.
16633 (POLL_ERR): Likewise.
16634 (POLL_PRI): Likewise.
16635 (POLL_HUP): Likewise.
16636 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16637 (ILL_ILLOPN): Likewise.
16638 (ILL_ILLADR): Likewise.
16639 (ILL_ILLTRP): Likewise.
16640 (ILL_PRVOPC): Likewise.
16641 (ILL_PRVREG): Likewise.
16642 (ILL_COPROC): Likewise.
16643 (ILL_BADSTK): Likewise.
16644 (FPE_INTDIV): Likewise.
16645 (FPE_INTOVF): Likewise.
16646 (FPE_FLTDIV): Likewise.
16647 (FPE_FLTOVF): Likewise.
16648 (FPE_FLTUND): Likewise.
16649 (FPE_FLTRES): Likewise.
16650 (FPE_FLTINV): Likewise.
16651 (FPE_FLTSUB): Likewise.
16652 (SEGV_MAPERR): Likewise.
16653 (SEGV_ACCERR): Likewise.
16654 (BUS_ADRALN): Likewise.
16655 (BUS_ADRERR): Likewise.
16656 (BUS_OBJERR): Likewise.
16657 (BUS_MCEERR_AR): Likewise.
16658 (BUS_MCEERR_AO): Likewise.
16659 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16660 (TRAP_TRACE): Likewise.
16661 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16662 __USE_XOPEN2K8].
16663 (CLD_KILLED): Likewise.
16664 (CLD_DUMPED): Likewise.
16665 (CLD_TRAPPED): Likewise.
16666 (CLD_STOPPED): Likewise.
16667 (CLD_CONTINUED): Likewise.
16668 (POLL_IN): Likewise.
16669 (POLL_OUT): Likewise.
16670 (POLL_MSG): Likewise.
16671 (POLL_ERR): Likewise.
16672 (POLL_PRI): Likewise.
16673 (POLL_HUP): Likewise.
16674 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16675 (ILL_ILLOPN): Likewise.
16676 (ILL_ILLADR): Likewise.
16677 (ILL_ILLTRP): Likewise.
16678 (ILL_PRVOPC): Likewise.
16679 (ILL_PRVREG): Likewise.
16680 (ILL_COPROC): Likewise.
16681 (ILL_BADSTK): Likewise.
16682 (ILL_DBLFLT): Likewise.
16683 (ILL_HARDWALL): Likewise.
16684 (FPE_INTDIV): Likewise.
16685 (FPE_INTOVF): Likewise.
16686 (FPE_FLTDIV): Likewise.
16687 (FPE_FLTOVF): Likewise.
16688 (FPE_FLTUND): Likewise.
16689 (FPE_FLTRES): Likewise.
16690 (FPE_FLTINV): Likewise.
16691 (FPE_FLTSUB): Likewise.
16692 (SEGV_MAPERR): Likewise.
16693 (SEGV_ACCERR): Likewise.
16694 (BUS_ADRALN): Likewise.
16695 (BUS_ADRERR): Likewise.
16696 (BUS_OBJERR): Likewise.
16697 (BUS_MCEERR_AR): Likewise.
16698 (BUS_MCEERR_AO): Likewise.
16699 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16700 (TRAP_TRACE): Likewise.
16701 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16702 __USE_XOPEN2K8].
16703 (CLD_KILLED): Likewise.
16704 (CLD_DUMPED): Likewise.
16705 (CLD_TRAPPED): Likewise.
16706 (CLD_STOPPED): Likewise.
16707 (CLD_CONTINUED): Likewise.
16708 (POLL_IN): Likewise.
16709 (POLL_OUT): Likewise.
16710 (POLL_MSG): Likewise.
16711 (POLL_ERR): Likewise.
16712 (POLL_PRI): Likewise.
16713 (POLL_HUP): Likewise.
16714 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16715 (ILL_ILLOPN): Likewise.
16716 (ILL_ILLADR): Likewise.
16717 (ILL_ILLTRP): Likewise.
16718 (ILL_PRVOPC): Likewise.
16719 (ILL_PRVREG): Likewise.
16720 (ILL_COPROC): Likewise.
16721 (ILL_BADSTK): Likewise.
16722 (FPE_INTDIV): Likewise.
16723 (FPE_INTOVF): Likewise.
16724 (FPE_FLTDIV): Likewise.
16725 (FPE_FLTOVF): Likewise.
16726 (FPE_FLTUND): Likewise.
16727 (FPE_FLTRES): Likewise.
16728 (FPE_FLTINV): Likewise.
16729 (FPE_FLTSUB): Likewise.
16730 (SEGV_MAPERR): Likewise.
16731 (SEGV_ACCERR): Likewise.
16732 (BUS_ADRALN): Likewise.
16733 (BUS_ADRERR): Likewise.
16734 (BUS_OBJERR): Likewise.
16735 (BUS_MCEERR_AR): Likewise.
16736 (BUS_MCEERR_AO): Likewise.
16737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16738 (TRAP_TRACE): Likewise.
16739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16740 __USE_XOPEN2K8].
16741 (CLD_KILLED): Likewise.
16742 (CLD_DUMPED): Likewise.
16743 (CLD_TRAPPED): Likewise.
16744 (CLD_STOPPED): Likewise.
16745 (CLD_CONTINUED): Likewise.
16746 (POLL_IN): Likewise.
16747 (POLL_OUT): Likewise.
16748 (POLL_MSG): Likewise.
16749 (POLL_ERR): Likewise.
16750 (POLL_PRI): Likewise.
16751 (POLL_HUP): Likewise.
16752 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16753 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16754
16755 [BZ #16670]
16756 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16757 before #include of <time.h>.
16758 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16759 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16760 (test-xfail-UNIX98/sched.h/conform): Likewise.
16761
16762 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16763
16764 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16765 error absence of trapping exception support.
16766 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16767
16768 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16769
16770 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16771 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16772 * timezone/Makefile (testdata): Move definition above include of
16773 Rules.
16774 (test-zones): New variable.
16775 (tests-special): Add zone files.
16776 (build-testdata): Use $(evaluate-test).
16777
16778 * elf/Makefile (tests-special): Rename tests to end with .out.
16779 ($(objpfx)noload-mem): Likewise.
16780 ($(objpfx)tst-leaks1-mem): Likewise.
16781 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16782 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16783 $(objpfx)test-iconvconfig.out.
16784 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16785 set -e inside subshell and redirect output to file.
16786 * iconvdata/Makefile (generated): Rename tests to end with .out.
16787 Correct type.
16788 (tests-special): Rename tests to end with .out.
16789 ($(objpfx)mtrace-tst-loading): Likewise.
16790 * intl/Makefile (generated): Likewise.
16791 (tests-special): Likewise.
16792 ($(objpfx)mtrace-tst-gettext): Likewise.
16793 * misc/Makefile (generated): Likewise.
16794 (tests-special): Likewise.
16795 ($(objpfx)tst-error1-mem): Likewise.
16796 * nptl/Makefile (tests-special): Likewise.
16797 ($(objpfx)tst-stack3-mem): Likewise.
16798 (generated): Likewise.
16799 * posix/Makefile (generated): Likewise.
16800 (tests-special): Likewise.
16801 (xtests-special): Likewise.
16802 ($(objpfx)tst-fnmatch-mem): Likewise.
16803 ($(objpfx)bug-regex2-mem): Likewise.
16804 ($(objpfx)bug-regex14-mem): Likewise.
16805 ($(objpfx)bug-regex21-mem): Likewise.
16806 ($(objpfx)bug-regex31-mem): Likewise.
16807 ($(objpfx)tst-vfork3-mem): Likewise.
16808 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16809 ($(objpfx)tst-pcre-mem): Likewise.
16810 ($(objpfx)tst-boost-mem): Likewise.
16811 ($(objpfx)bug-ga2-mem): Likewise.
16812 ($(objpfx)bug-glob2-mem): Likewise.
16813 * resolv/Makefile (generate): Likewise.
16814 (tests-special): Likewise.
16815 (xtests-special): Likewise.
16816 (generated): Likewise.
16817 ($(objpfx)mtrace-tst-leaks): Likewise.
16818 ($(objpfx)mtrace-tst-leaks2): Likewise.
16819
16820 * scripts/merge-test-results.sh: New file.
16821 * Makefile (tests-special-notdir): New variable.
16822 (tests): Run merge-test-results.sh.
16823 (xtests): Likewise.
16824 * Rules (tests-special-notdir): New variable.
16825 (xtests-special-notdir): Likewise.
16826 (tests): Run merge-test-results.sh
16827 (xtests): Likewise.
16828
16829 * Makeconfig (test-xfail-name): New variable.
16830 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16831 compute variable name for expected failures.
16832 * conform/Makefile (conformtest-headers-data): New variable.
16833 (conformtest-standards): Likewise.
16834 (conformtest-headers-ISO): Likewise.
16835 (conformtest-headers-ISO99): Likewise.
16836 (conformtest-headers-ISO11): Likewise.
16837 (conformtest-headers-POSIX): Likewise.
16838 (conformtest-headers-XPG3): Likewise.
16839 (conformtest-headers-XPG4): Likewise.
16840 (conformtest-headers-UNIX98): Likewise.
16841 (conformtest-headers-XOPEN2K): Likewise.
16842 (conformtest-headers-POSIX2008): Likewise.
16843 (conformtest-headers-XOPEN2K8): Likewise.
16844 (conformtest-header-list-base): Likewise.
16845 (conformtest-header-list-tests): Likewise.
16846 (conformtest-header-base): Likewise.
16847 (conformtest-header-tests): Likewise.
16848 (tests-special): Add $(conformtest-header-list-tests). If
16849 [$(fast-check) && !$(cross-compiling)], add
16850 $(conformtest-header-tests) instead of
16851 $(objpfx)run-conformtest.out.
16852 (generated): Add $(conformtest-header-list-base). If
16853 [$(fast-check) && !$(cross-compiling)], add
16854 $(conformtest-header-base). Remove previous setting.
16855 ($(conformtest-header-list-tests)): New target.
16856 (test-xfail-run-conformtest): Remove variable.
16857 ($(objpfx)run-conformtest.out): Remove target.
16858 (test-xfail-ISO11/complex.h/conform): New variable.
16859 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16860 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16861 (test-xfail-XPG3/varargs.h/conform): Likewise.
16862 (test-xfail-XPG4/varargs.h/conform): Likewise.
16863 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16864 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16865 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16866 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16867 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16868 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16869 (test-xfail-XPG3/ftw.h/conform): Likewise.
16870 (test-xfail-XPG3/grp.h/conform): Likewise.
16871 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16872 (test-xfail-XPG3/limits.h/conform): Likewise.
16873 (test-xfail-XPG3/pwd.h/conform): Likewise.
16874 (test-xfail-XPG3/search.h/conform): Likewise.
16875 (test-xfail-XPG3/signal.h/conform): Likewise.
16876 (test-xfail-XPG3/stdio.h/conform): Likewise.
16877 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16878 (test-xfail-XPG3/string.h/conform): Likewise.
16879 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16880 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16881 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16882 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16883 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16884 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16885 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16886 (test-xfail-XPG3/termios.h/conform): Likewise.
16887 (test-xfail-XPG3/time.h/conform): Likewise.
16888 (test-xfail-XPG3/unistd.h/conform): Likewise.
16889 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16890 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16891 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16892 (test-xfail-XPG4/netdb.h/conform): Likewise.
16893 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16894 (test-xfail-XPG4/signal.h/conform): Likewise.
16895 (test-xfail-XPG4/stdio.h/conform): Likewise.
16896 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16897 (test-xfail-XPG4/stropts.h/conform): Likewise.
16898 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16899 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16900 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16901 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16902 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16903 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16904 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16905 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16906 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16907 (test-xfail-XPG4/termios.h/conform): Likewise.
16908 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16909 (test-xfail-XPG4/unistd.h/conform): Likewise.
16910 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16911 (test-xfail-POSIX/sched.h/conform): Likewise.
16912 (test-xfail-POSIX/signal.h/conform): Likewise.
16913 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16914 (test-xfail-POSIX/tar.h/conform): Likewise.
16915 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16916 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16917 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16918 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16919 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16920 (test-xfail-UNIX98/sched.h/conform): Likewise.
16921 (test-xfail-UNIX98/signal.h/conform): Likewise.
16922 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16923 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16924 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16925 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16926 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16927 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16928 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16929 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16930 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16931 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16932 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16933 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16934 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16935 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16936 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16937 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16938 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16939 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16940 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16941 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16942 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16943 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16944 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16945 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16946 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16947 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16948 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16949 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16950 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16951 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16952 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16953 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16954 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16955 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16956 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16957 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16958 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16959 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16960 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16961 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16962 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16963 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16964 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16965 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16966 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16967 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16968 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16969 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16970 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16971 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16972 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16973 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16974 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16975 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16976 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16977 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16978 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16979 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16980 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16981 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16982 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16983 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16984 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16985 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16986 (conformtest-cc-flags): Likewise.
16987 ($(conformtest-header-tests): New target.
16988 * conform/check-header-lists.sh: New file.
16989 * conform/run-conformtest.sh: Remove.
16990
16991 * conform/conformtest.pl: Allow ' and \ in values given for
16992 constants.
16993 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16994 inclusion.
16995 [POSIX] (sys/types.h): Likewise.
16996 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16997 inclusion.
16998 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16999 inclusion.
17000 * conform/data/signal.h-data (SIGIO): Remove expectation.
17001 [XPG3] (SIGBUS): Do not expect.
17002 [POSIX || XPG3] (SIGPOLL): Likewise.
17003 [POSIX || XPG3] (SIGPROF): Likewise.
17004 [POSIX || XPG3] (SIGSYS): Likewise.
17005 [XPG3] (SIGTRAP): Likewise.
17006 [POSIX || XPG3] (SIGURG): Likewise.
17007 [POSIX || XPG3] (SIGVTALRM): Likewise.
17008 [POSIX || XPG3] (SIGXCPU): Likewise.
17009 [POSIX || XPG3] (SIGXFSZ): Likewise.
17010 [POSIX] (SA_SIGINFO): Expect.
17011 [XPG3] (siginfo_t): Do not expect type or contents.
17012 [POSIX] (si_pid): Do not expect element.
17013 [POSIX] (si_uid): Likewise.
17014 [POSIX] (si_addr): Likewise.
17015 [POSIX] (si_status): Likewise.
17016 [POSIX] (si_band): Likewise.
17017 [XPG4] (si_value): Likewise.
17018 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17019 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17020 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17021 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17022 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17023 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17024 [POSIX || XPG3] (ILL_COPROC): Likewise.
17025 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17026 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17027 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17028 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17029 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17030 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17031 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17032 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17033 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17034 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17035 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17036 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17037 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17038 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17039 [POSIX || XPG3] (CLD_EXITED): Likewise.
17040 [POSIX || XPG3] (CLD_KILLED): Likewise.
17041 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17042 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17043 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17044 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17045 [POSIX || XPG3] (POLL_IN): Likewise.
17046 [POSIX || XPG3] (POLL_OUT): Likewise.
17047 [POSIX || XPG3] (POLL_MSG): Likewise.
17048 [POSIX || XPG3] (POLL_ERR): Likewise.
17049 [POSIX || XPG3] (POLL_PRI): Likewise.
17050 [POSIX || XPG3] (POLL_HUP): Likewise.
17051 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17052 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17053 (SIG*): Do not allow.
17054 [XPG3] (si_*): Likewise.
17055 [XPG3] (SI_*): Likewise.
17056 [XPG3 || XPG4] (sigev_*): Likewise.
17057 [XPG3 || XPG4] (SIGEV_*): Likewise.
17058 [XPG3 || XPG4] (sival_*): Likewise.
17059 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17060 [POSIX || XPG3] (BUS_*): Likewise.
17061 [POSIX || XPG3] (CLD_*): Likewise.
17062 [POSIX || XPG3] (FPE_*): Likewise.
17063 [POSIX || XPG3] (ILL_*): Likewise.
17064 [POSIX || XPG3] (POLL_*): Likewise.
17065 [POSIX || XPG3] (SEGV_*): Likewise.
17066 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17067 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17068 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17069 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17070 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17071 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17072 Specify type and value.
17073 (TVERSLEN): Likewise.
17074 (REGTYPE): Likewise.
17075 (AREGTYPE): Likewise.
17076 (LNKTYPE): Likewise.
17077 (SYMTYPE): Likewise.
17078 (CHRTYPE): Likewise.
17079 (BLKTYPE): Likewise.
17080 (DIRTYPE): Likewise.
17081 (FIFOTYPE): Likewise.
17082 (CONTTYPE): Likewise.
17083 (TSUID): Likewise.
17084 (TSGID): Likewise.
17085 (TSVTX): Likewise.
17086 (TUREAD): Likewise.
17087 (TUWRITE): Likewise.
17088 (TUEXEC): Likewise.
17089 (TGREAD): Likewise.
17090 (TGWRITE): Likewise.
17091 (TGEXEC): Likewise.
17092 (TOREAD): Likewise.
17093 (TOWRITE): Likewise.
17094 (TOEXEC): Likewise.
17095 [POSIX] (TSVTX): Expect constant.
17096
17097 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17098
17099 * Makefile (tests): Change dependencies to ....
17100 (tests-special): ... additions to this variable.
17101 (tests): Depend on $(tests-special).
17102 * Makerules (check-abi-list): New variable.
17103 (check-abi): Depend on $(check-abi-list).
17104 [$(subdir) = elf] (tests-special): Add
17105 $(objpfx)check-abi-libc.out.
17106 [$(build-shared) = yes && subdir] (tests-special): Add
17107 $(check-abi-list).
17108 [$(build-shared) = yes && subdir] (tests): Do not depend on
17109 check-abi.
17110 * Rules (tests): Depend on $(tests-special).
17111 (xtests): Depend on $(xtests-special).
17112 * catgets/Makefile (tests): Change dependencies to ....
17113 (tests-special): ... additions to this variable.
17114 * conform/Makefile (tests): Change dependencies to ....
17115 (tests-special): ... additions to this variable.
17116 * elf/Makefile (tests): Change dependencies to ....
17117 (tests-special): ... additions to this variable.
17118 * grp/Makefile (tests): Change dependencies to ....
17119 (tests-special): ... additions to this variable.
17120 * iconv/Makefile (xtests): Change dependencies to ....
17121 (xtests-special): ... additions to this variable.
17122 * iconvdata/Makefile (tests): Change dependencies to ....
17123 (tests-special): ... additions to this variable.
17124 * intl/Makefile (tests): Change dependencies to ....
17125 (tests-special): ... additions to this variable. Also add
17126 $(objpfx)tst-gettext.out.
17127 * io/Makefile (tests): Change dependencies to ....
17128 (tests-special): ... additions to this variable.
17129 * libio/Makefile (tests): Change dependencies to ....
17130 (tests-special): ... additions to this variable.
17131 * malloc/Makefile (tests): Change dependencies to ....
17132 (tests-special): ... additions to this variable.
17133 * misc/Makefile (tests): Change dependencies to ....
17134 (tests-special): ... additions to this variable.
17135 * nptl/Makefile (tests): Change dependencies to ....
17136 (tests-special): ... additions to this variable.
17137 * nptl_db/Makefile (tests): Change dependencies to ....
17138 (tests-special): ... additions to this variable.
17139 * posix/Makefile (tests): Change dependencies to ....
17140 (tests-special): ... additions to this variable.
17141 (xtests): Change dependencies to ....
17142 (xtests-special): ... additions to this variable.
17143 * resolv/Makefile (tests): Change dependencies to ....
17144 (tests-special): ... additions to this variable.
17145 (xtests): Change dependencies to ....
17146 (xtests-special): ... additions to this variable.
17147 * stdio-common/Makefile (tests): Change dependencies to ....
17148 (tests-special): ... additions to this variable.
17149 (do-tst-unbputc): Remove target.
17150 (do-tst-printf): Likewise.
17151 * stdlib/Makefile (tests): Change dependencies to ....
17152 (tests-special): ... additions to this variable.
17153 * string/Makefile (tests): Change dependencies to ....
17154 (tests-special): ... additions to this variable.
17155 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17156 (tests-special): ... additions to this variable.
17157
17158 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17159 whole file.
17160 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17161 whole file.
17162 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17163 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17164
17165 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17166 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17167 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17168 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17169 * conform/data/libgen.h-data [XPG3]: Likewise.
17170 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17171 * conform/data/ndbm.h-data [XPG3]: Likewise.
17172 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17173 * conform/data/netdb.h-data [XPG3]: Likewise.
17174 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17175 * conform/data/poll.h-data [XPG3]: Likewise.
17176 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17177 * conform/data/strings.h-data [XPG3]: Likewise.
17178 * conform/data/stropts.h-data [XPG3]: Likewise.
17179 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17180 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17181 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17182 Likewise.
17183 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17184 * conform/data/sys/time.h-data [XPG3]: Likewise.
17185 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17186 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17187 * conform/data/sys/un.h-data [XPG3]: Likewise.
17188 * conform/data/syslog.h-data [XPG3]: Likewise.
17189 * conform/data/ucontext.h-data [XPG3]: Likewise.
17190 * conform/data/utmpx.h-data [XPG3]: Likewise.
17191 * conform/data/varargs.h-data [UNIX98]: Enable file.
17192
17193 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17194
17195 * math/libm-test.inc (struct test_f_f_data): Move expected results
17196 into structure for each rounding mode.
17197 (struct test_ff_f_data): Likewise.
17198 (struct test_ff_f_data_nexttoward): Likewise.
17199 (struct test_fi_f_data): Likewise.
17200 (struct test_fl_f_data): Likewise.
17201 (struct test_if_f_data): Likewise.
17202 (struct test_fff_f_data): Likewise.
17203 (struct test_c_f_data): Likewise.
17204 (struct test_f_f1_data): Likewise.
17205 (struct test_fF_f1_data): Likewise.
17206 (struct test_ffI_f1_data): Likewise.
17207 (struct test_c_c_data): Likewise.
17208 (struct test_cc_c_data): Likewise.
17209 (struct test_f_i_data): Likewise.
17210 (struct test_ff_i_data): Likewise.
17211 (struct test_f_l_data): Likewise.
17212 (struct test_f_L_data): Likewise.
17213 (struct test_fFF_11_data): Likewise.
17214 (RM_): New macro.
17215 (RM_FE_DOWNWARD): Likewise.
17216 (RM_FE_TONEAREST): Likewise.
17217 (RM_FE_TOWARDZERO): Likewise.
17218 (RM_FE_UPWARD): Likewise.
17219 (RUN_TEST_LOOP_f_f): Update references to expected results.
17220 (RUN_TEST_LOOP_2_f): Likewise.
17221 (RUN_TEST_LOOP_fff_f): Likewise.
17222 (RUN_TEST_LOOP_c_f): Likewise.
17223 (RUN_TEST_LOOP_f_f1): Likewise.
17224 (RUN_TEST_LOOP_fF_f1): Likewise.
17225 (RUN_TEST_LOOP_fI_f1): Likewise.
17226 (RUN_TEST_LOOP_ffI_f1): Likewise.
17227 (RUN_TEST_LOOP_c_c): Likewise.
17228 (RUN_TEST_LOOP_cc_c): Likewise.
17229 (RUN_TEST_LOOP_f_i): Likewise.
17230 (RUN_TEST_LOOP_f_i_tg): Likewise.
17231 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17232 (RUN_TEST_LOOP_f_b): Likewise.
17233 (RUN_TEST_LOOP_f_b_tg): Likewise.
17234 (RUN_TEST_LOOP_f_l): Likewise.
17235 (RUN_TEST_LOOP_f_L): Likewise.
17236 (RUN_TEST_LOOP_fFF_11): Likewise.
17237 * math/gen-libm-test.pl (parse_args): Output four copies of
17238 expected results for each test.
17239
17240 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17241 (__ASSUME_UTIMES): Remove.
17242 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17243 (__ASSUME_UTIMES): Likewise.
17244
17245 * math/gen-auto-libm-tests.c: Update comment on output format.
17246 (output_for_one_input_case): Generate before-rounding and
17247 after-rounding information as conditions on output flags not
17248 floating-point format.
17249 * math/auto-libm-test-out: Regenerated.
17250 * math/gen-libm-test.pl (cond_value): New function.
17251 (or_cond_value): Use cond_value.
17252 (generate_testfile): Handle conditional exceptions.
17253
17254 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17255
17256 * math/libm-test.inc (max_valid_error): New variable.
17257 (init_max_error): Take new argument specifying whether function
17258 results are exactly determined. Set max_valid_error and bound
17259 other variables for errors based on this argument.
17260 (set_max_error): Do not record results above max_valid_error.
17261 (check_float_internal): Only accept errors of up to 0.5ulps if
17262 also at most max_valid_error.
17263 (START): Take new argument EXACT and pass it to init_max_error.
17264 (acos_test): Update call to START.
17265 (acos_test_tonearest): Likewise.
17266 (acos_test_towardzero): Likewise.
17267 (acos_test_downward): Likewise.
17268 (acos_test_upward): Likewise.
17269 (acosh_test): Likewise.
17270 (asin_test): Likewise.
17271 (asin_test_tonearest): Likewise.
17272 (asin_test_towardzero): Likewise.
17273 (asin_test_downward): Likewise.
17274 (asin_test_upward): Likewise.
17275 (asinh_test): Likewise.
17276 (atan_test): Likewise.
17277 (atanh_test): Likewise.
17278 (atan2_test): Likewise.
17279 (cabs_test): Likewise.
17280 (cacos_test): Likewise.
17281 (cacosh_test): Likewise.
17282 (carg_test): Likewise.
17283 (casin_test): Likewise.
17284 (casinh_test): Likewise.
17285 (catan_test): Likewise.
17286 (catanh_test): Likewise.
17287 (cbrt_test): Likewise.
17288 (ccos_test): Likewise.
17289 (ccosh_test): Likewise.
17290 (ceil_test): Likewise.
17291 (cexp_test): Likewise.
17292 (cimag_test): Likewise.
17293 (clog_test): Likewise.
17294 (clog10_test): Likewise.
17295 (conj_test): Likewise.
17296 (copysign_test): Likewise.
17297 (cos_test): Likewise.
17298 (cos_test_tonearest): Likewise.
17299 (cos_test_towardzero): Likewise.
17300 (cos_test_downward): Likewise.
17301 (cos_test_upward): Likewise.
17302 (cosh_test): Likewise.
17303 (cosh_test_tonearest): Likewise.
17304 (cosh_test_towardzero): Likewise.
17305 (cosh_test_downward): Likewise.
17306 (cosh_test_upward): Likewise.
17307 (cpow_test): Likewise.
17308 (cproj_test): Likewise.
17309 (creal_test): Likewise.
17310 (csin_test): Likewise.
17311 (csinh_test): Likewise.
17312 (csqrt_test): Likewise.
17313 (ctan_test): Likewise.
17314 (ctan_test_tonearest): Likewise.
17315 (ctan_test_towardzero): Likewise.
17316 (ctan_test_downward): Likewise.
17317 (ctan_test_upward): Likewise.
17318 (ctanh_test): Likewise.
17319 (ctanh_test_tonearest): Likewise.
17320 (ctanh_test_towardzero): Likewise.
17321 (ctanh_test_downward): Likewise.
17322 (ctanh_test_upward): Likewise.
17323 (erf_test): Likewise.
17324 (erfc_test): Likewise.
17325 (exp_test): Likewise.
17326 (exp_test_tonearest): Likewise.
17327 (exp_test_towardzero): Likewise.
17328 (exp_test_downward): Likewise.
17329 (exp_test_upward): Likewise.
17330 (exp10_test): Likewise.
17331 (exp10_test_tonearest): Likewise.
17332 (exp10_test_towardzero): Likewise.
17333 (exp10_test_downward): Likewise.
17334 (exp10_test_upward): Likewise.
17335 (pow10_test): Likewise.
17336 (exp2_test): Likewise.
17337 (expm1_test): Likewise.
17338 (expm1_test_tonearest): Likewise.
17339 (expm1_test_towardzero): Likewise.
17340 (expm1_test_downward): Likewise.
17341 (expm1_test_upward): Likewise.
17342 (fabs_test): Likewise.
17343 (fdim_test): Likewise.
17344 (floor_test): Likewise.
17345 (fma_test): Likewise.
17346 (fma_test_towardzero): Likewise.
17347 (fma_test_downward): Likewise.
17348 (fma_test_upward): Likewise.
17349 (fmax_test): Likewise.
17350 (fmin_test): Likewise.
17351 (fmod_test): Likewise.
17352 (fpclassify_test): Likewise.
17353 (frexp_test): Likewise.
17354 (hypot_test): Likewise.
17355 (ilogb_test): Likewise.
17356 (isfinite_test): Likewise.
17357 (finite_test): Likewise.
17358 (isgreater_test): Likewise.
17359 (isgreaterequal_test): Likewise.
17360 (isinf_test): Likewise.
17361 (isless_test): Likewise.
17362 (islessequal_test): Likewise.
17363 (islessgreater_test): Likewise.
17364 (isnan_test): Likewise.
17365 (isnormal_test): Likewise.
17366 (issignaling_test): Likewise.
17367 (isunordered_test): Likewise.
17368 (j0_test): Likewise.
17369 (j1_test): Likewise.
17370 (jn_test): Likewise.
17371 (ldexp_test): Likewise.
17372 (lgamma_test): Likewise.
17373 (gamma_test): Likewise.
17374 (lrint_test): Likewise.
17375 (lrint_test_tonearest): Likewise.
17376 (lrint_test_towardzero): Likewise.
17377 (lrint_test_downward): Likewise.
17378 (lrint_test_upward): Likewise.
17379 (llrint_test): Likewise.
17380 (llrint_test_tonearest): Likewise.
17381 (llrint_test_towardzero): Likewise.
17382 (llrint_test_downward): Likewise.
17383 (llrint_test_upward): Likewise.
17384 (log_test): Likewise.
17385 (log10_test): Likewise.
17386 (log1p_test): Likewise.
17387 (log2_test): Likewise.
17388 (logb_test): Likewise.
17389 (logb_test_downward): Likewise.
17390 (lround_test): Likewise.
17391 (llround_test): Likewise.
17392 (modf_test): Likewise.
17393 (nearbyint_test): Likewise.
17394 (nextafter_test): Likewise.
17395 (nexttoward_test): Likewise.
17396 (pow_test): Likewise.
17397 (pow_test_tonearest): Likewise.
17398 (pow_test_towardzero): Likewise.
17399 (pow_test_downward): Likewise.
17400 (pow_test_upward): Likewise.
17401 (remainder_test): Likewise.
17402 (drem_test): Likewise.
17403 (remainder_test_tonearest): Likewise.
17404 (drem_test_tonearest): Likewise.
17405 (remainder_test_towardzero): Likewise.
17406 (drem_test_towardzero): Likewise.
17407 (remainder_test_downward): Likewise.
17408 (drem_test_downward): Likewise.
17409 (remainder_test_upward): Likewise.
17410 (drem_test_upward): Likewise.
17411 (remquo_test): Likewise.
17412 (rint_test): Likewise.
17413 (rint_test_tonearest): Likewise.
17414 (rint_test_towardzero): Likewise.
17415 (rint_test_downward): Likewise.
17416 (rint_test_upward): Likewise.
17417 (round_test): Likewise.
17418 (scalb_test): Likewise.
17419 (scalbn_test): Likewise.
17420 (scalbln_test): Likewise.
17421 (signbit_test): Likewise.
17422 (sin_test): Likewise.
17423 (sin_test_tonearest): Likewise.
17424 (sin_test_towardzero): Likewise.
17425 (sin_test_downward): Likewise.
17426 (sin_test_upward): Likewise.
17427 (sincos_test): Likewise.
17428 (sinh_test): Likewise.
17429 (sinh_test_tonearest): Likewise.
17430 (sinh_test_towardzero): Likewise.
17431 (sinh_test_downward): Likewise.
17432 (sinh_test_upward): Likewise.
17433 (sqrt_test): Likewise.
17434 (sqrt_test_tonearest): Likewise.
17435 (sqrt_test_towardzero): Likewise.
17436 (sqrt_test_downward): Likewise.
17437 (sqrt_test_upward): Likewise.
17438 (tan_test): Likewise.
17439 (tan_test_tonearest): Likewise.
17440 (tan_test_towardzero): Likewise.
17441 (tan_test_downward): Likewise.
17442 (tan_test_upward): Likewise.
17443 (tanh_test): Likewise.
17444 (tgamma_test): Likewise.
17445 (trunc_test): Likewise.
17446 (y0_test): Likewise.
17447 (y1_test): Likewise.
17448 (yn_test): Likewise.
17449 (significand_test): Likewise.
17450
17451 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17452 individual tests in comment.
17453 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17454 (prev_max_error): New variable.
17455 (prev_real_max_error): Likewise.
17456 (prev_imag_max_error): Likewise.
17457 (compare_ulp_data): Don't refer to test names in comment.
17458 (find_test_ulps): Remove function.
17459 (find_function_ulps): Likewise.
17460 (find_complex_function_ulps): Likewise.
17461 (init_max_error): Take function name as argument. Look up ulps
17462 for that function.
17463 (print_ulps): Remove function.
17464 (print_max_error): Use prev_max_error instead of calling
17465 find_function_ulps.
17466 (print_complex_max_error): Use prev_real_max_error and
17467 prev_imag_max_error instead of calling find_complex_function_ulps.
17468 (check_float_internal): Take max_ulp parameter instead of calling
17469 find_test_ulps. Don't call print_ulps.
17470 (check_float): Update call to check_float_internal.
17471 (check_complex): Update calls to check_float_internal.
17472 (START): Pass argument to init_max_error.
17473 * math/gen-libm-test.pl (%results): Don't include "kind"
17474 information.
17475 (parse_ulps): Don't handle ulps of individual tests.
17476 (print_ulps_file): Likewise.
17477 (output_ulps): Likewise.
17478 * math/README.libm-test: Update.
17479 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17480 individual tests.
17481 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17482 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17483 * sysdeps/arm/libm-test-ulps: Likewise.
17484 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17485 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17486 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17487 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17488 * sysdeps/microblaze/libm-test-ulps: Likewise.
17489 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17490 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17492 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17493 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17494 * sysdeps/sh/libm-test-ulps: Likewise.
17495 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17496 * sysdeps/tile/libm-test-ulps: Likewise.
17497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17498
17499 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17500
17501 * math/libm-test.inc (print_complex_max_error): Check separately
17502 whether real and imaginary errors are within allowed range and
17503 pass 0 to print_complex_function_ulps instead of value within
17504 allowed range.
17505
17506 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17507
17508 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17509 formatting.
17510 (get_handles_fopen): Likewise.
17511 (do_write_test): Likewise.
17512
17513 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17514
17515 * libio/fileops.c (do_ftell): Use cached offset when
17516 available.
17517 * libio/iofwide.c (do_ftell_wide): Likewise.
17518 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17519 _IO_file_attach.
17520 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17521
17522 [BZ #16532]
17523 * libio/libioP.h (get_file_offset): New function.
17524 * libio/fileops.c (get_file_offset): Likewise.
17525 (do_ftell): Likewise.
17526 (_IO_new_file_seekoff): Split out ftell logic.
17527 * libio/wfileops.c (do_ftell_wide): Likewise.
17528 (_IO_wfile_seekoff): Split out ftell logic.
17529 * libio/tst-ftell-active-handler.c: New test case.
17530 * libio/Makefile (tests): Add it.
17531
17532 2014-03-03 Roland McGrath <roland@hack.frob.com>
17533
17534 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17535 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17536
17537 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17538
17539 [BZ #16639]
17540 * nscd/connections.c (nscd_init): Call do_exit.
17541 (start_threads): Call do_exit and notify_parent.
17542 (begin_drop_privileges): Call do_exit.
17543 (finish_drop_privileges): Likewise.
17544 * nscd/selinux.c (preserve_capabilities): Likewise.
17545 (install_real_capabilities): Likewise.
17546 (nscd_selinux_enabled): Likewise.
17547 (avc_create_thread): Likewise.
17548 (avc_alloc_lock): Likewise.
17549 (nscd_avc_init): Likewise.
17550 * nscd/nscd.c (parent_fd): New static variable.
17551 (main): Create a pipe between parent and child processes.
17552 Skip closing parent_fd.
17553 (monitor_child): New function.
17554 (do_exit): Likewise.
17555 (notify_parent): Likewise.
17556 * nscd/nscd.h (notify_parent): Likewise.
17557 (do_exit): Likewise.
17558
17559 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17560
17561 * malloc/malloc.c (__libc_calloc): Revert last change.
17562
17563 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17564
17565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17566
17567 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17568
17569 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17571 implementation.
17572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17573 (__libc_ifunc_impl_list): Likewise.
17574 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17575 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17576 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17577 * string/strrchr.c: Define STRRCHR.
17578
17579 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17580
17581 * benchtest/bench-strtok.c (simple_strtok): Delete.
17582 (strtok_string): Use as benchmark.
17583 * string/strtok (STRTOK): New macro.
17584
17585 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17586
17587 * manual/threads.texi: Add header and standard comments to all
17588 functions.
17589
17590 * elf/dl-lookup.c (check_match): New function.
17591 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17592 (do_lookup_x): Remove nested function check_match. Use non-nested
17593 function check_match.
17594
17595 2014-02-28 Roland McGrath <roland@hack.frob.com>
17596
17597 * csu/Makefile (generated, before-compile): Use += rather than =.
17598 * catgets/Makefile (generated, generated-dirs): Likewise.
17599 * debug/Makefile (generated): Likewise.
17600 * dlfcn/Makefile (generated): Likewise.
17601 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17602 * iconvdata/Makefile (before-compile, generated): Likewise.
17603 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17604 * libio/Makefile (generated): Likewise.
17605 * malloc/Makefile (generated): Likewise.
17606 * manual/Makefile (generated, generated-dirs): Likewise.
17607 * misc/Makefile (generated): Likewise.
17608 * posix/Makefile (generated): Likewise.
17609 * resolv/Makefile (generated): Likewise.
17610 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17611 * timezone/Makefile (generated, generated-dirs): Likewise.
17612
17613 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17614
17615 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17616
17617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17618 power8 implementation.
17619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17620 file: POWER8 llround ifunc implementation.
17621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17622 (__lllround): Add POWER8 implementation.
17623 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17624 POWER8 llround implementation.
17625
17626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17627 power8 implementation.
17628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17629 file: POWER8 llrint ifunc implementation.
17630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17631 Add POWER8 implementation.
17632 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17633 POWER8 llrint implementation.
17634
17635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17636 power8 implementation.
17637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17638 file: POWER8 finite ifunc implementation.
17639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17640 Add POWER8 implementation.
17641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17642 Likewise.
17643 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17644 POWER8 finite implementation.
17645 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17646
17647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17648 power8 implementation.
17649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17650 file: POWER8 isinf ifunc implementation.
17651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17652 POWER8 implementation.
17653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17654 Likewise.
17655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17656 isinf implementation.
17657 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17658
17659 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17660 (INIT_ARCH): Add hwcap2 initialization.
17661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17662 power8 implementation.
17663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17664 file: POWER8 isnan ifunc implementation.
17665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17666 POWER8 implementation.
17667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17668 Likewise.
17669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17670 isnan implementation.
17671 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17672
17673 2014-02-27 Joey Ye <joey.ye@arm.com>
17674
17675 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17676 (_FP_NANFRAC_Q): Set to zero.
17677
17678 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17679
17680 [BZ #16623]
17681 * math/auto-libm-test-in: New test inputs.
17682 * math/auto-libm-test-out: Regenerate.
17683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17684 and DA.
17685 (__cos): Likewise.
17686 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17687
17688 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17689
17690 * scripts/evaluate-test.sh: Take new argument indicating whether
17691 failure is expected.
17692 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17693 indicating whether failure is expected.
17694 * conform/Makefile (test-xfail-run-conformtest): New variable.
17695 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17696 level.
17697 * posix/Makefile (test-xfail-annexc): New variable.
17698 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17699
17700 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17701
17702 * argp/Makefile: Include Makeconfig immediately after defining
17703 subdir.
17704 * assert/Makefile: Likewise.
17705 * benchtests/Makefile: Likewise.
17706 * catgets/Makefile: Likewise.
17707 * conform/Makefile: Likewise.
17708 * crypt/Makefile: Likewise.
17709 * csu/Makefile: Likewise.
17710 (all): Remove target.
17711 * ctype/Makefile: Include Makeconfig immediately after defining
17712 subdir.
17713 * debug/Makefile: Likewise.
17714 * dirent/Makefile: Likewise.
17715 * dlfcn/Makefile: Likewise.
17716 * gmon/Makefile: Likewise.
17717 * gnulib/Makefile: Likewise.
17718 * grp/Makefile: Likewise.
17719 * gshadow/Makefile: Likewise.
17720 * hesiod/Makefile: Likewise.
17721 * hurd/Makefile: Likewise.
17722 (all): Remove target.
17723 * iconvdata/Makefile: Include Makeconfig immediately after
17724 defining subdir.
17725 * inet/Makefile: Likewise.
17726 * intl/Makefile: Likewise.
17727 * io/Makefile: Likewise.
17728 * libio/Makefile: Likewise.
17729 (all): Remove target.
17730 * locale/Makefile: Include Makeconfig immediately after defining
17731 subdir.
17732 * login/Makefile: Likewise.
17733 * mach/Makefile: Likewise.
17734 (all): Remove target.
17735 * malloc/Makefile: Include Makeconfig immediately after defining
17736 subdir.
17737 (all): Remove target.
17738 * manual/Makefile: Include Makeconfig immediately after defining
17739 subdir.
17740 * math/Makefile: Likewise.
17741 * misc/Makefile: Likewise.
17742 * nis/Makefile: Likewise.
17743 * nss/Makefile: Likewise.
17744 * po/Makefile: Likewise.
17745 (all): Remove target.
17746 * posix/Makefile: Include Makeconfig immediately after defining
17747 subdir.
17748 * pwd/Makefile: Likewise.
17749 * resolv/Makefile: Likewise.
17750 * resource/Makefile: Likewise.
17751 * rt/Makefile: Likewise.
17752 * setjmp/Makefile: Likewise.
17753 * shadow/Makefile: Likewise.
17754 * signal/Makefile: Likewise.
17755 * socket/Makefile: Likewise.
17756 * soft-fp/Makefile: Likewise.
17757 * stdio-common/Makefile: Likewise.
17758 * stdlib/Makefile: Likewise.
17759 * streams/Makefile: Likewise.
17760 * string/Makefile: Likewise.
17761 * sunrpc/Makefile: Likewise.
17762 (all): Remove target.
17763 * sysvipc/Makefile: Include Makeconfig immediately after defining
17764 subdir.
17765 * termios/Makefile: Likewise.
17766 * time/Makefile: Likewise.
17767 * timezone/Makefile: Likewise.
17768 (all): Remove target.
17769 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17770 subdir.
17771 * wctype/Makefile: Likewise.
17772
17773 2014-02-26 Steve Ellcey <sellcey@mips.com>
17774
17775 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17776 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17777 (libc_feholdexcept_setround_mips): Ditto.
17778 (libc_feholdsetround): New.
17779 (libc_feholdsetroundf): New.
17780 (libc_feholdsetroundl): New.
17781 (libc_feupdateenv_test_mips): New.
17782 (libc_feupdateenv_test): New.
17783 (libc_feupdateenv_testf): New.
17784 (libc_feupdateenv_testl): New.
17785 (libc_feresetround): New.
17786 (libc_feresetroundf): New.
17787 (libc_feresetroundl): New.
17788 (libc_fetestexcept_mips): New.
17789 (libc_fetestexcept): New.
17790 (libc_fetestexceptf): New.
17791 (libc_fetestexceptl): New.
17792 (HAVE_RM_CTX): New.
17793 (libc_feholdexcept_setround_mips_ctx): New.
17794 (libc_feholdexcept_setround_ctx): New.
17795 (libc_feholdexcept_setroundf_ctx): New.
17796 (libc_feholdexcept_setroundl_ctx): New.
17797 (libc_fesetenv_mips_ctx): New.
17798 (libc_fesetenv_ctx): New.
17799 (libc_fesetenv_ctxf): New.
17800 (libc_fesetenv_ctxl): New.
17801 (libc_feupdateenv_mips_ctx): New.
17802 (libc_feupdateenv_ctx): New.
17803 (libc_feupdateenvf_ctx): New.
17804 (libc_feupdateenvl_ctx): New.
17805 (libc_feholdsetround_mips_ctx): New.
17806 (libc_feholdsetround_ctx): New.
17807 (libc_feholdsetroundf_ctx): New.
17808 (libc_feholdsetroundl_ctx): New.
17809 (libc_feresetround_mips_ctx): New.
17810 (libc_feresetround_ctx): New.
17811 (libc_feresetroundf_ctx): New.
17812 (libc_feresetroundl_ctx): New.
17813
17814 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17815
17816 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17817
17818 * manual/ipc.texi: New file.
17819 * manual/Makefile (chapters): Add ipc.
17820 * manual/job.texi: Add "Inter-Process Communication" to next.
17821 * manual/process.texi: Add "Inter-Process Communication" to prev.
17822
17823 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17824
17825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17826
17827 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17828
17829 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17830
17831 * manual/arith.texi: Fix spaces after sentences.
17832 * manual/charset.texi: Likewise.
17833 * manual/errno.texi: Likewise.
17834 * manual/install.texi: Likewise.
17835 * manual/llio.texi: Likewise.
17836 * manual/locale.texi: Likewise.
17837 * manual/maint.texi: Likewise.
17838 * manual/math.texi: Likewise.
17839 * manual/memory.texi: Likewise.
17840 * manual/message.texi: Likewise.
17841 * manual/probes.texi: Likewise.
17842 * manual/resource.texi: Likewise.
17843 * manual/signal.texi: Likewise.
17844 * manual/socket.texi: Likewise.
17845 * manual/stdio.texi: Likewise.
17846 * manual/string.texi: Likewise.
17847 * manual/time.texi: Likewise.
17848 * manual/users.texi: Likewise.
17849
17850 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17851
17852 [BZ #16632]
17853 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17854 _DEFAULT_SOURCE is defined.
17855
17856 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17857 Carlos O'Donell <carlos@redhat.com>
17858
17859 [BZ #16613]
17860 * elf/dl-tls.c (_dl_count_modids): New function.
17861 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17862 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17863 audit library and increment generation counter.
17864 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17865 * elf/tst-audit9.c: New file.
17866 * elf/tst-auditmod9a.c: New file.
17867 * elf/tst-auditmod9b.c: New file.
17868 * elf/Makefile: Add rules to build and run tst-audit9.
17869
17870 2014-02-25 Florian Weimer <fweimer@redhat.com>
17871
17872 [BZ #15347]
17873 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17874
17875 2014-02-25 Will Newton <will.newton@linaro.org>
17876
17877 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17878 (__longjmp): Restore sp and lr before restoring callee
17879 saved registers. Add longjmp and longjmp_target
17880 SystemTap probe point.
17881 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17882 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17883 Define to zero to match jmpbuf layout.
17884 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17885 (__sigsetjmp): Save sp and lr before saving callee
17886 saved registers. Add setjmp SystemTap probe point.
17887
17888 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17889
17890 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17891
17892 2014-02-24 Andreas Schwab <schwab@suse.de>
17893
17894 [BZ #15804]
17895 * elf/pldd.c (wait_for_ptrace_stop): New function.
17896 (main): Call it after attaching.
17897
17898 2014-02-22 Roland McGrath <roland@hack.frob.com>
17899
17900 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17901 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17902 Versions files is now verboten.
17903 * hurd/Versions (libc: GLIBC_2.0):
17904 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17905 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17906 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17907 * mach/Versions: Likewise.
17908
17909 * csu/Versions: Remove unused %include.
17910 * resolv/Versions: Likewise.
17911
17912 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17913
17914 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17915 ($(objpfx)check-local-headers.out): Likewise.
17916 ($(objpfx)begin-end-check.out): Likewise.
17917 * Makerules (check-abi-%.out): Likewise.
17918 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17919 ($(objpfx)test2.cat): Likewise.
17920 ($(objpfx)de/libc.cat): Likewise.
17921 ($(objpfx)test-gencat.out): Likewise.
17922 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17923 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17924 ($(objpfx)noload-mem): Likewise.
17925 ($(objpfx)tst-pathopt.out): Likewise.
17926 ($(objpfx)tst-rtld-load-self.out): Likewise.
17927 ($(objpfx)tst-array1-cmp.out): Likewise.
17928 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17929 ($(objpfx)tst-array2-cmp.out): Likewise.
17930 ($(objpfx)tst-array3-cmp.out): Likewise.
17931 ($(objpfx)tst-array4-cmp.out): Likewise.
17932 ($(objpfx)tst-array5-cmp.out): Likewise.
17933 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17934 ($(objpfx)check-textrel.out): Likewise.
17935 ($(objpfx)check-execstack.out): Likewise.
17936 ($(objpfx)check-localplt.out): Likewise.
17937 ($(objpfx)order2-cmp.out): Likewise.
17938 ($(objpfx)tst-leaks1-mem): Likewise.
17939 ($(objpfx)tst-leaks1-static-mem): Likewise.
17940 ($(objpfx)tst-initorder-cmp.out): Likewise.
17941 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17942 ($(objpfx)tst-unused-dep.out): Likewise.
17943 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17944 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17945 * iconv/Makefile (test-iconvconfig): Likewise.
17946 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17947 ($(objpfx)iconv-test.out): Likewise.
17948 ($(objpfx)tst-tables.out): Likewise.
17949 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17950 ($(objpfx)tst-gettext.out): Likewise.
17951 ($(objpfx)tst-translit.out): Likewise.
17952 ($(objpfx)tst-gettext2.out): Likewise.
17953 ($(objpfx)tst-gettext4.out): Likewise.
17954 ($(objpfx)tst-gettext6.out): Likewise.
17955 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17956 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17957 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17958 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17959 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17960 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17961 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17962 ($(objpfx)wordexp-tst.out): Likewise.
17963 ($(objpfx)annexc.out): Likewise.
17964 ($(objpfx)tst-fnmatch-mem): Likewise.
17965 ($(objpfx)bug-regex2-mem): Likewise.
17966 ($(objpfx)bug-regex14-mem): Likewise.
17967 ($(objpfx)bug-regex21-mem): Likewise.
17968 ($(objpfx)bug-regex31-mem): Likewise.
17969 ($(objpfx)tst-vfork3-mem): Likewise.
17970 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17971 ($(objpfx)tst-pcre-mem): Likewise.
17972 ($(objpfx)tst-boost-mem): Likewise.
17973 ($(objpfx)tst-getconf.out): Likewise.
17974 ($(objpfx)bug-ga2-mem): Likewise.
17975 ($(objpfx)bug-glob2-mem): Likewise.
17976 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17977 ($(objpfx)mtrace-tst-leaks2): Likewise.
17978 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17979 ($(objpfx)tst-printf.out): Likewise.
17980 ($(objpfx)tst-setvbuf1.out): Likewise.
17981 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17982 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17983 ($(objpfx)tst-fmtmsg.out): Likewise.
17984 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17985 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17986
17987 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17988 * bits/sigaction.h [__USE_MISC]: Likewise.
17989 * bits/waitstatus.h: Update #endif comments.
17990 * ctype/ctype.h: Likewise.
17991 * dirent/dirent.h: Likewise.
17992 [__USE_MISC]: Remove redundant conditionals.
17993 * grp/grp.h: Update #endif comments.
17994 [__USE_GNU]: Remove redundant conditionals.
17995 [__USE_MISC]: Likewise.
17996 * inet/netinet/in.h [__USE_GNU]: Likewise.
17997 * io/sys/stat.h [__USE_MISC]: Likewise.
17998 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17999 * libio/bits/stdio.h: Update #endif comments.
18000 [__USE_MISC]: Remove redundant conditionals.
18001 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18002 * libio/stdio.h: Update #endif comments.
18003 [__USE_MISC]: Remove redundant conditionals.
18004 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18005 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18006 * math/math.h: Update #else and #endif comments.
18007 [__USE_MISC]: Remove redundant conditionals.
18008 * misc/sys/uio.h: Update #endif comments.
18009 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18010 * posix/glob.h [__USE_MISC]: Likewise.
18011 * posix/sys/types.h: Update #endif comments.
18012 [__USE_MISC]: Remove redundant conditionals.
18013 * posix/sys/wait.h: Update #endif comments.
18014 [__USE_MISC]: Remove redundant conditionals.
18015 * posix/unistd.h: Update #endif comments.
18016 [__USE_MISC]: Remove redundant conditionals.
18017 * pwd/pwd.h [__USE_GNU]: Likewise.
18018 [__USE_MISC]: Likewise.
18019 * resolv/netdb.h [__USE_GNU]: Likewise.
18020 * signal/signal.h: Update #endif comments.
18021 [__USE_MISC]: Remove redundant conditionals.
18022 * stdlib/stdlib.h: Update #else and #endif comments.
18023 [__USE_MISC]: Remove redundant conditionals.
18024 [__USE_GNU]: Likewise.
18025 * string/bits/string2.h [__USE_MISC]: Likewise.
18026 * string/string.h: Update #endif comments.
18027 [__USE_MISC]: Remove redundant conditionals.
18028 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18029 Likewise.
18030 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18031 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18032 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18033 Likewise.
18034 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18035 Likewise.
18036 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18037 comments.
18038 [__USE_MISC]: Remove redundant conditionals.
18039 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18040 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18041 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18042 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18043 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18044 Likewise.
18045 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18046 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18047 Likewise.
18048 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18050 Likewise.
18051 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18052 Likewise.
18053 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18054 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18055 Likewise.
18056 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18057 Likewise.
18058 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18059 * sysdeps/x86/bits/string.h: Update #endif comments.
18060 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18061 conditionals.
18062 * time/sys/time.h: Update #endif comments.
18063 * time/time.h: Likewise.
18064 [__USE_MISC]: Remove redundant conditionals.
18065
18066 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18067
18068 [BZ #16600]
18069 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18070
18071 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18072
18073 * Versions.def (librt): Add GLIBC_2.17.
18074
18075 2014-02-21 Adam Conrad <adconrad@0c3.net>
18076
18077 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18078 synonym for _SYS_AUXV_H to allow direct inclusion.
18079 * sysdeps/sparc/bits/hwcap.h: Likewise.
18080 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18081 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18082 * sysdeps/sparc/sysdep.h: Likewise.
18083
18084 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18085
18086 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18087
18088 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18089
18090 * benchtests/bench-strrchr.c: Print length instead of position.
18091
18092 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18093
18094 [BZ #16611]
18095 * sysdeps/unix/sysv/linux/kernel-features.h
18096 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18097 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18098 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18099 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18100 Likewise.
18101 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18102 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18103 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18104 (__ASSUME_SENDMMSG): Define instead of using previous
18105 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18106 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18107 (__ASSUME_SENDMMSG_SYSCALL): Define.
18108 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18109 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18110 Likewise.
18111 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18112 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18113 Likewise.
18114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18115 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18118 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18119 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18120 [__ASSUME_SENDMMSG]: Change conditionals to
18121 [__ASSUME_SENDMMSG_SOCKETCALL].
18122 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18123 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18124 Define.
18125 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18126 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18127 Likewise.
18128 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18129 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18130 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18131 [!__ASSUME_SENDMMSG]: Change conditional to
18132 [!__ASSUME_SENDMMSG_SOCKETCALL].
18133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18134 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18135 Define.
18136
18137 [BZ #16610]
18138 * sysdeps/unix/sysv/linux/kernel-features.h
18139 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18140 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18141 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18142 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18143 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18144 [__i386__ || __sparc__]
18145 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18146 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18147 (__ASSUME_RECVMMSG): Define instead of using previous
18148 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18149 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18150 (__ASSUME_RECVMMSG_SYSCALL): Define.
18151 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18152 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18153 Likewise.
18154 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18155 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18156 Likewise.
18157 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18159 Likewise.
18160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18161 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18162 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18163 [__ASSUME_RECVMMSG]: Change condition to
18164 [__ASSUME_RECVMMSG_SOCKETCALL].
18165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18166 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18167 Define.
18168 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18169 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18170 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18171 Likewise.
18172 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18173 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18174 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18175 [!__ASSUME_RECVMMSG]: Change condition to
18176 [!__ASSUME_RECVMMSG_SOCKETCALL].
18177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18178 (__ASSUME_RECVMMSG_SYSCALL): Define.
18179
18180 [BZ #16609]
18181 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18182 __powerpc__ || __s390__ || __sh__ || __sparc__]
18183 (__ASSUME_SOCKETCALL): Define.
18184 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18185 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18186 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18187 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18188 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18189 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18190 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18191 (__ASSUME_ACCEPT4): Define instead of using previous
18192 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18193 __powerpc__ || __sparc__ || __s390__)] condition.
18194 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18195 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18196 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18197 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18198 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18199 [!__ASSUME_ACCEPT4]: Change condition to
18200 [!__ASSUME_ACCEPT4_SOCKETCALL].
18201 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18202 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18203 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18204 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18205 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18206 __ASSUME_ACCEPT4_SYSCALL.
18207 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18208 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18209 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18210 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18211 __ASSUME_ACCEPT4_SYSCALL.
18212 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18213 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18214 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18215 [__ASSUME_ACCEPT4]: Change condition to
18216 [__ASSUME_ACCEPT4_SOCKETCALL].
18217 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18218 (__ASSUME_SOCKETCALL): Define.
18219 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18220 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18221 (__ASSUME_SOCKETCALL): Define.
18222 (__ASSUME_ACCEPT4): Remove.
18223 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18224 Define.
18225 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18226 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18227 Likewise.
18228 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18229 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18230
18231 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18232 macro.
18233 (HWCAP_ARM_LPAE): Likewise.
18234 (HWCAP_ARM_EVTSTRM): Likewise.
18235 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18236 Add vpfd32, lpae and evtstrm.
18237 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18238 Increase to 22.
18239
18240 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18241
18242 * math/auto-libm-test-in: Add tests of clog10.
18243 * math/auto-libm-test-out: Regenerated.
18244 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18245 * sysdeps/i386/fpu/libm-test-ulps: Update.
18246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18247
18248 2014-02-18 Andreas Schwab <schwab@suse.de>
18249
18250 [BZ #16574]
18251 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18252 Store non-zero if the second buffer was newly allocated.
18253 (send_dg): Likewise.
18254 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18255 to send_vc and send_dg.
18256 (res_nsend): Pass NULL for ansp2_malloced.
18257 * resolv/res_query.c (__libc_res_nquery): Add parameter
18258 answerp2_malloced and pass it down to __libc_res_nsend.
18259 (res_nquery): Pass additional NULL to __libc_res_nquery.
18260 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18261 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18262 second answer buffer if answerp2_malloced was set.
18263 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18264 (__libc_res_nquerydomain): Add parameter
18265 answerp2_malloced and pass it down to __libc_res_nquery.
18266 (res_nquerydomain): Pass additional NULL to
18267 __libc_res_nquerydomain.
18268 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18269 additional NULL to __libc_res_nsend and __libc_res_nquery.
18270 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18271 additional NULL to __libc_res_nsearch.
18272 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18273 parameter of __libc_res_nsearch to check for separately allocated
18274 second buffer.
18275 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18276 __libc_res_nquery.
18277 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18278 additional NULL to __libc_res_nquery.
18279 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18280 __libc_res_nsearch.
18281 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18282 * include/resolv.h: Update prototypes of __libc_res_nquery,
18283 __libc_res_nsearch, __libc_res_nsend.
18284
18285 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18286
18287 * math/auto-libm-test-in: Add tests of fma.
18288 * math/auto-libm-test-out: Regenerated.
18289 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18290 (fma_towardzero_test_data): Likewise.
18291 (fma_downward_test_data): Likewise.
18292 (fma_upward_test_data): Likewise.
18293 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18294 mpc_mode.
18295 (rounding_modes): Add values for new field.
18296 (func_calc_method): Add value mpfr_fff_f.
18297 (func_calc_desc): Add mpfr_fff_f union field.
18298 (test_function): Add field exact_args.
18299 (FUNC): Add macro argument EXACT_ARGS.
18300 (FUNC_mpfr_f_f): Update call to FUNC.
18301 (FUNC_mpfr_f_f): Likewise.
18302 (FUNC_mpfr_ff_f): Likewise.
18303 (FUNC_mpfr_if_f): Likewise.
18304 (FUNC_mpc_c_f): Likewise.
18305 (FUNC_mpc_c_c): Likewise.
18306 (test_functions): Add fma. Update calls to FUNC.
18307 (handle_input_arg): Add argument exact_args.
18308 (add_test): Update call to handle_input_arg.
18309 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18310 (output_for_one_input_case): Update call to calc_generic_results.
18311 Recalculate exact zero results in each rounding mode.
18312
18313 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18314 non-negative before setting low bit.
18315 * math/auto-libm-test-in: Mark one asin test possibly having
18316 spurious underflow.
18317 * math/auto-libm-test-out: Regenerated.
18318 * sysdeps/i386/fpu/libm-test-ulps: Update.
18319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18320
18321 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18322
18323 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18324 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18325 ports/sysdeps/unix/sysv/linux/microblaze.
18326 * README: Add missing listing for microblaze*-*-linux-gnu.
18327
18328 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18329
18330 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18331 duplicate code
18332
18333 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18334
18335 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18336 * sysdeps/unix/sysv/linux/ia64: Move directory from
18337 ports/sysdeps/unix/sysv/linux/ia64.
18338 * README: Update listing for ia64-*-linux-gnu.
18339
18340 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18341 Joseph Myers <joseph@codesourcery.com>
18342
18343 * Makeconfig (test-name): New variable.
18344 (evaluate-test): Likewise.
18345 * Makerules (do-test-clean): Remove .test-result files.
18346 (common-mostlyclean): Likewise.
18347 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18348 * scripts/evaluate-test.sh: New file.
18349
18350 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18351
18352 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18353 separate $(objpfx)tst-fopenloc-cmp.out and
18354 $(objpfx)tst-fopenloc-mem.out targets.
18355 (tests): Update dependencies.
18356 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18357 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18358 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18359 (tst-rxspencer-no-utf8-ARGS): New variable.
18360 (tst-rxspencer-no-utf8-ENV): Likewise.
18361 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18362 instead of $(objpfx)tst-rxspencer-mem.
18363 ($(objpfx)tst-rxspencer-mem): Change target to
18364 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18365 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18366 * posix/tst-rxspencer-no-utf8.c: New file.
18367
18368 * elf/Makefile ($(objpfx)order.out): Remove rule.
18369 [$(run-built-tests) = yes] (tests): Depend on
18370 $(objpfx)order-cmp.out.
18371 ($(objpfx)order-cmp.out): New rule.
18372 [$(run-built-tests) = yes] (tests): Depend on
18373 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18374 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18375 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18376 $(objpfx)tst-array5-static-cmp.out.
18377 ($(objpfx)tst-array1.out): Remove rule.
18378 ($(objpfx)tst-array1-cmp.out): New rule.
18379 ($(objpfx)tst-array1-static.out): Remove rule.
18380 ($(objpfx)tst-array1-static-cmp.out): New rule.
18381 ($(objpfx)tst-array2.out): Remove rule.
18382 ($(objpfx)tst-array2-cmp.out): New rule.
18383 ($(objpfx)tst-array3.out): Remove rule.
18384 ($(objpfx)tst-array3-cmp.out): New rule.
18385 ($(objpfx)tst-array4.out): Remove rule.
18386 ($(objpfx)tst-array4-cmp.out): New rule.
18387 ($(objpfx)tst-array5.out): Remove rule.
18388 ($(objpfx)tst-array5-cmp.out): New rule.
18389 ($(objpfx)tst-array5-static.out): Remove rule.
18390 ($(objpfx)tst-array5-static-cmp.out): New rule.
18391 [$(run-built-tests) = yes] (tests): Depend on
18392 $(objpfx)order2-cmp.out.
18393 ($(objpfx)order2.out): Remove rule.
18394 ($(objpfx)order2-cmp.out): New rule.
18395 ($(objpfx)tst-initorder.out): Remove rule.
18396 [$(run-built-tests) = yes] (tests): Depend on
18397 $(objpfx)tst-initorder-cmp.out.
18398 ($(objpfx)tst-initorder-cmp.out): New rule.
18399 ($(objpfx)tst-initorder2.out): Remove rule.
18400 [$(run-built-tests) = yes] (tests): Depend on
18401 $(objpfx)tst-initorder2-cmp.out.
18402 ($(objpfx)tst-initorder2-cmp.out): New rule.
18403 [$(run-built-tests) = yes] (tests): Depend on
18404 $(objpfx)tst-unused-dep-cmp.out.
18405 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18406 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18407 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18408 on $(objpfx)tst-setvbuf1-cmp.out.
18409 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18410 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18411 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18412 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18413 ($(objpfx)tst-svc.out): Remove rule.
18414 ($(objpfx)tst-svc-cmp.out): New rule.
18415
18416 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18417
18418 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18419 * ctype/ctype.h [__USE_MISC]: Likewise.
18420 * dirent/dirent.h [__USE_MISC]: Likewise.
18421 * grp/grp.h [__USE_MISC]: Likewise.
18422 * io/fcntl.h [__USE_MISC]: Likewise.
18423 * io/sys/stat.h [__USE_MISC]: Likewise.
18424 * libio/stdio.h [__USE_MISC]: Likewise.
18425 * posix/unistd.h [__USE_MISC]: Likewise.
18426 * pwd/pwd.h [__USE_MISC]: Likewise.
18427 * stdlib.h [__USE_MISC]: Likewise.
18428 * string/bits/string2.h [__USE_MISC]: Likewise.
18429 * string/string.h [__USE_MISC]: Likewise.
18430 * time/time.h [__USE_MISC]: Likewise.
18431
18432 2014-02-13 Andreas Schwab <schwab@suse.de>
18433
18434 [BZ #16574]
18435 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18436 second answer buffer if it was separately allocated.
18437
18438 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18439
18440 * sysdeps/mips/math-tests.h: Include <features.h>.
18441 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18442 (ROUNDING_TESTS_long_double): Do not define.
18443 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18444 (EXCEPTION_TESTS_long_double): Likewise.
18445 * sysdeps/mips/mips64/libm-test-ulps: Update.
18446
18447 * include/features.h (__USE_BSD): Remove macro definitions.
18448 (__USE_SVID): Likewise.
18449 (_BSD_SOURCE): Likewise.
18450 (_SVID_SOURCE): Likewise.
18451 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18452 from definition of _DEFAULT_SOURCE.
18453 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18454 [_DEFAULT_SOURCE].
18455 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18456 * bits/mman.h [__USE_BSD]: Likewise.
18457 * bits/termios.h [__USE_BSD]: Likewise.
18458 * bits/waitstatus.h [__USE_BSD]: Likewise.
18459 * ctype/ctype.h [__USE_SVID]: Likewise.
18460 * dirent/dirent.h [__USE_BSD]: Likewise.
18461 * grp/grp.h [__USE_SVID]: Likewise.
18462 [__USE_BSD]: Likewise.
18463 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18464 * io/fcntl.h [__USE_BSD]: Likewise.
18465 * io/ftw.h [__USE_BSD]: Likewise.
18466 * io/sys/stat.h [__USE_BSD]: Likewise.
18467 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18468 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18469 * libio/stdio.h [__USE_SVID]: Likewise.
18470 [__USE_BSD]: Likewise.
18471 * math/math.h [__USE_SVID]: Likewise.
18472 [__USE_BSD]: Likewise.
18473 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18474 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18475 * misc/search.h [__USE_SVID]: Likewise.
18476 * misc/sys/mman.h [__USE_BSD]: Likewise.
18477 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18478 * misc/sys/uio.h [__USE_BSD]: Likewise.
18479 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18480 * posix/glob.h [__USE_BSD]: Likewise.
18481 * posix/regex.h [__USE_BSD]: Likewise.
18482 * posix/sys/types.h [__USE_BSD]: Likewise.
18483 [__USE_SVID]: Likewise.
18484 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18485 * posix/sys/wait.h [__USE_BSD]: Likewise.
18486 [__USE_SVID]: Likewise.
18487 * posix/unistd.h [__USE_BSD]: Likewise.
18488 [__USE_SVID]: Likewise.
18489 * pwd/pwd.h [__USE_SVID]: Likewise.
18490 * resolv/netdb.h [__USE_BSD]: Likewise.
18491 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18492 * signal/signal.h [__USE_BSD]: Likewise.
18493 [__USE_SVID]: Likewise.
18494 * socket/sys/socket.h [__USE_BSD]: Likewise.
18495 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18496 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18497 [__USE_SVID]: Likewise.
18498 * string/bits/string2.h [__USE_BSD]: Likewise.
18499 [__USE_SVID]: Likewise.
18500 * string/bits/string3.h [__USE_BSD]: Likewise.
18501 * string/endian.h [__USE_BSD]: Likewise.
18502 * string/string.h [__USE_SVID]: Likewise.
18503 [__USE_BSD]: Likewise.
18504 * string/strings.h [__USE_BSD]: Likewise.
18505 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18506 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18507 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18508 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18509 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18510 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18511 Likewise.
18512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18513 Likewise.
18514 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18515 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18516 Likewise.
18517 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18518 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18519 Likewise.
18520 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18521 Likewise.
18522 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18523 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18524 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18525 Likewise.
18526 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18527 Likewise.
18528 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18529 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18530 * termios/termios.h [__USE_BSD]: Likewise.
18531 * time/sys/time.h [__USE_BSD]: Likewise.
18532 * time/time.h [__USE_BSD]: Likewise.
18533 [__USE_SVID]: Likewise.
18534
18535 * Makefile (subdir_targets): Remove subdir_lint.out.
18536
18537 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18538 (do-tst-printf): Likewise.
18539 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18540 $(objpfx)tst-printf.out.
18541
18542 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18543
18544 * Makerules (check-abi-%): Change target to
18545 $(objpfx)check-abi-%.out.
18546 (check-abi target): Update dependencies.
18547 (check-abi-pattern variable): Redirect output of diff to $@.
18548 (check-abi variable): Likewise.
18549 * elf/Makefile (check-abi): Update dependencies.
18550
18551 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18552 unused.
18553 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18554 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18555 subnormal range.
18556 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18557 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18558 value has largest subnormal exponent.
18559 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18560 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18561 * sysdeps/aarch64/soft-fp/sfp-machine.h
18562 (_FP_TININESS_AFTER_ROUNDING): New macro.
18563 * sysdeps/alpha/soft-fp/sfp-machine.h
18564 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18565 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18566 Likewise.
18567 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18568 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18569 * sysdeps/mips/soft-fp/sfp-machine.h
18570 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18571 * sysdeps/powerpc/soft-fp/sfp-machine.h
18572 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18573 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18574 Likewise.
18575 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18576 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18577 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18578 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18579 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18580 Likewise.
18581
18582 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18583
18584 [BZ #16545]
18585 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18586 model 1.
18587
18588 2014-02-12 Richard Henderson <rth@redhat.com>
18589
18590 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18591 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18592 * sysdeps/unix/sysv/linux/alpha: Move directory from
18593 ports/sysdeps/unix/sysv/linux/alpha.
18594 * README: Update listing for alpha-*-linux-gnu.
18595
18596 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18597
18598 * include/features.h: Update comment documenting feature test
18599 macros.
18600 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18601 _DEFAULT_SOURCE.
18602 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18603 (_SVID_SOURCE): Likewise.
18604 (_DEFAULT_SOURCE): Update description of default features.
18605 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18606 with _GNU_SOURCE.
18607 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18608 (S_ISVTX): Likewise.
18609 * manual/math.texi (Mathematical Constants): Likewise.
18610 * manual/signal.texi (Interrupted Primitives): Likewise.
18611 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18612 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18613 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18614 Don't refer to _SVID_SOURCE in warning text.
18615
18616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18617
18618 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18619 already defined.
18620 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18621 * sysdeps/mips/dl-lookup.c: Remove.
18622 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18623
18624 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18625
18626 [BZ #16447]
18627 * math/auto-libm-test-in: Add testcase for expl.
18628 * math/auto-libm-test-out: Regenerate.
18629 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18630 calculation of unsafe.
18631 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18632
18633 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18634
18635 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18636 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18637 ports/sysdeps/unix/sysv/linux/aarch64.
18638 * README: Update listing for aarch64*-*-linux-gnu.
18639
18640 2014-02-11 Will Newton <will.newton@linaro.org>
18641
18642 * manual/probes.texi (Mathematical Function Probes): Use
18643 "triggered" instead of "hit".
18644
18645 * manual/probes.texi (Internal Probes): Add documentation
18646 of setjmp, longjmp and longjmp_target probes.
18647
18648 * include/stap-probe.h: Add comment about probe argument
18649 format.
18650
18651 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18652 definition. (tr_where, tr_freehook, tr_mallochook,
18653 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18654
18655 2014-02-11 David S. Miller <davem@davemloft.net>
18656
18657 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18658 processing int_tests.
18659
18660 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18661
18662 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18663 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18664 * sysdeps/unix/sysv/linux/mips: Move directory from
18665 ports/sysdeps/unix/sysv/linux/mips.
18666 * README: Update listing for mips-*-linux-gnu and
18667 mips64-*-linux-gnu.
18668
18669 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18670
18671 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18672 * sysdeps/unix/sysv/linux/m68k: Move directory from
18673 ports/sysdeps/unix/sysv/linux/m68k.
18674 * README: Update listing for m68k-*-linux-gnu.
18675
18676 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18677
18678 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18679 * sysdeps/unix/sysv/linux/generic: Move directory from
18680 ports/sysdeps/unix/sysv/linux/generic.
18681 * sysdeps/unix/sysv/linux/tile: Move directory from
18682 ports/sysdeps/unix/sysv/linux/tile.
18683 * README: Update listing for tile*-*-linux-gnu.
18684
18685 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18686
18687 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18688 __builtin_expect.
18689 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18690 * catgets/open_catalog.c (__open_catalog): Likewise.
18691 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18692 * debug/confstr_chk.c: Likewise.
18693 * debug/fread_chk.c (__fread_chk): Likewise.
18694 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18695 * debug/getgroups_chk.c: Likewise.
18696 * debug/mbsnrtowcs_chk.c: Likewise.
18697 * debug/mbsrtowcs_chk.c: Likewise.
18698 * debug/mbstowcs_chk.c: Likewise.
18699 * debug/memcpy_chk.c: Likewise.
18700 * debug/memmove_chk.c: Likewise.
18701 * debug/mempcpy_chk.c: Likewise.
18702 * debug/memset_chk.c: Likewise.
18703 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18704 * debug/strcat_chk.c (__strcat_chk): Likewise.
18705 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18706 * debug/strncat_chk.c (__strncat_chk): Likewise.
18707 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18708 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18709 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18710 * debug/wcpncpy_chk.c: Likewise.
18711 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18712 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18713 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18714 * debug/wcsncpy_chk.c: Likewise.
18715 * debug/wcsnrtombs_chk.c: Likewise.
18716 * debug/wcsrtombs_chk.c: Likewise.
18717 * debug/wcstombs_chk.c: Likewise.
18718 * debug/wmemcpy_chk.c: Likewise.
18719 * debug/wmemmove_chk.c: Likewise.
18720 * debug/wmempcpy_chk.c: Likewise.
18721 * debug/wmemset_chk.c: Likewise.
18722 * dirent/scandirat.c (SCANDIRAT): Likewise.
18723 * dlfcn/dladdr1.c (dladdr1): Likewise.
18724 * dlfcn/dladdr.c (dladdr): Likewise.
18725 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18726 * dlfcn/dlerror.c (__dlerror): Likewise.
18727 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18728 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18729 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18730 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18731 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18732 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18733 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18734 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18735 Likewise.
18736 * elf/dl-conflict.c: Likewise.
18737 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18738 * elf/dl-dst.h: Likewise.
18739 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18740 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18741 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18742 * elf/dl-init.c (call_init, _dl_init): Likewise.
18743 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18744 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18745 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18746 Likewise.
18747 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18748 Likewise.
18749 * elf/dl-minimal.c (__libc_memalign): Likewise.
18750 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18751 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18752 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18753 * elf/dl-sym.c (do_sym): Likewise.
18754 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18755 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18756 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18757 * elf/dl-writev.h (_dl_writev): Likewise.
18758 * elf/ldconfig.c (search_dir): Likewise.
18759 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18760 (dl_main): Likewise.
18761 * elf/setup-vdso.h (setup_vdso): Likewise.
18762 * grp/compat-initgroups.c (compat_call): Likewise.
18763 * grp/fgetgrent.c (fgetgrent): Likewise.
18764 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18765 * grp/putgrent.c (putgrent): Likewise.
18766 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18767 Likewise.
18768 * hurd/hurdinit.c: Likewise.
18769 * iconvdata/8bit-gap.c (struct): Likewise.
18770 * iconvdata/ansi_x3.110.c : Likewise.
18771 * iconvdata/big5.c : Likewise.
18772 * iconvdata/big5hkscs.c : Likewise.
18773 * iconvdata/cp1255.c: Likewise.
18774 * iconvdata/cp1258.c : Likewise.
18775 * iconvdata/cp932.c : Likewise.
18776 * iconvdata/euc-cn.c: Likewise.
18777 * iconvdata/euc-jisx0213.c : Likewise.
18778 * iconvdata/euc-jp.c: Likewise.
18779 * iconvdata/euc-jp-ms.c : Likewise.
18780 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18781 * iconvdata/gb18030.c : Likewise.
18782 * iconvdata/gbbig5.c (const): Likewise.
18783 * iconvdata/gbgbk.c: Likewise.
18784 * iconvdata/gbk.c : Likewise.
18785 * iconvdata/ibm1364.c : Likewise.
18786 * iconvdata/ibm930.c : Likewise.
18787 * iconvdata/ibm932.c: Likewise.
18788 * iconvdata/ibm933.c : Likewise.
18789 * iconvdata/ibm935.c : Likewise.
18790 * iconvdata/ibm937.c : Likewise.
18791 * iconvdata/ibm939.c : Likewise.
18792 * iconvdata/ibm943.c: Likewise.
18793 * iconvdata/iso_11548-1.c: Likewise.
18794 * iconvdata/iso-2022-cn.c : Likewise.
18795 * iconvdata/iso-2022-cn-ext.c : Likewise.
18796 * iconvdata/iso-2022-jp-3.c: Likewise.
18797 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18798 * iconvdata/iso-2022-kr.c : Likewise.
18799 * iconvdata/iso646.c (gconv_end): Likewise.
18800 * iconvdata/iso_6937-2.c : Likewise.
18801 * iconvdata/iso_6937.c : Likewise.
18802 * iconvdata/iso8859-1.c: Likewise.
18803 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18804 * iconvdata/shift_jisx0213.c : Likewise.
18805 * iconvdata/sjis.c : Likewise.
18806 * iconvdata/t.61.c : Likewise.
18807 * iconvdata/tcvn5712-1.c : Likewise.
18808 * iconvdata/tscii.c: Likewise.
18809 * iconvdata/uhc.c : Likewise.
18810 * iconvdata/unicode.c (gconv_end): Likewise.
18811 * iconvdata/utf-16.c (gconv_end): Likewise.
18812 * iconvdata/utf-32.c (gconv_end): Likewise.
18813 * iconvdata/utf-7.c (base64): Likewise.
18814 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18815 * iconv/gconv_close.c (__gconv_close): Likewise.
18816 * iconv/gconv_open.c (__gconv_open): Likewise.
18817 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18818 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18819 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18820 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18821 (ucs4le_internal_loop_single): Likewise.
18822 * iconv/iconv.c (iconv): Likewise.
18823 * iconv/iconv_close.c: Likewise.
18824 * iconv/loop.c (SINGLE): Likewise.
18825 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18826 * include/atomic.h: Likewise.
18827 * inet/inet6_option.c (option_alloc): Likewise.
18828 * intl/bindtextdom.c (set_binding_values): Likewise.
18829 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18830 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18831 * intl/localealias.c (read_alias_file): Likewise.
18832 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18833 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18834 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18835 * libio/fmemopen.c (fmemopen): Likewise.
18836 * libio/iofgets.c (_IO_fgets): Likewise.
18837 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18838 * libio/iofgetws.c (fgetws): Likewise.
18839 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18840 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18841 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18842 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18843 * locale/findlocale.c (_nl_find_locale): Likewise.
18844 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18845 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18846 Likewise.
18847 * locale/setlocale.c (setlocale): Likewise.
18848 * login/programs/pt_chown.c (main): Likewise.
18849 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18850 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18851 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18852 (mmap, mmap64, mremap, munmap): Likewise.
18853 * math/e_exp2l.c: Likewise.
18854 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18855 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18856 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18857 * math/s_catan.c (__catan): Likewise.
18858 * math/s_catanf.c (__catanf): Likewise.
18859 * math/s_catanh.c (__catanh): Likewise.
18860 * math/s_catanhf.c (__catanhf): Likewise.
18861 * math/s_catanhl.c (__catanhl): Likewise.
18862 * math/s_catanl.c (__catanl): Likewise.
18863 * math/s_ccosh.c (__ccosh): Likewise.
18864 * math/s_ccoshf.c (__ccoshf): Likewise.
18865 * math/s_ccoshl.c (__ccoshl): Likewise.
18866 * math/s_cexp.c (__cexp): Likewise.
18867 * math/s_cexpf.c (__cexpf): Likewise.
18868 * math/s_cexpl.c (__cexpl): Likewise.
18869 * math/s_clog10.c (__clog10): Likewise.
18870 * math/s_clog10f.c (__clog10f): Likewise.
18871 * math/s_clog10l.c (__clog10l): Likewise.
18872 * math/s_clog.c (__clog): Likewise.
18873 * math/s_clogf.c (__clogf): Likewise.
18874 * math/s_clogl.c (__clogl): Likewise.
18875 * math/s_csin.c (__csin): Likewise.
18876 * math/s_csinf.c (__csinf): Likewise.
18877 * math/s_csinh.c (__csinh): Likewise.
18878 * math/s_csinhf.c (__csinhf): Likewise.
18879 * math/s_csinhl.c (__csinhl): Likewise.
18880 * math/s_csinl.c (__csinl): Likewise.
18881 * math/s_csqrt.c (__csqrt): Likewise.
18882 * math/s_csqrtf.c (__csqrtf): Likewise.
18883 * math/s_csqrtl.c (__csqrtl): Likewise.
18884 * math/s_ctan.c (__ctan): Likewise.
18885 * math/s_ctanf.c (__ctanf): Likewise.
18886 * math/s_ctanh.c (__ctanh): Likewise.
18887 * math/s_ctanhf.c (__ctanhf): Likewise.
18888 * math/s_ctanhl.c (__ctanhl): Likewise.
18889 * math/s_ctanl.c (__ctanl): Likewise.
18890 * math/w_pow.c: Likewise.
18891 * math/w_powf.c: Likewise.
18892 * math/w_powl.c: Likewise.
18893 * math/w_scalb.c (sysv_scalb): Likewise.
18894 * math/w_scalbf.c (sysv_scalbf): Likewise.
18895 * math/w_scalbl.c (sysv_scalbl): Likewise.
18896 * misc/error.c (error_tail): Likewise.
18897 * misc/pselect.c (__pselect): Likewise.
18898 * nis/nis_callback.c (__nis_create_callback): Likewise.
18899 * nis/nis_call.c (__nisfind_server): Likewise.
18900 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18901 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18902 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18903 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18904 * nis/nis_lookup.c (nis_lookup): Likewise.
18905 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18906 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18907 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18908 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18909 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18910 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18911 * nis/nss_compat/compat-initgroups.c (add_group)
18912 (internal_getgrent_r): Likewise.
18913 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18914 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18915 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18916 (internal_getspnam_r): Likewise.
18917 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18918 (_nss_nis_getaliasbyname_r): Likewise.
18919 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18920 (_nss_nis_getntohost_r): Likewise.
18921 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18922 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18923 (_nss_nis_getgrgid_r): Likewise.
18924 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18925 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18926 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18927 (_nss_nis_gethostbyname4_r): Likewise.
18928 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18929 (initgroups_netid): Likewise.
18930 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18931 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18932 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18933 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18934 (_nss_nis_getprotobynumber_r): Likewise.
18935 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18936 (_nss_nis_getsecretkey): Likewise.
18937 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18938 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18939 (_nss_nis_getpwuid_r): Likewise.
18940 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18941 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18942 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18943 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18944 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18945 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18946 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18947 Likewise.
18948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18949 (_nss_nisplus_getntohost_r): Likewise.
18950 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18951 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18952 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18953 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18954 Likewise.
18955 * nis/nss_nisplus/nisplus-initgroups.c
18956 (_nss_nisplus_initgroups_dyn): Likewise.
18957 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18958 (_nss_nisplus_getnetbyaddr_r): Likewise.
18959 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18960 (_nss_nisplus_getprotobynumber_r): Likewise.
18961 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18962 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18963 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18964 Likewise.
18965 * nis/nss_nisplus/nisplus-service.c
18966 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18967 (_nss_nisplus_getservbyport_r): Likewise.
18968 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18969 (_nss_nisplus_getspnam_r): Likewise.
18970 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18971 Likewise.
18972 * nscd/aicache.c (addhstaiX): Likewise.
18973 * nscd/cache.c (cache_search, prune_cache): Likewise.
18974 * nscd/connections.c (register_traced_file, send_ro_fd)
18975 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18976 (main_loop_epoll): Likewise.
18977 * nscd/grpcache.c (addgrbyX): Likewise.
18978 * nscd/hstcache.c (addhstbyX): Likewise.
18979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18980 * nscd/mem.c (gc, mempool_alloc): Likewise.
18981 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18982 (addinnetgrX): Likewise.
18983 * nscd/nscd-client.h (__nscd_acquire_maplock)
18984 (__nscd_drop_map_ref): Likewise.
18985 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18986 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18987 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18988 Likewise.
18989 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18991 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18992 (__nscd_get_map_ref): Likewise.
18993 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18994 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18995 Likewise.
18996 * nscd/pwdcache.c (addpwbyX): Likewise.
18997 * nscd/selinux.c (preserve_capabilities): Likewise.
18998 * nscd/servicescache.c (addservbyX): Likewise.
18999 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19000 * posix/fnmatch.c (fnmatch): Likewise.
19001 * posix/getopt.c (_getopt_internal_r): Likewise.
19002 * posix/glob.c (glob, glob_in_dir): Likewise.
19003 * posix/wordexp.c (exec_comm_child): Likewise.
19004 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19005 (getanswer_r, gaih_getanswer_slice): Likewise.
19006 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19007 * resolv/res_init.c: Likewise.
19008 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19009 * resolv/res_query.c (__libc_res_nquery): Likewise.
19010 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19011 Likewise.
19012 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19013 * stdio-common/perror.c (perror): Likewise.
19014 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19015 * stdio-common/tmpnam.c (tmpnam): Likewise.
19016 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19017 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19018 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19019 Likewise.
19020 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19021 * stdlib/putenv.c (putenv): Likewise.
19022 * stdlib/setenv.c (__add_to_environ): Likewise.
19023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19024 * stdlib/strtol_l.c (INTERNAL): Likewise.
19025 * string/memmem.c (memmem): Likewise.
19026 * string/strerror.c (strerror): Likewise.
19027 * string/strnlen.c (__strnlen): Likewise.
19028 * string/test-memmem.c (simple_memmem): Likewise.
19029 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19030 * sunrpc/pm_getport.c (__get_socket): Likewise.
19031 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19032 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19033 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19034 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19035 Likewise.
19036 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19037 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19038 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19039 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19040 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19041 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19042 Likewise.
19043 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19044 Likewise.
19045 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19046 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19048 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19049 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19051 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19052 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19053 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19054 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19055 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19056 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19057 Likewise.
19058 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19059 Likewise.
19060 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19061 Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19064 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19065 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19066 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19067 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19068 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19071 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19072 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19075 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19077 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19078 Likewise.
19079 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19080 Likewise.
19081 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19082 Likewise.
19083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19084 Likewise.
19085 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19087 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19088 Likewise.
19089 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19090 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19091 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19092 * sysdeps/posix/sleep.c: Likewise.
19093 * sysdeps/posix/tempname.c: Likewise.
19094 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19095 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19096 Likewise.
19097 * sysdeps/powerpc/powerpc32/dl-machine.h
19098 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19099 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19101 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19103 Likewise.
19104 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19105 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19106 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19107 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19108 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19109 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19110 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19111 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19112 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19113 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19115 (elf_machine_lazy_rel): Likewise.
19116 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19117 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19118 (elf_machine_lazy_rel): Likewise.
19119 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19120 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19121 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19122 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19123 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19124 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19125 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19127 Likewise.
19128 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19129 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19130 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19131 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19132 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19133 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19134 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19135 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19136 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19137 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19138 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19139 Likewise.
19140 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19141 (__posix_fallocate64_l64): Likewise.
19142 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19143 (posix_fallocate): Likewise.
19144 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19145 Likewise.
19146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19147 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19148 (getifaddrs_internal): Likewise.
19149 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19150 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19151 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19152 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19153 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19154 (__posix_fallocate64_l64): Likewise.
19155 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19156 Likewise.
19157 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19158 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19159 (__get_clockfreq): Likewise.
19160 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19161 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19162 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19165 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19166 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19167 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19168 Likewise.
19169 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19170 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19171 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19174 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19175 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19176 Likewise.
19177 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19178 (posix_fallocate): Likewise.
19179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19180 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19181 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19182 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19183 (elf_machine_rela, elf_machine_rela_relative)
19184 (elf_machine_lazy_rel): Likewise.
19185 * time/asctime.c (asctime_internal): Likewise.
19186 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19187 * time/tzset.c (__tzset_parse_tz): Likewise.
19188 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19189 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19190 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19191 * wcsmbs/wcsmbsload.h: Likewise.
19192
19193 [BZ #15894]
19194 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19195
19196 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19197 (arena_get2): Remove THREAD_STATS conditionals.
19198 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19199 (__malloc_stats, int): Likewise.
19200
19201 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19202
19203 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19204 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19205
19206 * manual/setjmp.texi: Fix typos/grammar errors.
19207
19208 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19209 Only return early when n is <= 0. Delete unused return statement.
19210
19211 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19212 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19213 * debug/tst-longjmp_chk3.c: New file.
19214
19215 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19216 (test_main): Replace code with set_fortify_handler call.
19217 * debug/test-strcpy_chk.c: Likewise.
19218 * debug/tst-chk1.c: Likewise.
19219 * debug/tst-longjmp_chk.c: Likewise.
19220 * test-skeleton.c: Include fcntl.h & paths.h
19221 (set_fortify_handler): Define.
19222
19223 * debug/tst-longjmp_chk.c: Add header comment and include
19224 ../test-skeleton.c.
19225 (do_test): Mark static.
19226 (TEST_FUNCTION): Define.
19227
19228 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19229 (IP_PMTUDISC_INTERFACE): Likewise.
19230 (IP_MULTICAST_IF): Likewise.
19231 (IP_MULTICAST_TTL): Likewise.
19232 (IP_MULTICAST_LOOP): Likewise.
19233 (IP_ADD_MEMBERSHIP): Likewise.
19234 (IP_DROP_MEMBERSHIP): Likewise.
19235 (IP_UNBLOCK_SOURCE): Likewise.
19236 (IP_BLOCK_SOURCE): Likewise.
19237 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19238 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19239 (IP_MSFILTER): Likewise.
19240 (MCAST_JOIN_GROUP): Likewise.
19241 (MCAST_BLOCK_SOURCE): Likewise.
19242 (MCAST_UNBLOCK_SOURCE): Likewise.
19243 (MCAST_LEAVE_GROUP): Likewise.
19244 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19245 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19246 (MCAST_MSFILTER): Likewise.
19247 (IP_MULTICAST_ALL): Likewise.
19248 (IP_UNICAST_IF): Likewise.
19249
19250 * timezone/Makefile: Delete $(have-ksh) check.
19251 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19252 * timezone/tzselect.ksh: Add +x mode bits.
19253
19254 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19255 (ANON_INODE_FS_MAGIC): Likewise.
19256 (BDEVFS_MAGIC): Likewise.
19257 (BINFMTFS_MAGIC): Likewise.
19258 (BTRFS_TEST_MAGIC): Likewise.
19259 (CRAMFS_MAGIC_WEND): Likewise.
19260 (DEBUGFS_MAGIC): Likewise.
19261 (ECRYPTFS_SUPER_MAGIC): Likewise.
19262 (EXT3_SUPER_MAGIC): Likewise.
19263 (EXT4_SUPER_MAGIC): Likewise.
19264 (FUTEXFS_SUPER_MAGIC): Likewise.
19265 (HOSTFS_SUPER_MAGIC): Likewise.
19266 (HUGETLBFS_MAGIC): Likewise.
19267 (MINIX3_SUPER_MAGIC): Likewise.
19268 (MTD_INODE_FS_MAGIC): Likewise.
19269 (NILFS_SUPER_MAGIC): Likewise.
19270 (OPENPROM_SUPER_MAGIC): Likewise.
19271 (PIPEFS_MAGIC): Likewise.
19272 (PSTOREFS_MAGIC): Likewise.
19273 (QNX6_SUPER_MAGIC): Likewise.
19274 (RAMFS_MAGIC): Likewise.
19275 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19276 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19277 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19278 (SECURITYFS_MAGIC): Likewise.
19279 (SELINUX_MAGIC): Likewise.
19280 (SMACK_MAGIC): Likewise.
19281 (SOCKFS_MAGIC): Likewise.
19282 (SQUASHFS_MAGIC): Likewise.
19283 (STACK_END_MAGIC): Likewise.
19284 (TMPFS_MAGIC): Likewise.
19285 (USBDEVICE_SUPER_MAGIC): Likewise.
19286 (V9FS_MAGIC): Likewise.
19287 (XENFS_SUPER_MAGIC): Likewise.
19288 (CRAMFS_MAGIC): Fix typo in comment.
19289 (EXT2_SUPER_MAGIC): Update comment.
19290 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19291
19292 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19293
19294 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19295 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19296 * sysdeps/unix/sysv/linux/arm: Move directory from
19297 ports/sysdeps/unix/sysv/linux/arm.
19298 * README: Update listing for arm-*-linux-gnueabi.
19299
19300 * README: Remove mention of am33.
19301
19302 2014-02-07 Roland McGrath <roland@hack.frob.com>
19303
19304 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19305 than the comma operator, to avoid "rhs of comma has no effect"
19306 compiler warnings.
19307 (__sigfillset, __sigandset, __sigorset): Likewise.
19308 * include/signal.h (__sigemptyset): Likewise.
19309 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19310
19311 2014-02-07 Allan McRae <allan@archlinux.org>
19312
19313 * version.h (RELEASE): Set to "development".
19314 (VERSION): Set to "2.19.90"
19315 * NEWS: Add 2.20 section.
19316
19317 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19318
19319 [BZ #16529]
19320 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19321
19322 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19323
19324 * manual/contrib.texi: Update entry for Carlos O'Donell,
19325 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19326
19327 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19328
19329 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19330
19331 * sysdeps/unix/sysv/linux/kernel-features.h
19332 [__LINUX_KERNEL_VERSION >= 0x020621]
19333 (__ASSUME_PROC_PID_TASK_COMM): Define.
19334
19335 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19336
19337 [BZ #16398]
19338 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19339 conversion when destination buffer does not have enough space.
19340 * libio/tst-ftell-partial-wide.c: New test case.
19341 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19342
19343 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19344 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19345 Leonard and Allan McRae.
19346
19347 2014-02-04 David S. Miller <davem@davemloft.net>
19348
19349 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19350 32-bit.
19351
19352 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19353
19354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19355 New file
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19357 New file
19358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19359 New file.
19360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19361 New file.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19363 New file.
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19365 New file.
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19367 New file.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19369 New file.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19371 New file.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19373 New file.
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19375 New file.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19377 New file.
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19379 New file.
19380
19381 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19382
19383 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19384 * shlib-versions: Likewise.
19385
19386 2014-02-04 Roland McGrath <roland@hack.frob.com>
19387 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19388
19389 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19390 (abilist-pattern): New variable, set to %-le.abilist.
19391
19392 * Makerules (abilist-pattern): New variable.
19393 (vpath): Use $(abilist-pattern) in place of %.abilist.
19394 (check-abi-% pattern rule): Likewise.
19395 (check-abi, update-abi): Likewise.
19396
19397 2014-02-04 Eric Wong <normalperson@yhbt.net>
19398
19399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19400
19401 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19402
19403 * manual/startup.texi: Add next, previous, and top entries for
19404 the `Program Arguments' and `Environment Variables' nodes.
19405
19406 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19407
19408 * manual/macros.texi: Add comments before MTASC-safety macros.
19409
19410 * manual/users.texi: Document MTASC-safety properties.
19411
19412 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19413 (pthread_getspecific, pthread_setspecific): Format with
19414 @deftypefun, and add @safety note.
19415 * manual/signal.texi: Move comments that analyze the above
19416 functions to their home place.
19417
19418 2014-02-03 Allan McRae <allan@archlinux.org>
19419
19420 * po/sl.po: Update Slovenian translation from translation project.
19421
19422 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19423
19424 * manual/time.texi (timegm): Add missing blank after @c.
19425 Reported by Joseph Myers <joseph@codesourcery.com>.
19426
19427 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19428
19429 * manual/check-safety.sh: New.
19430 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19431
19432 * manual/terminal.texi: Document MTASC-safety properties.
19433
19434 * manual/filesys.texi: Document MTASC-safety properties.
19435
19436 * manual/errno.texi: Document MTASC-safety properties.
19437
19438 * manual/intro.texi: Document safety identifiers and
19439 conditionals.
19440
19441 * manual/string.texi (wcstok): Fix prototype.
19442 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19443
19444 * manual/time.texi: Document MTASC-safety properties.
19445
19446 * manual/string.texi: Document MTASC-safety properties.
19447
19448 * manual/threads.texi: Document MTASC-safety properties.
19449
19450 * manual/stdio.texi: Document MTASC-safety properties.
19451
19452 * manual/syslog.texi: Document MTASC-safety properties.
19453
19454 * manual/sysinfo.texi: Document MTASC-safety properties.
19455
19456 * manual/startup.texi: Document MTASC-safety properties.
19457
19458 * manual/socket.texi: Document MTASC-safety properties.
19459
19460 * manual/signal.texi: Document MTASC-safety properties.
19461
19462 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19463
19464 * manual/setjmp.texi: Document MTASC-safety properties.
19465
19466 * manual/search.texi: Document MTASC-safety properties.
19467
19468 * manual/resource.texi: Document MTASC-safety properties.
19469
19470 * manual/process.texi: Document MTASC-safety properties.
19471
19472 * manual/platform.texi: Document MTASC-safety properties.
19473
19474 * manual/pipe.texi: Document MTASC-safety properties.
19475
19476 * manual/pattern.texi: Document MTASC-safety properties.
19477
19478 * manual/message.texi: Document MTASC-safety properties.
19479
19480 [BZ #12751]
19481 * manual/memory.texi: Document MTASC-safety properties.
19482
19483 * manual/math.texi: Document MTASC-safety properties.
19484
19485 * manual/locale.texi: Document MTASC-safety properties.
19486
19487 * manual/llio.texi: Document MTASC-safety properties.
19488
19489 * manual/libdl.texi: New.
19490
19491 * manual/lang.texi: Document MTASC-safety properties.
19492
19493 * manual/job.texi: Document MTASC-safety properties.
19494
19495 * manual/getopt.texi: Document MTASC-safety properties.
19496
19497 * manual/ctype.texi: Document MTASC-safety properties.
19498
19499 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19500
19501 [BZ #16046]
19502 * csu/libc-tls.c (static_map): Remove variable.
19503 (__libc_setup_tls): Use main executable's link map for TLS data.
19504 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19505 casing for LM_ID_BASE and GL(dl_nns).
19506 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19507 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19508 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19509 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19510 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19511 member.
19512 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19513 l_phnum members.
19514
19515 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19516
19517 * manual/debug.texi: Document MTASC-safety properties.
19518
19519 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19520
19521 [BZ #16510]
19522 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19523 of __x86_64__ when disabling x87 inline functions.
19524
19525 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19526
19527 * manual/charset.texi: Document MTASC-safety properties.
19528
19529 * manual/crypt.texi: Document MTASC-safety properties.
19530
19531 * manual/conf.texi: Document MTASC-safety properties.
19532
19533 * manual/arith.texi: Document MTASC-safety properties.
19534
19535 * manual/argp.texi: Document MTASC-safety properties.
19536
19537 * manual/macros.texi: Introduce macros to document multi
19538 thread, asynchronous signal and asynchronous cancellation
19539 safety properties.
19540 * manual/intro.texi: Introduce the properties themselves.
19541
19542 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19543
19544 * sysdeps/sh/sh4/Makefile: New file.
19545
19546 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19547
19548 * math/gen-libm-test.pl ($srcdir): New variable.
19549 ($auto_input): Use it.
19550
19551 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19552
19553 [BZ #16506]
19554 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19555 access beyond array bounds when parsing netgroups file.
19556
19557 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19558 the old buffer before realloc.
19559
19560 2014-01-27 Allan McRae <allan@archlinux.org>
19561
19562 * po/fr.po: Update French translation from translation project.
19563
19564 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19565
19566 * sysdeps/sh/libm-test-ulps: Regenerate.
19567
19568 2014-01-24 David S. Miller <davem@davemloft.net>
19569
19570 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19571
19572 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19573
19574 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19575 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19576
19577 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19578
19579 [BZ #16474]
19580 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19581 string pointers after reallocation.
19582
19583 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19584
19585 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19586 __SH4A__ instead of __SH_FPU_ANY__.
19587
19588 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19589
19590 * sysdeps/sh/fpu_control.h: New file.
19591 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19592 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19593 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19594 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19595 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19596 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19597 * sysdeps/sh/sys/ucontext.h: Remove.
19598 * sysdeps/sh/sys: Remove directory.
19599
19600 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19601
19602 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19603 s390/sys/ucontext.h.
19604 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19605 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19606
19607 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 [BZ #15605]
19610 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19611
19612 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19613
19614 [BZ#16431]
19615 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19616 Adjust the vDSO correctly for internal calls.
19617 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19618
19619 2014-01-20 Allan McRae <allan@archlinux.org>
19620
19621 * po/ca.po: Update Catalan translation from translation project.
19622
19623 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19624
19625 * sysdeps/s390/sotruss-lib.c: New file.
19626
19627 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19628
19629 [BZ#16430]
19630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19631 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19632 local calls issues by not having a PLT stub required for IFUNC calls.
19633 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19634
19635 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19636
19637 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19638 * math/test-fpucw-static.c: Likewise.
19639
19640 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19641
19642 [BZ #16453]
19643 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19644
19645 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19646
19647 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19648 implementation for powerpc.
19649
19650 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19651
19652 [BZ #14782]
19653 * sysdeps/posix/system.c (__libc_system): Do not enable
19654 asynchronous cancellation.
19655
19656 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19657
19658 [BZ #16427]
19659 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19660 handling only for numbers special also in the IEEE case.
19661
19662 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19663
19664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19665
19666 2014-01-11 Allan McRae <allan@archlinux.org>
19667
19668 * po/bg.po: Update Bulgarian translation from translation project.
19669
19670 * po/de.po: Update German translation from translation project.
19671
19672 2014-01-10 Roland McGrath <roland@hack.frob.com>
19673
19674 * sysdeps/generic/gcc-compat.h: New file.
19675
19676 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19677
19678 * benchtests/asin-inputs: Correct slow inputs.
19679 * benchtests/acos-inputs: Likewise.
19680
19681 2014-01-10 Allan McRae <allan@archlinux.org>
19682
19683 * po:sv.po: Update Swedish translation from translation project.
19684
19685 * po/vi.po: Update Vietnamese translation from translation project.
19686
19687 * po/eo.po: Update Esperanto translation from translation project.
19688
19689 * po/cs.po: Update Czech translation from translation project.
19690
19691 * po/nl.po: Update Dutch translation from translation project.
19692
19693 * po/pl.po: Update Polish translation from translation project.
19694
19695 * po/ru.po: Update Russian translation from translation project.
19696
19697 * po/uk.po: Update Ukrainian translation from translation project.
19698
19699 2014-01-08 Brooks Moses <bmoses@google.com>
19700
19701 * elf/dl-load.c: Fix comment typo.
19702
19703 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19704
19705 * po/header.pot: Rename to...
19706 * po/pot.header: ... this.
19707 * po/Makefile: Use pot.header.
19708
19709 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19710 Maxim Kuvyrkov <maxim@kugelworks.com>
19711
19712 [BZ #16394]
19713 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19714 SRC and DEST against LEN.
19715
19716 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19717
19718 [BZ #16414]
19719 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19720 implementation.
19721 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19722
19723 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19724
19725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19726
19727 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19728
19729 [BZ #16408]
19730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19731 for large positive arguments.
19732
19733 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19734
19735 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19736
19737 * math/auto-libm-test-in: Mark various tests with
19738 xfail-rounding:ldbl-128ibm.
19739 * math/auto-libm-test-out: Regenerated.
19740
19741 [BZ #16407]
19742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19743 Increase overflow threshold.
19744
19745 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19746
19747 [BZ #14286]
19748 * stdio-common/vfprintf.c: Check for integer overflow.
19749
19750 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19751
19752 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19753 the first argument and return value of __tls_get_addr_internal.
19754
19755 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19756
19757 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19758 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19759
19760 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19761
19762 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19763 * sysdeps/s390/rtld-global-offsets.sym: New file.
19764 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19765 GLIBC_2.19 symbol.
19766 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19767 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19768 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19769 ... this.
19770 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19771 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19772 ... this.
19773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19774 Regenerate.
19775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19776 Regenerate.
19777 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19778 halfs of GPRs for high_gprs contexts.
19779 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19780 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19781 field.
19782 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19783 uc_flags field.
19784 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19785 64 bit versions:
19786 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19787 for high GPRs (uc_high_gprs) and for future extensions
19788 (__reserved).
19789 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19790 for future extensions (__reserved).
19791 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19792 64 bit versions:
19793 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19794 SC_HIGHGPRS offset definition.
19795 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19796 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19797
19798 * Versions.def: Add GLIBC_2.19 for libpthread.
19799 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19800 siglongjmp for libpthread with GLIBC_2.19 symver.
19801 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19802 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19803 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19804 * sysdeps/s390/__longjmp.c: New file.
19805 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19806 * sysdeps/s390/longjmp.c: New file.
19807 * sysdeps/s390/setjmp.S: New file.
19808 * sysdeps/s390/sigjmp.S: New file.
19809 * sysdeps/s390/v1-longjmp.c: New file.
19810 * sysdeps/s390/v1-setjmp.h: New file.
19811 * sysdeps/s390/v1-sigjmp.c: New file.
19812 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19813 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19814 GLIBC_2.19 version.
19815 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19816 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19817 versioned symbols for ____longjmp_chk.
19818 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19819 Likewise.
19820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19821 Regenerate.
19822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19823 Regenerate.
19824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19825 Regenerate.
19826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19827 Regenerate.
19828 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19829 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19830 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19831 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19832 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19833 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19834 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19835 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19836 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19837 * sysdeps/s390/rtld-__longjmp.c: New file.
19838 * sysdeps/s390/rtld-setjmp.S: New file.
19839
19840 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19841
19842 [BZ #16400]
19843 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19844 Return -__logl (x) for small positive arguments without evaluating
19845 a polynomial.
19846
19847 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19848
19849 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19850 Rename to ...
19851 (__ptrace_peeksiginfo_args): ... this.
19852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19854 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19855
19856 2014-01-06 Allan McRae <allan@archlinux.org>
19857
19858 * inet/netinet/in.h: Fix typo in comment.
19859
19860 2014-01-05 Andreas Jaeger <aj@suse.de>
19861
19862 * sysdeps/i386/fpu/libm-test-ulps: Update.
19863
19864 2014-01-05 Allan McRae <allan@archlinux.org>
19865
19866 * po/libc.pot: Regenerated.
19867
19868 * malloc/memusagestat.c: Fix gettext call formatting.
19869
19870 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19871
19872 * nscd/nscd.c: Improve usage() output.
19873
19874 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19875
19876 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19877 * sysdeps/unix/sysv/linux/configure: Regenerated.
19878 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19879 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19880
19881 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19882
19883 [BZ #16390]
19884 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19885 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19886
19887 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19888
19889 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19890 extra tokens at end of #undef directive.
19891 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19892 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19893 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19894
19895 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19896
19897 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19898
19899 * math/auto-libm-test-in: Mark various tests with
19900 xfail-rounding:ldbl-128ibm.
19901 * math/auto-libm-test-out: Regenerated.
19902
19903 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19904
19905 [BZ #16386]
19906 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19907 numbers with subnormal high part when calculating exponent.
19908
19909 [BZ #16385]
19910 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19911 fabs.
19912
19913 [BZ #16384]
19914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19915 M_LN2l.
19916 (__ieee754_acoshl): Use __log1pl not __log1p.
19917
19918 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19919
19920 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19921 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19922 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19923 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19924 (reused_arena, arena_get2): Convert to GNU style.
19925 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19926 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19927 (memalign_check, __malloc_set_state): Likewise.
19928 * malloc/mallocbug.c (main): Likewise.
19929 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19930 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19931 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19932 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19933 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19934 (__posix_memalign, malloc_info): Likewise.
19935 * malloc/malloc.h: Likewise.
19936 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19937 (mallochook, memalignhook, reallochook, mabort): Likewise.
19938 * malloc/mcheck.h: Likewise.
19939 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19940 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19941 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19942 * malloc/morecore.c (__default_morecore): Likewise.
19943 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19944 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19945 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19946 (print_and_abort): Likewise.
19947 * malloc/obstack.h: Likewise.
19948 * malloc/set-freeres.c (__libc_freeres): Likewise.
19949 * malloc/tst-mallocstate.c (main): Likewise.
19950 * malloc/tst-mtrace.c (main): Likewise.
19951 * malloc/tst-realloc.c (do_test): Likewise.
19952
19953 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19954
19955 [BZ #16366]
19956 * nscd/netgroupcache.c (do_notfound): New function.
19957 (addgetnetgrentX): Use it.
19958
19959 [BZ # 16365]
19960 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19961 NSS_STATUS_NOTFOUND.
19962
19963 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19964
19965 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19967
19968 2014-01-01 Allan McRae <allan@archlinux.org>
19969
19970 * scripts/update-copyrights: Update configure input file suffix.
19971
19972 * NEWS: Update copyright year.
19973 * catgets/gencat.c: Likewise.
19974 * csu/version.c: Likewise.
19975 * debug/catchsegv.sh: Likewise.
19976 * debug/pcprofiledump.c: Likewise.
19977 * debug/xtrace.sh: Likewise.
19978 * elf/ldconfig.c: Likewise.
19979 * elf/ldd.bash.in: Likewise.
19980 * elf/pldd.c: Likewise.
19981 * elf/sotruss.ksh: Likewise.
19982 * elf/sprof.c: Likewise.
19983 * iconv/iconv_prog.c: Likewise.
19984 * iconv/iconvconfig.c: Likewise.
19985 * locale/programs/locale.c: Likewise.
19986 * locale/programs/localedef.c: Likewise.
19987 * login/programs/pt_chown.c: Likewise.
19988 * malloc/memusage.sh: Likewise.
19989 * malloc/memusagestat.c: Likewise.
19990 * malloc/mtrace.pl: Likewise.
19991 * manual/libc.texinfo: Likewise.
19992 * nscd/nscd.c: Likewise.
19993 * nss/getent.c: Likewise.
19994 * nss/makedb.c: Likewise.
19995 * posix/getconf.c: Likewise.
19996 * scripts/test-installation.pl: Likewise.
19997
19998 * All files with FSF copyright notices: Update copyright dates
19999 using scripts/update-copyrights.
20000 * intl/plural.c: Regenerated.
20001 * locale/programs/charmap-kw.h: Likewise.
20002 * locale/programs/locfile-kw.h: Likewise.
20003
20004 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20005
20006 * sysdeps/unix/sysv/linux/configure: Regenerated.
20007 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20008 the linux/fanotify.h header.
20009 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20010 HAVE_LINUX_FANOTIFY_H is defined.
20011
20012 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20013
20014 * benchtests/cos-inputs: New inputs.
20015 * benchtests/sin-inputs: Likewise.
20016
20017 * benchtests/atan-inputs: New inputs. Fix name of multiple
20018 precision fallback inputs.
20019
20020 * benchtests/atanh-inputs: New inputs.
20021 * benchtests/tanh-inputs: Likewise.
20022
20023 * benchtests/acosh-inputs: New inputs.
20024 * benchtests/asinh-inputs: Likewise.
20025
20026 * benchtests/cosh-inputs: New inputs.
20027 * benchtests/sinh-inputs: Likewise.
20028
20029 * benchtests/acos-inputs: Add more inputs.
20030 * benchtests/asin-inputs: Likewise.
20031
20032 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20033
20034 [BZ #16375]
20035 * manual/arith.texi: Fix spelling.
20036 * manual/charset.texi: Likewise.
20037 * manual/errno.texi: Likewise.
20038 * manual/filesys.texi: Likewise.
20039 * manual/lang.texi: Likewise.
20040 * manual/llio.texi: Likewise.
20041 * manual/locale.texi: Likewise.
20042 * manual/message.texi: Likewise.
20043 * manual/resource.texi: Likewise.
20044 * manual/search.texi: Likewise.
20045 * manual/setjmp.texi: Likewise.
20046 * manual/stdio.texi: Likewise.
20047 * manual/string.texi: Likewise.
20048 * manual/sysinfo.texi: Likewise.
20049 * manual/time.texi: Likewise.
20050
20051 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20052
20053 * po/sl.po: New file.
20054
20055 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20056
20057 * .gitignore: Add core/.gdbinit/.gdb_history.
20058
20059 2013-12-27 Allan McRae <allan@archlinux.org>
20060
20061 [BZ #16369]
20062 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20063 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20064
20065 2013-12-24 Brooks Moses <bmoses@google.com>
20066
20067 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20068 all compilers that claim C++98 compliance, not just GCC.
20069 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20070 Likewise.
20071
20072 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20073
20074 * NEWS: Restore accidentally deleted bug-fix entries.
20075
20076 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20077 Ondřej Bílka <neleai@seznam.cz>
20078
20079 [BZ #15073]
20080 * malloc/malloc.c (_int_free): Perform sanity check only if we
20081 have_lock.
20082
20083 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20084
20085 [BZ #12986]
20086 * manual/stdio.texi (String Input Conversions): Clarify that character
20087 classes are not supported.
20088
20089 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20090
20091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20092
20093 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20094
20095 [BZ #16337]
20096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20097 Calculate results for small negative arguments directly rather
20098 than using reflection formula with special underflow handling.
20099
20100 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20101 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20102 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20103 (fchflags): Likewise.
20104 (revoke): Likewise.
20105 (setlogin): Likewise.
20106 (sigaltstack): Likewise.
20107 (wait4): Likewise.
20108 (sigblock): Remove.
20109 (sigsetmask): Likewise.
20110 (wait3): Likewise.
20111 (waitpid): Likewise.
20112 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20113 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20114 file.
20115 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20116 * sysdeps/unix/bsd/Makefile: ... here.
20117 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20118 * sysdeps/unix/bsd/Versions: ... here.
20119 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20120 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20121 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20122 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20123 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20124 * sysdeps/unix/bsd/sigblock.c: ... here.
20125 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20126 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20127 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20128 * sysdeps/unix/bsd/sigvec.c: ... here.
20129 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20130 * sysdeps/unix/bsd/tcdrain.c: ... here.
20131 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20132 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20133 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20134 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20135 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20136 * sysdeps/unix/bsd/wait.c: ... here.
20137 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20138 * sysdeps/unix/bsd/wait3.c: ... here.
20139 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20140 * sysdeps/unix/bsd/waitpid.c: ... here.
20141
20142 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20143
20144 [BZ #16356]
20145 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20146 round-to-nearest for [!USE_AS_EXPM1L].
20147 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20148 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20149 more tests of exp and exp10. Expect some exp10 tests to miss
20150 exceptions or fail in directed rounding modes.
20151 * math/auto-libm-test-out: Regenerated.
20152 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20153 (exp10_test_tonearest): New function.
20154 (exp10_towardzero_test_data): New array.
20155 (exp10_test_towardzero): New function.
20156 (exp10_downward_test_data): New array.
20157 (exp10_test_downward): New function.
20158 (exp10_upward_test_data): New array.
20159 (exp10_test_upward): New function.
20160 (main): Call the new functions.
20161 * sysdeps/i386/fpu/libm-test-ulps: Update.
20162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20163
20164 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20165
20166 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20167 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20168 * math/auto-libm-test-out: Regenerated.
20169 * math/libm-test.inc (acosh_test_data): Add more tests.
20170 (atanh_test_data): Likewise.
20171 (ceil_test_data): Likewise.
20172 (copysign_test_data): Likewise.
20173 * sysdeps/i386/fpu/libm-test-ulps: Update.
20174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20175
20176 * timezone/checktab.awk: Update from tzcode 2013i.
20177 * timezone/private.h: Likewise.
20178 * timezone/scheck.c: Likewise.
20179 * timezone/tzfile.h: Likewise.
20180 * timezone/tzselect.ksh: Likewise.
20181 * timezone/zdump.c: Likewise.
20182 * timezone/zic.c: Likewise.
20183
20184 * math/auto-libm-test-in: Add tests of cpow.
20185 * math/auto-libm-test-out: Regenerated.
20186 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20187 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20188 mpc_cc_c.
20189 (func_calc_desc): Add mpc_cc_c union field.
20190 (test_functions): Add cpow.
20191 (special_fill_2pi): New function.
20192 (special_real_inputs): Add 2pi.
20193 (calc_generic_results): Handle mpc_cc_c.
20194 * sysdeps/i386/fpu/libm-test-ulps: Update.
20195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20196
20197 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20198 csqrt, ctan and ctanh.
20199 * math/auto-libm-test-out: Regenerated.
20200 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20201 (TEST_COND_x86): Likewise.
20202 (ccos_test_data): Use AUTO_TESTS_c_c.
20203 (ccosh_test_data): Likewise.
20204 (cexp_test_data): Likewise.
20205 (clog_test_data): Likewise.
20206 (csqrt_test_data): Likewise.
20207 (ctan_test_data): Likewise.
20208 (ctan_tonearest_test_data): Likewise.
20209 (ctan_towardzero_test_data): Likewise.
20210 (ctan_downward_test_data): Likewise.
20211 (ctan_upward_test_data): Likewise.
20212 (ctanh_test_data): Likewise.
20213 (ctanh_tonearest_test_data): Likewise.
20214 (ctanh_towardzero_test_data): Likewise.
20215 (ctanh_downward_test_data): Likewise.
20216 (ctanh_upward_test_data): Likewise.
20217 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20218 mpc_c_c.
20219 (func_calc_desc): Add mpc_c_c union field.
20220 (FUNC_mpc_c_c): New macro.
20221 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20222 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20223 ctanh.
20224 (special_fill_min_subnorm_p120): New function.
20225 (special_real_inputs): Add min_subnorm_p120.
20226 (calc_generic_results): Handle mpc_c_c.
20227 * sysdeps/i386/fpu/libm-test-ulps: Update.
20228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20229
20230 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20231
20232 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20233 (do_sin_slow): New functions.
20234 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20235 (cslow2, csloww1, csloww2): Use the new functions.
20236
20237 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20238 Use M to change sign of result instead of X. Assume X is
20239 positive.
20240 (csloww1): Likewise.
20241 (__sin): Adjust.
20242 (__cos): Adjust.
20243
20244 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20245 arguments A and DA.
20246 (__sin): Adjust.
20247 (__cos): Likewise.
20248
20249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20250 (__cos): Likewise.
20251 (sloww1): Don't adjust sign of DX.
20252 (csloww1): Likewise.
20253 (sloww2): Use X directly and don't adjust sign of DX.
20254 (csloww2): Likewise.
20255
20256 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20257
20258 * math/auto-libm-test-in: Add tests of cabs and carg.
20259 * math/auto-libm-test-out: Regenerated.
20260 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20261 (carg_test_data): Likewise.
20262 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20263 mpc_c_f.
20264 (func_calc_desc): Add mpc_c_f union field.
20265 (test_functions): Add cabs and carg.
20266 (calc_generic_results): Handle mpc_c_f.
20267
20268 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20269 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20270 as a macro and a compat symbol.
20271 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20272 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20273 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20274 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20275 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20276 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20277 not use .hidden.
20278 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20279 Likewise.
20280 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20281 Likewise.
20282 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20283 Likewise.
20284 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20285 Likewise.
20286 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20287 Likewise.
20288 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20289 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20290 from GLIBC_2.3.2.
20291
20292 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20293
20294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20295
20296 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20297
20298 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20299 trailing whitespace removed.
20300 * scripts/config.guess: Update to version 2013-11-29.
20301 * scripts/config.sub: Update to version 2013-10-01.
20302
20303 * math/auto-libm-test-in: Add tests of sincos.
20304 * math/auto-libm-test-out: Regenerated.
20305 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20306 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20307 mpfr_f_11.
20308 (func_calc_desc): Add mpfr_f_11 union field.
20309 (test_functions): Add sincos.
20310 (calc_generic_results): Handle mpfr_f_11.
20311 * sysdeps/i386/fpu/libm-test-ulps: Update.
20312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20313
20314 2013-12-19 Andreas Schwab <schwab@suse.de>
20315
20316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20317 CALL_MCOUNT.
20318 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20319 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20320 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20321
20322 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20323
20324 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20325 * sysdeps/i386/fpu/libm-test-ulps: Update.
20326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20327
20328 [BZ #16293]
20329 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20330 round-to-nearest mode when using frndint.
20331 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20332 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20334 Likewise.
20335 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20336 sinh test to fail.
20337 * math/auto-libm-test-out: Regenerated.
20338 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20339 (TEST_COND_x86): Likewise.
20340 (expm1_tonearest_test_data): New array.
20341 (expm1_test_tonearest): New function.
20342 (expm1_towardzero_test_data): New array.
20343 (expm1_test_towardzero): New function.
20344 (expm1_downward_test_data): New array.
20345 (expm1_test_downward): New function.
20346 (expm1_upward_test_data): New array.
20347 (expm1_test_upward): New function.
20348 (main): Run the new test functions.
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20351
20352 * include/features.h: Update comment documenting feature test
20353 macros. Mention _DEFAULT_SOURCE in comment.
20354 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20355 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20356 _BSD_SOURCE and _SVID_SOURCE.
20357 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20358 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20359 !_SVID_SOURCE]: Likewise.
20360 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20361 (__USE_POSIX_IMPLICITLY): Define.
20362 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20363 (_POSIX_SOURCE): Undefine and redefine.
20364 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20365 (_POSIX_C_SOURCE): Likewise.
20366 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20367 (Feature Test Macros): Update documentation of default features.
20368
20369 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20370
20371 * benchtests/Makefile: Add bench-strtok.
20372 * benchtests/bench-strtok.c: New file: strtok benchtest.
20373
20374 2013-12-19 Allan McRae <allan@archlinux.org>
20375
20376 * manual/install.texi: Suppress menu for plain text output.
20377 * INSTALL: Regenerated.
20378
20379 2013-12-18 Brooks Moses <bmoses@google.com>
20380
20381 [BZ #15846]
20382 * misc/getauxval.c: Include errno.h.
20383 (__getauxval): Set errno to ENOENT if the requested type is not
20384 found.
20385 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20386 don't declare with __attribute_const__.
20387 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20388 * manual/startup.texi: Document that getauxval sets errno.
20389
20390 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20391
20392 * math/auto-libm-test-in: Add tests of jn and yn.
20393 * math/auto-libm-test-out: Regenerated.
20394 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20395 (yn_test_data): Likewise.
20396 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20397 mpfr_if_f.
20398 (func_calc_desc): Add mpfr_if_f union field.
20399 (FUNC_mpfr_if_f): New macro.
20400 (test_functions): Add jn and yn.
20401 (calc_generic_results): Assert type of second input for
20402 mpfr_ff_f. Handle mpfr_if_f.
20403 (output_for_one_input_case): Disable all checking for arguments
20404 fitting floating-point types in case of an integer argument.
20405 * sysdeps/i386/fpu/libm-test-ulps: Update.
20406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20407
20408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20409 Don't expect fegetround reference in libm.so.
20410
20411 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20412
20413 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20414 $(config-cflags-nofma).
20415
20416 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20417
20418 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20419 * math/auto-libm-test-out: Regenerated.
20420
20421 [BZ #16338]
20422 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20423 to determine exponent and adjust argument to have exponent of -1.
20424 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20425 log2.
20426 * math/auto-libm-test-out: Regenerated.
20427 * sysdeps/i386/fpu/libm-test-ulps: Update.
20428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20429
20430 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20431
20432 * manual/probes.texi: Remove cases when per-thread arenas are
20433 disabled.
20434
20435 2013-12-18 Andreas Schwab <schwab@suse.de>
20436
20437 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20438 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20439 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20440 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20441 * sysdeps/i386/i686/multiarch/Makefile: Update.
20442 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20443
20444 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20445
20446 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20447 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20448
20449 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20450
20451 [BZ #15968]
20452 Support TZ transition times < 00:00:00.
20453 This is needed for version-3 tz-format files; it supports time
20454 stamps past 2037 for America/Godthab (the only entry in the tz
20455 database for which this change is relevant).
20456 * manual/time.texi (TZ Variable): Document transition times
20457 from -167:59:59 through -00:00:01.
20458 * time/tzset.c (tz_rule): Time of day is now signed.
20459 (__tzset_parse_tz): Parse negative time of day.
20460
20461 Document TZ transition times >= 25:00:00.
20462 * manual/time.texi (TZ Variable): Document transition times from
20463 25:00:00 through 167:59:59. These are already supported, and this
20464 support will help with version-3 tz-format files.
20465
20466 * manual/time.texi (TZ Variable): Modernize North America example
20467 to reflect current (i.e., 2007-and-later) daylight saving rules.
20468
20469 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20470
20471 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20472
20473 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20474 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20476 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20477 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20478 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20479 * sysdeps/unix/bsd/clock.c: Likewise.
20480 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20481 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20482 * sysdeps/unix/bsd/init-posix.c: Likewise.
20483 * sysdeps/unix/bsd/poll.c: Likewise.
20484 * sysdeps/unix/bsd/ptsname.c: Likewise.
20485 * sysdeps/unix/bsd/seekdir.c: Likewise.
20486 * sysdeps/unix/bsd/setegid.c: Likewise.
20487 * sysdeps/unix/bsd/seteuid.c: Likewise.
20488 * sysdeps/unix/bsd/setgid.c: Likewise.
20489 * sysdeps/unix/bsd/setrgid.c: Likewise.
20490 * sysdeps/unix/bsd/setruid.c: Likewise.
20491 * sysdeps/unix/bsd/setsid.c: Likewise.
20492 * sysdeps/unix/bsd/setuid.c: Likewise.
20493 * sysdeps/unix/bsd/sigaction.c: Likewise.
20494 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20495 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20496 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20497 * sysdeps/unix/bsd/telldir.c: Likewise.
20498 * sysdeps/unix/bsd/times.c: Likewise.
20499 * sysdeps/unix/bsd/usleep.c: Likewise.
20500
20501 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20502 ($(objpfx)libbsd-compat.a): Remove rule.
20503
20504 * include/features.h (__FAVOR_BSD): Do not define.
20505 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20506 features conflicting with POSIX.
20507 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20508 (_BSD_SOURCE): Remove description of not being a subset of other
20509 feature test macros.
20510 * manual/job.texi (getpgrp): Do not document BSD version.
20511 (getpgid): Do not document by reference to BSD getpgrp.
20512 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20513 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20514 * signal/signal.h [__FAVOR_BSD]: Likewise.
20515 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20516 instead of making contents conditional on [__FAVOR_BSD].
20517 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20518
20519 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20520
20521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20522
20523 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20524
20525 [BZ #16314]
20526 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20527 values below 2**-450, not 2**-500.
20528 * math/auto-libm-test-in: Don't allow spurious underflow from
20529 hypot.
20530 * math/auto-libm-test-out: Regenerated.
20531
20532 [BZ #16316]
20533 [BZ #16330]
20534 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20535 values of ha and hb and sort them after adjusting subnormal
20536 arguments.
20537 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20538 Likewise.
20539 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20540 values of ea and eb and sort them after adjusting subnormal
20541 arguments.
20542 * math/auto-libm-test-in: Do not expect some hypot tests of
20543 subnormals to fail. Add more hypot tests.
20544 * math/auto-libm-test-out: Regenerated.
20545
20546 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20547
20548 [BZ #13304]
20549 * sysdeps/sh/s_fma.c: New file.
20550 * sysdeps/sh/s_fmaf.c: New file.
20551 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20552 version.
20553 * sysdeps/sh/Implies: Add sh/soft-fp.
20554
20555 2013-12-16 Roland McGrath <roland@hack.frob.com>
20556
20557 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20558 level of indirection to members `objname', `errstring', `malloced'.
20559 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20560 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20561 it as the __longjmp argument (just pass 1 instead).
20562 (_dl_catch_error): Initialize C with argument pointers and address of
20563 volatile local ERRCODE rather than copying values out of C at return.
20564
20565 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20566
20567 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20568 * math/auto-libm-test-out: Regenerated.
20569 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20570 (hypot_test_data): Likewise.
20571 (pow_test_data): Likewise.
20572 (pow_tonearest_test_data): Likewise.
20573 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20574 mpfr_ff_f.
20575 (func_calc_desc): Add mpfr_ff_f union field.
20576 (FUNC_mpfr_ff_f): New macro.
20577 (test_functions): Add atan2, hypot and pow.
20578 (special_fill_min): New function.
20579 (special_fill_minus_min): Likewise.
20580 (special_fill_min_subnorm): Likewise.
20581 (special_fill_minus_min_subnorm): Likewise.
20582 (special_real_inputs): Add min, -min, min_subnorm and
20583 -min_subnorm.
20584 (calc_generic_results): Handle mpfr_ff_f.
20585 * sysdeps/i386/fpu/libm-test-ulps: Update.
20586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20587
20588 2013-12-16 Will Newton <will.newton@linaro.org>
20589
20590 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20591 (Aligned Memory Blocks): Add documentation for aligned_alloc
20592 and suggest it as an alternative to posix_memalign.
20593 (Hooks for Malloc): Document __memalign_hook is also called
20594 for aligned_alloc. (Summary of Malloc): Add summary for
20595 aligned alloc. Document __memalign_hook is also called
20596 for aligned_alloc.
20597
20598 2013-12-16 Will Newton <will.newton@linaro.org>
20599
20600 * manual/memory.texi (Malloc Examples): Clarify default
20601 alignment documentation. Suggest posix_memalign rather
20602 than memalign or valloc.
20603 (Aligned Memory Blocks): Remove suggestion to use memalign
20604 or valloc. Remove obsolete comment about BSD.
20605 Document memalign errno values and mark the function obsolete.
20606 Document posix_memalign returned error codes. Mark valloc
20607 as obsolete. (Hooks for Malloc): __memalign_hook is also
20608 called for posix_memalign and valloc.
20609 (Summary of Malloc): Add posix_memalign to function summary.
20610 __memalign_hook is also called for posix_memalign and valloc.
20611
20612 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20613
20614 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20615 TAYLOR_SIN.
20616 (__sin): Adjust.
20617 (__cos): Likewise.
20618 (sloww): Use mynumber union. Expand ternary operator into
20619 if-else statements.
20620 (cslow): use mynumber union.
20621
20622 2013-12-16 Allan McRae <allan@archlinux.org>
20623
20624 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20625 * configure: Regenerated.
20626
20627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20628
20629 [BZ #14120]
20630 * configure.ac: Added --enable-maintainer-mode. Check for
20631 autoconf when enabled.
20632 * configure: Regenerated.
20633
20634 * nscd/nscd.service: New file.
20635 * nscd/nscd.tmpfiles: New file.
20636
20637 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20638
20639 [BZ #12100]
20640 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20641 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20642 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20643 (strstr): Add __strstr_sse2_unaligned ifunc.
20644 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20645 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20646 (strcasestr): Remove __strcasestr_sse42 ifunc.
20647 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20650
20651 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20652
20653 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20654 * sysdeps/sh/bits/fenv.h: ... here.
20655 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20656
20657 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20658
20659 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20660
20661 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20662 hypotf multiarch implementations.
20663 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20664 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20665 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20666 multiarch hypot for PPC64.
20667 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20668 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20670 multiarch hypotf for PPC64.
20671
20672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20673 modff multiarch implementations.
20674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20677 multiarch modf for PPC64.
20678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20681 multiarch modff for PPC64.
20682
20683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20684 and logl multiarch implementations.
20685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20688 multiarch logb for PPC64.
20689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20692 multiarch logb for PPC64.
20693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20696 multiarch logb for PPC64.
20697
20698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20699 isinff multiarch implementation.
20700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20701 file.
20702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20704 multiarch isinf for PPC64.
20705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20706 file.
20707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20708 multiarch isinff for PPC64.
20709
20710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20711 finitef multiarch implementation.
20712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20713 file.
20714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20716 multiarch finite for PPC64.
20717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20718 file.
20719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20720 multiarch finitef for PPC64.
20721
20722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20723 lrint multiarch implementation.
20724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20725 file.
20726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20728 multiarch llrint for PPC64.
20729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20730 multiarch lrint for PPC64.
20731
20732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20733 copysignf multiarch implementation.
20734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20735 file.
20736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20737 file.
20738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20739 multiarch copysign for PPC64.
20740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20741 multiarch copysignf for PPC64.
20742
20743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20744 multiarch implementation.
20745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20746 file.
20747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20748 file.
20749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20750 file.
20751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20752 file.
20753 multiarch llround for PPC64.
20754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20755 multiarch trunc for PPC64.
20756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20757 multiarch truncf for PPC64.
20758
20759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20760 multiarch implementation.
20761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20762 file.
20763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20764 file.
20765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20766 file.
20767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20768 file.
20769 multiarch llround for PPC64.
20770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20771 multiarch round for PPC64.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20773 multiarch roundf for PPC64.
20774
20775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20776 multiarch implementation.
20777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20778 file.
20779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20780 file.
20781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20782 file.
20783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20784 file.
20785 multiarch llround for PPC64.
20786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20787 multiarch floor for PPC64.
20788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20789 multiarch floorf for PPC64.
20790
20791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20792 multiarch implementation.
20793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20794 file.
20795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20796 file.
20797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20798 file.
20799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20800 file.
20801 multiarch llround for PPC64.
20802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20803 multiarch ceil for PPC64.
20804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20805 multiarch ceilf for PPC64.
20806
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20808 multiarch implementation.
20809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20810 file.
20811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20812 file.
20813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20814 file.
20815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20816 multiarch llround for PPC64.
20817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20818 multiarch lround for PPC64.
20819
20820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20821 multiarch implementation.
20822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20825 file.
20826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20829 multiarch isnan for PPC64.
20830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20831 multiarch isnanf for PPC64.
20832
20833 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20834 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20835 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20836 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20837 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20839
20840 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20841 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20844
20845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20846 multiarch implementations.
20847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20848 (__libc_ifunc_impl_list): Likewise.
20849 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20850 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20851 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20852 multiarch stpcpy for PPC64.
20853
20854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20855 multiarch implementations.
20856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20857 (__libc_ifunc_impl_list): Likewise.
20858 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20859 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20860 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20861 multiarch strcpy for PPC64.
20862
20863 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20864 redefine function name.
20865 (_wordcopy_fwd_dest_aligned): Likewise.
20866 (_wordcopy_bwd_aligned): Likewise.
20867 (_wordcopy_bwd_dest_aligned): Likewise.
20868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20869 multiarch implementations.
20870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20871 (__libc_ifunc_impl_list): Likewise.
20872 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20873 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20874 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20875 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20876 multiarch wcscpy for PPC64.
20877
20878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20879 multiarch implementations.
20880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20881 (__libc_ifunc_impl_list): Likewise.
20882 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20883 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20884 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20886 multiarch wcscpy for PPC64.
20887
20888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20889 multiarch implementations.
20890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20891 (__libc_ifunc_impl_list): Likewise.
20892 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20893 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20894 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20895 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20896 multiarch wcsrchr for PPC64.
20897
20898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20899 multiarch implementations.
20900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20901 (__libc_ifunc_impl_list): Likewise.
20902 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20903 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20904 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20905 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20906 multiarch wcschr for PPC64.
20907
20908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20909 multiarch implementations.
20910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20911 (__libc_ifunc_impl_list): Likewise.
20912 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20913 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20914 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20915 multiarch strchrnul for PPC64.
20916
20917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20918 implementations.
20919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20920 (__libc_ifunc_impl_list): Likewise.
20921 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20922 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20923 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20924 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20925 strchr for PPC64.
20926
20927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20928 implementations.
20929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20930 (__libc_ifunc_impl_list): Likewise.
20931 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20932 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20934 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20935 strncmp for PPC64.
20936
20937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20938 multiarch implementations.
20939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20940 (__libc_ifunc_impl_list): Likewise.
20941 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20942 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20943 strncasecmp for PPC64.
20944 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20945 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20946 multiarch strncasecmp_l for PPC64.
20947
20948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20949 multiarch implementations.
20950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20951 (__libc_ifunc_impl_list): Likewise.
20952 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20953 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20954 multiarch strcasecmp for PPC64.
20955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20956 file.
20957 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20958 multiarch strcasecmp_l for PPC64.
20959
20960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20961 implementations.
20962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20963 (__libc_ifunc_impl_list): Likewise.
20964 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20965 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20966 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20967 strnlen for PPC64.
20968
20969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20970 implementations.
20971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20972 (__libc_ifunc_impl_list): Likewise.
20973 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20974 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20975 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20976 strlen for PPC64.
20977
20978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20979 implementations.
20980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20981 (__libc_ifunc_impl_list): Likewise.
20982 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20983 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20984 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20985 rawmemrchr for PPC64.
20986
20987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20988 implementation.
20989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20990 (__libc_ifunc_impl_list): Likewise.
20991 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20992 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20993 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20994 memrchr for PPC64.
20995
20996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20997 implementation.
20998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20999 (__libc_ifunc_impl_list): Likewise.
21000 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21001 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21002 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21003 memchr for PPC64.
21004
21005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21006 implementation.
21007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21008 (__libc_ifunc_impl_list): Likewise.
21009 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21010 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21011 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21012 mempcpy for PPC64.
21013
21014 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21015 avoid cretion of __bzero symbol.
21016 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21017 Likewise.
21018 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21019 Likewise.
21020 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21021 Likewise.
21022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21023 multiarch implementations.
21024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21025 (__libc_ifunc_impl_list): Likewise.
21026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21027 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21028 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21029 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21030 bzero for PPC32.
21031 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21032 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21033 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21034 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21035 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21036 memset for PPC64.
21037 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21038
21039 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21041 implementations.
21042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21043 (__libc_ifunc_impl_list): Likewise.
21044 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21045 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21046 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21047 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21048 memcmp for PPC64.
21049
21050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21051 multiarch for POWER/PPC64.
21052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21053 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21054 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21055 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21056 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21057 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21060 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21061 memcpy for PPC64.
21062
21063 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21064 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21065 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21066 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21067 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21068 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21069 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21070 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21071 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21072 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21073 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21074 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21075 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21076 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21077 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21085
21086 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21087
21088 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21089
21090 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21091
21092 * benchtests/Makefile (bench): Add exp2 and log2.
21093 (LDLIBS-bench-exp2): Add -lm.
21094 (LDLIBS-bench-log2): Likewise.
21095 * benchtests/exp2-inputs: New inputs file.
21096 * benchtests/log2-inputs: New inputs file.
21097 * benchtests/log-inputs: Add new inputs.
21098 * benchtests/tan-inputs: Likewise.
21099
21100 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21101
21102 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21103 definition...
21104 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21105 (csloww2): ... from here.
21106
21107 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21108 instead of structures.
21109 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21110 (POLYNOMIAL): Likewise.
21111 (TAYLOR_SLOW): Likewise.
21112 (__sin): Likewise.
21113 (__cos): Likewise.
21114 (slow1): Likewise.
21115 (slow2): Likewise.
21116 (sloww): Likewise.
21117 (sloww1); Likewise.
21118 (sloww2): Likewise.
21119 (bsloww1): Likewise.
21120 (bsloww2): Likewise.
21121 (cslow2): Likewise.
21122 (csloww): Likewise.
21123 (csloww1): Likewise.
21124 (csloww2): Likewise.
21125
21126 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21127
21128 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21129 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21130 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21131 * malloc/hooks.c (realloc_check): Likewise.
21132
21133 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21134 * malloc/arena.c: Remove PER_THREAD conditional.
21135 [!PER_THREAD]: Remove code.
21136 (ptmalloc_unlock_all2): Likewise.
21137 (ptmalloc_init): Likewise.
21138 (_int_new_arena): Likewise.
21139 (arena_get2): Likewise.
21140 * malloc/hooks.c (__malloc_get_state): Likewise.
21141 (__malloc_set_state): Likewise.
21142 * malloc/malloc.c: Likewise.
21143 (struct malloc_state): Likewise.
21144 (struct malloc_par): Likewise.
21145 (__libc_realloc): Likewise.
21146 (__libc_mallopt): Likewise.
21147
21148 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21149
21150 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21151
21152 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21153
21154 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21155 macro to a function. Check for zero perturb_byte.
21156 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21157
21158 * malloc/malloc.c: (force_reg): Remove.
21159 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21160 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21161 force_reg by atomic_forced_read.
21162 * malloc/arena.c (ptmalloc_init): Likewise.
21163 * malloc/hooks.c (top_check): Likewise.
21164
21165 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21166
21167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21168
21169 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21170
21171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21172
21173 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21174
21175 * math/auto-libm-test-in: Add tests of lgamma.
21176 * math/auto-libm-test-out: Regenerated.
21177 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21178 (M_LOG_2_SQRT_PIl): Likewise.
21179 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21180 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21181 mpfr_f_f1.
21182 (func_calc_desc): Add mpfr_f_f1 union field.
21183 (ARGS1): New macro.
21184 (ARGS2): Likewise.
21185 (ARGS3): Likewise.
21186 (ARGS4): Likewise.
21187 (RET1): Likewise.
21188 (RET2): Likewise.
21189 (CALC): Likewise.
21190 (FUNC): Likewise.
21191 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21192 (test_functions): Add lgamma.
21193 (calc_generic_results): Handle mpfr_f_f1.
21194 * sysdeps/i386/fpu/libm-test-ulps: Update.
21195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21196
21197 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21198
21199 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21200 __mpn_add_n for PowerPC64/POWER7.
21201 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21202 __mpn_sub_n for PowerPC64/POWER7.
21203
21204 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21205 __mpn_addmul_1 for PowerPC64.
21206 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21207 __mpn_submul_1 for PowerPC64.
21208 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21209 for PowerPC64.
21210 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21211 for PowerPC64.
21212
21213 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21214
21215 [BZ #15089]
21216 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21217
21218 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21219
21220 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21221
21222 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21223 add multiarch folders.
21224 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21225 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21226 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21227 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21228 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21229 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21230 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21231 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21232 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21233 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21234 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21241
21242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21243 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21245 New file.
21246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21247 New file.
21248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21249 multiarch __ieee754_hypot for PowerPC32.
21250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21251 New file.
21252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21253 New file.
21254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21255 multiarch __ieee754_hypotf for PowerPC32.
21256
21257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21258 long_double_symbol only if __logbl is defined.
21259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21260 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21262 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21264 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21266 path for implementation.
21267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21268 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21270 logb, and logbl multiarch implementations for PowerPC32.
21271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21272 file.
21273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21274 file.
21275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21276 multiarch logb for PowerPC32.
21277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21278 file.
21279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21280 file.
21281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21282 multiarch logbf for PowerPC32.
21283 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21285 file.
21286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21287 multiarch logbl implementation for PowerPC32.
21288
21289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21290 and modff multiarch implementations.
21291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21292 New file.
21293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21294 New file.
21295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21296 multiarch modf for PowerPC32.
21297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21298 New file.
21299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21300 New file.
21301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21302 multiarch modff for PowerPC32.
21303
21304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21305 and lrintf multiarch implementations.
21306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21307 New file.
21308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21309 New file.
21310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21311 multiarch lrint for PowerPC32.
21312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21313 file: multiarch lrintf for PowerPC32.
21314
21315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21316 and lroundf multiarch implementations.
21317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21318 New file.
21319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21320 New file.
21321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21322 New file.
21323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21324 multiarch lround for PowerPC32.
21325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21326 file: multiarch lroundf for PowerPC32.
21327
21328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21329 copysign and copysignf multiarch implementations.
21330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21331 New file.
21332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21333 New file.
21334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21335 file: multiarch copysign for PowerPC32.
21336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21337 file: multiarch copysignf for PowerPC32.
21338
21339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21340 and truncf multiarch implementations.
21341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21342 New file.
21343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21344 file.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21346 multiarch trunc for PowerPC32.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21348 New file.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21350 New file.
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21352 multiarch truncf for PowerPC32.
21353
21354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21355 and roundf multiarch implementations.
21356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21357 New file.
21358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21359 file.
21360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21361 multiarch round for PowerPC32.
21362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21363 New file.
21364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21365 New file.
21366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21367 multiarch roundf for PowerPC32.
21368
21369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21370 and floorf multiarch implementations.
21371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21372 New file.
21373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21374 file.
21375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21376 multiarch floor for PowerPC32.
21377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21378 New file.
21379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21380 New file.
21381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21382 multiarch floorf for PowerPC32.
21383
21384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21385 and ceilf multiarch implementations.
21386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21387 New file.
21388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21389 file.
21390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21391 multiarch ceil for PowerPC32.
21392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21393 New file.
21394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21395 file.
21396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21397 multiarch ceilf for PowerPC32.
21398
21399 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21400 is defined.
21401 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21402 FINITEF is defined.
21403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21404 and finitef multiarch implementations.
21405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21406 New file.
21407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21408 file.
21409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21410 multiarch finite for PowerPC32.
21411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21412 New file.
21413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21414 file: multiarch finitef for PowerPC32.
21415
21416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21417 and isinff multiarch implementations.
21418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21419 file.
21420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21421 file.
21422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21423 multiarch isinf for PowerPC32.
21424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21425 New file.
21426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21427 multiarch isinff for PowerPC32.
21428
21429 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21430 alias when __isnan is defined.
21431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21432 and isnanf multiarch implementations.
21433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21434 file.
21435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21436 file.
21437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21438 file.
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21440 file.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21442 multiarch isnan for PowerPC32.
21443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21444 New file.
21445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21446 New file.
21447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21448 multiarch isnanf for PowerPC32.
21449
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21451 and sqrtf multiarch implementations.
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21453 file.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21455 file.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21457 multiarch sqrt for PowerPC32.
21458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21459 file.
21460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21461 file.
21462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21463 multiarch sqrtf for PowerPC32.
21464
21465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21466 and llroundf multiarch implementations.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21468 New file.
21469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21470 New file.
21471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21472 New file.
21473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21474 file: multiarch llround for PowerPC32.
21475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21476 file: multiarch llroundf for PowerPC32.
21477
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21479 multiarch PowerPC32 fpu implementations.
21480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21481 New file.
21482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21483 New file.
21484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21485 multiarch llrint for PowerPC32.
21486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21487 New file.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21489 New file.
21490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21491 file.
21492
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21494
21495 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21496 file.
21497 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21498 file.
21499 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21500 file.
21501 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21502 multiarch wordcopy for PPC32.
21503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21504 wordcopy objects.
21505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21506 (__libc_ifunc_impl_list): Likewise.
21507 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21508 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21510 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21512 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21513
21514 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21516 file.
21517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21518 file.
21519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21520 file.
21521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21522 multiarch wcscpy for PPC32.
21523 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21524 multiarch objects.
21525 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21526 (__libc_ifunc_impl_list): Likewise.
21527 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21528 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21529 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21530 sysdeps/powerpc/power6/wcscpy.c.
21531
21532 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21534 file.
21535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21536 file.
21537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21538 file.
21539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21540 multiarch wcsrchr for PPC32.
21541 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21542 multiarch objects.
21543 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21544 (__libc_ifunc_impl_list): Likewise.
21545 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21546 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21547 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21548 sysdeps/powerpc/power6/wcsrchr.c.
21549
21550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21551 file.
21552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21553 file.
21554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21556 multiarch wcschr for PPc32.
21557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21558 multiarch objects.
21559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21560 (__libc_ifunc_impl_list): Likewise.
21561 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21562 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21563 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21564 sysdeps/powerpc/power6/wcschr.c.
21565
21566 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21568 file.
21569 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21570 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21571 file: multiarch strchr for PPC32.
21572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21573 multiarch objects.
21574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21575 (__libc_ifunc_impl_list): Likewise.
21576
21577 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21578 name.
21579 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21580 file.
21581 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21582 file.
21583 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21584 multiarch strchrnul for PPC32.
21585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21586 multiarch objects.
21587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21588 (__libc_ifunc_impl_list): Likewise.
21589
21590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21591 file.
21592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21593 multiarch strncasecmp for PPC32.
21594 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21595 file.
21596 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21597 multiarch strncasecmp_l for PPC32.
21598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21599 strncasecmp multiarch objects.
21600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21601 (__libc_ifunc_impl_list): Likewise.
21602
21603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21604 file.
21605 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21606 multiarch strncasecmp for PPC32.
21607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21608 New file.
21609 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21610 multiarch strcasecmp_l for PPC32.
21611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21612 multiarch objects.
21613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21614 (__libc_ifunc_impl_list): Likewise.
21615
21616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21617 file.
21618 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21619 file.
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21621 multiarch strncmp for PPC32.
21622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21623 multiarch objects.
21624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21625 (__libc_ifunc_impl_list): Likewise.
21626
21627 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21628 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21629 file.
21630 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21631 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21633 multiarch objects.
21634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21635 (__libc_ifunc_impl_list): Likewise.
21636
21637 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21638 file.
21639 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21640 file.
21641 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21643 multiarch objects.
21644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21645 (__libc_ifunc_impl_list): Likewise.
21646
21647 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21648 file.
21649 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21650 file.
21651 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21652 multiarch rawmemchr for PPC32.
21653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21654 multiarch objects.
21655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21656 (__libc_ifunc_impl_list): Likewise.
21657
21658 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21659 file.
21660 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21661 file.
21662 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21663 file: memrchr multiarch for PPC32.
21664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21665 multiarch objects.
21666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21667 (__libc_ifunc_impl_list): Likewise.
21668
21669 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21670 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21671 file.
21672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21673 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21674 multiarch memchr for PPC32.
21675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21676 multiarch objects.
21677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21678 (__libc_ifunc_impl_list): Likewise.
21679
21680 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21681 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21682 file.
21683 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21684 file.
21685 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21686 file: multiarch mempcpy for PPC32.
21687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21688 multiarch objects.
21689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21690 (__libc_ifunc_impl_list): Likewise.
21691
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21693 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21694 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21696 multiarch bzero for PPC32.
21697 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21698 file.
21699 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21700 file.
21701 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21702 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21703 file: multiarch memset for PPC32.
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21706 memset multiarch objects.
21707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21708 (__libc_ifunc_impl_list): Likewise.
21709
21710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21711 file.
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21714 memcmp for PPC32.
21715 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21717 multiarch objects.
21718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21719 (__libc_ifunc_impl_list): Likewise.
21720
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21722 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21723 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21724 file.
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21726 file.
21727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21728 file.
21729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21730 multiarch memcpy for PPC32.
21731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21732 multiarch objects.
21733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21734 (__libc_ifunc_impl_list): Likewise.
21735
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21737 support multiarch for POWER/PPC32.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21739 Likewise.
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21742 Implies file to make multiarch folder appers before the fpu and
21743 default folder for power4 configuration.
21744
21745 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21746
21747 * scripts/bench.pl: Append volatile keyword to type.
21748
21749 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21750
21751 * sysdeps/sh/sotruss-lib.c: New file.
21752 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21753
21754 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21755
21756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21757
21758 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21759
21760 [BZ #6810]
21761 * math/w_tgamma.c: Include <errno.h>.
21762 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21763 * math/w_tgammaf.c: Include <errno.h>.
21764 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21765 * math/w_tgammal.c: Include <errno.h>.
21766 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21767 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21768 underflow. Add more tgamma tests.
21769 * math/auto-libm-test-out: Regenerated.
21770 * sysdeps/i386/fpu/libm-test-ulps: Update.
21771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21772
21773 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21774 sin, sinh, tan, tanh, tgamma, y0 and y1.
21775 * math/auto-libm-test-out: Regenerated.
21776 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21777 (TEST_COND_x86): Likewise.
21778 (M_E2l): Remove macro.
21779 (M_E3l): Likewise.
21780 (M_2_SQRT_PIl): Likewise.
21781 (M_SQRT_PIl): Likewise.
21782 (M_1_DIV_El): Likewise.
21783 (log_test_data): Use AUTO_TESTS_f_f.
21784 (log10_test_data): Likewise.
21785 (log1p_test_data): Likewise.
21786 (log2_test_data): Likewise.
21787 (sin_test_data): Likewise.
21788 (sin_tonearest_test_data): Likewise.
21789 (sin_towardzero_test_data): Likewise.
21790 (sin_downward_test_data): Likewise.
21791 (sin_upward_test_data): Likewise.
21792 (sinh_test_data): Likewise.
21793 (sinh_tonearest_test_data): Likewise.
21794 (sinh_towardzero_test_data): Likewise.
21795 (sinh_downward_test_data): Likewise.
21796 (sinh_upward_test_data): Likewise.
21797 (tan_test_data): Likewise.
21798 (tan_tonearest_test_data): Likewise.
21799 (tan_towardzero_test_data): Likewise.
21800 (tan_downward_test_data): Likewise.
21801 (tan_upward_test_data): Likewise.
21802 (tanh_test_data): Likewise.
21803 (tgamma_test_data): Likewise.
21804 (y0_test_data): Likewise.
21805 (y1_test_data): Likewise.
21806 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21807 (special_real_inputs): Add pi/4.
21808 * sysdeps/i386/fpu/libm-test-ulps: Update.
21809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21810
21811 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21812
21813 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21814 "longjmp_target" static probes.
21815 (__longjmp): Rename to __longjmp_symbol.
21816 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21817 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21818 on which longjmp to generate.
21819 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21821 probe.
21822 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21823 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21824 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21825 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21826 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21827 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21829 __longjmp_symbol based on which __longjmp to generate.
21830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21831 probe.
21832 (setjmp): Rename to setjmp_symbol.
21833 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21834 (_setjmp): Rename to _setjmp_symbol.
21835 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21836 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21837 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21838 which setjmp to generate.
21839 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21840 "longjmp_target" static probes.
21841
21842 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21843
21844 * benchtests/README: Add note about output arguments.
21845 * benchtests/bench-sincos.c: Remove file.
21846 * benchtests/sincos-inputs: New file.
21847 * scripts/bench.pl: Identify output arguments and define
21848 static variables for them.
21849
21850 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21851
21852 [BZ #15941]
21853 * Makefile (INSTALL): Add install-plain.texi as the primary
21854 dependency.
21855 * manual/install-plain.texi: New file.
21856 * manual/install.texi: Include node directive only for
21857 non-plaintext output.
21858
21859 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21860
21861 * stdlib/longlong.h: Update from GCC.
21862
21863 [BZ #6807]
21864 [BZ #15901]
21865 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21866 * math/w_j0f.c (y0f): Likewise.
21867 * math/w_j0l.c (__y0l): Likewise.
21868 * math/w_j1.c (y1): Likewise.
21869 * math/w_j1f.c (y1f): Likewise.
21870 * math/w_j1l.c (__y1l): Likewise
21871 * math/w_jn.c (yn): Likewise.
21872 * math/w_jnf.c (ynf): Likewise.
21873 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21874 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21875 value for Bessel function domain errors outside _SVID_ mode.
21876 Adjust sign of return value for yn (negative integer, 0).
21877 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21878 by zero in return for negative x and set sign appropriately for
21879 negative n.
21880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21881 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21882 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21883 expectations in error cases.
21884 (y1_test_data): Likewise.
21885 (yn_test_data): Likewise.
21886 * sysdeps/i386/fpu/libm-test-ulps: Update.
21887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21888
21889 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21890
21891 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21892 "64" to "64-v1". Add "64-v2".
21893 (abi-64-options): Rename to ...
21894 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21895 (abi-64-condition): Rename to ...
21896 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21897 (abi-64-ld-soname): Rename to ...
21898 (abi-64-v1-ld-soname): ... this.
21899 (abi-64-v2-options): Define.
21900 (abi-64-v2-condition): Likewise.
21901 (abi-64-v2-ld-soname): Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21903 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21907
21908 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21909 Alan Modra <amodra@gmail.com>
21910
21911 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21912 New versions for use with the ELFv2 ABI.
21913 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21914 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21915 declaration.
21916 (struct La_ppc64v2_retval): Likewise.
21917 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21918 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21919 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21920 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21921 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21922 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21923 Do not save or restore CR.
21924 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21925 (_dl_profile_resolve): Do no save or restore CR. Support extended
21926 return values for ELFv2 ABI. Fix location of FPR return registers.
21927 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21928 updated values for _CALL_ELF == 2.
21929 (La_regs, La_retval, int_retval): Likewise.
21930
21931 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21932
21933 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21934 (FRAME_MIN_SIZE_PARM): Likewise.
21935 (FRAME_BACKCHAIN): Likewise.
21936 (FRAME_CR_SAVE): Likewise.
21937 (FRAME_LR_SAVE): Likewise.
21938 (FRAME_TOC_SAVE): Likewise.
21939 (FRAME_PARM_SAVE): Likewise.
21940 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21941 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21942 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21943 (call_mcount_parm_offset): New macro.
21944 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21945 (PROF): Use symbolic stack frame offsets.
21946 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21947 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21948 Redefine in terms of FRAME_MIN_SIZE.
21949 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21950 (_dl_profile_resolve): Likewise. Update comment.
21951 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21952 symbols stack frame offsets.
21953 (__sigsetjmp): Likewise.
21954 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21955 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21956 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21957 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21958
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21960 (FRAME_BACKCHAIN): Remove.
21961 (FRAME_CR_SAVE): Likewise.
21962 (FRAME_LR_SAVE): Likewise.
21963 (FRAME_COMPILER_DW): Likewise.
21964 (FRAME_LINKER_DW): Likewise.
21965 (FRAME_TOC_SAVE): Likewise.
21966 (FRAME_PARM_SAVE): Likewise.
21967 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21968 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21969 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21971 (CHECK_SP): Use symbolic stack frame offsets.
21972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21973 zone" instead of caller's parameter save area for temp storage.
21974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21975 Likewise. Also, use symbolic stack frame offsets.
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21977 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21978 our own stack frame instead of the caller's.
21979 (__socket): Use symbolic stack frame offsets.
21980
21981 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21982 Alan Modra <amodra@gmail.com>
21983
21984 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21985 Define.
21986 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21987 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21988 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21989 New function.
21990 (elf_machine_fixup_plt): Call it.
21991 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21992 reloc arguments.
21993 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21994 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21995 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21996 r2 before calling target.
21997
21998 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21999 Alan Modra <amodra@gmail.com>
22000
22001 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22002 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22003 versions of macros to support ELFv2 ABI.
22004 (LOCALENTRY): New macro.
22005 (ENTRY, EALIGN): Use it.
22006 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22007 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22008 fall through into ENTRY entry point.
22009 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22010 Only define if _CALL_ELF != 2.
22011
22012 (elf_machine_matches_host): Verify ABI version matches.
22013 (RTLD_START): Use LOCALENTRY.
22014 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22015 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22016 (PLT_ENTRY_WORDS): New macro.
22017 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22018 (elf_machine_runtime_setup): Support ELFv2 ABI.
22019 (elf_machine_fixup_plt): Likewise.
22020 (elf_machine_plt_conflict): Likewise.
22021 (resolve_ifunc): Likewise.
22022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22024 Likewise.
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22026 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22028 (makecontext): Support ELFv2 ABI.
22029 * elf/elf.h (EF_PPC64_ABI): Define.
22030
22031 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22032
22033 * sysdeps/powerpc/powerpc64/sysdep.h
22034 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22035 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22036 (ENTRY) [ASSEMBLER]: ... but instead here ...
22037 (EALIGN) [ASSEMBLER]: ... and here.
22038 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22039 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22040 (ENTRY_2) [!ASSEMBLER]: Use it.
22041 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22042 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22043 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22044 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22045 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22047 Use PPC64_LOAD_FUNCPTR.
22048
22049 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22050
22051 2013-12-04 Alan Modra <amodra@gmail.com>
22052
22053 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22054 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22055 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22056 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22057
22058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22059 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22060 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22061 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22062 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22063 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22064
22065 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22066
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22068 (__makecontext): Fix incorrect CFI when backtracing out of
22069 context created via makecontext.
22070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22071 (__setcontext): Fix incorrect CFI during switch to new context.
22072 (__novec_setcontext): Likewise.
22073
22074 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22075
22076 [BZ #4772]
22077 * time/strptime_l.c (__strptime_internal): Allow modifiers
22078 in strptime.
22079 * time/tst-strptime.c (day_tests): Add testcase.
22080
22081 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22082
22083 * scripts/bench.pl: Skip over blank lines.
22084
22085 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22086
22087 [BZ #926]
22088 * manual/time.texi (Calendar Time): Clarify what timezone functions
22089 use.
22090
22091 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22092
22093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22094
22095 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22096
22097 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22098 implementation.
22099 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22100 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22101 * debug/memset_chk.c (__memset_chk): Likewise.
22102 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22103 * debug/strncpy_chk.c: Likewise.
22104
22105 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22106
22107 [BZ #15268]
22108 [BZ #15425]
22109 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22110 (__ieee754_exp): For possibly underflowing results, check size of
22111 result and force underflow exception if required.
22112 * math/auto-libm-test-in: Add more tests of exp.
22113 * math/auto-libm-test-out: Regenerated.
22114 * sysdeps/i386/fpu/libm-test-ulps: Update.
22115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116
22117 [BZ #16283]
22118 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22119 * math/w_exp2f.c (__exp2f): Likewise.
22120 * math/w_exp2l.c (__exp2l): Likewise.
22121 * math/auto-libm-test-in: Do not allow missing errno on exp2
22122 underflow.
22123 * math/auto-libm-test-out: Regenerated.
22124
22125 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22126
22127 [BZ #16274]
22128 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22129 handle filename validation.
22130 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22131 (do_open): Delete.
22132
22133 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22134
22135 [BZ #6786]
22136 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22137 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22138 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22139 <float.h>.
22140 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22142 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22144 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22146 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22147 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22148 Add more erfc tests.
22149 * math/auto-libm-test-out: Regenerated.
22150 * sysdeps/i386/fpu/libm-test-ulps: Update.
22151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22152
22153 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22154 exp2, expm1, j0 and j1.
22155 * math/auto-libm-test-out: Regenerated.
22156 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22157 (erfc_test_data): Likewise.
22158 (exp_test_data): Likewise.
22159 (exp_tonearest_test_data): Likewise.
22160 (exp_towardzero_test_data): Likewise.
22161 (exp_downward_test_data): Likewise.
22162 (exp_upward_test_data): Likewise.
22163 (exp10_test_data): Likewise.
22164 (exp2_test_data): Likewise.
22165 (expm1_test_data): Likewise.
22166 (j0_test_data): Likewise.
22167 (j1_test_data): Likewise.
22168 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22169 (input_flag_type): Add flag_xfail_rounding.
22170 (input_flags): Add xfail-rounding.
22171 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22172 (output_for_one_input_case): Handle flag_xfail_rounding.
22173 * sysdeps/i386/fpu/libm-test-ulps: Update.
22174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22175
22176 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22177
22178 [BZ #16289]
22179 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22180 division by 0.
22181
22182 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22183
22184 [BZ #16195]
22185 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22186 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22187 (STAP_PROBE0): New macro.
22188 (STAP_PROBE1): Likewise.
22189 (STAP_PROBE2): Likewise.
22190 (STAP_PROBE3): Likewise.
22191 (STAP_PROBE4): Likewise.
22192
22193 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22194
22195 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22196
22197 2013-12-02 Steve Ellcey <sellcey@mips.com>
22198
22199 * benchtests/Makefile (bench): Add sqrt.
22200 (LDLIBS-bench-sqrt): New.
22201 * benchtests/sqrt-input: New.
22202
22203 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22204
22205 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22206 (GAIH_EAI): Likewise.
22207 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22208 (gaih_inet): Likewise.
22209 (getaddrinfo): Don't use GAIH_EAI.
22210
22211 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22212 (struct gaih): Remove definition.
22213
22214 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22215
22216 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22217 Use HERRNOP directly.
22218
22219 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22220
22221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22222
22223 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22224
22225 * math/gen-auto-libm-tests.c (test_functions): Add more
22226 single-argument functions.
22227 (special_fill_pi_2): New function.
22228 (special_fill_minus_pi_2): Likewise.
22229 (special_fill_pi_6): Likewise.
22230 (special_fill_minus_pi_6): Likewise.
22231 (special_fill_pi_3): Likewise.
22232 (special_fill_2pi_3): Likewise.
22233 (special_fill_e): Likewise.
22234 (special_fill_1_e): Likewise.
22235 (special_fill_e_minus_1): Likewise.
22236 (special_real_inputs): Add more special inputs.
22237 (output_for_one_input_case): Do not require ERANGE on underflow to
22238 zero if round-to-nearest result does not underflow to zero, unless
22239 exact results required.
22240 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22241 atan, atanh, cbrt, cos and cosh.
22242 * math/auto-libm-test-out: Regenerated.
22243 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22244 (acos_tonearest_test_data): Likewise.
22245 (acos_towardzero_test_data): Likewise.
22246 (acos_downward_test_data): Likewise.
22247 (acos_upward_test_data): Likewise.
22248 (acosh_test_data): Likewise.
22249 (asin_test_data): Likewise.
22250 (asin_tonearest_test_data): Likewise.
22251 (asin_towardzero_test_data): Likewise.
22252 (asin_upward_test_data): Likewise.
22253 (asinh_test_data): Likewise.
22254 (atan_test_data): Likewise.
22255 (atanh_test_data): Likewise.
22256 (cbrt_test_data): Likewise.
22257 (cos_test_data): Likewise.
22258 (cos_tonearest_test_data): Likewise.
22259 (cos_towardzero_test_data): Likewise.
22260 (cos_downward_test_data): Likewise.
22261 (cos_upward_test_data): Likewise.
22262 (cosh_test_data): Likewise.
22263 (cosh_tonearest_test_data): Likewise.
22264 (cosh_towardzero_test_data): Likewise.
22265 (cosh_downward_test_data): Likewise.
22266 (cosh_upward_test_data): Likewise.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22269
22270 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22271
22272 [BZ #6787]
22273 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22274 * math/w_exp10f.c (__exp10f): Likewise.
22275 * math/w_exp10l.c (__exp10l): Likewise.
22276 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22277 errno settings in existing tests.
22278
22279 [BZ #14032]
22280 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22281 precision control set to double precision.
22282 * sysdeps/i386/fpu/w_sqrt.c: New file.
22283 * math/auto-libm-test-in: Add more tests.
22284 * math/auto-libm-test-out: Update.
22285
22286 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22287 (sqrt_test_tonearest): New function.
22288 (sqrt_towardzero_test_data): New variable.
22289 (sqrt_test_towardzero): New function.
22290 (sqrt_downward_test_data): New variable.
22291 (sqrt_test_downward): New function.
22292 (sqrt_upward_test_data): New variable.
22293 (sqrt_test_upward): New function.
22294 (main): Call the new functions.
22295
22296 * math/gen-auto-libm-tests.c: New file.
22297 * math/auto-libm-test-in: Likewise.
22298 * math/auto-libm-test-out: New generated file.
22299 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22300 variables.
22301 (%beautify): Add generated representations of zero.
22302 (top level): Set $auto_input and call parse_auto_input.
22303 (beautify): Remove trailing "f" from hex float constants.
22304 (parse_args): Handle XFAIL_TEST.
22305 (convert_condition): New function.
22306 (or_value): Likewise.
22307 (or_cond_value): Likewise.
22308 (generate_testfile): Handle AUTO_TESTS_* lines.
22309 (parse_auto_input): New function.
22310 * math/libm-test.inc (XFAIL_TEST): New macro.
22311 (ERRNO_UNCHANGED): Update value.
22312 (ERRNO_EDOM): Likewise.
22313 (ERRNO_ERANGE): Likewise.
22314 (IGNORE_RESULT): Likewise.
22315 (TEST_COND_flt_32): New macro.
22316 (TEST_COND_dbl_64): Likewise.
22317 (TEST_COND_ldbl_96_intel): Likewise.
22318 (TEST_COND_ldbl_96_m68k): Likewise.
22319 (TEST_COND_ldbl_128): Likewise.
22320 (TEST_COND_ldbl_128ibm): Likewise.
22321 (TEST_COND_long32): Likewise.
22322 (TEST_COND_long64): Likewise.
22323 (TEST_COND_before_rounding): Likewise.
22324 (TEST_COND_after_rounding): Likewise.
22325 (enable_test): Handle XFAIL_TEST flag.
22326 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22327 with finite results.
22328 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22329 auto-libm-test-out.
22330
22331 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22332 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22333
22334 [BZ #16214]
22335 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22336 __tls_get_addr_internal instead of __tls_get_offset in order to
22337 avoid GOT pointer dependency. Make rtld export
22338 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22339 __tls_get_addr since we are a __tls_get_offset platform.
22340 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22341 GOT pointer being set up before.
22342 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22343
22344 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22345
22346 * manual/math.texi (Errors in Math Functions): Document accuracy
22347 goals.
22348
22349 [BZ #15004]
22350 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22351 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22352 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22353 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22354 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22355 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22356 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22357 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22358 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22362 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22363 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22364 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22365 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22366
22367 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22368 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22369 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22370 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22371 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22372 Likewise.
22373 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22374 Likewise.
22375 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22376 Likewise.
22377 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22378 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22379 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22380 atomic-feupdateenv and flt-rounds.
22381 * sysdeps/powerpc/nofpu/Versions (libc): Add
22382 __atomic_feholdexcept, __atomic_feclearexcept,
22383 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22384 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22385 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22386 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22387 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22388 here.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22390 Update.
22391
22392 * manual/arith.texi (FP Exceptions): Document that exceptions may
22393 not be raised when matherr is used.
22394 (Math Error Reporting): Document overflow in directed rounding
22395 modes. Document that errno may not be set when finite values are
22396 returned on overflow. Document intent to set errno on underflow
22397 only for underflow to zero.
22398
22399 [BZ #16271]
22400 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22401 round-to-nearest then adjust result for other rounding modes.
22402 * include/fenv.h (fegetround): Use libm_hidden_proto.
22403 * math/fegetround.c (fegetround): Use libm_hidden_def.
22404 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22405 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22406 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22408 Likewise.
22409 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22410 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22411 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22412 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22413
22414 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22415
22416 [BZ #16077]
22417 * nss/Versions (libnss_files): Add
22418 _nss_files_gethostbyname3_r.
22419 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22420 New function.
22421 (HOST_DB_LOOKUP): Remove macro.
22422 (_nss_files_gethostbyname_r): Implement function without the
22423 HOST_DB_LOOKUP macro.
22424 (_nss_files_gethostbyname2_r): Likewise.
22425
22426 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22427
22428 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22429
22430 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22431
22432 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22433 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22434 warning.
22435
22436 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22437
22438 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22439 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22440 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22441 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22442 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22443 __fe_nomask_env_priv and attribute_hidden.
22444 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22445 (libc_feupdateenv_test_ppc): Likewise.
22446 (libc_feresetround_ppc): Likewise.
22447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22448 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22449 compat_symbol macro.
22450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22451 (__fe_nomask_env): Likewise.
22452 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22453
22454 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22455
22456 * string/Makefile: Remove ifunc tests.
22457 * string/test-string.h: Define TEST_IFUNC.
22458 * string/test-bcopy-ifunc.c: Remove.
22459 * string/test-bzero-ifunc.c: Likewise.
22460 * string/test-memccpy-ifunc.c: Likewise.
22461 * string/test-memchr-ifunc.c: Likewise.
22462 * string/test-memcmp-ifunc.c: Likewise.
22463 * string/test-memcpy-ifunc.c: Likewise.
22464 * string/test-memmem-ifunc.c: Likewise.
22465 * string/test-memmove-ifunc.c: Likewise.
22466 * string/test-mempcpy-ifunc.c: Likewise.
22467 * string/test-memrchr-ifunc.c: Likewise.
22468 * string/test-memset-ifunc.c: Likewise.
22469 * string/test-rawmemchr-ifunc.c: Likewise.
22470 * string/test-stpcpy-ifunc.c: Likewise.
22471 * string/test-stpncpy-ifunc.c: Likewise.
22472 * string/test-strcasecmp-ifunc.c: Likewise.
22473 * string/test-strcasestr-ifunc.c: Likewise.
22474 * string/test-strcat-ifunc.c: Likewise.
22475 * string/test-strchr-ifunc.c: Likewise.
22476 * string/test-strchrnul-ifunc.c: Likewise.
22477 * string/test-strcmp-ifunc.c: Likewise.
22478 * string/test-strcpy-ifunc.c: Likewise.
22479 * string/test-strcspn-ifunc.c: Likewise.
22480 * string/test-strlen-ifunc.c: Likewise.
22481 * string/test-strncasecmp-ifunc.c: Likewise.
22482 * string/test-strncat-ifunc.c: Likewise.
22483 * string/test-strncmp-ifunc.c: Likewise.
22484 * string/test-strncpy-ifunc.c: Likewise.
22485 * string/test-strnlen-ifunc.c: Likewise.
22486 * string/test-strpbrk-ifunc.c: Likewise.
22487 * string/test-strrchr-ifunc.c: Likewise.
22488 * string/test-strspn-ifunc.c: Likewise.
22489 * string/test-strstr-ifunc.c: Likewise.
22490
22491 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22492
22493 * benchtests/Makefile: Remove ifunc tests.
22494 * benchtests/bench-string.h: Define TEST_IFUNC.
22495 * benchtests/bench-bcopy-ifunc.c: Remove.
22496 * benchtests/bench-bzero-ifunc.c: Likewise.
22497 * benchtests/bench-memccpy-ifunc.c: Likewise.
22498 * benchtests/bench-memchr-ifunc.c: Likewise.
22499 * benchtests/bench-memcmp-ifunc.c: Likewise.
22500 * benchtests/bench-memcpy-ifunc.c: Likewise.
22501 * benchtests/bench-memmem-ifunc.c: Likewise.
22502 * benchtests/bench-memmove-ifunc.c: Likewise.
22503 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22504 * benchtests/bench-memrchr-ifunc.c: Likewise.
22505 * benchtests/bench-memset-ifunc.c: Likewise.
22506 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22507 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22508 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22509 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22510 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22511 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22512 * benchtests/bench-strcat-ifunc.c: Likewise.
22513 * benchtests/bench-strchr-ifunc.c: Likewise.
22514 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22515 * benchtests/bench-strcmp-ifunc.c: Likewise.
22516 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22517 * benchtests/bench-strcpy-ifunc.c: Likewise.
22518 * benchtests/bench-strcspn-ifunc.c: Likewise.
22519 * benchtests/bench-strlen-ifunc.c: Likewise.
22520 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22521 * benchtests/bench-strncat-ifunc.c: Likewise.
22522 * benchtests/bench-strncmp-ifunc.c: Likewise.
22523 * benchtests/bench-strncpy-ifunc.c: Likewise.
22524 * benchtests/bench-strnlen-ifunc.c: Likewise.
22525 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22526 * benchtests/bench-strrchr-ifunc.c: Likewise.
22527 * benchtests/bench-strsep-ifunc.c: Likewise.
22528 * benchtests/bench-strspn-ifunc.c: Likewise.
22529 * benchtests/bench-strstr-ifunc.c: Likewise.
22530
22531 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22532
22533 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22534
22535 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22536
22537 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22538 * rt/aio.h: Likewise.
22539 * sysdeps/gnu/bits/utmp.h: Likewise.
22540 * sysdeps/gnu/bits/utmpx.h: Likewise.
22541 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22542 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22543 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22544 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22545 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22546 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22547 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22548 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22549 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22550 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22551 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22552 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22553 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22555 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22556 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22557 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22558 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22559 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22560 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22561 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22562 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22563 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22564 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22565 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22566 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22567 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22568 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22569 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22570 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22571 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22572 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22573 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22574 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22575 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22576 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22577 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22578 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22579 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22580 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22581 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22582 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22583
22584 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22585
22586 [BZ #16245]
22587 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22588 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22589
22590 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22591
22592 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22593 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22594 Likewise.
22595
22596 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22597
22598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22599 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22600 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22601 (__fesetround): Remove define.
22602 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22603 rounding and exceptions handling.
22604 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22605 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22606 (__fe_nomask_env): Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22608 __fegetround instead of fegetround.
22609 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22611
22612 2013-11-21 Roland McGrath <roland@hack.frob.com>
22613
22614 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22615 it's there.
22616
22617 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22618
22619 2013-11-21 Meador Inge <meadori@codesourcery.com>
22620
22621 [BZ #11157]
22622 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22623 (encrypt_r): Likewise.
22624 * malloc/obstack.h (obstack_free): Likewise.
22625 * posix/unistd.h (encrypt): Likewise.
22626
22627 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22628
22629 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22630 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22631 DL_CALL_DT_FINI() that call the functions directly.
22632 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22633 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22634 * elf/dl-fini.c: Likewise.
22635
22636 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22637
22638 * malloc/hooks.c (memalign_check): Add alignment rounding.
22639 * malloc/malloc.c (_mid_memalign): New function.
22640 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22641 Implement by calling _mid_memalign.
22642 * manual/probes.texi (Memory Allocation Probes): Remove
22643 memory_valloc_retry and memory_pvalloc_retry.
22644
22645 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22646
22647 * locale/programs/locarchive.c (open_archive): Add const
22648 qualifier to ARCHIVEFNAME and copy default fname to
22649 DEFAULT_FNAME.
22650
22651 [BZ #15601]
22652 * libio/tst-widetext.input: Rename Oriya to Odia.
22653 * locale/iso-639.def: Likewise.
22654
22655 * manual/probes.texi (Mathematical Function Probes): Add
22656 documentation for sin, cos, asin and acos probes.
22657 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22658 (__sin32): Add slowasin probe.
22659 (__cos32): Add slowacos probe.
22660 (__mpsin): Add slowsin probe.
22661 (__mpcos): Add slowcos probe.
22662
22663 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22664
22665 [BZ #15483]
22666 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22667 thread-local __sim_exceptions_thread and global
22668 __sim_exceptions_global.
22669 (__sim_disabled_exceptions): Change to thread-local
22670 __sim_disabled_exceptions_thread and global
22671 __sim_disabled_exceptions_global.
22672 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22673 and global __sim_round_mode_global.
22674 (__simulate_exceptions): Use thread-local floating-point state and
22675 set global state from it as needed.
22676 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22677 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22678 __sim_round_mode_thread.
22679 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22680 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22681 and global __sim_exceptions_global.
22682 (__sim_disabled_exceptions): Change to thread-local
22683 __sim_disabled_exceptions_thread and global
22684 __sim_disabled_exceptions_global.
22685 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22686 and global __sim_round_mode_global.
22687 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22688 (SIM_SET_GLOBAL): Likewise.
22689 * sysdeps/powerpc/soft-fp/sfp-machine.h
22690 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22691 __sim_round_mode_thread.
22692 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22693 __sim_disabled_exceptions_thread.
22694 (__sim_exceptions): Change to __sim_exceptions_thread.
22695 (__sim_disabled_exceptions): Change to
22696 __sim_disabled_exceptions_thread.
22697 (__sim_round_mode): Change to __sim_round_mode_thread.
22698 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22699 thread-local floating-point state and set global state from it as
22700 needed.
22701 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22702 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22703 (__sim_disabled_exceptions): Remove extern declaration.
22704 (feenableexcept): Use thread-local floating-point state and set
22705 global state from it as needed.
22706 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22707 extern declaration.
22708 (__sim_disabled_exceptions): Likewise.
22709 (__sim_round_mode): Likewise.
22710 (__fegetenv): Use thread-local floating-point state.
22711 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22712 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22713 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22714 floating-point state and set global state from it as needed.
22715 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22716 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22717 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22718 Likewise.
22719 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22720 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22721 Likewise.
22722 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22723 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22724 Use __sim_round_mode_thread.
22725 * math/test-fenv-tls.c: New file.
22726 * math/Makefile (tests): Add test-fenv-tls.
22727 ($(objpfx)test-fenv-tls): Depend on
22728 $(common-objpfx)nptl/libpthread.so.
22729
22730 2013-11-19 Andreas Schwab <schwab@suse.de>
22731
22732 * locale/programs/locale.c (show_info): Decode wordarray elements.
22733 * locale/categories.def (LC_MONETARY): Add element for
22734 _NL_MONETARY_CRNCYSTR.
22735 * locale/C-monetary.c (conversion_rate): New variable.
22736 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22737 element.
22738
22739 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22740
22741 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22742 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22743
22744 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22745
22746 * elf/Makefile (tst-auxv): New test.
22747 * elf/tst-auxv.c: New
22748 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22749
22750 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22751
22752 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22753 (hidden_proto): Caller changed.
22754 (hidden_tls_proto): New macro.
22755 (libc_hidden_tls_proto): Likewise.
22756 (rtld_hidden_tls_proto): Likewise.
22757 (libm_hidden_tls_proto): Likewise.
22758 (libresolv_hidden_tls_proto): Likewise.
22759 (librt_hidden_tls_proto): Likewise.
22760 (libdl_hidden_tls_proto): Likewise.
22761 (libnss_files_hidden_tls_proto): Likewise.
22762 (libnsl_hidden_tls_proto): Likewise.
22763 (libnss_nisplus_hidden_tls_proto): Likewise.
22764 (libutil_hidden_tls_proto): Likewise.
22765
22766 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22767
22768 [BZ #10253]
22769 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22770 (decompose_rpath): Defer expansion to fillin_rpath.
22771 (_dl_init_paths): Pass linkmap to fillin_rpath.
22772
22773 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22774
22775 * benchtests/Makefile: Add strsep.
22776 * benchtests/bench-strsep.c: New file: strsep benchtest.
22777 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22778
22779 2013-11-18 Andreas Schwab <schwab@suse.de>
22780
22781 * locale/programs/locale.c (show_info) [case byte]: Check for
22782 '\377' instead of '\177'.
22783 * locale/C-monetary.c (not_available): Always use "\377".
22784 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22785 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22786 detect unavailable sign_posn locale elements.
22787 * locale/localeconv.c (__localeconv): For grouping and
22788 mon_grouping handle "\177" and "\377" like no grouping.
22789 (INT_ELEM): New macro. Use it to set all numeric members.
22790 * locale/programs/ld-monetary.c (monetary_read)
22791 <tok_mon_grouping>: Normalize single -1 to the empty string.
22792 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22793 Likewise.
22794
22795 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22796
22797 [BZ #16055]
22798 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22799 when we match (nil).
22800 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22801
22802 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22803
22804 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22805 (NO_TEST_INLINE): Update value.
22806 (ERRNO_UNCHANGED): Likewise.
22807 (ERRNO_EDOM): Likewise.
22808 (ERRNO_ERANGE): Likewise.
22809 (IGNORE_RESULT): Likewise.
22810 (check_float_internal): Check signs of NaN results if
22811 TEST_NAN_SIGN used.
22812 (check_complex): Pass TEST_NAN_SIGN flag through to second
22813 check_float_internal call.
22814 (copysign_test_data): Add tests with quiet NaNs as second
22815 argument. Use TEST_NAN_SIGN.
22816 (fabs_test_data): Add test of negative quiet NaN argument. Use
22817 TEST_NAN_SIGN.
22818 (signbit_test_data): Add tests of quiet NaN argument.
22819 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22820
22821 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22822 $ignore_result.
22823 (parse_args): Handle function results specified as IGNORE.
22824 * math/libm-test.inc (IGNORE_RESULT): New macro.
22825 (check_float_internal): Do not check numerical result if flag
22826 IGNORE_RESULT set.
22827 (check_complex): Pass through IGNORE_RESULT to second
22828 check_float_internal call.
22829 (check_int): Do not check numerical result if flag IGNORE_RESULT
22830 set.
22831 (check_long): Likewise.
22832 (check_bool): Likewise.
22833 (check_longlong): Likewise.
22834 (lrint_test_data): Add tests of infinite and NaN arguments.
22835 (lrint_tonearest_test_data): Likewise.
22836 (lrint_towardzero_test_data): Likewise.
22837 (lrint_downward_test_data): Likewise.
22838 (lrint_upward_test_data): Likewise.
22839 (llrint_test_data): Likewise.
22840 (llrint_tonearest_test_data): Likewise.
22841 (llrint_towardzero_test_data): Likewise.
22842 (llrint_downward_test_data): Likewise.
22843 (llrint_upward_test_data): Likewise.
22844 (lround_test_data): Likewise.
22845 (llround_test_data): Likewise.
22846
22847 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22848 (ERRNO_UNCHANGED): Update value.
22849 (ERRNO_EDOM): Likewise.
22850 (ERRNO_ERANGE): Likewise.
22851 (NO_TEST_INLINE_FLOAT): New macro.
22852 (NO_TEST_INLINE_DOUBLE): Likewise.
22853 (enable_test): New function.
22854 (RUN_TEST_f_f): Check enable_test before running test.
22855 (RUN_TEST_2_f): Likewise.
22856 (RUN_TEST_fff_f): Likewise.
22857 (RUN_TEST_c_f): Likewise.
22858 (RUN_TEST_f_f1): Likewise.
22859 (RUN_TEST_fF_f1): Likewise.
22860 (RUN_TEST_fI_f1): Likewise.
22861 (RUN_TEST_ffI_f1): Likewise.
22862 (RUN_TEST_c_c): Likewise.
22863 (RUN_TEST_cc_c): Likewise.
22864 (RUN_TEST_f_i): Likewise.
22865 (RUN_TEST_f_i_tg): Likewise.
22866 (RUN_TEST_ff_i_tg): Likewise.
22867 (RUN_TEST_f_b): Likewise.
22868 (RUN_TEST_f_b_tg): Likewise.
22869 (RUN_TEST_f_l): Likewise.
22870 (RUN_TEST_f_L): Likewise.
22871 (RUN_TEST_fFF_11): Likewise.
22872 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22873 conditionals.
22874 (cosh_test_data): Likewise.
22875 (exp_test_data): Likewise.
22876 (expm1_test_data): Likewise.
22877 (hypot_test_data): Likewise.
22878 (pow_test_data): Likewise.
22879 (sinh_test_data): Likewise.
22880 (tanh_test_data): Likewise.
22881 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22882 flags argument.
22883
22884 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22885 tests with quiet NaN input and output.
22886 (acosh_test_data): Likewise.
22887 (asin_test_data): Likewise.
22888 (asinh_test_data): Likewise.
22889 (atan_test_data): Likewise.
22890 (atanh_test_data): Likewise.
22891 (atan2_test_data): Likewise.
22892 (cbrt_test_data): Likewise.
22893 (cos_test_data): Likewise.
22894 (cosh_test_data): Likewise.
22895 (erf_test_data): Likewise.
22896 (erfc_test_data): Likewise.
22897 (exp_test_data): Likewise.
22898 (exp10_test_data): Likewise.
22899 (exp2_test_data): Likewise.
22900 (expm1_test_data): Likewise.
22901 (hypot_test_data): Likewise.
22902 (j0_test_data): Likewise.
22903 (j1_test_data): Likewise.
22904 (jn_test_data): Likewise.
22905 (lgamma_test_data): Likewise.
22906 (log_test_data): Likewise.
22907 (log10_test_data): Likewise.
22908 (log1p_test_data): Likewise.
22909 (log2_test_data): Likewise.
22910 (pow_test_data): Likewise.
22911 (scalb_test_data): Likewise.
22912 (sin_test_data): Likewise.
22913 (sincos_test_data): Likewise.
22914 (sinh_test_data): Likewise.
22915 (tan_test_data): Likewise.
22916 (tanh_test_data): Likewise.
22917 (tgamma_test_data): Likewise.
22918 (y0_test_data): Likewise.
22919 (y1_test_data): Likewise.
22920 (yn_test_data): Likewise.
22921
22922 [BZ #16167]
22923 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22924 argument being NaN and avoid computations with second argument in
22925 that case.
22926 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22927 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22928 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22929
22930 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22931
22932 * locale/iso-639.def: Add Chitwani Tharu (the).
22933
22934 2013-11-14 Andreas Schwab <schwab@suse.de>
22935
22936 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22937 word instead of empty string.
22938
22939 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22940
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22942 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22944 (__fe_nomask_env): Likewise.
22945
22946 2013-11-13 Steve Ellcey <sellcey@mips.com>
22947
22948 * benchtests/bench-timing.h: Include time.h.
22949
22950 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 [BZ #15997]
22953 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22954 to 3.4.0 for x32.
22955 * sysdeps/unix/sysv/linux/configure: Regenerated.
22956
22957 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22958
22959 [BZ #16151]
22960 * stdlib/strtod_l.c (round_and_return): Do not consider
22961 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22962 exponent one less than half the least subnormal exponent.
22963 * stdlib/test-strtod-round-data: Add more tests.
22964 * stdlib/tst-strtod-round.c (tests): Regenerated.
22965
22966 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22967
22968 [BZ #14143]
22969 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22970 (__fe_mask_env): Likewise.
22971 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22972 libm_hidden_proto and add function prototype.
22973 (__fe_mask_env): Add function prototype.
22974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22975 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22977 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22979 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22980
22981 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22982
22983 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22984 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22985
22986 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22987
22988 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22989 of htab_find_slot().
22990
22991 2013-11-11 David S. Miller <davem@davemloft.net>
22992
22993 [BZ #16150]
22994 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22995 symbol in the non-vis3 case in static builds.
22996 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22997 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22998 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22999 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23000
23001 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23002
23003 [BZ #387]
23004 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23005 it is empty.
23006
23007 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23008
23009 * benchtests/Makefile: Add bench-strtod.
23010 * benchtests/bench-strtod.c: New file: strtod benchtest
23011
23012 2013-11-11 Andreas Schwab <schwab@suse.de>
23013
23014 [BZ #16153]
23015 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23016 terminating NUL in key length.
23017
23018 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23019
23020 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23021 Add artificial ODP entry for vDSO symbol for PPC64.
23022 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23023 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23024
23025 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23026
23027 [BZ #15374]
23028 * nss/getent.c (services_keys): Recognize services starting with digit.
23029
23030 2013-11-06 David S. Miller <davem@davemloft.net>
23031
23032 [BZ #15985]
23033 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23034 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23035
23036 2013-11-06 Will Newton <will.newton@linaro.org>
23037
23038 * manual/memory.texi (Malloc Examples): Remove register
23039 keyword from examples.
23040
23041 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23042
23043 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23044
23045 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23046
23047 [BZ #6981]
23048 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23049 depending on [__GCC_IEC_559 > 0].
23050 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23051 depending on [__GCC_IEC_559_COMPLEX > 0].
23052
23053 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23054
23055 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23056 to iso-639.def.
23057
23058 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23059
23060 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23061
23062 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23063
23064 [BZ #16112]
23065 * malloc/malloc (malloc_info): Do not handle first bin as
23066 special case.
23067
23068 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23069
23070 * locale/iso-639.def: Add Central Nahuatl (nhn).
23071
23072 2013-11-01 Bruno Haible <bruno@clisp.org>
23073
23074 [BZ #7003]
23075 * manual/math.texi (BSD Random): Specify range upper bound as
23076 in POSIX.
23077
23078 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23079
23080 * locale/iso-639.def: Add Meadow Mari (mhr).
23081
23082 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23083
23084 [BZ #14752], [BZ #15763]
23085 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23086 Validate name.
23087 * rt/tst_shm.c: Add test for escaping directory.
23088
23089 2013-10-31 Andreas Schwab <schwab@suse.de>
23090
23091 [BZ #15917]
23092 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23093 followed by 'x' as part of digit sequence.
23094 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23095
23096 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23097
23098 [BZ #16037]
23099 * configure.ac: allow GNU Make 4.0 and greater.
23100 * configure: Regenerated.
23101
23102 2013-10-30 Will Newton <will.newton@linaro.org>
23103
23104 [BZ #16038]
23105 * malloc/hooks.c (memalign_check): Limit alignment to the
23106 maximum representable power of two.
23107 * malloc/malloc.c (__libc_memalign): Likewise.
23108 * malloc/tst-memalign.c (do_test): Add test for very
23109 large alignment values.
23110 * malloc/tst-posix_memalign.c (do_test): Likewise.
23111
23112 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23113
23114 [BZ #11087]
23115 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23116 (munmap_chunk): Likewise.
23117 (mremap_chunk): Likewise.
23118
23119 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23120
23121 [BZ #15799]
23122 * stdlib/div.c (div): Remove obsolete code.
23123 * stdlib/ldiv.c (ldiv): Likewise.
23124 * stdlib/lldiv.c (lldiv): Likewise.
23125
23126 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23127
23128 [BZ #16071]
23129 * nss/nss_files/files-XXX.c (get_contents_ret): New
23130 enumerator.
23131 (get_contents): New function.
23132 (internal_getent): Use it. Expand size of LINEBUFLEN.
23133
23134 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23135
23136 * configure.in: Moved to ...
23137 * configure.ac: ... here. Change reference to configure.in
23138 to configure.ac.
23139 * sysdeps/arm/preconfigure.ac: ... here.
23140 configure.in to configure.ac.
23141 * sysdeps/gnu/configure.in: Moved to ...
23142 * sysdeps/gnu/configure.ac: ... here.
23143 * sysdeps/i386/configure.in: Moved to ...
23144 * sysdeps/i386/configure.ac: ... here.
23145 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23146 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23147 * sysdeps/mach/configure.in: Moved to ...
23148 * sysdeps/mach/configure.ac: ... here.
23149 * sysdeps/mach/hurd/configure.in: Moved to ...
23150 * sysdeps/mach/hurd/configure.ac: ... here.
23151 * sysdeps/powerpc/configure.in: Moved to ...
23152 * sysdeps/powerpc/configure.ac: ... here.
23153 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23154 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23155 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23156 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23157 * sysdeps/s390/s390-32/configure.in: Moved to ...
23158 * sysdeps/s390/s390-32/configure.ac: ... here.
23159 * sysdeps/s390/s390-64/configure.in: Moved to ...
23160 * sysdeps/s390/s390-64/configure.ac: ... here.
23161 * sysdeps/sh/configure.in: Moved to ...
23162 * sysdeps/sh/configure.ac: ... here.
23163 * sysdeps/sparc/configure.in: Moved to ...
23164 * sysdeps/sparc/configure.ac: ... here.
23165 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23166 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23167 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23168 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23169 * sysdeps/x86_64/configure.in: Moved to ...
23170 * sysdeps/x86_64/configure.ac: ... here.
23171 * sysdeps/x86_64/preconfigure.in: Moved to ...
23172 * sysdeps/x86_64/preconfigure.ac: ... here.
23173 * aclocal.m4: Change reference to configure.in to configure.ac.
23174 * config.h.in: Likewise.
23175 * manual/install.texi: Likewise.
23176 * manual/maint.texi: Likewise.
23177 * Makefile: Likewise.
23178 * malloc/Makefile: Likewise.
23179 * nscd/Makefile: Likewise.
23180 * Makeconfig: Change reference to configure.in and
23181 preconfigure.in to configure.ac and preconfigure.ac
23182 respectively.
23183 * INSTALL: Regenerated.
23184 * configure: Likewise.
23185 * sysdeps/gnu/configure: Likewise.
23186 * sysdeps/i386/configure: Likewise.
23187 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23188 * sysdeps/mach/configure: Likewise.
23189 * sysdeps/mach/hurd/configure: Likewise.
23190 * sysdeps/powerpc/configure: Likewise.
23191 * sysdeps/powerpc/powerpc32/configure: Likewise.
23192 * sysdeps/powerpc/powerpc64/configure: Likewise.
23193 * sysdeps/s390/s390-32/configure: Likewise.
23194 * sysdeps/s390/s390-64/configure: Likewise.
23195 * sysdeps/sh/configure: Likewise.
23196 * sysdeps/sparc/configure: Likewise.
23197 * sysdeps/unix/sysv/linux/configure: Likewise.
23198 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23199 * sysdeps/x86_64/configure: Likewise.
23200 * sysdeps/x86_64/preconfigure: Likewise.
23201
23202 2013-10-29 Andreas Schwab <schwab@suse.de>
23203
23204 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23205
23206 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23207
23208 * benchtests/pow-inputs: Add new inputs.
23209
23210 * benchtests/exp-inputs: Add new inputs.
23211
23212 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23213 conditional check for return value.
23214 (__cos32): Likewise.
23215
23216 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23217
23218 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23219 to provide a boost for large inputs with word alignment.
23220 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23221 implementation based on optimized PPC64 strcpy.
23222 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23223 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23224 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23225 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23226
23227 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23228
23229 [BZ #2801]
23230 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23231
23232 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23233
23234 [BZ #14876]
23235 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23236 * time/tst-strptime.c (day_tests): Add testcase.
23237
23238 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23239
23240 [BZ #14029]
23241 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23242
23243 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23244
23245 [BZ #16074]
23246 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23247 MAP_FAILED on error.
23248
23249 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23250
23251 [BZ #16072]
23252 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23253 heap for large requests.
23254
23255 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23256
23257 [BZ #9954]
23258 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23259 result if the result has no associated interface.
23260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23261 interface for all 127.X.Y.Z addresses.
23262
23263 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23264
23265 * locale/iso-639.def: Add Ligurian (lij)
23266
23267 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23268
23269 [BZ #15825]
23270 * sunrpc/rpc_main.c: Document rpcgen -5.
23271
23272 2013-10-19 Michael Stahl <mstahl@redhat.com>
23273
23274 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23275
23276 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23277
23278 [BZ #10278]
23279 * posix/glob.c: Match only directories when trailing slash is present.
23280 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23281 (main): Add testcase.
23282
23283 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23284
23285 [BZ #15670]
23286 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23287
23288 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23289
23290 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23291 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23292 AUTH_DES and cindex for FIPS 140-2.
23293 (DES Encryption): Add cindex FIPS 46-3.
23294
23295 * locale/locarchive.h (struct locarhandle): Add fname.
23296 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23297 if an optional argument was specified to --list-archive,
23298 otherwise NULL.
23299 * locale/programs/locarchive.c (show_archive_content): Take new
23300 argument fname and pass it via ah.fname to open_archive.
23301 * locale/programs/localedef.h: Update decl.
23302 (open_archive): If AH->fname is non-null, open that file
23303 rather than the default file name, and don't ignore ENOENT.
23304 (create_archive): Set AH.fname to NULL.
23305 (delete_locales_from_archive): Likewise.
23306 (add_locales_to_archive): Likewise.
23307 * locale/programs/locfile.c (write_all_categories): Likewise.
23308
23309 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23310 Aldy Hernandez <aldyh@redhat.com>
23311
23312 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23313 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23314 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23315 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23316 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23317 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23318 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23319 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23320 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23321 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23322 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23323 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23324 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23325 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23326 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23327 Likewise.
23328 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23329 Likewise.
23330 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23331 Likewise.
23332 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23333 Likewise.
23334 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23335 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23336 Likewise.
23337 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23338 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23339 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23340 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23341 Likewise.
23342 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23343 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23344 * sysdeps/powerpc/preconfigure: Likewise.
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23346 Likewise.
23347 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23348 Replace contents of file by #include of <fenv_libc.h>.
23349 * sysdeps/powerpc/soft-fp/sfp-machine.h
23350 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23351 and <sys/prctl.h>.
23352 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23353 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23354 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23359 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23360 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23361 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23362 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23363 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23365 Allow copysignl PLT reference to be missing.
23366
23367 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23368 Joseph Myers <joseph@codesourcery.com
23369
23370 [BZ #15948]
23371 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23372 single character.
23373 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23374
23375 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23376
23377 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23378 * elf/tst-tls1.c: Likewise.
23379 * elf/tst-tls10.h: Likewise.
23380 * elf/tst-tls14.c: Likewise.
23381 * elf/tst-tls2.c: Likewise.
23382 * elf/tst-tls3.c: Likewise.
23383 * elf/tst-tls4.c: Likewise.
23384 * elf/tst-tls5.c: Likewise.
23385 * elf/tst-tls6.c: Likewise.
23386 * elf/tst-tls7.c: Likewise.
23387 * elf/tst-tls8.c: Likewise.
23388 * elf/tst-tls9.c: Likewise.
23389 * elf/tst-tlsmod1.c: Likewise.
23390 * elf/tst-tlsmod13.c: Likewise.
23391 * elf/tst-tlsmod13a.c: Likewise.
23392 * elf/tst-tlsmod14a.c: Likewise.
23393 * elf/tst-tlsmod16a.c: Likewise.
23394 * elf/tst-tlsmod16b.c: Likewise.
23395 * elf/tst-tlsmod2.c: Likewise.
23396 * elf/tst-tlsmod3.c: Likewise.
23397 * elf/tst-tlsmod4.c: Likewise.
23398 * elf/tst-tlsmod5.c: Likewise.
23399 * elf/tst-tlsmod6.c: Likewise.
23400
23401 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23402
23403 [BZ #12486]
23404 * malloc/malloc.c: remove checks for statistics.
23405
23406 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23407
23408 [BZ #15277]
23409 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23410 * inet/tst-network.c: Add testcase.
23411
23412 2013-10-17 Andreas Schwab <schwab@suse.de>
23413
23414 [BZ #15218]
23415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23416 to determine canonical name.
23417
23418 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23419
23420 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23421 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23444 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23445 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23450 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23478
23479 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23480
23481 [BZ #16041]
23482 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23483 make result into a quiet NaN.
23484
23485 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23486
23487 * soft-fp/adddf3.c: Fix horizontal whitespace.
23488 * soft-fp/addsf3.c: Likewise.
23489 * soft-fp/addtf3.c: Likewise.
23490 * soft-fp/divdf3.c: Likewise.
23491 * soft-fp/divsf3.c: Likewise.
23492 * soft-fp/divtf3.c: Likewise.
23493 * soft-fp/double.h: Likewise.
23494 * soft-fp/eqdf2.c: Likewise.
23495 * soft-fp/eqsf2.c: Likewise.
23496 * soft-fp/eqtf2.c: Likewise.
23497 * soft-fp/extenddftf2.c: Likewise.
23498 * soft-fp/extended.h: Likewise.
23499 * soft-fp/extendsfdf2.c: Likewise.
23500 * soft-fp/extendsftf2.c: Likewise.
23501 * soft-fp/extendxftf2.c: Likewise.
23502 * soft-fp/fixdfdi.c: Likewise.
23503 * soft-fp/fixdfsi.c: Likewise.
23504 * soft-fp/fixdfti.c: Likewise.
23505 * soft-fp/fixsfdi.c: Likewise.
23506 * soft-fp/fixsfsi.c: Likewise.
23507 * soft-fp/fixsfti.c: Likewise.
23508 * soft-fp/fixtfdi.c: Likewise.
23509 * soft-fp/fixtfsi.c: Likewise.
23510 * soft-fp/fixtfti.c: Likewise.
23511 * soft-fp/fixunsdfdi.c: Likewise.
23512 * soft-fp/fixunsdfsi.c: Likewise.
23513 * soft-fp/fixunsdfti.c: Likewise.
23514 * soft-fp/fixunssfdi.c: Likewise.
23515 * soft-fp/fixunssfsi.c: Likewise.
23516 * soft-fp/fixunssfti.c: Likewise.
23517 * soft-fp/fixunstfdi.c: Likewise.
23518 * soft-fp/fixunstfsi.c: Likewise.
23519 * soft-fp/fixunstfti.c: Likewise.
23520 * soft-fp/floatdidf.c: Likewise.
23521 * soft-fp/floatdisf.c: Likewise.
23522 * soft-fp/floatditf.c: Likewise.
23523 * soft-fp/floatsidf.c: Likewise.
23524 * soft-fp/floatsisf.c: Likewise.
23525 * soft-fp/floatsitf.c: Likewise.
23526 * soft-fp/floattidf.c: Likewise.
23527 * soft-fp/floattisf.c: Likewise.
23528 * soft-fp/floattitf.c: Likewise.
23529 * soft-fp/floatundidf.c: Likewise.
23530 * soft-fp/floatundisf.c: Likewise.
23531 * soft-fp/floatunditf.c: Likewise.
23532 * soft-fp/floatunsidf.c: Likewise.
23533 * soft-fp/floatunsisf.c: Likewise.
23534 * soft-fp/floatunsitf.c: Likewise.
23535 * soft-fp/floatuntidf.c: Likewise.
23536 * soft-fp/floatuntisf.c: Likewise.
23537 * soft-fp/floatuntitf.c: Likewise.
23538 * soft-fp/fmadf4.c: Likewise.
23539 * soft-fp/fmasf4.c: Likewise.
23540 * soft-fp/fmatf4.c: Likewise.
23541 * soft-fp/gedf2.c: Likewise.
23542 * soft-fp/gesf2.c: Likewise.
23543 * soft-fp/getf2.c: Likewise.
23544 * soft-fp/ledf2.c: Likewise.
23545 * soft-fp/lesf2.c: Likewise.
23546 * soft-fp/letf2.c: Likewise.
23547 * soft-fp/muldf3.c: Likewise.
23548 * soft-fp/mulsf3.c: Likewise.
23549 * soft-fp/multf3.c: Likewise.
23550 * soft-fp/negdf2.c: Likewise.
23551 * soft-fp/negsf2.c: Likewise.
23552 * soft-fp/negtf2.c: Likewise.
23553 * soft-fp/op-1.h: Likewise.
23554 * soft-fp/op-2.h: Likewise.
23555 * soft-fp/op-4.h: Likewise.
23556 * soft-fp/op-8.h: Likewise.
23557 * soft-fp/op-common.h: Likewise.
23558 * soft-fp/quad.h: Likewise.
23559 * soft-fp/single.h: Likewise.
23560 * soft-fp/soft-fp.h: Likewise.
23561 * soft-fp/sqrtdf2.c: Likewise.
23562 * soft-fp/sqrtsf2.c: Likewise.
23563 * soft-fp/sqrttf2.c: Likewise.
23564 * soft-fp/subdf3.c: Likewise.
23565 * soft-fp/subsf3.c: Likewise.
23566 * soft-fp/subtf3.c: Likewise.
23567 * soft-fp/truncdfsf2.c: Likewise.
23568 * soft-fp/trunctfdf2.c: Likewise.
23569 * soft-fp/trunctfsf2.c: Likewise.
23570 * soft-fp/trunctfxf2.c: Likewise.
23571 * soft-fp/unorddf2.c: Likewise.
23572 * soft-fp/unordsf2.c: Likewise.
23573 * soft-fp/unordtf2.c: Likewise.
23574
23575 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23576
23577 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23578 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23579
23580 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23581
23582 * elf/dl-libc.c: Clear initfini list after freeing.
23583
23584 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23585
23586 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23587 * soft-fp/addsf3.c: Likewise.
23588 * soft-fp/addtf3.c: Likewise.
23589 * soft-fp/divdf3.c: Likewise.
23590 * soft-fp/divsf3.c: Likewise.
23591 * soft-fp/divtf3.c: Likewise.
23592 * soft-fp/double.h: Likewise.
23593 * soft-fp/eqdf2.c: Likewise.
23594 * soft-fp/eqsf2.c: Likewise.
23595 * soft-fp/eqtf2.c: Likewise.
23596 * soft-fp/extenddftf2.c: Likewise.
23597 * soft-fp/extended.h: Likewise.
23598 * soft-fp/extendsfdf2.c: Likewise.
23599 * soft-fp/extendsftf2.c: Likewise.
23600 * soft-fp/extendxftf2.c: Likewise.
23601 * soft-fp/fixdfdi.c: Likewise.
23602 * soft-fp/fixdfsi.c: Likewise.
23603 * soft-fp/fixdfti.c: Likewise.
23604 * soft-fp/fixsfdi.c: Likewise.
23605 * soft-fp/fixsfsi.c: Likewise.
23606 * soft-fp/fixsfti.c: Likewise.
23607 * soft-fp/fixtfdi.c: Likewise.
23608 * soft-fp/fixtfsi.c: Likewise.
23609 * soft-fp/fixtfti.c: Likewise.
23610 * soft-fp/fixunsdfdi.c: Likewise.
23611 * soft-fp/fixunsdfsi.c: Likewise.
23612 * soft-fp/fixunsdfti.c: Likewise.
23613 * soft-fp/fixunssfdi.c: Likewise.
23614 * soft-fp/fixunssfsi.c: Likewise.
23615 * soft-fp/fixunssfti.c: Likewise.
23616 * soft-fp/fixunstfdi.c: Likewise.
23617 * soft-fp/fixunstfsi.c: Likewise.
23618 * soft-fp/fixunstfti.c: Likewise.
23619 * soft-fp/floatdidf.c: Likewise.
23620 * soft-fp/floatdisf.c: Likewise.
23621 * soft-fp/floatditf.c: Likewise.
23622 * soft-fp/floatsidf.c: Likewise.
23623 * soft-fp/floatsisf.c: Likewise.
23624 * soft-fp/floatsitf.c: Likewise.
23625 * soft-fp/floattidf.c: Likewise.
23626 * soft-fp/floattisf.c: Likewise.
23627 * soft-fp/floattitf.c: Likewise.
23628 * soft-fp/floatundidf.c: Likewise.
23629 * soft-fp/floatundisf.c: Likewise.
23630 * soft-fp/floatunsidf.c: Likewise.
23631 * soft-fp/floatunsisf.c: Likewise.
23632 * soft-fp/floatuntidf.c: Likewise.
23633 * soft-fp/floatuntisf.c: Likewise.
23634 * soft-fp/floatuntitf.c: Likewise.
23635 * soft-fp/fmadf4.c: Likewise.
23636 * soft-fp/fmasf4.c: Likewise.
23637 * soft-fp/fmatf4.c: Likewise.
23638 * soft-fp/gedf2.c: Likewise.
23639 * soft-fp/gesf2.c: Likewise.
23640 * soft-fp/getf2.c: Likewise.
23641 * soft-fp/ledf2.c: Likewise.
23642 * soft-fp/lesf2.c: Likewise.
23643 * soft-fp/letf2.c: Likewise.
23644 * soft-fp/muldf3.c: Likewise.
23645 * soft-fp/mulsf3.c: Likewise.
23646 * soft-fp/multf3.c: Likewise.
23647 * soft-fp/negdf2.c: Likewise.
23648 * soft-fp/negsf2.c: Likewise.
23649 * soft-fp/negtf2.c: Likewise.
23650 * soft-fp/op-1.h: Likewise.
23651 * soft-fp/op-2.h: Likewise.
23652 * soft-fp/op-4.h: Likewise.
23653 * soft-fp/op-8.h: Likewise.
23654 * soft-fp/op-common.h: Likewise.
23655 * soft-fp/quad.h: Likewise.
23656 * soft-fp/single.h: Likewise.
23657 * soft-fp/soft-fp.h: Likewise.
23658 * soft-fp/sqrtdf2.c: Likewise.
23659 * soft-fp/sqrtsf2.c: Likewise.
23660 * soft-fp/sqrttf2.c: Likewise.
23661 * soft-fp/subdf3.c: Likewise.
23662 * soft-fp/subsf3.c: Likewise.
23663 * soft-fp/subtf3.c: Likewise.
23664 * soft-fp/truncdfsf2.c: Likewise.
23665 * soft-fp/trunctfdf2.c: Likewise.
23666 * soft-fp/trunctfsf2.c: Likewise.
23667 * soft-fp/trunctfxf2.c: Likewise.
23668 * soft-fp/unorddf2.c: Likewise.
23669 * soft-fp/unordsf2.c: Likewise.
23670 * soft-fp/unordtf2.c: Likewise.
23671
23672 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23673
23674 [BZ #15672]
23675 * misc/error.c (error_tail): Fix possible buffer overflow.
23676
23677 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23678
23679 [BZ #13028]
23680 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23681 address.
23682
23683 2013-10-14 P. J. McDermott <pj@pehjota.net>
23684
23685 [BZ #832]
23686 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23687 testing pipefail option.
23688
23689 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23690
23691 * soft-fp/double.h: Indent preprocessor directives inside #if.
23692 * soft-fp/extended.h: Likewise.
23693 * soft-fp/op-2.h: Likewise.
23694 * soft-fp/op-4.h: Likewise.
23695 * soft-fp/op-common.h: Likewise.
23696 * soft-fp/quad.h: Likewise.
23697 * soft-fp/single.h: Likewise.
23698 * soft-fp/soft-fp.h: Likewise.
23699
23700 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23701
23702 * iconv/iconv_prog.c: Fix typos.
23703 * stdio-common/psiginfo-data.h: Likewise.
23704
23705 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23706
23707 [BZ #15764]
23708 * locale/setlocale.c: Fix typo.
23709
23710 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #16036]
23713 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23714 signaling NaN arguments.
23715 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23716 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23717
23718 [BZ #14910]
23719 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23720 unordered operands.
23721 * soft-fp/gesf2.c (__gesf2): Likewise.
23722 * soft-fp/getf2.c (__getf2): Likewise.
23723 * soft-fp/ledf2.c (__ledf2): Likewise.
23724 * soft-fp/lesf2.c (__lesf2): Likewise.
23725 * soft-fp/letf2.c (__letf2): Likewise.
23726
23727 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23728 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23729 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23730 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23731 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23732 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23733 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23734 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23735 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23736 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23737 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23738 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23739 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23740 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23741 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23742 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23743 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23744 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23745 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23746 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23747 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23748 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23749 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23750 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23751 * soft-fp/floattidf.c (__floattidf): Likewise.
23752 * soft-fp/floattisf.c (__floattisf): Likewise.
23753 * soft-fp/floattitf.c (__floattitf): Likewise.
23754 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23755 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23756 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23757 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23758 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23759 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23760 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23761 * soft-fp/gesf2.c (__gesf2): Likewise.
23762 * soft-fp/getf2.c (__getf2): Likewise.
23763 * soft-fp/ledf2.c (__ledf2): Likewise.
23764 * soft-fp/lesf2.c (__lesf2): Likewise.
23765 * soft-fp/letf2.c (__letf2): Likewise.
23766
23767 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23768 Undefine and redefine.
23769 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23770 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23771 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23772 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23773 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23774 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23775 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23776 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23777 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23778 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23779 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23780 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23781 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23782 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23783 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23784
23785 [BZ #16032]
23786 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23787 without decrementing exponent if mantissa >= that for the
23788 denominator, not >.
23789 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23790 denominator, not >. Decrement exponent in < case instead of
23791 incrementing in >= case.
23792 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23793 without decrementing exponent if mantissa >= that for the
23794 denominator, not >.
23795
23796 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23797 computing saturated result for unsigned overflow.
23798
23799 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23800 Jeff Law <law@redhat.com>
23801
23802 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23803 (atan2Mp): Add systemtap probe marker.
23804 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23805 (__ieee754_log): Add systemtap probe marker.
23806 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23807 (atanMp): Add systemtap probe marker.
23808 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23809 (tanMp): Add systemtap probe marker.
23810 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23811 (__slowexp): Add systemtap probe marker.
23812 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23813 (__slowpow): Add systemtap probe marker.
23814 * manual/probes.texi: Document probes.
23815
23816 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23817
23818 [BZ #15362]
23819 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23820 written.
23821 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23822 written.
23823 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23824 written to buffer but not flushed.
23825 * libio/iofwrite_u.c: Likewise.
23826 * libio/iopadn.c: Return bytes returned even if EOF was
23827 encountered.
23828 * libio/iowpadn.c: Likewise.
23829 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23830 if _IO_padn does not write the whole buffer.
23831 [!COMPILE_WPRINTF] (PAD): Likewise.
23832
23833 2013-10-10 David S. Miller <davem@davemloft.net>
23834
23835 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23836 directory block.
23837
23838 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23839
23840 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23841 instead of FSF address.
23842 * soft-fp/fixdfti.c: Likewise.
23843 * soft-fp/fixsfti.c: Likewise.
23844 * soft-fp/fixtfti.c: Likewise.
23845 * soft-fp/fixunsdfti.c: Likewise.
23846 * soft-fp/fixunssfti.c: Likewise.
23847 * soft-fp/fixunstfti.c: Likewise.
23848 * soft-fp/floattidf.c: Likewise.
23849 * soft-fp/floattisf.c: Likewise.
23850 * soft-fp/floattitf.c: Likewise.
23851 * soft-fp/floatuntidf.c: Likewise.
23852 * soft-fp/floatuntisf.c: Likewise.
23853 * soft-fp/floatuntitf.c: Likewise.
23854 * soft-fp/trunctfxf2.c: Likewise.
23855
23856 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23857 * soft-fp/fixdfti.c: Likewise.
23858 * soft-fp/fixsfti.c: Likewise.
23859 * soft-fp/fixtfti.c: Likewise.
23860 * soft-fp/fixunsdfti.c: Likewise.
23861 * soft-fp/fixunssfti.c: Likewise.
23862 * soft-fp/fixunstfti.c: Likewise.
23863 * soft-fp/floattidf.c: Likewise.
23864 * soft-fp/floattisf.c: Likewise.
23865 * soft-fp/floattitf.c: Likewise.
23866 * soft-fp/floatuntidf.c: Likewise.
23867 * soft-fp/floatuntisf.c: Likewise.
23868 * soft-fp/floatuntitf.c: Likewise.
23869 * soft-fp/trunctfxf2.c: Likewise.
23870
23871 2013-10-10 David S. Miller <davem@davemloft.net>
23872
23873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23874
23875 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23876
23877 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23878 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23879 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23880 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23881 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23882 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23883 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23884
23885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23886 for NaNs before doing comparisons on argument.
23887 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23888 Likewise.
23889
23890 2013-10-10 Will Newton <will.newton@linaro.org>
23891
23892 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23893 passed to _int_memalign does not overflow.
23894
23895 2013-10-10 Torvald Riegel <triegel@redhat.com>
23896
23897 * scripts/bench.pl: Add include-sources directive.
23898 * benchtests/README: Update documentation.
23899
23900 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23901
23902 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23903 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23904 instead of FP_INIT_ROUNDMODE.
23905 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23906 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23907
23908 [BZ #16034]
23909 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23910 copy class of input value.
23911 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23912 not handle exceptions.
23913 * soft-fp/negsf2.c (__negsf2): Likewise.
23914 * soft-fp/negtf2.c (__negtf2): Likewise.
23915 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23916
23917 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23918
23919 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23920 semicolon. From Linux kernel.
23921
23922 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23923
23924 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23925
23926 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23927
23928 [BZ #156]
23929 * manual/socket.texi: Added statement about buffer
23930 for gethostbyname2_r.
23931
23932 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23933
23934 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23935 Use .p2align directive instead, throughout.
23936 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23937 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23938 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23941 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23942 * sysdeps/x86_64/strchr.S: Likewise.
23943 * sysdeps/x86_64/strrchr.S: Likewise.
23944
23945 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23946
23947 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23948
23949 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23950
23951 * sysdeps/generic/math_private.h (__mpsin1): Remove
23952 declaration.
23953 (__mpcos1): Likewise.
23954 (__mpsin): New argument __range_reduce.
23955 (__mpcos): Likewise.
23956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23957 (slow): Use __mpsin and __mpcos.
23958 (slow1): Likewise.
23959 (slow2): Likewise.
23960 (sloww): Likewise.
23961 (sloww1): Likewise.
23962 (sloww2): Likewise.
23963 (bsloww): Likewise.
23964 (bsloww1): Likewise.
23965 (bsloww2): Likewise.
23966 (cslow2): Likewise.
23967 (csloww): Likewise.
23968 (csloww1): Likewise.
23969 (csloww2): Likewise.
23970 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23971 range_reduce. Merge in __mpsin1.
23972 (__mpcos): Likewise.
23973 (__mpsin1): Remove.
23974 (__mpcos1): Likewise.
23975
23976 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23977
23978 * locale/loadlocale.c (_nl_intern_locale_data): Use
23979 LOCFILE_ALIGNED_P.
23980 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23981 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23982 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23983 obstack data is appropriately aligned.
23984 (obstack_int32_grow_fast): Likewise.
23985 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23986 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23987 (add_locale_uint32_array): Likewise.
23988
23989 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23990
23991 * benchtests/Makefile: Remove ARGLIST and RET variables.
23992 ($(objpfx)bench-%.c): Pass only function name to the script.
23993 * benchtests/README: Update documentation.
23994 * benchtests/acos-inputs: Add new directives.
23995 * benchtests/acosh-inputs: Likewise.
23996 * benchtests/asin-inputs: Likewise.
23997 * benchtests/asinh-inputs: Likewise.
23998 * benchtests/atan-inputs: Likewise.
23999 * benchtests/atanh-inputs: Likewise.
24000 * benchtests/cos-inputs: Likewise.
24001 * benchtests/cosh-inputs: Likewise.
24002 * benchtests/exp-inputs: Likewise.
24003 * benchtests/log-inputs: Likewise.
24004 * benchtests/pow-inputs: Likewise.
24005 * benchtests/rint-inputs: Likewise.
24006 * benchtests/sin-inputs: Likewise.
24007 * benchtests/sinh-inputs: Likewise.
24008 * benchtests/tan-inputs: Likewise.
24009 * benchtests/tanh-inputs: Likewise.
24010 * scripts/bench.pl: Add support for new directives.
24011
24012 2013-10-07 Alan Modra <amodra@gmail.com>
24013
24014 * README: Fix careless merge.
24015
24016 2013-10-05 Alan Modra <amodra@gmail.com>
24017
24018 * NEWS: Mention powerpc64le support and bugs fixed.
24019 * README: Both big-endian and little-endian powerpc64 supported.
24020
24021 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24022
24023 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24024 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24025 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24026 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24027
24028 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24029
24030 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24031 match prototype.
24032
24033 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24034
24035 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24036 Move -mhard-float appending from
24037 ports/sysdeps/powerpc/powerpc32/Makefile.
24038 [$(with-fp) = yes] (ASFLAGS): Likewise.
24039 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24040 * sysdeps/powerpc/nofpu: Move directory from
24041 ports/sysdeps/powerpc/nofpu.
24042 * sysdeps/powerpc/soft-fp: Move directory from
24043 ports/sysdeps/powerpc/soft-fp.
24044 * sysdeps/powerpc/powerpc32/405: Move directory from
24045 ports/sysdeps/powerpc/powerpc32/405.
24046 * sysdeps/powerpc/powerpc32/440: Move directory from
24047 ports/sysdeps/powerpc/powerpc32/440.
24048 * sysdeps/powerpc/powerpc32/464: Move directory from
24049 ports/sysdeps/powerpc/powerpc32/464.
24050 * sysdeps/powerpc/powerpc32/476: Move directory from
24051 ports/sysdeps/powerpc/powerpc32/476.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24053 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24055 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24057 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24059 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24061 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24062 * README: Update for powerpc-*-linux-gnu software floating point
24063 support in libc.
24064
24065 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24066 case to powerpc/powerpc32*.
24067 * sysdeps/unix/sysv/linux/configure: Regenerated.
24068
24069 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24070 (_FPU_MASK_OM): Define as 0x04.
24071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24073 0x00c10080.
24074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24075 0x0000003c.
24076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24077
24078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24079 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24080 getcontext_e500.
24081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24082 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24083 setcontext_e500.
24084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24085 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24086 and setcontext_e500.
24087
24088 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24089
24090 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24091
24092 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24093
24094 * manual/threads.texi (Default Thread Attributes): Fix typo.
24095
24096 2013-10-04 Will Newton <will.newton@linaro.org>
24097
24098 * malloc/Makefile: Add tst-memalign.
24099 * malloc/tst-memalign.c: New file.
24100
24101 * malloc/tst-posix_memalign.c: Add comments.
24102 (do_test): Add comments and call free on all potentially
24103 allocated pointers. Add space after cast.
24104
24105 * malloc/tst-pvalloc.c: Add comments.
24106 (do_test): Add comments and call free on all potentially
24107 allocated pointers. Remove duplicate check for NULL pointer.
24108 Add space after cast.
24109
24110 * malloc/tst-valloc.c: Add comments.
24111 (do_test): Add comments and call free on all potentially
24112 allocated pointers. Remove duplicate check for NULL pointer.
24113 Add space after cast.
24114
24115 2013-10-04 Alan Modra <amodra@gmail.com>
24116
24117 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24118 Use stdint types in rather than __attribute__((mode())).
24119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24120
24121 2013-10-04 Alan Modra <amodra@gmail.com>
24122
24123 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24124 Correct handling of unaligned relocs for little-endian.
24125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24126
24127 2013-10-04 Alan Modra <amodra@gmail.com>
24128
24129 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24130 * configure: Regenerate.
24131 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24132 * shlib-versions: Likewise.
24133
24134 2013-10-04 Alan Modra <amodra@gmail.com>
24135
24136 * string/tester.c (test_memrchr): Increment reported test cycle.
24137
24138 2013-10-04 Alan Modra <amodra@gmail.com>
24139
24140 * string/test-memcpy.c (do_one_test): When reporting errors, print
24141 string address and don't overrun end of string.
24142
24143 2013-10-04 Alan Modra <amodra@gmail.com>
24144
24145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24146 insrdi. Make better use of reg selection to speed exit slightly.
24147 Schedule entry path a little better. Remove useless "are we done"
24148 checks on entry to main loop. Handle wrapping around zero address.
24149 Correct main loop count. Handle single left-over word from main
24150 loop inline rather than by using loop_small. Remove extra word
24151 case in loop_small caused by wrong loop count. Add little-endian
24152 support.
24153 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24154 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24155 cache hint.
24156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24157 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24158 support. Avoid rlwimi.
24159 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24160
24161 2013-10-04 Alan Modra <amodra@gmail.com>
24162
24163 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24164 insrdi. Formatting.
24165 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24166 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24167 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24168 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24169 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24170 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24171
24172 2013-10-04 Alan Modra <amodra@gmail.com>
24173
24174 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24177 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24178 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24179 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24180 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24181 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24182 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24183 use of regs. Use power7 mtocrf. Tidy function tails.
24184
24185 2013-10-04 Alan Modra <amodra@gmail.com>
24186
24187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24188 Formatting. Consistently use rXXX register defines or rN defines.
24189 Use early exit labels that avoid restoring unused non-volatile regs.
24190 Make cr field use more consistent with rWORDn compares. Rename
24191 regs used as shift registers for unaligned loop, using rN defines
24192 for short lifetime/multiple use regs.
24193 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24195 addi 1,1,64 to pop stack frame. Simplify return value code.
24196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24197
24198 2013-10-04 Alan Modra <amodra@gmail.com>
24199
24200 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24201 support. Correct typos, formatting. Optimize tail. Use insrdi
24202 rather than rlwimi.
24203 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24204 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24205 little-endian support. Correct typos.
24206 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24207 rather than rlwimi.
24208 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24209 in loop and entry code to keep "and." results.
24210 (strchr): Add little-endian support. Comment. Move cntlzd
24211 earlier in tail.
24212 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24213
24214 2013-10-04 Alan Modra <amodra@gmail.com>
24215
24216 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24217 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24218 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24219 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24220
24221 2013-10-04 Alan Modra <amodra@gmail.com>
24222
24223 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24224 (rTMP): Define as r11.
24225 (strcmp): Add little-endian support. Optimise tail.
24226 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24227 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24228 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24229 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24230 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24232 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24233
24234 2013-10-04 Alan Modra <amodra@gmail.com>
24235
24236 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24237 little-endian support. Remove unnecessary "are we done" tests.
24238 Handle "s" wrapping around zero and extremely large "size".
24239 Correct main loop count. Handle single left-over word from main
24240 loop inline rather than by using small_loop. Correct comments.
24241 Delete "zero" tail, use "end_max" instead.
24242 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24243
24244 2013-10-04 Alan Modra <amodra@gmail.com>
24245
24246 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24247 support. Don't branch over align.
24248 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24249 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24250 support. Rearrange tmp reg use to suit. Comment.
24251 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24252
24253 2013-10-04 Alan Modra <amodra@gmail.com>
24254
24255 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24256
24257 2013-10-04 Alan Modra <amodra@gmail.com>
24258
24259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24260 conditional form of branch and link when obtaining pc.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24262
24263 2013-10-04 Alan Modra <amodra@gmail.com>
24264
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24266 HIWORD/LOWORD.
24267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24269
24270 2013-10-04 Alan Modra <amodra@gmail.com>
24271
24272 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24273 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24274 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24275 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24276 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24277 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24278 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24279 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24280 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24281 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24282
24283 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24284 Alistair Popple <alistair@ozlabs.au.ibm.com>
24285 Alan Modra <amodra@gmail.com>
24286
24287 [BZ #15723]
24288 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24289 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24290 _dl_hwcap access for little-endian.
24291 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24292 destroy vmx regs when saving unaligned.
24293 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24294 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24295 destroy vmx regs when saving unaligned.
24296
24297 2013-10-04 Alan Modra <amodra@gmail.com>
24298
24299 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24300 Don't use a union to pack hi/low value.
24301
24302 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24303
24304 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24305 for little-endian.
24306 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24307 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24308 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24309 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24310 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24311
24312 2013-10-04 Alan Modra <amodra@gmail.com>
24313
24314 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24315 constants to usual value for .cst8 section, and remove redundant
24316 high address load.
24317 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24318 constant for 0x1p52. Load little-endian words of double from
24319 correct stack offsets.
24320
24321 2013-10-04 Alan Modra <amodra@gmail.com>
24322
24323 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24324 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24325 words of double from correct stack offsets.
24326 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24327 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24328 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24329 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24333 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24334 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24338 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24339 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24340 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24341 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24342 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24343
24344 2013-10-04 Alan Modra <amodra@gmail.com>
24345
24346 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24347 64-bit int/double union.
24348 (_FPU_SETCW): Likewise.
24349 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24350 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24351
24352 2013-10-04 Alan Modra <amodra@gmail.com>
24353
24354 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24355 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24356
24357 2013-10-04 Alan Modra <amodra@gmail.com>
24358
24359 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24360 use vector int constants.
24361 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24362
24363 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24364
24365 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24366 array with long long.
24367 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24368 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24369 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24370 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24371 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24372 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24373 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24374 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24375 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24376 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24377 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24378 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24379 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24380
24381 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24382
24383 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24384 (__signbit): Likewise. Correct for little-endian.
24385 (__signbitl): Call __signbit.
24386 (lrint): Correct for little-endian.
24387 (lrintf): Call lrint.
24388
24389 2013-10-04 Alan Modra <amodra@gmail.com>
24390
24391 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24392 union 32-bit int array member with 64-bit int array.
24393 (t515, tm256): Double rather than long double.
24394 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24395
24396 2013-10-04 Alan Modra <amodra@gmail.com>
24397
24398 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24399 Delete.
24400 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24402 version of math_ldbl.h.
24403
24404 2013-10-04 Alan Modra <amodra@gmail.com>
24405
24406 [BZ #15734], [BZ #15735]
24407 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24408 all uses of ieee875 long double macros and unions. Simplify test
24409 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24410 ldbl_extract_mantissa value for ix,iy exponents. Properly
24411 normalize after ldbl_extract_mantissa, and don't add hidden bit
24412 already handled. Don't treat low word of ieee854 mantissa like
24413 low word of IBM long double and mask off bit when testing for
24414 zero.
24415 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24416 all uses of ieee875 long double macros and unions. Simplify tests
24417 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24418 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24419 two1022, instead use their values. Recognise that tests for large
24420 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24421 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24422 Rewrite all uses of ieee875 long double macros and unions. Simplify
24423 test for 0.0L and nan. Correct negation.
24424 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24425 ieee875 long double macros and unions. Correct output for large
24426 magnitude x. Correct absolute value calculation.
24427 (__erfcl): Likewise.
24428 * math/libm-test.inc: Add tests for errors discovered in IBM long
24429 double versions of fmodl, remainderl, erfl and erfcl.
24430
24431 2013-10-04 Alan Modra <amodra@gmail.com>
24432
24433 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24434 all uses of ieee854 long double macros and unions. Simplify tests
24435 for long doubles that are fully specified by the high double.
24436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24437 Likewise.
24438 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24439 Remove dead code too.
24440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24441 (__ieee754_ynl): Likewise.
24442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24444 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24445 Remove dead code too.
24446 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24447 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24449 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24450 Simplify.
24451 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24452 Simplify.
24453 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24454 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24455 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24456 Comment on variable precision.
24457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24458 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24459 Likewise.
24460 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24461 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24462 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24463 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24465
24466 2013-10-04 Alan Modra <amodra@gmail.com>
24467
24468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24469 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24470 all uses of ieee854 long double macros and unions.
24471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24472 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24473 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24474 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24475 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24476 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24477 Likewise.
24478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24481 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24484 Simplify sign and nan test too.
24485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24486 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24487 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24488 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24489 Likewise.
24490 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24491 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24492 Likewise.
24493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24494 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24495 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24496 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24497 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24499
24500 2013-10-04 Alan Modra <amodra@gmail.com>
24501
24502 * stdio-common/printf_size.c (__printf_size): Don't use
24503 union ieee854_long_double in fpnum union.
24504 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24505 signbit macro to retrieve sign from long double.
24506 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24507 retrieve sign from long double.
24508 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24509 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24510 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24511 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24512 * math/test-misc.c (main): Don't use union ieee854_long_double.
24513
24514 2013-10-04 Alan Modra <amodra@gmail.com>
24515
24516 [BZ #15680]
24517 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24518 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24519 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24520 calculation. Remove unnecessary test for denormal exponent.
24521 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24522 Correct handling of denormals. Avoid undefined shift behaviour.
24523 Correct normalisation of low mantissa when low double is denormal.
24524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24525 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24526 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24527 Correct normalisation of low mantissa. Test for overflow of high
24528 mantissa and normalise.
24529 (ldbl_nearbyint): Use more readable constant for two52.
24530 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24531 (__mpn_construct_long_double): Fix test for overflow of high
24532 mantissa and correct normalisation. Avoid undefined shift.
24533
24534 2013-10-04 Alan Modra <amodra@gmail.com>
24535
24536 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24537 (union ibm_extended_long_double): Define as an array of ieee754_double.
24538 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24539 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24540 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24541 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24549
24550 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24551
24552 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24553 page size instead of calling getpagesize.
24554
24555 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24556 (LOCFILE_ALIGN_MASK): Likewise.
24557 (LOCFILE_ALIGN_UP): Likewise.
24558 (LOCFILE_ALIGNED_P): Likewise.
24559 * locale/programs/ld-collate.c (collate_output): Use the new
24560 macros instead of __alignof__ (int32_t).
24561 * locale/weight.h (findidx): Likewise.
24562
24563 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24564
24565 [BZ #431]
24566 * manual/string.texi: Fix strncat and wcsncat.
24567
24568 2013-10-03 Brooks Moses <bmoses@google.com>
24569
24570 [BZ #15915]
24571 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24572 * Makerules: ...here, and adjust associated comments.
24573
24574 2013-10-02 Will Newton <will.newton@linaro.org>
24575
24576 * malloc/Makefile: Add tst-pvalloc.
24577 * malloc/tst-pvalloc.c: New file.
24578
24579 2013-10-02 Will Newton <will.newton@linaro.org>
24580
24581 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24582 improve test coverage.
24583
24584 2013-10-02 Will Newton <will.newton@linaro.org>
24585
24586 * malloc/Makefile: Add tst-posix_memalign.
24587 * malloc/tst-posix_memalign.c: New file.
24588
24589 2013-10-01 Eric Blake <eblake@redhat.com>
24590
24591 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24592 Use __THROWNL rather than __THROW on static functions.
24593
24594 2013-09-30 Petr Machata <pmachata@redhat.com>
24595
24596 * elf/elf.h (R_AARCH64_ABS16): New macro.
24597 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24598 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24599 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24600 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24601 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24602 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24603 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24604 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24605 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24606 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24607 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24608 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24609 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24610 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24611 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24612 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24613 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24614 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24615 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24616 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24617 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24618 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24619 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24620 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24621 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24622 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24623 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24624 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24625 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24626 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24627 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24628 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24629 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24630 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24631 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24632 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24633 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24634 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24635 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24636 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24637 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24638 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24639 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24640 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24641 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24642 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24643 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24644 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24645 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24646 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24647 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24648 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24649 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24650 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24651 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24652 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24653 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24654 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24655 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24656 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24657 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24658 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24659 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24660 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24661 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24662 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24663 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24664 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24665 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24666 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24667 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24668 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24669 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24670 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24671 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24672 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24673 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24674 (R_AARCH64_TLSDESC_LDR): Likewise.
24675 (R_AARCH64_TLSDESC_ADD): Likewise.
24676 (R_AARCH64_TLSDESC_CALL): Likewise.
24677
24678 2013-09-30 Andreas Schwab <schwab@suse.de>
24679
24680 [BZ #15048]
24681 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24682 the nss database lookup.
24683 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24685
24686 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24687
24688 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24689
24690 2013-09-28 P. J. McDermott <pj@pehjota.net>
24691
24692 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24693 ${Bash-specific parameter/pattern/string} parameter expansion.
24694 * sysdeps/unix/make-syscalls.sh: Likewise.
24695
24696 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24697
24698 * sysdeps/sh/stackguard-macros.h: New file.
24699
24700 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24701
24702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24704 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24705 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24706 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24707 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24708
24709 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24710
24711 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24712 Fix thread ID register.
24713
24714 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24715
24716 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24717 [POSIX || UNIX98]: Require rather than permitting all symbols from
24718 <time.h>.
24719 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24720 element of struct sched_param.
24721 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24722 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24723 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24724 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24725 constant.
24726
24727 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24728
24729 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24730 argument calculation.
24731
24732 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24733
24734 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24735 Expect macro.
24736 [POSIX] (pthread_attr_t): Do not require type.
24737 [POSIX] (pthread_cond_t): Likewise.
24738 [POSIX] (pthread_condattr_t): Likewise.
24739 [POSIX] (pthread_key_t): Likewise.
24740 [POSIX] (pthread_mutex_t): Likewise.
24741 [POSIX] (pthread_mutexattr_t): Likewise.
24742 [POSIX] (pthread_once_t): Likewise.
24743 [POSIX] (pthread_t): Likewise.
24744 [POSIX-based standards] (pthread_atfork): Expect function.
24745
24746 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24747 Richard Sandiford <richard@codesourcery.com>
24748
24749 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24750 (swap_endianness_p): New extern variable.
24751 (set_big_endian): New inline function.
24752 (maybe_swap_uint32): Likewise.
24753 (maybe_swap_uint32_array): Likewise.
24754 (maybe_swap_uint32_obstack): Likewise.
24755 * locale/programs/locfile.c: Include <stdbool.h>.
24756 (swap_endianness_p): New variable.
24757 (add_locale_uint32): Call maybe_swap_uint32.
24758 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24759 (write_locale_data): Call maybe_swap_uint32_array.
24760 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24761 maybe_swap_uint32.
24762 (obstack_int32_grow_fast): Likewise.
24763 (output_weightwc): Call maybe_swap_uint32_obstack.
24764 (collate_output): Likewise.
24765 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24766 (OPT_LITTLE_ENDIAN): Likewise.
24767 (options): Add --little-endian and --big-endian options.
24768 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24769 * locale/programs/locarchive.c: Include "locfile.h".
24770 (GET): New macro.
24771 (SET): Likewise.
24772 (INC): Likewise.
24773 (create_archive): Use the new macros to access fields of
24774 structures directly mapped from or written to locale archives.
24775 (oldlocrecentcmp): Likewise.
24776 (enlarge_archive): Likewise.
24777 (insert_name): Likewise.
24778 (add_alias): Likewise.
24779 (add_locale): Likewise.
24780 (delete_locales_from_archive): Likewise.
24781 (show_archive_content): Likewise.
24782 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24783 locale data.
24784
24785 2013-09-24 Roland McGrath <roland@hack.frob.com>
24786
24787 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24788 http://www.gnu.org/doc/freemanuals.texi.
24789 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24790
24791 2013-09-24 Will Newton <will.newton@linaro.org>
24792
24793 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24794 macro.
24795
24796 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24797
24798 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24799 unsigned char.
24800
24801 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24802
24803 * manual/threads.texi (POSIX Threads): Fix a typo.
24804
24805 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24806
24807 [BZ #14547]
24808 * string/tst-strcoll-overflow.c: New test case.
24809 * string/Makefile (xtests): Add tst-strcoll-overflow.
24810 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24811 cache if string sizes may cause integer overflow.
24812
24813 [BZ #14547]
24814 * string/strcoll_l.c (coll_seq): New members rule, idx,
24815 save_idx and back_us.
24816 (get_next_seq_nocache): New function.
24817 (do_compare_nocache): New function.
24818 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24819 when malloc fails.
24820
24821 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24822
24823 [BZ #15754]
24824 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24825 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24826 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24827
24828 [BZ #15754]
24829 * elf/Makefile (tests): Add tst-ptrguard1.
24830 (tests-static): Add tst-ptrguard1-static.
24831 (tst-ptrguard1-ARGS): Define.
24832 (tst-ptrguard1-static-ARGS): Define.
24833 * elf/tst-ptrguard1.c: New file.
24834 * elf/tst-ptrguard1-static.c: New file.
24835 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24836 * sysdeps/i386/stackguard-macros.h: Likewise.
24837 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24838 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24839 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24840 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24841 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24842 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24843
24844 2013-09-23 Hector Marco <hecmargi@upv.es>
24845 Ismael Ripoll <iripoll@disca.upv.es>
24846 Carlos O'Donell <carlos@redhat.com>
24847
24848 [BZ #15754]
24849 * sysdeps/generic/stackguard-macros.h: Define
24850 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24851 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24852 Define __pointer_chk_guard_local.
24853 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24854 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24855
24856 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24857
24858 [BZ #15859]
24859 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24860
24861 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24862
24863 * include/string.h (__ffs): Declare as hidden.
24864 * string/ffs.c (__ffs): Define as hidden.
24865 * sysdeps/i386/ffs.c (__ffs): Likewise.
24866 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24867 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24868 * sysdeps/s390/ffs.c (__ffs): Likewise.
24869 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24870
24871 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24872
24873 * NEWS: Mention malloc probes.
24874
24875 * malloc/arena.c (new_heap): New memory_heap_new probe.
24876 (grow_heap): New memory_heap_more probe.
24877 (shrink_heap): New memory_heap_less probe.
24878 (heap_trim): New memory_heap_free probe.
24879 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24880 (systrim): New memory_sbrk_less probe.
24881 * manual/probes.texi: Document them.
24882
24883 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24884 * manual/probes.texi: Document it.
24885
24886 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24887 (__libc_realloc): Add memory_realloc_retry probe.
24888 (__libc_memalign): Add memory_memalign_retry probe.
24889 (__libc_valloc): Add memory_valloc_retry probe.
24890 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24891 (__libc_calloc): Add memory_calloc_retry probe.
24892 * manual/probes.texi: Document them.
24893
24894 * malloc/arena.c (get_free_list): Add probe
24895 memory_arena_reuse_free_list.
24896 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24897 and memory_arena_reuse.
24898 (arena_get2) [!PER_THREAD]: Likewise.
24899 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24900 memory_arena_reuse_realloc.
24901 * manual/probes.texi: Document them.
24902
24903 * malloc/malloc.c (__libc_free): Add
24904 memory_mallopt_free_dyn_thresholds probe.
24905 (__libc_mallopt): Add multiple memory_mallopt probes.
24906 * manual/probes.texi: Document them.
24907
24908 * malloc/malloc.c: Include stap-probe.h.
24909 (__libc_mallopt): Add memory_mallopt probe.
24910 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24911 * manual/probes.texi: New.
24912 * manual/Makefile (chapters): Add probes.
24913 * manual/threads.texi: Set next node.
24914
24915 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24916
24917 [BZ #15963, #13985]
24918 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24919 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24920 Add `Chinese' to `nan' entry name.
24921
24922 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24923
24924 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24925 (POLYNOMIAL): Likewise.
24926 (TAYLOR_SINCOS): Likewise.
24927 (TAYLOR_SLOW): Likewise.
24928 (__sin): Use TAYLOR_SINCOS.
24929 (__cos): Likewise.
24930 (slow): Use TAYLOR_SLOW.
24931 (sloww): Likewise.
24932 (bsloww): Likewise.
24933 (csloww): Likewise.
24934
24935 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24936
24937 * stdlib/strtod_l.c: Fix buffer overrun.
24938
24939 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24940
24941 * benchtests/Makefile (bench): Add sincos.
24942 * benchtests/bench-sincos.c: New file.
24943
24944 * math/libm-test.inc (cos_test_data): New test inputs.
24945 (sin_test_data): Likewise.
24946
24947 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24948 macro.
24949 (__sin): Use it.
24950 (__cos): Likewise.
24951 (slow1): Likewise.
24952 (slow2): Likewise.
24953 (sloww1): Likewise.
24954 (sloww2): Likewise.
24955 (bsloww1): Likewise.
24956 (bsloww2): Likewise.
24957 (cslow2): Likewise.
24958 (csloww1): Likewise.
24959 (csloww2): Likewise.
24960
24961 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24962 function.
24963 (__sin): Use it.
24964 (__cos): Likewise.
24965
24966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24967 gotos.
24968 (__cos): Likewise.
24969
24970 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24971
24972 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24973 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24974 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24975 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24976 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24977 * elf/cache.c (print_entry): Handle the new cache flags.
24978
24979 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24980 Aldy Hernandez <aldyh@redhat.com>
24981
24982 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24983 Change condition to [_SOFT_FLOAT].
24984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24994 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24995 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24996 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24997 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24998 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24999 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25000 declaration.
25001
25002 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25003
25004 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25005 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25006 (__longjmp): Use LOAD_GP to load saved GPRs.
25007 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25008 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25009 (__sigsetjmp): Use SAVE_GP to save GPRs.
25010
25011 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25012 Do not append -msoft-float.
25013 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25014
25015 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25016
25017 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25018
25019 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25020
25021 [BZ #15966]
25022 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25023 (_FPU_GETCW): Use initial "__" on variable and field names but not
25024 on macro parameter name.
25025 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25026 parentheses around reference to macro parameter.
25027
25028 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25029
25030 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25031 prototype.
25032 (ctype_startup): Use uint32_t in cast and sizeof for
25033 ctype->charnames.
25034
25035 2013-09-11 Jia Liu <proljc@gmail.com>
25036
25037 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25038 __daddr_t_defined.
25039 [__FreeBSD__]: Likewise.
25040
25041 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25042
25043 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25044 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25045 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25046 (strchr): Remove __strchr_sse42 ifunc selection.
25047 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25048 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25049
25050 2013-09-11 Will Newton <will.newton@linaro.org>
25051
25052 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25053 parameter to RES. Remove hardcoded 1000 value.
25054 * benchtests/bench-skeleton.c (main): Pass RES parameter
25055 to TIMING_INIT and multiply result by 1000.
25056
25057 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25058
25059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25060
25061 2013-09-11 Andreas Schwab <schwab@suse.de>
25062
25063 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25064 if not defined.
25065 (O_TMPFILE) [__USE_GNU]: Define.
25066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25067 Define.
25068
25069 2013-09-11 Will Newton <will.newton@linaro.org>
25070
25071 [BZ #15857]
25072 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25073 does not overflow.
25074
25075 2013-09-11 Will Newton <will.newton@linaro.org>
25076
25077 [BZ #15856]
25078 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25079 does not overflow.
25080
25081 2013-09-11 Will Newton <will.newton@linaro.org>
25082
25083 [BZ #15855]
25084 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25085 does not overflow.
25086
25087 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25088
25089 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25091 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25092 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25093 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25094
25095 2013-09-10 Allan McRae <allan@archlinux.org>
25096
25097 [BZ #15748]
25098 * manual/arith.texi (Parsing of Floats): Clarify
25099 cross-reference.
25100
25101 [BZ #15849]
25102 * manual/install.texi (Running make install): Mention
25103 --enable-pt-chown.
25104 * INSTALL: Regenerated.
25105
25106 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25107
25108 * csu/init-first.c (_init): Remove the !SHARED condition around
25109 FPU control word initialization.
25110 * elf/dl-support.c (_dl_fpu_control): New variable.
25111 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25112 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25113 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25114 * math/test-fpucw-static.c: New file.
25115 * math/test-fpucw-ieee.c: New file.
25116 * math/test-fpucw-ieee-static.c: New file.
25117 * math/Makefile (tests): Add `test-fpucw-ieee' and
25118 `$(tests-static)'.
25119 (tests-static): New variable.
25120 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25121 dependency to...
25122 [($(build-shared),yes)]
25123 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25124 ... this.
25125 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25126 New dependency.
25127
25128 2013-09-09 Allan McRae <allan@archlinux.org>
25129
25130 [BZ #15939]
25131 * manual/string.texi (Collation Functions): Fix typo in
25132 strcoll example.
25133 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25134
25135 [BZ #15893]
25136 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25137
25138 [BZ #15892]
25139 * libio/memstream.c (open_memstream): Fix memory leak.
25140 * libio/wmemstream.c (open_wmemstream): Likewise.
25141
25142 [BZ #15895]
25143 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25144
25145 2013-09-09 Will Newton <will.newton@linaro.org>
25146
25147 * malloc/Makefile: Add tst-realloc to tests.
25148 * malloc/tst-realloc.c: New file.
25149
25150 2013-09-09 Allan McRae <allan@archlinux.org>
25151
25152 [BZ #15844]
25153 * COPYING: Update from GNU website to fix FSF address.
25154 * COPYING.LIB: Likewise.
25155
25156 2013-09-06 David S. Miller <davem@davemloft.net>
25157
25158 * po/zh_TW.po: Update Chinese (traditional) translation from
25159 translation project.
25160
25161 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25162 Joseph Myers <joseph@codesourcery.com>
25163
25164 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25165 "localeinfo.h".
25166 (obstack_chunk_alloc): New macro.
25167 (obstack_chunk_free): Likewise.
25168 (record_offset): New function.
25169 (init_locale_data): Likewise.
25170 (align_locale_data): Likewise.
25171 (add_locale_empty): Likewise.
25172 (add_locale_raw_data): Likewise.
25173 (add_locale_raw_obstack): Likewise.
25174 (add_locale_string): Likewise.
25175 (add_locale_wstring): Likewise.
25176 (add_locale_uint32): Likewise.
25177 (add_locale_uint32_array): Likewise.
25178 (add_locale_char): Likewise.
25179 (start_locale_structure): Likewise.
25180 (end_locale_structure): Likewise.
25181 (start_locale_prelude): Likewise.
25182 (end_locale_prelude): Likewise.
25183 (write_locale_data): Take locale_file structure rather than an
25184 iovec.
25185 * locale/programs/locfile.h: Include "obstack.h".
25186 (struct locale_file): Change to store locale file contents instead
25187 of header.
25188 (init_locale_data): New prototype.
25189 (align_locale_data): Likewise.
25190 (add_locale_empty): Likewise.
25191 (add_locale_raw_data): Likewise.
25192 (add_locale_raw_obstack): Likewise.
25193 (add_locale_string): Likewise.
25194 (add_locale_wstring): Likewise.
25195 (add_locale_uint32): Likewise.
25196 (add_locale_uint32_array): Likewise.
25197 (add_locale_char): Likewise.
25198 (start_locale_structure): Likewise.
25199 (end_locale_structure): Likewise.
25200 (start_locale_prelude): Likewise.
25201 (end_locale_prelude): Likewise.
25202 (write_locale_data): Update prototype.
25203 * locale/programs/3level.h (struct TABLE): Remove result field.
25204 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25205 Use new locale_file interface.
25206 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25207 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25208 * locale/programs/ld-address.c (address_output): Use new
25209 locale_file interface.
25210 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25211 NO_ADD_LOCALE.
25212 (collate_finish): Don't call collseq_table_finalize.
25213 (collate_output): Use new locale_file interface.
25214 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25215 in file.
25216 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25217 (TABLE): Move defines earlier in file.
25218 (ELEMENT): Likewise.
25219 (DEFAULT): Likewise.
25220 (wctrans_table_add): Move macro and inline function earlier in
25221 file.
25222 (struct wctype_table): Move type earlier in file.
25223 (add_locale_wctype_table): New static prototype.
25224 (struct locale_ctype_t): Use logical types instead of struct iovec
25225 pointers for members.
25226 (ctype_output): Use new locale_file interface.
25227 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25228 new locale_file interface.
25229 (allocate_arrays): Update for use of new locale_file interface.
25230 * locale/programs/ld-identification.c (identification_output): Use
25231 new locale_file interface.
25232 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25233 * locale/programs/ld-messages.c (messages_output): Likewise.
25234 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25235 * locale/programs/ld-name.c (name_output): Likewise.
25236 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25237 * locale/programs/ld-paper.c (paper_output): Likewise.
25238 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25239 * locale/programs/ld-time.c (time_output): Likewise.
25240
25241 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25242
25243 * benchtests/Makefile: Add memrchr benchmark.
25244 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25245 benchmark as memrchr.
25246 * benchtests/bench-memrchr-ifunc.c: New file.
25247 * benchtests/bench-memrchr.c: New file.
25248
25249 2013-09-06 Will Newton <will.newton@linaro.org>
25250
25251 * benchtests/Makefile (string-bench): Add memcpy.
25252
25253 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25254 Cong Wang <amwang@redhat.com>
25255
25256 [BZ #15850]
25257 * sysdeps/unix/sysv/linux/bits/in.h
25258 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25259 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25260 before __USE_KERNEL_IPV6_DEFS uses.
25261 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25262 IPPROTO_BEETPH.
25263 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25264 sockaddr_in6, or ipv6_mreq.
25265
25266 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25267
25268 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25269 memory access for final bytes in some large inputs.
25270 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25271
25272 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25273
25274 * string/test-memrchr.c: New file.
25275 * string/test-memrchr-ifunc.c: New file.
25276 * string/Makefile: Add new memrchr testcase.
25277
25278 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25279
25280 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25281 fanotify_init returns EPERM.
25282
25283 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25284
25285 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25286 errors.
25287 (top level): Treat second token from macro or constant entries for
25288 allowed headers as allowed.
25289 * include/complex.h: Condition internal declarations on
25290 [!_ISOMAC].
25291 * include/fenv.h: Condition include of <stdbool.h> and internal
25292 declarations on [!_ISOMAC].
25293
25294 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25295
25296 [BZ #15923]
25297 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25298
25299 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25300
25301 * configure.in (--enable-versioning): Remove configure option.
25302 (libc_cv_asm_symver_directive): Remove configure test.
25303 (libc_cv_ld_version_script_option): Likewise.
25304 (VERSIONING): Remove variable and AC_SUBST.
25305 (DO_VERSIONING): Remove AC_DEFINE.
25306 * configure: Regenerated.
25307 * config.h.in (DO_VERSIONING): Remove macro.
25308 * Makerules [$(versioning) = yes]: Change conditionals to
25309 [$(build-shared) = yes].
25310 * config.make.in (versioning): Remove variable.
25311 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25312 [$(build-shared) = yes].
25313 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25314 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25315 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25316 [$(build-shared) = yes].
25317 * extra-lib.mk [$(versioning) = yes]: Likewise.
25318 * hurd/Makefile [$(versioning) = yes]: Likewise.
25319 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25320 [SHARED].
25321 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25322 [SHARED].
25323 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25324 [SHARED && !NO_HIDDEN].
25325 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25326 [SHARED].
25327 [SHARED && DO_VERSIONING]: Likewise..
25328 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25329 [$(build-shared) = yes].
25330 * manual/install.texi (--disable-versioning): Remove
25331 documentation.
25332 * INSTALL: Regenerated.
25333 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25334 to [SHARED].
25335 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25336 [$(build-shared) = yes].
25337 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25338 * sysdeps/i386/i686/multiarch/strstr-c.c
25339 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25340 [SHARED && !NO_HIDDEN].
25341 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25342 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25343 * sysdeps/powerpc/powerpc32/dl-machine.c
25344 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25345 * sysdeps/powerpc/powerpc32/sysdep.h
25346 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25347 to [SHARED && PIC && !NO_HIDDEN].
25348 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25349 conditional to [SHARED].
25350
25351 2013-09-04 Will Newton <will.newton@linaro.org>
25352
25353 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25354 * benchtests/bench-string.h: Include bench-timing.h instead
25355 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25356 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25357 call to HP_TIMING_DIFF_INIT.
25358 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25359 instead of hp-timing.h macros.
25360 * benchtests/bench-memchr.c: Likewise.
25361 * benchtests/bench-memcmp.c: Likewise.
25362 * benchtests/bench-memcpy.c: Likewise.
25363 * benchtests/bench-memmem.c: Likewise.
25364 * benchtests/bench-memmove.c: Likewise.
25365 * benchtests/bench-memset.c: Likewise.
25366 * benchtests/bench-rawmemchr.c: Likewise.
25367 * benchtests/bench-strcasecmp.c: Likewise.
25368 * benchtests/bench-strcasestr.c: Likewise.
25369 * benchtests/bench-strcat.c: Likewise.
25370 * benchtests/bench-strchr.c: Likewise.
25371 * benchtests/bench-strcmp.c: Likewise.
25372 * benchtests/bench-strcpy.c: Likewise.
25373 * benchtests/bench-strcpy_chk.c: Likewise.
25374 * benchtests/bench-strlen.c: Likewise.
25375 * benchtests/bench-strncasecmp.c: Likewise.
25376 * benchtests/bench-strncat.c: Likewise.
25377 * benchtests/bench-strncmp.c: Likewise.
25378 * benchtests/bench-strncpy.c: Likewise.
25379 * benchtests/bench-strnlen.c: Likewise.
25380 * benchtests/bench-strpbrk.c: Likewise.
25381 * benchtests/bench-strrchr.c: Likewise.
25382 * benchtests/bench-strspn.c: Likewise.
25383 * benchtests/bench-strstr.c: Likewise.
25384
25385 2013-09-04 Will Newton <will.newton@linaro.org>
25386
25387 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25388
25389 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25390
25391 [BZ #15427]
25392 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25393 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25394 * math/libm-test.inc (lgamma_test_data): Add more tests.
25395 * sysdeps/i386/fpu/libm-test-ulps: Update.
25396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25397
25398 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25399
25400 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25402 Add ifunc.
25403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25404 Add strcmp-sse2-unaligned
25405 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25406
25407 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25408
25409 * Versions.def (libc): Add GLIBC_2.19.
25410
25411 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25412
25413 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25414 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25415
25416 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25417
25418 [BZ #14155]
25419 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25420 intermediate calculations in recurrence.
25421 (__ieee754_ynf): Likewise.
25422 * math/libm-test.inc (jn_test_data): Do not allow spurious
25423 underflow exception. Add more tests.
25424 (yn_test_data): Add more tests.
25425 * sysdeps/i386/fpu/libm-test-ulps: Update.
25426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25427
25428 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25429
25430 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25431
25432 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25433
25434 * csu/init-first.c: Fix then/than typos.
25435 * locale/programs/ld-collate.c: Likewise.
25436 * locale/programs/linereader.h: Likewise.
25437 * manual/charset.texi: Likewise.
25438 * manual/filesys.texi: Likewise.
25439 * manual/stdio.texi: Likewise.
25440 * manual/string.texi: Likewise.
25441 * stdlib/fmtmsg.c: Likewise.
25442 * sysdeps/i386/stpncpy.S: Likewise.
25443 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25444 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25446 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25447
25448 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25449
25450 * elf/dl-open.c: Fix typos.
25451 * iconvdata/gbbig5.c: Likewise.
25452 * iconvdata/iso-2022-jp.c: Likewise.
25453 * iconv/gconv_int.h: Likewise.
25454 * iconv/loop.c: Likewise.
25455 * nis/rpcsvc/nis.h: Likewise.
25456 * resolv/ns_name.c: Likewise.
25457 * stdio-common/vfscanf.c: Likewise.
25458 * streams/stropts.h: Likewise.
25459 * sunrpc/rpc_thread.c: Likewise.
25460 * sysdeps/i386/strpbrk.S: Likewise.
25461 * sysdeps/ieee754/k_standard.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25464 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25465 * sysdeps/mach/hurd/profil.c: Likewise.
25466 * sysdeps/s390/dl-procinfo.h: Likewise.
25467 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25468 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25469 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25470 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25471 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25472
25473 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25474
25475 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25477
25478 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25479
25480 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25481 aix specific files.
25482 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25483 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25484 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25485 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25486 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25487 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25488 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25489 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25490
25491 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25492 Roland McGrath <roland@hack.frob.com>
25493
25494 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25495 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25496
25497 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25498
25499 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25500 __executable_start symbol instead of _start.
25501
25502 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25503
25504 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25505 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25506 Move macros to...
25507 * sysdeps/gnu/ldsodefs.h: ... this new file.
25508
25509 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25510 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25511 instead of ELFOSABI_LINUX.
25512
25513 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25514 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25515 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25516 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25517 Likewise.
25518 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25519 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25521 Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25523 (ibm_extended_long_double): Add ieee_nan member.
25524 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25525 (do_test): New function.
25526
25527 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25528 TEST_TRUNC.
25529 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25530 functions, renamed from truncdfsf_test, trunctfsf_test,
25531 trunctfdf_test.
25532 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25533 functions.
25534 (do_test): Run all these.
25535
25536 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25537
25538 * argp/argp-help.c: Fix typos.
25539 * argp/argp-parse.c: Likewise.
25540 * debug/backtracesyms.c: Likewise.
25541 * elf/elf.h: Likewise.
25542 * malloc/malloc.c: Likewise.
25543 * nis/nis_print.c: Likewise.
25544 * resolv/res_comp.c: Likewise.
25545 * stdlib/stdlib.h: Likewise.
25546 * sunrpc/clnt_tcp.c: Likewise.
25547 * sunrpc/clnt_udp.c: Likewise.
25548 * sunrpc/clnt_unix.c: Likewise.
25549 * sysdeps/unix/bsd/ptsname.c: Likewise.
25550 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25551 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25553 Likewise.
25554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25555 Likewise.
25556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25557 Likewise.
25558 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25559
25560 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25561
25562 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25564
25565 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25566
25567 [BZ #15897]
25568 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25569 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25570 ($(objpfx)bug-dl-leaf): New rule.
25571 ($(objpfx)bug-dl-leaf.so): Likewise.
25572 ($(objpfx)bug-dl-leaf.out): Likewise.
25573 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25574 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25575 * dlfcn/bug-dl-leaf.c: New test.
25576 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25577 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25578 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25579 (dlclose): Likewise.
25580 (dlmopen): Likewise.
25581
25582 2013-08-27 Roland McGrath <roland@hack.frob.com>
25583
25584 * include/netdb.h [!_ISOMAC]:
25585 Don't include <tls.h>.
25586 (h_errno, __libc_h_errno): Move declaration and macros out of
25587 [_LIBC_REENTRANT].
25588
25589 * include/resolv.h [_RESOLV_H_]:
25590 Don't include <tls.h>.
25591 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25592 * resolv/res_libc.c: Don't include <tls.h>.
25593 (_res): Use __attribute__ ((nocommon)) in place of
25594 __attribute__ ((section (".bss"))).
25595
25596 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25597 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25598
25599 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25600
25601 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25602 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25603
25604 * resolv/res_mkquery.c: Include <sys/time.h>.
25605
25606 * inet/ifreq.c: Moved to ...
25607 * sysdeps/unix/ifreq.c: ... here.
25608 * inet/ifreq.c: New file, true stub version.
25609
25610 * socket/sa_len.c: New file.
25611 * socket/Makefile (aux): Add it.
25612 * sysdeps/unix/sysv/linux/Makefile
25613 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25614 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25615 and #include <socket/sa_len.c>.
25616 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25617 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25618
25619 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25620 * bits/socket.h: ... here.
25621
25622 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25623 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25624 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25625
25626 2013-08-27 Andreas Schwab <schwab@suse.de>
25627
25628 [BZ #15736]
25629 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25630 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25631 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25632 * string/test-strcasecmp.c (test_main): Run tests in several
25633 locales.
25634 * string/test-strncasecmp.c (test_main): Likewise.
25635
25636 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25637 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25638 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25640 (__strncasecmp_ssse3) [PIC]: Likewise.
25641
25642 2013-08-26 Roland McGrath <roland@hack.frob.com>
25643
25644 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25645
25646 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25647 instead of explicitly declaring xdecrypt.
25648 * nis/nss_nis/nis-publickey.c: Likewise.
25649
25650 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25651
25652 [BZ #15890]
25653 * nscd/aicache.c: Include res_hconf.h.
25654 (addhstaiX): Initialize res_hconf.
25655
25656 2013-08-26 Andreas Schwab <schwab@suse.de>
25657
25658 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25659 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25660
25661 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25662
25663 * nscd/aicache.c (addhstaiX): Fix indentation.
25664
25665 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25666
25667 * configure.ac: Quote $build_pt_chown test.
25668 * configure: Regenerated.
25669
25670 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25671
25672 [BZ #15532]
25673 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25674 * math/s_cexpf.c (__cexpf): Likewise.
25675 * math/s_cexpl.c (__cexpl): Likewise.
25676 * math/libm-test.inc (cexp_test_data): Correct expected return
25677 value for NaN + i0. Add another test.
25678
25679 2013-08-22 David S. Miller <davem@davemloft.net>
25680
25681 * po/ca.po: Update Catalan translation from translation project.
25682 * po/uk.po: Add Ukrainian translations from translation project.
25683
25684 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25685
25686 [BZ #15797]
25687 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25688 is infinite, not alongside NaN test.
25689 * math/s_fdimf.c (__fdimf): Likewise.
25690 * math/s_fdiml.c (__fdiml): Likewise.
25691 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25692 errno is unchanged.
25693
25694 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25695
25696 * argp/argp-help.c: Fix typos.
25697 * crypt/speeds.c: Likewise.
25698 * csu/check_fds.c: Likewise.
25699 * elf/dl-load.c: Likewise.
25700 * elf/dl-open.c: Likewise.
25701 * elf/reldep3.c: Likewise.
25702 * elf/reldep.c: Likewise.
25703 * elf/sprof.c: Likewise.
25704 * iconv/iconv_charmap.c: Likewise.
25705 * iconv/skeleton.c: Likewise.
25706 * iconv/strtab.c: Likewise.
25707 * io/lockf64.c: Likewise.
25708 * libio/libioP.h: Likewise.
25709 * resolv/gai_notify.c: Likewise.
25710 * resolv/ns_name.c: Likewise.
25711 * resolv/ns_samedomain.c: Likewise.
25712 * resolv/res_send.c: Likewise.
25713 * stdlib/random.c: Likewise.
25714 * sunrpc/rpc/xdr.h: Likewise.
25715 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25716 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25717 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25718 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25722 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25723 * sysdeps/mach/hurd/check_fds.c: Likewise.
25724 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25725 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25726 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25728 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25729 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25730 * sysdeps/pthread/aio_notify.c: Likewise.
25731 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25732 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25733 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25735 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25736
25737 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25738
25739 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25740 version if bit_Slow_SSE4_2 is set.
25741 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25742 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25743
25744 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25745
25746 [BZ #15867]
25747 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25748 trampoline stack frame information.
25749 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25751 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25752 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25753 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25754 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25755 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25756 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25757 sa_flags value.
25758 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25759 interrupting a syscall and set with option SA_SIGINFO.
25760
25761 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25762
25763 [BZ #15531]
25764 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25765 argument is infinite.
25766 * math/s_cprojf.c (__cprojf): Likewise.
25767 * math/s_cprojl.c (__cprojl): Likewise.
25768 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25769 * math/libm-test.inc (cproj_test_data): Add more tests.
25770
25771 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25772
25773 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25774 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25775 size. Use __ffs to determine corresponding shift.
25776
25777 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25778 Roland McGrath <roland@hack.frob.com>
25779
25780 * Makefile (INSTALL): Remove trailing blank lines from output of
25781 makeinfo.
25782
25783 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25784
25785 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25786 Align 32 bit compat elf_greg to 8 bytes.
25787
25788 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25789
25790 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25791
25792 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25793
25794 * string/strcoll_l.c (coll_seq): New structure.
25795 (get_next_seq_cached): New function.
25796 (get_next_seq): New function.
25797 (do_compare): New function.
25798 (STRCOLL): Use GNU style definition. Simplify implementation
25799 by using get_next_seq, get_next_seq_cached and do_compare.
25800
25801 2013-08-16 Florian Weimer <fweimer@redhat.com>
25802
25803 [BZ #14699]
25804 CVE-2013-4237
25805 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25806 member.
25807 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25808 member.
25809 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25810 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25811 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25812 conditional.
25813 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25814 GETDENTS_64BIT_ALIGNED.
25815 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25816 * manual/filesys.texi (Reading/Closing Directory): Document
25817 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25818 strongly.
25819 * manual/conf.texi (Limits for Files): Add portability note to
25820 NAME_MAX, PATH_MAX.
25821 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25822
25823 2013-08-13 Andreas Schwab <schwab@suse.de>
25824
25825 [BZ #15749]
25826 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25827 of fabs.
25828 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25829 LDBL_MAX_EXP >= 16384]: Add tests for it.
25830
25831 2013-08-12 David S. Miller <davem@davemloft.net>
25832
25833 * version.h (RELEASE): Set to "development".
25834 (VERSION): Set to "2.18.90".
25835 * NEWS: Add 2.19 section.
25836
25837 2013-08-03 David S. Miller <davem@davemloft.net>
25838
25839 * po/ko.po: Update Korean translation from translation project.
25840
25841 2013-08-01 David S. Miller <davem@davemloft.net>
25842
25843 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25844 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25845 Bilka.
25846
25847 2013-07-30 David S. Miller <davem@davemloft.net>
25848
25849 * po/fr.po: Update French translation from translation project.
25850
25851 2013-07-28 David S. Miller <davem@davemloft.net>
25852
25853 * po/cs.po: Update Czech translation from translation project.
25854
25855 * po/sv.po: Update Swedish translation from translation project.
25856
25857 2013-07-27 David S. Miller <davem@davemloft.net>
25858
25859 * po/eo.po: Update Esperanto translation from translation project.
25860
25861 * po/vi.po: Update Vietnamese translation from translation project.
25862
25863 * po/de.po: Update German translation from translation project.
25864
25865 2013-07-26 David S. Miller <davem@davemloft.net>
25866
25867 * po/bg.po: Update Bulgarian translation from translation project.
25868
25869 * po/nl.po: Update Dutch translation from translation project.
25870 * po/pl.po: Update Polish translation from translation project.
25871 * po/ru.po: Update Russian translation from translation project.
25872
25873 2013-07-24 David S. Miller <davem@davemloft.net>
25874
25875 * po/libc.pot: Update.
25876
25877 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25878
25879 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25880 variable page size.
25881 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25882 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25883 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25884
25885 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25886
25887 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25888
25889 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25890 Andreas Schwab <schwab@suse.de>
25891 Roland McGrath <roland@hack.frob.com>
25892 Joseph Myers <joseph@codesourcery.com>
25893 Carlos O'Donell <carlos@redhat.com>
25894
25895 [BZ #15755]
25896 * config.h.in: Define HAVE_PT_CHOWN.
25897 * config.make.in (build-pt-chown): New variable.
25898 * configure.in (--enable-pt_chown): New configure option.
25899 * configure: Regenerate.
25900 * login/Makefile: Include Makeconfig. Build pt_chown only if
25901 build-pt-chown is enabled.
25902 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25903 pt_chown to fix pty ownership.
25904 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25905 CLOSE_ALL_FDS.
25906 * manual/install.texi (Configuring and compiling): Mention
25907 --enable-pt_chown. Add @findex for grantpt.
25908 * INSTALL: Regenerate.
25909
25910 2013-07-20 David S. Miller <davem@davemloft.net>
25911
25912 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25913 difference between 32-bit and 64-bit.
25914
25915 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25916
25917 [BZ #15711]
25918 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25919 Avoid system header dependency with -ffreestanding.
25920 ($(objpfx)bits/syscall%d): Likewise.
25921
25922 2013-07-13 David S. Miller <davem@davemloft.net>
25923
25924 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25925 underflows from atanl/atan2l due to bug 15319.
25926 (casinh_test_data): Likewise.
25927
25928 2013-07-07 David S. Miller <davem@davemloft.net>
25929
25930 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25931
25932 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25933
25934 * sysdeps/i386/fpu/libm-test-ulps: Update.
25935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25936
25937 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25938
25939 * configure.in (--enable-lock-elision): Fix message text.
25940 * INSTALL: Regenerate.
25941 * configure: Regenerate.
25942
25943 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25944
25945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25946
25947 2013-07-03 Andreas Jaeger <aj@suse.de>
25948
25949 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25950 define.
25951 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25952 (ptrace_peeksiginfo_args): Add.
25953 (__ptrace_peeksiginfo_flags): Add.
25954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25955 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25957
25958 2013-07-03 Allan McRae <allan@archlinux.org>
25959
25960 * sysdeps/i386/fpu/libm-test-ulps: Update.
25961
25962 2013-07-02 David S. Miller <davem@davemloft.net>
25963
25964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25965
25966 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25967
25968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25969
25970 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25971
25972 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25974
25975 2013-07-02 Andi Kleen <ak@linux.intel.com>
25976
25977 * config.h.in (ENABLE_LOCK_ELISION): Add.
25978 * configure.in (--enable-lock-elision): Add option.
25979 * manual/install.texi: Document --enable lock elision.
25980 * configure: Regenerate
25981 * INSTALL: Regenerate.
25982
25983 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25984
25985 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25986 SSE4.2 strcasecmp for libc.a.
25987 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25988
25989 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25990
25991 [BZ #13304]
25992 * soft-fp/op-common.h (_FP_FMA): New macro.
25993 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25994 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25995 (_FP_MUL_MEAT_1_imm): ... here.
25996 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25997 (_FP_MUL_MEAT_1_wide): ... here.
25998 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25999 (_FP_MUL_MEAT_1_hard): ... here.
26000 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26001 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26002 (_FP_MUL_MEAT_2_wide): ... here.
26003 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26004 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26005 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26006 (_FP_MUL_MEAT_2_gmp): ... here.
26007 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26008 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26009 (_FP_MUL_MEAT_4_wide): ... here.
26010 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26011 (_FP_MUL_MEAT_4_gmp): ... here.
26012 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26013 (_FP_WFRACBITS_DW_S): Likewise.
26014 (_FP_WFRACXBITS_DW_S): Likewise.
26015 (_FP_HIGHBIT_DW_S): Likewise.
26016 (FP_FMA_S): Likewise.
26017 (_FP_FRAC_HIGH_DW_S): Likewise.
26018 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26019 (_FP_WFRACBITS_DW_D): Likewise.
26020 (_FP_WFRACXBITS_DW_D): Likewise.
26021 (_FP_HIGHBIT_DW_D): Likewise.
26022 (FP_FMA_D): Likewise.
26023 (_FP_FRAC_HIGH_DW_D): Likewise.
26024 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26025 (_FP_WFRACBITS_DW_E): Likewise.
26026 (_FP_WFRACXBITS_DW_E): Likewise.
26027 (_FP_HIGHBIT_DW_E): Likewise.
26028 (FP_FMA_E): Likewise.
26029 (_FP_FRAC_HIGH_DW_E): Likewise.
26030 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26031 (_FP_WFRACBITS_DW_Q): Likewise.
26032 (_FP_WFRACXBITS_DW_Q): Likewise.
26033 (_FP_HIGHBIT_DW_Q): Likewise.
26034 (FP_FMA_Q): Likewise.
26035 (_FP_FRAC_HIGH_DW_Q): Likewise.
26036 * soft-fp/fmasf4.c: New file.
26037 * soft-fp/fmadf4.c: Likewise.
26038 * soft-fp/fmatf4.c: Likewise.
26039
26040 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26041
26042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26043 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26044 Silvermont.
26045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26046 macro.
26047 (index_Slow_SSE4_2): Likewise.
26048 (index_Prefer_PMINUB_for_stringop): Likewise.
26049 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26050 bit_Slow_SSE4_2 is set.
26051 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26053
26054 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26055
26056 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26057 rtld_global._dl_hwcap2.
26058 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26059 POWER8.
26060 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26061 POWER8 feature descriptions defined in _dl_hwcap2.
26062 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26063 string handling for POWER8 feature bits.
26064 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26065 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26066 _dl_powerpc_cap_flags.
26067 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26068 * sysdeps/powerpc/rtld-global-offsets.sym
26069 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26070 _dl_hwcap2 in the rtld_global_ro structure.
26071
26072 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26073
26074 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26075 hardware capabilities in support of AT_HWCAP2.
26076 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26077 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26078 GLRO(dl_hwcap2).
26079 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26080 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26081 explicitly the unknown a_type display mechanism is used.
26082 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26083 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26084 struct member.
26085 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26086 to macro prototype for AT_HWCAP2 support.
26087 * sysdeps/i386/dl-procinfo.h: Likewise.
26088 * sysdeps/s390/dl-procinfo.h: Likewise.
26089 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26090 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26091 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26092 return -1 for unknown a_type display fallback.
26093 * sysdeps/sparc/dl-procinfo.h: Likewise.
26094 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26095 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26096
26097 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26098
26099 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26100 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26101
26102 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26103
26104 [BZ #12492]
26105 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26106 mprotect making __stack_prot writable.
26107
26108 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26109 Joseph Myers <joseph@codesourcery.com>
26110
26111 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26112 as being properly aligned.
26113
26114 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26115
26116 * dlfcn/modstatic5.c: New file.
26117 * dlfcn/tststatic5.c: New file.
26118 * dlfcn/Makefile (tests): Add tststatic5.
26119 (tests-static): Likewise.
26120 (modules-names): Add modstatic5.
26121 (tststatic5-ENV): New variable.
26122 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26123
26124 [BZ #15022]
26125 * elf/dl-support.c (_dl_main_map): New variable.
26126 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26127 (_dl_nns, _dl_load_adds): Set to 1.
26128 (_dl_initial_searchlist): Refer to _dl_main_map.
26129 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26130 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26131 call to _dl_get_origin.
26132 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26133 around call_map.
26134 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26135 * dlfcn/modstatic3.c: New file.
26136 * dlfcn/tststatic3.c: New file.
26137 * dlfcn/tststatic4.c: New file.
26138 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26139 (tests-static): Likewise.
26140 (modules-names): Add modstatic3.
26141 (tststatic3-ENV, tststatic4-ENV): New variables.
26142 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26143 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26144
26145 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26146
26147 * configure.in (CC): Require GCC version 4.4 or later.
26148 * configure: Regenerated.
26149 * manual/install.texi (Tools for Compilation): Update GCC version
26150 requirement.
26151 * INSTALL: Regenerated.
26152
26153 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26154
26155 [BZ #15674]
26156 * string/test-memcmp.c (check2): New.
26157 (main): Call check2.
26158
26159 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26160
26161 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26162
26163 [BZ #15022]
26164 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26165 over to...
26166 (dl_open_worker) [!SHARED]: ... here.
26167
26168 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26169
26170 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26171
26172 2013-06-25 Richard Henderson <rth@redhat.com>
26173
26174 * locale/programs/locarchive.c: Include <libc-internal.h>
26175
26176 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26177
26178 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26179 trailing whitespace removed.
26180
26181 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26182
26183 [BZ #10283]
26184 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26185 * locale/programs/locarchive.c: Include libc-mmap.h.
26186 (prepare_address_space): Take two new outputs (the mmap base and len).
26187 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26188 values.
26189 (create_archive): Declare new mmap base and len values for
26190 prepare_address_space, and store the result in ah.
26191 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26192 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26193 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26194 Declare new mmap base and len values for
26195 prepare_address_space, and store the result in new_ah.
26196 (open_archive): Declare new mmap base and len values for
26197 prepare_address_space, and store the result in ah.
26198 (close_archive): If ah->mmap_base is not NULL, use that and
26199 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26200 * sysdeps/generic/libc-mmap.h: New file.
26201
26202 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26203
26204 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26205 (ALIGN_UP): Likewise.
26206 (PTR_ALIGN_DOWN): Likewise.
26207 (PTR_ALIGN_UP): Likewise.
26208
26209 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26210
26211 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26212 entry mapped to PPC_PLATFORM_POWER8.
26213 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26214 POWER8.
26215 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26216 (_dl_string_platform): Add case for exporting platform position for
26217 POWER8.
26218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26219 search path to sysdeps/powerpc/powerpc32/power8 directory.
26220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26221 search path to sysdeps/powerpc/powerpc64/power8 directory.
26222 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26223 power7 directories.
26224 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26225 power7 directories.
26226
26227 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26228
26229 * INSTALL: Regenerate.
26230
26231 * nscd/connections.c (nscd_init): Fix comment.
26232
26233 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26234
26235 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26236
26237 [BZ #15667]
26238 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26239 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26240
26241 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26242
26243 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26244 DL_DST_REQ_STATIC.
26245 (DL_DST_REQ_STATIC): Remove macro.
26246
26247 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26248
26249 [BZ #7006]
26250 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26251 with a shift of 0 bits.
26252
26253 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26254
26255 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26256 $(tststatic-ENV).
26257
26258 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26259
26260 [BZ #15655]
26261 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26262
26263 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26264
26265 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26266 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26267 accepts -fno-tree-loop-distribute-patterns.
26268 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26269 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26270 recursive call.
26271 * string/memset.c (memset): Likewise.
26272 * string/test-memmove.c (simple_memmove): Disable loop transformation
26273 to library calls.
26274 * string/test-memset.c (simple_memset): Likewise.
26275 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26276 * benchtests/bench-memset.c (simple_memset): Likewise.
26277 * configure: Regenerated.
26278
26279 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26280
26281 * math/test-misc.c (main): Ignore fesetround failure when failures
26282 of subsequent rounding tests would be ignored.
26283
26284 [BZ #15654]
26285 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26286 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26287 * math/fegetenv.c (__fegetenv): Return 0.
26288 * math/fegetexcept.c (fegetexcept): Return 0.
26289 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26290 FE_TONEAREST.
26291 * math/feholdexcpt.c (feholdexcept): Return 0.
26292 * math/fesetenv.c (__fesetenv): Return 0.
26293 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26294 argument FE_TONEAREST.
26295 * math/feupdateenv.c (__feupdateenv): Return 0.
26296 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26297
26298 2013-06-18 Roland McGrath <roland@hack.frob.com>
26299
26300 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26301 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26302 ($(objpfx)rtld-%.os rules): Use them.
26303
26304 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26305
26306 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26307 fields.
26308
26309 2013-06-17 Roland McGrath <roland@hack.frob.com>
26310
26311 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26312 length of target pattern, then descending length of dependency pattern.
26313 * configure.in (AWK): Require gawk 3.1.2 or newer.
26314 * manual/install.texi (Tools for Compilation): Say that we do.
26315 * configure: Regenerated.
26316
26317 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26318 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26319 * scripts/sysd-rules.awk: ... this new script.
26320 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26321 than a glob-style pattern.
26322
26323 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26324
26325 * math/test-misc.c (main): Do not treat incorrectly rounded
26326 conversions as failure unless ROUNDING_TESTS passes.
26327
26328 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26329
26330 [BZ #15631]
26331 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26332 restore exception state around main square root computation, then
26333 check for inexactness explicitly.
26334
26335 * math/libm-test.inc (fma_test_data): Add another test.
26336
26337 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26338
26339 * manual/threads.texi (Non-POSIX Extensions): New document
26340 node. Document pthread_getattr_default_np and
26341 pthread_setattr_default_np.
26342
26343 * Versions.def (libpthread): Add GLIBC_2.18.
26344 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26346 Likewise.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26348 Likewise.
26349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26350 Likewise.
26351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26352 Likewise.
26353 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26354 Likewise.
26355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26356 Likewise.
26357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26358 Likewise.
26359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26360 Likewise.
26361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26362 Likewise.
26363
26364 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26365
26366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26367 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26368
26369 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26370 H.J. Lu <hjl.tools@gmail.com>
26371
26372 [BZ #15627]
26373 * sysdeps/x86_64/rtld-memset.c: Remove file.
26374 * sysdeps/x86_64/rtld-memset.S: New file.
26375
26376 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26377
26378 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26379 (test_in_one_mode): Take arguments for whether the rounding mode
26380 is supported for each floating-point type.
26381 (do_test): Pass new arguments to test_in_one_mode using
26382 ROUNDING_TESTS.
26383
26384 2013-06-13 Roland McGrath <roland@hack.frob.com>
26385
26386 * posix/tst-waitid.c (do_test): Distinguish different instances of
26387 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26388 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26389 before entering the kernel for waitpid.
26390
26391 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26392
26393 * NEWS: Fix note on clock function precision. Text by Roland
26394 McGrath.
26395
26396 2013-06-13 Roland McGrath <roland@hack.frob.com>
26397
26398 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26399 it into place only when and if the sanity check passes.
26400
26401 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26402
26403 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26404 output for whether conversion result is exact. Take argument
26405 indicating whether type is IBM long double.
26406 (round_for_all): Change need_exact field to ibm_ld.
26407 * stdlib/tst-strtod-round.c (struct exactness): New type.
26408 (struct test): Change bool ld_ok field to struct exactness exact.
26409 (TEST): Update all definitions for change to field.
26410 (tests): Regenerate array contents.
26411 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26412 field value. Check for IBM long double here.
26413 (do_test): Update calls to test_in_one_mode.
26414
26415 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26416
26417 [BZ #12515]
26418 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26419 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26420
26421 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26422
26423 [BZ #15605]
26424 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26425 generated by the compiler on loop optimizations.
26426 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26427 general definitions.
26428
26429 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26430
26431 * math/bug-nextafter.c: Include <math-tests.h>.
26432 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26433 the relevant type.
26434 * math/bug-nexttoward.c: Include <math-tests.h>.
26435 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26436 the relevant type.
26437 * math/test-misc.c: Include <math-tests.h>.
26438 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26439 the relevant type.
26440
26441 2013-06-12 Andreas Jaeger <aj@suse.de>
26442
26443 * po/ia.po: Update Interlingua translation from translation
26444 project.
26445
26446 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26447
26448 * include/fenv.h: Include stdbool.h.
26449 (struct rm_ctx): New structure.
26450 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26451 Define macro.
26452 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26453 (SET_RESTORE_ROUNDF): Likewise.
26454 (SET_RESTORE_ROUNDL): Likewise.
26455 (SET_RESTORE_ROUND_NOEX): Likewise.
26456 (SET_RESTORE_ROUND_NOEXF): Likewise.
26457 (SET_RESTORE_ROUND_NOEXL): Likewise.
26458 (SET_RESTORE_ROUND_53BIT): Likewise.
26459 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26460 (libc_feresetround_noexf_ctx): Likewise.
26461 (libc_feresetround_noexl_ctx): Likewise.
26462 (libc_feholdsetround_53bit_ctx): Likewise.
26463 (libc_feresetround_53bit_ctx): Likewise.
26464 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26465 (libc_feholdexcept_setround_sse_ctx): New function.
26466 (libc_fesetenv_sse_ctx): Likewise.
26467 (libc_feupdateenv_sse_ctx): Likewise.
26468 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26469 (libc_feholdexcept_setround_387_ctx): Likewise.
26470 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26471 (libc_feholdsetround_387_prec_ctx): Likewise.
26472 (libc_feholdsetround_387_ctx): Likewise.
26473 (libc_feholdsetround_387_53bit_ctx): Likewise.
26474 (libc_feholdsetround_sse_ctx): Likewise.
26475 (libc_feresetround_sse_ctx): Likewise.
26476 (libc_feresetround_387_ctx): Likewise.
26477 (libc_feupdateenv_387_ctx): Likewise.
26478 (libc_feholdexcept_setroundf_ctx): Define macro.
26479 (libc_fesetenvf_ctx): Likewise.
26480 (libc_feupdateenvf_ctx): Likewise.
26481 (libc_feholdsetroundf_ctx): Likewise.
26482 (libc_feresetroundf_ctx): Likewise.
26483 (libc_feholdexcept_setround_ctx): Likewise.
26484 (libc_fesetenv_ctx): Likewise.
26485 (libc_feupdateenv_ctx): Likewise.
26486 (libc_feholdsetround_ctx): Likewise.
26487 (libc_feresetround_ctx): Likewise.
26488 (libc_feholdexcept_setroundl_ctx): Likewise.
26489 (libc_feupdateenvl_ctx): Likewise.
26490 (libc_feholdsetroundl_ctx): Likewise.
26491 (libc_feresetroundl_ctx): Likewise.
26492 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26493 (libc_feresetround_53bit_ctx): Likewise.
26494
26495 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26496
26497 * locale/iso-639.def: Convert to UTF-8.
26498
26499 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26500
26501 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26502 (EXCEPTION_TESTS_double): Likewise.
26503 (EXCEPTION_TESTS_long_double): Likewise.
26504 (EXCEPTION_TESTS): Likewise.
26505 * math/libm-test.inc (test_exceptions): Only test exceptions if
26506 EXCEPTION_TESTS (FLOAT).
26507
26508 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26509
26510 * benchtests/Makefile (string-bench): Add strcpy_chk and
26511 stpcpy_chk.
26512 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26513 * benchtests/bench-stpcpy_chk.c: New file.
26514 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26515 * benchtests/bench-strcpy_chk.c: New file.
26516 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26517 code.
26518 (do_test): Likewise.
26519
26520 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26521
26522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26523 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26524 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26525 with tabs where appropriate.
26526 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26527 dl-procinfo.h.
26528 [PPC_PLATFORM_PPC440]: Likewise.
26529 [PPC_PLATFORM_PPC464]: Likewise.
26530 [PPC_PLATFORM_PPC476]: Likewise.
26531 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26532 ppc464, and ppc476 platform strings merging from ports/
26533 dl-procinfo.h.
26534
26535 2013-06-11 Andreas Schwab <schwab@suse.de>
26536
26537 [BZ #14991]
26538 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26539 (from_ucs4_idx): Regenerate.
26540 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26541 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26542 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26543 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26544 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26545 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26546 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26547 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26548 from FROM_LOOP and TO_LOOP specific macros.
26549 (BODY): Handle combining characters.
26550 * iconvdata/BIG5HKSCS.irreversible: Update.
26551 * iconvdata/BIG5HKSCS.precomposed: New file.
26552 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26553 characters.
26554 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26555
26556 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26557
26558 * include/sys/time.h: Fix indentation and add copyright header.
26559
26560 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26561 (do_test): Likewise.
26562 * string/test-memchr.c (do_one_test): Likewise.
26563 (do_test): Likewise.
26564 * string/test-memcmp.c (do_one_test): Likewise.
26565 (do_test): Likewise.
26566 * string/test-memcpy.c (do_one_test): Likewise.
26567 (do_test): Likewise.
26568 * string/test-memmem.c (do_one_test): Likewise.
26569 (do_test): Likewise.
26570 (do_random_tests): Likewise.
26571 * string/test-memmove.c (do_one_test): Likewise.
26572 (do_test): Likewise.
26573 * string/test-memset.c (do_one_test): Likewise.
26574 (do_test): Likewise.
26575 * string/test-rawmemchr.c (do_one_test): Likewise.
26576 (do_test): Likewise.
26577 * string/test-strcasecmp.c (do_one_test): Likewise.
26578 (do_test): Likewise.
26579 * string/test-strcasestr.c (do_one_test): Likewise.
26580 (do_test): Likewise.
26581 * string/test-strcat.c (do_one_test): Likewise.
26582 (do_test): Likewise.
26583 * string/test-strchr.c (do_one_test): Likewise.
26584 (do_test): Likewise.
26585 * string/test-strcmp.c (do_one_test): Likewise.
26586 (do_test): Likewise.
26587 * string/test-strcpy.c (do_one_test): Likewise.
26588 (do_test): Likewise.
26589 * string/test-string.h: Likewise.
26590 (test_init): Likewise.
26591 * string/test-strlen.c (do_one_test): Likewise.
26592 (do_test): Likewise.
26593 * string/test-strncasecmp.c (do_one_test): Likewise.
26594 (do_test): Likewise.
26595 * string/test-strncat.c (do_one_test): Likewise.
26596 (do_test): Likewise.
26597 * string/test-strncmp.c (do_one_test): Likewise.
26598 (do_test_limit): Likewise.
26599 (do_test): Likewise.
26600 * string/test-strncpy.c (do_one_test): Likewise.
26601 (do_test): Likewise.
26602 * string/test-strnlen.c (do_one_test): Likewise.
26603 (do_test): Likewise.
26604 * string/test-strpbrk.c (do_one_test): Likewise.
26605 (do_test): Likewise.
26606 * string/test-strrchr.c (do_one_test): Likewise.
26607 (do_test): Likewise.
26608 * string/test-strspn.c (do_one_test): Likewise.
26609 (do_test): Likewise.
26610 * string/test-strstr.c (do_one_test): Likewise.
26611 (do_test): Likewise.
26612
26613 * benchtests/Makefile (string-bench): Add string benchmarks.
26614 * benchtests/bench-bcopy-ifunc.c: New file.
26615 * benchtests/bench-bcopy.c: New file.
26616 * benchtests/bench-bzero-ifunc.c: New file.
26617 * benchtests/bench-bzero.c: New file.
26618 * benchtests/bench-memccpy-ifunc.c: New file.
26619 * benchtests/bench-memccpy.c: New file.
26620 * benchtests/bench-memchr-ifunc.c: New file.
26621 * benchtests/bench-memchr.c: New file.
26622 * benchtests/bench-memcmp-ifunc.c: New file.
26623 * benchtests/bench-memcmp.c: New file.
26624 * benchtests/bench-memmem-ifunc.c: New file.
26625 * benchtests/bench-memmem.c: New file.
26626 * benchtests/bench-memmove-ifunc.c: New file.
26627 * benchtests/bench-memmove.c: New file.
26628 * benchtests/bench-mempcpy-ifunc.c: New file.
26629 * benchtests/bench-mempcpy.c: New file.
26630 * benchtests/bench-memset-ifunc.c: New file.
26631 * benchtests/bench-memset.c: New file.
26632 * benchtests/bench-rawmemchr-ifunc.c: New file.
26633 * benchtests/bench-rawmemchr.c: New file.
26634 * benchtests/bench-stpcpy-ifunc.c: New file.
26635 * benchtests/bench-stpcpy.c: New file.
26636 * benchtests/bench-stpncpy-ifunc.c: New file.
26637 * benchtests/bench-stpncpy.c: New file.
26638 * benchtests/bench-strcasecmp-ifunc.c: New file.
26639 * benchtests/bench-strcasecmp.c: New file.
26640 * benchtests/bench-strcasestr-ifunc.c: New file.
26641 * benchtests/bench-strcasestr.c: New file.
26642 * benchtests/bench-strcat-ifunc.c: New file.
26643 * benchtests/bench-strcat.c: New file.
26644 * benchtests/bench-strchr-ifunc.c: New file.
26645 * benchtests/bench-strchr.c: New file.
26646 * benchtests/bench-strchrnul-ifunc.c: New file.
26647 * benchtests/bench-strchrnul.c: New file.
26648 * benchtests/bench-strcmp-ifunc.c: New file.
26649 * benchtests/bench-strcmp.c: New file.
26650 * benchtests/bench-strcpy-ifunc.c: New file.
26651 * benchtests/bench-strcpy.c: New file.
26652 * benchtests/bench-strcspn-ifunc.c: New file.
26653 * benchtests/bench-strcspn.c: New file.
26654 * benchtests/bench-strlen-ifunc.c: New file.
26655 * benchtests/bench-strlen.c: New file.
26656 * benchtests/bench-strncasecmp-ifunc.c: New file.
26657 * benchtests/bench-strncasecmp.c: New file.
26658 * benchtests/bench-strncat-ifunc.c: New file.
26659 * benchtests/bench-strncat.c: New file.
26660 * benchtests/bench-strncmp-ifunc.c: New file.
26661 * benchtests/bench-strncmp.c: New file.
26662 * benchtests/bench-strncpy-ifunc.c: New file.
26663 * benchtests/bench-strncpy.c: New file.
26664 * benchtests/bench-strnlen-ifunc.c: New file.
26665 * benchtests/bench-strnlen.c: New file.
26666 * benchtests/bench-strpbrk-ifunc.c: New file.
26667 * benchtests/bench-strpbrk.c: New file.
26668 * benchtests/bench-strrchr-ifunc.c: New file.
26669 * benchtests/bench-strrchr.c: New file.
26670 * benchtests/bench-strspn-ifunc.c: New file.
26671 * benchtests/bench-strspn.c: New file.
26672 * benchtests/bench-strstr-ifunc.c: New file.
26673 * benchtests/bench-strstr.c: New file.
26674
26675 * benchtests/Makefile: Disable parallel execution of targets.
26676 (string-bench): Add memcpy.
26677 (benchset): New variable to store a list of benchmark sets.
26678 (bench-func): Renamed from bench.
26679 (bench-set): New target.
26680 (bench): Depend on bench-func and bench-set.
26681 * benchtests/README: Add section on benchmark sets.
26682 * benchtests/bench-memcpy-ifunc.c: New file.
26683 * benchtests/bench-memcpy.c: New file.
26684 * benchtests/bench-string.h: New file.
26685
26686 2013-06-11 Andreas Schwab <schwab@suse.de>
26687
26688 [BZ #15577]
26689 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26690 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26691 values in the triple.
26692 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26693 terminator in the group key.
26694
26695 2013-06-11 Andreas Jaeger <aj@suse.de>
26696
26697 * po/zh_TW.po: Update Chinese (traditional) translation from
26698 translation project.
26699
26700 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26701
26702 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26703 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26704 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26706 (clock_getcpuclockid): Likewise.
26707 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26708 Add weak_alias and libc_hidden_def.
26709 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26710 * rt/clock_gettime.c (clock_gettime): Rename to
26711 __clock_gettime. Add weak_alias and libc_hidden_def.
26712 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26713 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26714 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26715 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26716 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26717 Likewise.
26718 * rt/clock_settime.c (clock_settime): Rename to
26719 __clock_settime. Add weak_alias and libc_hidden_def.
26720 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26721
26722 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26723
26724 * mach/err_boot.sub: Remove trailing whitespace.
26725 * mach/err_ipc.sub: Likewise.
26726 * mach/err_mach.sub: Likewise.
26727
26728 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26729 (ROUNDING_TESTS_double): Likewise.
26730 (ROUNDING_TESTS_long_double): Likewise.
26731 (ROUNDING_TESTS): Likewise.
26732 * math/libm-test.inc: Include <math-tests.h>.
26733 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26734 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26735 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26736 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26737
26738 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26739
26740 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26741 of assigning.
26742
26743 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26744
26745 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26746 otherwise empty TRANS lines.
26747 * sysdeps/gnu/errlist.c: Regenerated.
26748
26749 * catgets/gencat.c (error_print): Use (void) in function
26750 definition.
26751 * crypt/crypt_util.c (__init_des): Likewise.
26752 * crypt/speeds.c (Stop): Likewise.
26753 (main): Likewise.
26754 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26755 * inet/ruserpass.c (token): Likewise.
26756 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26757 * intl/localealias.c (extend_alias_table): Likewise.
26758 * intl/plural-exp.c (init_germanic_plural): Likewise.
26759 * libio/fcloseall.c (__fcloseall): Likewise.
26760 * libio/genops.c (_IO_flush_all): Likewise.
26761 (_IO_flush_all_linebuffered): Likewise.
26762 (_IO_cleanup): Likewise.
26763 (_IO_iter_begin): Likewise.
26764 (_IO_iter_end): Likewise.
26765 (_IO_list_lock): Likewise.
26766 (_IO_list_unlock): Likewise.
26767 (_IO_list_resetlock): Likewise.
26768 * libio/getchar.c (getchar): Likewise.
26769 * libio/getchar_u.c (getchar_unlocked): Likewise.
26770 * libio/getwchar.c (getwchar): Likewise.
26771 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26772 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26773 * login/getpt.c (__getpt): Likewise.
26774 * login/tst-utmp.c (main): Likewise.
26775 * malloc/hooks.c (__malloc_check_init): Likewise.
26776 * malloc/malloc.c (__malloc_stats): Likewise.
26777 * malloc/mtrace.c (tr_break): Likewise.
26778 (mtrace): Likewise.
26779 (muntrace): Likewise.
26780 * misc/fstab.c (endfsent): Likewise.
26781 * misc/getclktck.c (__getclktck): Likewise.
26782 * misc/getdtsz.c (__getdtablesize): Likewise.
26783 * misc/gethostid.c (gethostid): Likewise.
26784 * misc/getpagesize.c (__getpagesize): Likewise.
26785 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26786 (__get_nprocs): Likewise.
26787 (__get_phys_pages): Likewise.
26788 (__get_avphys_pages): Likewise.
26789 * misc/getttyent.c (getttyent): Likewise.
26790 (setttyent): Likewise.
26791 (endttyent): Likewise.
26792 * misc/getusershell.c (getusershell): Likewise.
26793 (endusershell): Likewise.
26794 (setusershell): Likewise.
26795 (initshells): Likewise.
26796 * misc/hsearch.c (__hdestroy): Likewise.
26797 * misc/sync.c (sync): Likewise.
26798 * misc/syslog.c (closelog_internal): Likewise.
26799 (closelog): Likewise.
26800 * misc/ttyslot.c (ttyslot): Likewise.
26801 * misc/vhangup.c (vhangup): Likewise.
26802 * posix/fork.c (__fork): Likewise.
26803 * posix/getegid.c (__getegid): Likewise.
26804 * posix/geteuid.c (__geteuid): Likewise.
26805 * posix/getgid.c (__getgid): Likewise.
26806 * posix/getpid.c (__getpid): Likewise.
26807 * posix/getppid.c (__getppid): Likewise.
26808 * posix/getuid.c (__getuid): Likewise.
26809 * posix/pause.c (pause): Likewise.
26810 * posix/setpgrp.c (setpgrp): Likewise.
26811 * posix/setsid.c (__setsid): Likewise.
26812 * posix/test-vfork.c (noop): Likewise.
26813 * resolv/gethnamaddr.c (_endhtent): Likewise.
26814 (_gethtent): Likewise.
26815 (ht_endhostent): Likewise.
26816 (gethostent): Likewise.
26817 (dns_service): Likewise.
26818 * stdlib/drand48.c (drand48): Likewise.
26819 * stdlib/lrand48.c (lrand48): Likewise.
26820 * stdlib/mrand48.c (mrand48): Likewise.
26821 * stdlib/rand.c (rand): Likewise.
26822 * stdlib/random.c (__random): Likewise.
26823 * stdlib/setenv.c (clearenv): Likewise.
26824 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26825 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26826 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26827 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26828 (__get_nprocs): Likewise.
26829 (__get_phys_pages): Likewise.
26830 (__get_avphys_pages): Likewise.
26831 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26832 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26833 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26834 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26835 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26836 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26837 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26838 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26839 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26840 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26841 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26842 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26843 * sysdeps/posix/clock.c (clock): Likewise.
26844 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26845 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26846 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26847 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26848 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26850 (__get_nprocs_conf): Likewise.
26851 (__get_phys_pages): Likewise.
26852 (__get_avphys_pages): Likewise.
26853 * time/clock.c (clock): Likewise.
26854 * time/tzset.c (__tzname_max): Likewise.
26855
26856 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26857
26858 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26859 (__bswap_32): Do not use "register".
26860 * crypt/crypt.c (_ufc_doit_r): Likewise.
26861 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26862 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26863 * gmon/gmon.c (__monstartup): Likewise.
26864 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26865 * hurd/hurdmalloc.c (more_memory): Likewise.
26866 (malloc): Likewise.
26867 (free): Likewise.
26868 (realloc): Likewise.
26869 (malloc_fork_prepare): Likewise.
26870 (malloc_fork_parent): Likewise.
26871 (malloc_fork_child): Likewise.
26872 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26873 (_svcauth_des): Likewise.
26874 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26875 * inet/inet_net.c (inet_network): Likewise.
26876 * inet/inet_netof.c (inet_netof): Likewise.
26877 * inet/rcmd.c (__validuser2_sa): Likewise.
26878 * io/fts.c (fts_open): Likewise.
26879 (fts_load): Likewise.
26880 (fts_close): Likewise.
26881 (fts_read): Likewise.
26882 (fts_children): Likewise.
26883 (fts_build): Likewise.
26884 (fts_stat): Likewise.
26885 (fts_sort): Likewise.
26886 (fts_alloc): Likewise.
26887 (fts_lfree): Likewise.
26888 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26889 (_IO_file_xsgetn): Likewise.
26890 (_IO_file_xsgetn_mmap): Likewise.
26891 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26892 (_IO_cookie_write): Likewise.
26893 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26894 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26895 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26896 * malloc/obstack.c (_obstack_begin): Likewise.
26897 (_obstack_begin_1): Likewise.
26898 (_obstack_newchunk): Likewise.
26899 (_obstack_allocated_p): Likewise.
26900 (obstack_free): Likewise.
26901 (_obstack_memory_used): Likewise.
26902 * misc/getttyent.c (getttynam): Likewise.
26903 (getttyent): Likewise.
26904 (skip): Likewise.
26905 (value): Likewise.
26906 * misc/getusershell.c (initshells): Likewise.
26907 * misc/syslog.c (__vsyslog_chk): Likewise.
26908 * misc/ttyslot.c (ttyslot): Likewise.
26909 * nis/nis_hash.c (__nis_hash): Likewise.
26910 * posix/fnmatch_loop.c (FCT): Likewise.
26911 * posix/getconf.c (print_all): Likewise.
26912 (main): Likewise.
26913 * posix/getopt.c (exchange): Likewise.
26914 * posix/glob.c (globfree): Likewise.
26915 (prefix_array): Likewise.
26916 (__glob_pattern_type): Likewise.
26917 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26918 (NS_GET32): Likewise.
26919 (NS_PUT16): Likewise.
26920 (NS_PUT32): Likewise.
26921 * resolv/gethnamaddr.c (getanswer): Likewise.
26922 (gethostbyname2): Likewise.
26923 (gethostbyaddr): Likewise.
26924 (_gethtent): Likewise.
26925 (_gethtbyname2): Likewise.
26926 (_gethtbyaddr): Likewise.
26927 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26928 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26929 * resolv/res_init.c (__res_vinit): Likewise.
26930 (net_mask): Likewise.
26931 * resolv/res_mkquery.c (outchar): Likewise.
26932 (PRINT): Likewise.
26933 * stdio-common/printf_fp.c (outchar): Likewise.
26934 (PRINT): Likewise.
26935 * stdio-common/printf_fphex.c (outchar): Likewise.
26936 (PRINT): Likewise.
26937 * stdio-common/printf_size.c (outchar): Likewise.
26938 (PRINT): Likewise.
26939 * stdio-common/test_rdwr.c (main): Likewise.
26940 * stdio-common/tfformat.c (matches): Likewise.
26941 * stdio-common/vfprintf.c (outchar): Likewise.
26942 (printf_unknown): Likewise.
26943 (buffered_vfprintf): Likewise.
26944 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26945 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26946 (ReadFile): Likewise.
26947 * stdlib/qsort.c (SWAP): Likewise.
26948 (_quicksort): Likewise.
26949 * stdlib/setenv.c (__add_to_environ): Likewise.
26950 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26951 * stdlib/strtol_l.c (__strtol_l): Likewise.
26952 * stdlib/tst-strtod.c (main): Likewise.
26953 * stdlib/tst-strtol.c (main): Likewise.
26954 * stdlib/tst-strtoll.c (main): Likewise.
26955 * string/bits/string2.h (__strcmp_cc): Likewise.
26956 (__strcmp_cg): Likewise.
26957 (__strcspn_c1): Likewise.
26958 (__strcspn_c2): Likewise.
26959 (__strcspn_c3): Likewise.
26960 (__strspn_c1): Likewise.
26961 (__strspn_c2): Likewise.
26962 (__strspn_c3): Likewise.
26963 (__strsep_1c): Likewise.
26964 (__strsep_2c): Likewise.
26965 (__strsep_3c): Likewise.
26966 * string/memccpy.c (__memccpy): Likewise.
26967 * string/stpcpy.c (__stpcpy): Likewise.
26968 * string/strcmp.c (strcmp): Likewise.
26969 * string/strrchr.c (strrchr): Likewise.
26970 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26971 Likewise.
26972 * sysdeps/mach/hurd/getcwd.c
26973 (_hurd_canonicalize_directory_name_internal): Likewise.
26974 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26975 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26976 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26977 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26978 Likewise, in both definitions.
26979 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26980 definitions.
26981 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26982 64] (__bswap_64): Likewise.
26983 * time/test_time.c (main): Likewise.
26984 * time/tzfile.c (__tzfile_read): Likewise.
26985 (__tzfile_compute): Likewise.
26986 * time/tzset.c (__tzset_parse_tz): Likewise.
26987 (tzset_internal): Likewise.
26988 (compute_change): Likewise.
26989 * wcsmbs/wcscat.c (__wcscat): Likewise.
26990 * wcsmbs/wcschr.c (wcschr): Likewise.
26991 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26992 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26993 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26994 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26995 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26996 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26997 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26998 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26999 * wcsmbs/wmemset.c (wmemset): Likewise.
27000
27001 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27002
27003 * scripts/config.guess: Update to version 2013-05-16.
27004 * scripts/config.sub: Update to version 2013-04-24.
27005 * scripts/install-sh: Update to version 2011-11-20.07.
27006 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27007 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27008
27009 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27010
27011 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27012 * elf/sln.c: Likewise.
27013 * hurd/hurd/ioctl.h: Likewise.
27014 * hurd/hurdmalloc.c: Likewise.
27015 * hurd/xattr.c: Likewise.
27016 * include/shlib-compat.h: Likewise.
27017 * inet/ruserpass.c: Likewise.
27018 * libio/iofgets_u.c: Likewise.
27019 * libio/iofgetws_u.c: Likewise.
27020 * locale/programs/ld-identification.c: Likewise.
27021 * locale/programs/ld-time.c: Likewise.
27022 * mach/msg-destroy.c: Likewise.
27023 * nss/nss_files/files-netgrp.c: Likewise.
27024 * resolv/res_data.c: Likewise.
27025 * soft-fp/op-1.h: Likewise.
27026 * soft-fp/op-2.h: Likewise.
27027 * soft-fp/op-4.h: Likewise.
27028 * soft-fp/op-common.h: Likewise.
27029 * stdio-common/printf_fphex.c: Likewise.
27030 * stdlib/strtod_l.c: Likewise.
27031 * sunrpc/rpc/clnt.h: Likewise.
27032 * sysdeps/generic/framestate.c: Likewise.
27033 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27034 * sysdeps/i386/bsd-setjmp.S: Likewise.
27035 * sysdeps/i386/__longjmp.S: Likewise.
27036 * sysdeps/i386/setjmp.S: Likewise.
27037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27038 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27040 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27041 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27042 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27044 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27045 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27046 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27047 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27050 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27051 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27052 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27053 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27054 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27055 * sysdeps/ieee754/support.c: Likewise.
27056 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27057 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27058 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27059 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27060 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27061 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27062 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27063 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27064 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27065 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27066 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27067 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27068 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27069 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27070 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27071 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27072 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27074
27075 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27076
27077 * posix/transbug.c: Remove executable mode.
27078
27079 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27080
27081 * crypt/speeds.c: Remove trailing whitespace.
27082 * dlfcn/default.c: Likewise.
27083 * elf/ifuncdep2.c: Likewise.
27084 * elf/ifuncmain1.c: Likewise.
27085 * elf/ifuncmain1vis.c: Likewise.
27086 * elf/testobj.h: Likewise.
27087 * elf/tst-stackguard1.c: Likewise.
27088 * gmon/sys/gmon.h: Likewise.
27089 * hurd/hurdmsg.c: Likewise.
27090 * hurd/new-fd.c: Likewise.
27091 * hurd/ports-get.c: Likewise.
27092 * iconvdata/ibm1008_420.c: Likewise.
27093 * inet/tst-getni1.c: Likewise.
27094 * inet/tst-getni2.c: Likewise.
27095 * libio/ioungetc.c: Likewise.
27096 * libio/wfiledoalloc.c: Likewise.
27097 * manual/libm-err-tab.pl: Likewise.
27098 * math/w_dremf.c: Likewise.
27099 * misc/ftruncate.c: Likewise.
27100 * posix/bug-glob2.c: Likewise.
27101 * posix/tst-pcre.c: Likewise.
27102 * posix/wait4.c: Likewise.
27103 * resolv/README: Likewise.
27104 * resolv/res_debug.h: Likewise.
27105 * resolv/tst-inet_ntop.c: Likewise.
27106 * setjmp/bug269-setjmp.c: Likewise.
27107 * soft-fp/extended.h: Likewise.
27108 * soft-fp/op-1.h: Likewise.
27109 * soft-fp/op-2.h: Likewise.
27110 * soft-fp/op-4.h: Likewise.
27111 * soft-fp/op-8.h: Likewise.
27112 * soft-fp/testit.c: Likewise.
27113 * stdio-common/bug16.c: Likewise.
27114 * stdlib/random.c: Likewise.
27115 * sunrpc/rpcsvc/rquota.x: Likewise.
27116 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27117 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27119 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27120 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27121 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27122 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27124 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27125 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27126 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27127 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27129 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27130 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27131 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27134 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27135 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27136 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27137 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27138 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27139 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27141 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27142 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27145 * sysdeps/ieee754/s_lib_version.c: Likewise.
27146 * sysdeps/mach/hurd/check_fds.c: Likewise.
27147 * sysdeps/mach/hurd/getsockname.c: Likewise.
27148 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27149 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27150 * sysdeps/powerpc/bits/link.h: Likewise.
27151 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27152 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27153 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27154 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27155 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27156 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27157 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27158 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27159 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27160 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27161 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27162 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27163 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27164 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27165 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27166 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27167 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27168 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27169 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27170 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27171 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27172 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27174 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27175 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27176 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27177 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27178 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27179 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27180 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27181 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27182 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27183 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27184 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27185 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27186 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27187 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27188 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27189 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27190 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27191 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27192 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27193 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27194 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27195 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27196 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27197 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27198 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27199 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27200 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27203 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27204 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27205 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27206 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27207 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27208 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27209 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27210 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27211 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27212 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27213 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27214 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27215 * sysdeps/powerpc/sysdep.h: Likewise.
27216 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27217 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27218 * sysdeps/sh/dl-trampoline.S: Likewise.
27219 * sysdeps/sh/memset.S: Likewise.
27220 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27221 * sysdeps/sh/strlen.S: Likewise.
27222 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27223 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27224 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27225 * sysdeps/sparc/sparc32/rem.S: Likewise.
27226 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27227 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27228 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27229 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27230 * sysdeps/sparc/sparc32/urem.S: Likewise.
27231 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27232 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27233 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27234 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27235 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27236 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27237 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27238 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27239 * sysdeps/unix/bsd/times.c: Likewise.
27240 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27241 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27245 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27246 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27247 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27248 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27249 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27250 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27251 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27252 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27253 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27254 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27255 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27256 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27257 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27258 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27259 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27260 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27261 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27262 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27263 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27264 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27265 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27266 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27267 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27268 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27269 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27270 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27271 * sysdeps/x86_64/strcspn.S: Likewise.
27272
27273 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27274
27275 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27276 generated file. Regenerate properly from gen-translit.pl.
27277 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27278 locale/C-translit.h.
27279
27280 2013-06-05 Andreas Schwab <schwab@suse.de>
27281
27282 [BZ #15100]
27283 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27284 week as 6 instead of -1.
27285 * time/tst-strptime.c (day_tests): Add test case.
27286
27287 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27288
27289 * sysdeps/generic/math_private.h
27290 (libc_feholdexcept_setround_53bit): Replace with
27291 libc_feholdsetround_53bit.
27292 (libc_feupdateenv_53bit): Replace with
27293 libc_feresetround_53bit.
27294 (SET_RESTORE_ROUND_53BIT): Adjust.
27295
27296 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27297
27298 * string/test-strchrnul.c: Add copyright header.
27299
27300 * posix/tst-getaddrinfo4.c: Increase test timeout.
27301
27302 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27303
27304 [BZ #15536]
27305 * math/libm-test.inc (MAX_EXP): Remove
27306 (MIN_EXP): Define.
27307 (ulp): Use MIN_EXP - MANT_DIG.
27308 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27309
27310 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27311
27312 * po/be.po: Revert last change.
27313 * po/zh_CN.po: Likewise.
27314 * po/header.pot: Likewise.
27315
27316 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27317
27318 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27319 link-libc-deps to empty as target-specific variable.
27320 * Makerules (link-libc-args): New variable.
27321 (libc-for-link): Likewise.
27322 (link-libc-deps): Likewise.
27323 (lib%.so): Depend on $(link-libc-deps). Link with
27324 $(link-libc-args).
27325 (build-module): Link with $(link-libc-args).
27326 (build-module-asneeded): Likewise.
27327 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27328 list of objects.
27329 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27330 target-specific variable.
27331 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27332 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27333 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27334 libc.
27335 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27336 libc and ld.so.
27337 ($(objpfx)libpcprofile.so): Likewise.
27338 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27339 libc_nonshared.a.
27340 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27341 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27342 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27343 $(link-libc-deps).
27344 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27345 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27346 * login/Makefile ($(objpfx)libutil.so): Likewise.
27347 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27348 * math/Makefile ($(objpfx)libm.so): Likewise.
27349 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27350 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27351 variable instead of depending directly on libc.
27352 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27353 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27354 $(link-libc-deps).
27355 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27356 libc.
27357 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27358 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27359 ($(objpfx)libanl.so): Likewise.
27360 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27361 ld.so.
27362 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27363 $(link-libc-deps).
27364 * sysdeps/i386/fpu/Makefile: Remove file.
27365 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27366 ($(objpfx)libm.so): Remove dependency on ld.so.
27367
27368 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27369
27370 [BZ # 15553]
27371 * nis/yp_xdr.c (XDRMAXNAME): Define.
27372 (XDRMAXRECORD): Define.
27373 (xdr_domainname): Use XDRMAXNAME.
27374 (xdr_mapname): Likewise.
27375 (xdr_peername): Likewise.
27376 (xdr_keydat): Use XDRMAXRECORD.
27377 (xdr_valdat): Likewise.
27378
27379 2013-05-30 Jeff Law <law@redhat.com>
27380
27381 [BZ #14256]
27382 * manual/errno.texi (ESTALE): Update to account for more than
27383 just NFS file systems.
27384 * sysdeps/gnu/errlist.c: Regenerated.
27385
27386 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27387
27388 [BZ #15465]
27389 * elf/Makefile (tests): Add tst-null-argv.
27390 (modules-names): Add tst-null-argv-lib.
27391 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27392 (tst-null-argv-ENV): Set environment for tst-null-argv.
27393 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27394 (RTLD_PROGNAME): New macro.
27395 * elf/tst-null-argv.c: New test case.
27396 * elf/tst-null-argv-lib.c: Library for test case.
27397 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27398 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27399 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27400 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27401 * elf/dl-init.c (call_init): Likewise.
27402 (_dl_init): Likewise.
27403 * elf/dl-load.c (print_search_path): Likewise.
27404 (_dl_map_object): Likewise.
27405 * elf/dl-lookup.c (do_lookup_x): Likewise.
27406 (add_dependency): Likewise.
27407 (_dl_lookup_symbol_x): Likewise.
27408 (_dl_debug_bindings): Likewise.
27409 * elf/dl-open.c (_dl_show_scope): Likewise.
27410 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27411 * elf/dl-version.c (match_symbol): Likewise.
27412 (_dl_check_map_versions): Likewise.
27413 * elf/rtld.c (dl_main): Likewise.
27414 (print_unresolved): Use RTLD_PROGNAME.
27415 (print_missing_version): Likewise.
27416 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27417 (elf_machine_rela): Likewise.
27418 * sysdeps/powerpc/powerpc32/dl-machine.c
27419 (__process_machine_rela): Likewise.
27420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27421 Likewise.
27422 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27423 Likewise.
27424 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27425 Likewise.
27426 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27428 Likewise.
27429 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27430 Likewise.
27431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27432
27433 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27434
27435 * po/be.po: Add descriptive title.
27436 * po/zh_CN.po: Likewise.
27437 * po/header.pot: Likewise.
27438
27439 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27440
27441 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27442 error message.
27443 (enlarge_archive): Likewise.
27444
27445 2013-05-28 Ben North <ben@redfrontdoor.org>
27446
27447 * manual/arith.texi (frexp): It is the magnitude of the return
27448 value which lies in [0.5, 1), not the return value itself.
27449
27450 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27451
27452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27453
27454 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27455
27456 * stdio-common/bug26.c (main): Correct fscanf template.
27457
27458 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27459 declare _dl_skip_args.
27460
27461 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27462 Don't declare.
27463
27464 * manual/platform.texi: Add missing @end deftypefun.
27465
27466 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27467
27468 [BZ #15529]
27469 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27470 bit of mantissa of 2^16382.
27471 * math/libm-test.inc (hypot_test_data): Add more tests.
27472
27473 * math/libm-test.inc: Add drem and pow10 to list of tested
27474 functions.
27475 (pow10_test): New function.
27476 (drem_test): Likewise.
27477 (drem_test_tonearest): Likewise.
27478 (drem_test_towardzero): Likewise.
27479 (drem_test_downward): Likewise.
27480 (drem_test_upward): Likewise.
27481 (main): Call the new functions.
27482
27483 * math/libm-test.inc (finite_test_data): Remove.
27484 (finite_test): Run tests from isfinite_test_data.
27485 (gamma_test_data): Remove.
27486 (gamma_test): Run tests from lgamma_test_data.
27487 * sysdeps/i386/fpu/libm-test-ulps: Update.
27488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27489
27490 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27491
27492 * manual/platform.texi: Add PowerPC PPR function set documentation.
27493 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27494 implementation.
27495
27496 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27497
27498 * math/libm-test.inc (MAX_EXP): Define.
27499 (ULPDIFF): Define.
27500 (ulp): New function.
27501 (check_float_internal): Use ULPDIFF.
27502 (cpow_test): Disable failing test.
27503 (check_ulp): Test ulp() implemetnation.
27504 (main): Call check_ulp before starting tests.
27505
27506 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27507
27508 * math/gen-libm-test.pl (generate_testfile): Do not handle
27509 START_DATA and END_DATA.
27510 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27511 END_DATA.
27512 (acos_tonearest_test_data): Likewise.
27513 (acos_towardzero_test_data): Likewise.
27514 (acos_downward_test_data): Likewise.
27515 (acos_upward_test_data): Likewise.
27516 (acosh_test_data): Likewise.
27517 (asin_test_data): Likewise.
27518 (asin_tonearest_test_data): Likewise.
27519 (asin_towardzero_test_data): Likewise.
27520 (asin_downward_test_data): Likewise.
27521 (asin_upward_test_data): Likewise.
27522 (asinh_test_data): Likewise.
27523 (atan_test_data): Likewise.
27524 (atanh_test_data): Likewise.
27525 (atan2_test_data): Likewise.
27526 (cabs_test_data): Likewise.
27527 (cacos_test_data): Likewise.
27528 (cacosh_test_data): Likewise.
27529 (carg_test_data): Likewise.
27530 (casin_test_data): Likewise.
27531 (casinh_test_data): Likewise.
27532 (catan_test_data): Likewise.
27533 (catanh_test_data): Likewise.
27534 (cbrt_test_data): Likewise.
27535 (ccos_test_data): Likewise.
27536 (ccosh_test_data): Likewise.
27537 (ceil_test_data): Likewise.
27538 (cexp_test_data): Likewise.
27539 (cimag_test_data): Likewise.
27540 (clog_test_data): Likewise.
27541 (clog10_test_data): Likewise.
27542 (conj_test_data): Likewise.
27543 (copysign_test_data): Likewise.
27544 (cos_test_data): Likewise.
27545 (cos_tonearest_test_data): Likewise.
27546 (cos_towardzero_test_data): Likewise.
27547 (cos_downward_test_data): Likewise.
27548 (cos_upward_test_data): Likewise.
27549 (cosh_test_data): Likewise.
27550 (cosh_tonearest_test_data): Likewise.
27551 (cosh_towardzero_test_data): Likewise.
27552 (cosh_downward_test_data): Likewise.
27553 (cosh_upward_test_data): Likewise.
27554 (cpow_test_data): Likewise.
27555 (cproj_test_data): Likewise.
27556 (creal_test_data): Likewise.
27557 (csin_test_data): Likewise.
27558 (csinh_test_data): Likewise.
27559 (csqrt_test_data): Likewise.
27560 (ctan_test_data): Likewise.
27561 (ctan_tonearest_test_data): Likewise.
27562 (ctan_towardzero_test_data): Likewise.
27563 (ctan_downward_test_data): Likewise.
27564 (ctan_upward_test_data): Likewise.
27565 (ctanh_test_data): Likewise.
27566 (ctanh_tonearest_test_data): Likewise.
27567 (ctanh_towardzero_test_data): Likewise.
27568 (ctanh_downward_test_data): Likewise.
27569 (ctanh_upward_test_data): Likewise.
27570 (erf_test_data): Likewise.
27571 (erfc_test_data): Likewise.
27572 (exp_test_data): Likewise.
27573 (exp_tonearest_test_data): Likewise.
27574 (exp_towardzero_test_data): Likewise.
27575 (exp_downward_test_data): Likewise.
27576 (exp_upward_test_data): Likewise.
27577 (exp10_test_data): Likewise.
27578 (exp2_test_data): Likewise.
27579 (expm1_test_data): Likewise.
27580 (fabs_test_data): Likewise.
27581 (fdim_test_data): Likewise.
27582 (finite_test_data): Likewise.
27583 (floor_test_data): Likewise.
27584 (fma_test_data): Likewise.
27585 (fma_towardzero_test_data): Likewise.
27586 (fma_downward_test_data): Likewise.
27587 (fma_upward_test_data): Likewise.
27588 (fmax_test_data): Likewise.
27589 (fmin_test_data): Likewise.
27590 (fmod_test_data): Likewise.
27591 (fpclassify_test_data): Likewise.
27592 (frexp_test_data): Likewise.
27593 (gamma_test_data): Likewise.
27594 (hypot_test_data): Likewise.
27595 (ilogb_test_data): Likewise.
27596 (isfinite_test_data): Likewise.
27597 (isgreater_test_data): Likewise.
27598 (isgreaterequal_test_data): Likewise.
27599 (isinf_test_data): Likewise.
27600 (isless_test_data): Likewise.
27601 (islessequal_test_data): Likewise.
27602 (islessgreater_test_data): Likewise.
27603 (isnan_test_data): Likewise.
27604 (isnormal_test_data): Likewise.
27605 (issignaling_test_data): Likewise.
27606 (isunordered_test_data): Likewise.
27607 (j0_test_data): Likewise.
27608 (j1_test_data): Likewise.
27609 (jn_test_data): Likewise.
27610 (ldexp_test_data): Likewise.
27611 (lgamma_test_data): Likewise.
27612 (lrint_test_data): Likewise.
27613 (lrint_tonearest_test_data): Likewise.
27614 (lrint_towardzero_test_data): Likewise.
27615 (lrint_downward_test_data): Likewise.
27616 (lrint_upward_test_data): Likewise.
27617 (llrint_test_data): Likewise.
27618 (llrint_tonearest_test_data): Likewise.
27619 (llrint_towardzero_test_data): Likewise.
27620 (llrint_downward_test_data): Likewise.
27621 (llrint_upward_test_data): Likewise.
27622 (log_test_data): Likewise.
27623 (log10_test_data): Likewise.
27624 (log1p_test_data): Likewise.
27625 (log2_test_data): Likewise.
27626 (logb_test_data): Likewise.
27627 (logb_downward_test_data): Likewise.
27628 (lround_test_data): Likewise.
27629 (llround_test_data): Likewise.
27630 (modf_test_data): Likewise.
27631 (nearbyint_test_data): Likewise.
27632 (nextafter_test_data): Likewise.
27633 (nexttoward_test_data): Likewise.
27634 (pow_test_data): Likewise.
27635 (pow_tonearest_test_data): Likewise.
27636 (pow_towardzero_test_data): Likewise.
27637 (pow_downward_test_data): Likewise.
27638 (pow_upward_test_data): Likewise.
27639 (remainder_test_data): Likewise.
27640 (remainder_tonearest_test_data): Likewise.
27641 (remainder_towardzero_test_data): Likewise.
27642 (remainder_downward_test_data): Likewise.
27643 (remainder_upward_test_data): Likewise.
27644 (remquo_test_data): Likewise.
27645 (rint_test_data): Likewise.
27646 (rint_tonearest_test_data): Likewise.
27647 (rint_towardzero_test_data): Likewise.
27648 (rint_downward_test_data): Likewise.
27649 (rint_upward_test_data): Likewise.
27650 (round_test_data): Likewise.
27651 (scalb_test_data): Likewise.
27652 (scalbn_test_data): Likewise.
27653 (scalbln_test_data): Likewise.
27654 (signbit_test_data): Likewise.
27655 (sin_test_data): Likewise.
27656 (sin_tonearest_test_data): Likewise.
27657 (sin_towardzero_test_data): Likewise.
27658 (sin_downward_test_data): Likewise.
27659 (sin_upward_test_data): Likewise.
27660 (sincos_test_data): Likewise.
27661 (sinh_test_data): Likewise.
27662 (sinh_tonearest_test_data): Likewise.
27663 (sinh_towardzero_test_data): Likewise.
27664 (sinh_downward_test_data): Likewise.
27665 (sinh_upward_test_data): Likewise.
27666 (sqrt_test_data): Likewise.
27667 (tan_test_data): Likewise.
27668 (tan_tonearest_test_data): Likewise.
27669 (tan_towardzero_test_data): Likewise.
27670 (tan_downward_test_data): Likewise.
27671 (tan_upward_test_data): Likewise.
27672 (tanh_test_data): Likewise.
27673 (tgamma_test_data): Likewise.
27674 (trunc_test_data): Likewise.
27675 (y0_test_data): Likewise.
27676 (y1_test_data): Likewise.
27677 (yn_test_data): Likewise.
27678 (significand_test_data): Likewise.
27679
27680 * math/gen-libm-test.pl (@functions): Remove variable.
27681 (generate_testfile): Don't handle START and END lines.
27682 * math/libm-test.inc (START): New macro.
27683 (END): Likewise.
27684 (END_COMPLEX): Likewise.
27685 (acos_test): Use END macro without arguments.
27686 (acos_test_tonearest): Likewise.
27687 (acos_test_towardzero): Likewise.
27688 (acos_test_downward): Likewise.
27689 (acos_test_upward): Likewise.
27690 (acosh_test): Likewise.
27691 (asin_test): Likewise.
27692 (asin_test_tonearest): Likewise.
27693 (asin_test_towardzero): Likewise.
27694 (asin_test_downward): Likewise.
27695 (asin_test_upward): Likewise.
27696 (asinh_test): Likewise.
27697 (atan_test): Likewise.
27698 (atanh_test): Likewise.
27699 (atan2_test): Likewise.
27700 (cabs_test): Likewise.
27701 (cacos_test): Use END_COMPLEX macro without arguments.
27702 (cacosh_test): Likewise.
27703 (carg_test): Use END macro without arguments.
27704 (casin_test): Use END_COMPLEX macro without arguments.
27705 (casinh_test): Likewise.
27706 (catan_test): Likewise.
27707 (catanh_test): Likewise.
27708 (cbrt_test): Use END macro without arguments.
27709 (ccos_test): Use END_COMPLEX macro without arguments.
27710 (ccosh_test): Likewise.
27711 (ceil_test): Use END macro without arguments.
27712 (cexp_test): Use END_COMPLEX macro without arguments.
27713 (cimag_test): Use END macro without arguments.
27714 (clog_test): Use END_COMPLEX macro without arguments.
27715 (clog10_test): Likewise.
27716 (conj_test): Likewise.
27717 (copysign_test): Use END macro without arguments.
27718 (cos_test): Likewise.
27719 (cos_test_tonearest): Likewise.
27720 (cos_test_towardzero): Likewise.
27721 (cos_test_downward): Likewise.
27722 (cos_test_upward): Likewise.
27723 (cosh_test): Likewise.
27724 (cosh_test_tonearest): Likewise.
27725 (cosh_test_towardzero): Likewise.
27726 (cosh_test_downward): Likewise.
27727 (cosh_test_upward): Likewise.
27728 (cpow_test): Use END_COMPLEX macro without arguments.
27729 (cproj_test): Likewise.
27730 (creal_test): Use END macro without arguments.
27731 (csin_test): Use END_COMPLEX macro without arguments.
27732 (csinh_test): Likewise.
27733 (csqrt_test): Likewise.
27734 (ctan_test): Likewise.
27735 (ctan_test_tonearest): Likewise.
27736 (ctan_test_towardzero): Likewise.
27737 (ctan_test_downward): Likewise.
27738 (ctan_test_upward): Likewise.
27739 (ctanh_test): Likewise.
27740 (ctanh_test_tonearest): Likewise.
27741 (ctanh_test_towardzero): Likewise.
27742 (ctanh_test_downward): Likewise.
27743 (ctanh_test_upward): Likewise.
27744 (erf_test): Use END macro without arguments.
27745 (erfc_test): Likewise.
27746 (exp_test): Likewise.
27747 (exp_test_tonearest): Likewise.
27748 (exp_test_towardzero): Likewise.
27749 (exp_test_downward): Likewise.
27750 (exp_test_upward): Likewise.
27751 (exp10_test): Likewise.
27752 (exp2_test): Likewise.
27753 (expm1_test): Likewise.
27754 (fabs_test): Likewise.
27755 (fdim_test): Likewise.
27756 (finite_test): Likewise.
27757 (floor_test): Likewise.
27758 (fma_test): Likewise.
27759 (fma_test_towardzero): Likewise.
27760 (fma_test_downward): Likewise.
27761 (fma_test_upward): Likewise.
27762 (fmax_test): Likewise.
27763 (fmin_test): Likewise.
27764 (fmod_test): Likewise.
27765 (fpclassify_test): Likewise.
27766 (frexp_test): Likewise.
27767 (gamma_test): Likewise.
27768 (hypot_test): Likewise.
27769 (ilogb_test): Likewise.
27770 (isfinite_test): Likewise.
27771 (isgreater_test): Likewise.
27772 (isgreaterequal_test): Likewise.
27773 (isinf_test): Likewise.
27774 (isless_test): Likewise.
27775 (islessequal_test): Likewise.
27776 (islessgreater_test): Likewise.
27777 (isnan_test): Likewise.
27778 (isnormal_test): Likewise.
27779 (issignaling_test): Likewise.
27780 (isunordered_test): Likewise.
27781 (j0_test): Likewise.
27782 (j1_test): Likewise.
27783 (jn_test): Likewise.
27784 (ldexp_test): Likewise.
27785 (lgamma_test): Likewise.
27786 (lrint_test): Likewise.
27787 (lrint_test_tonearest): Likewise.
27788 (lrint_test_towardzero): Likewise.
27789 (lrint_test_downward): Likewise.
27790 (lrint_test_upward): Likewise.
27791 (llrint_test): Likewise.
27792 (llrint_test_tonearest): Likewise.
27793 (llrint_test_towardzero): Likewise.
27794 (llrint_test_downward): Likewise.
27795 (llrint_test_upward): Likewise.
27796 (log_test): Likewise.
27797 (log10_test): Likewise.
27798 (log1p_test): Likewise.
27799 (log2_test): Likewise.
27800 (logb_test): Likewise.
27801 (logb_test_downward): Likewise.
27802 (lround_test): Likewise.
27803 (llround_test): Likewise.
27804 (modf_test): Likewise.
27805 (nearbyint_test): Likewise.
27806 (nextafter_test): Likewise.
27807 (nexttoward_test): Likewise.
27808 (pow_test): Likewise.
27809 (pow_test_tonearest): Likewise.
27810 (pow_test_towardzero): Likewise.
27811 (pow_test_downward): Likewise.
27812 (pow_test_upward): Likewise.
27813 (remainder_test): Likewise.
27814 (remainder_test_tonearest): Likewise.
27815 (remainder_test_towardzero): Likewise.
27816 (remainder_test_downward): Likewise.
27817 (remainder_test_upward): Likewise.
27818 (remquo_test): Likewise.
27819 (rint_test): Likewise.
27820 (rint_test_tonearest): Likewise.
27821 (rint_test_towardzero): Likewise.
27822 (rint_test_downward): Likewise.
27823 (rint_test_upward): Likewise.
27824 (round_test): Likewise.
27825 (scalb_test): Likewise.
27826 (scalbn_test): Likewise.
27827 (scalbln_test): Likewise.
27828 (signbit_test): Likewise.
27829 (sin_test): Likewise.
27830 (sin_test_tonearest): Likewise.
27831 (sin_test_towardzero): Likewise.
27832 (sin_test_downward): Likewise.
27833 (sin_test_upward): Likewise.
27834 (sincos_test): Likewise.
27835 (sinh_test): Likewise.
27836 (sinh_test_tonearest): Likewise.
27837 (sinh_test_towardzero): Likewise.
27838 (sinh_test_downward): Likewise.
27839 (sinh_test_upward): Likewise.
27840 (sqrt_test): Likewise.
27841 (tan_test): Likewise.
27842 (tan_test_tonearest): Likewise.
27843 (tan_test_towardzero): Likewise.
27844 (tan_test_downward): Likewise.
27845 (tan_test_upward): Likewise.
27846 (tanh_test): Likewise.
27847 (tgamma_test): Likewise.
27848 (trunc_test): Likewise.
27849 (y0_test): Likewise.
27850 (y1_test): Likewise.
27851 (yn_test): Likewise.
27852 (significand_test): Likewise.
27853
27854 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27855
27856 [BZ #15381]
27857 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27858
27859 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27860
27861 [BZ #14894]
27862 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27863 __ppc_mdoio and __ppc_mdoom.
27864 * manual/platform.texi: Document new functions __ppc_yield,
27865 __ppc_mdoio and __ppc_mdoom.
27866
27867 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27868
27869 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27870 (main): Mention "tls" pseudo-hwcap is legacy.
27871 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27872
27873 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27874
27875 * math/gen-libm-test.pl (parse_args): Output only string of
27876 arguments as text for test name, not full call or descriptions of
27877 tests for extra outputs.
27878 (generate_testfile): Do not pass function name to parse_args.
27879 Generate this_func variable from START.
27880 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27881 field to arg_str.
27882 (struct test_ff_f_data): Likewise.
27883 (test_ff_f_data_nexttoward): Likewise.
27884 (struct test_fi_f_data): Likewise.
27885 (struct test_fl_f_data): Likewise.
27886 (struct test_if_f_data): Likewise.
27887 (struct test_fff_f_data): Likewise.
27888 (struct test_c_f_data): Likewise.
27889 (struct test_f_f1_data): Likewise. Remove field extra_name.
27890 (struct test_fF_f1_data): Likewise.
27891 (struct test_ffI_f1_data): Likewise.
27892 (struct test_c_c_data): Rename test_name field to arg_str.
27893 (struct test_cc_c_data): Likewise.
27894 (struct test_f_i_data): Likewise.
27895 (struct test_ff_i_data): Likewise.
27896 (struct test_f_l_data): Likewise.
27897 (struct test_f_L_data): Likewise.
27898 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27899 and extra2_name.
27900 (COMMON_TEST_SETUP): New macro.
27901 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27902 (COMMON_TEST_CLEANUP): Likewise.
27903 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27904 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27905 macros.
27906 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27907 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27908 macros.
27909 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27910 (RUN_TEST_fff_f): Take argument string. Call new setup and
27911 cleanup macros.
27912 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27913 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27914 macros.
27915 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27916 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27917 macros.
27918 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27919 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27920 cleanup macros.
27921 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27922 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27923 cleanup macros.
27924 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27925 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27926 cleanup macros.
27927 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27928 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27929 macros.
27930 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27931 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27932 macros.
27933 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27934 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27935 macros.
27936 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27937 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27938 cleanup macros.
27939 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27940 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27941 cleanup macros.
27942 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27943 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27944 macros.
27945 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27946 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27947 cleanup macros.
27948 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27949 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27950 macros.
27951 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27952 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27953 macros.
27954 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27955 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27956 cleanup macros.
27957 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27958
27959 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27960
27961 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27962 to _sifields.sigfault.
27963 (si_addr_lsb): Define new macro.
27964 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27966 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27967
27968 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27969
27970 [BZ #15441]
27971 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27972 returns -1.
27973 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27974 null return -1.
27975 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27976 loading the domain.
27977
27978 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27979
27980 * math/gen-libm-test.pl (parse_args): Do not include expected
27981 result in test name.
27982 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27984 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27985 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27986 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27988
27989 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27990
27991 * benchtests/Makefile: Sort function entries.
27992
27993 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27994 tanh, asinh, acosh, atanh.
27995 * benchtests/acos-inputs: New file.
27996 * benchtests/acosh-inputs: New file.
27997 * benchtests/asin-inputs: New file.
27998 * benchtests/asinh-inputs: New file.
27999 * benchtests/atanh-inputs: New file.
28000 * benchtests/cosh-inputs: New file.
28001 * benchtests/log-inputs: New file.
28002 * benchtests/sinh-inputs: New file.
28003 * benchtests/tanh-inputs: New file.
28004
28005 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28006
28007 [BZ #15339]
28008 * posix/tst-getaddrinfo4.c: New test.
28009 * posix/Makefile (tests): Add it.
28010
28011 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28012
28013 [BZ #15339]
28014 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28015 when no services were used.
28016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28017 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28018
28019 2013-05-21 Andreas Schwab <schwab@suse.de>
28020
28021 [BZ #15014]
28022 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28023 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28024 successful.
28025 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28026 redundant variable declarations and reallocation of buffer when
28027 parsing as IPv6 address. Always set NSS status when called from
28028 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28029 buffer too small. Correct computation of needed size.
28030 * nss/Makefile (tests): Add test-digits-dots.
28031 * nss/test-digits-dots.c: New test.
28032
28033 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28034
28035 * benchtests/Makefile: Remove instructions for adding
28036 benchmark tests.
28037 * benchtests/README: New file to explain how to execute and
28038 enhance the benchmark tests.
28039
28040 2013-05-21 Andreas Schwab <schwab@suse.de>
28041
28042 [BZ #15493]
28043 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28044 * setjmp/tst-sigsetjmp.c: New test.
28045
28046 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28047
28048 * sysdeps/x86_64/memset.S (memset): New implementation.
28049 (__bzero): Likewise.
28050 (__memset_tail): New function.
28051
28052 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28053
28054 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28055 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28056 __memcpy_sse2_unaligned ifunc selection.
28057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28058 Add memcpy-sse2-unaligned.S.
28059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28060 Add: __memcpy_sse2_unaligned.
28061
28062 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28063
28064 [BZ #15490]
28065 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28066 math_force_eval before restoring floating-point envrionment.
28067 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28068 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28069 Likewise.
28070 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28071 <math_private.h>.
28072 (__nearbyintl): Use math_force_eval before restoring
28073 floating-point environment.
28074 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28075
28076 * math/gen-libm-test.pl (special_functions): Remove.
28077 (parse_args): Don't handle TEST_extra. Handle functions with no
28078 return value.
28079 * math/libm-test.inc (struct test_sincos_data): Replace with
28080 struct test_fFF_11_data.
28081 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28082 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28083 (sincos_test_data): Change element type to struct
28084 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28085 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28086 RUN_TEST_LOOP_sincos.
28087 * math/README.libm-test: Don't mention special handling of
28088 individual functions.
28089 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28091 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28092 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28093 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28095
28096 * math/gen-libm-test.pl (get_variable): Remove function.
28097 (parse_args): Don't show pointer parameters to call in test
28098 names. Use "extra output N" in test names for extra outputs
28099 rather than naming variables.
28100
28101 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28102
28103 [BZ #15488]
28104 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28105 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28106 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28107 double tests.
28108 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28109 disable.
28110 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28111 check_long_double.
28112
28113 * math/gen-libm-test.pl (@tests): Remove variable.
28114 ($count): Likewise.
28115 (new_test): Remove function.
28116 (show_exceptions): New function.
28117 (special_functions): Use show_exceptions instead of new_test.
28118 (parse_args): Likewise.
28119 (generate_testfile): Pass only function name in generated call to
28120 print_max_error or print_complex_max_error.
28121 (get_ulps): Do not handle complex tests specially.
28122 (output_test): Rename to ...
28123 (get_all_ulps_for_test): ... this. Return a string rather than
28124 printing to a file. Require ulps to be present.
28125 (output_ulps): Generate arrays rather than #defines.
28126 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28127 (struct ulp_data): New type.
28128 (BUILD_COMPLEX_ULP): Remove macro.
28129 (compare_ulp_data): New function.
28130 (find_ulps): Likewise.
28131 (find_test_ulps): Likewise.
28132 (find_function_ulps): Likewise.
28133 (find_complex_function_ulps): Likewise.
28134 (print_max_error): Determine allowed ulps using
28135 find_function_ulps.
28136 (print_complex_max_error): Determine allowed ulps using
28137 find_complex_function_ulps.
28138 (check_float_internal): Determine max ulps using find_test_ulps.
28139 (check_float): Do not take max_ulp parameter. Update call to
28140 check_float_internal.
28141 (check_complex): Likewise.
28142 (check_int): Do not take max_ulp parameter.
28143 (check_long): Likewise.
28144 (check_bool): Likewise.
28145 (check_longlong): Likewise.
28146 (struct test_f_f_data): Remove max_ulp field.
28147 (struct test_ff_f_data): Likewise.
28148 (struct test_ff_f_data_nexttoward): Likewise.
28149 (struct test_fi_f_data): Likewise.
28150 (struct test_fl_f_data): Likewise.
28151 (struct test_if_f_data): Likewise.
28152 (struct test_fff_f_data): Likewise.
28153 (struct test_c_f_data): Likewise.
28154 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28155 (struct test_fF_f1_data): Likewise.
28156 (struct test_ffI_f1_data): Likewise.
28157 (struct test_c_c_data): Remove max_ulp field.
28158 (struct test_cc_c_data): Likewise.
28159 (struct test_f_i_data): Likewise.
28160 (struct test_ff_i_data): Likewise.
28161 (struct test_f_l_data): Likewise.
28162 (struct test_f_L_data): Likewise.
28163 (struct test_sincos_data): Likewise.
28164 (RUN_TEST_f_f): Do not handle ulps.
28165 (RUN_TEST_LOOP_f_f): Likewise.
28166 (RUN_TEST_2_f): Likewise.
28167 (RUN_TEST_LOOP_2_f): Likewise.
28168 (RUN_TEST_fff_f): Likewise.
28169 (RUN_TEST_LOOP_fff_f): Likewise.
28170 (RUN_TEST_c_f): Likewise.
28171 (RUN_TEST_LOOP_c_f): Likewise.
28172 (RUN_TEST_f_f1): Likewise.
28173 (RUN_TEST_LOOP_f_f1): Likewise.
28174 (RUN_TEST_fF_f1): Likewise.
28175 (RUN_TEST_LOOP_fF_f1): Likewise.
28176 (RUN_TEST_fI_f1): Likewise.
28177 (RUN_TEST_LOOP_fI_f1): Likewise.
28178 (RUN_TEST_ffI_f1): Likewise.
28179 (RUN_TEST_LOOP_ffI_f1): Likewise.
28180 (RUN_TEST_c_c): Likewise.
28181 (RUN_TEST_LOOP_c_c): Likewise.
28182 (RUN_TEST_cc_c): Likewise.
28183 (RUN_TEST_LOOP_cc_c): Likewise.
28184 (RUN_TEST_f_i): Likewise.
28185 (RUN_TEST_LOOP_f_i): Likewise.
28186 (RUN_TEST_f_i_tg): Likewise.
28187 (RUN_TEST_LOOP_f_i_tg): Likewise.
28188 (RUN_TEST_ff_i_tg): Likewise.
28189 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28190 (RUN_TEST_f_b): Likewise.
28191 (RUN_TEST_LOOP_f_b): Likewise.
28192 (RUN_TEST_f_b_tg): Likewise.
28193 (RUN_TEST_LOOP_f_b_tg): Likewise.
28194 (RUN_TEST_f_l): Likewise.
28195 (RUN_TEST_LOOP_f_l): Likewise.
28196 (RUN_TEST_f_L): Likewise.
28197 (RUN_TEST_LOOP_f_L): Likewise.
28198 (RUN_TEST_sincos): Likewise.
28199 (RUN_TEST_LOOP_sincos): Likewise.
28200
28201 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28202
28203 [BZ #15480]
28204 [BZ #15485]
28205 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28206 main case of finite arguments, set rounding mode to FE_TONEAREST
28207 and discard exceptions.
28208 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28209 exceptions.
28210 (remainder_tonearest_test_data): New variable.
28211 (remainder_test_tonearest): New function.
28212 (remainder_towardzero_test_data): New variable.
28213 (remainder_test_towardzero): New function.
28214 (remainder_downward_test_data): New variable.
28215 (remainder_test_downward): New function.
28216 (remainder_upward_test_data): New variable.
28217 (remainder_test_upward): New function.
28218 (main): Call the new test functions.
28219
28220 * math/libm-test.inc (struct test_f_f1_data): Remove field
28221 extra_init.
28222 (struct test_fF_f1_data): Likewise.
28223 (struct test_ffI_f1_data): Likewise.
28224 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28225 based on value of EXTRA_EXPECTED.
28226 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28227 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28228 EXTRA_VAR based on value of EXTRA_EXPECTED.
28229 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28230 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28231 EXTRA_VAR based on value of EXTRA_EXPECTED.
28232 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28233 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28234 EXTRA_VAR based on value of EXTRA_EXPECTED.
28235 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28236 * math/gen-libm-test.pl (parse_args): Don't output initializers
28237 for extra output values.
28238
28239 * math/libm-test.inc (check_int): Expect result to be exactly
28240 equal to expected value and do not handle ulps.
28241 (check_long): Likewise.
28242 (check_longlong): Likewise.
28243
28244 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28245 exceptions.
28246 (cimag_test_data): Likewise.
28247 (conj_test_data): Likewise.
28248 (copysign_test_data): Likewise.
28249 (cproj_test_data): Likewise.
28250 (creal_test_data): Likewise.
28251 (fabs_test_data): Likewise.
28252 (fdim_test_data): Likewise.
28253 (finite_test_data): Likewise.
28254 (floor_test_data): Likewise.
28255 (fmax_test_data): Likewise.
28256 (fmin_test_data): Likewise.
28257 (fmod_test_data): Likewise.
28258 (fpclassify_test_data): Likewise.
28259 (frexp_test_data): Likewise.
28260 (ilogb_test_data): Likewise.
28261 (isfinite_test_data): Likewise.
28262 (isgreater_test_data): Likewise.
28263 (isgreaterequal_test_data): Likewise.
28264 (isinf_test_data): Likewise.
28265 (isless_test_data): Likewise.
28266 (islessequal_test_data): Likewise.
28267 (islessgreater_test_data): Likewise.
28268 (isnan_test_data): Likewise.
28269 (isnormal_test_data): Likewise.
28270 (issignaling_test_data): Likewise.
28271 (isunordered_test_data): Likewise.
28272 (ldexp_test_data): Likewise.
28273 (lrint_test_data): Likewise.
28274 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28275 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28276 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28277 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28278 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28279 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28280 test input.
28281 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28282 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28283 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28284 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28285 that test input.
28286 (lrint_downward_test_data): Test for "inexact" exceptions.
28287 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28288 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28289 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28290 test input.
28291 (lrint_upward_test_data): Test for "inexact" exceptions.
28292 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28293 test input.
28294 (llrint_test_data): Test for "inexact" exceptions.
28295 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28296 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28297 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28298 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28299 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28300 (llrint_downward_test_data): Test for "inexact" exceptions.
28301 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28302 (llrint_upward_test_data): Test for "inexact" exceptions.
28303 (logb_test_data): Likewise.
28304 (logb_downward_test_data): Likewise.
28305 (nextafter_test_data): Likewise.
28306 (nexttoward_test_data): Likewise.
28307 (remainder_test_data): Likewise.
28308 (remquo_test_data): Likewise.
28309 (scalbn_test_data): Likewise.
28310 (scalbln_test_data): Likewise.
28311 (signbit_test_data): Likewise.
28312 (sqrt_test_data): Likewise.
28313 (significand_test_data): Likewise.
28314
28315 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28316
28317 [BZ #15424]
28318 * benchtests/bench-modf.c (struct args): Mark arg0 as
28319 volatile.
28320 * scripts/bench.pl: Mark members of struct args as volatile.
28321
28322 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28323
28324 [BZ # 15497]
28325 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28326 negative infinity on POWER6 or lower.
28327 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28328
28329 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28330
28331 [BZ #15442]
28332 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28333 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28334 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28335 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28336 (_FP_SETQNAN): New macro.
28337 (_FP_SETQNAN_SEMIRAW): Likewise.
28338 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28339 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28340 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28341 (FP_EXTEND): Use _FP_FRAC_SNANP.
28342 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28343 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28344 into account.
28345 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28346 New macro.
28347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28348 Likewise.
28349
28350 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28351
28352 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28353 with DIVIDE_BY_ZERO_EXCEPTION.
28354 (gamma_test_data): Likewise.
28355 (lgamma_test_data): Likewise.
28356 (log_test_data): Likewise.
28357 (log10_test_data): Likewise.
28358 (log2_test_data): Likewise.
28359 (tgamma_test_data): Likewise.
28360
28361 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28362 (acos_test_tonearest): Likewise.
28363 (acos_test_towardzero): Likewise.
28364 (acos_test_downward): Likewise.
28365 (acos_test_upward): Likewise.
28366 (acosh_test): Likewise.
28367 (asin_test): Likewise.
28368 (asin_test_tonearest): Likewise.
28369 (asin_test_towardzero): Likewise.
28370 (asin_test_downward): Likewise.
28371 (asin_test_upward): Likewise.
28372 (asinh_test): Likewise.
28373 (atan_test): Likewise.
28374 (atanh_test): Likewise.
28375 (atan2_test): Likewise.
28376 (cabs_test): Likewise.
28377 (cacos_test): Likewise.
28378 (cacosh_test): Likewise.
28379 (casin_test): Likewise.
28380 (casinh_test): Likewise.
28381 (catan_test): Likewise.
28382 (catanh_test): Likewise.
28383 (cbrt_test): Likewise.
28384 (ccos_test): Likewise.
28385 (ccosh_test): Likewise.
28386 (cexp_test): Likewise.
28387 (clog_test): Likewise.
28388 (clog10_test): Likewise.
28389 (cos_test): Likewise.
28390 (cos_test_tonearest): Likewise.
28391 (cos_test_towardzero): Likewise.
28392 (cos_test_downward): Likewise.
28393 (cos_test_upward): Likewise.
28394 (cosh_test): Likewise.
28395 (cosh_test_tonearest): Likewise.
28396 (cosh_test_towardzero): Likewise.
28397 (cosh_test_downward): Likewise.
28398 (cosh_test_upward): Likewise.
28399 (cpow_test): Likewise.
28400 (csin_test): Likewise.
28401 (csinh_test): Likewise.
28402 (csqrt_test): Likewise.
28403 (ctan_test): Likewise.
28404 (ctan_test_tonearest): Likewise.
28405 (ctan_test_towardzero): Likewise.
28406 (ctan_test_downward): Likewise.
28407 (ctan_test_upward): Likewise.
28408 (ctanh_test): Likewise.
28409 (ctanh_test_tonearest): Likewise.
28410 (ctanh_test_towardzero): Likewise.
28411 (ctanh_test_downward): Likewise.
28412 (ctanh_test_upward): Likewise.
28413 (erf_test): Likewise.
28414 (erfc_test): Likewise.
28415 (exp_test): Likewise.
28416 (exp_test_tonearest): Likewise.
28417 (exp_test_towardzero): Likewise.
28418 (exp_test_downward): Likewise.
28419 (exp_test_upward): Likewise.
28420 (exp10_test): Likewise.
28421 (exp2_test): Likewise.
28422 (expm1_test): Likewise.
28423 (fmod_test): Likewise.
28424 (gamma_test): Likewise.
28425 (hypot_test): Likewise.
28426 (j0_test): Likewise.
28427 (j1_test): Likewise.
28428 (jn_test): Likewise.
28429 (lgamma_test): Likewise.
28430 (log_test): Likewise.
28431 (log10_test): Likewise.
28432 (log1p_test): Likewise.
28433 (log2_test): Likewise.
28434 (logb_test_downward): Likewise.
28435 (pow_test): Likewise.
28436 (pow_test_tonearest): Likewise.
28437 (pow_test_towardzero): Likewise.
28438 (pow_test_downward): Likewise.
28439 (pow_test_upward): Likewise.
28440 (remainder_test): Likewise.
28441 (remquo_test): Likewise.
28442 (sin_test): Likewise.
28443 (sin_test_tonearest): Likewise.
28444 (sin_test_towardzero): Likewise.
28445 (sin_test_downward): Likewise.
28446 (sin_test_upward): Likewise.
28447 (sincos_test): Likewise.
28448 (sinh_test): Likewise.
28449 (sinh_test_tonearest): Likewise.
28450 (sinh_test_towardzero): Likewise.
28451 (sinh_test_downward): Likewise.
28452 (sinh_test_upward): Likewise.
28453 (sqrt_test): Likewise.
28454 (tan_test): Likewise.
28455 (tan_test_tonearest): Likewise.
28456 (tan_test_towardzero): Likewise.
28457 (tan_test_downward): Likewise.
28458 (tan_test_upward): Likewise.
28459 (tanh_test): Likewise.
28460 (tgamma_test): Likewise.
28461 (y0_test): Likewise.
28462 (y1_test): Likewise.
28463 (yn_test): Likewise.
28464
28465 * math/gen-libm-test.pl (adjust_arg): Remove function.
28466 (special_function): Remove argument $in_func. Only handle
28467 generating output for tables of tests, not inside functions.
28468 (parse_args): Likewise.
28469 (generate_testfile): Remove variable $in_func. Update call to
28470 parse_args.
28471 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28472 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28473 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28474 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28475 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28476 (MAX_VALUE_INIT): Rename macro to max_value.
28477 (MIN_VALUE_INIT): Rename macro to min_value.
28478 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28479 (plus_zero): Remove variable.
28480 (minus_zero): Likewise.
28481 (plus_infty): Likewise.
28482 (minus_infty): Likewise.
28483 (qnan_value): Likewise.
28484 (max_value): Likewise.
28485 (min_value): Likewise.
28486 (min_subnorm_value): Likewise.
28487
28488 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28489
28490 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28491 uint64_t or uint32_t usage.
28492 * crypt/sha256-block.c: Likewise.
28493 * crypt/sha256-crypt.c: Likewise.
28494 * crypt/sha256.c: Likewise.
28495 * crypt/sha512-block.c: Likewise.
28496 * crypt/sha512-crypt.c: Likewise.
28497 * crypt/sha512.c: Likewise.
28498 * debug/backtrace-tst.c: Likewise.
28499 * debug/pcprofiledump.c: Likewise.
28500 * elf/cache.c: Likewise.
28501 * elf/dl-cache.c: Likewise.
28502 * elf/dl-misc.c: Likewise.
28503 * elf/dl-profile.c: Likewise.
28504 * elf/dl-support.c: Likewise.
28505 * elf/ldconfig.c: Likewise.
28506 * elf/sprof.c: Likewise.
28507 * iconv/dummy-repertoire.c: Likewise.
28508 * iconv/iconv_charmap.c: Likewise.
28509 * iconv/skeleton.c: Likewise.
28510 * iconvdata/8bit-generic.c: Likewise.
28511 * iconvdata/cp737.h: Likewise.
28512 * iconvdata/cp775.h: Likewise.
28513 * iconvdata/ibm1008.h: Likewise.
28514 * iconvdata/ibm1025.h: Likewise.
28515 * iconvdata/ibm1046.h: Likewise.
28516 * iconvdata/ibm1097.h: Likewise.
28517 * iconvdata/ibm1112.h: Likewise.
28518 * iconvdata/ibm1122.h: Likewise.
28519 * iconvdata/ibm1123.h: Likewise.
28520 * iconvdata/ibm1124.h: Likewise.
28521 * iconvdata/ibm1129.h: Likewise.
28522 * iconvdata/ibm1130.h: Likewise.
28523 * iconvdata/ibm1132.h: Likewise.
28524 * iconvdata/ibm1133.h: Likewise.
28525 * iconvdata/ibm1137.h: Likewise.
28526 * iconvdata/ibm1140.h: Likewise.
28527 * iconvdata/ibm1141.h: Likewise.
28528 * iconvdata/ibm1142.h: Likewise.
28529 * iconvdata/ibm1143.h: Likewise.
28530 * iconvdata/ibm1144.h: Likewise.
28531 * iconvdata/ibm1145.h: Likewise.
28532 * iconvdata/ibm1146.h: Likewise.
28533 * iconvdata/ibm1147.h: Likewise.
28534 * iconvdata/ibm1148.h: Likewise.
28535 * iconvdata/ibm1149.h: Likewise.
28536 * iconvdata/ibm1153.h: Likewise.
28537 * iconvdata/ibm1154.h: Likewise.
28538 * iconvdata/ibm1155.h: Likewise.
28539 * iconvdata/ibm1156.h: Likewise.
28540 * iconvdata/ibm1157.h: Likewise.
28541 * iconvdata/ibm1158.h: Likewise.
28542 * iconvdata/ibm1160.h: Likewise.
28543 * iconvdata/ibm1161.h: Likewise.
28544 * iconvdata/ibm1162.h: Likewise.
28545 * iconvdata/ibm1163.h: Likewise.
28546 * iconvdata/ibm1164.h: Likewise.
28547 * iconvdata/ibm1166.h: Likewise.
28548 * iconvdata/ibm1167.h: Likewise.
28549 * iconvdata/ibm12712.h: Likewise.
28550 * iconvdata/ibm1390.h: Likewise.
28551 * iconvdata/ibm1399.h: Likewise.
28552 * iconvdata/ibm16804.h: Likewise.
28553 * iconvdata/ibm4517.h: Likewise.
28554 * iconvdata/ibm4899.h: Likewise.
28555 * iconvdata/ibm4909.h: Likewise.
28556 * iconvdata/ibm4971.h: Likewise.
28557 * iconvdata/ibm5347.h: Likewise.
28558 * iconvdata/ibm803.h: Likewise.
28559 * iconvdata/ibm856.h: Likewise.
28560 * iconvdata/ibm901.h: Likewise.
28561 * iconvdata/ibm902.h: Likewise.
28562 * iconvdata/ibm9030.h: Likewise.
28563 * iconvdata/ibm9066.h: Likewise.
28564 * iconvdata/ibm921.h: Likewise.
28565 * iconvdata/ibm922.h: Likewise.
28566 * iconvdata/ibm9448.h: Likewise.
28567 * iconvdata/isiri-3342.h: Likewise.
28568 * iconvdata/jis0201.h: Likewise.
28569 * include/link.h: Likewise.
28570 * include/netdb.h: Likewise.
28571 * inet/check_native.c: Likewise.
28572 * inet/check_pf.c: Likewise.
28573 * inet/getipv4sourcefilter.c: Likewise.
28574 * inet/getnameinfo.c: Likewise.
28575 * inet/getsourcefilter.c: Likewise.
28576 * inet/htonl.c: Likewise.
28577 * inet/setipv4sourcefilter.c: Likewise.
28578 * inet/setsourcefilter.c: Likewise.
28579 * inet/test-inet6_opt.c: Likewise.
28580 * inet/tst-network.c: Likewise.
28581 * locale/C-collate.c: Likewise.
28582 * locale/C-ctype.c: Likewise.
28583 * locale/C-time.c: Likewise.
28584 * locale/C-translit.h: Likewise.
28585 * locale/loadarchive.c: Likewise.
28586 * locale/programs/3level.h: Likewise.
28587 * locale/programs/charmap.c: Likewise.
28588 * locale/programs/charmap.h: Likewise.
28589 * locale/programs/ld-address.c: Likewise.
28590 * locale/programs/ld-collate.c: Likewise.
28591 * locale/programs/ld-ctype.c: Likewise.
28592 * locale/programs/ld-identification.c: Likewise.
28593 * locale/programs/ld-measurement.c: Likewise.
28594 * locale/programs/ld-messages.c: Likewise.
28595 * locale/programs/ld-monetary.c: Likewise.
28596 * locale/programs/ld-name.c: Likewise.
28597 * locale/programs/ld-numeric.c: Likewise.
28598 * locale/programs/ld-paper.c: Likewise.
28599 * locale/programs/ld-telephone.c: Likewise.
28600 * locale/programs/ld-time.c: Likewise.
28601 * locale/programs/linereader.c: Likewise.
28602 * locale/programs/locale.c: Likewise.
28603 * locale/programs/locarchive.c: Likewise.
28604 * locale/programs/locfile.h: Likewise.
28605 * locale/programs/repertoire.c: Likewise.
28606 * locale/programs/simple-hash.c: Likewise.
28607 * locale/programs/simple-hash.h: Likewise.
28608 * malloc/memusage.c: Likewise.
28609 * malloc/memusagestat.c: Likewise.
28610 * nis/nis_defaults.c: Likewise.
28611 * nis/nis_hash.c: Likewise.
28612 * nis/nis_print.c: Likewise.
28613 * nis/nis_xdr.c: Likewise.
28614 * nscd/connections.c: Likewise.
28615 * nscd/hstcache.c: Likewise.
28616 * nscd/nscd_gethst_r.c: Likewise.
28617 * nscd/nscd_getserv_r.c: Likewise.
28618 * nscd/nscd_helper.c: Likewise.
28619 * nscd/servicescache.c: Likewise.
28620 * nss/makedb.c: Likewise.
28621 * nss/nss_db/db-XXX.c: Likewise.
28622 * nss/nss_db/db-initgroups.c: Likewise.
28623 * nss/nss_db/db-netgrp.c: Likewise.
28624 * nss/nss_files/files-network.c: Likewise.
28625 * nss/nss_files/files-parse.c: Likewise.
28626 * posix/bug-regex5.c: Likewise.
28627 * posix/fnmatch_loop.c: Likewise.
28628 * posix/regcomp.c: Likewise.
28629 * posix/regexec.c: Likewise.
28630 * posix/tst-rfc3484-2.c: Likewise.
28631 * posix/tst-rfc3484-3.c: Likewise.
28632 * posix/tst-rfc3484.c: Likewise.
28633 * resolv/nss_dns/dns-canon.c: Likewise.
28634 * resolv/nss_dns/dns-network.c: Likewise.
28635 * resolv/res_init.c: Likewise.
28636 * resolv/res_mkquery.c: Likewise.
28637 * resolv/tst-aton.c: Likewise.
28638 * stdlib/cxa_atexit.c: Likewise.
28639 * stdlib/cxa_finalize.c: Likewise.
28640 * stdlib/gen-fpioconst.c: Likewise.
28641 * stdlib/strtol_l.c: Likewise.
28642 * string/tst-endian.c: Likewise.
28643 * sunrpc/auth_des.c: Likewise.
28644 * sunrpc/clnt_udp.c: Likewise.
28645 * sunrpc/rtime.c: Likewise.
28646 * sunrpc/svcauth_des.c: Likewise.
28647 * sunrpc/xdr.c: Likewise.
28648 * sunrpc/xdr_intXX_t.c: Likewise.
28649 * sunrpc/xdr_rec.c: Likewise.
28650 * sysdeps/generic/ldconfig.h: Likewise.
28651 * sysdeps/generic/ldsodefs.h: Likewise.
28652 * sysdeps/generic/memusage.h: Likewise.
28653 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28654 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28655 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28656 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28663 * sysdeps/posix/getaddrinfo.c: Likewise.
28664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28666 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28667 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28668 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28669 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28670 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28671 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28672 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28673 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28675 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28676 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28677 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28678 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28679 * sysdeps/x86_64/dl-tls.h: Likewise.
28680 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28681 * time/alt_digit.c: Likewise.
28682 * time/era.c: Likewise.
28683 * wcsmbs/tst-c16c32-1.c: Likewise.
28684
28685 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28686
28687 * math/libm-test.inc (struct test_sincos_data): New type.
28688 (RUN_TEST_LOOP_sincos): New macro.
28689 (sincos_test_data): New variable.
28690 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28691
28692 2013-05-16 Richard Henderson <rth@redhat.com>
28693
28694 * math/atest-exp2.c (LIMB64): New macro.
28695 (CONSTSZ): New macro.
28696 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28697 (hexdig): Move ...
28698 (print_mpn_fp): ... to function scope.
28699 (read_mpn_hex): Remove.
28700 (get_log2): Remove.
28701 (exp2_mpn): Use mp_log2.
28702 (main): Use mp_exp1.
28703
28704 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28705
28706 * math/libm-test.inc: Remove comment about not testing "inexact"
28707 exceptions.
28708 (INEXACT_EXCEPTION): New macro.
28709 (NO_INEXACT_EXCEPTION): Likewise.
28710 (INVALID_EXCEPTION_OK): Update value.
28711 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28712 (OVERFLOW_EXCEPTION_OK): Likewise.
28713 (UNDERFLOW_EXCEPTION_OK): Likewise.
28714 (IGNORE_ZERO_INF_SIGN): Likewise.
28715 (ERRNO_UNCHANGED): Likewise.
28716 (ERRNO_EDOM): Likewise.
28717 (ERRNO_ERANGE): Likewise.
28718 (test_exceptions): Handle testing "inexact" exceptions.
28719 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28720 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28721 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28722 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28723 INEXACT_EXCEPTION.
28724 (rint_towardzero_test_data): Likewise.
28725 (rint_downward_test_data): Likewise.
28726 (rint_upward_test_data): Likewise.
28727
28728 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28729 with OVERFLOW_EXCEPTION.
28730 (exp10_test_data): Likewise.
28731 (exp2_test_data): Likewise.
28732 (expm1_test_data): Likewise.
28733 (lgamma_test_data): Likewise.
28734 (pow_test_data): Likewise.
28735 (tgamma_test_data): Likewise.
28736 (yn_test_data): Remove duplicate test of overflow.
28737
28738 * math/libm-test.inc (struct test_cc_c_data): New type.
28739 (RUN_TEST_LOOP_cc_c): New macro.
28740 (cpow_test_data): New variable.
28741 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28742
28743 * math/libm-test.inc (struct test_f_L_data): New type.
28744 (RUN_TEST_LOOP_f_L): New macro.
28745 (llrint_test_data): New variable.
28746 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28747 (llrint_tonearest_test_data): New variable.
28748 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28749 (llrint_towardzero_test_data): New variable.
28750 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28751 (llrint_downward_test_data): New variable.
28752 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28753 (llrint_upward_test_data): New variable.
28754 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28755 (llround_test_data): New variable.
28756 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28757
28758 2013-05-13 Peter Collingbourne <pcc@google.com>
28759
28760 * math/atest-exp2.c (get_log2): Remove const attribute.
28761
28762 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28763
28764 * math/libm-test.inc (struct test_f_l_data): New type.
28765 (RUN_TEST_LOOP_f_l): New macro.
28766 (lrint_test_data): New variable.
28767 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28768 (lrint_tonearest_test_data): New variable.
28769 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28770 (lrint_towardzero_test_data): New variable.
28771 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28772 (lrint_downward_test_data): New variable.
28773 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28774 (lrint_upward_test_data): New variable.
28775 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28776 (lround_test_data): New variable.
28777 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28778
28779 2013-05-15 Peter Collingbourne <pcc@google.com>
28780
28781 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28782 (EXTRACT_WORDS64) Use where appropriate.
28783 (INSERT_WORDS64) Likewise.
28784
28785 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28786 constraints with x constraints.
28787 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28788
28789 * malloc/obstack.c (_obstack_compat): Add initializer.
28790
28791 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28792
28793 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28794 si_trapno and add si_addr_lsb to _sifields.sigfault.
28795 (si_trapno): Remove macro.
28796 (si_addr_lsb): Define new macro.
28797 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28798
28799 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28800
28801 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28802 instead of TEST_f_l.
28803 (llrint_test_tonearest): Likewise.
28804 (llrint_test_towardzero): Likewise.
28805 (llrint_test_downward): Likewise.
28806 (llrint_test_upward): Likewise.
28807 (llround_test): Likewise.
28808
28809 * math/libm-test.inc (struct test_f_i_data): Add comment.
28810 (RUN_TEST_LOOP_f_b): New macro.
28811 (RUN_TEST_LOOP_f_b_tg): Likewise.
28812 (finite_test_data): New variable.
28813 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28814 (isfinite_test_data): New variable.
28815 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28816 (isinf_test_data): New variable.
28817 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28818 (isnan_test_data): New variable.
28819 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28820 (isnormal_test_data): New variable.
28821 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28822 (issignaling_test_data): New variable.
28823 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28824 (signbit_test_data): New variable.
28825 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28826
28827 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28828 with INVALID_EXCEPTION.
28829 (acosh_test_data): Likewise.
28830 (asin_test_data): Likewise.
28831 (atanh_test_data): Likewise.
28832 (fmod_test_data): Likewise.
28833 (log_test_data): Likewise.
28834 (log10_test_data): Likewise.
28835 (log2_test_data): Likewise.
28836 (pow_test_data): Likewise.
28837 (sqrt_test_data): Likewise.
28838 (y0_test_data): Likewise.
28839 (y1_test_data): Likewise.
28840 (yn_test_data): Likewise.
28841
28842 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28843 function contents.
28844
28845 * math/libm-test.inc (struct test_ff_i_data): New type.
28846 (RUN_TEST_LOOP_ff_i_tg): New macro.
28847 (isgreater_test_data): New variable.
28848 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28849 (isgreaterequal_test_data): New variable.
28850 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28851 (isless_test_data): New variable.
28852 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28853 (islessequal_test_data): New variable.
28854 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28855 (islessgreater_test_data): New variable.
28856 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28857 (isunordered_test_data): New variable.
28858 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28859
28860 2013-05-14 David S. Miller <davem@davemloft.net>
28861
28862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28863
28864 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28865
28866 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28867
28868 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28869 extra_test to int.
28870 (struct test_f_i_data): Change type of max_ulp to int.
28871
28872 * math/libm-test.inc (test_ffI_f1_data): New type.
28873 (RUN_TEST_LOOP_ffI_f1): New macro.
28874 (remquo_test_data): New variable.
28875 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28876
28877 * setjmp/tst-setjmp-fp.c: New file.
28878 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28879 (link-libm): New variable.
28880 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28881
28882 * math/libm-test.inc (struct test_f_i_data): New type.
28883 (RUN_TEST_LOOP_f_i): New macro.
28884 (RUN_TEST_LOOP_f_i_tg): Likewise.
28885 (fpclassify_test_data): New variable.
28886 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28887 (ilogb_test_data): New variable.
28888 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28889
28890 * math/libm-test.inc (scalbln_test): Correct function name in END
28891 call.
28892
28893 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28894 (RUN_TEST_LOOP_fI_f1): New macro.
28895 (frexp_test_data): New variable.
28896 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28897
28898 * math/libm-test.inc (struct test_fF_f1_data): New type.
28899 (RUN_TEST_LOOP_fF_f1): New macro.
28900 (modf_test_data): New variable.
28901 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28902
28903 * math/libm-test.inc (struct test_f_f1_data): New type.
28904 (RUN_TEST_LOOP_f_f1): New macro.
28905 (gamma_test_data): New variable.
28906 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28907 (lgamma_test_data): New variable.
28908 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28909
28910 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28911
28912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28913 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28914 (main): Comment "tls" pseudo-hwcap.
28915
28916 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28917
28918 * math/libm-test.inc (struct test_fl_f_data): New type.
28919 (RUN_TEST_LOOP_fl_f): New variable.
28920 (scalbln_test_data): New variable.
28921 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28922
28923 * math/libm-test.inc (struct test_fi_f_data): New type.
28924 (RUN_TEST_LOOP_fi_f): New macro.
28925 (ldexp_test_data): New variable.
28926 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28927 (scalbn_test_data): New variable.
28928 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28929
28930 * math/libm-test.inc (struct test_c_f_data): New type.
28931 (RUN_TEST_LOOP_c_f): New macro.
28932 (cabs_test_data): New variable.
28933 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28934 (carg_test_data): New variable.
28935 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28936 (cimag_test_data): New variable.
28937 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28938 (creal_test_data): New variable.
28939 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28940
28941 * math/libm-test.inc (struct test_if_f_data): New type.
28942 (RUN_TEST_LOOP_if_f): New macro.
28943 (jn_test_data): New variable.
28944 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28945 (yn_test_data): New variable.
28946 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28947
28948 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28949
28950 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28951
28952 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28953 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28954
28955 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28956
28957 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28958 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28959 (bench-deps): Add bench-timing.h.
28960 * benchtests-bench-skeleton.c: Include bench-timing.h.
28961 (main): Use TIMING_* macros instead of clock_gettime.
28962 * benchtests/bench-timing.h: New file.
28963
28964 [BZ #14582]
28965 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28966 Renamed from _LIB_VERSION.
28967 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28968
28969 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28970
28971 * math/libm-test.inc (struct test_fff_f_data): New type.
28972 (RUN_TEST_LOOP_fff_f): New macro.
28973 (fma_test_data): New variable.
28974 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28975 (fma_towardzero_test_data): New variable.
28976 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28977 (fma_downward_test_data): New variable.
28978 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28979 (fma_upward_test_data): New variable.
28980 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28981
28982 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28983 (struct test_c_c_data): New type.
28984 (RUN_TEST_LOOP_c_c): New macro.
28985 (cacos_test_data): New variable.
28986 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28987 (cacosh_test_data): New variable.
28988 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28989 (casin_test_data): New variable.
28990 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28991 (casinh_test_data): New variable.
28992 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28993 (catan_test_data): New variable.
28994 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28995 (catanh_test_data): New variable.
28996 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28997 (ccos_test_data): New variable.
28998 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28999 (ccosh_test_data): New variable.
29000 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29001 (cexp_test_data): New variable.
29002 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29003 (clog_test_data): New variable.
29004 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29005 (clog10_test_data): New variable.
29006 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29007 (conj_test_data): New variable.
29008 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29009 (cproj_test_data): New variable.
29010 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29011 (csin_test_data): New variable.
29012 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29013 (csinh_test_data): New variable.
29014 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29015 (csqrt_test_data): New variable.
29016 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29017 (ctan_test_data): New variable.
29018 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29019 (ctan_tonearest_test_data): New variable.
29020 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29021 (ctan_towardzero_test_data): New variable.
29022 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29023 (ctan_downward_test_data): New variable.
29024 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29025 (ctan_upward_test_data): New variable.
29026 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29027 (ctanh_test_data): New variable.
29028 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29029 (ctanh_tonearest_test_data): New variable.
29030 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29031 (ctanh_towardzero_test_data): New variable.
29032 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29033 (ctanh_downward_test_data): New variable.
29034 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29035 (ctanh_upward_test_data): New variable.
29036 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29037 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29038 of BUILD_COMPLEX.
29039
29040 * math/libm-test.inc (struct test_ff_f_data): New type.
29041 (struct test_ff_f_data_nexttoward): Likewise.
29042 (RUN_TEST_LOOP_2_f): New macro.
29043 (RUN_TEST_LOOP_ff_f): Likewise.
29044 (atan2_test_data): New variable.
29045 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29046 (copysign_test_data): New variable.
29047 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29048 (fdim_test_data): New variable.
29049 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29050 (fmax_test_data): New variable.
29051 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29052 (fmin_test_data): New variable.
29053 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29054 (fmod_test_data): New variable.
29055 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29056 (hypot_test_data): New variable.
29057 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29058 (nextafter_test_data): New variable.
29059 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29060 (nexttoward_test_data): New variable.
29061 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29062 (pow_test_data): New variable.
29063 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29064 (pow_tonearest_test_data): New variable.
29065 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29066 (pow_towardzero_test_data): New variable.
29067 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29068 (pow_downward_test_data): New variable.
29069 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29070 (pow_upward_test_data): New variable.
29071 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29072 (remainder_test_data): New variable.
29073 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29074 (scalb_test_data): New variable.
29075 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29076 * sysdeps/i386/fpu/libm-test-ulps: Update.
29077
29078 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29079
29080 * math/libm-test.inc (fma_test): Use max_value instead of local
29081 variable fltmax.
29082 (nextafter_test): Likewise.
29083
29084 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29085 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29086 (acos_downward_test_data): New variable.
29087 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29088 (acos_upward_test_data): New variable.
29089 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29090 (acosh_test_data): New variable.
29091 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29092 (asin_test_data): New variable.
29093 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29094 (asin_tonearest_test_data): New variable.
29095 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29096 (asin_towardzero_test_data): New variable.
29097 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29098 (asin_downward_test_data): New variable.
29099 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29100 (asin_upward_test_data): New variable.
29101 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29102 (asinh_test_data): New variable.
29103 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29104 (atan_test_data): New variable.
29105 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29106 (atanh_test_data): New variable.
29107 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29108 (cbrt_test_data): New variable.
29109 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29110 (ceil_test_data): New variable.
29111 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29112 (cos_test_data): New variable.
29113 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29114 (cos_tonearest_test_data): New variable.
29115 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29116 (cos_towardzero_test_data): New variable.
29117 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29118 (cos_downward_test_data): New variable.
29119 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29120 (cos_upward_test_data): New variable.
29121 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29122 (cosh_test_data): New variable.
29123 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29124 (cosh_tonearest_test_data): New variable.
29125 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29126 (cosh_towardzero_test_data): New variable.
29127 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29128 (cosh_downward_test_data): New variable.
29129 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29130 (cosh_upward_test_data): New variable.
29131 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29132 (erf_test_data): New variable.
29133 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29134 (erfc_test_data): New variable.
29135 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29136 (exp_test_data): New variable.
29137 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29138 (exp_tonearest_test_data): New variable.
29139 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29140 (exp_towardzero_test_data): New variable.
29141 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29142 (exp_downward_test_data): New variable.
29143 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29144 (exp_upward_test_data): New variable.
29145 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29146 (exp10_test_data): New variable.
29147 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29148 (exp2_test_data): New variable.
29149 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29150 (expm1_test_data): New variable.
29151 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29152 (fabs_test_data): New variable.
29153 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29154 (floor_test_data): New variable.
29155 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29156 (j0_test_data): New variable.
29157 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29158 (j1_test_data): New variable.
29159 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29160 (log_test_data): New variable.
29161 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29162 (log10_test_data): New variable.
29163 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29164 (log1p_test_data): New variable.
29165 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29166 (log2_test_data): New variable.
29167 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29168 (logb_test_data): New variable.
29169 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29170 (logb_downward_test_data): New variable.
29171 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29172 (nearbyint_test_data): New variable.
29173 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29174 (rint_test_data): New variable.
29175 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29176 (rint_tonearest_test_data): New variable.
29177 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29178 (rint_towardzero_test_data): New variable.
29179 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29180 (rint_downward_test_data): New variable.
29181 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29182 (rint_upward_test_data): New variable.
29183 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29184 (round_test_data): New variable.
29185 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29186 (sin_test_data): New variable.
29187 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29188 (sin_tonearest_test_data): New variable.
29189 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29190 (sin_towardzero_test_data): New variable.
29191 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29192 (sin_downward_test_data): New variable.
29193 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29194 (sin_upward_test_data): New variable.
29195 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29196 (sinh_test_data): New variable.
29197 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29198 (sinh_tonearest_test_data): New variable.
29199 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29200 (sinh_towardzero_test_data): New variable.
29201 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29202 (sinh_downward_test_data): New variable.
29203 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29204 (sinh_upward_test_data): New variable.
29205 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29206 (sqrt_test_data): New variable.
29207 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29208 (tan_test_data): New variable.
29209 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29210 (tan_tonearest_test_data): New variable.
29211 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29212 (tan_towardzero_test_data): New variable.
29213 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29214 (tan_downward_test_data): New variable.
29215 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29216 (tan_upward_test_data): New variable.
29217 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29218 (tanh_test_data): New variable.
29219 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29220 (tgamma_test_data): New variable.
29221 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29222 (trunc_test_data): New variable.
29223 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29224 (y0_test_data): New variable.
29225 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29226 (y1_test_data): New variable.
29227 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29228 (significand_test_data): New variable.
29229 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29230
29231 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29232
29233 [BZ #12387]
29234 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29235
29236 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29237
29238 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29239
29240 2013-05-10 Andreas Jaeger <aj@suse.de>
29241
29242 [BZ #15448]
29243 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29244 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29245
29246 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29247
29248 * math/gen-libm-test.pl (adjust_arg): New function.
29249 (special_functions): Handle generating output in both functions
29250 and arrays.
29251 (parse_args): Likewise.
29252 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29253 $in_func argument to parse_args.
29254 * math/libm-test.inc (struct test_f_f_data): New type.
29255 (IF_ROUND_INIT_): New macro.
29256 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29257 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29258 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29259 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29260 (ROUND_RESTORE_): Likewise.
29261 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29262 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29263 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29264 (ROUND_RESTORE_FE_UPWARD): Likewise.
29265 (RUN_TEST_LOOP_f_f): New macro.
29266 (acos_test_data): New variable.
29267 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29268 (acos_tonearest_test_data): New variable.
29269 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29270
29271 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29272
29273 * benchtests/bench-skeleton.c (startup): Fix coding style.
29274
29275 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29276
29277 [BZ #6809]
29278 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29279 negative infinity argument.
29280 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29281 negative infinity argument.
29282 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29283 negative infinity argument.
29284 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29285 domain errors.
29286
29287 2013-05-10 Florian Weimer <fweimer@redhat.com>
29288
29289 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29290 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29291 * iconv/iconv_prog.c (main): Likewise.
29292 * locale/programs/charmap-dir.c (charmap_readdir)
29293 (fopen_uncompressed): Likewise.
29294 * locale/programs/locfile.c (siblings_uncached)
29295 (write_locale_data): Use lstat64 instead of lstat.
29296 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29297 stat.
29298
29299 2013-05-10 Andreas Jaeger <aj@suse.de>
29300
29301 [BZ #15395]
29302 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29303 localization.
29304 Include <locale.h>.
29305
29306 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29307
29308 * elf/dl-close.c (_dl_close_worker): Add comments.
29309
29310 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29311
29312 [BZ #15359]
29313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29314 high part of pi/2.
29315 (__ieee754_rem_pio2l): Update comments.
29316
29317 [BZ #15429]
29318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29319 high part of pi/2.
29320 (__ieee754_rem_pio2l): Update comments.
29321
29322 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29323 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29324
29325 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29326 M_PI_4l.
29327
29328 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29329 (M_PI_34_LOG10El): Likewise.
29330 (M_PI2_LOG10El): Likewise.
29331 (M_PI4_LOG10El): Likewise.
29332 (M_PI_LOG10El): Likewise.
29333
29334 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29335
29336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29337
29338 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29339
29340 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29341 (MINUS_ZERO_INIT): Likewise.
29342 (PLUS_INFTY_INIT): Likewise.
29343 (MINUS_INFTY_INIT): Likewise.
29344 (QNAN_VALUE_INIT): Likewise.
29345 (MAX_VALUE_INIT): Likewise.
29346 (MIN_VALUE_INIT): Likewise.
29347 (MIN_SUBNORM_VALUE_INIT): Likewise.
29348 (plus_zero): Initialize with PLUS_ZERO_INIT.
29349 (minus_zero): Initialize with MINUS_ZERO_INIT.
29350 (plus_infty): Initialize with PLUS_INFTY_INIT.
29351 (minus_infty): Initialize with MINUS_INFTY_INIT.
29352 (qnan_value): Initialize with QNAN_VALUE_INIT.
29353 (max_value): Initialize with MAX_VALUE_INIT.
29354 (min_value): Initialize with MIN_VALUE_INIT.
29355 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29356
29357 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29358 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29359 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29360 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29361
29362 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29363 (RUN_TEST_2_f): Likewise.
29364 (RUN_TEST_ff_f): Likewise.
29365 (RUN_TEST_fi_f): Likewise.
29366 (RUN_TEST_fl_f): Likewise.
29367 (RUN_TEST_fff_f): Likewise.
29368 (RUN_TEST_c_f): Likewise.
29369 (RUN_TEST_f_f1): Likewise.
29370 (RUN_TEST_fF_f1): Likewise.
29371 (RUN_TEST_fI_f1): Likewise.
29372 (RUN_TEST_ffI_f1): Likewise.
29373 (RUN_TEST_c_c): Likewise.
29374 (RUN_TEST_cc_c): Likewise.
29375 (RUN_TEST_f_i): Likewise.
29376 (RUN_TEST_f_i_tg): Likewise.
29377 (RUN_TEST_ff_i_tg): Likewise.
29378 (RUN_TEST_f_b): Likewise.
29379 (RUN_TEST_f_b_tg): Likewise.
29380 (RUN_TEST_f_l): Likewise.
29381 (RUN_TEST_f_L): Likewise.
29382 (RUN_TEST_sincos): Likewise.
29383 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29384 whether to show exceptions. Do not include ");\n" in return
29385 value.
29386 (special_functions): Output call to RUN_TEST_sincos instead of
29387 check_float calls. Update calls to new_test.
29388 (parse_args): Output call to single RUN_TEST_* macro instead of
29389 check_* calls and other assignments. Update calls to new_test.
29390
29391 [BZ #2546]
29392 [BZ #2560]
29393 [BZ #5159]
29394 [BZ #15426]
29395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29396 input to result for tgamma overflow.
29397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29398 (gamma_coeff): New variable.
29399 (NCOEFF): New macro.
29400 (gamma_positive): New function.
29401 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29402 underflow here. Use gamma_positive instead of exp (lgamma) for
29403 other arguments.
29404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29405 (gamma_coeff): New variable.
29406 (NCOEFF): New macro.
29407 (gammaf_positive): New function.
29408 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29409 underflow here. Use gamma_positive instead of exp (lgamma) for
29410 other arguments.
29411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29412 (gamma_coeff): New variable.
29413 (NCOEFF): New macro.
29414 (gammal_positive): New function.
29415 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29416 underflow here. Use gamma_positive instead of exp (lgamma) for
29417 other arguments.
29418 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29419 (gamma_coeff): New variable.
29420 (NCOEFF): New macro.
29421 (gammal_positive): New function.
29422 (__ieee754_gammal_r): Handle positive infinity, overflow and
29423 underflow here. Handle NaN the same as positive infinity. Remove
29424 check x < 0xffffffff for negative integers. Use gamma_positive
29425 instead of exp (lgamma) for other arguments.
29426 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29427 (gamma_coeff): New variable.
29428 (NCOEFF): New macro.
29429 (gammal_positive): New function.
29430 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29431 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29435 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29436 * sysdeps/generic/math_private.h (__gamma_productf): New
29437 prototype.
29438 (__gamma_product): Likewise.
29439 (__gamma_productl): Likewise.
29440 * math/Makefile (libm-calls): Add gamma_product.
29441 * math/libm-test.inc (tgamma_test): Add more tests.
29442 * sysdeps/i386/fpu/libm-test-ulps: Update.
29443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29444
29445 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29446
29447 * benchtests/bench-skeleton.c (main): Preheat CPU.
29448
29449 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29450
29451 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29452
29453 2013-05-07 Roland McGrath <roland@hack.frob.com>
29454
29455 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29456 and _dl_skip_args_internal.
29457
29458 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29459
29460 * manual/message.texi (Message Translation): Talk about users.
29461 Message to key mapping impacts design.
29462
29463 2013-05-06 Roland McGrath <roland@hack.frob.com>
29464
29465 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29466
29467 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29468
29469 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29470 * sysdeps/wordsize-64/glob64.c: ... here.
29471
29472 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29473 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29474 New macros.
29475
29476 * debug/getlogin_r_chk.c: Moved to ...
29477 * login/getlogin_r_chk.c: ... here.
29478 * debug/Makefile (routines): Move getlogin_r_chk to ...
29479 * login/Makefile (routines): ... here.
29480 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29481 * login/Versions (libc: GLIBC_2.4): ... here.
29482
29483 * io/poll.c (__poll): Renamed from poll.
29484 Add libc_hidden_def.
29485 (poll): Define as weak alias.
29486
29487 * debug/ptsname_r_chk.c: Moved to ...
29488 * login/ptsname_r_chk.c: ... here.
29489 * debug/Makefile (routines): Move ptsname_r_chk to ...
29490 * login/Makefile (routines): ... here.
29491 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29492 * login/Versions (libc: GLIBC_2.4): ... here.
29493
29494 * posix/getlogin.c: Moved to ...
29495 * login/getlogin.c: ... here.
29496 * posix/getlogin_r.c: Moved to ...
29497 * login/getlogin_r.c: ... here.
29498 * posix/getlogin_r.c: Moved to ...
29499 * login/getlogin_r.c: ... here.
29500 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29501 * login/Makefile (routines): ... here.
29502 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29503 * login/Versions (libc: GLIBC_2.0): ... here.
29504
29505 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29506 (setrlimit): Define as weak alias.
29507
29508 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29509 Call __ names for open, ftruncate, and close.
29510 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29511 (truncate): Define as weak alias.
29512
29513 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29514
29515 * math/gen-libm-test.pl (parse_args): Initialize x before each
29516 test of frexp, modf and remquo.
29517
29518 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29519 test signgam value.
29520
29521 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29522
29523 [BZ #15418]
29524 [BZ #15419]
29525 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29526 internal tests.
29527 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29528
29529 2013-05-06 Roland McGrath <roland@hack.frob.com>
29530
29531 * elf/dl-writev.h: New file.
29532 * elf/dl-misc.c: Include it.
29533 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29534 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29535
29536 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29537
29538 * math/libm-test.inc (noXFails): Remove variable.
29539 (noXPasses): Likewise.
29540 (BUILD_COMPLEX_INT): Remove macro.
29541 (print_screen): Remove xfail argument.
29542 (print_screen_max_error): Likewise.
29543 (update_stats): Likewise.
29544 (print_max_error): Likewise. Update calls to other affected
29545 functions.
29546 (print_complex_max_error): Likewise.
29547 (test_single_exception): Update calls to print_screen.
29548 (test_single_errno): Likewise.
29549 (check_float_internal): Remove xfail argument. Update calls to
29550 other affected functions.
29551 (check_float): Likewise.
29552 (check_complex): Likewise.
29553 (check_int): Likewise.
29554 (check_long): Likewise.
29555 (check_bool): Likewise.
29556 (check_longlong): Likewise.
29557 (main): Don't print noXFails and noXPasses.
29558 * math/gen-libm-test.pl (top level): Don't mention expected
29559 failure handling in comment.
29560 (new_test): Don't handle expected failures.
29561 (parse_args): Don't mention expected failure handling in comment.
29562 (generate_testfile): Don't handle expected failures.
29563 (parse_ulps): Likewise.
29564 (print_ulps_file): Likewise.
29565 (get_failure): Remove function.
29566 (output_test): Don't handle expected failures.
29567 * make/README.libm-test: Don't mention expected failure handling.
29568
29569 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29570 (minus_zero): Likewise.
29571 (plus_infty): Likewise.
29572 (minus_infty): Likewise.
29573 (qnan_value): Likewise.
29574 (max_value): Likewise.
29575 (min_value): Likewise.
29576 (min_subnorm_value): Likewise.
29577 (initialize): Do not initialize those variables dynamically.
29578
29579 2013-05-03 Roland McGrath <roland@hack.frob.com>
29580
29581 * io/open.c (__open_2): Moved to ...
29582 * io/open_2.c: ... this new file.
29583 * io/open64.c (__open64_2): Moved to ...
29584 * io/open64_2.c: ... this new file.
29585 * io/openat.c (__openat_2): Moved to ...
29586 * io/openat_2.c: ... this new file.
29587 * io/openat64.c (__openat64_2): Moved to ...
29588 * io/openat64_2.c: ... this new file.
29589 * io/Makefile (routines): Add them.
29590 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29591 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29592 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29593 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29594 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29595 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29596 (__openat64): Add hidden_ver.
29597 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29598 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29599
29600 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29601 Separately conditionalize setting of GLRO(dl_sysinfo) so
29602 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29603 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29604
29605 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29606
29607 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29609 definition.
29610 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29611 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29612 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29613 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29614 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29615
29616 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29617
29618 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29619 test signgam value.
29620
29621 * math/libm-test.inc (hypot_test): Do not use
29622 IGNORE_ZERO_INF_SIGN.
29623
29624 2013-05-03 Andreas Jaeger <aj@suse.de>
29625
29626 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29627 Linux 3.9.
29628 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29629 (PF_MAX): Adjust for VSOCK change.
29630
29631 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29632
29633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29634
29635 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29636
29637 [BZ #15264]
29638 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29639 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29640 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29641
29642 2013-05-02 David S. Miller <davem@davemloft.net>
29643
29644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29645
29646 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29647
29648 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29649
29650 2013-05-01 Roland McGrath <roland@hack.frob.com>
29651
29652 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29653
29654 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29655
29656 [BZ #14952]
29657 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29658 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29659 Use __attribute__ ((__gnu_inline__)).
29660 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29661 Don't use __attribute__ ((__gnu_inline__)).
29662
29663 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29664
29665 [BZ #15423]
29666 * math/s_catan.c (__catan): Handle small real or imaginary part of
29667 input specially to avoid spurious underflow.
29668 * math/s_catanf.c (__catanf): Likewise.
29669 * math/s_catanh.c (__catanh): Likewise.
29670 * math/s_catanhf.c (__catanhf): Likewise.
29671 * math/s_catanhl.c (__catanhl): Likewise.
29672 * math/s_catanl.c (__catanl): Likewise.
29673 * math/libm-test.inc (catan_test): Add more tests.
29674 (catanh_test): Likewise.
29675 * sysdeps/i386/fpu/libm-test-ulps: Update.
29676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29677
29678 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29679
29680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29681
29682 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29683
29684 [BZ #15416]
29685 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29686 accurately for denominator in atan2.
29687 * math/s_catanf.c (__catanf): Likewise.
29688 * math/s_catanh.c (__catanh): Likewise.
29689 * math/s_catanhf.c (__catanhf): Likewise.
29690 * math/s_catanhl.c (__catanhl): Likewise.
29691 * math/s_catanl.c (__catanl): Likewise.
29692 * math/libm-test.inc (catan_test): Add more tests.
29693 (catanh_test): Likewise.
29694 * sysdeps/i386/fpu/libm-test-ulps: Update.
29695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29696
29697 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29698
29699 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29700
29701 * benchtests/Makefile (bench): Remove slow benchmarks.
29702 * benchtests/atan-inputs: Add slow benchmark inputs.
29703 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29704 (BENCH_FUNC): Accept variant offset.
29705 (VARIANT): Define.
29706 * benchtests/bench-skeleton.c (main): Run benchmark for each
29707 variant.
29708 * benchtests/cos-inputs: Add slow benchmark inputs.
29709 * benchtests/exp-inputs: Likewise.
29710 * benchtests/pow-inputs: Likewise.
29711 * benchtests/sin-inputs: Likewise.
29712 * benchtests/slowatan-inputs: Remove.
29713 * benchtests/slowatan.c: Remove.
29714 * benchtests/slowcos-inputs: Remove.
29715 * benchtests/slowcos.c: Remove.
29716 * benchtests/slowexp-inputs: Remove.
29717 * benchtests/slowexp.c: Remove.
29718 * benchtests/slowpow-inputs: Remove.
29719 * benchtests/slowpow.c: Remove.
29720 * benchtests/slowsin-inputs: Remove.
29721 * benchtests/slowsin.c: Remove.
29722 * benchtests/slowtan-inputs: Remove.
29723 * benchtests/slowtan.c: Remove.
29724 * benchtests/tan-inputs: Add slow benchmark inputs.
29725 * scripts/bench.pl: Parse comments and directives.
29726
29727 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29728 in CPPFLAGS.
29729 ($(objpfx)bench-%.c): Remove *-ITER.
29730 * benchtests/bench-modf.c: Remove definition of ITER.
29731 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29732 (main): Loop for DURATION seconds instead of fixed number of
29733 iterations.
29734 * scripts/bench.pl: Don't expect iterations in parameters.
29735
29736 2013-04-29 Roland McGrath <roland@hack.frob.com>
29737
29738 * io/fchdir.c (__fchdir): Renamed from fchdir.
29739 (fchdir): Define as weak alias.
29740
29741 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29742
29743 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29744 (ERRNO_EDOM): Likewise.
29745 (ERRNO_ERANGE): Likewise.
29746 (noErrnoTests): New variable.
29747 (init_max_error): Set errno to 0.
29748 (test_single_errno): New function.
29749 (test_errno): Likewise.
29750 (check_float_internal): Call test_errno. Set errno to 0.
29751 (check_complex): Refer to errno tests in comment.
29752 (check_int): Call test_errno. Set errno to 0.
29753 (check_long): Likewise.
29754 (check_bool): Likewise.
29755 (check_longlong): Likewise.
29756 (cos_test): Use ERRNO_* flags for errno tests instead of
29757 check_int.
29758 (expm1_test): Likewise.
29759 (fmod_test): Likewise.
29760 (ilogb_test): Likewise.
29761 (lgamma_test): Likewise.
29762 (pow_test): Likewise.
29763 (remainder_test): Likewise.
29764 (sin_test): Likewise.
29765 (tan_test): Likewise.
29766 (yn_test): Likewise.
29767 (initialize): Set errno to 0.
29768 (main): Print number of errno tests.
29769 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29770
29771 2013-04-29 Andreas Jaeger <aj@suse.de>
29772
29773 [BZ #15084]
29774 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29775 and RES_USEVC.
29776
29777 [BZ #15085]
29778 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29779 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29780 unimplemented.
29781
29782 [BZ #15380]
29783 * stdlib/random.c (__initstate): Return NULL if
29784 __initstate fails.
29785
29786 [BZ #15086]
29787 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29788 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29789 RES_SNGLKUPREOP.
29790
29791 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29792
29793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29794
29795 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29796
29797 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29798 of individual tests.
29799 (casin_test): Likewise.
29800 (casinh_test): Likewise.
29801
29802 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29803
29804 [BZ #15409]
29805 * math/s_catan.c (__catan): Handle arguments with large real or
29806 imaginary part separately without squaring.
29807 * math/s_catanf.c (__catanf): Likewise.
29808 * math/s_catanh.c (__catanh): Likewise.
29809 * math/s_catanhf.c (__catanhf): Likewise.
29810 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29811 and redefine.
29812 (__catanhl): Handle arguments with large real or imaginary part
29813 separately without squaring.
29814 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29815 and redefine.
29816 (__catanl): Handle arguments with large real or imaginary part
29817 separately without squaring.
29818 * math/libm-test.inc (catan_test): Add more tests.
29819 (catanh_test): Likewise.
29820 * sysdeps/i386/fpu/libm-test-ulps: Update.
29821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29822
29823 2013-04-27 Andreas Jaeger <aj@suse.de>
29824
29825 [BZ #15007]
29826 * stdlib/stdlib.h: Update guards for qecvt.
29827 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29828 <stdlib.h>.
29829
29830 2013-04-27 Allan McRae <allan@archlinux.org>
29831
29832 * sysdeps/i386/fpu/libm-test-ulps: Update.
29833
29834 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29835
29836 [BZ #15406]
29837 * math/s_catan.c: Include <float.h>.
29838 (__catan): Ensure underflow exception occurs for underflowed
29839 result.
29840 * math/s_catanf.c: Include <float.h>.
29841 (__catanf): Ensure underflow exception occurs for underflowed
29842 result.
29843 * math/s_catanh.c: Include <float.h>.
29844 (__catanh): Ensure underflow exception occurs for underflowed
29845 result.
29846 * math/s_catanhf.c: Include <float.h>.
29847 (__catanhf): Ensure underflow exception occurs for underflowed
29848 result.
29849 * math/s_catanhl.c: Include <float.h>.
29850 (__catanhl): Ensure underflow exception occurs for underflowed
29851 result.
29852 * math/s_catanl.c: Include <float.h>.
29853 (__catanl): Ensure underflow exception occurs for underflowed
29854 result.
29855 * math/libm-test.inc (catan_test): Add more tests.
29856 (catanh_test): Likewise.
29857
29858 [BZ #15405]
29859 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29860 underflowed result.
29861 * math/s_ccoshf.c (__ccoshf): Likewise.
29862 * math/s_ccoshl.c (__ccoshl): Likewise.
29863 * math/s_csin.c (__csin): Likewise.
29864 * math/s_csinf.c (__csinf): Likewise.
29865 * math/s_csinh.c (__csinh): Likewise.
29866 * math/s_csinhf.c (__csinhf): Likewise.
29867 * math/s_csinhl.c (__csinhl): Likewise.
29868 * math/s_csinl.c (__csinl): Likewise.
29869 * math/libm-test.inc (ccos_test): Add more tests.
29870 (ccosh_test): Likewise.
29871 (csin_test): Likewise.
29872 (csinh_test): Likewise.
29873
29874 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29875
29876 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29877 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29878 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29879 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29880 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29881 powerpc/power5+/fpu folders.
29882 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29883
29884
29885 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29886
29887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29888
29889 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29890
29891 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29892 additions to variable.
29893 [$(config-machine) = x86_64] (modules-names): Likewise.
29894 ($(objpfx)tst-audit3): Remove dependency.
29895 ($(objpfx)tst-audit3.out): Likewise.
29896 ($(objpfx)tst-audit4): Likewise.
29897 ($(objpfx)tst-audit4.out): Likewise.
29898 ($(objpfx)tst-audit5): Likewise.
29899 ($(objpfx)tst-audit5.out): Likewise.
29900 ($(objpfx)tst-audit6): Likewise.
29901 ($(objpfx)tst-audit6.out): Likewise.
29902 ($(objpfx)tst-audit7): Likewise.
29903 ($(objpfx)tst-audit7.out): Likewise.
29904 (tst-audit3-ENV): Remove variable.
29905 (tst-audit4-ENV): Likewise.
29906 (tst-audit5-ENV): Likewise.
29907 (tst-audit6-ENV): Likewise.
29908 (tst-audit7-ENV): Likewise.
29909 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29910 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29911 addition to variable.
29912 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29913 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29914 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29915 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29916 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29917 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29918 tst-audit3, tst-audit4 and tst-audit5.
29919 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29920 tst-audit6 and tst-audit7.
29921 [$(subdir) = elf] (modules-names): Add audit modules for those
29922 tests.
29923 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29924 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29925 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29926 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29927 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29928 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29929 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29930 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29931 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29932 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29933 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29934 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29935 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29936 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29937 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29938 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29939 Likewise.
29940 [$(subdir) = elf && $(config-cflags-avx) = yes]
29941 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29942 [$(subdir) = elf && $(config-cflags-avx) = yes]
29943 (CFLAGS-tst-auditmod4a.c): Likewise.
29944 [$(subdir) = elf && $(config-cflags-avx) = yes]
29945 (CFLAGS-tst-auditmod4b.c): Likewise.
29946 [$(subdir) = elf && $(config-cflags-avx) = yes]
29947 (CFLAGS-tst-auditmod6b.c): Likewise.
29948 [$(subdir) = elf && $(config-cflags-avx) = yes]
29949 (CFLAGS-tst-auditmod6c.c): Likewise.
29950 [$(subdir) = elf && $(config-cflags-avx) = yes]
29951 (CFLAGS-tst-auditmod7b.c): Likewise.
29952 * elf/tst-audit3.c: Move to ...
29953 * sysdeps/x86_64/tst-audit3.c: ... here.
29954 * elf/tst-audit4.c: Move to ...
29955 * sysdeps/x86_64/tst-audit4.c: ... here.
29956 * elf/tst-audit5.c: Move to ...
29957 * sysdeps/x86_64/tst-audit5.c: ... here.
29958 * elf/tst-audit6.c: Move to ...
29959 * sysdeps/x86_64/tst-audit6.c: ... here.
29960 * elf/tst-audit7.c: Move to ...
29961 * sysdeps/x86_64/tst-audit7.c: ... here.
29962 * elf/tst-auditmod3a.c: Move to ...
29963 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29964 * elf/tst-auditmod3b.c: Move to ...
29965 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29966 * elf/tst-auditmod4a.c: Move to ...
29967 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29968 * elf/tst-auditmod4b.c: Move to ...
29969 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29970 * elf/tst-auditmod5a.c: Move to ...
29971 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29972 * elf/tst-auditmod5b.c: Move to ...
29973 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29974 * elf/tst-auditmod6a.c: Move to ...
29975 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29976 * elf/tst-auditmod6b.c: Move to ...
29977 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29978 * elf/tst-auditmod6c.c: Move to ...
29979 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29980 * elf/tst-auditmod7a.c: Move to ...
29981 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29982 * elf/tst-auditmod7b.c: Move to ...
29983 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29984
29985 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29986
29987 [BZ #15366]
29988 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29989 define unconditionally.
29990 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29991 define unconditionally.
29992 (INT8_C, INT16_C, etc.): Likewise.
29993
29994 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29995
29996 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29997 __ehdr_start with hidden visibility.
29998
29999 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30000
30001 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30002
30003 * math/libm-test.inc (cos_test): Use accurate hex constants.
30004 (sincost_test): Likewise.
30005
30006 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30007
30008 * math/libm-test.inc (catan_test): Add more tests.
30009 (catanh_test): Likewise.
30010
30011 * math/s_catanf.c (__catanf): Use suffixed floating-point
30012 constants.
30013 * math/s_catanhf.c (__catanhf): Likewise.
30014 * math/s_catanhl.c (__catanhl): Likewise.
30015 * math/s_catanl.c (__catanl): Likewise.
30016
30017 [BZ #15394]
30018 * math/s_catan.c (__catan): Calculate imaginary part of result
30019 with log1p not log unless computing log of number close to 0.
30020 * math/s_catanf.c (__catanf): Likewise.
30021 * math/s_catanl.c (__catanl): Likewise.
30022 * math/s_catanh.c (__catanh): Calculate real part of result with
30023 log1p not log unless computing log of number close to 0.
30024 * math/s_catanhf.c (__catanhf): Likewise.
30025 * math/s_catanhl.c (__catanhl): Likewise.
30026 * math/libm-test.inc (catan_test): Add more tests.
30027 (catanh_test): Likewise.
30028 * sysdeps/i386/fpu/libm-test-ulps: Update.
30029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30030
30031 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30032
30033 * benchtests/Makefile: Mention files in which fast and slow
30034 paths of math functions are implemented.
30035
30036 2013-04-23 Roland McGrath <roland@hack.frob.com>
30037
30038 * sysdeps/posix/timespec_get.c: New file.
30039
30040 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30041
30042 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30043 POWER.
30044 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30045 for POWER.
30046 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30047 powerpc/power5/fpu folders.
30048 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30049 * benchtests/Makefile: Add modf testcase.
30050 * benchtests/bench-modf.c: New file: Benchmark test for mo
30051
30052 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30053
30054 [BZ #14888]
30055 * time/Makefile (tests): Add tst-strptime-whitespace.
30056 * time/strptime_l.c (get_number): Use ISSPACE.
30057 (__strptime_internal): Likewise.
30058 * time/tst-strptime-whitespace.c: New test case.
30059
30060 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30061
30062 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30063 member.
30064 (_nss_files_init): Set it here.
30065
30066 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30067
30068 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30069 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30070 unsigned.
30071
30072 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30073
30074 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30075
30076 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30077
30078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30079 size just once.
30080
30081 2013-04-21 David S. Miller <davem@davemloft.net>
30082
30083 * po/ru.po: Update Russion translation from translation project.
30084
30085 2013-04-17 Adam Conrad <adconrad@0c3.net>
30086
30087 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30088 and setfsgid.
30089
30090 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30091
30092 * configure.in: Remove i386 configure warning. Remove i386 case.
30093 * configure: Regenerate.
30094 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30095 Add example to error message.
30096 * sysdeps/i386/configure: Regenerate.
30097
30098 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30099
30100 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30101 slowtan.
30102 * benchtests/cos-inputs: New file.
30103 * benchtests/slowcos-inputs: New file.
30104 * benchtests/slowcos.c: New file.
30105 * benchtests/slowtan-inputs: New file.
30106 * benchtests/slowtan.c: New file.
30107 * benchtests/tan-inputs: New file.
30108
30109 2013-04-16 Roland McGrath <roland@hack.frob.com>
30110
30111 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30112 considered kosher.
30113
30114 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30115
30116 * benchtests/Makefile: Include cppflags-iterator.mk to add
30117 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30118
30119 * Makefile.in (bench-clean): New target.
30120 * benchtests/Makefile (bench-clean): Likewise.
30121
30122 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30123
30124 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30125
30126 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30127
30128 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30129
30130 2013-04-15 Andreas Schwab <schwab@suse.de>
30131
30132 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30134 * nscd/pwdcache.c (cache_addpw): Likewise.
30135 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30136 more than recsize.
30137
30138 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30139
30140 * benchtests/Makefile (bench): Write all output to
30141 bench-out.tmp together.
30142
30143 2013-04-15 Andreas Schwab <schwab@suse.de>
30144
30145 * nscd/nscd.c (main): Don't fork again after closing files.
30146
30147 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30148
30149 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30150
30151 * benchtests/Rules (bench-deps): Collect dependencies into a
30152 single variable. Add Makefile to dependencies.
30153 ($(objpfx)bench-%.c): Depend on bench-deps.
30154
30155 2013-04-12 Roland McGrath <roland@hack.frob.com>
30156 Xavier Roche <roche+kml2@exalead.com>
30157
30158 [BZ #15361]
30159 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30160 just that it's a file descriptor.
30161 * manual/llio.texi (Synchronizing AIO Operations): Update description
30162 for EBADF error from aio_fsync.
30163
30164 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30165
30166 * Rules (bench): Move target definition...
30167 * benchtests/Makefile: ... here.
30168
30169 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30170
30171 * math/libm-test.inc (cos_test): Fix PI/2 test.
30172 (sincos_test): Likewise.
30173 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30174 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30175
30176 2013-04-11 Andreas Schwab <schwab@suse.de>
30177
30178 [BZ #13988]
30179 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30180 accept exponent character only when digits were seen.
30181 * stdio-common/Makefile (tests): Add bug26.
30182 * stdio-common/bug26.c: New file.
30183
30184 [BZ #14293]
30185 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30186 non-freeable.
30187
30188 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30189
30190 * Makeconfig (rtld-prefix): Define built linker prefix.
30191 * Rules (run-bench): Use it.
30192 * math/Makefile (run-regen-ulps): Likewise.
30193
30194 * Rules (bench): Remove eval.
30195
30196 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30197 Roland McGrath <roland@hack.frob.com>
30198 Ondrej Bilka <neleai@seznam.cz>
30199
30200 [BZ #15346]
30201 * time/getdate.c: Include ctype.h and alloca.h.
30202 (__getdate_r): Trim leading and trailing spaces of input.
30203 * time/tst-getdate.c (tests): Add tests with leading and
30204 trailing spaces.
30205
30206 2013-04-08 Roland McGrath <roland@hack.frob.com>
30207
30208 [BZ #14280]
30209 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30210 when computing value.
30211
30212 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30213
30214 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30215 Use testrun.sh to run libm tests.
30216
30217 [BZ #15309]
30218 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30219
30220 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30221
30222 [BZ #15264]
30223 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30224
30225 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30226
30227 * Makefile.in (regen-ulps): New target.
30228 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30229 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30230 [ifneq (no,$(PERL)] (regen-ulps): New target.
30231 [ifeq (no,$(PERL)] (regen-ulps): New target.
30232 * math/libm-test.inc (ulps_file_name): Define.
30233 (output_dir): New variable.
30234 (options): Add "output-dir" option.
30235 (parse_opt): Handle 'o' case.
30236 (main): If output_dir is non-NULL use it as a prefix
30237 otherwise use "".
30238 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30239
30240 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30241
30242 [BZ #10060, #10062]
30243 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30244 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30245 fail configure if __sync_val_compare_and_swap is not inlined.
30246 * sysdeps/i386/configure: Regenerate.
30247 * configure.in: Build for i686 when configured for i386.
30248 * configure: Regenerate.
30249 * README: Remove i386 reference.
30250
30251 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30252
30253 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30255
30256 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30257
30258 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30259 (lmsnanval): New variables.
30260 (F): Add conversion tests.
30261 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30262 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30263
30264 * stdio-common/tstdiomisc.c (F): Properly collect individual
30265 tests' results.
30266
30267 [BZ #14686, #15336]
30268 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30269 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30270 Instead, use input NaN values or generate a qNaN by arithmetic
30271 operation. Also fix bugs to comply with the standard.
30272 * math/libm-test.inc (remainder_test): Add more tests.
30273
30274 [BZ #15335, #15342]
30275 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30276 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30277 input NaN values or generate a qNaN by arithmetic operation.
30278
30279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30280 unreachable code.
30281
30282 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30283 definitions.
30284
30285 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30286
30287 [BZ #14478]
30288 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30289 underflowed result.
30290 * math/s_cexpf.c (__cexpf): Likewise.
30291 * math/s_cexpl.c (__cexpl): Likewise.
30292 * math/libm-test.inc (cexp_test): Add more tests.
30293
30294 2013-04-03 Andreas Schwab <schwab@suse.de>
30295
30296 [BZ #15330]
30297 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30298 order arrays from heap if bigger than alloca cutoff.
30299
30300 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30301
30302 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30303 (SNAN_TESTS_double): Refer to GCC PR56831.
30304 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30305 GCC PR56828.
30306
30307 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30308
30309 * Rules (bench): Move bench.out after the run is complete.
30310
30311 * Rules (bench): Echo currently running benchmark.
30312
30313 * benchtests/Makefile (bench): Add atan and slowatan.
30314 * benchtests/atan-inputs: New file.
30315 * benchtests/slowatan-inputs: New file.
30316 * benchtests/slowatan.c: New file.
30317
30318 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30319 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30320 its value.
30321
30322 [BZ #15305]
30323 * sysdeps/unix/sysv/linux/kernel-features.h
30324 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30325 __ASSUME_XFS_RESTRICTED_CHOWN.
30326 * sysdeps/unix/sysv/linux/pathconf.c
30327 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30328 Save and restore errno.
30329
30330 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30331
30332 [BZ #15327]
30333 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30334 arguments using __kernel_casinh.
30335 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30336 arguments using __kernel_casinhf.
30337 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30338 arguments using __kernel_casinhl.
30339 * math/libm-test.inc (cacosh_test): Add more tests.
30340 * sysdeps/i386/fpu/libm-test-ulps: Update.
30341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30342
30343 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30344
30345 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30347
30348 * bench/Makefile (bench): Add sin and slowsin.
30349 * benchtests/sin-inputs: New file.
30350 * benchtests/slowsin-inputs: New file.
30351 * benchtests/slowsin.c: New file.
30352
30353 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30354 (bench): Add slowexp and slowpow.
30355 (exp-ITER): Increase iterations.
30356 (pow-ITER): Likewise.
30357 * benchtests/exp-inputs: Change input.
30358 * benchtests/pow-inputs: Likewise.
30359 * benchtests/slowexp-inputs: New file.
30360 * benchtests/slowexp.c: New file.
30361 * benchtests/slowpow-inputs: New file.
30362 * benchtests/slowpow.c: New file.
30363
30364 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30365
30366 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30367 instructions.
30368 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30369 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30370 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30371 * benchtests/Makefile: Add rint benchtest.
30372 * benchtests/rint-inputs: Input for rint benchtest.
30373
30374 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30375
30376 * Versions.def (libm): Add GLIBC_2.18.
30377 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30378 hidden libm prototypes.
30379 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30380 * math/Makefile (libm-calls): Add s_issignaling.
30381 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30382 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30383 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30384 declaration.
30385 * math/math.h [__USE_GNU] (issignaling): New macro.
30386 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30387 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30389 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30392 * manual/arith.texi (issignaling): New section.
30393 * manual/libm-err-tab.pl (@all_functions): Update comment.
30394 * math/gen-libm-test.pl (parse_args): Apply special handling for
30395 issignaling.
30396 * math/libm-test.inc (print_float, issignaling_test): New
30397 functions.
30398 (check_float_internal): Add issignaling checks.
30399 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30400 default definition.
30401 * sysdeps/powerpc/math-tests.h: New file.
30402 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30403 tests.
30404 * math/test-snan.c (TEST_FUNC): Likewise.
30405
30406 2013-03-30 David S. Miller <davem@davemloft.net>
30407
30408 * po/de.po: Update from translation team.
30409
30410 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30411
30412 [BZ #10357]
30413 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30414 imaginary part less than 1.0 and real part less than 0.5
30415 specially.
30416 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30417 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30418 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30419 (cacos_test): Add more tests.
30420 (casin_test): Likewise.
30421 (casinh_test): Likewise.
30422 * sysdeps/i386/fpu/libm-test-ulps: Update.
30423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30424
30425 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30426
30427 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30428 ONE with its value.
30429
30430 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30431 (__pow_mp): Replace ONE and MONE with their values.
30432 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30433 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30434 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30435 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30436 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30438
30439 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30440
30441 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30442 (__pow_mp): Replace ZERO and MZERO with their values.
30443 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30444 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30445 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30446 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30447 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30448 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30449 (__sqr): Likewise.
30450
30451 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30452
30453 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30454
30455 2013-03-28 Roland McGrath <roland@hack.frob.com>
30456
30457 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30458 Declare with __attribute__ ((weak)).
30459 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30460 Call __call_tls_dtors only if it's not NULL.
30461
30462 2013-03-28 Roland McGrath <roland@hack.frob.com>
30463
30464 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30465 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30466 magic __ehdr_start linker symbol if it's defined.
30467 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30468 them up here if it was already done.
30469
30470 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30471 (_dl_aux_init): Use const in cast when setting it.
30472 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30473 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30474 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30475
30476 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30477 Declare them here.
30478 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30479 * csu/libc-tls.c: Nor here.
30480 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30481
30482 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30483 (__libc_message): Never call vsyslog.
30484
30485 2013-03-28 Alan Modra <amodra@gmail.com>
30486
30487 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30488 Define as empty.
30489 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30490 Likewise.
30491
30492 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30493
30494 [BZ #15214]
30495 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30496 underflow.
30497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30498
30499 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30500
30501 [BZ #15304]
30502 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30503 Don't add gid passed as argument.
30504
30505 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30506
30507 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30508
30509 [BZ #15307]
30510 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30511 imaginary part between 1.0 and 1.5 and real part less than 0.5
30512 specially.
30513 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30514 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30515 * math/libm-test.inc (cacos_test): Add more tests.
30516 (casin_test): Likewise.
30517 (casinh_test): Likewise.
30518 * sysdeps/i386/fpu/libm-test-ulps: Update.
30519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30520
30521 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30522
30523 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30524 constants.
30525 (norm): Likewise.
30526 (denorm): Likewise.
30527 (__dbl_mp): Likewise.
30528 (add_magnitudes): Likewise.
30529 (sub_magnitudes): Likewise.
30530 (__add): Likewise.
30531 (__sub): Likewise.
30532 (__mul): Likewise.
30533 (__sqr): Likewise.
30534 (__inv): Likewise.
30535 (__dvd): Likewise.
30536
30537 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30538 commented code.
30539 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30540 (__dubcos): Likewise.
30541 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30542 (__ieee754_acos): Likewise.
30543 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30544 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30545 (__exp1): Likewise.
30546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30548 (log1): Likewise.
30549 (my_log2): Likewise.
30550 (checkint): Likewise.
30551 * sysdeps/ieee754/dbl-64/e_remainder.c
30552 (__ieee754_remainder): Likewise.
30553 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30555 (bsloww): Likewise.
30556 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30557
30558 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30560 MANTISSA_STORE_T to store computations on mantissa. Use
30561 macros for rounding and division.
30562 (denorm): Likewise.
30563 (__dbl_mp): Likewise.
30564 (add_magnitudes): Likewise.
30565 (sub_magnitudes): Likewise.
30566 (__mul): Likewise.
30567 (__sqr): Likewise.
30568 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30569 powers of two in terms of TWOPOW macro.
30570 (mp_no): Make type of mantissa as MANTISSA_T.
30571 [!RADIXI]: Define RADIXI.
30572 [!TWO52]: Define TWO52.
30573 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30574
30575 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30576
30577 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30578 llroundl symbol when building for PPC32.
30579
30580 2013-03-24 Mark H Weaver <mhw@netris.org>
30581
30582 * manual/arith.texi (Normalization Functions): Fix prototypes for
30583 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30584
30585 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30586
30587 [BZ #13889]
30588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30589 high value to check if expl overflow.
30590 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30591 to check for underflow and overflow.
30592 * math/libm-test.inc: Add exp test.
30593
30594 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30595
30596 [BZ #11120]
30597 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30598 with NOT_IN_libc.
30599
30600 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30601
30602 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30603 symbol.
30604
30605 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30606
30607 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30608 wrap blocks consisting of several statements.
30609
30610 * sysdeps/generic/math-tests.h: New file.
30611 * sysdeps/i386/fpu/math-tests.h: Likewise.
30612 * math/test-snan.c: Include it.
30613 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30614
30615 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30616
30617 [BZ #15285]
30618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30619 (__ieee754_j0l): Do not improve calculations using cos of twice
30620 input for inputs above LDBL_MAX / 2.0L.
30621 (__ieee754_y0l): Likewise.
30622 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30623 (__ieee754_j1l): Do not improve calculations using cos of twice
30624 input for inputs above LDBL_MAX / 2.0L.
30625 (__ieee754_y1l): Likewise.
30626 * math/libm-test.inc (j0_test): Add another test.
30627 (j1_test): Likewise.
30628 (y0_test): Likewise.
30629 (y1_test): Likewise.
30630 * sysdeps/i386/fpu/libm-test-ulps: Update.
30631
30632 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30633
30634 * Rules ($(objpfx)bench-%.c): Include code from a C source
30635 file.
30636
30637 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30638
30639 [BZ #15287]
30640 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30641 imaginary part 1.0 and real part less than 0.5 specially.
30642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30644 * math/libm-test.inc (cacos_test): Add more tests.
30645 (casin_test): Likewise.
30646 (casinh_test): Likewise.
30647 * sysdeps/i386/fpu/libm-test-ulps: Update.
30648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30649
30650 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30651
30652 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30653 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30654
30655 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30656
30657 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30658 * config.make.in (config-cflags-sse4): Remove variable.
30659 (config-cflags-avx): Likewise.
30660 (config-cflags-sse2avx): Likewise.
30661 (config-cflags-novzeroupper): Likewise.
30662 (config-asflags-i686): Likewise.
30663 (have-mfma4): Likewise.
30664 (have-as-vis3): Likewise.
30665 (MIG): Likewise.
30666 * configure.in (MIG): Do not AC_SUBST.
30667 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30668 (libc_cv_cc_sse4): Do not AC_SUBST.
30669 (libc_cv_cc_avx): Likewise.
30670 (libc_cv_cc_sse2avx): Likewise.
30671 (libc_cv_cc_novzeroupper): Likewise.
30672 (libc_cv_cc_fma4): Likewise.
30673 (libc_cv_as_i686): Likewise.
30674 (libc_cv_sparc_as_vis3): Likewise.
30675 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30676 LIBC_CONFIG_VAR.
30677 (config-asflags-i686): Likewise.
30678 (config-cflags-avx): Likewise.
30679 (config-cflags-sse2avx): Likewise.
30680 (have-mfma4): Likewise.
30681 (config-cflags-novzeroupper): Likewise.
30682 * sysdeps/mach/configure.in (MIG): Likewise.
30683 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30684 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30685 LIBC_CONFIG_VAR.
30686 (config-cflags-avx): Likewise.
30687 (config-cflags-sse2avx): Likewise.
30688 (have-mfma4): Likewise.
30689 (config-cflags-novzeroupper): Likewise.
30690 * configure: Regenerated.
30691 * sysdeps/i386/configure: Likewise.
30692 * sysdeps/mach/configure: Likewise.
30693 * sysdeps/sparc/configure: Likewise.
30694 * sysdeps/x86_64/configure: Likewise.
30695
30696 2013-03-20 Roland McGrath <roland@hack.frob.com>
30697
30698 [BZ #14812]
30699 * locale/programs/localedef.c (options): Put N_ translation marker
30700 on argument names, not just descriptions.
30701
30702 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30703
30704 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30705
30706 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30707
30708 [BZ #14176]
30709 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30710
30711 2013-03-19 Roland McGrath <roland@hack.frob.com>
30712
30713 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30714 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30715 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30716 [!BEFORE_ABORT] (before_abort): New function.
30717 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30718 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30719 (writev_for_fatal): New function.
30720 (WRITEV_FOR_FATAL): New macro; call that.
30721 (backtrace_and_maps): New function.
30722 (BEFORE_ABORT): New macro; call that.
30723 (struct str_list): Type removed.
30724 (__libc_message, __libc_fatal): Functions removed.
30725 Include <sysdeps/posix/libc_fatal.c> instead.
30726
30727 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30728
30729 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30730 constants.
30731 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30732 double constants.
30733
30734 2013-03-19 Andreas Schwab <schwab@suse.de>
30735
30736 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30737 * sysdeps/gnu/configure: Regenerate.
30738
30739 * configure.in: Substitute libc_cv_rtlddir.
30740 * configure: Regenerate.
30741 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30742 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30743 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30744 * elf/Makefile (install-others, CFLAGS-interp.c)
30745 (ldso_install, common-ldd-rewrite): Likewise.
30746 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30747 $(inst_slibdir)/$(rtld-installed-name).
30748 * scripts/rellns-sh: Add -p option.
30749 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30750 for source.
30751
30752 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30753
30754 * manual/nptl.texi: Renamed to ...
30755 * manual/threads.texi: ... this.
30756 * manual/Makefile (chapters): Update.
30757
30758 2013-03-18 Roland McGrath <roland@hack.frob.com>
30759
30760 [BZ #14812]
30761 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30762 on argument names, not just descriptions.
30763 * malloc/memusagestat.c (options): Likewise.
30764 * nss/getent.c (options): Likewise.
30765
30766 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30767
30768 [BZ #14812]
30769 * iconv/iconv_prog.c (options): Put N_ translation marker
30770 on argument names, not just descriptions.
30771 * iconv/iconvconfig.c (options): Likewise.
30772
30773 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30774
30775 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30776 implementation which is faster on all x86_64 architectures.
30777 Tested on AMD, Intel Nehalem, SNB, IVB.
30778 * sysdeps/x86_64/strnlen.S: Likewise.
30779
30780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30781 Remove all multiarch strlen and strnlen versions.
30782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30783 Remove strlen and strnlen related parts.
30784
30785 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30786 Inline strlen part.
30787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30788
30789 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30790 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30791 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30792 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30793 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30794 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30795
30796 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30797
30798 * manual/memory.texi (Malloc Tunable Parameters):
30799 Sort parameters alphabetically. Add comments for missing entries.
30800
30801 2013-03-17 David S. Miller <davem@davemloft.net>
30802
30803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30804
30805 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30806
30807 [BZ #15283]
30808 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30809 for arguments at most half maximum finite value.
30810 * math/libm-test.inc (j0_test): Add more tests.
30811 (j1_test): Likewise.
30812 (y0_test): Likewise.
30813 (y1_test): Likewise.
30814 * sysdeps/i386/fpu/libm-test-ulps: Update.
30815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30816
30817 [BZ #14155]
30818 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30819 1 / x and functions P and Q for arguments above 0x1p256L.
30820 (__ieee754_y0l): Likewise.
30821 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30822 (__ieee754_y1l): Likewise.
30823 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30824 (j1_test): Likewise.
30825 (y0_test): Likewise.
30826 (y1_test): Likewise.
30827
30828 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30829
30830 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30831 variable.
30832
30833 2013-03-15 Roland McGrath <roland@hack.frob.com>
30834
30835 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30836 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30837 zero since it's initialized to EXEC_PAGESIZE.
30838
30839 * sysdeps/unix/sysv/linux/ldsodefs.h
30840 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30841 * sysdeps/generic/ldsodefs.h: ... here.
30842
30843 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30844
30845 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30846
30847 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30848 math/test-snan.c.
30849 * math/test-snan.c: Renamed from
30850 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30851 * math/Makefile (tests): Add test-snan.
30852 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30853 test-powerpc-snan.
30854
30855 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30856 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30857 functions.
30858 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30859 __builtin_nan family of functions.
30860 * math/libm-test.inc (initialize): Initialize qnan_value with
30861 __builtin_nan family of functions.
30862 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30863 Remove variables.
30864 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30865 Remove functions.
30866 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30867 storage class. Initialize qNaN_var and sNaN_var with
30868 __builtin_nan and __builtin_nans families of functions,
30869 respectively.
30870
30871 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30872 (sqrt_test): Remove duplicate test with qNaN input.
30873 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30874 (round_test, signbit_test, significand_test): Note missing +/-Inf
30875 as well as qNaN tests.
30876
30877 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30878 qNaN_var. Fix a few strings, too.
30879 * math/libm-test.inc (nan_value): Rename to qnan_value.
30880 * math/gen-libm-test.pl (%beautify): Adjust to that.
30881 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30882 * math/test-misc.c (main): Likewise.
30883 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30884 to __qnan_bytes, and __qnan_union, respectively.
30885 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30886 Likewise.
30887 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30888 and lqnanval, respectively.
30889 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30890 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30891 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30892 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30893
30894 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30895 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30896 doubles.
30897
30898 * math/test-misc.c (main): Fix copy'n'pastos.
30899 * misc/tst-efgcvt.c (special): Likewise.
30900
30901 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30902 Remove declarations.
30903
30904 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30905
30906 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30907 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30908 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30909 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30910
30911 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30912
30913 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30914 macro to return vdso values correctly in IFUNC implementations.
30915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30916 Optimization by using IFUNC.
30917
30918 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30919 Richard Henderson <rth@redhat.com>
30920 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30921
30922 * Makefile.in (bench): New target.
30923 * NEWS: Mention the benchmark framework.
30924 * Rules (bench): Likewise.
30925 (binaries-bench): Generate binaries for functions to
30926 benchmark.
30927 * benchtests/Makefile: New makefile for benchmark tests.
30928 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30929 programs.
30930 * benchtests/exp-inputs: New input file for EXP function.
30931 * benchtests/pow-inputs: New input file for POW function.
30932 * scripts/bench.pl: New script to generate source files for
30933 benchmark programs.
30934
30935 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30936
30937 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30938 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30939 computations on mantissa. Use macros for rounding and
30940 division.
30941 (denorm): Likewise.
30942 (__dbl_mp): Likewise.
30943 (add_magnitudes): Likewise.
30944 (sub_magnitudes): Likewise.
30945 (__mul): Likewise.
30946 (__sqr): Likewise.
30947 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30948 powers of two in terms of TWOPOW macro.
30949 (mp_no): Make type of mantissa as MANTISSA_T.
30950 [!RADIXI]: Define RADIXI.
30951 [!TWO52]: Define TWO52.
30952 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30953
30954 * manual/nptl.texi (cindex): Modify threads to pthreads.
30955
30956 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30957
30958 * sysdeps/x86_64/preconfigure: Regenerated.
30959
30960 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30961
30962 [BZ #14155]
30963 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30964 0x1p28 and above.
30965 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30966 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30967 0x1p28 and above.
30968 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30969 * math/libm-test.inc (j0_test): Do not allow one spurious
30970 underflow exception.
30971 (y1_test): Likewise.
30972
30973 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30974
30975 * manual/Makefile (chapters): Add nptl.
30976 * manual/debug.texi (Debugging Support): Add link to Threads
30977 chapter.
30978 * manual/nptl.texi: New file.
30979
30980 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30981
30982 2013-03-14 Petr Baudis <pasky@ucw.cz>
30983
30984 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30985 for non-NULL pointer before the memory validity test. Pointed
30986 out by Holger Brunck <holger.brunck@keymile.com>.
30987
30988 2013-03-13 Andreas Schwab <schwab@suse.de>
30989
30990 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30991 instead of .os.
30992
30993 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30994
30995 * timezone/zic.c: Update from tzcode 2013b.
30996
30997 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30998
30999 * manual/install.texi (Configuring and compiling):
31000 Mention i686 and i586.
31001 * INSTALL: Regenerate.
31002
31003 2013-03-12 Roland McGrath <roland@hack.frob.com>
31004
31005 * sysdeps/init_array/elf-init.c: New file.
31006 * csu/elf-init.c
31007 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31008 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31009
31010 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31011 __gmon_start__ as global, but as static with a .preinit_array pointer.
31012 * sysdeps/init_array/gmon-start.c: New file. Use that.
31013 * sysdeps/init_array/crti.S: New file, empty except for comments.
31014 * sysdeps/init_array/crtn.S: Likewise.
31015
31016 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31017
31018 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31019 definining bcopy.
31020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31021 Remove Prefer_SSE_for_memop.
31022 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31023 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31024 HAS_PREFER_SSE_FOR_MEMOP.
31025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31026 memset-x86-64.
31027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31028 Remove bzero, memset ifunc support.
31029 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31030 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31031 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31032 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31033
31034 2013-03-11 Andreas Schwab <schwab@suse.de>
31035
31036 [BZ #15234]
31037 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31038 by SHLIB_COMPAT.
31039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31040 (GLIBC_2.16): Remove pthread_atfork.
31041
31042 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31043
31044 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31045 (ptestcases.h): Likewise.
31046
31047 2013-03-08 Roland McGrath <roland@hack.frob.com>
31048
31049 * Makeconfig ($(common-objpfx)config.status): Depend on
31050 sysdeps/*/preconfigure{,.in} too.
31051
31052 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31053
31054 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31055 (__free_hook): Use void * instead of __malloc_ptr_t.
31056 (__malloc_hook): Likewise.
31057 (__realloc_hook): Likewise.
31058 (__memalign_hook): Likewise.
31059 (__after_morecore_hook): Likewise.
31060 * malloc/arena.c (save_malloc_hook): Likewise.
31061 (save_free_hook): Likewise.
31062 * malloc/hooks.c (malloc_hook_ini): Likewise.
31063 (realloc_hook_ini): Likewise.
31064 (memalign_hook_ini): Likewise.
31065 * malloc/malloc.c (malloc_hook_ini): Likewise.
31066 (realloc_hook_ini): Likewise.
31067 (memalign_hook_ini): Likewise.
31068 (__free_hook): Likewise.
31069 (__malloc_hook): Likewise.
31070 (__realloc_hook): Likewise.
31071 (__memalign_hook): Likewise.
31072 (__libc_malloc): Likewise.
31073 (__libc_free): Likewise.
31074 (__libc_realloc): Likewise.
31075 (__libc_memalign): Likewise.
31076 (__libc_valloc): Likewise.
31077 (__libc_pvalloc): Likewise.
31078 (__libc_calloc): Likewise.
31079 (__posix_memalign): Likewise.
31080 * malloc/morecore.c (__sbrk): Likewise.
31081 (__default_morecore): Likewise.
31082
31083 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31084
31085 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31086 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31087 __malloc_ptrdiff_t.
31088
31089 * malloc/malloc.h (__malloc_size_t): Remove macro.
31090 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31091 __malloc_size_t.
31092 (old_memalign_hook): Likewise.
31093 (old_realloc_hook): Likewise.
31094 (struct hdr): Likewise.
31095 (flood): Likewise.
31096 (mallochook): Likewise.
31097 (memalignhook): Likewise.
31098 (reallochook): Likewise.
31099 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31100 (tr_old_realloc_hook): Likewise.
31101 (tr_old_memalign_hook): Likewise.
31102 (tr_mallochook): Likewise.
31103 (tr_reallochook): Likewise.
31104 (tr_memalignhook): Likewise.
31105
31106 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31107
31108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31109 default_ldbl_pack and using as default implementation.
31110 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31111 implementation.
31112 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31113 redundant definition.
31114 (ldbl_insert_mantissa): Likewise.
31115 (ldbl_canonicalize): Likewise.
31116 (ldbl_nearbyint): Likewise.
31117 (ldbl_pack): Rename to ldbl_pack_ppc.
31118 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31119 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31120 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31121
31122 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31123
31124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31125 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31126 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31127 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31129 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31130 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31131 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31132
31133 2013-03-07 Andreas Jaeger <aj@suse.de>
31134
31135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31136 bits/mman-linux.h.
31137
31138 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31139
31140 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31141 Include mpa.h and declare __MPEXP.
31142 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31143 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31144 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31145 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31146 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31147 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31148 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31149
31150 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31151 (__slowpow): Use long double EXPL and LOGL functions to
31152 compute POW.
31153 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31154 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31155 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31156 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31157 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31159
31160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31161 intermediate variable to calculate exponent.
31162 (__sqr): Likewise.
31163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31164 Likewise.
31165 (__sqr): Likewise.
31166
31167 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31168 [!NO__SQR]: Define __sqr.
31169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31170 and NO__SQR. Remove all code except __mul and __sqr. Include
31171 sysdeps/ieee754/dbl-64/mpa.c.
31172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31173
31174 [BZ #12723]
31175 * posix/Makefile (tests): Add tst-pathconf.
31176 * posix/tst-pathconf.c: New test case.
31177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31178 _PC_PIPE_BUF.
31179 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31180
31181 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31182
31183 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31184
31185 2013-03-06 Andreas Jaeger <aj@suse.de>
31186
31187 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31188 definition via __MAP_ANONYMOUS.
31189
31190 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31191 it's not part of Linux headers.
31192
31193 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31194 (MAP_HUGE_MASK): Define.
31195
31196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31197 Define.
31198 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31199 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31200 Define.
31201 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31202 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31203 Define.
31204 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31206 Define.
31207 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31208
31209 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31210 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31211 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31212 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31213 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31214 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31215
31216 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31217 Handle f2fs.
31218
31219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31220 Handle f2fs and efivarfs.
31221
31222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31223 f2fs.
31224
31225 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31226 (EFIVARFS_MAGIC): Add.
31227 (F2FS_LINK_MAX): Add.
31228
31229 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31230
31231 * stdio-common/vfprintf.c: Replace __builtin_expect with
31232 __glibc_unlikely.
31233
31234 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31235
31236 [BZ #13550]
31237 * sysdeps/generic/bp-sym.h: Remove file.
31238 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31239 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31240 <bp-sym.h> and <bp-asm.h>.
31241 (__longjmp): Don't use BP_SYM.
31242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31243 and <bp-asm.h>.
31244 (memcpy): Don't use BP_SYM.
31245 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31246 <bp-sym.h> and <bp-asm.h>.
31247 (memcpy): Don't use BP_SYM.
31248 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31249 <bp-asm.h>.
31250 (memcpy): Don't use BP_SYM.
31251 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31252 <bp-asm.h>.
31253 (memset): Don't use BP_SYM.
31254 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31255 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31256 (__bzero): Don't use BP_SYM.
31257 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31258 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31259 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31260 <bp-sym.h> and <bp-asm.h>.
31261 (memcmp): Don't use BP_SYM. Remove comment about bounded
31262 pointers.
31263 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31264 <bp-sym.h> and <bp-asm.h>.
31265 (memcpy): Don't use BP_SYM.
31266 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31267 <bp-sym.h> and <bp-asm.h>.
31268 (memset): Don't use BP_SYM.
31269 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31270 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31271 (__bzero): Don't use BP_SYM.
31272 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31273 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31274 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31275 <bp-sym.h> and <bp-asm.h>.
31276 (strncmp): Don't use BP_SYM. Remove comment about bounded
31277 pointers.
31278 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31279 <bp-sym.h> and <bp-asm.h>.
31280 (memcpy): Don't use BP_SYM.
31281 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31282 <bp-sym.h> and <bp-asm.h>.
31283 (memset): Don't use BP_SYM.
31284 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31285 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31286 (__bzero): Don't use BP_SYM.
31287 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31288 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31290 <bp-sym.h> and <bp-asm.h>.
31291 (__memchr): Don't use BP_SYM.
31292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31293 <bp-sym.h> and <bp-asm.h>.
31294 (memcmp): Don't use BP_SYM. Remove comment about bounded
31295 pointers.
31296 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31297 <bp-sym.h> and <bp-asm.h>.
31298 (memcpy): Don't use BP_SYM.
31299 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31300 <bp-sym.h> and <bp-asm.h>.
31301 (__mempcpy): Don't use BP_SYM.
31302 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31303 <bp-sym.h> and <bp-asm.h>.
31304 (__memrchr): Don't use BP_SYM.
31305 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31306 <bp-sym.h> and <bp-asm.h>.
31307 (memset): Don't use BP_SYM.
31308 (__bzero): Likewise.
31309 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31310 <bp-sym.h> and <bp-asm.h>.
31311 (__rawmemchr): Don't use BP_SYM.
31312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31313 <bp-sym.h> and <bp-asm.h>.
31314 (__STRCMP): Don't use BP_SYM.
31315 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31316 <bp-sym.h> and <bp-asm.h>.
31317 (strchr): Don't use BP_SYM.
31318 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31319 <bp-sym.h> and <bp-asm.h>.
31320 (__strchrnul): Don't use BP_SYM.
31321 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31322 <bp-sym.h> and <bp-asm.h>.
31323 (strlen): Don't use BP_SYM.
31324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31325 <bp-sym.h> and <bp-asm.h>.
31326 (strncmp): Don't use BP_SYM. Remove comment about bounded
31327 pointers.
31328 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31329 <bp-sym.h> and <bp-asm.h>.
31330 (__strnlen): Don't use BP_SYM.
31331 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31332 <bp-sym.h> and <bp-asm.h>.
31333 (__GI__setjmp): Don't use BP_SYM.
31334 (_setjmp): Likewise.
31335 (__sigsetjmp): Likewise.
31336 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31337 (L(start_addresses)): Don't use BP_SYM.
31338 (_start): Likewise.
31339 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31340 <bp-asm.h>.
31341 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31342 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31343 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31344 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31345 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31346 <bp-asm.h>.
31347 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31348 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31349 about bounded pointers.
31350 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31351 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31352 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31353 <bp-asm.h>.
31354 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31355 about bounded pointers. Remove GKM FIXME comments.
31356 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31357 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31358 <bp-asm.h>.
31359 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31360 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31361 Remove GKM FIXME comments.
31362 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31363 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31364 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31365 <bp-asm.h>.
31366 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31367 about bounded pointers. Remove GKM FIXME comment.
31368 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31369 and <bp-asm.h>.
31370 (strncmp): Don't use BP_SYM. Remove comment about bounded
31371 pointers.
31372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31373 <bp-sym.h> and <bp-asm.h>.
31374 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31376 <bp-sym.h> and <bp-asm.h>.
31377 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31378 comment.
31379
31380 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31381
31382 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31383 call free(NULL).
31384
31385 2013-03-05 David S. Miller <davem@davemloft.net>
31386
31387 * po/es.po: Update from translation team.
31388
31389 2013-03-05 Andreas Jaeger <aj@suse.de>
31390
31391 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31392 <bits/mman-linux.h>.
31393 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31394 is fine.
31395 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31396 <bits/mman-linux.h> to end of file.
31397 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31398 is fine.
31399 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31400 <bits/mman-linux.h> to end of file.
31401 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31402 is fine.
31403 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31404 <bits/mman-linux.h> to end of file.
31405
31406 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31407 (MCL_CURRENT, MCL_FUTURE): Define here.
31408
31409 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31410
31411 [BZ #15232]
31412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31413 attribute_hidden.
31414 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31415
31416 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31417
31418 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31419 fourth parameter needed for rt_sigprocmask syscall.
31420 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31421 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31422 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31423 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31424 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31425 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31426
31427 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31428
31429 [BZ #13550]
31430 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31431 comment about bounded pointers.
31432 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31433 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31434
31435 2013-03-04 Andreas Jaeger <aj@suse.de>
31436
31437 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31438 common definitions.
31439
31440 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31441 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31442 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31443 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31444 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31445 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31446
31447 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31448
31449 [BZ #15055]
31450 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31451 __ieee754_sqrl instead of __sqrl.
31452
31453 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31454
31455 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31456 * sysdeps/powerpc/fpu_control.h: ... here.
31457 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31458 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31459 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31460 * sysdeps/powerpc/bits/mathinline.h: ... here.
31461
31462 2013-03-01 Roland McGrath <roland@hack.frob.com>
31463
31464 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31465 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31466 to just [NEED_DL_SYSINFO_DSO].
31467 * elf/dl-support.c: Likewise.
31468 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31469 * elf/rtld.c (dl_main): Likewise.
31470 * elf/setup-vdso.h (setup_vdso): Likewise.
31471 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31472 * sysdeps/unix/sysv/linux/dl-sysdep.c
31473 (_dl_discover_osversion): Likewise.
31474
31475 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31476
31477 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31478 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31479
31480 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31481
31482 * NEWS: Mention libm performance improvements and non-x86 PI
31483 futex support.
31484
31485 * csu/libc-start.c (__pthread_initialize_minimal): Change
31486 function arguments.
31487 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31488
31489 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31490
31491 [BZ #13550]
31492 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31493 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31494 <bp-sym.h> and <bp-asm.h>.
31495 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31496 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31497 and <bp-asm.h>.
31498 (memcpy): Don't use BP_SYM.
31499 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31500 <bp-asm.h>.
31501 (__mpn_add_n): Don't use BP_SYM.
31502 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31503 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31504 and <bp-asm.h>.
31505 (__mpn_addmul_1): Don't use BP_SYM.
31506 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31507 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31508 <bp-sym.h>.
31509 (_setjmp): Don't use BP_SYM.
31510 (__novmx_setjmp): Likewise.
31511 (__GI__setjmp): Likewise.
31512 (__vmx_setjmp): Likewise.
31513 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31514 <bp-sym.h>.
31515 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31516 (__bzero): Don't use BP_SYM.
31517 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31518 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31519 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31520 <bp-sym.h> and <bp-asm.h>.
31521 (memcpy): Don't use BP_SYM.
31522 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31523 <bp-sym.h> and <bp-asm.h>.
31524 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31525 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31526 <bp-sym.h> and <bp-asm.h>.
31527 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31528 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31529 <bp-asm.h>.
31530 (__mpn_lshift): Don't use BP_SYM.
31531 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31532 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31533 <bp-asm.h>.
31534 (memset): Don't use BP_SYM.
31535 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31536 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31537 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31538 <bp-asm.h>.
31539 (__mpn_mul_1): Don't use BP_SYM.
31540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31542 <bp-sym.h> and <bp-asm.h>.
31543 (memcmp): Don't use BP_SYM.
31544 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31545 <bp-sym.h> and <bp-asm.h>.
31546 (memcpy): Don't use BP_SYM.
31547 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31548 <bp-sym.h> and <bp-asm.h>.
31549 (memset): Don't use BP_SYM.
31550 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31551 <bp-sym.h> and <bp-asm.h>.
31552 (strncmp): Don't use BP_SYM.
31553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31554 <bp-sym.h> and <bp-asm.h>.
31555 (memcpy): Don't use BP_SYM.
31556 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31557 <bp-sym.h> and <bp-asm.h>.
31558 (memset): Don't use BP_SYM.
31559 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31560 <bp-sym.h> and <bp-asm.h>.
31561 (__memchr): Don't use BP_SYM.
31562 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31563 <bp-sym.h> and <bp-asm.h>.
31564 (memcmp): Don't use BP_SYM.
31565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31566 <bp-sym.h> and <bp-asm.h>.
31567 (memcpy): Don't use BP_SYM.
31568 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31569 <bp-sym.h> and <bp-asm.h>.
31570 (__mempcpy): Don't use BP_SYM.
31571 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31572 <bp-sym.h> and <bp-asm.h>.
31573 (__memrchr): Don't use BP_SYM.
31574 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31575 <bp-sym.h> and <bp-asm.h>.
31576 (memset): Don't use BP_SYM.
31577 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31578 <bp-sym.h> and <bp-asm.h>.
31579 (__rawmemchr): Don't use BP_SYM.
31580 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31581 <bp-sym.h> and <bp-asm.h>.
31582 (__STRCMP): Don't use BP_SYM.
31583 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31584 <bp-sym.h> and <bp-asm.h>.
31585 (strchr): Don't use BP_SYM.
31586 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31587 <bp-sym.h> and <bp-asm.h>.
31588 (__strchrnul): Don't use BP_SYM.
31589 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31590 <bp-sym.h> and <bp-asm.h>.
31591 (strlen): Don't use BP_SYM.
31592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31593 <bp-sym.h> and <bp-asm.h>.
31594 (strncmp): Don't use BP_SYM.
31595 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31596 <bp-sym.h> and <bp-asm.h>.
31597 (__strnlen): Don't use BP_SYM.
31598 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31599 <bp-asm.h>.
31600 (__mpn_rshift): Don't use BP_SYM.
31601 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31602 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31603 <bp-sym.h> and <bp-asm.h>.
31604 (__sigsetjmp): Don't use BP_SYM.
31605 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31606 (L(start_addresses)): Don't use BP_SYM.
31607 (_start): Likewise.
31608 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31609 <bp-asm.h>.
31610 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31611 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31612 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31613 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31614 <bp-asm.h>.
31615 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31616 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31617 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31618 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31619 <bp-asm.h>.
31620 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31621 comments.
31622 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31623 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31624 <bp-asm.h>.
31625 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31626 FIXME comments.
31627 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31628 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31629 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31630 <bp-asm.h>.
31631 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31632 comment.
31633 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31634 and <bp-asm.h>.
31635 (strncmp): Don't use BP_SYM,
31636 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31637 <bp-asm.h>.
31638 (__mpn_sub_n): Don't use BP_SYM.
31639 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31640 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31641 and <bp-asm.h>.
31642 (__mpn_submul_1): Don't use BP_SYM.
31643 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31645 <bp-sym.h> and <bp-asm.h>.
31646 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31648 <bp-sym.h> and <bp-asm.h>.
31649 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31650 comment.
31651
31652 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31653
31654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31655 Use ZK to minimize writes to Z.
31656 (sub_magnitudes): Simplify code a bit.
31657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31658 Use ZK to minimize writes to Z.
31659 (sub_magnitudes): Simplify code a bit.
31660
31661 2013-02-27 Roland McGrath <roland@hack.frob.com>
31662
31663 * csu/gmon-start.c: Add special exception to license text.
31664
31665 2013-02-27 Richard Henderson <rth@redhat.com>
31666
31667 * scripts/config.guess: Update from config.git.
31668 * scripts/config.sub: Likewise.
31669
31670 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31671
31672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31673
31674 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31675
31676 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31677
31678 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31679
31680 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31681
31682 2013-02-26 Roland McGrath <roland@hack.frob.com>
31683
31684 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31685 [$(build-shared = yes].
31686
31687 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31688
31689 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31690 (__mul): Reduce iterations for calculating mantissa.
31691
31692 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31693 MPTWO.
31694 (__mpranred): Likewise.
31695
31696 [BZ #15160]
31697 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31698 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31699
31700 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31701
31702 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31703 Define __attribute__.
31704
31705 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31706
31707 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31708 unused.
31709 * posix/regex_internal.h (__attribute): Remove.
31710 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31711 (re_string_context_at): Likewise.
31712 (bitset_not): Use __attribute__ and mark function as possibly
31713 unused.
31714 (bitset_merge): Likewise.
31715 (bitset_mask): Likewise.
31716 (re_string_char_size_at): Likewise.
31717 (re_string_wchar_at): Likewise.
31718 (re_string_elem_size_at): Likewise.
31719
31720 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31721
31722 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31723 code.
31724 (cc32): Likewise.
31725
31726 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31727 (__acr): Likewise.
31728 (__cpy): Likewise.
31729 (norm): Likewise.
31730 (denorm): Likewise.
31731 (__dbl_mp): Likewise.
31732 (add_magnitudes): Likewise.
31733 (sub_magnitudes): Likewise.
31734 (__mul): Likewise.
31735 (__inv): Likewise.
31736
31737 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31738 style.
31739
31740 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31741 style.
31742
31743 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31744 code.
31745
31746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31747 up changes with default code.
31748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31749 Likewise.
31750
31751 2013-02-24 Allan McRae <allan@archlinux.org>
31752
31753 * manual/socket.texi (The Internet Namespace): Order menu items
31754 to match that in the file.
31755
31756 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31757 node listing of the info page menu.
31758
31759 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31760
31761 [BZ #13550]
31762 * sysdeps/i386/bp-asm.h: Remove file.
31763 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31764 (PARMS): Do not use macros from bp-asm.h.
31765 (S1): Likewise.
31766 (S2): Likewise.
31767 (SIZE): Likewise.
31768 (__mpn_add_n): Do not use BP_SYM
31769 * sysdeps/i386/addmul_1.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 (SIZE): Likewise.
31774 (__mpn_addmul_1): Do not use BP_SYM
31775 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31776 "bp-asm.h".
31777 (PARMS): Do not use macros from bp-asm.h.
31778 (SIGMSK): Likewise.
31779 (_setjmp): Likewise. Do not use BP_SYM.
31780 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31781 "bp-asm.h".
31782 (PARMS): Do not use macros from bp-asm.h.
31783 (SIGMSK): Likewise.
31784 (setjmp): Likewise. Do not use BP_SYM.
31785 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31786 "bp-asm.h".
31787 (PARMS): Do not use macros from bp-asm.h.
31788 (__frexp): Do not use BP_SYM.
31789 (frexp): Likewise.
31790 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31791 "bp-asm.h".
31792 (PARMS): Do not use macros from bp-asm.h.
31793 (__frexpf): Do not use BP_SYM.
31794 (frexpf): Likewise.
31795 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31796 "bp-asm.h".
31797 (PARMS): Do not use macros from bp-asm.h.
31798 (__frexpl): Do not use BP_SYM.
31799 (frexpl): Likewise.
31800 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31801 "bp-asm.h".
31802 (PARMS): Do not use macros from bp-asm.h.
31803 (__remquo): Do not use BP_SYM.
31804 (remquo): Likewise.
31805 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31806 "bp-asm.h".
31807 (PARMS): Do not use macros from bp-asm.h.
31808 (__remquof): Do not use BP_SYM.
31809 (remquof): Likewise.
31810 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31811 "bp-asm.h".
31812 (PARMS): Do not use macros from bp-asm.h.
31813 (__remquol): Do not use BP_SYM.
31814 (remquol): Likewise.
31815 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31816 "bp-asm.h".
31817 (PARMS): Do not use macros from bp-asm.h.
31818 (DEST): Likewise.
31819 (SRC): Likewise.
31820 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31821 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31822 "bp-asm.h".
31823 (PARMS): Do not use macros from bp-asm.h.
31824 (strlen): Do not use BP_SYM.
31825 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31826 "bp-asm.h".
31827 (PARMS): Do not use macros from bp-asm.h.
31828 (S1): Likewise.
31829 (S2): Likewise.
31830 (SIZE): Likewise.
31831 (__mpn_add_n): Do not use BP_SYM.
31832 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31833 "bp-asm.h".
31834 (PARMS): Do not use macros from bp-asm.h.
31835 (S1): Likewise.
31836 (SIZE): Likewise.
31837 (__mpn_addmul_1): Do not use BP_SYM.
31838 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31839 weak_alias.
31840 (bzero): Likewise.
31841 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31842 "bp-asm.h".
31843 (PARMS): Do not use macros from bp-asm.h.
31844 (S): Likewise.
31845 (SIZE): Likewise.
31846 (__mpn_lshift): Do not use BP_SYM.
31847 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31848 "bp-asm.h".
31849 (PARMS): Do not use macros from bp-asm.h.
31850 (DEST): Likewise.
31851 (SRC): Likewise.
31852 (LEN): Likewise.
31853 (memcpy): Likewise. Do not use BP_SYM.
31854 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31855 libc_hidden_def and weak_alias.
31856 (mempcpy): Do not use BP_SYM in weak_alias.
31857 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31858 "bp-asm.h".
31859 (PARMS): Do not use macros from bp-asm.h.
31860 (DEST): Likewise.
31861 (LEN): Likewise.
31862 [!BZERO_P] (CHR): Likewise.
31863 (memset): Likewise. Do not use BP_SYM.
31864 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31865 "bp-asm.h".
31866 (PARMS): Do not use macros from bp-asm.h.
31867 (S1): Likewise.
31868 (SIZE): Likewise.
31869 (__mpn_mul_1): Do not use BP_SYM.
31870 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31871 "bp-asm.h".
31872 (PARMS): Do not use macros from bp-asm.h.
31873 (S): Likewise.
31874 (SIZE): Likewise.
31875 (__mpn_rshift): Do not use BP_SYM.
31876 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31877 "bp-asm.h".
31878 (PARMS): Do not use macros from bp-asm.h.
31879 (STR): Likewise.
31880 (CHR): Likewise.
31881 (strchr): Likewise. Do not use BP_SYM.
31882 (index): Do not use BP_SYM in weak_alias.
31883 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31884 "bp-asm.h".
31885 (PARMS): Do not use macros from bp-asm.h.
31886 (DEST): Likewise.
31887 (SRC): Likewise.
31888 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31889 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31890 "bp-asm.h".
31891 (PARMS): Do not use macros from bp-asm.h.
31892 (strlen): Do not use BP_SYM.
31893 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31894 "bp-asm.h".
31895 (PARMS): Do not use macros from bp-asm.h.
31896 (S1): Likewise.
31897 (S2): Likewise.
31898 (SIZE): Likewise.
31899 (__mpn_sub_n): Do not use BP_SYM.
31900 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31901 "bp-asm.h".
31902 (PARMS): Do not use macros from bp-asm.h.
31903 (S1): Likewise.
31904 (SIZE): Likewise.
31905 (__mpn_submul_1): Do not use BP_SYM.
31906 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31907 "bp-asm.h".
31908 (PARMS): Do not use macros from bp-asm.h.
31909 (S1): Likewise.
31910 (S2): Likewise.
31911 (SIZE): Likewise.
31912 (__mpn_add_n): Do not use BP_SYM.
31913 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31914 weak_alias.
31915 (bzero): Likewise.
31916 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31917 "bp-asm.h".
31918 (PARMS): Do not use macros from bp-asm.h.
31919 (BLK2): Likewise.
31920 (LEN): Likewise.
31921 (memcmp): Do not use BP_SYM.
31922 (bcmp): Do not use BP_SYM in weak_alias.
31923 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31924 "bp-asm.h".
31925 (PARMS): Do not use macros from bp-asm.h.
31926 (DEST): Likewise.
31927 (SRC): Likewise.
31928 (LEN): Likewise.
31929 (memcpy): Likewise. Do not use BP_SYM.
31930 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31931 "bp-asm.h".
31932 (PARMS): Do not use macros from bp-asm.h.
31933 (DEST): Likewise.
31934 (SRC): Likewise.
31935 (LEN): Likewise.
31936 (memmove): Likewise. Do not use BP_SYM.
31937 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31938 "bp-asm.h".
31939 (PARMS): Do not use macros from bp-asm.h.
31940 (DEST): Likewise.
31941 (SRC): Likewise.
31942 (LEN): Likewise.
31943 (__mempcpy): Likewise. Do not use BP_SYM.
31944 (mempcpy): Do not use BP_SYM in weak_alias.
31945 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31946 "bp-asm.h".
31947 (PARMS): Do not use macros from bp-asm.h.
31948 (DEST): Likewise.
31949 (LEN): Likewise.
31950 [!BZERO_P] (CHR): Likewise.
31951 (memset): Likewise. Do not use BP_SYM.
31952 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31953 "bp-asm.h".
31954 (PARMS): Do not use macros from bp-asm.h.
31955 (STR2): Likewise.
31956 (strcmp): Do not use BP_SYM.
31957 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31958 "bp-asm.h".
31959 (PARMS): Do not use macros from bp-asm.h.
31960 (STR): Likewise.
31961 (DELIM): Likewise.
31962 [USE_AS_STRTOK_R] (SAVE): Likewise.
31963 (FUNCTION): Likewise. Do not use BP_SYM.
31964 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31965 aliases.
31966 (strtok_r): Likewise.
31967 (__GI___strtok_r): Likewise.
31968 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31969 (PARMS): Do not use macros from bp-asm.h.
31970 (S): Likewise.
31971 (SIZE): Likewise.
31972 (__mpn_lshift): Do not use BP_SYM.
31973 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31974 (PARMS): Do not use macros from bp-asm.h.
31975 (STR): Likewise.
31976 (CHR): Likewise.
31977 (__memchr): Do not use BP_SYM.
31978 (memchr): Do not use BP_SYM in weak_alias.
31979 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31980 (PARMS): Do not use macros from bp-asm.h.
31981 (BLK2): Likewise.
31982 (LEN): Likewise.
31983 (memcmp): Do not use BP_SYM.
31984 (bcmp): Do not use BP_SYM in weak_alias.
31985 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31986 (PARMS): Do not use macros from bp-asm.h.
31987 (S1): Likewise.
31988 (SIZE): Likewise.
31989 (__mpn_mul_1): Do not use BP_SYM.
31990 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31991 "bp-asm.h".
31992 (PARMS): Do not use macros from bp-asm.h.
31993 (STR): Likewise.
31994 (CHR): Likewise.
31995 (__rawmemchr): Do not use BP_SYM.
31996 (rawmemchr): Do not use BP_SYM in weak_alias.
31997 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31998 (PARMS): Do not use macros from bp-asm.h.
31999 (S): Likewise.
32000 (SIZE): Likewise.
32001 (__mpn_rshift): Do not use BP_SYM.
32002 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32003 (PARMS): Do not use macros from bp-asm.h.
32004 (SIGMSK): Likewise.
32005 (__sigsetjmp): Likewise. Do not use BP_SYM.
32006 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32007 (_start): Do not use BP_SYM.
32008 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32009 (PARMS): Do not use macros from bp-asm.h.
32010 (DEST): Likewise.
32011 (SRC): Likewise.
32012 (__stpcpy): Likewise. Do not use BP_SYM.
32013 (stpcpy): Do not use BP_SYM in weak_alias.
32014 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32015 "bp-asm.h".
32016 (PARMS): Do not use macros from bp-asm.h.
32017 (DEST): Likewise.
32018 (SRC): Likewise.
32019 (LEN): Likewise.
32020 (__stpncpy): Likewise. Do not use BP_SYM.
32021 (stpncpy): Do not use BP_SYM in weak_alias.
32022 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32023 (PARMS): Do not use macros from bp-asm.h.
32024 (STR): Likewise.
32025 (CHR): Likewise.
32026 (strchr): Likewise. Do not use BP_SYM.
32027 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32028 "bp-asm.h".
32029 (PARMS): Do not use macros from bp-asm.h.
32030 (STR): Likewise.
32031 (CHR): Likewise.
32032 (__strchrnul): Likewise. Do not use BP_SYM.
32033 (strchrnul): Do not use BP_SYM in weak_alias.
32034 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32035 "bp-asm.h".
32036 (PARMS): Do not use macros from bp-asm.h.
32037 (STOP): Likewise.
32038 (strcspn): Do not use BP_SYM.
32039 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32040 "bp-asm.h".
32041 (PARMS): Do not use macros from bp-asm.h.
32042 (STR): Likewise.
32043 (STOP): Likewise.
32044 (strpbrk): Likewise. Do not use BP_SYM.
32045 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32046 "bp-asm.h".
32047 (PARMS): Do not use macros from bp-asm.h.
32048 (STR): Likewise.
32049 (CHR): Likewise.
32050 (strrchr): Likewise. Do not use BP_SYM.
32051 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32052 (PARMS): Do not use macros from bp-asm.h.
32053 (SKIP): Likewise.
32054 (strspn): Do not use BP_SYM.
32055 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32056 (PARMS): Do not use macros from bp-asm.h.
32057 (STR): Likewise.
32058 (DELIM): Likewise.
32059 (SAVE): Likewise.
32060 (FUNCTION): Likewise. Do not use BP_SYM.
32061 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32062 aliases.
32063 (strtok_r): Likewise.
32064 (__GI___strtok_r): Likewise.
32065 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32066 (PARMS): Do not use macros from bp-asm.h.
32067 (S1): Likewise.
32068 (S2): Likewise.
32069 (SIZE): Likewise.
32070 (__mpn_sub_n): Do not use BP_SYM.
32071 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32072 "bp-asm.h".
32073 (PARMS): Do not use macros from bp-asm.h.
32074 (S1): Likewise.
32075 (SIZE): Likewise.
32076 (__mpn_submul_1): Do not use BP_SYM.
32077 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32078 <bp-sym.h>.
32079 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32080 and <bp-asm.h>.
32081 (PARMS): Do not use macros from bp-asm.h.
32082 (FLAGS): Likewise.
32083 (PTID): Likewise.
32084 (TLS): Likewise.
32085 (CTID): Likewise.
32086 (__clone): Do not use BP_SYM.
32087 (clone): Do not use BP_SYM in weak_alias.
32088 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32089 and <bp-asm.h>.
32090 (PARMS): Do not use macros from bp-asm.h.
32091 (LEN): Likewise.
32092 (__mmap64): Do not use BP_SYM.
32093 (mmap64): Do not use BP_SYM in weak_alias.
32094 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32095 <bp-sym.h> and <bp-asm.h>.
32096 (PARMS): Do not use macros from bp-asm.h.
32097 (__posix_fadvise64_l64): Do not use BP_SYM.
32098 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32099 (PARMS): Do not use macros from bp-asm.h.
32100 (NSOPS): Likewise.
32101 (semtimedop): Do not use BP_SYM.
32102 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32103 and <bp-asm.h>.
32104
32105 2013-02-21 Allan McRae <allan@archlinux.org>
32106
32107 * manual/message.texi (Charset conversion in gettext):
32108 Move @end statement to beginning of line.
32109
32110 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32111
32112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32113 static.
32114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32115 Likewise.
32116
32117 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32118 (denorm): Likewise.
32119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32121
32122 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32123
32124 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32125 tail-call to the resolved function if pltexit isn't needed.
32126
32127 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32128
32129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32130 or Y being zero as being unlikely.
32131 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32132 Likewise.
32133
32134 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32135
32136 * manual/nss.texi (System Databases and Name Service Switch):
32137 Remove frobnicate @pxref.
32138
32139 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32140
32141 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32142 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32143
32144 2013-02-20 Petr Machata <pmachata@redhat.com>
32145
32146 * elf/elf.h (R_ARM_TARGET1): New macro.
32147 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32148 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32149 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32150 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32151 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32152 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32153 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32154 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32155 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32156 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32157 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32158 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32159 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32160 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32161 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32162 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32163 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32164 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32165 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32166 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32167 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32168 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32169 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32170 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32171 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32172 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32173 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32174 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32175 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32176 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32177 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32178 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32179 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32180 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32181 (R_ARM_THM_GOT_BREL12): Likewise.
32182 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32183 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32184 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32185 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32186 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32187 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32188 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32189 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32190 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32191
32192 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32193
32194 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32195 __attribute_used__ to __attribute__ ((unused)).
32196
32197 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32198
32199 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32200 powerpc mpa.c.
32201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32202 comment formatting.
32203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32204
32205 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32206
32207 [BZ #13550]
32208 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32209 Remove macro.
32210 (ENTER): Remove both macro definitions.
32211 (LEAVE): Likewise.
32212 (CHECK_BOUNDS_LOW): Likewise.
32213 (CHECK_BOUNDS_HIGH): Likewise.
32214 (CHECK_BOUNDS_BOTH): Likewise.
32215 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32216 (RETURN_BOUNDED_POINTER): Likewise.
32217 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32218 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32219 (POP_ERRNO_LOCATION_RETURN): Likewise.
32220 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32221 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32222 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32223 macros.
32224 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32225 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32226 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32227 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32228 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32229 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32230 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32231 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32232 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32233 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32234 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32235 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32236 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32237 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32238 removed macros.
32239 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32240 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32241 macros.
32242 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32243 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32244 * sysdeps/i386/i586/memset.S (memset): Likewise.
32245 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32246 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32247 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32248 macros.
32249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32250 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32251 Change uses of L(2) to L(out).
32252 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32253 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32254 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32255 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32256 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32257 removed macros.
32258 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32259 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32260 macros.
32261 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32262 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32263 (RETURN): Do not use macro LEAVE.
32264 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32265 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32266 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32267 * sysdeps/i386/i686/memset.S (memset): Likewise.
32268 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32269 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32270 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32271 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32272 Likewise.
32273 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32274 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32275 L(1_2) and L(1_3) into L(1).
32276 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32277 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32278 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32279 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32280 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32281 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32282 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32283 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32284 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32285 macros.
32286 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32287 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32288 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32289 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32290 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32291 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32292 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32293 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32294 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32295 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32296 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32297 * sysdeps/i386/strspn.S (strspn): Likewise.
32298 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32299 conditional code.
32300 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32301 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32302 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32303 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32304 L(1_3) into L(1_1).
32305 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32306 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32307 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32308 macros.
32309 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32310
32311 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32312
32313 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32314 macro.
32315
32316 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32317
32318 * math/atest-exp.c (exp_mpn): Remove ROUND.
32319 * math/atest-exp2.c (exp_mpn): Likewise.
32320 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32321
32322 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32323 * stdlib/tst-tls-atexit-lib.c: Likewise.
32324 * stdlib/tst-tls-atexit.c: Likewise.
32325
32326 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32327
32328 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32329 and __attribute_alloc_size__.
32330
32331 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32332
32333 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32334 __attribute_alloc_size__.
32335 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32336 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32337
32338 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32339
32340 * include/programs/xmalloc.h: New file.
32341 * catgets/gencat.c: Include it.
32342 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32343 * elf/pldd.c: Likewise.
32344 * iconv/iconv_charmap.c: Likewise.
32345 * iconv/iconvconfig.c: Likewise.
32346 * iconv/strtab.c: Likewise.
32347 * locale/programs/locale.c: Likewise.
32348 * locale/programs/localedef.h: Likewise.
32349 * locale/programs/simple-hash.c: Likewise.
32350 * nscd/nscd.h: Likewise.
32351 * nss/makedb.c: Likewise.
32352 * sysdeps/generic/ldconfig.h: Likewise.
32353
32354 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32355
32356 * Versions.def: Add GLIBC_2.18.
32357 * include/link.h (struct link_map): New member l_tls_dtor_count.
32358 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32359 (__call_tls_dtors): Likewise.
32360 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32361 __cxa_thread_atexit_impl.
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32363 Likewise.
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32365 Likewise.
32366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32367 Likewise.
32368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32369 Likewise.
32370 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32372 Likewise.
32373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32374 Likewise.
32375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32377 Likewise.
32378 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32379 (tests): Add test case tst-tls-atexit.
32380 (modules-names): Add shared library for tst-tls-atexit.
32381 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32382 (GLIBC_PRIVATE): Add __call_tls_dtors.
32383 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32384 for libstdc++.
32385 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32386 * stdlib/tst-tls-atexit.c: New test case.
32387 * stdlib/tst-tls-atexit-lib.c: New test case.
32388
32389 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32390
32391 * elf/Versions (ld): Add _dl_find_dso_for_object.
32392 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32393 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32394 (dl_open_worker): Use _dl_find_dso_for_object.
32395 * elf/dl-sym.c (do_sym): Likewise.
32396 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32397
32398 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32399
32400 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32401 Syntactic changes only.
32402 (_dl_runtime_profile): Do a tail-call to the resolved function.
32403
32404 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32405
32406 [BZ #13550]
32407 * sysdeps/x86_64/bp-asm.h: Remove file.
32408 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32409 <bp-sym.h> and <bp-asm.h>.
32410 (__clone): Do not use BP_SYM.
32411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32412 <bp-sym.h> and <bp-asm.h>.
32413 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32414 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32415 "bp-asm.h".
32416 (_setjmp): Do not use BP_SYM.
32417 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32418 "bp-asm.h".
32419 (setjmp): Do not use BP_SYM.
32420 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32421 libc_hidden_def.
32422 (mempcpy): Do not use BP_SYM in weak_alias.
32423 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32424 "bp-asm.h".
32425 (strchr): Do not use BP_SYM.
32426 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32427 "bp-asm.h".
32428 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32429 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32430 (_start): Do not use BP_SYM.
32431 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32432 "bp-asm.h".
32433 (strcat): Do not use BP_SYM.
32434 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32435 "bp-asm.h".
32436 (STRCMP): Do not use BP_SYM.
32437 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32438 "bp-asm.h".
32439 (STRCPY): Do not use BP_SYM.
32440 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32441 "bp-asm.h".
32442 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32443 "bp-asm.h".
32444 (FUNCTION): Do not use BP_SYM.
32445 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32446 weak_alias.
32447 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32448
32449 2013-02-17 Andreas Jaeger <aj@suse.de>
32450
32451 * time/Versions: Sort entries.
32452 * string/Versions: Likewise.
32453 * resolv/Versions: Likewise.
32454 * posix/Versions: Likewise.
32455 * iconv/Versions: Likewise.
32456 * elf/Versions: Likewise.
32457 * wcsmbs/Versions: Likewise.
32458
32459 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32460
32461 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32462 loop termination condition.
32463
32464 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32465 variable to calculate EZ.
32466 (__sqr): Likewise.
32467
32468 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32469 the lower precision input.
32470
32471 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32472
32473 [BZ #13550]
32474 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32475 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32476 (run-via-rtld-prefix): Do not handle %-bp tests.
32477 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32478 (all-object-suffixes): Remove .ob.
32479 (bppfx): Remove variable.
32480 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32481 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32482 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32483 [$(build-bounded) = yes] (libtype.ob): Likewise.
32484 * Makerules (elide-routines.ob): Remove variable.
32485 (do-tests-clean): Do not handle *-bp.out.
32486 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32487 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32488 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32489 (tests): Do not include $(tests-bp.out).
32490 (xtests): Do not include $(xtests-bp.out).
32491 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32492 [$(build-bounded) = yes] ($(addprefix
32493 $(objpfx),$(binaries-bounded))): Remove rule.
32494 ($(objpfx)%-bp.out): Remove rule.
32495 * config.make.in (build-bounded): Remove variable.
32496 * crypt/Makefile [$(build-bounded) = yes]
32497 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32498 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32499 append to variable.
32500 [$(build-bounded) = yes] (install-lib): Likewise.
32501 [$(build-bounded) = yes] (generated): Likewise.
32502 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32503 Remove rule.
32504 * intl/Makefile [$(build-bounded) = yes]
32505 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32506 * math/Makefile [$(build-bounded) = yes]
32507 ($(tests:%=$(objpfx)%-bp): Likewise.
32508 * misc/Makefile [$(build-bounded) = yes]
32509 ($(objpfx)tst-tsearch-bp): Likewise.
32510 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32511 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32512 Remove dependency.
32513 * string/Makefile (o-objects.ob): Remove variable.
32514 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32515 (CFLAGS-.ob): Remove variable.
32516 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32517 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32518 both definitions of variable.
32519 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32520 (ASFLAGS-.ob): Remove variable.
32521
32522 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32523
32524 [BZ #13550]
32525 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32526 Remove __BOUNDED_POINTERS__ from condition.
32527 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32528 * string/bits/string2.h [!__NO_STRING_INLINES &&
32529 !__BOUNDED_POINTERS__]: Likewise.
32530 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32531 Likewise.
32532 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32533 Remove conditional code.
32534 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32535 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32536 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32537 condition.
32538
32539 [BZ #13550]
32540 * csu/libc-start.c: Do not include <bp-sym.h>.
32541 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32542 * elf/dl-open.c: Do not include <bp-sym.h>.
32543 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32544 * math/fegetenv.c: Do not include <bp-sym.h>.
32545 (fegetenv): Do not use BP_SYM in versioned symbols.
32546 * nptl/sysdeps/pthread/bits/libc-lockP.h
32547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32548 <bp-sym.h>.
32549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32550 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32552 (__pthread_mutex_destroy): Likewise.
32553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32554 (__pthread_mutex_lock): Likewise.
32555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32556 (__pthread_mutex_trylock): Likewise.
32557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32558 (__pthread_mutex_unlock): Likewise.
32559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32560 (__pthread_mutexattr_init): Likewise.
32561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32562 (__pthread_mutexattr_destroy): Likewise.
32563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32564 (__pthread_mutexattr_settype): Likewise.
32565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32566 (__pthread_rwlock_init): Likewise.
32567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32568 (__pthread_rwlock_destroy): Likewise.
32569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32570 (__pthread_rwlock_rdlock): Likewise.
32571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32572 (__pthread_rwlock_tryrdlock): Likewise.
32573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32574 (__pthread_rwlock_wrlock): Likewise.
32575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32576 (__pthread_rwlock_trywrlock): Likewise.
32577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32578 (__pthread_rwlock_unlock): Likewise.
32579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32580 (__pthread_key_create): Likewise.
32581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32582 (__pthread_setspecific): Likewise.
32583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32584 (__pthread_getspecific): Likewise.
32585 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32586 Likewise.
32587 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32588 (_pthread_cleanup_push_defer): Likewise.
32589 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32590 (_pthread_cleanup_pop_restore): Likewise.
32591 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32592 (pthread_setcancelstate): Likewise.
32593 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32594 <bp-sym.h>.
32595 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32596 (memchr): Do not use BP_SYM in weak_alias.
32597 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32598 (fegetenv): Do not use BP_SYM in versioned symbols.
32599 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32600 (fesetenv): Do not use BP_SYM in versioned symbols.
32601 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32602 (feupdateenv): Do not use BP_SYM in versioned symbols.
32603 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32604 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32605 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32606 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32607 (open64): Do not use BP_SYM in weak_alias.
32608 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32609 (fegetenv): Do not use BP_SYM in versioned symbols.
32610 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32611 (fesetenv): Do not use BP_SYM in versioned symbols.
32612 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32613 (feupdateenv): Do not use BP_SYM in versioned symbols.
32614 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32615 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32616 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32617 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32618 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32619 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32620 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32621 <bp-sym.h>.
32622 (__libc_start_main): Do not use BP_SYM.
32623
32624 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32625
32626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32627 redundant return line.
32628 (norm): Likewise.
32629 (denorm): Likewise.
32630 (dbl_mp): Likewise.
32631 (sub_magnitudes): Likewise.
32632 (__add): Likewise.
32633 (__sub): Likewise.
32634 (__mul): Likewise.
32635 (__inv): Likewise.
32636 (__dvd): Likewise.
32637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32638 (norm): Likewise.
32639 (denorm): Likewise.
32640 (dbl_mp): Likewise.
32641 (sub_magnitudes): Likewise.
32642 (__add): Likewise.
32643 (__sub): Likewise.
32644 (__mul): Likewise.
32645 (__inv): Likewise.
32646 (__dvd): Likewise.
32647
32648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32649 instead of __mul.
32650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32651 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32652 (cc32): Likewise.
32653
32654 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32655 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32657 of __mul for squares.
32658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32659 function
32660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32661 Likewise.
32662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32664
32665 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32666
32667 [BZ #13550]
32668 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32669 code.
32670 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32671 prototype or function definition. Rename ubp_* variables and
32672 parameters. Remove argv definitions conditional on
32673 [__BOUNDED_POINTERS__].
32674 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32675 * elf/dl-runtime.c (_dl_fixup): Likewise.
32676 * include/set-hooks.h (RUN_HOOK): Likewise.
32677 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32678 definition.
32679 * string/strcpy.c (strcpy): Do not use __unbounded.
32680 * sysdeps/generic/frame.h (struct layout): Likewise.
32681 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32682 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32683 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32684 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32685 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32686 (__backtrace): Likewise.
32687 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32688 use __ptrvalue.
32689 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32690 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32691 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32692 Likewise.
32693 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32694 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32695 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32696 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32697 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32698 Do not use __unbounded.
32699 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32700 Rename __unboundedrlimits parameter to rlimits in prototype.
32701 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32702 Do not use __unbounded.
32703 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32704 not use __ptrvalue.
32705 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32706 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32707 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32708 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32709 __ptrvalue or __unbounded.
32710 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32711 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32712 use __unbounded.
32713 (__new_msgctl): Do not use __ptrvalue.
32714 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32715 __unbounded.
32716 (__libc_msgrcv): Do not use __ptrvalue.
32717 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32718 startup_info): Do not use __unbounded.
32719 (__libc_start_main): Likewise. Rename ubp_* variables and
32720 parameters. Remove argv definitions conditional on
32721 [__BOUNDED_POINTERS__].
32722 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32723 __ptrvalue.
32724 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32725 use __unbounded.
32726 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32727 or __ptrvalue.
32728 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32729 use __unbounded.
32730 (__new_shmctl): Do not use __ptrvalue.
32731 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32732 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32733 Likewise.
32734 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32736 (__libc_sigaction): Likewise.
32737 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32738 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32739 Likewise.
32740 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32741
32742 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32743
32744 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32745
32746 * string/mempcpy.c: Implement by calling memcpy.
32747
32748 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32749
32750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32751
32752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32753 evaluation.
32754
32755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32756 values in the mantissa.
32757
32758 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32759 minimize writes to Z.
32760 (sub_magnitudes): Simplify code a bit.
32761
32762 2013-02-12 Roland McGrath <roland@hack.frob.com>
32763
32764 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32765 from the message. The linker prefixes all warnings with that already.
32766
32767 2013-02-12 Andreas Schwab <schwab@suse.de>
32768
32769 [BZ #15078]
32770 * posix/regexec.c (extend_buffers): Add parameter min_len.
32771 (check_matching): Pass minimum needed length.
32772 (clean_state_log_if_needed): Likewise.
32773 (get_subexp): Likewise.
32774 * posix/Makefile (tests): Add bug-regex34.
32775 (bug-regex34-ENV): Define.
32776 * posix/bug-regex34.c: New file.
32777
32778 [BZ #11561]
32779 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32780 elements compare against the byte sequence of it, not its name.
32781 * posix/Makefile (tests): Add bug-regex35.
32782 (bug-regex35-ENV): Define.
32783 * posix/bug-regex35.c: New file.
32784
32785 2013-02-11 Tom de Vries <tom@codesourcery.com>
32786
32787 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32788 comment.
32789 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32790 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32791 (CHECK_EOL): Add undef.
32792
32793 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32794
32795 * bits/stdlib-bsearch.h: New file.
32796 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32797 * stdlib/stdlib.h: Likewise.
32798
32799 2013-02-11 Roland McGrath <roland@hack.frob.com>
32800
32801 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32802 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32803 declaration.
32804 * manual/search.texi (Array Search Function): Add missing const in
32805 lfind prototype.
32806 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32807 declaration to use rlim_t.
32808 (Basic Scheduling Functions): Remove erroneous const from
32809 sched_getparam prototype. Remove erroneous * from
32810 sched_get_priority_max and sched_get_priority_min prototypes.
32811 (Resource Usage): Fix summary @comment on vtimes to refer to
32812 sys/vtimes.h rather than vtimes.h.
32813 Add missing *s in vtimes prototype.
32814 (Limits on Resources): Fix ulimit prototype to return long int.
32815 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32816 prototypes to use long int rather than double.
32817 (BSD Random): Fix initstate and setstate to use char *, not void *.
32818 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32819 prototype to make second argument 'struct aiocb64 *const[]'.
32820 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32821 (Status of AIO Operations): Remove erroneous const in aio_return and
32822 aio_return64 prototypes.
32823 (Synchronizing I/O): Fix sync prototype to return void.
32824 * manual/startup.texi (Suboptions): Remove an erroneous const in
32825 getsubopt prototype.
32826 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32827 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32828 use size_t rather than int.
32829 (Scanning All Users): Likewise for getpwent_r.
32830 (Setting Groups): Add missing const to setgroups prototype.
32831 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32832 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32833 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32834 'const void *' rather than 'const char *'.
32835 (Host Address Functions): Likewise for inet_ntop.
32836 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32837 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32838 ssize_t for return value.
32839 (Sending Data): Likewise for send, sendto, sendmsg.
32840 (Socket Option Functions): Add a missing const in setsockopt prototype.
32841 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32842 use wchar_t for the argument.
32843 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32844 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32845 take no arguments.
32846 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32847 double/float/long double for second argument.
32848 Fix return types of significand, significandf, significandl.
32849 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32850 argument in fchmod prototype.
32851 (File Owner): Use uid_t and gid_t in fchown prototype.
32852 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32853 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32854 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32855 use 'const struct dirent **' as argument types to CMP function pointer
32856 argument.
32857 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32858 (File Times): Fix summary magic @comment for struct utimbuf and utime
32859 to refer to utime.h, not time.h.
32860 * manual/string.texi (Argz Functions): Add missing const in
32861 argz_extract and argz_next prototypes.
32862 (Finding Tokens in a String): Likewise for basename.
32863 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32864 (Copying and Concatenation): Fix typo in wmemmove prototype.
32865 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32866 (Signal Stack): Remove erroneous const in sigstack prototype.
32867 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32868 prototype.
32869 (Simple Calendar Time): Likewise for stime.
32870 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32871 prototype.
32872 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32873 say sys/sysctl.h instead.
32874 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32875 and vsyslog prototypes.
32876
32877 2013-02-11 Tom de Vries <tom@codesourcery.com>
32878
32879 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32880 Remove.
32881
32882 2013-02-11 Roland McGrath <roland@hack.frob.com>
32883
32884 * misc/sys/mman.h: Fix typo in mremap comment.
32885
32886 2013-02-08 Roland McGrath <roland@hack.frob.com>
32887
32888 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32889 the '\0' terminator.
32890
32891 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32892
32893 [BZ #13550]
32894 * debug/segfault.c: Don't include <bp-checks.h>.
32895 * sysdeps/generic/bp-checks.h: Remove file.
32896 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32897 (__GETDENTS): Don't use CHECK_N.
32898 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32899 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32900 (__getgroups): Don't use CHECK_N.
32901 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32902 (setgroups): Don't use CHECK_N.
32903 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32904 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32905 (__libc_msgrcv): Don't use CHECK_N.
32906 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32907 (__libc_msgsnd): Don't use CHECK_N.
32908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32909 <bp-checks.h>.
32910 (__libc_pread): Don't use CHECK_N.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32912 include <bp-checks.h>.
32913 (__libc_pread64): Don't use CHECK_N.
32914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32915 include <bp-checks.h>.
32916 (__libc_pwrite): Don't use CHECK_N.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32918 include <bp-checks.h>.
32919 (__libc_pwrite64): Don't use CHECK_N.
32920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32921 <bp-checks.h>.
32922 (__libc_pread): Don't use CHECK_N.
32923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32924 include <bp-checks.h>.
32925 (__libc_pread64): Don't use CHECK_N.
32926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32927 include <bp-checks.h>.
32928 (__libc_pwrite): Don't use CHECK_N.
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32930 include <bp-checks.h>.
32931 (__libc_pwrite64): Don't use CHECK_N.
32932 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32933 (do_pread): Don't use CHECK_N.
32934 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32935 (do_pread64): Don't use CHECK_N.
32936 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32937 (do_pwrite): Don't use CHECK_N.
32938 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32939 (do_pwrite64): Don't use CHECK_N.
32940 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32941 (__libc_readv): Don't use CHECK_N.
32942 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32943 (semop): Don't use CHECK_N.
32944 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32945 <bp-checks.h>.
32946 (semtimedop): Don't use CHECK_N.
32947 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32948 (__libc_pread): Don't use CHECK_N.
32949 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32950 <bp-checks.h>.
32951 (__libc_pread64): Don't use CHECK_N.
32952 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32953 <bp-checks.h>.
32954 (__libc_pwrite): Don't use CHECK_N.
32955 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32956 <bp-checks.h>.
32957 (__libc_pwrite64): Don't use CHECK_N.
32958 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32959 <bp-checks.h>.
32960 (__libc_msgrcv): Don't use CHECK_N.
32961 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32962 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32963 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32964 (__libc_writev): Don't use CHECK_N.
32965
32966 2013-02-08 Roland McGrath <roland@hack.frob.com>
32967
32968 * string/strcpy.c: Removed unused variable.
32969
32970 * Makeconfig (+sysdep-includes): Define with := rather than =.
32971 Use an existing include/ subdir of each sysdeps dir before it.
32972
32973 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32974
32975 * nscd/connection.c (register_traced_file): Comment function.
32976 [HAVE_INOTIFY] (union __inev): Define.
32977 [HAVE_INOTIFY] (inotify_check_files): New function.
32978 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32979 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32980 clear_db_cache.
32981 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32982
32983 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32984
32985 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32986 loaded if not already and that a failure is permanent.
32987
32988 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32989
32990 [BZ #15006]
32991 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32992 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32993
32994 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32995
32996 [BZ #13550]
32997 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32998 (CHECK_1_NULL_OK): Likewise.
32999 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33000 (__fxstat): Do not use CHECK_1.
33001 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33002 <bp-checks.h>.
33003 (___fxstat64): Do not use CHECK_1.
33004 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33005 <bp-checks.h>.
33006 (__fxstatat): Do not use CHECK_1.
33007 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33008 <bp-checks.h>.
33009 (__fxstatat64): Do not use CHECK_1.
33010 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33011 <bp-checks.h>.
33012 (__fxstat): Do not use CHECK_1.
33013 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33014 <bp-checks.h>.
33015 (__fxstatat): Do not use CHECK_1.
33016 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33017 <bp-checks.h>.
33018 (__getresgid): Do not use CHECK_1.
33019 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33020 <bp-checks.h>.
33021 (__getresuid): Do not use CHECK_1.
33022 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33023 <bp-checks.h>.
33024 (__lxstat): Do not use CHECK_1.
33025 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33026 <bp-checks.h>.
33027 (__old_msgctl): Do not use CHECK_1.
33028 (__new_msgctl): Likewise.
33029 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33030 <bp-checks.h>.
33031 (__new_setrlimit): Do not use CHECK_1.
33032 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33033 <bp-checks.h>.
33034 (__old_shmctl): Do not use CHECK_1.
33035 (__new_shmctl): Likewise.
33036 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33037 <bp-checks.h>.
33038 (__xstat): Do not use CHECK_1.
33039 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33040 (__lxstat): Do not use CHECK_1.
33041 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33042 <bp-checks.h>.
33043 (___lxstat64): Do not use CHECK_1.
33044 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33045 (__old_msgctl): Do not use CHECK_1.
33046 (__new_msgctl): Likewise.
33047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33048 <bp-checks.h>.
33049 (__gettimeofday): Do not use CHECK_1.
33050 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33051 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33052 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33053 <bp-checks.h>.
33054 (__gettimeofday): Do not use CHECK_1.
33055 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33056 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33057 (__new_shmctl): Do not use CHECK_1.
33058 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33059 <bp-checks.h>.
33060 (do_sigtimedwait): Do not use CHECK_1.
33061 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33062 <bp-checks.h>.
33063 (do_sigwaitinfo): Do not use CHECK_1.
33064 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33065 <bp-checks.h>.
33066 (msgctl): Do not use CHECK_1.
33067 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33068 <bp-checks.h>.
33069 (shmctl): Do not use CHECK_1.
33070 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33071 (ustat): Do not use CHECK_1.
33072 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33073 <bp-checks.h>.
33074 (__fxstat): Do not use CHECK_1.
33075 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33076 <bp-checks.h>.
33077 (__fxstatat): Do not use CHECK_1.
33078 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33079 <bp-checks.h>.
33080 (__lxstat): Do not use CHECK_1.
33081 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33082 <bp-checks.h>.
33083 (__xstat): Do not use CHECK_1.
33084 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33085 (__xstat): Do not use CHECK_1.
33086 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33087 (___xstat64): Do not use CHECK_1.
33088
33089 [BZ #13550]
33090 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33091 definitions.
33092 (CHECK_BOUNDS_HIGH): Likewise.
33093 * string/strcpy.c: Do not include <bp-checks.h>.
33094 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33095
33096 2013-02-07 Roland McGrath <roland@hack.frob.com>
33097
33098 * nscd/nscd-client.h (__nscd_drop_map_ref):
33099 Add __attribute__ ((unused)).
33100 * nis/nss-nisplus.h (niserr2nss): Likewise.
33101
33102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33103 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33104
33105 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33106 Remove inline keyword.
33107 * include/rounding-mode.h (round_away): Likewise.
33108 * libio/wfileops.c (adjust_wide_data): Likewise.
33109 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33110 (__m128i_strloadu_tolower): Likewise.
33111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33112 (__m128i_strloadu_tolower): Likewise.
33113 * time/mktime.c (ydhms_diff): Likewise.
33114 * locale/elem-hash.h (elem_hash): Likewise.
33115 * locale/setlocale.c (setdata): Likewise.
33116 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33117 (re_string_wchar_at): Likewise.
33118 (bitset_not, bitset_merge, bitset_mask): Likewise.
33119 [!(__GNUC__ > 3)] (inline): Remove macro.
33120 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33121 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33122 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33123 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33124 * string/memcmp.c (memcmp_bytes): Likewise.
33125 * locale/programs/locarchive.c (compute_hashval): Likewise.
33126 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33127 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33128 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33129 * nss/getent.c (print_rpc, print_protocols): Likewise.
33130 (print_passwd, print_group, print_aliases): Likewise.
33131 * nis/nss-nisplus.h (niserr2nss): Likewise.
33132 * nscd/connections.c (restart_p): Likewise.
33133 Change return type to bool.
33134
33135 2013-02-05 Roland McGrath <roland@hack.frob.com>
33136
33137 * Makeconfig (all-Depend-files): Add existing
33138 $(sorted-subdirs:=/Depend) files.
33139 (all-subdirs): Remove nss.
33140 * sysdeps/unix/inet/Subdirs: Add it here instead.
33141 * hesiod/Depend: New file.
33142
33143 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33144 instead of calling alloca.
33145
33146 * io/lseek.c (__lseek): Rename to __libc_lseek.
33147 Define __lseek as an alias.
33148
33149 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33150
33151 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33152
33153 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33154 else clause and remove check for non-standard endianness.
33155
33156 2013-02-04 David S. Miller <davem@davemloft.net>
33157
33158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33159
33160 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33161
33162 [BZ #13550]
33163 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33164 (__ubp_memchr): Remove prototype.
33165 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33166 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33167 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33168 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33169 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33170 Remove alias.
33171 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33172 (__ubp_memchr): Likewise.
33173 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33174 (__ubp_memchr): Likewise.
33175 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33176 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33177 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33178 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33179 CHECK_STRING.
33180 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33181 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33182 (__getcwd): Do not use CHECK_STRING.
33183 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33184 <bp-checks.h>.
33185 (__real_chown): Do not use CHECK_STRING.
33186 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33187 <bp-checks.h>.
33188 (fchownat): Do not use CHECK_STRING.
33189 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33190 CHECK_STRING.
33191 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33192 <bp-checks.h>.
33193 (__lchown): Do not use CHECK_STRING.
33194 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33195 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33196 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33197 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33199 include <bp-checks.h>.
33200 (truncate64): Do not use CHECK_STRING.
33201 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33202 <bp-checks.h>.
33203 (__real_chown): Do not use CHECK_STRING.
33204 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33205 <bp-checks.h>.
33206 (__lchown): Do not use CHECK_STRING.
33207 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33208 <bp-checks.h>.
33209 (__chown): Do not use CHECK_STRING.
33210 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33211 <bp-checks.h>.
33212 (truncate64): Do not use CHECK_STRING.
33213 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33214 Likewise.
33215 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33216 (__xmknod): Do not use CHECK_STRING.
33217 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33218 <bp-checks.h>.
33219 (__xmknodat): Do not use CHECK_STRING.
33220 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33221 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33222
33223 2013-02-04 Andreas Schwab <schwab@suse.de>
33224
33225 [BZ #14142]
33226 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33227 * include/netdb.h: Likewise for h_errno.
33228 * elf/tst-stackguard1.c: Include <tls.h>.
33229
33230 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33231
33232 * elf/link.h (struct link_map): Extend the l_addr comment.
33233 * include/link.h (struct link_map): Likewise.
33234
33235 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33236
33237 [BZ #13550]
33238 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33239 (BOUNDED_1): Remove macro.
33240 * debug/backtrace.c: Don't include <bp-checks.h>.
33241 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33242 (__backtrace): Likewise.
33243 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33244 <bp-checks.h>.
33245 (__backtrace): Don't use BOUNDED_1.
33246 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33247 <bp-checks.h>.
33248 (__backtrace): Don't use BOUNDED_1.
33249 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33250 (__backtrace): Don't use BOUNDED_1.
33251 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33252 (shmat): Don't use BOUNDED_N.
33253
33254 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33255
33256 [BZ #13550]
33257 * sysdeps/generic/bp-start.h: Remove file.
33258 * csu/libc-start.c: Don't include <bp-start.h>.
33259 (LIBC_START_MAIN): Set up __environ directly instead of using
33260 INIT_ARGV_and_ENVIRON.
33261 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33262 <bp-start.h>.
33263
33264 [BZ #13550]
33265 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33266 definitions.
33267 (CHECK_FCNTL): Likewise.
33268 (CHECK_N_PAGES): Likewise.
33269
33270 [BZ #13550]
33271 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33272 definitions.
33273 (CHECK_SIGSET_NULL_OK): Likewise.
33274 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33275 <bp-checks.h>.
33276 (sigpending): Don't use CHECK_SIGSET.
33277 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33278 <bp-checks.h>.
33279 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33280 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33281 <bp-checks.h>.
33282 (do_sigsuspend): Don't use CHECK_SIGSET.
33283 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33284 use CHECK_SIGSET.
33285 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33286 (do_sigwait): Don't use CHECK_SIGSET.
33287 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33288 use CHECK_SIGSET.
33289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33290 include <bp-checks.h>.
33291 (sigpending): Don't use CHECK_SIGSET.
33292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33293 include <bp-checks.h>.
33294 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33295 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33296 <bp-checks.h>.
33297 (sigpending): Don't use CHECK_SIGSET.
33298 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33299 <bp-checks.h>.
33300 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33301
33302 [BZ #13550]
33303 * sysdeps/generic/bp-semctl.h: Remove file.
33304 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33305 <bp-checks.h> and <bp-semctl.h>.
33306 (__old_semctl): Don't use CHECK_SEMCTL.
33307 (__new_semctl): Likewise.
33308 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33309 and <bp-semctl.h>.
33310 (__old_semctl): Don't use CHECK_SEMCTL.
33311 (__new_semctl): Likewise.
33312 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33313 <bp-checks.h> and <bp-semctl.h>.
33314 (__old_semctl): Don't use CHECK_SEMCTL.
33315 (__new_semctl): Likewise.
33316 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33317 <bp-checks.h> and <bp-semctl.h>.
33318 (semctl): Don't use CHECK_SEMCTL.
33319
33320 [BZ #13550]
33321 * Makerules (elide-bp-thunks): Remove variable.
33322 (elide-routines.oS): Don't use $(elide-bp-thunks).
33323 (elide-routines.os): Likewise.
33324 (elide-routines.o): Likewise.
33325 (elide-routines.op): Likewise.
33326 (elide-routines.og): Likewise.
33327 (objects): Don't use $(bp-thunks).
33328 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33329 include.
33330 (common-generated): Do not add s-proto-bp.d.
33331 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33332 (int): Likewise.
33333 (typ): Likewise.
33334 Do not generate makefile rules for bounded-pointer thunks.
33335 * sysdeps/generic/bp-thunks.h: Remove file.
33336 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33337 * sysdeps/unix/s-proto-bp.S: Likewise.
33338
33339 [BZ #15062]
33340 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33341 parts of result separately when argument is not close to line from
33342 -i to i and one part of argument is small.
33343 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33344 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33345 * math/libm-test.inc (cacos_test): Add more tests.
33346 (casin_test): Likewise.
33347 (casinh_test): Likewise.
33348 * sysdeps/i386/fpu/libm-test-ulps: Update.
33349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33350
33351 2013-01-31 David S. Miller <davem@davemloft.net>
33352
33353 * po/de.po: Update from translation team.
33354
33355 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33356
33357 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33358
33359 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33360
33361 * configure.in (_AC_PROG_CC_C89): New definition.
33362 * configure: Regenerate.
33363
33364 * configure.in (AC_PROG_CPP): New definition.
33365 * configure: Regenerate.
33366
33367 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33368
33369 * debug/tst-backtrace.h: New file.
33370 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33371 (ret): Remove variable.
33372 (x): Likewise.
33373 (FAIL): Remove macro.
33374 (NO_INLINE): Likewise.
33375 (fn1): Use match function instead of strstr.
33376 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33377 (ret): Remove variable.
33378 (x): Likewise.
33379 (FAIL): Remove macro.
33380 (NO_INLINE): Likewise.
33381 (fn): Use match function instead of strstr.
33382 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33383 (ret): Remove variable.
33384 (x): Likewise.
33385 (FAIL): Remove macro.
33386 (NO_INLINE): Likewise.
33387 (handle_signal): Use match function instead of strstr.
33388 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33389 (ret): Remove variable.
33390 (x): Likewise.
33391 (FAIL): Remove macro.
33392 (NO_INLINE): Likewise.
33393 (handle_signal): Use match function instead of strstr.
33394
33395 2013-01-23 Roland McGrath <roland@hack.frob.com>
33396
33397 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33398
33399 2013-01-23 David S. Miller <davem@davemloft.net>
33400
33401 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33402 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33403 argument of CAS if possible.
33404 * sysdeps/sparc/sparc64/bits/atomic.h
33405 (__arch_compare_and_exchange_val_32_acq): Likewise.
33406 (__arch_compare_and_exchange_val_64_acq): Likewise.
33407
33408 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33409
33410 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33411 * sysdeps/posix/ulimit.c: ... this.
33412 Include <limits.h>.
33413 * sysdeps/unix/bsd/ulimit.c: Remove file.
33414
33415 2013-01-23 Adam Conrad <adconrad@0c3.net>
33416
33417 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33418 (LDFLAGS-tst-array5): Likewise.
33419
33420 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33421
33422 [BZ #15036]
33423 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33424 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33425 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33426 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33427
33428 2013-01-21 David S. Miller <davem@davemloft.net>
33429
33430 * sysdeps/sparc/backtrace.c: New file.
33431 * sysdeps/sparc/sparc32/backtrace.h: New file.
33432 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33433 * sysdeps/sparc/sparc64/backtrace.h: New file.
33434 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33435 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33436 -funwind-tables.
33437
33438 2013-01-21 Andreas Schwab <schwab@suse.de>
33439
33440 [BZ #15020]
33441 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33442 closed its stdout.
33443
33444 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33445
33446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33447 "mpa2.h".
33448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33449
33450 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33451 Mark Mitchell <mark@codesourcery.com>
33452 Tom de Vries <tom@codesourcery.com>
33453 Paul Pluzhnikov <ppluzhnikov@google.com>
33454
33455 * debug/tst-backtrace2.c: New file.
33456 * debug/tst-backtrace3.c: Likewise.
33457 * debug/tst-backtrace4.c: Likewise.
33458 * debug/tst-backtrace5.c: Likewise.
33459 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33460 (CFLAGS-tst-backtrace3.c): Likewise.
33461 (CFLAGS-tst-backtrace4.c): Likewise.
33462 (CFLAGS-tst-backtrace5.c): Likewise.
33463 (LDFLAGS-tst-backtrace2): Likewise.
33464 (LDFLAGS-tst-backtrace3): Likewise.
33465 (LDFLAGS-tst-backtrace4): Likewise.
33466 (LDFLAGS-tst-backtrace5): Likewise.
33467 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33468 tst-backtrace4 and tst-backtrace5.
33469
33470 2013-01-18 Anton Blanchard <anton@samba.org>
33471 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33472
33473 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33474 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33475 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33476 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33478 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33479 "+r" and remove output regs list as redundant. Add explicit inline
33480 asm to specify register of return val to work around compiler codegen
33481 bug. Remove (int) cast on return value. Add return type parameter to
33482 use in macro so that this macro does not truncate return value for
33483 64-bit values.
33484 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33485 pass to INTERNAL_VSYSCALL_NCS.
33486 (INLINE_VSYSCALL): Add 'long int' as return type to
33487 INTERNAL_VSYSCALL_NCS macro invocation.
33488 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33489 INTERNAL_VSYSCALL_NCS macro invocation.
33490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33491
33492 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33493
33494 [BZ #14496]
33495 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33496 Fix application of SIMD FP exception mask.
33497
33498 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33499 mp_no from a power of two.
33500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33501 __mpexp_twomm1. Use __pow_mp.
33502
33503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33504 multiplication.
33505
33506 2013-01-17 David S. Miller <davem@davemloft.net>
33507
33508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33509
33510 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33511
33512 [BZ #15023]
33513 * include/complex.h: Condition contents on [!_COMPLEX_H].
33514 (__kernel_casinhf): New prototype.
33515 (__kernel_casinh): Likewise.
33516 (__kernel_casinhl): Likewise.
33517 * math/Makefile (libm_calls): Add k_casinh.
33518 * math/k_casinh.c: New file.
33519 * math/k_casinhf.c: Likewise.
33520 * math/k_casinhl.c: Likewise.
33521 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33522 finite nonzero arguments.
33523 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33524 finite nonzero arguments.
33525 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33526 finite nonzero arguments.
33527 * math/s_casinh.c: Do not include <float.h>.
33528 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33529 * math/s_casinhf.c: Do not include <float.h>.
33530 (__casinhf): Move code for finite nonzero arguments to
33531 k_casinhf.c.
33532 * math/s_casinhl.c: Do not include <float.h>.
33533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33534 redefine.
33535 (__casinhl): Move code for finite nonzero arguments to
33536 k_casinhl.c.
33537 * math/libm-test.inc (cacos_test): Add more tests.
33538 * sysdeps/i386/fpu/libm-test-ulps: Update.
33539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33540
33541 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33542
33543 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33544 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33545 [!HAVE_MREMAP]: Remove [defined linux] case.
33546 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33547
33548 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33549
33550 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33551
33552 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33553
33554 * elf/elf.h (R_386_SIZE32): New relocation.
33555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33556 R_386_SIZE32.
33557 (elf_machine_rela): Likewise.
33558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33559 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33560
33561 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33562
33563 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33564 (FP_FAST_FMA): Do not define.
33565 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33566 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33567 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33568 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33569 !_SOFT_FLOAT]: Likewise.
33570 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33571 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33572 value.
33573 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33574 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33575 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33576 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33577 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33578 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33579 file.
33580
33581 2013-01-16 Andreas Schwab <schwab@suse.de>
33582
33583 [BZ #14327]
33584 * include/stdlib.h (__mktemp): Add declaration.
33585 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33586 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33587
33588 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33589
33590 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33591 definitions.
33592 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33593 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33594 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33595 definitions here.
33596 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33597 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33598 definitions.
33599 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33600 and ONE.
33601 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33602 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33603 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33604 definitions.
33605 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33606 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33607 definitions.
33608 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33609
33610 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33611
33612 2013-01-15 David S. Miller <davem@davemloft.net>
33613
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33615 trunc{,f} to libm-sysdep_routes.
33616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33618 file.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33621 file.
33622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33623 file.
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33626 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33627 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33628 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33629 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33630 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33631 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33632
33633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33634 nearbyint{,f} to libm-sysdep_routes.
33635 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33637 New file.
33638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33639 file.
33640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33641 New file.
33642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33643 file.
33644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33646 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33647 file.
33648 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33649 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33650 file.
33651 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33652 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33653 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33654
33655 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33656 libc_feholdexcept and libc_fesetenv.
33657
33658 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33659
33660 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33661
33662 2013-01-14 David S. Miller <davem@davemloft.net>
33663
33664 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33665 (SPARC_ASM_VIS2_IFUNC): Likewise.
33666 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33668 use of 'siam' instruction.
33669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33670 Likewise.
33671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33672 Likewise.
33673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33674 Likewise.
33675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33680 file.
33681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33682 file.
33683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33684 file.
33685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33686 file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33692 new VIS2 routines.
33693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33696 Likewise.
33697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33699 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33702 routines to libm-sysdep_routines.
33703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33704
33705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33706 fdim/fdimf to libm-sysdep_routines.
33707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33708 file.
33709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33711 file.
33712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33715 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33716 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33717 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33718 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33719
33720 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33721
33722 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33723 to optimize copies.
33724
33725 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33728
33729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33730 local variable MPTWO.
33731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33732 Likewise.
33733
33734 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33735
33736 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33737 GLOB_NOESCAPE.
33738
33739 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33740
33741 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33742
33743 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33744
33745 * manual/pattern.texi (glob_t): Document gl_flags.
33746 (glob64_t): Likewise.
33747
33748 2013-01-11 David S. Miller <davem@davemloft.net>
33749
33750 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33751 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33752 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33753 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33754 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33755 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33756 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33757 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33758 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33759 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33760 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33761 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33762 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33763
33764 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33765 sparc V9 rather than using V8 code.
33766 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33767 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33768
33769 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33770 Move to...
33771 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33772 Here.
33773
33774 2013-01-11 Roland McGrath <roland@hack.frob.com>
33775
33776 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33777 not in the main loop.
33778 * configure: Regenerated.
33779
33780 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33781
33782 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33783 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33784 to just #else.
33785 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33786 [!__GLIBC_HAVE_LONG_LONG] case.
33787 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33788 condition to just #else.
33789 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33790 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33791 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33792 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33793 unconditional.
33794 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33795 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33796 #elif condition to just #else.
33797 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33798 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33799 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33800 #elif condition to just #else.
33801
33802 2013-01-11 Steve Ellcey <sellcey@mips.com>
33803
33804 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33805 (EF_MIPS_ARCH_64): Fix value.
33806 (EF_MIPS_ARCH_32R2): New.
33807 (EF_MIPS_ARCH_64R2): New.
33808
33809 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33810
33811 * Makeconfig (+link-pie-before-libc): New.
33812 (+link-pie-after-libc): Likewise.
33813 (+link-pie-tests): Likewise.
33814 (+link-pie): Rewritten.
33815 (link-before-libc): Remove $(config-LDFLAGS).
33816 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33817 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33818 (config-LDFLAGS): Renamed to ...
33819 (rtld-LDFLAGS): This.
33820 (rtld-tests-LDFLAGS): New macro.
33821 (link-libc-rpath-link): Likewise.
33822 (link-libc-tests-rpath-link): Likewise.
33823 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33824 (link-libc): Prepand $(link-libc-rpath-link).
33825 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33826 (test-program-prefix): New macro.
33827 (test-via-rtld-prefix): Likewise.
33828 (test-program-cmd): Likewise.
33829 (host-test-program-cmd): Likewise.
33830 * Makefile ($(common-objpfx)testrun.sh): Replace
33831 $(run-program-prefix) with $(test-program-prefix).
33832 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33833 $(rtld-LDFLAGS).
33834 ($(common-objpfx)shlib.lds): Likewise.
33835 (build-module-helper): Likewise.
33836 ($(common-objpfx)format.lds): Likewise.
33837 * Rules (binaries-pie-tests): New.
33838 (binaries-pie-notests): Likewise.
33839 (binaries-pie): Rewritten.
33840 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33841 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33842 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33843 (make-test-out): Replace $(host-built-program-cmd) with
33844 $(host-test-program-cmd).
33845 * config.make.in (build-hardcoded-path-in-tests): New variable.
33846 * configure.in (--enable-hardcoded-path-in-tests): New configure
33847 option.
33848 (hardcoded_path_in_tests): New AC_SUBST.
33849 * configure: Regenerated.
33850 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33851 $(built-program-cmd) with $(test-program-cmd).
33852 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33853 (test_program_cmd): This.
33854 * elf/Makefile ($(objpfx)order.out): Run test with
33855 $(test-program-prefix).
33856 ($(objpfx)order2.out): Likewise.
33857 ($(objpfx)tst-initorder.out): Likewise.
33858 ($(objpfx)tst-initorder2.out): Likewise.
33859 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33860 $(test-program-cmd).
33861 ($(objpfx)tst-array1-static.out): Likewise.
33862 ($(objpfx)tst-array2.out): Likewise.
33863 ($(objpfx)tst-array3.out): Likewise.
33864 ($(objpfx)tst-array4.out): Likewise.
33865 ($(objpfx)tst-array5.out): Likewise.
33866 ($(objpfx)tst-array5-static.out): Likewise.
33867 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33868 $(test-program-cmd).
33869 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33870 $(run-program-prefix) with $(test-program-prefix).
33871 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33872 (test_program_prefix): This.
33873 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33874 $(run-program-prefix) with $(test-program-prefix).
33875 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33876 (test_program_prefix): This.
33877 * iconvdata/tst-tables.sh: Likewise.
33878 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33879 $(run-program-prefix) with $(test-program-prefix).
33880 ($(objpfx)tst-translit.out): Likewise.
33881 ($(objpfx)tst-gettext2.out): Likewise.
33882 ($(objpfx)tst-gettext4.out): Likewise.
33883 ($(objpfx)tst-gettext6.out): Likewise.
33884 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33885 (test_program_prefix): This.
33886 * intl/tst-gettext2.sh: Likewise.
33887 * intl/tst-gettext4.sh Likewise.
33888 * intl/tst-gettext6.sh: Likewise.
33889 * intl/tst-translit.sh: Likewise.
33890 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33891 with $(test-program-cmd).
33892 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33893 $(run-program-prefix) with $(test-program-prefix).
33894 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33895 (test_program_prefix): This.
33896 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33897 $(run-program-prefix) with $(test-program-prefix).
33898 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33899 (test_program_prefix): This.
33900 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33901 * posix/Makefile ($(objpfx)globtest.out): Replace
33902 $(run-via-rtld-prefix) and $(test-wrapper) with
33903 $(test-program-prefix) and $(test-via-rtld-prefix).
33904 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33905 $(test-program-prefix).
33906 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33907 $(host-test-program-cmd).
33908 (tst-spawn-ARGS): Likewise.
33909 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33910 $(test-program-prefix).
33911 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33912 (test_via_rtld_prefix): This.
33913 (test_wrapper): Renamed to ...
33914 (test_program_prefix): This.
33915 (run_program_prefix): Replaced by test_program_prefix.
33916 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33917 (test_program_prefix): This.
33918 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33919 with $(host-test-program-cmd).
33920 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33921 $(run-program-prefix) with $(test-program-prefix).
33922 ($(objpfx)tst-printf.out): Likewise.
33923 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33924 $(test-program-cmd).
33925 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33926 (test_program_prefix): This.
33927 * stdio-common/tst-unbputc.sh: Likewise.
33928 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33929 $(run-program-prefix) with $(test-program-prefix).
33930 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33931 (test_program_prefix): This.
33932 * string/Makefile ($(objpfx)tst-svc.out): Replace
33933 $(built-program-cmd) with $(test-program-cmd).
33934
33935 2013-01-11 Andreas Jaeger <aj@suse.de>
33936
33937 [BZ #15003]
33938 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33939 value. Sync with Linux 3.7.
33940
33941 2013-01-10 David S. Miller <davem@davemloft.net>
33942
33943 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33944 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33945 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33946
33947 2013-01-10 Roland McGrath <roland@hack.frob.com>
33948
33949 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33950 never set.
33951 * configure: Regenerated.
33952
33953 2013-01-10 David S. Miller <davem@davemloft.net>
33954
33955 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33956 sparc V9 rather than using V8 code.
33957 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33958 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33959
33960 2013-01-10 Roland McGrath <roland@hack.frob.com>
33961
33962 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33963 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33964 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33965 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33966 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33967 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33968 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33969 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33970 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33971 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33972 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33973 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33974 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33975 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33976 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33977 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33978 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33979 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33980 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33981 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33982 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33983 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33984 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33985 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33986 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33987 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33988 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33989
33990 2013-01-10 David S. Miller <davem@davemloft.net>
33991
33992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33993
33994 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33995
33996 * posix/Makefile (tests-static): New variable.
33997 (tests): Add $(tests-static).
33998 (tst-exec-static-ARGS): New variable.
33999 (tst-spawn-static-ARGS): Likewise.
34000 * posix/tst-exec-static.c: New file.
34001 * posix/tst-spawn-static.c: Likewise.
34002 * posix/tst-exec.c: Support run directly.
34003 * posix/tst-spawn.c: Likewise.
34004
34005 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34006
34007 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34008 long.
34009 * math/bits/mathcalls.h (llrint): Likewise.
34010 (llround): Likewise.
34011 * stdlib/stdlib.h (struct drand48_data): Likewise.
34012 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34013 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34014 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34015 Likewise.
34016 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34017 Likewise.
34018 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34019 (elf_greg_t): Likewise.
34020 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34021 (__jmp_buf): Likewise.
34022 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34023 definitions.
34024 (llrint): Likewise, for all definitions.
34025 (llrintl): Likewise.
34026
34027 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34028 Remove [__GNUC__] condition.
34029 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34030 condition to just [__USE_ISOC99].
34031 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34032
34033 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 [BZ #14200]
34036 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34037 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34038 defined.
34039 (_POSIX_V6_ILP32_OFF32): Likewise.
34040 (_XBS5_ILP32_OFF32): Likewise.
34041 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34042 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34043
34044 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34045
34046 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34047
34048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34049 doubles __mpexp_twomm1. Adjust usage.
34050 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34051 Remove.
34052
34053 2013-01-10 Andreas Schwab <schwab@suse.de>
34054
34055 [BZ #14964]
34056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34057 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34058
34059 2013-01-09 David S. Miller <davem@davemloft.net>
34060
34061 [BZ #15003]
34062 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34063 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34064 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34065 (TCP_FASTOPEN): Define.
34066 (tcp_repair_opt): New structure.
34067 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34068 enum values.
34069 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34070 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34071 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34072 (tcp_cookie_transactions): New structure.
34073
34074 2013-01-09 Anton Blanchard <anton@samba.org>
34075
34076 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34077 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34078 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34079 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34080
34081 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34082
34083 * include/features.h (__USE_ANSI): Remove.
34084
34085 2013-01-09 Roland McGrath <roland@hack.frob.com>
34086
34087 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34088
34089 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34090
34091 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34092
34093 * sysdeps/s390/fpu/libm-test-ulps: Update.
34094
34095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34096
34097 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34098 (__acr): Likewise.
34099 (__cpy): Likewise.
34100 (norm): Likewise.
34101 (denorm): Likewise.
34102 (__mp_dbl): Likewise.
34103 (__dbl_mp): Likewise.
34104 (add_magnitudes): Likewise.
34105 (sub_magnitudes): Likewise.
34106 (__add): Likewise.
34107 (__sub): Likewise.
34108 (__mul): Likewise.
34109 (__inv): Likewise.
34110 (__dvd): Likewise.
34111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34112 (__acr): Likewise.
34113 (__cpy): Likewise.
34114 (norm): Likewise.
34115 (denorm): Likewise.
34116 (__mp_dbl): Likewise.
34117 (__dbl_mp): Likewise.
34118 (add_magnitudes): Likewise.
34119 (sub_magnitudes): Likewise.
34120 (__add): Likewise.
34121 (__sub): Likewise.
34122 (__mul): Likewise.
34123 (__inv): Likewise.
34124 (__dvd): Likewise.
34125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34126 (__acr): Likewise.
34127 (__cpy): Likewise.
34128 (norm): Likewise.
34129 (denorm): Likewise.
34130 (__mp_dbl): Likewise.
34131 (__dbl_mp): Likewise.
34132 (add_magnitudes): Likewise.
34133 (sub_magnitudes): Likewise.
34134 (__add): Likewise.
34135 (__sub): Likewise.
34136 (__mul): Likewise.
34137 (__inv): Likewise.
34138 (__dvd): Likewise.
34139
34140 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34141
34142 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34143 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34144 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34145 2 && __USE_EXTERN_INLINES]: Likewise.
34146
34147 2013-01-08 Andreas Jaeger <aj@suse.de>
34148
34149 [BZ# 14985]
34150 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34151 Remove.
34152 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34153 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34154
34155 2013-01-07 Anton Blanchard <anton@samba.org>
34156
34157 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34158 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34159 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34160 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34161 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34162 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34163 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34164 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34166 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34167 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34168 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34169 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34172 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34173 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34175 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34176 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34177 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34178 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34179 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34180 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34181 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34182 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34183 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34184 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34186 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34187 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34189 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34190 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34191 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34192 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34193 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34194 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34195 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34196 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34197 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34198 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34199 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34200
34201 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34202
34203 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34204 (__MALLOC_PMT): Likewise.
34205 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34206 [__GNUC__], only on [_LIBC].
34207 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34208 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34209 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34210 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34211 forward declaration.
34212 (realloc_hook_ini): Likewise.
34213 (memalign_hook_ini): Likewise.
34214 (__libc_memalign): Do not use __MALLOC_PMT in variable
34215 declaration.
34216 (__libc_valloc): Likewise.
34217 (__libc_pvalloc): Likewise.
34218 (__libc_calloc): Likewise.
34219 (__posix_memalign): Likewise.
34220
34221 [BZ #14996]
34222 * math/s_casinh.c: Include <float.h>.
34223 (__casinh): Do not do computation with squaring and square root
34224 for large arguments.
34225 * math/s_casinhf.c: Include <float.h>.
34226 (__casinhf): Do not do computation with squaring and square root
34227 for large arguments.
34228 * math/s_casinhl.c: Include <float.h>.
34229 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34230 (__casinhl): Do not do computation with squaring and square root
34231 for large arguments.
34232 * math/libm-test.inc (casin_test): Add more tests.
34233 (casinh_test): Likewise.
34234 * sysdeps/i386/fpu/libm-test-ulps: Update.
34235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34236
34237 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34238
34239 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34240 (__x86_64_raw_data_cache_size): Likewise.
34241 (__x86_64_data_cache_size_half): Likewise.
34242 (__x86_64_raw_data_cache_size_half): Likewise.
34243 (__x86_64_shared_cache_size): Likewise.
34244 (__x86_64_raw_shared_cache_size): Likewise.
34245 (__x86_64_shared_cache_size_half): Likewise.
34246 (__x86_64_raw_shared_cache_size_half): Likewise.
34247 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34248 to ...
34249 (__x86_data_cache_size): This.
34250 (__x86_64_raw_data_cache_size): Renamed to ...
34251 (__x86_raw_data_cache_size): This.
34252 (__x86_64_data_cache_size_half): Renamed to ...
34253 (__x86_data_cache_size_half): This.
34254 (__x86_64_raw_data_cache_size_half): Renamed to ...
34255 (__x86_raw_data_cache_size_half): This.
34256 (__x86_64_shared_cache_size): Renamed to ...
34257 (__x86_shared_cache_size): This.
34258 (__x86_64_raw_shared_cache_size): Renamed to ...
34259 (__x86_raw_shared_cache_size): This.
34260 (__x86_64_shared_cache_size_half): Renamed to ...
34261 (__x86_shared_cache_size_half): This.
34262 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34263 (__x86_raw_shared_cache_size_half): This.
34264 * sysdeps/x86_64/memcpy.S: Updated.
34265 * sysdeps/x86_64/memset.S: Likewise.
34266 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34268 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34269
34270 2013-01-04 David S. Miller <davem@davemloft.net>
34271
34272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34273
34274 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34275
34276 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34277 1 to avoid redefinition warning.
34278 (__USE_GNU): Don't define.
34279 (init_signaling_nan): Protoize.
34280
34281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34282
34283 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34284
34285 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34287 (__cpymn): Likewise.
34288 (norm): Remove commented code.
34289 (denorm): Likewise.
34290 (__mp_dbl): Likewise.
34291 (__inv): Likewise.
34292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34293 (__cpymn): Likewise.
34294 (norm): Remove commented code.
34295 (denorm): Likewise.
34296 (__mp_dbl): Likewise.
34297 (__inv): Likewise.
34298
34299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34300 mp_no value for 1.0 and 2.0.
34301 (norm): Use RADIXI instead of radixi.d.
34302 (denorm): Likewise.
34303 (__mul): Use 0.0 instead of zero.d.
34304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34305 mp_no value for 1.0 and 2.0.
34306 (norm): Use RADIXI instead of radixi.d.
34307 (denorm): Likewise.
34308 (__mul): Use 0.0 instead of zero.d.
34309
34310 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34311
34312 [BZ #14994]
34313 * math/s_casinh.c (__casinh): Reduce finite argument to first
34314 quadrant then set signs of results at the end.
34315 * math/s_casinhf.c (__casinhf): Likewise.
34316 * math/s_casinhl.c (__casinhl): Likewise.
34317 * math/libm-test.inc (casin_test): Add more tests.
34318 (casinh_test): Likewise.
34319 * sysdeps/i386/fpu/libm-test-ulps: Update.
34320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34321
34322 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34323
34324 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34325
34326 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34327
34328 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34329 declarations.
34330 (denorm): Likewise.
34331 (__mp_dbl): Likewise.
34332 (__inv): Likewise.
34333
34334 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34335 and adjust the header comment.
34336
34337 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34338 variable name from declaration.
34339
34340 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34341
34342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34343 Initialize COMMON_CPUID_INDEX_7 element.
34344 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34345 (CPUID_RTM): Likewise.
34346 (HAS_RTM): Likewise.
34347 (COMMON_CPUID_INDEX_7): New enum.
34348
34349 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34350
34351 [BZ #14981]
34352 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34353 size is zero, record memory as freed.
34354
34355 2013-01-03 Andreas Jaeger <aj@suse.de>
34356
34357 * po/ia.po: Add new Interlingua translation.
34358
34359 2012-01-03 Allan McRae <allan@archlinux.org>
34360
34361 * locale/programs/localedef.c: Fix description of '--posix' flag.
34362
34363 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34364
34365 * NEWS: Update dates in second copyright notice.
34366 * README: Update copyright dates in example.
34367 * manual/libc.texinfo: Update copyright dates.
34368 * scripts/test-installation.pl: Update copyright date in --version
34369 output.
34370
34371 * hurd/ctty-input.c: Fix copyright notice formatting.
34372 * hurd/ctty-output.c: Likewise.
34373 * hurd/dtable.c: Likewise.
34374 * hurd/hurd-raise.c: Likewise.
34375 * hurd/hurdprio.c: Likewise.
34376 * hurd/msgportdemux.c: Likewise.
34377 * misc/sys/file.h: Likewise.
34378 * misc/sys/ioctl.h: Likewise.
34379 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34380 * sysdeps/mach/hurd/chdir.c: Likewise.
34381 * sysdeps/mach/hurd/fchdir.c: Likewise.
34382 * sysdeps/mach/hurd/rename.c: Likewise.
34383 * sysdeps/mach/hurd/rmdir.c: Likewise.
34384 * sysdeps/mach/hurd/seekdir.c: Likewise.
34385 * sysdeps/mach/hurd/setsid.c: Likewise.
34386 * sysdeps/posix/wait3.c: Likewise.
34387
34388 * All files with FSF copyright notices: Update copyright dates
34389 using scripts/update-copyrights.
34390 * intl/plural.c: Regenerated.
34391 * locale/programs/charmap-kw.h: Likewise.
34392 * locale/programs/locfile-kw.h: Likewise.
34393
34394 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34395
34396 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34397 four values.
34398
34399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34400 calculation loop and add branch prediction.
34401
34402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34403 check access beyond bounds of m1np.
34404
34405 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34406 MPTWO.
34407 (__inv): Remove local variable MPTWO to use the global
34408 constant.
34409 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34410 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34411 variable MPTWO.
34412 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34413 MP3HALFS static const.
34414
34415 2013-01-01 David S. Miller <davem@davemloft.net>
34416
34417 * po/ca.po: Update from translation team.
34418
34419 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34420
34421 * scripts/update-copyrights: New file.
34422 * Makeconfig: Reformat copyright notice.
34423 * ctype/ctype.h: Likewise.
34424 * debug/swprintf_chk.c: Likewise.
34425 * elf/dl-cache.c: Likewise.
34426 * elf/dl-debug.c: Likewise.
34427 * elf/dl-object.c: Likewise.
34428 * grp/initgroups.c: Likewise.
34429 * hurd/Makefile: Likewise.
34430 * hurd/hurd/signal.h: Likewise.
34431 * hurd/hurdfault.c: Likewise.
34432 * hurd/hurdioctl.c: Likewise.
34433 * hurd/hurdlookup.c: Likewise.
34434 * hurd/intr-msg.c: Likewise.
34435 * iconv/gconv_open.c: Likewise.
34436 * libio/swprintf.c: Likewise.
34437 * locale/lc-ctype.c: Likewise.
34438 * locale/nl_langinfo.c: Likewise.
34439 * mach/Machrules: Likewise.
34440 * mach/Makefile: Likewise.
34441 * malloc/obstack.h: Likewise.
34442 * manual/Makefile: Likewise.
34443 * manual/tsort.awk: Likewise.
34444 * misc/bits/stab.def: Likewise.
34445 * nis/nis_print_group_entry.c: Likewise.
34446 * nis/nis_table.c: Likewise.
34447 * nis/nss_compat/compat-pwd.c: Likewise.
34448 * nis/nss_compat/compat-spwd.c: Likewise.
34449 * po/Makefile: Likewise.
34450 * posix/fnmatch.c: Likewise.
34451 * posix/regex.h: Likewise.
34452 * resolv/Makefile: Likewise.
34453 * resolv/nss_dns/dns-network.c: Likewise.
34454 * resolv/res_hconf.c: Likewise.
34455 * scripts/gen-sorted.awk: Likewise.
34456 * soft-fp/soft-fp.h: Likewise.
34457 * stdio-common/printf.h: Likewise.
34458 * stdlib/monetary.h: Likewise.
34459 * stdlib/random.c: Likewise.
34460 * stdlib/random_r.c: Likewise.
34461 * sysdeps/generic/Makefile: Likewise.
34462 * sysdeps/gnu/Makefile: Likewise.
34463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34470 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34473 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34474 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34475 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34476 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34477 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34478 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34479 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34481 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34483 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34484 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34485 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34491 * sysdeps/mach/hurd/errnos.awk: Likewise.
34492 * sysdeps/mach/hurd/fork.c: Likewise.
34493 * sysdeps/mach/hurd/getcwd.c: Likewise.
34494 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34495 * sysdeps/mach/hurd/mmap.c: Likewise.
34496 * sysdeps/mach/hurd/utimes.c: Likewise.
34497 * sysdeps/mach/hurd/xmknod.c: Likewise.
34498 * sysdeps/posix/profil.c: Likewise.
34499 * sysdeps/posix/readdir_r.c: Likewise.
34500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34501 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34502 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34503 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34505 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34509 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34510 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34511 * sysdeps/pthread/lio_listio.c: Likewise.
34512 * sysdeps/sparc/dl-procinfo.h: Likewise.
34513 * sysdeps/unix/i386/sysdep.S: Likewise.
34514 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34515 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34516 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34517 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34519 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34520 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34521 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34522 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34523 * sysdeps/wordsize-32/divdi3.c: Likewise.
34524 * time/sys/time.h: Likewise.
34525 * wcsmbs/Makefile: Likewise.
34526
34527 2013-01-01 David S. Miller <davem@davemloft.net>
34528
34529 * po/fr.po: Update from translation team.
34530
34531 * catgets/gencat.c: Update copyright year.
34532 * csu/version.c: Likewise.
34533 * debug/catchsegv.sh: Likewise.
34534 * debug/pcprofiledump.c: Likewise.
34535 * debug/xtrace.sh: Likewise.
34536 * elf/ldconfig.c: Likewise.
34537 * elf/ldd.bash.in: Likewise.
34538 * elf/pldd.c: Likewise.
34539 * elf/sotruss.ksh: Likewise.
34540 * elf/sprof.c: Likewise.
34541 * iconv/iconv_prog.c: Likewise.
34542 * iconv/iconvconfig.c: Likewise.
34543 * locale/programs/locale.c: Likewise.
34544 * locale/programs/localedef.c: Likewise.
34545 * login/programs/pt_chown.c: Likewise.
34546 * malloc/memusage.sh: Likewise.
34547 * malloc/memusagestat.c: Likewise.
34548 * malloc/mtrace.pl: Likewise.
34549 * nscd/nscd.c: Likewise.
34550 * nss/getent.c: Likewise.
34551 * nss/makedb.c: Likewise.
34552 * posix/getconf.c: Likewise.
34553
34554 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34555
34556 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34557 numbers.
34558
34559 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34560
34561 * math/bits/mathcalls.h (modf): Use __nonnull.
34562
34563 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34564
34565 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34566 (split): Use macro CN instead of the bare value.
34567 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34568 could be used.
34569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34570 instead of the bare value.
34571 (power1): Likewise.
34572
34573 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34574
34575 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34576 __ATAN_TWOM.
34577 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34578
34579 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34580 their values.
34581 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34583 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34584 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34585
34586 2012-12-28 Andreas Jaeger <aj@suse.de>
34587
34588 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34589 values are from Linux 3.7.
34590
34591 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34592 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34593
34594 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34595
34596 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34597 TRUE case.
34598
34599 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34600 (norm): Likewise.
34601 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34602 variables with preprocessor constants.
34603 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34604 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34605 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34606
34607 2012-12-27 Bruno Haible <bruno@clisp.org>
34608
34609 [BZ #14317]
34610 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34611 only if needed.
34612
34613 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34614
34615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34616 and use variable directly.
34617 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34618
34619 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34620 MPONE.
34621 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34622 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34623 variable MPONE.
34624 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34626 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34627 include directive. Remove local variable MPONE.
34628 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34629 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34631
34632 2012-12-25 David S. Miller <davem@davemloft.net>
34633
34634 * version.h (RELEASE): Set to "development".
34635 (VERSION): Set to "2.17.90".
34636 * NEWS: Add 2.18 section.
34637
34638 2012-12-21 David S. Miller <davem@davemloft.net>
34639
34640 * po/hr.po: Update from translation team.
34641
34642 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34643
34644 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34645
34646 2012-12-19 Steve Ellcey <sellcey@mips.com>
34647
34648 * NEWS: Mention new memcpy for MIPS.
34649
34650 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34651
34652 * manual/contrib.texi (Contributors): Spelling correction.
34653
34654 2012-12-15 David S. Miller <davem@davemloft.net>
34655
34656 * po/ru.po: Update from translation team.
34657
34658 2012-12-13 David S. Miller <davem@davemloft.net>
34659
34660 * NEWS: Mention IFUNC testsuite enhancements.
34661
34662 * po/pl.po: Update from translation team.
34663 * po/bg.po: Likewise.
34664
34665 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34666 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34667
34668 2012-12-11 David S. Miller <davem@davemloft.net>
34669
34670 * po/sv.po: Update from translation team.
34671
34672 * po/vi.po: Update from translation team.
34673
34674 * po/cs.po: Update from translation team.
34675
34676 * po/de.po: Update from translation team.
34677 * po/eo.po: Likewise.
34678 * po/nl.po: Likewise.
34679
34680 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34681
34682 [BZ #14246]
34683 * manual/argp.texi (Argp Helper Functions): Move node to follow
34684 Argp Parsing State.
34685
34686 [BZ #14872]
34687 * manual/conf.texi (Limits on File System Capacity): Mention if
34688 terminating null is included in the max size.
34689
34690 2012-12-10 Andreas Jaeger <aj@suse.de>
34691
34692 * po/cs.po: Update from translation team.
34693
34694 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34695
34696 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34697 void pointer and cast to uintptr_t.
34698 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34699 path.
34700 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34701 * sysdeps/s390/s390-64/memset.S: Likewise.
34702
34703 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34704
34705 [BZ #14833]
34706 * menual/message.texi (Message Translation): Fix typos.
34707 (Helper programs for gettext): Likewise.
34708
34709 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34710
34711 [BZ #14898]
34712 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34713 Change to -1.
34714
34715 2012-12-07 David S. Miller <davem@davemloft.net>
34716
34717 * po/libc.pot: Update.
34718
34719 2012-12-07 Richard Henderson <rth@redhat.com>
34720
34721 [BZ #10114]
34722 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34723 normal/normal case to before the switch.
34724 (_FP_DIV): Likewise.
34725
34726 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34727 Mike Frysinger <vapier@gentoo.org>
34728
34729 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34730 check for __NR_fadvise64_64.
34731
34732 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34733
34734 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34735 0, not just to plain "0" as a statement.
34736 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34737 with cw.
34738
34739 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34740
34741 * NEWS: Use sourceware.org in Bugzilla URL.
34742
34743 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34744
34745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34746 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34747
34748 * stdio-common/tst-put-error.c (do_test): Add newline to the
34749 padded test to ensure flush.
34750
34751 2012-12-05 Jeff Law <law@redhat.com>
34752
34753 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34754
34755 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34756
34757 * README: Don't refer to ports add-on as distributed separately.
34758 Mention AArch64 in list of systems supported in the ports add-on.
34759
34760 * LICENSES: Add more non-FSF copyright and license notices.
34761
34762 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34763 ((unused)).
34764
34765 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34766
34767 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34768 10000 as width of padded output.
34769
34770 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34771
34772 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34773
34774 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34775 variable LX with __attribute__ ((unused)).
34776 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34777 Likewise.
34778 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34781 with __attribute__ ((unused)).
34782
34783 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34784
34785 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34786
34787 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34788
34789 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34790 (CFLAGS-nldbl-acos.c): New variable.
34791 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34792 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34793 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34794 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34795 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34796 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34797 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34798 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34799 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34800 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34801 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34802 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34803 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34804 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34805 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34806 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34807 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34808 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34809 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34810 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34811 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34812 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34813 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34814 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34815 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34816 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34817 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34818 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34819 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34820 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34821 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34822 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34823 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34824 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34825 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34826 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34827 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34828 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34829 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34830 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34831 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34832 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34833 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34834 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34835 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34836 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34837 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34838 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34839 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34840 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34841 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34842 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34843 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34844 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34845 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34846 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34847 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34848 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34849 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34850 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34851 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34852 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34853 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34854 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34855 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34856 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34857 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34858 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34859 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34860 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34861 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34862 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34863 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34864 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34865 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34866 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34867 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34868 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34869 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34870 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34871 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34872 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34873 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34874 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34875 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34876 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34877 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34878 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34879 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34880 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34881 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34882 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34883 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34884 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34885 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34886 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34887 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34888
34889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34890 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34891
34892 [BZ #14914]
34893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34894 whole low double instead of just low 47 bits when splitting values
34895 into two parts.
34896
34897 2012-12-03 Allan McRae <allan@archlinux.org>
34898
34899 * manual/stdio.texi (Predefined Printf Handlers): Remove
34900 @hsep and @vsep usage.
34901
34902 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34903
34904 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34905 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34906
34907 2012-12-03 Jeff Law <law@redhat.com>
34908
34909 * time/sys/time.h (settimeofday): Do not mark TV argument
34910 as __nonnull.
34911
34912 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34913
34914 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34915 when currently writing and seek to current position when not.
34916 * libio/Makefile (tests): Remove bug-fclose1.
34917 * libio/bug-fclose1.c: Delete.
34918
34919 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34920
34921 * manual/arith.texi (feenableexcept): Fix typo.
34922 (fedisableexcept): Likewise.
34923
34924 2012-11-30 Roland McGrath <roland@hack.frob.com>
34925
34926 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34927 second, differently-typed declaration, rather than a cast.
34928
34929 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34930
34931 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34932 * include/rpc/svc.h: ... here.
34933
34934 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34935
34936 [BZ #13013]
34937 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34938 depending n and resplen2 to catch cases where answer
34939 equals answerp2.
34940
34941 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34942
34943 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34944 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34945
34946 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34947
34948 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34949
34950 2012-11-29 Roland McGrath <roland@hack.frob.com>
34951
34952 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34953
34954 2012-11-28 Jeff Law <law@redhat.com>
34955
34956 [BZ #13761]
34957 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34958 dataset_temporary. Track alloca usage into alloca_used.
34959 If dataset is large allocate and release it via malloc/free.
34960
34961 2012-06-04 Florian Weimer <fweimer@redhat.com>
34962
34963 [BZ #14197]
34964 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34965
34966 2012-11-28 David S. Miller <davem@davemloft.net>
34967
34968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34969
34970 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34971
34972 [BZ #14803]
34973 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34974 of pi/2 rounded to nearest to 64 bits.
34975 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34976 nearest to 64 bits.
34977 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34978 bits.
34979
34980 2012-11-28 Jeff Law <law@redhat.com>
34981 Martin Osvald <mosvald@redhat.com>
34982
34983 [BZ #14889]
34984 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34985 * sunrpc/svc.c: Include time.h.
34986 (__svc_accept_failed): New function.
34987 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34988 any reason other than EINTR, call __svc_accept_failed.
34989 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34990 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34991
34992 2012-11-28 Andreas Schwab <schwab@suse.de>
34993
34994 * scripts/abilist.awk: Also handle indirect functions in .opd
34995 section.
34996
34997 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34998
34999 [BZ #13881]
35000 * sysdeps/x86/fpu/powl_helper.c: New file.
35001 * sysdeps/x86/fpu/Makefile: Likewise.
35002 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35003 (p3): New object.
35004 (__ieee754_powl): Use __powl_helper for finite arguments except
35005 integer exponents below 8.
35006 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35007 (p3): New object.
35008 (__ieee754_powl): Use __powl_helper for finite arguments except
35009 integer exponents below 8.
35010 * math/libm-test.inc (pow_test): Add more tests and enable some
35011 previously disabled tests.
35012 * sysdeps/i386/fpu/libm-test-ulps: Update.
35013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35014
35015 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35016 Carlos O'Donell <carlos_odonell@mentor.com>
35017
35018 * nss/makedb.c (is_prime): Assert that input is odd and greater
35019 than 4. Note that fact in a comment too.
35020 (next_prime): Add 4 to input.
35021
35022 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35023
35024 [BZ #11741]
35025 * libio/Makefile (tests): Add test case tst-fwrite-error.
35026 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35027 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35028 * libio/tst-fwrite-error.c: New test case.
35029
35030 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35031
35032 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35033 before casting to void *.
35034 * include/libc-internal.h (__pointer_type): New macro.
35035 (__integer_if_pointer_type_sub): Likewise.
35036 (__integer_if_pointer_type): Likewise.
35037 (cast_to_integer): Likewise.
35038 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35039 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35040 before casting to atomic64_t.
35041 (atomic_exchange_acq): Likewise.
35042 (__arch_exchange_and_add_body): Likewise.
35043 (__arch_add_body): Likewise.
35044 (atomic_add_negative): Likewise.
35045 (atomic_add_zero): Likewise.
35046
35047 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35048
35049 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35050 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35051 (add_fdes): Likewise.
35052 (linear_search_fdes): Likewise.
35053 (binary_search_unencoded_fdes): Likewise.
35054
35055 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35056
35057 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35058
35059 2012-11-24 Adam Conrad <adconrad@0c3.net>
35060
35061 * configure.in: Autodetect C++ header directories.
35062 * configure: Regenerated.
35063
35064 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35065
35066 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35067
35068 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35069
35070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35071
35072 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35073
35074 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35075 LDBL_MANT_DIG == 106]: Disable some tests.
35076 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35077 Likewise.
35078 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35079 Likewise.
35080
35081 [BZ #14871]
35082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35083 input for small inputs. Return +/- pi/2 for large inputs.
35084 * math/libm-test.inc (atan_test): Add more tests.
35085
35086 * sysdeps/generic/unwind-dw2-fde-glibc.c
35087 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35088 __attribute__ ((unused)).
35089
35090 [BZ #14645]
35091 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35092 x * y if x and y are nonzero and z is zero.
35093
35094 [BZ #14811]
35095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35096 nonzero exponents with absolute value below 0x1p-117 to +/-
35097 0x1p-117.
35098
35099 [BZ #14869]
35100 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35101 up arguments below 2**-450, not just those below 2**-500.
35102 * math/libm-test.inc (hypot_test): Add another test.
35103
35104 [BZ #14868]
35105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35106 Return a+b for ratio over 2**120, not 2**60.
35107 * math/libm-test.inc (hypot_test): Add another test.
35108
35109 * math/libm-test.inc (clog_test): Use
35110 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35111 (clog10_test): Likewise.
35112
35113 [BZ #6778]
35114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35115
35116 2012-11-22 Andreas Schwab <schwab@suse.de>
35117
35118 * sysdeps/i386/fpu/libm-test-ulps: Update.
35119
35120 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35121
35122 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35123 printf output with newline.
35124
35125 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35126
35127 [BZ #14865]
35128 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35129 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35130 -z nodlopen, -z initfirst and -z execstack support.
35131 * configure: Regenerated.
35132
35133 * elf/elf.h (DF_1_NODIRECT): New macro.
35134 (DF_1_IGNMULDEF): Likewise.
35135 (DF_1_NOKSYMS): Likewise.
35136 (DF_1_NOHDR): Likewise.
35137 (DF_1_EDITED): Likewise.
35138 (DF_1_NORELOC): Likewise.
35139 (DF_1_SYMINTPOSE): Likewise.
35140 (DF_1_GLOBAUDIT): Likewise.
35141 (DF_1_SINGLETON): Likewise.
35142 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35143 DT_1_SUPPORTED_MASK bits.
35144 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35145
35146 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35147
35148 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35149
35150 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35151
35152 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35153 macro.
35154
35155 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35156 (sendmmsg): Move declarations...
35157 * socket/sys/socket.h: ... here.
35158 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35159 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35160 include it from...
35161 * socket/recvmmsg.c: ... this new file.
35162 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35163 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35164 definition of __sendmmsg hidden.
35165 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35166 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35167 Move ENOSYS stub into and include it from...
35168 * socket/sendmmsg.c: ... this new file.
35169 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35170 (sysdep_routines): Move recvmmsg and sendmmsg...
35171 * socket/Makefile (routines): ... here.
35172 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35173 (GLIBC_PRIVATE): Add __sendmmsg.
35174 * include/sys/socket.h (__sendmmsg): Add declarations.
35175 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35176 sendmmsg.
35177
35178 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35179
35180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35181 variable I1 with __attribute__ ((unused)).
35182 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35183
35184 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35185
35186 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35187 DUMMY variables with __attribute__ ((unused)).
35188
35189 * bits/byteswap.h: Include <bits/types.h>.
35190 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35191
35192 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35193
35194 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35195 string_t. Do not manually set errno.
35196 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35197 length with __strnlen. Make sure to both set errno and return it on
35198 failure.
35199
35200 2012-11-19 David S. Miller <davem@davemloft.net>
35201
35202 With help from Joseph Myers.
35203 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35204 very large arguments properly.
35205 * math/libm-test.inc (atan_test): New tests.
35206 (atan2_test): New tests.
35207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35209
35210 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35211
35212 [BZ #14856]
35213 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35214 Define to 3.
35215
35216 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35217 [POSIX] (EADDRNOTAVAIL): Likewise.
35218 [POSIX] (EAFNOSUPPORT): Likewise.
35219 [POSIX] (EALREADY): Likewise.
35220 [POSIX] (ECONNABORTED): Likewise.
35221 [POSIX] (ECONNREFUSED): Likewise.
35222 [POSIX] (ECONNRESET): Likewise.
35223 [POSIX] (EDESTADDRREQ): Likewise.
35224 [POSIX] (EDQUOT): Likewise.
35225 [POSIX] (EHOSTUNREACH): Likewise.
35226 [POSIX] (EIDRM): Likewise.
35227 [POSIX] (EISCONN): Likewise.
35228 [POSIX] (ELOOP): Likewise.
35229 [POSIX] (EMULTIHOP): Likewise.
35230 [POSIX] (ENETDOWN): Likewise.
35231 [POSIX] (ENETUNREACH): Likewise.
35232 [POSIX] (ENOBUFS): Likewise.
35233 [POSIX] (ENODATA): Likewise.
35234 [POSIX] (ENOLINK): Likewise.
35235 [POSIX] (ENOMSG): Likewise.
35236 [POSIX] (ENOPROTOOPT): Likewise.
35237 [POSIX] (ENOSR): Likewise.
35238 [POSIX] (ENOSTR): Likewise.
35239 [POSIX] (ENOTCONN): Likewise.
35240 [POSIX] (ENOTSOCK): Likewise.
35241 [POSIX] (EOPNOTSUPP): Likewise.
35242 [POSIX] (EOVERFLOW): Likewise.
35243 [POSIX] (EPROTO): Likewise.
35244 [POSIX] (EPROTONOSUPPORT): Likewise.
35245 [POSIX] (EPROTOTYPE): Likewise.
35246 [POSIX] (ESTALE): Likewise.
35247 [POSIX] (ETIME): Likewise.
35248 [POSIX] (ETXTBSY): Likewise.
35249 [POSIX] (EWOULDBLOCK): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35251 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35252 [POSIX] (SEEK_CUR): Likewise.
35253 [POSIX] (SEEK_END): Likewise.
35254 [POSIX || UNIX98] (mode_t): Do not require.
35255 [POSIX] (off_t): Likewise.
35256 [POSIX] (pid_t): Likewise.
35257 [POSIX] (sys/stat.h): Do not allow header.
35258 [POSIX] (unistd.h): Likewise.
35259 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35260 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35261 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35262 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35263 require.
35264 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35265 sigevent): Specify elements.
35266 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35267 entry.
35268 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35269 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35270
35271 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35272 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35273 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35274 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35275 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35276 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35277 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35278 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35279 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35280 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35281 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35282 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35283 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35284 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35285 Likewise.
35286 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35287 Likewise.
35288 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35289 Likewise.
35290 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35291 Likewise.
35292 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35293 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35294 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35295 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35296 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35297 Specify lower bound on value.
35298 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35299 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35300 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35301 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35302 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35303 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35304 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35305 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35306 value.
35307 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35308 as optional.
35309 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35310 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35311 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35312 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35313 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35314 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35315 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35316 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35317 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35318 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35319 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35320 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35321 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35322 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35323 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35324 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35325 entry.
35326 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35327 optional.
35328 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35329 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35330 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35331 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35332 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35333 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35334 Likewise.
35335 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35336 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35337 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35338 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35339 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35340 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35341 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35342 as optional.
35343 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35344 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35345 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35346 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35347 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35348 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35349 specify as optional.
35350 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35351 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35352 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35353 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35354 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35355 [XPG3] (NL_LANGMAX): Likewise.
35356 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35357 [POSIX || XPG3] (NL_NMAX): Likewise.
35358 [POSIX || XPG3] (NL_SETMAX): Likewise.
35359 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35360 [XPG3] (NZERO): Likewise.
35361 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35362 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35363 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35364 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35365 (REG_ERANGE): Expect.
35366 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35367 optional-constant.
35368 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35369 Use (void) in prototype.
35370 [POSIX] (*_t): Allow.
35371 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35372 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35373 (WRDE_BADVAL): Expect.
35374
35375 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35376 expect.
35377 [XPG3 || XPG4] (O_RSYNC): Likewise.
35378 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35379 Likewise.
35380 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35381 [XPG3 || XPG4] (sigqueue): Likewise.
35382 [XPG3 || XPG4] (sigtimedwait): Likewise.
35383 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35384 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35385 [XPG3 || XPG4] (vsnprintf): Likewise.
35386 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35387 Likewise.
35388 [XPG3 || XPG4] (blksize_t): Likewise.
35389 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35390 Likewise.
35391 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35392 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35393 [XPG3 || XPG4] (struct itimerspec): Likewise.
35394 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35395 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35396 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35397 [XPG3 || XPG4] (clockid_t): Likewise.
35398 [XPG3 || XPG4] (timer_t): Likewise.
35399 [XPG3 || XPG4] (clock_getres): Likewise.
35400 [XPG3 || XPG4] (clock_gettime): Likewise.
35401 [XPG3 || XPG4] (clock_settime): Likewise.
35402 [XPG3 || XPG4] (nanosleep): Likewise.
35403 [XPG3 || XPG4] (timer_create): Likewise.
35404 [XPG3 || XPG4] (timer_delete): Likewise.
35405 [XPG3 || XPG4] (timer_gettime): Likewise.
35406 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35407 [XPG3 || XPG4] (timer_settime): Likewise.
35408 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35409 [XPG3 || XPG4] (getlogin_r): Likewise.
35410 [XPG3 || XPG4] (pread): Likewise.
35411 [XPG3 || XPG4] (pthread_atfork): Likewise.
35412 [XPG3 || XPG4] (pwrite): Likewise.
35413
35414 [BZ #14835]
35415 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35416 <bits/siginfo.h>.
35417
35418 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35419
35420 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35421 finalizing MALLSTREAM.
35422
35423 * sysdeps/mach/hurd/syncfs.c: New file.
35424
35425 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35426
35427 [BZ #14719]
35428 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35429 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35431 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35432 (_nss_dns_gethostbyname4_r): Likewise.
35433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35434 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35435
35436 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35437
35438 [BZ #13763]
35439 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35440
35441 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35442
35443 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35444 * elf/cache.c (print_entry): Print ",AArch64" for
35445 FLAG_AARCH64_LIB64
35446
35447 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35448 * elf/cache.c (print_entry): Print ",hard-float" for
35449 FLAG_ARM_LIBHF.
35450
35451 2012-11-18 David S. Miller <davem@davemloft.net>
35452
35453 With help from Joseph Myers.
35454 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35455 cutoff to 2**-13.
35456 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35457 cutoff to 2**-25.
35458 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35459 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35460 small.
35461 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35462 * math/libm-test.inc (y0_test): New tests.
35463 (y1_test): New tests.
35464 * sysdeps/i386/fpu/libm-test-ulps: Update.
35465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35467
35468 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35469
35470 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35471 64-bit targets.
35472 * configure: Regenerated.
35473
35474 2012-11-17 David S. Miller <davem@davemloft.net>
35475
35476 [BZ #14811]
35477 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35478 nonzero exponents with absolute value below 0x1p-128 to +/-
35479 0x1p-128.
35480
35481 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35482
35483 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35484
35485 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35486
35487 * posix/getconf-speclist.c: New file.
35488 * posix/posix-envs.def: Likewise.
35489 * posix/confstr.c (START_ENV_GROUP): New macro.
35490 (END_ENV_GROUP): Likewise.
35491 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35492 (KNOWN_PRESENT_ENV_STRING): Likewise.
35493 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35494 (UNKNOWN_ENVIRONMENT): Likewise.
35495 (confstr): Include posix-envs.def instead of handling
35496 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35497 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35498 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35499 (END_ENV_GROUP): Likewise.
35500 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35501 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35502 (UNKNOWN_ENVIRONMENT): Likewise.
35503 (__sysconf): Include posix-envs.def instead of handling associated
35504 cases directly here.
35505 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35506 preprocessing getconf-speclist.c rather than running getconf or
35507 generating empty file.
35508
35509 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35510
35511 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35512
35513 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35514
35515 [BZ #14672]
35516 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35517
35518 2012-11-16 David S. Miller <davem@davemloft.net>
35519
35520 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35521 smaller than LDBL_EPSILON/2.0L, just return xm1.
35522
35523 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35524
35525 * elf/tst-array1.c (init): Set constructor priority to 1000.
35526 (fini): Set destructor priority to 1000.
35527 * elf/tst-array2dep.c: Likewise.
35528
35529 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35530
35531 [BZ #11741]
35532 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35533 (_IO_new_file_xsputn): Also return EOF if none of the input
35534 data was written when overflow failed.
35535 * libio/iopadn.c (_IO_padn): Likewise.
35536 * libio/iowpadn.c (_IO_wpadn): Likewise.
35537 * stdio-common/tst-put-error.c: Add copyright notice.
35538 (do_test): Add case for printing padded string.
35539 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35540 _IO_padn returned error.
35541 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35542 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35543 return EOF.
35544
35545 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35546
35547 * libio/libioP.h: Add comment note that the references to C++
35548 bits are now obsolete.
35549
35550 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35551
35552 * math/libm-test.inc (check_complex): Use asprintf.
35553
35554 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35555
35556 * debug/pcprofiledump.c (print_version): Update copyright year.
35557 * malloc/memusagestat.c (print_version): Likewise.
35558
35559 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35560
35561 [BZ #14831]
35562 * elf/Makefile (tests): Add tst-audit8.
35563 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35564 ($(objpfx)tst-audit8.out): New target.
35565 (tst-audit8-ENV): New variable.
35566 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35567 audit if l_reloc_result is NULL.
35568 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35569 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35570 * elf/tst-audit8.c: New file.
35571
35572 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35573
35574 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35575 * misc/Makefile (CFLAGS-select.c): Define.
35576 * posix/Makefile (CFLAGS-pause.c): Define.
35577
35578 2012-11-13 David S. Miller <davem@davemloft.net>
35579
35580 * crypt/Makefile: Move test targets after toplevel Rules
35581 inclusion. Grab any necessary sysdep routines when linking.
35582 * crypt/md5.c (md5_process_block): Remove define, we will always
35583 name it __md5_process_block.
35584 (md5_finish_ctx): Update md5_process_block call.
35585 (md5_stream): Likewise.
35586 (md5_process_bytes): Likewise.
35587 (md5_process_block): Rename to __md5_process_block and move to ...
35588 * crypt/md5-block.c: ... here.
35589 * crypt/sha256.c (sha256_process_block): Move to ...
35590 * crypt/sha256-block.c: ... here.
35591 * crypt/sha512.c (sha512_process_block): Move to ...
35592 * crypt/sha512-block.c: ... here.
35593 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35594 path.
35595 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35596 * sysdeps/sparc/sparc64/multiarch/Makefile
35597 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35598 crypt subdir.
35599 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35601 multiarch changes.
35602 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35603 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35604 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35605 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35606 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35607 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35608 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35609 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35610 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35611 file.
35612 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35613 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35614 file.
35615 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35616
35617 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35618
35619 * timezone/tzselect.ksh: Update from tzcode git revision
35620 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35621 * timezone/zdump.c: Likewise.
35622 * timezone/zic.c: Likewise.
35623 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35624 in TZVERSION setting, not $(PKGVERSION).
35625 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35626 REPORT_BUGS_TO settings.
35627
35628 [BZ #14838]
35629 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35630 macro.
35631
35632 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35633
35634 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35635 detection to immediately after _FP_ROUND().
35636 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35637 bits are 0.
35638
35639 2012-11-11 David S. Miller <davem@davemloft.net>
35640
35641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35642 inttypes.h
35643 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35644 __close rather than their public counterparts.
35645
35646 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35647
35648 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35649 file.
35650 [UNIX98] (sem_timedwait): Do not expect.
35651 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35652 [XPG4 || UNIX98] (sockatmark): Do not expect.
35653 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35654 (clock_getcpuclockid): Do not expect.
35655 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35656 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35657 Do not expect.
35658 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35659 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35660 [UNIX98] (vwscanf): Likewise.
35661 [UNIX98] (vswscanf): Likewise.
35662
35663 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35664
35665 * timezone/version.h: Remove file.
35666 * timezone/README: Do not refer to version.h.
35667 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35668 $(objpfx)version.h.
35669 ($(objpfx)zdump.o): Likewise.
35670 ($(objpfx)version.h): New target.
35671
35672 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35673 2012i.
35674 * timezone/README: Don't mention modification to tzselect.ksh.
35675 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35676 work on unmodified tzselect.ksh. Substitute version numbers in
35677 tzselect.ksh.
35678
35679 * Makefile (format-me): Remove.
35680 (INSTALL): Adjust indentation. Use commands directly instead of
35681 using $(format-me).
35682
35683 * aclocal.m4 (ACX_PKGVERSION): New macro.
35684 (ACX_BUGURL): Likewise.
35685 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35686 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35687 (REPORT_BUGS_TO): Likewise.
35688 * configure: Regenerated.
35689 * config.h.in (PKGVERSION): New macro.
35690 (REPORT_BUGS_TO): Likewise.
35691 * config.make.in (PKGVERSION): New variable.
35692 (PKGVERSION_TEXI): Likewise.
35693 (REPORT_BUGS_TO): Likewise.
35694 (REPORT_BUGS_TEXI): Likewise.
35695 * Makefile (format-me): Use -I$(common-objpfx)manual.
35696 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35697 ($(common-objpfx)manual/%): New target.
35698 (manual/%): Remove target.
35699 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35700 (print_version): Use PKGVERSION.
35701 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35702 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35703 and REPORT_BUGS_TO.
35704 ($(objpfx)xtrace): Likewise.
35705 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35706 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35707 (print_version): Use PKGVERSION.
35708 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35709 (do_version): Use PKGVERSION.
35710 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35711 REPORT_BUGS_TO.
35712 (common-ldd-rewrite): Likewise.
35713 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35714 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35715 (print_version): Use PKGVERSION.
35716 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35717 * elf/pldd.c (argp_program_bug_address): Remove variable.
35718 (more_help): New function.
35719 (argp): Use more_help.
35720 (print_version): Use PKGVERSION.
35721 * elf/sln.c (main): Use PKGVERSION.
35722 (usage): Use REPORT_BUGS_TO.
35723 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35724 (top level): Use PKGVERSION.
35725 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35726 (print_version): Use PKGVERSION.
35727 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35728 (print_version): Use PKGVERSION.
35729 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35730 (print_version): Use PKGVERSION.
35731 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35732 (print_version): Use PKGVERSION.
35733 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35734 (print_version): Use PKGVERSION.
35735 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35736 (print_version): Use PKGVERSION.
35737 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35738 and BUGURL.
35739 ($(objpfx)memusage): Likewise.
35740 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35741 (do_version): Use PKGVERSION.
35742 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35743 (print_version): Use PKGVERSION.
35744 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35745 ($PKGVERSION): New variable.
35746 ($REPORT_BUGS_TO): Likewise.
35747 (usage): Use $REPORT_BUGS_TO.
35748 (top level): Use $PKGVERSION.
35749 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35750 ($(objpfx)pkgvers.texi): New rule.
35751 ($(objpfx)stamp-pkgvers): Likewise.
35752 * manual/install.texi: Include pkgvers.texi.
35753 (--with-pkgversion): Document new configure option.
35754 (--with-bugurl): Likewise.
35755 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35756 than necessarily for this particular distribution. Use
35757 REPORT_BUGS_TO for where to report bugs.
35758 * INSTALL: Regenerated.
35759 * manual/libc.texinfo: Include pkgvers.texi.
35760 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35761 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35762 (print_version): Use PKGVERSION.
35763 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35764 (print_version): Use PKGVERSION.
35765 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35766 (print_version): Use PKGVERSION.
35767 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35768 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35769 macro.
35770 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35771 (print_version): Use PKGVERSION.
35772 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35773 (print_version): Use PKGVERSION.
35774 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35775 and PKGVERSION.
35776
35777 * timezone/checktab.awk: Update from tzcode 2012i.
35778 * timezone/ialloc.c: Likewise.
35779 * timezone/private.h: Likewise.
35780 * timezone/scheck.c: Likewise.
35781 * timezone/tzfile.h: Likewise.
35782 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35783 (TZVERSION): Hardcode tzcode version number.
35784 * timezone/zdump.c: Update from tzcode 2012i.
35785 * timezone/zic.c: Likewise.
35786 * timezone/version.h: New file.
35787 * timezone/README: Describe version.h. Update upstream location.
35788
35789 [BZ #14824]
35790 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35791 (mktemp): Enable declaration.
35792 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35794 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35796 Likewise.
35797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35798 Likewise.
35799 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35800 Likewise.
35801 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35802 Likewise.
35803 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35804 Likewise.
35805 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35806 Likewise.
35807
35808 [BZ #14821]
35809 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35810 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35811 for copies of such integer values.
35812 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35813 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35814
35815 2012-11-09 Andreas Jaeger <aj@suse.de>
35816
35817 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35818 definitions and declarations that are provided by
35819 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35820
35821 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35822
35823 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35824 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35825 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35826 definition.
35827
35828 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35829
35830 * elf/elf.h: Update comment before AArch64 relocations.
35831
35832 2012-11-07 David S. Miller <davem@davemloft.net>
35833
35834 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35835 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35836 (__start_context): Declare.
35837 (__makecontext_ret): Delete.
35838 (__makecontext): Hook up __start_context instead of
35839 __makecontext_ret.
35840 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35841 (sysdep_routines): Add __start_context when in stdlib.
35842
35843 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35844
35845 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35846 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35847 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35848 hardcoded "nm".
35849 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35850 (READELF): New variable. Use it instead of hardcoded "readelf".
35851
35852 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35853
35854 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35855 * sysdeps/x86/Makefile: Here.
35856 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35857 * sysdeps/x86/tst-xmmymm.sh: This.
35858
35859 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35860
35861 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35862 expectations.
35863 [UNIX98] (pthread_barrier_t): Do not expect.
35864 [UNIX98] (pthread_barrierattr_t): Likewise.
35865 [UNIX98] (pthread_spinlock_t): Likewise.
35866 [UNIX98] (pthread_barrier_destroy): Likewise.
35867 [UNIX98] (pthread_barrier_init): Likewise.
35868 [UNIX98] (pthread_barrier_wait): Likewise.
35869 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35870 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35871 [UNIX98] (pthread_barrierattr_init): Likewise.
35872 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35873 [UNIX98] (pthread_getcpuclockid): Likewise.
35874 [UNIX98] (pthread_mutex_timedlock): Likewise.
35875 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35876 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35877 [UNIX98] (pthread_sigmask): Likewise.
35878 [UNIX98] (pthread_spin_destroy): Likewise.
35879 [UNIX98] (pthread_spin_init): Likewise.
35880 [UNIX98] (pthread_spin_lock): Likewise.
35881 [UNIX98] (pthread_spin_trylock): Likewise.
35882 [UNIX98] (pthread_spin_unlock): Likewise.
35883 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35884 Do not expect.
35885 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35887 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35888 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35889 [XPG3 || XPG4] (pthread_key_t): Likewise.
35890 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35891 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35892 [XPG3 || XPG4] (pthread_once_t): Likewise.
35893 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35894 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35896 [XPG3 || XPG4] (pthread_t): Likewise.
35897
35898 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35899 not expect.
35900 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35901
35902 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35903 Change function return type to int.
35904
35905 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35906 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35907 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35908 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35909 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35910 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35911 [!POSIX] (posix_madvise): Likewise.
35912 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35913 && !UNIX98].
35914 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35915 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35916 (mode_t): Likewise.
35917 (posix_mem_offset): Likewise.
35918 (posix_typed_mem_get_info): Likewise.
35919 (posix_typed_mem_open): Likewise.
35920
35921 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35922 Change condition to [XOPEN2K8].
35923
35924 * conform/conformtest.pl: Preprocess allow-header data with -x c
35925 instead of from stdin.
35926 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35927 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35928 [C99-based standards] (cerfc): Likewise.
35929 [C99-based standards] (cexp2): Likewise.
35930 [C99-based standards] (cexpm1): Likewise.
35931 [C99-based standards] (clog10): Likewise.
35932 [C99-based standards] (clog1p): Likewise.
35933 [C99-based standards] (clog2): Likewise.
35934 [C99-based standards] (clgamma): Likewise.
35935 [C99-based standards] (ctgamma): Likewise.
35936 [C99-based standards] (cerff): Likewise.
35937 [C99-based standards] (cerfcf): Likewise.
35938 [C99-based standards] (cexp2f): Likewise.
35939 [C99-based standards] (cexpm1f): Likewise.
35940 [C99-based standards] (clog10f): Likewise.
35941 [C99-based standards] (clog1pf): Likewise.
35942 [C99-based standards] (clog2f): Likewise.
35943 [C99-based standards] (clgammaf): Likewise.
35944 [C99-based standards] (ctgammaf): Likewise.
35945 [C99-based standards] (cerfl): Likewise.
35946 [C99-based standards] (cerfcl): Likewise.
35947 [C99-based standards] (cexp2l): Likewise.
35948 [C99-based standards] (cexpm1l): Likewise.
35949 [C99-based standards] (clog10l): Likewise.
35950 [C99-based standards] (clog1pl): Likewise.
35951 [C99-based standards] (clog2l): Likewise.
35952 [C99-based standards] (clgammal): Likewise.
35953 [C99-based standards] (ctgammal): Likewise.
35954 * conform/data/inttypes.h-data [C99-based standards]: Include
35955 stdint.h-data. Remove all expectations for stdint.h contents.
35956 [C99-based standards] (PRI*): Do not allow.
35957 [C99-based standards] (SCN*): Likewise.
35958 [C99-based standards] (*_t): Likewise.
35959 [C99-based-standards] (PRId8): Expect macro.
35960 [C99-based-standards] (PRIi8): Likewise.
35961 [C99-based-standards] (PRIo8): Likewise.
35962 [C99-based-standards] (PRIu8): Likewise.
35963 [C99-based-standards] (PRIx8): Likewise.
35964 [C99-based-standards] (PRIX8): Likewise.
35965 [C99-based-standards] (SCNd8): Likewise.
35966 [C99-based-standards] (SCNi8): Likewise.
35967 [C99-based-standards] (SCNo8): Likewise.
35968 [C99-based-standards] (SCNu8): Likewise.
35969 [C99-based-standards] (SCNx8): Likewise.
35970 [C99-based-standards] (PRIdLEAST8): Likewise.
35971 [C99-based-standards] (PRIiLEAST8): Likewise.
35972 [C99-based-standards] (PRIoLEAST8): Likewise.
35973 [C99-based-standards] (PRIuLEAST8): Likewise.
35974 [C99-based-standards] (PRIxLEAST8): Likewise.
35975 [C99-based-standards] (PRIXLEAST8): Likewise.
35976 [C99-based-standards] (SCNdLEAST8): Likewise.
35977 [C99-based-standards] (SCNiLEAST8): Likewise.
35978 [C99-based-standards] (SCNoLEAST8): Likewise.
35979 [C99-based-standards] (SCNuLEAST8): Likewise.
35980 [C99-based-standards] (SCNxLEAST8): Likewise.
35981 [C99-based-standards] (PRIdFAST8): Likewise.
35982 [C99-based-standards] (PRIiFAST8): Likewise.
35983 [C99-based-standards] (PRIoFAST8): Likewise.
35984 [C99-based-standards] (PRIuFAST8): Likewise.
35985 [C99-based-standards] (PRIxFAST8): Likewise.
35986 [C99-based-standards] (PRIXFAST8): Likewise.
35987 [C99-based-standards] (SCNdFAST8): Likewise.
35988 [C99-based-standards] (SCNiFAST8): Likewise.
35989 [C99-based-standards] (SCNoFAST8): Likewise.
35990 [C99-based-standards] (SCNuFAST8): Likewise.
35991 [C99-based-standards] (SCNxFAST8): Likewise.
35992 [C99-based-standards] (PRId16): Likewise.
35993 [C99-based-standards] (PRIi16): Likewise.
35994 [C99-based-standards] (PRIo16): Likewise.
35995 [C99-based-standards] (PRIu16): Likewise.
35996 [C99-based-standards] (PRIx16): Likewise.
35997 [C99-based-standards] (PRIX16): Likewise.
35998 [C99-based-standards] (SCNd16): Likewise.
35999 [C99-based-standards] (SCNi16): Likewise.
36000 [C99-based-standards] (SCNo16): Likewise.
36001 [C99-based-standards] (SCNu16): Likewise.
36002 [C99-based-standards] (SCNx16): Likewise.
36003 [C99-based-standards] (PRIdLEAST16): Likewise.
36004 [C99-based-standards] (PRIiLEAST16): Likewise.
36005 [C99-based-standards] (PRIoLEAST16): Likewise.
36006 [C99-based-standards] (PRIuLEAST16): Likewise.
36007 [C99-based-standards] (PRIxLEAST16): Likewise.
36008 [C99-based-standards] (PRIXLEAST16): Likewise.
36009 [C99-based-standards] (SCNdLEAST16): Likewise.
36010 [C99-based-standards] (SCNiLEAST16): Likewise.
36011 [C99-based-standards] (SCNoLEAST16): Likewise.
36012 [C99-based-standards] (SCNuLEAST16): Likewise.
36013 [C99-based-standards] (SCNxLEAST16): Likewise.
36014 [C99-based-standards] (PRIdFAST16): Likewise.
36015 [C99-based-standards] (PRIiFAST16): Likewise.
36016 [C99-based-standards] (PRIoFAST16): Likewise.
36017 [C99-based-standards] (PRIuFAST16): Likewise.
36018 [C99-based-standards] (PRIxFAST16): Likewise.
36019 [C99-based-standards] (PRIXFAST16): Likewise.
36020 [C99-based-standards] (SCNdFAST16): Likewise.
36021 [C99-based-standards] (SCNiFAST16): Likewise.
36022 [C99-based-standards] (SCNoFAST16): Likewise.
36023 [C99-based-standards] (SCNuFAST16): Likewise.
36024 [C99-based-standards] (SCNxFAST16): Likewise.
36025 [C99-based-standards] (PRId32): Likewise.
36026 [C99-based-standards] (PRIi32): Likewise.
36027 [C99-based-standards] (PRIo32): Likewise.
36028 [C99-based-standards] (PRIu32): Likewise.
36029 [C99-based-standards] (PRIx32): Likewise.
36030 [C99-based-standards] (PRIX32): Likewise.
36031 [C99-based-standards] (SCNd32): Likewise.
36032 [C99-based-standards] (SCNi32): Likewise.
36033 [C99-based-standards] (SCNo32): Likewise.
36034 [C99-based-standards] (SCNu32): Likewise.
36035 [C99-based-standards] (SCNx32): Likewise.
36036 [C99-based-standards] (PRIdLEAST32): Likewise.
36037 [C99-based-standards] (PRIiLEAST32): Likewise.
36038 [C99-based-standards] (PRIoLEAST32): Likewise.
36039 [C99-based-standards] (PRIuLEAST32): Likewise.
36040 [C99-based-standards] (PRIxLEAST32): Likewise.
36041 [C99-based-standards] (PRIXLEAST32): Likewise.
36042 [C99-based-standards] (SCNdLEAST32): Likewise.
36043 [C99-based-standards] (SCNiLEAST32): Likewise.
36044 [C99-based-standards] (SCNoLEAST32): Likewise.
36045 [C99-based-standards] (SCNuLEAST32): Likewise.
36046 [C99-based-standards] (SCNxLEAST32): Likewise.
36047 [C99-based-standards] (PRIdFAST32): Likewise.
36048 [C99-based-standards] (PRIiFAST32): Likewise.
36049 [C99-based-standards] (PRIoFAST32): Likewise.
36050 [C99-based-standards] (PRIuFAST32): Likewise.
36051 [C99-based-standards] (PRIxFAST32): Likewise.
36052 [C99-based-standards] (PRIXFAST32): Likewise.
36053 [C99-based-standards] (SCNdFAST32): Likewise.
36054 [C99-based-standards] (SCNiFAST32): Likewise.
36055 [C99-based-standards] (SCNoFAST32): Likewise.
36056 [C99-based-standards] (SCNuFAST32): Likewise.
36057 [C99-based-standards] (SCNxFAST32): Likewise.
36058 [C99-based-standards] (PRId64): Likewise.
36059 [C99-based-standards] (PRIi64): Likewise.
36060 [C99-based-standards] (PRIo64): Likewise.
36061 [C99-based-standards] (PRIu64): Likewise.
36062 [C99-based-standards] (PRIx64): Likewise.
36063 [C99-based-standards] (PRIX64): Likewise.
36064 [C99-based-standards] (SCNd64): Likewise.
36065 [C99-based-standards] (SCNi64): Likewise.
36066 [C99-based-standards] (SCNo64): Likewise.
36067 [C99-based-standards] (SCNu64): Likewise.
36068 [C99-based-standards] (SCNx64): Likewise.
36069 [C99-based-standards] (PRIdLEAST64): Likewise.
36070 [C99-based-standards] (PRIiLEAST64): Likewise.
36071 [C99-based-standards] (PRIoLEAST64): Likewise.
36072 [C99-based-standards] (PRIuLEAST64): Likewise.
36073 [C99-based-standards] (PRIxLEAST64): Likewise.
36074 [C99-based-standards] (PRIXLEAST64): Likewise.
36075 [C99-based-standards] (SCNdLEAST64): Likewise.
36076 [C99-based-standards] (SCNiLEAST64): Likewise.
36077 [C99-based-standards] (SCNoLEAST64): Likewise.
36078 [C99-based-standards] (SCNuLEAST64): Likewise.
36079 [C99-based-standards] (SCNxLEAST64): Likewise.
36080 [C99-based-standards] (PRIdFAST64): Likewise.
36081 [C99-based-standards] (PRIiFAST64): Likewise.
36082 [C99-based-standards] (PRIoFAST64): Likewise.
36083 [C99-based-standards] (PRIuFAST64): Likewise.
36084 [C99-based-standards] (PRIxFAST64): Likewise.
36085 [C99-based-standards] (PRIXFAST64): Likewise.
36086 [C99-based-standards] (SCNdFAST64): Likewise.
36087 [C99-based-standards] (SCNiFAST64): Likewise.
36088 [C99-based-standards] (SCNoFAST64): Likewise.
36089 [C99-based-standards] (SCNuFAST64): Likewise.
36090 [C99-based-standards] (SCNxFAST64): Likewise.
36091 [C99-based-standards] (PRIdMAX): Likewise.
36092 [C99-based-standards] (PRIiMAX): Likewise.
36093 [C99-based-standards] (PRIoMAX): Likewise.
36094 [C99-based-standards] (PRIuMAX): Likewise.
36095 [C99-based-standards] (PRIxMAX): Likewise.
36096 [C99-based-standards] (PRIXMAX): Likewise.
36097 [C99-based-standards] (SCNdMAX): Likewise.
36098 [C99-based-standards] (SCNiMAX): Likewise.
36099 [C99-based-standards] (SCNoMAX): Likewise.
36100 [C99-based-standards] (SCNuMAX): Likewise.
36101 [C99-based-standards] (SCNxMAX): Likewise.
36102 [C99-based-standards] (PRIdPTR): Likewise.
36103 [C99-based-standards] (PRIiPTR): Likewise.
36104 [C99-based-standards] (PRIoPTR): Likewise.
36105 [C99-based-standards] (PRIuPTR): Likewise.
36106 [C99-based-standards] (PRIxPTR): Likewise.
36107 [C99-based-standards] (PRIXPTR): Likewise.
36108 [C99-based-standards] (SCNdPTR): Likewise.
36109 [C99-based-standards] (SCNiPTR): Likewise.
36110 [C99-based-standards] (SCNoPTR): Likewise.
36111 [C99-based-standards] (SCNuPTR): Likewise.
36112 [C99-based-standards] (SCNxPTR): Likewise.
36113 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36114 allow.
36115 * conform/data/stdint.h-data: Update comments to clarify
36116 requirements.
36117 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36118 type.
36119 [C99-based standards] (INT8_MAX): Likewise.
36120 [C99-based standards] (INT16_MIN): Likewise.
36121 [C99-based standards] (INT16_MAX): Likewise.
36122 [C99-based standards] (INT32_MIN): Likewise.
36123 [C99-based standards] (INT32_MAX): Likewise.
36124 [C99-based standards] (INT64_MIN): Likewise.
36125 [C99-based standards] (INT64_MAX): Likewise.
36126 [C99-based standards] (UINT8_MAX): Likewise.
36127 [C99-based standards] (UINT16_MAX): Likewise.
36128 [C99-based standards] (UINT32_MAX): Likewise.
36129 [C99-based standards] (UINT64_MAX): Likewise.
36130 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36131 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36132 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36133 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36134 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36135 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36136 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36137 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36138 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36139 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36140 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36141 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36142 [C99-based standards] (INT_FAST8_MIN): Likewise.
36143 [C99-based standards] (INT_FAST8_MAX): Likewise.
36144 [C99-based standards] (INT_FAST16_MIN): Likewise.
36145 [C99-based standards] (INT_FAST16_MAX): Likewise.
36146 [C99-based standards] (INT_FAST32_MIN): Likewise.
36147 [C99-based standards] (INT_FAST32_MAX): Likewise.
36148 [C99-based standards] (INT_FAST64_MIN): Likewise.
36149 [C99-based standards] (INT_FAST64_MAX): Likewise.
36150 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36151 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36152 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36153 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36154 [C99-based standards] (INTPTR_MIN): Likewise.
36155 [C99-based standards] (INTPTR_MAX): Likewise.
36156 [C99-based standards] (UINTPTR_MAX): Likewise.
36157 [C99-based standards] (INTMAX_MIN): Likewise.
36158 [C99-based standards] (INTMAX_MAX): Likewise.
36159 [C99-based standards] (UINTMAX_MAX): Likewise.
36160 [C99-based standards] (PTRDIFF_MIN): Likewise.
36161 [C99-based standards] (PTRDIFF_MAX): Likewise.
36162 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36163 [C99-based standards] (SIZE_MAX): Likewise.
36164 [C99-based standards] (WCHAR_MAX): Likewise.
36165 [C99-based standards] (WINT_MAX): Likewise.
36166 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36167 constraint on value.
36168 [C99-based standards] (WCHAR_MIN): Likewise.
36169 [C99-based standards] (WINT_MIN): Likewise.
36170 [C99-based standards] (*_t): Allow.
36171 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36172 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36173 Include math.h-data and complex.h-data. Remove all expectations
36174 of math.h and complex.h contents.
36175 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36176 at end of line.
36177 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36178 (struct tm): Expect tag.
36179 [C99-based-standards] (wcstof): Expect function.
36180 [C99-based-standards] (wcstold): Likewise.
36181 [C99-based-standards] (wcstoll): Likewise.
36182 [C99-based-standards] (wcstoull): Likewise.
36183 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36184 macro-int-constant. Specify type.
36185 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36186 constraint on value.
36187 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36188 Specify type.
36189 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36190 Specify value.
36191 [ISO C standards]: Do not allow headers.
36192 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36193 wcs[abcdefghijklmnopqrstuvwxyz]*.
36194 [ISO C standards] (*_t): Do not allow.
36195 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36196 Expect function.
36197 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36198 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36199 Specify type.
36200 [ISO C standards]: Do not allow headers.
36201 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36202 is[abcdefghijklmnopqrstuvwxyz]*.
36203 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36204 to[abcdefghijklmnopqrstuvwxyz]*.
36205 [ISO C standards] (*_t): Do not allow.
36206 * conform/data/stdalign.h-data: New file.
36207 * conform/data/stdbool.h-data: Likewise.
36208 * conform/data/stdnoreturn.h-data: Likewise.
36209
36210 2012-11-07 Roland McGrath <roland@hack.frob.com>
36211
36212 [BZ #14815]
36213 * manual/filesys.texi (Directory Entries): Typo fix.
36214 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36215
36216 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36217
36218 * elf/elf.h (EM_AARCH64): New macro.
36219 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36220 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36221 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36222 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36223 (R_AARCH64_TLSDESC): Likewise.
36224 (NT_ARM_TLS): Likewise.
36225 (NT_ARM_HW_BREAK): Likewise.
36226 (NT_ARM_HW_WATCH): Likewise.
36227
36228 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36229
36230 [BZ #14811]
36231 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36232 (__ieee754_powl): Saturate nonzero exponents with absolute value
36233 below 0x1p-79 to +/- 0x1p-79.
36234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36235 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36236 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36237 nonzero exponents with absolute value below 0x1p-32 to +/-
36238 0x1p-32.
36239 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36240 (__ieee754_powl): Saturate nonzero exponents with absolute value
36241 below 0x1p-79 to +/- 0x1p-79.
36242 * math/libm-test.inc (pow_test): Add more tests.
36243
36244 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36245
36246 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36247 _dl_s390_cap_flags with kernel. Increase string length.
36248 (_dl_s390_platforms): Add z196 and zEC12.
36249
36250 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36251
36252 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36253 Change XOPEN21K to XOPEN2K.
36254
36255 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36256
36257 * string/memmove.c: Use memcpy when possible.
36258
36259 2012-11-06 Andreas Jaeger <aj@suse.de>
36260
36261 * po/eo.po: Update from translation team.
36262
36263 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36264
36265 [BZ #14793]
36266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36267 exponent and small x and y exponents, scale x or y up. Increase
36268 by 2 the exponent used in scaling up.
36269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36270 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36271 * math/libm-test.inc (fma_test): Add more tests.
36272 (fma_test_towardzero): Likewise.
36273 (fma_test_downward): Likewise.
36274 (fma_test_upward): Likewise.
36275
36276 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36277
36278 [BZ #14805]
36279 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36280 fenv_t *.
36281
36282 [BZ #14801]
36283 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36284 namespace for names of struct fields.
36285 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36286 fenv_t fields.
36287 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36288 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36289
36290 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36291
36292 [BZ #3665]
36293 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36294
36295 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36296
36297 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36298 PTR_DEMANGLE.
36299
36300 [BZ #5246]
36301 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36302 PTR_DEMANGLE.
36303
36304 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36305
36306 [BZ #14797]
36307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36308 definitely overflow as x * y not x * y + z.
36309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36311 * math/libm-test.inc (fma_test): Add more tests.
36312 (fma_test_towardzero): Likewise.
36313 (fma_test_downward): Likewise.
36314 (fma_test_upward): Likewise.
36315
36316 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36317
36318 [BZ #157]
36319
36320 * include/stub-tag.h: Remove file.
36321 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36322 '#include' of it.
36323 * manual/maint.texi (Porting): Don't reference it.
36324 * Makerules ($(objpfx)stubs): Likewise.
36325 * dirent/closedir.c: Don't include <stub-tag.h>.
36326 * dirent/dirfd.c: Likewise.
36327 * dirent/fdopendir.c: Likewise.
36328 * dirent/getdents.c: Likewise.
36329 * dirent/getdents64.c: Likewise.
36330 * dirent/opendir.c: Likewise.
36331 * dirent/readdir.c: Likewise.
36332 * dirent/readdir64.c: Likewise.
36333 * dirent/readdir64_r.c: Likewise.
36334 * dirent/readdir_r.c: Likewise.
36335 * dirent/rewinddir.c: Likewise.
36336 * dirent/seekdir.c: Likewise.
36337 * dirent/telldir.c: Likewise.
36338 * gmon/profil.c: Likewise.
36339 * grp/setgroups.c: Likewise.
36340 * inet/if_index.c: Likewise.
36341 * io/access.c: Likewise.
36342 * io/chdir.c: Likewise.
36343 * io/chmod.c: Likewise.
36344 * io/chown.c: Likewise.
36345 * io/close.c: Likewise.
36346 * io/dup.c: Likewise.
36347 * io/dup2.c: Likewise.
36348 * io/dup3.c: Likewise.
36349 * io/euidaccess.c: Likewise.
36350 * io/faccessat.c: Likewise.
36351 * io/fchdir.c: Likewise.
36352 * io/fchmod.c: Likewise.
36353 * io/fchmodat.c: Likewise.
36354 * io/fchown.c: Likewise.
36355 * io/fchownat.c: Likewise.
36356 * io/fcntl.c: Likewise.
36357 * io/flock.c: Likewise.
36358 * io/fstatfs.c: Likewise.
36359 * io/fstatfs64.c: Likewise.
36360 * io/fstatvfs.c: Likewise.
36361 * io/fstatvfs64.c: Likewise.
36362 * io/futimens.c: Likewise.
36363 * io/fxstat.c: Likewise.
36364 * io/fxstat64.c: Likewise.
36365 * io/fxstatat.c: Likewise.
36366 * io/fxstatat64.c: Likewise.
36367 * io/getcwd.c: Likewise.
36368 * io/isatty.c: Likewise.
36369 * io/lchmod.c: Likewise.
36370 * io/lchown.c: Likewise.
36371 * io/link.c: Likewise.
36372 * io/linkat.c: Likewise.
36373 * io/lseek.c: Likewise.
36374 * io/lseek64.c: Likewise.
36375 * io/lxstat64.c: Likewise.
36376 * io/mkdir.c: Likewise.
36377 * io/mkdirat.c: Likewise.
36378 * io/mkfifo.c: Likewise.
36379 * io/mkfifoat.c: Likewise.
36380 * io/open.c: Likewise.
36381 * io/open64.c: Likewise.
36382 * io/openat.c: Likewise.
36383 * io/openat64.c: Likewise.
36384 * io/pipe.c: Likewise.
36385 * io/pipe2.c: Likewise.
36386 * io/poll.c: Likewise.
36387 * io/posix_fadvise.c: Likewise.
36388 * io/posix_fadvise64.c: Likewise.
36389 * io/posix_fallocate.c: Likewise.
36390 * io/posix_fallocate64.c: Likewise.
36391 * io/read.c: Likewise.
36392 * io/readlink.c: Likewise.
36393 * io/readlinkat.c: Likewise.
36394 * io/rmdir.c: Likewise.
36395 * io/sendfile.c: Likewise.
36396 * io/sendfile64.c: Likewise.
36397 * io/statfs.c: Likewise.
36398 * io/statfs64.c: Likewise.
36399 * io/statvfs.c: Likewise.
36400 * io/statvfs64.c: Likewise.
36401 * io/symlink.c: Likewise.
36402 * io/symlinkat.c: Likewise.
36403 * io/ttyname.c: Likewise.
36404 * io/ttyname_r.c: Likewise.
36405 * io/umask.c: Likewise.
36406 * io/unlink.c: Likewise.
36407 * io/unlinkat.c: Likewise.
36408 * io/utime.c: Likewise.
36409 * io/utimensat.c: Likewise.
36410 * io/write.c: Likewise.
36411 * io/xmknod.c: Likewise.
36412 * io/xmknodat.c: Likewise.
36413 * io/xstat.c: Likewise.
36414 * io/xstat64.c: Likewise.
36415 * login/getpt.c: Likewise.
36416 * login/grantpt.c: Likewise.
36417 * login/unlockpt.c: Likewise.
36418 * math/e_acoshl.c: Likewise.
36419 * math/e_acosl.c: Likewise.
36420 * math/e_asinl.c: Likewise.
36421 * math/e_atan2l.c: Likewise.
36422 * math/e_atanhl.c: Likewise.
36423 * math/e_coshl.c: Likewise.
36424 * math/e_expl.c: Likewise.
36425 * math/e_fmodl.c: Likewise.
36426 * math/e_gammal_r.c: Likewise.
36427 * math/e_hypotl.c: Likewise.
36428 * math/e_j0l.c: Likewise.
36429 * math/e_j1l.c: Likewise.
36430 * math/e_jnl.c: Likewise.
36431 * math/e_lgammal_r.c: Likewise.
36432 * math/e_log10l.c: Likewise.
36433 * math/e_log2l.c: Likewise.
36434 * math/e_logl.c: Likewise.
36435 * math/e_powl.c: Likewise.
36436 * math/e_rem_pio2l.c: Likewise.
36437 * math/e_sinhl.c: Likewise.
36438 * math/e_sqrtl.c: Likewise.
36439 * math/fclrexcpt.c: Likewise.
36440 * math/fedisblxcpt.c: Likewise.
36441 * math/feenablxcpt.c: Likewise.
36442 * math/fegetenv.c: Likewise.
36443 * math/fegetexcept.c: Likewise.
36444 * math/fegetround.c: Likewise.
36445 * math/feholdexcpt.c: Likewise.
36446 * math/fesetenv.c: Likewise.
36447 * math/fesetround.c: Likewise.
36448 * math/feupdateenv.c: Likewise.
36449 * math/fgetexcptflg.c: Likewise.
36450 * math/fraiseexcpt.c: Likewise.
36451 * math/fsetexcptflg.c: Likewise.
36452 * math/ftestexcept.c: Likewise.
36453 * math/k_cosl.c: Likewise.
36454 * math/k_rem_pio2l.c: Likewise.
36455 * math/k_sinl.c: Likewise.
36456 * math/k_tanl.c: Likewise.
36457 * math/s_asinhl.c: Likewise.
36458 * math/s_atanl.c: Likewise.
36459 * math/s_cbrtl.c: Likewise.
36460 * math/s_erfl.c: Likewise.
36461 * math/s_expm1l.c: Likewise.
36462 * math/s_log1pl.c: Likewise.
36463 * math/s_tanhl.c: Likewise.
36464 * misc/acct.c: Likewise.
36465 * misc/brk.c: Likewise.
36466 * misc/chflags.c: Likewise.
36467 * misc/chroot.c: Likewise.
36468 * misc/fchflags.c: Likewise.
36469 * misc/fgetxattr.c: Likewise.
36470 * misc/flistxattr.c: Likewise.
36471 * misc/fremovexattr.c: Likewise.
36472 * misc/fsetxattr.c: Likewise.
36473 * misc/fsync.c: Likewise.
36474 * misc/ftruncate.c: Likewise.
36475 * misc/futimes.c: Likewise.
36476 * misc/futimesat.c: Likewise.
36477 * misc/getdomain.c: Likewise.
36478 * misc/getdtsz.c: Likewise.
36479 * misc/gethostid.c: Likewise.
36480 * misc/gethostname.c: Likewise.
36481 * misc/getloadavg.c: Likewise.
36482 * misc/getpagesize.c: Likewise.
36483 * misc/getsysstats.c: Likewise.
36484 * misc/getxattr.c: Likewise.
36485 * misc/gtty.c: Likewise.
36486 * misc/ioctl.c: Likewise.
36487 * misc/lgetxattr.c: Likewise.
36488 * misc/listxattr.c: Likewise.
36489 * misc/llistxattr.c: Likewise.
36490 * misc/lremovexattr.c: Likewise.
36491 * misc/lsetxattr.c: Likewise.
36492 * misc/lutimes.c: Likewise.
36493 * misc/madvise.c: Likewise.
36494 * misc/mincore.c: Likewise.
36495 * misc/mlock.c: Likewise.
36496 * misc/mlockall.c: Likewise.
36497 * misc/mmap.c: Likewise.
36498 * misc/mprotect.c: Likewise.
36499 * misc/msync.c: Likewise.
36500 * misc/munlock.c: Likewise.
36501 * misc/munlockall.c: Likewise.
36502 * misc/munmap.c: Likewise.
36503 * misc/preadv.c: Likewise.
36504 * misc/preadv64.c: Likewise.
36505 * misc/ptrace.c: Likewise.
36506 * misc/pwritev.c: Likewise.
36507 * misc/pwritev64.c: Likewise.
36508 * misc/readv.c: Likewise.
36509 * misc/reboot.c: Likewise.
36510 * misc/remap_file_pages.c: Likewise.
36511 * misc/removexattr.c: Likewise.
36512 * misc/revoke.c: Likewise.
36513 * misc/select.c: Likewise.
36514 * misc/setdomain.c: Likewise.
36515 * misc/setegid.c: Likewise.
36516 * misc/seteuid.c: Likewise.
36517 * misc/sethostid.c: Likewise.
36518 * misc/sethostname.c: Likewise.
36519 * misc/setregid.c: Likewise.
36520 * misc/setreuid.c: Likewise.
36521 * misc/setxattr.c: Likewise.
36522 * misc/sstk.c: Likewise.
36523 * misc/stty.c: Likewise.
36524 * misc/swapoff.c: Likewise.
36525 * misc/swapon.c: Likewise.
36526 * misc/sync.c: Likewise.
36527 * misc/syncfs.c: Likewise.
36528 * misc/syscall.c: Likewise.
36529 * misc/truncate.c: Likewise.
36530 * misc/ualarm.c: Likewise.
36531 * misc/usleep.c: Likewise.
36532 * misc/ustat.c: Likewise.
36533 * misc/utimes.c: Likewise.
36534 * misc/vhangup.c: Likewise.
36535 * misc/writev.c: Likewise.
36536 * posix/_exit.c: Likewise.
36537 * posix/alarm.c: Likewise.
36538 * posix/execve.c: Likewise.
36539 * posix/fexecve.c: Likewise.
36540 * posix/fork.c: Likewise.
36541 * posix/fpathconf.c: Likewise.
36542 * posix/getaddrinfo.c: Likewise.
36543 * posix/getegid.c: Likewise.
36544 * posix/geteuid.c: Likewise.
36545 * posix/getgid.c: Likewise.
36546 * posix/getgroups.c: Likewise.
36547 * posix/getlogin.c: Likewise.
36548 * posix/getlogin_r.c: Likewise.
36549 * posix/getpgid.c: Likewise.
36550 * posix/getpid.c: Likewise.
36551 * posix/getppid.c: Likewise.
36552 * posix/getresgid.c: Likewise.
36553 * posix/getresuid.c: Likewise.
36554 * posix/getsid.c: Likewise.
36555 * posix/getuid.c: Likewise.
36556 * posix/glob64.c: Likewise.
36557 * posix/nanosleep.c: Likewise.
36558 * posix/pathconf.c: Likewise.
36559 * posix/pause.c: Likewise.
36560 * posix/posix_madvise.c: Likewise.
36561 * posix/pread.c: Likewise.
36562 * posix/pread64.c: Likewise.
36563 * posix/pwrite.c: Likewise.
36564 * posix/pwrite64.c: Likewise.
36565 * posix/sched_getaffinity.c: Likewise.
36566 * posix/sched_getp.c: Likewise.
36567 * posix/sched_gets.c: Likewise.
36568 * posix/sched_primax.c: Likewise.
36569 * posix/sched_primin.c: Likewise.
36570 * posix/sched_rr_gi.c: Likewise.
36571 * posix/sched_setaffinity.c: Likewise.
36572 * posix/sched_setp.c: Likewise.
36573 * posix/sched_sets.c: Likewise.
36574 * posix/sched_yield.c: Likewise.
36575 * posix/setgid.c: Likewise.
36576 * posix/setlogin.c: Likewise.
36577 * posix/setpgid.c: Likewise.
36578 * posix/setresgid.c: Likewise.
36579 * posix/setresuid.c: Likewise.
36580 * posix/setsid.c: Likewise.
36581 * posix/setuid.c: Likewise.
36582 * posix/sleep.c: Likewise.
36583 * posix/spawni.c: Likewise.
36584 * posix/sysconf.c: Likewise.
36585 * posix/times.c: Likewise.
36586 * posix/wait.c: Likewise.
36587 * posix/wait3.c: Likewise.
36588 * posix/wait4.c: Likewise.
36589 * posix/waitpid.c: Likewise.
36590 * resolv/gai_sigqueue.c: Likewise.
36591 * resource/getpriority.c: Likewise.
36592 * resource/getrlimit.c: Likewise.
36593 * resource/getrusage.c: Likewise.
36594 * resource/nice.c: Likewise.
36595 * resource/setpriority.c: Likewise.
36596 * resource/setrlimit.c: Likewise.
36597 * resource/ulimit.c: Likewise.
36598 * rt/aio_cancel.c: Likewise.
36599 * rt/aio_fsync.c: Likewise.
36600 * rt/aio_read.c: Likewise.
36601 * rt/aio_sigqueue.c: Likewise.
36602 * rt/aio_suspend.c: Likewise.
36603 * rt/aio_write.c: Likewise.
36604 * rt/clock_getres.c: Likewise.
36605 * rt/clock_gettime.c: Likewise.
36606 * rt/clock_nanosleep.c: Likewise.
36607 * rt/clock_settime.c: Likewise.
36608 * rt/lio_listio.c: Likewise.
36609 * rt/mq_close.c: Likewise.
36610 * rt/mq_getattr.c: Likewise.
36611 * rt/mq_notify.c: Likewise.
36612 * rt/mq_open.c: Likewise.
36613 * rt/mq_receive.c: Likewise.
36614 * rt/mq_send.c: Likewise.
36615 * rt/mq_setattr.c: Likewise.
36616 * rt/mq_timedreceive.c: Likewise.
36617 * rt/mq_timedsend.c: Likewise.
36618 * rt/mq_unlink.c: Likewise.
36619 * rt/shm_open.c: Likewise.
36620 * rt/shm_unlink.c: Likewise.
36621 * rt/timer_create.c: Likewise.
36622 * rt/timer_delete.c: Likewise.
36623 * rt/timer_getoverr.c: Likewise.
36624 * rt/timer_gettime.c: Likewise.
36625 * rt/timer_settime.c: Likewise.
36626 * setjmp/__longjmp.c: Likewise.
36627 * setjmp/setjmp.c: Likewise.
36628 * signal/kill.c: Likewise.
36629 * signal/killpg.c: Likewise.
36630 * signal/raise.c: Likewise.
36631 * signal/sigaction.c: Likewise.
36632 * signal/sigaltstack.c: Likewise.
36633 * signal/sigblock.c: Likewise.
36634 * signal/sigignore.c: Likewise.
36635 * signal/sigintr.c: Likewise.
36636 * signal/signal.c: Likewise.
36637 * signal/sigpause.c: Likewise.
36638 * signal/sigpending.c: Likewise.
36639 * signal/sigqueue.c: Likewise.
36640 * signal/sigreturn.c: Likewise.
36641 * signal/sigset.c: Likewise.
36642 * signal/sigsetmask.c: Likewise.
36643 * signal/sigstack.c: Likewise.
36644 * signal/sigsuspend.c: Likewise.
36645 * signal/sigtimedwait.c: Likewise.
36646 * signal/sigvec.c: Likewise.
36647 * signal/sigwait.c: Likewise.
36648 * signal/sigwaitinfo.c: Likewise.
36649 * signal/sysv_signal.c: Likewise.
36650 * socket/accept.c: Likewise.
36651 * socket/accept4.c: Likewise.
36652 * socket/bind.c: Likewise.
36653 * socket/connect.c: Likewise.
36654 * socket/getpeername.c: Likewise.
36655 * socket/getsockname.c: Likewise.
36656 * socket/getsockopt.c: Likewise.
36657 * socket/isfdtype.c: Likewise.
36658 * socket/listen.c: Likewise.
36659 * socket/recv.c: Likewise.
36660 * socket/recvfrom.c: Likewise.
36661 * socket/recvmsg.c: Likewise.
36662 * socket/send.c: Likewise.
36663 * socket/sendmsg.c: Likewise.
36664 * socket/sendto.c: Likewise.
36665 * socket/setsockopt.c: Likewise.
36666 * socket/shutdown.c: Likewise.
36667 * socket/sockatmark.c: Likewise.
36668 * socket/socket.c: Likewise.
36669 * socket/socketpair.c: Likewise.
36670 * stdio-common/ctermid.c: Likewise.
36671 * stdio-common/cuserid.c: Likewise.
36672 * stdio-common/remove.c: Likewise.
36673 * stdio-common/rename.c: Likewise.
36674 * stdio-common/renameat.c: Likewise.
36675 * stdio-common/tempname.c: Likewise.
36676 * stdlib/getcontext.c: Likewise.
36677 * stdlib/makecontext.c: Likewise.
36678 * stdlib/setcontext.c: Likewise.
36679 * stdlib/swapcontext.c: Likewise.
36680 * stdlib/system.c: Likewise.
36681 * streams/fattach.c: Likewise.
36682 * streams/fdetach.c: Likewise.
36683 * streams/getmsg.c: Likewise.
36684 * streams/getpmsg.c: Likewise.
36685 * streams/putmsg.c: Likewise.
36686 * streams/putpmsg.c: Likewise.
36687 * sysdeps/unix/bsd/getpt.c: Likewise.
36688 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36689 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36690 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36692 Likewise.
36693 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36694 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36695 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36696 * sysvipc/msgctl.c: Likewise.
36697 * sysvipc/msgget.c: Likewise.
36698 * sysvipc/msgrcv.c: Likewise.
36699 * sysvipc/msgsnd.c: Likewise.
36700 * sysvipc/semctl.c: Likewise.
36701 * sysvipc/semget.c: Likewise.
36702 * sysvipc/semop.c: Likewise.
36703 * sysvipc/semtimedop.c: Likewise.
36704 * sysvipc/shmat.c: Likewise.
36705 * sysvipc/shmctl.c: Likewise.
36706 * sysvipc/shmdt.c: Likewise.
36707 * sysvipc/shmget.c: Likewise.
36708 * termios/tcdrain.c: Likewise.
36709 * termios/tcflow.c: Likewise.
36710 * termios/tcflush.c: Likewise.
36711 * termios/tcgetattr.c: Likewise.
36712 * termios/tcgetpgrp.c: Likewise.
36713 * termios/tcsendbrk.c: Likewise.
36714 * termios/tcsetattr.c: Likewise.
36715 * termios/tcsetpgrp.c: Likewise.
36716 * time/adjtime.c: Likewise.
36717 * time/clock.c: Likewise.
36718 * time/getitimer.c: Likewise.
36719 * time/gettimeofday.c: Likewise.
36720 * time/setitimer.c: Likewise.
36721 * time/settimeofday.c: Likewise.
36722 * time/stime.c: Likewise.
36723 * time/time.c: Likewise.
36724
36725 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36726
36727 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36728 /usr/old/bin.
36729
36730 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36731 instead of spaces.
36732 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36733
36734 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36735
36736 [BZ #14796]
36737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36738 FE_TONEAREST before applying Dekker multiplication and Knuth
36739 addition. Clear inexact exceptions and check for exact zero
36740 results afterwards.
36741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36742 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36744 * math/libm-test.inc (fma_test): Add more tests.
36745 (fma_test_towardzero): Likewise.
36746 (fma_test_downward): Likewise.
36747 (fma_test_upward): Likewise.
36748 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36749 function.
36750 (libc_fesetround): New macro.
36751 (libc_fesetroundf): Likewise.
36752 (libc_fesetroundl): Likewise.
36753 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36754 function.
36755 (libc_fesetround_387): Likewise.
36756 (libc_fesetroundf): New macro.
36757 (libc_fesetround): Likewise.
36758 (libc_fesetroundl): Likewise.
36759 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36760 function.
36761 (libc_fesetroundf): New macro.
36762 (libc_fesetround): Likewise.
36763 (libc_fesetroundl): Likewise.
36764 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36765 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36766 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36767 libm_hidden_ver.
36768 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36769 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36770 libm_hidden_def.
36771 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36772 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36773 libm_hidden_ver.
36774 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36775 libm_hidden_def.
36776
36777 [BZ #3439]
36778 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36779 integer constant usable in #if and use that to give value to enum
36780 constant.
36781 (FE_DIVBYZERO): Likewise.
36782 (FE_UNDERFLOW): Likewise.
36783 (FE_OVERFLOW): Likewise.
36784 (FE_INVALID): Likewise.
36785 (FE_INVALID_SNAN): Likewise.
36786 (FE_INVALID_ISI): Likewise.
36787 (FE_INVALID_IDI): Likewise.
36788 (FE_INVALID_ZDZ): Likewise.
36789 (FE_INVALID_IMZ): Likewise.
36790 (FE_INVALID_COMPARE): Likewise.
36791 (FE_INVALID_SOFTWARE): Likewise.
36792 (FE_INVALID_SQRT): Likewise.
36793 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36794 (FE_TONEAREST): Likewise.
36795 (FE_TOWARDZERO): Likewise.
36796 (FE_UPWARD): Likewise.
36797 (FE_DOWNWARD): Likewise.
36798 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36799 (FE_DIVBYZERO): Likewise.
36800 (FE_OVERFLOW): Likewise.
36801 (FE_UNDERFLOW): Likewise.
36802 (FE_INEXACT): Likewise.
36803 (FE_TONEAREST): Likewise.
36804 (FE_DOWNWARD): Likewise.
36805 (FE_UPWARD): Likewise.
36806 (FE_TOWARDZERO): Likewise.
36807 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36808 (FE_UNDERFLOW): Likewise.
36809 (FE_OVERFLOW): Likewise.
36810 (FE_DIVBYZERO): Likewise.
36811 (FE_INVALID): Likewise.
36812 (FE_TONEAREST): Likewise.
36813 (FE_TOWARDZERO): Likewise.
36814 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36815 (FE_OVERFLOW): Likewise.
36816 (FE_UNDERFLOW): Likewise.
36817 (FE_DIVBYZERO): Likewise.
36818 (FE_INEXACT): Likewise.
36819 (FE_TONEAREST): Likewise.
36820 (FE_TOWARDZERO): Likewise.
36821 (FE_UPWARD): Likewise.
36822 (FE_DOWNWARD): Likewise.
36823 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36824 (FE_DIVBYZERO): Likewise.
36825 (FE_OVERFLOW): Likewise.
36826 (FE_UNDERFLOW): Likewise.
36827 (FE_INEXACT): Likewise.
36828 (FE_TONEAREST): Likewise.
36829 (FE_DOWNWARD): Likewise.
36830 (FE_UPWARD): Likewise.
36831 (FE_TOWARDZERO): Likewise.
36832
36833 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36834
36835 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36836
36837 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36838
36839 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36840 commands. Quote $PWD.
36841 (blacklist_exports): Don't use remove_newlines. Replace "declare
36842 -x" by "export".
36843 (remove_newlines): Remove.
36844
36845 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36846
36847 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36848 * stdlib/stdlib.h (atof): Moved to ...
36849 * include/bits/stdlib-float.h: Here. New file.
36850 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36851 * stdlib/bits/stdlib-float.h: New file.
36852 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36853 -mno-sse -mno-mmx.
36854 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36855 <xmmintrin.h>.
36856
36857 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36858
36859 * conform/conformtest.pl (@headers): Add fenv.h.
36860 * conform/data/fenv.h-data: New file.
36861 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36862 include of <math/fenv.h>.
36863
36864 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36865 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36866 && !UNIX98]. Enables tests for XOPEN2K8.
36867 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36868 POSIX2008]: Likewise.
36869
36870 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36871 (struct rusage): Do not expect type or its members.
36872
36873 [BZ #3439]
36874 * math/math.h (FP_NAN): Define macro to integer constant usable in
36875 #if and use that to give value to enum constant.
36876 (FP_INFINITE): Likewise.
36877 (FP_ZERO): Likewise.
36878 (FP_SUBNORMAL): Likewise.
36879 (FP_NORMAL): Likewise.
36880
36881 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36882
36883 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36884 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36885 arguments.
36886
36887 2012-11-02 Roland McGrath <roland@hack.frob.com>
36888
36889 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36890 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36891 autoconf-time if not.
36892 * configure.in: Remove AC_PREREQ.
36893
36894 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36895
36896 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36897 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36898 of the internal implementation.
36899
36900 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36901
36902 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36903 except include of <misc/sys/syslog.h>.
36904
36905 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36906
36907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36908 function returns with a NULL context exit with zero.
36909
36910 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36911
36912 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36913
36914 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36915
36916 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36917 (run_program_cmd): This.
36918 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36919 (tst_langinfo): New variable. Use it.
36920
36921 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36922
36923 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36924 floating point opcodes.
36925
36926 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36927
36928 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36929 variable.
36930
36931 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36932
36933 * sysdeps/mach/hurd/powerpc: Remove directory.
36934 * sysdeps/mach/powerpc: Likewise.
36935
36936 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36937
36938 * scripts/check-local-headers.sh: Ignore c++ headers.
36939
36940 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36941
36942 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36943 __libc_cleanup_region_start argument.
36944
36945 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36946
36947 [BZ #14784]
36948 [BZ #14785]
36949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36950 x * y using scaling, not as x * y + z.
36951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36953 * math/libm-test.inc (fma_test): Add more tests.
36954 (fma_test_towardzero): Likewise.
36955 (fma_test_downward): Likewise.
36956 (fma_test_upward): Likewise.
36957
36958 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36959
36960 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36961
36962 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36963
36964 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36965 New variable.
36966
36967 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36968
36969 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36970
36971 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36972
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36974 Fix sort order.
36975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36976 Likewise.
36977
36978 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36979
36980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36981 Fix the order of the list for glibc 2.17.
36982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36983 Likewise.
36984
36985 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36986
36987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36988
36989 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36990
36991 [BZ #14610]
36992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36993 for low part of x being zero before using __atanl (y).
36994 * math/libm-test.inc (atan2_test): Add another test.
36995
36996 * manual/install.texi (Configuring and compiling): Document
36997 general use of test-wrapper and test-wrapper-env.
36998 * INSTALL: Regenerated.
36999
37000 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37001 (__fma): Do not extract and scale down low bits on after-rounding
37002 systems when result rounded to normal precision would have normal
37003 exponent.
37004 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37005 (__fmal): Do not extract and scale down low bits on after-rounding
37006 systems when result rounded to normal precision would have normal
37007 exponent.
37008 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37009 (__fmal): Do not extract and scale down low bits on after-rounding
37010 systems when result rounded to normal precision would have normal
37011 exponent.
37012 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37013 macro.
37014 (fma_test): Add more tests.
37015 (fma_test_towardzero): Likewise.
37016 (fma_test_downward): Likewise.
37017 (fma_test_upward): Likewise.
37018
37019 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37020
37021 * sysdeps/i386/tininess.h: Renamed to ...
37022 * sysdeps/x86/tininess.h: This.
37023 * sysdeps/x86_64/tininess.h: Removed.
37024
37025 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37026
37027 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37028 input. Use $(build-program-cmd).
37029 ($(objpfx)tst-array1-static.out): Likewise.
37030 ($(objpfx)tst-array2.out): Likewise.
37031 ($(objpfx)tst-array3.out): Likewise.
37032 ($(objpfx)tst-array4.out): Likewise.
37033 ($(objpfx)tst-array5.out): Likewise.
37034 ($(objpfx)tst-array5-static.out): Likewise.
37035
37036 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37037
37038 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37039 if defined.
37040
37041 * nss/nsswitch.h (nss_interface_function): Provide new
37042 macro for use with NSS functions.
37043 * grp/initgroups.c: Use new macro.
37044 * nss/getXXbyYY.c: Likewise.
37045 * nss/getXXbyYY_r.c: Likewise.
37046 * nss/getXXent.c: Likewise.
37047 * nss/getXXent_r.c: Likewise.
37048 * sysdeps/posix/getaddrinfo.c: Likewise.
37049
37050 2012-10-30 Andreas Jaeger <aj@suse.de>
37051
37052 * po/ru.po: Update Russion translation from translation project.
37053
37054 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37055
37056 [BZ #14152]
37057 [BZ #14783]
37058 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37059 result and shift together with sticky bit instead of replicating
37060 round-to-nearest rounding.
37061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37063 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37064 missing underflow exceptions.
37065 (fma_test_towardzero): Add more tests.
37066 (fma_test_downward): Likewise.
37067 (fma_test_upward): Likewise.
37068
37069 [BZ #14047]
37070 * sysdeps/generic/tininess.h: New file.
37071 * sysdeps/i386/tininess.h: Likewise.
37072 * sysdeps/sh/tininess.h: Likewise.
37073 * sysdeps/x86_64/tininess.h: Likewise.
37074 * stdlib/tst-strtod-underflow.c: Likewise.
37075 * stdlib/tst-tininess.c: Likewise.
37076 * stdlib/strtod_l.c: Include <tininess.h>.
37077 (round_and_return): Do not set errno for exact underflow cases.
37078 Force an underflow exception when setting errno for underflow.
37079 Determine underflow based on rounding to normal precision if
37080 TININESS_AFTER_ROUNDING.
37081 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37082 ERANGE for exact underflow cases.
37083 * stdlib/Makefile (tests): Add tst-tininess and
37084 tst-strtod-underflow.
37085 ($(objpfx)tst-tininess): Use $(link-libm).
37086 ($(objpfx)tst-strtod-underflow): Likewise.
37087
37088 2012-10-30 Andreas Jaeger <aj@suse.de>
37089
37090 [BZ#14767]
37091 * elf/Makefile (tests): Remove conditional for have-initfini-array
37092 since this is now always required and the variable does not exist
37093 anymore.
37094 (tests-static): Likewise.
37095 (modules-names): Likewise.
37096
37097 * po/eo.po: Add Esperanto translation from translation project.
37098
37099 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37100 merged with constructor/destructor.
37101 (init_array): Likewise.
37102 * elf/tst-array2dep.c (fini_array): Likewise.
37103 (init_array): Likewise.
37104
37105 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37106
37107 * manual/message.texi: Delete @cartouche tags.
37108
37109 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37110
37111 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37112 EOPNOTSUPP.
37113 * sysdeps/mach/hurd/fsync.c: Likewise.
37114
37115 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37116 [_POSIX_REALTIME_SIGNALS]: Change condition to
37117 [_POSIX_REALTIME_SIGNALS > 0].
37118
37119 2012-10-27 Andreas Jaeger <aj@suse.de>
37120
37121 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37122 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37124 [__WORDSIZE != 64]: Likewise.
37125
37126 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37127
37128 * iconvdata/tst-table.sh: Remove ${SHELL}.
37129 * iconvdata/tst-tables.sh: Likewise.
37130
37131 2012-10-25 David S. Miller <davem@davemloft.net>
37132
37133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37134 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37135 of strtoull.
37136
37137 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37138 ifunc-impl-list.c
37139 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37140 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37141 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37142 file.
37143
37144 2012-10-25 Roland McGrath <roland@hack.frob.com>
37145
37146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37147 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37148 __getdirentries.
37149
37150 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37151 Jim Blandy <jimb@codesourcery.com>
37152
37153 * scripts/cross-test-ssh.sh: New file.
37154 * manual/install.texi (Configuring and compiling): Document use of
37155 cross-test-ssh.sh.
37156 * INSTALL: Regenerated.
37157
37158 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37159
37160 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37161 EOPNOTSUPP.
37162
37163 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37164
37165 * Makeconfig (run-program-prefix): Fix comment.
37166
37167 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37168 Jim Blandy <jimb@codesourcery.com>
37169
37170 * Makeconfig (test-wrapper): New variable,
37171 (test-wrapper-env): Likewise.
37172 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37173 (run-built-tests): Define to yes.
37174 (run-program-prefix): Use $(test-wrapper).
37175 (built-program-cmd): Likewise.
37176 * Rules (make-test-out): Use $(test-wrapper-env) and
37177 $(host-built-program-cmd).
37178 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37179 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37180 tst-pathopt.sh.
37181 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37182 $(test-wrapper-env) to tst-rtld-load-self.sh.
37183 ($(objpfx)order2.out): Use $(test-wrapper).
37184 ($(objpfx)tst-initorder.out): Likewise.
37185 ($(objpfx)tst-initorder2.out): Likewise.
37186 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37187 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37188 (test_wrapper_env): New variable. Use it to run ld.so.
37189 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37190 Use it to run ld.so.
37191 (test_wrapper_env): Likewise.
37192 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37193 $(test-wrapper) to run-iconv-test.sh.
37194 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37195 (ICONV): Use $test_wrapper.
37196 * posix/Makefile ($(objpfx)globtest.out): Pass
37197 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37198 globtest.sh, not $(run-program-prefix).
37199 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37200 (test_wrapper): Likewise.
37201 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37202 set together with run_via_rtld_prefix.
37203 (run_program_prefix): Define in terms of test_wrapper and
37204 run_via_rtld_prefix.
37205
37206 2012-10-24 Roland McGrath <roland@hack.frob.com>
37207
37208 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37209 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37210 Targets removed.
37211
37212 [BZ #14743]
37213 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37214 Declare __clock_getres, __clock_gettime, __clock_settime,
37215 __clock_nanosleep, and __clock_getcpuclockid.
37216 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37217 Remove librt_hidden_def (clock_gettime).
37218 * sysdeps/unix/clock_gettime.c: Likewise.
37219 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37220 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37221 * rt/clock_getres.c: Define __clock_getres as an alias.
37222 * sysdeps/posix/clock_getres.c: Likewise.
37223 * rt/clock_settime.c: Define __clock_settime as an alias.
37224 * sysdeps/unix/clock_settime.c: Likewise.
37225 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37226 * sysdeps/unix/clock_nanosleep.c: Likewise.
37227 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37228 * rt/clock-compat.c: New file.
37229 * rt/Makefile (librt-routines): Add clock-compat and move
37230 $(clock-routines) to ...
37231 (routines): ... here, new variable.
37232 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37233 Don't add get_clockfreq here.
37234 * rt/Versions (libc: GLIBC_2.17): New version set.
37235 Add clock_* symbols here.
37236 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37237 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37238 (GLIBC_2.17): Add clock_* symbols.
37239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37243 Likewise.
37244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37245 Likewise.
37246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37250 * NEWS: Mention the move.
37251
37252 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37253 Use __open, __read, __close rather than their public counterparts.
37254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37255 (__get_clockfreq_via_cpuinfo): Likewise.
37256 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37257 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37258
37259 * config.h.in (HAVE_IFUNC): New #undef.
37260 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37261 was successful.
37262 * configure: Regenerated.
37263
37264 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37265
37266 * configure.in: Move READELF check to start of file.
37267 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37268 libc_cv_asm_gnu_indirect_function in the process.
37269 * configure: Regenerated.
37270
37271 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37272
37273 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37274 send the output to /dev/null.
37275 (libc_cv_cc_with_libunwind): Likewise.
37276 (libc_cv_as_noexecstack): Likewise.
37277 * configure: Regenerate.
37278
37279 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37280
37281 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37282
37283 * posix/globtest.sh (TMPDIR): Do not set.
37284 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37285 (testout): Likewise.
37286
37287 2012-10-24 Andreas Jaeger <aj@suse.de>
37288
37289 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37290 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37291 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37292 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37293 posix_fadvise64, posix_fallocate64.
37294
37295 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37296 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37297 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37298 Likewise.
37299 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37300 Likewise.
37301 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37302
37303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37304 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37305 <bits/fcntl-linux.h>.
37306 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37307
37308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37309 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37310 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37311 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37312 [__WORDSIZE != 64]: Likewise.
37313
37314 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37315
37316 * Makeconfig (run-built-tests): New variable.
37317 * Rules [$(cross-compiling) = yes]: Change condition to
37318 [$(run-built-tests) = no].
37319 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37320 to [$(run-built-tests) = yes].
37321 * elf/Makefile [$(cross-compiling) = no]: Likewise
37322 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37323 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37324 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37325 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37326 * io/Makefile [$(cross-compiling) = no]: Likewise.
37327 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37328 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37329 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37330 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37331 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37332 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37333 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37334 * string/Makefile [$(cross-compiling) = no]: Likewise.
37335
37336 * posix/Makefile ($(objpfx)globtest.out): Pass
37337 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37338 $(rtld-installed-name).
37339 * posix/globtest.sh (elf_objpfx): Remove variable.
37340 (rtld_installed_name): Likewise.
37341 (library_path): Likewise.
37342 (run_program_prefix): New variable. Use for running globtest
37343 binary.
37344
37345 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37346 Joseph Myers <joseph@codesourcery.com>
37347
37348 * Makeconfig (host-built-program-cmd): New variable.
37349 * elf/Makefile (tst-stackguard1-ARGS): Use
37350 $(host-built-program-cmd).
37351 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37352 (tst-spawn-ARGS): Likewise.
37353 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37354
37355 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37356 Jim Blandy <jimb@codesourcery.com>
37357
37358 * Makeconfig (run-via-rtld-prefix): New variable.
37359 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37360 (built-program-cmd): Likewise.
37361
37362 2012-10-22 Andreas Jaeger <aj@suse.de>
37363
37364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37365 __O_RSYNC if it exists, otherwise to O_SYNC.
37366
37367 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37368 Joseph Myers <joseph@codesourcery.com>
37369
37370 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37371 /dev/null.
37372 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37373 from /dev/null
37374 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37375 /dev/null.
37376
37377 2012-10-22 Andreas Jaeger <aj@suse.de>
37378
37379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37380 Define always.
37381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37382
37383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37384 bits/fcntl-linux.h.
37385
37386 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37387 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37388
37389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37390 to __O_LARGEFILE.
37391 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37392 to __O_LARGEFILE.
37393
37394 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37395 Joseph Myers <joseph@codesourcery.com>
37396
37397 * config.make.in (NM): New variable.
37398
37399 2012-10-21 Andreas Jaeger <aj@suse.de>
37400
37401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37402 definitions and declarations that are provided by
37403 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37404
37405 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37406
37407 [BZ #14683]
37408 * elf/Makefile (tests-static): Add tst-leaks1-static.
37409 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37410 ($(objpfx)tst-leaks1-static): New rule.
37411 ($(objpfx)tst-leaks1-static-mem): Likewise.
37412 (tst-leaks1-static-ENV): New macro.
37413 * elf/dl-open.c (dl_open_worker): Check the main application
37414 only if SHARED is defined.
37415 * elf/tst-leaks1-static.c: New file.
37416
37417 2012-10-20 Andreas Jaeger <aj@suse.de>
37418
37419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37420 generic values for Linux.
37421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37422 and declarations that are provided by <bits/fcntl-linux.h> and
37423 include <bits/fcntl-linux.h>.
37424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37425 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37426
37427 2012-10-20 Roland McGrath <roland@hack.frob.com>
37428
37429 * io/fcntl.h: Move include of <bits/types.h> to the top and
37430 include it unconditionally.
37431
37432 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37433
37434 * wcsmbs/Makefile (tests-ifunc): New variable.
37435 (tests): Add $(tests-ifunc).
37436 * wcsmbs/test-wcschr-ifunc.c: New file.
37437 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37438 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37439 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37440 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37441 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37442
37443 * string/Makefile (tests-ifunc): New variable.
37444 (tests): Add $(tests-ifunc).
37445 * string/test-memccpy.c (TEST_NAME): New macro.
37446 * string/test-memchr.c (TEST_NAME): Likewise.
37447 * string/test-memcmp.c (TEST_NAME): Likewise.
37448 * string/test-memcpy.c (TEST_NAME): Likewise.
37449 * string/test-memmem.c (TEST_NAME): Likewise.
37450 * string/test-memmove.c (TEST_NAME): Likewise.
37451 * string/test-memset.c (TEST_NAME): Likewise.
37452 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37453 * string/test-stpcpy.c (TEST_NAME): Likewise.
37454 * string/test-stpncpy.c (TEST_NAME): Likewise.
37455 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37456 * string/test-strcasestr.c (TEST_NAME): Likewise.
37457 * string/test-strcat.c (TEST_NAME): Likewise.
37458 * string/test-strchr.c (TEST_NAME): Likewise.
37459 * string/test-strcmp.c(TEST_NAME): Likewise.
37460 * string/test-strcpy.c (TEST_NAME): Likewise.
37461 * string/test-strcspn.c (TEST_NAME): Likewise.
37462 * string/test-strlen.c (TEST_NAME): Likewise.
37463 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37464 * string/test-strncmp.c (TEST_NAME): Likewise.
37465 * string/test-strncpy.c (TEST_NAME): Likewise.
37466 * string/test-strnlen.c (TEST_NAME): Likewise.
37467 * string/test-strpbrk.c (TEST_NAME): Likewise.
37468 * string/test-strrchr.c (TEST_NAME): Likewise.
37469 * string/test-strspn.c (TEST_NAME): Likewise.
37470 * string/test-strstr.c (TEST_NAME): Likewise.
37471 * string/test-bcopy-ifunc.c: New file.
37472 * string/test-bzero-ifunc.c: Likewise.
37473 * string/test-memccpy-ifunc.c: Likewise.
37474 * string/test-memchr-ifunc.c: Likewise.
37475 * string/test-memcmp-ifunc.c: Likewise.
37476 * string/test-memcpy-ifunc.c: Likewise.
37477 * string/test-memmem-ifunc.c: Likewise.
37478 * string/test-memmove-ifunc.c: Likewise.
37479 * string/test-mempcpy-ifunc.c: Likewise.
37480 * string/test-memset-ifunc.c: Likewise.
37481 * string/test-rawmemchr-ifunc.c: Likewise.
37482 * string/test-stpcpy-ifunc.c: Likewise.
37483 * string/test-stpncpy-ifunc.c: Likewise.
37484 * string/test-strcasecmp-ifunc.c: Likewise.
37485 * string/test-strcasestr-ifunc.c: Likewise.
37486 * string/test-strcat-ifunc.c: Likewise.
37487 * string/test-strchr-ifunc.c: Likewise.
37488 * string/test-strchrnul-ifunc.c: Likewise.
37489 * string/test-strcmp-ifunc.c: Likewise.
37490 * string/test-strcpy-ifunc.c: Likewise.
37491 * string/test-strcspn-ifunc.c: Likewise.
37492 * string/test-strlen-ifunc.c: Likewise.
37493 * string/test-strncasecmp-ifunc.c: Likewise.
37494 * string/test-strncat-ifunc.c: Likewise.
37495 * string/test-strncmp-ifunc.c: Likewise.
37496 * string/test-strncpy-ifunc.c: Likewise.
37497 * string/test-strnlen-ifunc.c: Likewise.
37498 * string/test-strpbrk-ifunc.c: Likewise.
37499 * string/test-strrchr-ifunc.c: Likewise.
37500 * string/test-strspn-ifunc.c: Likewise.
37501 * string/test-strstr-ifunc.c: Likewise.
37502
37503 * debug/Makefile (tests-ifunc): New variable.
37504 (tests): Add $(tests-ifunc).
37505 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37506 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37507 * debug/test-stpcpy_chk-ifunc.c: New file.
37508 * debug/test-strcpy_chk-ifunc.c: Likewise.
37509
37510 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37511
37512 [BZ #13601]
37513 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37514 header is not read in.
37515
37516 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37517
37518 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37519 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37520 directly. Pass built executable to script as
37521 $(built-program-cmd).
37522 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37523 $testprogram without using LD_LIBRARY_PATH and $ldso.
37524
37525 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37526 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37527 $(rtld-installed-name).
37528 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37529 (rtld_installed_name): Likewise.
37530 (library_path): Likewise.
37531 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37532 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37533 $(run-program-prefix) to tst-tables.sh.
37534 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37535 it to run tst-table-from and tst-table-to.
37536 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37537 Pass it to tst-table.sh.
37538 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37539 $(run-program-prefix) to tst-gettext.sh.
37540 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37541 tst-translit.sh.
37542 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37543 tst-gettext2.sh.
37544 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37545 to run tst-gettext.
37546 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37547 to run tst-gettext2.
37548 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37549 to run tst-translit.
37550 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37551 $(run-program-prefix) to tst-mtrace.sh.
37552 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37553 to run tst-mtrace.
37554 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37555 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37556 $(rtld-installed-name).
37557 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37558 (rtld_installed_name): Likewise.
37559 (run_program_prefix): New variable. Use it to run wordexp-test.
37560
37561 * Makeconfig (ARCH): Remove all definitions.
37562 (machine): Likewise.
37563 [ARCH]: Remove conditional code.
37564 [!objdir]: Give error.
37565 [!objdir] (objpfx): Remove.
37566 [!objdir] (common-objpfx): Likewise.
37567 [!objdir] (common-objdir): Likewise.
37568 * configure.in (config_makefile): Remove. Hardcode Makefile in
37569 AC_CONFIG_FILES call.
37570 * configure: Regenerated.
37571
37572 [BZ #13888]
37573 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37574 or TMPDIR.
37575 (testout): Likewise.
37576
37577 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37578 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37579 $(rtld-installed-name).
37580 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37581 (rtld_installed_name): Likwise.
37582 (runit): Remove function.
37583 (run_getconf): New variable, Use it for running getconf binary.
37584
37585 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37586
37587 [BZ #14716]
37588 * string/test-memmem.c (check_result): New function.
37589 (do_one_test): Use it.
37590 (check1): New function.
37591 (test_main): Use it.
37592
37593 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37594
37595 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37596
37597 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37598
37599 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37600 (_G_LSEEK64): Likewise.
37601 (_G_MMAP64): Likewise.
37602 (_G_FSTAT64): Likewise.
37603 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37604 (_G_LSEEK64): Likewise.
37605 (_G_MMAP64): Likewise.
37606 (_G_FSTAT64): Likewise.
37607 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37608 unconditional. Call __mmap64 directly.
37609 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37610 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37611 __lseek64 directly.
37612 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37613 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37614 __mmap64 directly.
37615 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37616 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37617 __lseek64 directly.
37618 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37619 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37620 __lseek64 directly.
37621 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37622 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37623 __lseek64 directly.
37624 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37625 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37626 __fxstat64 directly.
37627 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37628 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37629 unconditional.
37630 (freopen64) [!_G_OPEN64]: Remove conditional code.
37631 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37632 unconditional.
37633 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37634 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37635 unconditional.
37636 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37637 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37638 unconditional.
37639 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37640 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37641 unconditional.
37642 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37643 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37644 unconditional.
37645 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37646 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37647 unconditional.
37648 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37649 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37650 unconditional.
37651 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37652
37653 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37654
37655 [BZ #12140]
37656 * manual/memory.texi (Malloc Tunable Parameters): Add note
37657 about free list pointers overwriting some perturb bytes.
37658 Wording suggested by Roland McGrath.
37659
37660 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37661
37662 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37663 (lgamma_test): Likewise.
37664 (tgamma_test): Likewise.
37665
37666 2012-10-16 Florian Weimer <fweimer@redhat.com>
37667
37668 [BZ #14700]
37669 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37670 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37671
37672 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37673
37674 * NEWS: Mention BZ #14716.
37675 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37676 when removing AVAILABLE1_USES_J macro.
37677
37678 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37679
37680 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37681 (__bswap_64): __uint64_t for unsigned 64-bit int.
37682
37683 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37684
37685 * include/string.h (memmem): Declare libc hidden alias.
37686 * string/memmem.c (memmem): Define libc hidden alias.
37687 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37688 __read, __close instead of open, read, close.
37689
37690 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37691
37692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37693 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37694 global and hidden.
37695 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37696 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37697 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37698 Likewise.
37699 (__rawmemchr_sse2): Likewise.
37700 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37701 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37702 (__strchr_sse2): Likewise.
37703 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37704 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37705 (__strcasecmp_sse2): Likewise.
37706 (__strncasecmp_sse2): Likewise.
37707 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37708 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37709 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37710 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37711 (__strrchr_sse2): Likewise.
37712 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37713 ifunc-impl-list.c.
37714 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37715 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37716 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37717 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37718 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37719 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37720 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37721 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37722 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37723 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37724 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37725 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37726 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37727 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37728 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37729 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37730 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37731 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37732 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37733 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37734 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37735 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37736 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37737 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37738 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37740 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37741 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37742 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37743 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37744
37745 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37746 global and hidden.
37747 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37748 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37749 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37750 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37751 Likewise.
37752 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37753 Likewise.
37754 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37755 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37756 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37757 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37758 ifunc-impl-list.c.
37759 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37760 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37761 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37769 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37770 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37771 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37772 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37773 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37775 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37776 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37777 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37778 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37780 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37781 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37782 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37783 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37784 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37785 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37786 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37787 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37789 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37790 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37791 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37792 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37799 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37800
37801 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37802 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37803 * include/ifunc-impl-list.h: New file.
37804 * misc/ifunc-impl-list.c: Likewise.
37805 * misc/Makefile (routines): Add ifunc-impl-list.
37806 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37807 * string/test-string.h: Include <ifunc-impl-list.h>.
37808 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37809 TEST_NAME]: New variables.
37810 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37811 are defined.
37812 (test_init): Call __libc_ifunc_impl_list to initialize
37813 func_list if TEST_IFUNC and TEST_NAME are defined.
37814
37815 * string/Makefile (strop-tests): Add bcopy and bzero.
37816 * string/test-bcopy.c: New file.
37817 * string/test-bzero.c: Likewise.
37818 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37819 defined.
37820 * string/test-memset.c: Support bzero test if TEST_BZERO is
37821 defined.
37822 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37823 __libc_memmove.
37824 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37825 __libc_memset.
37826 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37827 of memset.
37828
37829 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37830
37831 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37832 * configure: Regenerated.
37833
37834 * Makeconfig (+link-static-before-libc): Don't include
37835 $(link-static-libc).
37836
37837 * libio/libio.h (_IO_pos_t): Remove.
37838
37839 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37840
37841 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37842 McGrath.
37843
37844 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37845
37846 * crypt/crypt-entry.c: Include fips-private.h.
37847 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37848 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37849 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37850 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37851
37852 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37853
37854 * crypt/crypt-private.h: Include stdbool.h.
37855 (_ufc_setup_salt_r): Return bool.
37856 * crypt/crypt-entry.c: Include errno.h.
37857 (__crypt_r): Return NULL with EINVAL for bad salt.
37858 * crypt/crypt_util.c (bad_for_salt): New.
37859 (_ufc_setup_salt_r): Check that salt is long enough and within
37860 the specified alphabet.
37861 * crypt/badsalttest.c: New file.
37862 * crypt/Makefile (tests): Add it.
37863 ($(objpfx)badsalttest): New.
37864
37865 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37866
37867 * NEWS: Add entry for BZ #14602.
37868
37869 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37870
37871 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37872 type-generic.
37873 * math/libm-test.inc: Update comment listing what functions and
37874 macros are tested.
37875 (isgreater_test): New function.
37876 (isgreaterequal_test): Likewise.
37877 (isless_test): Likewise.
37878 (islessequal_test): Likewise.
37879 (islessgreater_test): Likewise.
37880 (isunordered_test): Likewise.
37881 (main): Call the new functions.
37882
37883 2012-10-09 Roland McGrath <roland@hack.frob.com>
37884
37885 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37886 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37887 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37888 * sysdeps/i386/configure: Regenerated.
37889 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37890 * sysdeps/mach/configure: Regenerated.
37891 * sysdeps/mach/hurd/configure: Regenerated.
37892 * sysdeps/powerpc/configure: Regenerated.
37893 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37894 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37895 * sysdeps/s390/s390-32/configure: Regenerated.
37896 * sysdeps/s390/s390-64/configure: Regenerated.
37897 * sysdeps/sh/configure: Regenerated.
37898 * sysdeps/sparc/configure: Regenerated.
37899 * sysdeps/unix/sysv/linux/configure: Regenerated.
37900 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37901 * sysdeps/x86_64/configure: Regenerated.
37902
37903 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37904 defined. Don't check if MAP is NULL.
37905
37906 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37907
37908 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37909 (_G_stat64): Likewise.
37910 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37911 (_G_stat64): Likewise.
37912 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37913 instead of struct _G_stat64.
37914 * libio/fileops.c (mmap_remap_check): Likewise.
37915 (decide_maybe_mmap): Likewise.
37916 (_IO_new_file_seekoff): Likewise.
37917 (_IO_file_stat): Likewise.
37918 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37919 _G_off64_t.
37920 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37921 instead of struct _G_stat64.
37922 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37923
37924 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37925
37926 [BZ #14602]
37927 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37928 Replace with ...
37929 (CHECK_EOL): New macro.
37930 (two_way_short_needle): Check beginning of haystack for EOL. Use
37931 CHECK_EOL.
37932 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37933 Replace with CHECK_EOL.
37934 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37935 Replace with CHECK_EOL.
37936
37937 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37938
37939 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37940 type-generic.
37941 * math/libm-test.inc: Update comment listing what functions and
37942 macros are tested.
37943 (finite_test): New function.
37944 (isinf_test): Likewise.
37945 (isnan_test): Likewise.
37946 (fpclassify_test): Test subnormal input.
37947 (isfinite_test): Likewise.
37948 (isnormal_test): Likewise.
37949 (main): Call the new functions.
37950
37951 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37952
37953 [BZ #14660]
37954 * Makerules (%.dynsym): Force C locale when running
37955 $(OBJDUMP) --dynamic-syms.
37956
37957 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37958
37959 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37960 <stdint.h>.
37961
37962 2012-10-06 David S. Miller <davem@davemloft.net>
37963
37964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37965 upper 32-bits of the length value in %o2 since we use branch-on-register
37966 tests which consider the entire 64-bit register.
37967
37968 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37969
37970 * string/test-strstr.c (check2): Add a test for page boundary.
37971
37972 2012-10-05 David S. Miller <davem@davemloft.net>
37973
37974 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37975 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37976 file.
37977 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37978 sysdep_routines.
37979 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37980 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37981 and bzero when HWCAP_SPARC_CRYPTO is present.
37982
37983 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37984
37985 [BZ #14602]
37986 * string/test-strstr.c (check2): New function.
37987 (test_main): Call check2.
37988
37989 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37990 and bug-strchr1.
37991 * string/bug-strcasestr1.c (do_test): Moved to ...
37992 * string/test-strcasestr.c (check1): Here. New function.
37993 (do_one_test): Break out result checking code into ...
37994 (check_result): This. New function.
37995 (do_one_test): Call check_result.
37996 (test_main): Call check1.
37997 * string/bug-strchr1.c (do_test): Moved to ...
37998 * string/test-strchr.c (check1): Here. New function.
37999 (do_one_test): Break out result checking code into ...
38000 (check_result): This. New function.
38001 (do_one_test): Call check_result.
38002 (test_main): Call check1.
38003 * string/bug-strstr1.c (main): Moved to ...
38004 * string/test-strstr.c (check1): Here. New function.
38005 (do_one_test): Break out result checking code into ...
38006 (check_result): This. New function.
38007 (do_one_test): Call check_result.
38008 (test_main): Call check1.
38009 * string/bug-strcasestr1.c: Removed.
38010 * string/bug-strchr1.c: Likewise.
38011 * string/bug-strstr1.c: Likewise.
38012
38013 * elf/Makefile (dl-routines): Add hwcaps.
38014 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38015 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38016 (_dl_important_hwcaps): Moved to ...
38017 * elf/dl-hwcaps.c: Here. New file.
38018 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38019
38020 [BZ #14557]
38021 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38022 if IS_IN_rtld isn't defined.
38023
38024 * elf/dl-support.c (_dl_sysinfo_map): New.
38025 Include "get-dynamic-info.h" and "setup-vdso.h".
38026 (_dl_non_dynamic_init): Call setup_vdso.
38027 * elf/dynamic-link.h: Don't include <assert.h>.
38028 (elf_get_dynamic_info): Moved to ...
38029 * elf/get-dynamic-info.h: Here. New file.
38030 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38031 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38032 * elf/setup-vdso.h: Here. New file.
38033 * elf/rtld.c: Include "setup-vdso.h".
38034 (dl_main): Call setup_vdso.
38035
38036 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38037
38038 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38039 creal in comment listing functions tested. List finite, isinf,
38040 isnan, isless, islessequal, isgreater, isgreaterequal,
38041 islessgreater, isunordered, lgamma_r and pow10 as functions and
38042 macros not tested. Mention which functions not tested are aliases
38043 for other functions. Fix typo. Note that signs of NaNs are not
38044 tested.
38045
38046 * scripts/config.guess: Update from config.git.
38047 * scripts/config.sub: Likewise.
38048
38049 2012-10-04 Roland McGrath <roland@hack.frob.com>
38050
38051 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38052 * misc/madvise.c (madvise): Renamed to __madvise.
38053 Make madvise a weak alias.
38054 * include/sys/mman.h: Declare __madvise.
38055 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38056 * sysdeps/unix/syscalls.list
38057 (madvise): Make __madvise the strong name, and madvise a weak alias.
38058 * sysdeps/unix/sysv/linux/syscalls.list
38059 (madvise, mmap): Remove redundant entries.
38060 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38061 * malloc/malloc.c (mtrim): Likewise.
38062 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38063
38064 2012-10-03 Roland McGrath <roland@hack.frob.com>
38065
38066 * sysdeps/mach/hurd/dl-cache.c: File removed.
38067 * config.h.in (USE_LDCONFIG): New #undef.
38068 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38069 * configure: Regenerated.
38070 * elf/Makefile (dl-routines): Add dl-cache only under
38071 [$(use-ldconfig) = yes].
38072 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38073 cache on [USE_LDCONFIG].
38074 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38075 [USE_LDCONFIG].
38076 * elf/rtld.c (dl_main): Likewise.
38077
38078 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38079
38080 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38081 _SC_LEVEL4_CACHE_LINESIZE.
38082
38083 2012-10-03 Roland McGrath <roland@hack.frob.com>
38084
38085 * sysdeps/unix/bsd/confstr.h: File removed.
38086
38087 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38088
38089 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38090 sys/sdt-config.h.
38091
38092 2012-10-02 Roland McGrath <roland@hack.frob.com>
38093
38094 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38095 Make 'mapoff' field ElfW(Off) rather than off_t.
38096
38097 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38098
38099 * nscd/Makefile: Remove nscd-cflags and all its users.
38100 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38101 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38102
38103 [BZ #10631]
38104 * malloc.c (malloc_printerr): Clarify error message.
38105
38106 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38107
38108 [BZ #14648]
38109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38110 Set bit_FMA_Usable if FMA is supported.
38111 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38112 macro.
38113 (bit_FMA4_Usable): Updated.
38114 (index_FMA_Usable): New macro.
38115 (CPUID_FMA): Likewise
38116 (HAS_FMA): Defined with bit_FMA_Usable.
38117
38118 2012-10-01 Roland McGrath <roland@hack.frob.com>
38119
38120 * bits/types.h (__swblk_t): Type removed.
38121 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38122 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38124 (__SWBLK_T_TYPE): Likewise.
38125 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38126 (__SWBLK_T_TYPE): Likewise.
38127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38128 (__SWBLK_T_TYPE): Likewise.
38129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38130 (__SWBLK_T_TYPE): Likewise.
38131
38132 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38133 Honza Horak <hhorak@redhat.com>
38134
38135 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38136 (xdr_mapname): Use YPMAXMAP as maxsize.
38137 (xdr_peername): Use YPMAXPEER as maxsize.
38138 (xdr_keydat): Use YPAXRECORD as maxsize.
38139 (xdr_valdat): Use YPMAXRECORD as maxsize.
38140
38141 2012-10-01 Roland McGrath <roland@hack.frob.com>
38142
38143 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38144
38145 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38146 * csu/init-first.c: ... here.
38147 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38148 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38149 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38150 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38151 * sysdeps/i386/init-first.c: File removed.
38152 * sysdeps/sh/init-first.c: File removed.
38153
38154 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38155
38156 [BZ #14645]
38157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38158 if x * y might underflow to zero and z is zero.
38159 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38161 * math/libm-test.inc (min_subnorm_value): New variable.
38162 (fma_test): Add more tests.
38163 (fma_test_towardzero): Likewise.
38164 (fma_test_downward): Likewise
38165 (fma_test_upward): Likewise.
38166 (initialize): Set min_subnorm_value.
38167
38168 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38169
38170 [BZ #14638]
38171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38172 0 + 0.
38173 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38174 mode for addition resulting in exact zero.
38175 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38177 exact 0 + 0.
38178 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38179 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38180 * math/libm-test.inc (fma_test): Add more tests.
38181 (fma_test_towardzero): New function.
38182 (fma_test_downward): Likewise.
38183 (fma_test_upward): Likewise.
38184 (main): Call the new functions.
38185
38186 2012-09-28 David S. Miller <davem@davemloft.net>
38187
38188 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38189
38190 2012-09-28 Roland McGrath <roland@hack.frob.com>
38191
38192 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38193 instead of SIGALRM.
38194
38195 * sysdeps/gnu/_G_config.h: Moved to ...
38196 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38197 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38198 * sysdeps/generic/_G_config.h: ... here.
38199
38200 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38201
38202 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38203
38204 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38205 Conditionalize target on [libnss_test1.so-version].
38206
38207 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38208
38209 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38210 (elfobjdir): Move out of conditionals.
38211
38212 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38213 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38214 (__nss_lookup_function): Conditionalize label remove_from_tree on
38215 [!DO_STATIC_NSS || SHARED], matching its only use.
38216
38217 2012-09-28 David S. Miller <davem@davemloft.net>
38218
38219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38220 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38221 file.
38222 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38223 sysdep_routines.
38224 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38226 when HWCAP_SPARC_CRYPTO is present.
38227
38228 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38229
38230 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38231
38232 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38233
38234 [BZ #6530]
38235 * stdio-common/vfprintf.c (process_string_arg): Revert
38236 2000-07-22 change.
38237
38238 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38239
38240 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38241 for testcase.
38242 * stdio-common/tst-sprintf.c: Include <locale.h>
38243 (main): Test sprintf's handling of incomplete multibyte
38244 characters.
38245
38246 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38247
38248 * elf/dl-runtime.c (VERSYMIDX): Removed.
38249 * elf/dl-version.c (VERSYMIDX): Likewise.
38250 * elf/do-rel.h (VERSYMIDX): Likewise.
38251 (VALIDX): Likewise.
38252 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38253 * elf/rtld.c (VALIDX): Likewise.
38254 (ADDRIDX): Likewise.
38255 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38256 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38257 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38258 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38259 (VALIDX): Likewise.
38260 (ADDRIDX): Likewise.
38261
38262 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38263
38264 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38265
38266 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38267
38268 [BZ #11438]
38269 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38270 to global scope.
38271 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38272 addresses are in the same scope as 192.0.2/24.
38273 * posix/gai.conf: Document new scope table defaults.
38274
38275 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38276
38277 [BZ #5298]
38278 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38279 for ftell. Compute offsets from write pointers instead.
38280 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38281
38282 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38283
38284 [BZ #14543]
38285 * libio/Makefile (tests): New test case tst-fseek.
38286 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38287 combination works in wide mode.
38288 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38289 state when the external buffer state changes.
38290
38291 2012-09-27 David S. Miller <davem@davemloft.net>
38292
38293 [BZ #14376]
38294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38295 pass reloc->r_addend in as the 'high' argument to
38296 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38297
38298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38299
38300 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38301
38302 * rt/tst-aio2.c: Include <pthread.h>.
38303 * rt/tst-aio3.c: Likewise.
38304
38305 2012-09-27 Steve Ellcey <sellcey@mips.com>
38306
38307 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38308
38309 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38310
38311 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38312 contents on [SHARED].
38313
38314 2012-09-26 Marek Polacek <polacek@redhat.com>
38315
38316 [BZ #14530]
38317 [BZ #13741]
38318 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38319 for C++ and GCC <4.3 as well as for non GCC compilers.
38320
38321 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38322
38323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38324
38325 2012-09-25 Roland McGrath <roland@hack.frob.com>
38326
38327 * Makefile.in (all, install): Declare with .PHONY.
38328 Reported by Michael Hope <michael.hope@linaro.org>.
38329
38330 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38331
38332 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38333 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38334 system header.
38335 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38336 Likewise.
38337 (sydep_routines): Add the new and the internal functions.
38338 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38339 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38341 (GLIBC_2.17): Add the new function.
38342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38343 (GLIBC_2.17): Likewise.
38344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38345 (GLIBC_2.17): Likewise.
38346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38347 (GLIBC_2.17): Likewise.
38348 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38349
38350 2012-09-25 Alan Modra <amodra@gmail.com>
38351
38352 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38353 Add release barrier before setting once_control to say
38354 initialisation is done. Add hints on lwarx. Use macro in
38355 place of isync.
38356 (clear_once_control): Add release barrier.
38357
38358 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38359
38360 [BZ #13629]
38361 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38362 specially.
38363 * math/s_clog10.c (__clog10): Likewise.
38364 * math/s_clog10f.c (__clog10f): Likewise.
38365 * math/s_clog10l.c (__clog10l): Likewise.
38366 * math/s_clogf.c (__clogf): Likewise.
38367 * math/s_clogl.c (__clogl): Likewise.
38368 * math/Makefile (libm-calls): Add x2y2m1.
38369 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38370 (__x2y2m1): Likewise.
38371 (__x2y2m1l): Likewise.
38372 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38373 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38374 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38375 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38376 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38377 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38378 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38379 * sysdeps/i386/fpu/libm-test-ulps: Update.
38380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381
38382 [BZ #14621]
38383 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38384 int as type of variable DEPTH.
38385 (glob): Use size_t instead of int as type of variables NEWCOUNT
38386 and OLD_PATHC.
38387
38388 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38389
38390 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38391 Add s_sincosf-sse2.
38392 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38393 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38394 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38395 macros for using routine as __sincosf_ia32.
38396 Use macro for function declaration and weak_alias.
38397 * sysdeps/i386/fpu/libm-test-ulps: Update.
38398
38399 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38401
38402 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38403 subnormal argument.
38404 * math/s_cexpf.c (__cexpf): Likewise.
38405 * math/s_csinf.c (__csinf): Likewise.
38406 * math/s_csinhf.c (__csinhf): Likewise.
38407 * math/s_ctanf.c (__ctanf): Likewise.
38408 * math/s_ctanhf.c (__ctanhf): Likewise.
38409 * math/s_ccosh.c (__ccoshf): Likewise.
38410 * math/s_cexp.c (__cexpl): Likewise.
38411 * math/s_csin.c (__csin): Likewise.
38412 * math/s_csinh.c (__csinh): Likewise.
38413 * math/s_ctan.c (__ctan): Likewise.
38414 * math/s_ctanh.c (ctanh): Likewise.
38415 * math/s_ccoshl.c (__ccoshl): Likewise.
38416 * math/s_cexpl.c (__cexpl): Likewise.
38417 * math/s_csinl.c (__csinl): Likewise.
38418 * math/s_csinhl.c (__csinhl): Likewise.
38419 * math/s_ctanl.c (__ctanl): Likewise.
38420 * math/s_ctanhl.c (__ctanhl): Likewise.
38421
38422 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38423
38424 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38425 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38426 (_IO_off_t): Define to __off_t, not _G_off_t.
38427 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38428 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38429 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38430 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38431 type of __dummy and __dummy2 fields.
38432 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38433 (_G_ssize_t): Likewise.
38434 (_G_off_t): Likewise.
38435 (_G_pid_t): Likewise.
38436 (_G_uid_t): Likewise.
38437 (_G_wchar_t): Likewise.
38438 (_G_wint_t): Likewise.
38439 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38440 (_G_ssize_t): Likewise.
38441 (_G_off_t): Likewise.
38442 (_G_pid_t): Likewise.
38443 (_G_uid_t): Likewise.
38444 (_G_wchar_t): Likewise.
38445 (_G_wint_t): Likewise.
38446 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38447 (_G_ssize_t): Likewise.
38448 (_G_off_t): Likewise.
38449 (_G_pid_t): Likewise.
38450 (_G_uid_t): Likewise.
38451 (_G_wchar_t): Likewise.
38452 (_G_wint_t): Likewise.
38453
38454 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38455
38456 * malloc/arena.c: Include malloc-sysdep.h.
38457 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38458 is sufficient to shrink the heap or an unmap is needed.
38459 * sysdeps/generic/malloc-sysdep.h: New file. Define
38460 new function check_may_shrink_heap.
38461 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38462 new function check_may_shrink_heap.
38463
38464 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38465
38466 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38467 comments.
38468
38469 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38470
38471 * catgets/test-gencat.sh: Add "set -e".
38472 * elf/tst-pathopt.sh: Likewise.
38473 * grp/tst_fgetgrent.sh: Likewise.
38474 * iconvdata/run-iconv-test.sh: Likewise.
38475 * intl/tst-gettext.sh: Likewise.
38476 * intl/tst-gettext2.sh: Likewise.
38477 * intl/tst-gettext4.sh: Likewise.
38478 * intl/tst-gettext6.sh: Likewise.
38479 * intl/tst-translit.sh: Likewise.
38480 * io/ftwtest-sh: Likewise.
38481 * libio/test-freopen.sh: Likewise.
38482 * malloc/tst-mtrace.sh: Likewise.
38483 * posix/globtest.sh: Likewise.
38484 * posix/tst-getconf.sh: Likewise.
38485 * posix/wordexp-tst.sh: Likewise.
38486 * stdio-common/tst-printf.sh: Likewise.
38487 * stdio-common/tst-unbputc.sh: Likewise.
38488 * stdlib/tst-fmtmsg.sh: Likewise.
38489 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38490 * catgets/Makefile: Do not specify -e option when running
38491 testsuite shell scripts.
38492 * elf/Makefile: Likewise.
38493 * grp/Makefile: Likewise.
38494 * iconvdata/Makefile: Likewise.
38495 * intl/Makefile: Likewise.
38496 * io/Makefile: Likewise.
38497 * libio/Makefile: Likewise.
38498 * malloc/Makefile: Likewise.
38499 * posix/Makefile: Likewise.
38500 * stdio-common/Makefile: Likewise.
38501 * stdlib/Makefile: Likewise.
38502 * sysdeps/x86_64/Makefile: Likewise.
38503
38504 * io/ftwtest-sh: Add copyright header.
38505 * posix/globtest.sh: Likewise.
38506 * posix/tst-getconf.sh: Likewise.
38507 * posix/wordexp-tst.sh: Likewise.
38508 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38509
38510 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38511
38512 [BZ #13679]
38513 * Makeconfig (+link): Defined as $(+link-static) if
38514 $(build-shared) isn't yes.
38515 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38516 isn't yes.
38517 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38518
38519 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38520
38521 [BZ #14562]
38522 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38523 new chunk size with MALLOC_ALIGN_MASK.
38524
38525 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38526
38527 [BZ #5044]
38528 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38529 <rounding-mode.h>.
38530 (__printf_fphex): Determine rounding using get_rounding_mode and
38531 round_away.
38532 * stdio-common/tst-printf-round.c (struct hex_test): New
38533 structure.
38534 (hex_tests): New variable.
38535 (test_hex_in_one_mode): New function.
38536 (do_test): Also run tests for hex float output.
38537
38538 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38539
38540 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38541 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38542 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38543 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38544 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38545 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38546 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38547 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38548
38549 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38550
38551 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38552 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38553 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38554 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38555
38556 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38557
38558 [BZ #14579]
38559 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38560 mode only.
38561 * elf/tst-rtld-load-self.sh: New test.
38562 * elf/Makefile: Run it.
38563
38564 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38565
38566 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38567 (tst-writev-ENV): Remove.
38568 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38569
38570 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38571
38572 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38573
38574 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38575
38576 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38577 unconditional.
38578 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38579 Likewise.
38580 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38581 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38582 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38583 Likewise.
38584
38585 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38586
38587 [BZ #14587]
38588 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38589 * config.make.in (have-cpp-asm-debuginfo): Removed.
38590 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38591 * configure: Regenerated.
38592
38593 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38594
38595 [BZ #5044]
38596 * stdio-common/printf_fp.c: Include <stdbool.h> and
38597 <rounding-mode.h>.
38598 (___printf_fp): Determine rounding using get_rounding_mode and
38599 round_away.
38600 * stdio-common/tst-printf-round.c: New file.
38601 * stdio-common/Makefile (tests): Add tst-printf-round.
38602 (link-libm): New variable.
38603 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38604
38605 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38606
38607 [BZ #14576]
38608 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38609 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38610 Likewise.
38611 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38612 Likewise.
38613
38614 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38615
38616 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38617 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38618 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38619 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38620
38621 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38622
38623 [BZ #14518]
38624 * include/rounding-mode.h: New file.
38625 * sysdeps/generic/get-rounding-mode.h: Likewise.
38626 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38627 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38628 (MAX_VALUE): New macro.
38629 (MIN_VALUE): Likewise.
38630 (overflow_value): New function.
38631 (underflow_value): Likewise.
38632 (round_and_return): Use overflow_value and underflow_value to
38633 determine return values in overflow and underflow cases. Use
38634 round_away to determine rounding depending on rounding mode.
38635 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38636 determine return values in overflow and underflow cases.
38637 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38638 (struct test_results): New structure.
38639 (struct test): Use struct test_results to store expected results
38640 for all rounding modes.
38641 (TEST): Include expected results for all rounding modes.
38642 (test_in_one_mode): New function.
38643 (do_test): Use test_in_one_mode to compute and check results.
38644 Check results for all rounding modes.
38645 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38646 $(link-libm).
38647
38648 2012-12-09 Allan McRae <allan@archlinux.org>
38649
38650 * sysdeps/i386/fpu/libm-test-ulps: Update
38651
38652 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38653
38654 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38655 (_G_int32_t): Likewise.
38656 (_G_uint16_t): Likewise.
38657 (_G_uint32_t): Likewise.
38658 (_G_HAVE_BOOL): Likewise.
38659 (_G_HAVE_ATEXIT): Likewise.
38660 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38661 (_G_HAVE_IO_FILE_OPEN): Likewise.
38662 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38663 (_G_int32_t): Likewise.
38664 (_G_uint16_t): Likewise.
38665 (_G_uint32_t): Likewise.
38666 (_G_HAVE_BOOL): Likewise.
38667 (_G_HAVE_ATEXIT): Likewise.
38668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38669 (_G_HAVE_IO_FILE_OPEN): Likewise.
38670 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38671 (_G_int32_t): Likewise.
38672 (_G_uint16_t): Likewise.
38673 (_G_uint32_t): Likewise.
38674 (_G_HAVE_BOOL): Likewise.
38675 (_G_HAVE_ATEXIT): Likewise.
38676 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38677 (_G_HAVE_IO_FILE_OPEN): Likewise.
38678
38679 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38680
38681 * csu/libc-tls.c: Update copyright years.
38682
38683 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38684
38685 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38686 [!_G_USING_THUNKS]: Remove conditional code.
38687 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38688 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38689
38690 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38691 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38692 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38693 (_G_VTABLE_LABEL_PREFIX): Likewise.
38694 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38695 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38696 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38697 (_G_VTABLE_LABEL_PREFIX): Likewise.
38698 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38699 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38700 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38701 (_G_VTABLE_LABEL_PREFIX): Likewise.
38702 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38703
38704 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38705
38706 * libio/Makefile: Include ../Makeconfig before tests.
38707 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38708 only if $(build-shared) is yes.
38709
38710 * iconv/gconv_db.c: Update copyright years.
38711
38712 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38713
38714 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38715 unwind info if defined PIC. Fix special cases description.
38716 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38717
38718 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38719 DP_HI_MASK entry.
38720 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38721
38722 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38723
38724 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38725
38726 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38727 is NULL.
38728
38729 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38730 (LDLIBS-tst-chk4): This.
38731 (LDFLAGS-tst-chk5): Renamed to ...
38732 (LDLIBS-tst-chk5): This.
38733 (LDFLAGS-tst-chk6): Renamed to ...
38734 (LDLIBS-tst-chk6): This.
38735 (LDFLAGS-tst-lfschk4): Renamed to ...
38736 (LDLIBS-tst-lfschk4): This.
38737 (LDFLAGS-tst-lfschk5): Renamed to ...
38738 (LDLIBS-tst-lfschk5): This.
38739 (LDFLAGS-tst-lfschk6): Renamed to ...
38740 (LDLIBS-tst-lfschk6): This.
38741
38742 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38743 on $(common-objpfx)soversions.mk.
38744
38745 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38746
38747 [BZ #10014]
38748 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38749 example host name.
38750
38751 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38752
38753 * malloc/arena.c (arena_get_retry): New function that gets
38754 another arena for the caller to try its request on.
38755 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38756 current arena cannot fulfill the request.
38757 (__libc_memalign): Likewise.
38758 (__libc_memalign): Likewise.
38759 (__libc_pvalloc): Likewise.
38760 (__libc_calloc): Likewise.
38761
38762 2012-09-05 John Tobey <john.tobey@gmail.com>
38763
38764 [BZ #13542]
38765 * manual/arith.texi (Operations on Complex): Fix description
38766 of carg branch cut.
38767
38768 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38769
38770 [BZ #10014]
38771 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38772 host name.
38773
38774 [BZ #10038]
38775 * manual/memory.texi (Memory): Make order of menu items match
38776 order of sections.
38777
38778 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38779
38780 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38781 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38782 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38783
38784 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38785
38786 * csu/libc-tls.c (static_dtv): Renamed to ...
38787 (_dl_static_dtv): This. Make it global.
38788 (_dl_initial_dtv): Removed.
38789 (__libc_setup_tls): Updated.
38790 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38791 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38792 DL_INITIAL_DTV.
38793
38794 2012-09-06 Petr Machata <pmachata@redhat.com>
38795
38796 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38797 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38798 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38799 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38800
38801 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38802
38803 [BZ #14545]
38804 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38805 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38806 freeing dtv[-1].
38807
38808 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38809
38810 [BZ #14544]
38811 * Makeconfig (link-static-before-libc): Replace $(+prector)
38812 with $(+prectorT).
38813 (link-static-after-libc): Replace $(+postctor) with
38814 $(+postctorT).
38815 (link-bounded): Replace $(+prector)/$(+postctor) with
38816 $(+prectorT)/$(+postctorT).
38817 (+prectorT): New macro.
38818 (+postctorT): Likewise.
38819
38820 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38821
38822 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38823 (round_str): Handle values above the maximum for IBM long double
38824 as inexact.
38825 * stdlib/tst-strtod-round.c (tests): Regenerated.
38826
38827 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38828
38829 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38830 assembler flag.
38831 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38832 zarch_nohighgprs around the zarch optimized routines.
38833 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38834 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38835 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38836 for zarch.
38837
38838 2012-09-05 David S. Miller <davem@davemloft.net>
38839
38840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38841
38842 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38843 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38844 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38845 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38846 entries.
38847
38848 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38849
38850 * malloc/arena.c: Fold copyright years.
38851 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38852
38853 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38854
38855 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38856
38857 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38858
38859 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38860
38861 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38862
38863 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38864 change internal state upon failure.
38865
38866 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38867
38868 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38869 * malloc/memusage.c (mmap): Likewise.
38870 (mmap64, mremap): Likewise. Adjust name in comment.
38871
38872 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38873
38874 * libio/fileops.c: Fix typos in comments.
38875 * libio/oldfileops.c: Likewise.
38876 * libio/wfileops.c: Likewise.
38877
38878 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38879
38880 [BZ #1349]
38881 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38882 (tst-malloc-usable-ENV): Set environment for test case.
38883 * malloc/hooks.c (malloc_check_get_size): New function to get
38884 requested size.
38885 * malloc/malloc.c (musable): Use malloc_check_get_size.
38886 * malloc/tst-malloc-usable.c: New test case.
38887
38888 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38889
38890 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38891
38892 2012-09-05 Allan McRae <allan@archlinux.org>
38893
38894 [BZ #13966]
38895 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38896 determine header location.
38897 * configure: Regenerated.
38898
38899 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38900
38901 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38902 float format.
38903 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38904 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38905 format.
38906 (test): Regenerate.
38907
38908 2012-09-04 David S. Miller <davem@davemloft.net>
38909
38910 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38911 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38912 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38913
38914 2012-09-04 Florian Weimer <fweimer@redhat.com>
38915
38916 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38917 failures.
38918
38919 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38920
38921 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38922
38923 [BZ #9914]
38924 * libio/iogetdelim.c: Include <limits.h>.
38925 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38926 + len + 1 would overflow.
38927
38928 2012-09-03 Andreas Jaeger <aj@suse.de>
38929
38930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38931 * sysdeps/i386/fpu/libm-test-ulps: Update.
38932
38933 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38934
38935 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38936 Add s_sinf-sse2, s_conf-sse2.
38937
38938 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38939 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38940 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38941 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38942
38943 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38944 for using routine as __sinf_ia32.
38945 Use macro for function declaration and weak_alias.
38946 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38947 for using routine as __cosf_ia32.
38948 Use macro for function declaration and weak_alias.
38949
38950 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38951 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38952
38953 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38954 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38956
38957 * math/libm-test.inc (cos_test): Add more test cases.
38958 (sin_test): Likewise.
38959 (sincos_test): Likewise.
38960
38961 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38962
38963 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38964 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38965 hidden.
38966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38967
38968 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38969
38970 [BZ #14538]
38971 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38972 first element of the GOT.
38973 (elf_machine_load_address): Return the difference between
38974 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38975
38976 2012-09-01 Allan McRae <allan@archlinux.org>
38977
38978 [BZ #13412]
38979 * configure.in (AWK): Require gawk version 3.0 or later.
38980 * configure: Regenerated.
38981
38982 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38983
38984 * sysdeps/unix/sysv/linux/kernel-features.h
38985 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38986 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38987 [__NR_clock_getres]: Make code unconditional.
38988 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38989 (clock_getcpuclockid): Remove code left unreachable by removal of
38990 conditionals.
38991 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38992 code unconditional.
38993 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38994 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38995 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38996 Make code unconditional.
38997 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38998 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38999 * sysdeps/unix/sysv/linux/clock_settime.c
39000 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39001 conditional code.
39002 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39003 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39004
39005 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39006
39007 [BZ #14476]
39008 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39009 scripts/test-installation.pl.
39010
39011 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39012 and $ld_so_version if it is set.
39013
39014 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39015
39016 [BZ #14516]
39017 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39018 failure if reading from procfs failed.
39019 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39020
39021 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39022
39023 * sysdeps/unix/sysv/linux/kernel-features.h
39024 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39025 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39026 Remove conditional code.
39027 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39028 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39029 Remove conditional code.
39030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39031 * sysdeps/unix/sysv/linux/i386/fxstat.c
39032 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39034 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39035 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39036 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39037 * sysdeps/unix/sysv/linux/i386/lxstat.c
39038 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39039 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39040 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39041 Remove conditional code.
39042 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39043 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39044 Remove conditional code.
39045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39046 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39047 <kernel-features.h>.
39048 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39049 Remove.
39050 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39051 Remove conditional code.
39052 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39053 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39054 Remove conditional.
39055
39056 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39057
39058 [BZ #5400]
39059 * NEWS: Add fixed bug number.
39060
39061 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39062
39063 [BZ #14519]
39064 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39065 underflowing exponent in case of negative sign.
39066 * stdlib/tst-strtod-round-data: Add more tests.
39067 * stdlib/tst-strtod-round.c (tests): Regenerated.
39068
39069 [BZ #3479]
39070 * stdlib/strtod_l.c (NDIG): Remove.
39071 (HEXNDIG): Likewise.
39072 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39073 smallest representable value.
39074 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39075 lie within an exact representation of 1/2 ulp of the result.
39076 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39077 unconditionally.
39078 (TENS_P9_IDX): Define unconditionally.
39079 (TENS_P9_SIZE): Likewise.
39080 (TENS_P10_IDX): Likewise.
39081 (TENS_P10_SIZE): Likewise.
39082 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39083 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39084 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39085 entries for 10^2^13 and 10^2^14.
39086 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39087 (TENS_P13_IDX): Define.
39088 (TENS_P13_SIZE): Likewise.
39089 (TENS_P14_IDX): Likewise.
39090 (TENS_P14_SIZE): Likewise.
39091 (_fpioconst_pow10): Change array size to
39092 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39093 unconditional.
39094 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39095 1024]: Add entries for 10^2^13 and 10^2^14.
39096 [LAST_POW10 > _LAST_POW10]: Remove #error.
39097 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39098 (_fpioconst_pow10): Change array size to
39099 FPIOCONST_POW10_ARRAY_SIZE.
39100 * stdlib/gen-fpioconst.c: New file.
39101 * stdlib/gen-tst-strtod-round.c: Likewise.
39102 * stdlib/tst-strtod-round-data: Likewise.
39103 * stdlib/tst-strtod-round.c: Likewise.
39104 * stdlib/Makefile (tests): Add tst-strtod-round.
39105
39106 [BZ #14459]
39107 * stdlib/strtod_l.c: Include <stdint.h>.
39108 (NDEBUG): Do not define.
39109 (round_and_return): Change EXPONENT parameter to type intmax_t.
39110 Rearrange calculations to avoid internal overflow possibilities.
39111 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39112 Rearrange calculations to avoid internal overflow possibilities.
39113 Assert that number fits inside MPNSIZE limbs.
39114 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39115 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39116 calculations and add assertions to avoid internal overflow
39117 possibilities. Add casts to avoid signed/unsigned operations.
39118 * stdlib/tst-strtod-overflow.c: New file.
39119 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39120
39121 2012-08-25 Marek Polacek <polacek@redhat.com>
39122
39123 * time/time.h: Fix some typos in comments.
39124
39125 2012-08-23 Roland McGrath <roland@hack.frob.com>
39126
39127 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39128 * posix/tst-rfc3484-2.c: Likewise.
39129 * posix/tst-rfc3484-3.c: Likewise.
39130
39131 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39132
39133 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39134 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39135
39136 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39137
39138 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39139 #include of fxstatat64.c.
39140
39141 2012-08-22 Roland McGrath <roland@hack.frob.com>
39142
39143 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39144 * shadow/getspent_r.c: Likewise.
39145 * shadow/getspnam.c: Likewise.
39146 * shadow/getspnam_r.c: Likewise.
39147 * gshadow/getsgent.c: Likewise.
39148 * gshadow/getsgent_r.c: Likewise.
39149 * gshadow/getsgnam.c: Likewise.
39150 * gshadow/getsgnam_r.c: Likewise.
39151 * inet/getnetbyad.c: Likewise.
39152 * inet/getnetbyad_r.c: Likewise.
39153 * inet/getnetbynm.c: Likewise.
39154 * inet/getnetbynm_r.c: Likewise.
39155 * inet/getnetent.c: Likewise.
39156 * inet/getnetent_r.c: Likewise.
39157 * inet/getproto.c: Likewise.
39158 * inet/getproto_r.c: Likewise.
39159 * inet/getprtent.c: Likewise.
39160 * inet/getprtent_r.c: Likewise.
39161 * inet/getprtname.c: Likewise.
39162 * inet/getprtname_r.c: Likewise.
39163 * inet/getrpcbyname.c: Likewise.
39164 * inet/getrpcbyname_r.c: Likewise.
39165 * inet/getrpcbynumber.c: Likewise.
39166 * inet/getrpcbynumber_r.c: Likewise.
39167 * inet/getrpcent.c: Likewise.
39168 * inet/getrpcent_r.c: Likewise.
39169 * inet/getaliasent.c: Likewise.
39170 * inet/getaliasent_r.c: Likewise.
39171 * inet/getaliasname.c: Likewise.
39172 * inet/getaliasname_r.c: Likewise.
39173 * nscd/getgrgid_r.c: Likewise.
39174 * nscd/getgrnam_r.c: Likewise.
39175 * nscd/gethstbyad_r.c: Likewise.
39176 * nscd/gethstbynm3_r.c: Likewise.
39177 * nscd/getpwnam_r.c: Likewise.
39178 * nscd/getpwuid_r.c: Likewise.
39179 * nscd/getsrvbynm_r.c: Likewise.
39180 * nscd/getsrvbypt_r.c: Likewise.
39181 * nscd/gai.c: Likewise.
39182
39183 * configure.in (build_nscd): New substituted variable, set
39184 by --disable-build-nscd and defaults to $use_nscd.
39185 * configure: Regenerated.
39186 * config.make.in (build-nscd): New substituted variable.
39187 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39188 Change conditional to require [$(build-nscd) = yes] as well.
39189 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39190
39191 [BZ# 13696]
39192 * configure.in (use_nscd): New substituted variable, set by
39193 --disable-nscd. If enabled, define USE_NSCD.
39194 * configure: Regenerated.
39195 * config.h.in: Add USE_NSCD.
39196 * config.make.in (use-nscd): New substituted variable.
39197 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39198 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39199 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39200 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39201 (CFLAGS-getgrnam_r.c): Likewise.
39202 (CFLAGS-initgroups.c): Likewise.
39203 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39204 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39205 Variables removed.
39206 * inet/getnetgrent_r.c
39207 (nscd_setnetgrent): New function, broken out of ...
39208 (setnetgrent): ... here. Call it.
39209 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39210 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39211 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39212 * nscd/Makefile (routines, aux): Move definitions after include of
39213 Makeconfig. Conditionalize on [$(use-nscd) != no].
39214 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39215 Conditionalize on [USE_NSCD].
39216 (is_nscd, nscd_init_cb): Likewise.
39217 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39218 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39219 * nss/nss_db/db-init.c: Likewise.
39220 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39221 [USE_NSCD].
39222 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39223 (make_request): Use it.
39224 (cache_valid_p): New function.
39225 (__check_pf): Use it.
39226 * NEWS: Add item for --disable-nscd.
39227
39228 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39229
39230 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39231 to support sed >= 4.2.1-20-ga9bf076.
39232 * configure: Regenerated.
39233
39234 2012-08-22 Roland McGrath <roland@hack.frob.com>
39235
39236 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39237 Conditionalize whole body on [IREL].
39238
39239 2012-08-22 Jeff Law <law@redhat.com>
39240
39241 [BZ #14505]
39242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39243 if the family is PF_UNSPEC.
39244
39245 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39246
39247 * Makerules (lib-version): Rename from V.
39248 (install-lib-nosubdir): Change V to lib-version.
39249
39250 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39251
39252 [BZ #14252]
39253 * powerpc32/power6/wcschr.c: New file.
39254 * powerpc32/power6/wcscpy.c: New file.
39255 * powerpc32/power6/wcsrchr.c: New file.
39256 * powerpc64/power6/wcschr.c: New file.
39257 * powerpc64/power6/wcscpy.c: New file.
39258 * powerpc64/power6/wcsrchr.c: New file.
39259
39260 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39261
39262 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39263 (two_way_short_needle): Use it.
39264 * string/strstr.c (AVAILABLE1_USES_J): Define.
39265 * string/strcasestr.c: Likewise.
39266
39267 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39268 array references.
39269 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39270
39271 [BZ #11607]
39272 * NEWS: Add an entry.
39273 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39274 define their defaults.
39275 (two_way_short_needle): Detect end-of-string on-the-fly.
39276 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39277 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39278 * string/bug-strcasestr1.c: New test.
39279 * string/Makefile: Run it.
39280
39281 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39282
39283 [BZ #11607]
39284 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39285 the first character.
39286
39287 2012-08-21 Roland McGrath <roland@hack.frob.com>
39288
39289 * csu/elf-init.c (__libc_csu_irel): Function removed.
39290 * csu/libc-start.c (apply_irel): New function.
39291 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39292
39293 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39294
39295 * sysdeps/unix/sysv/linux/kernel-features.h
39296 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39297 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39298 <kernel-features.h>.
39299 [__NR_fadvise64_64]: Make code unconditional.
39300 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39301 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39302 !__NR_fadvise64_64)]: Likewise.
39303 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39304 !__NR_fadvise64_64))]: Likewise.
39305 [__NR_fadvise64]: Make code unconditional.
39306 [!__NR_fadvise64]: Remove conditional code.
39307 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39308 <kernel-features.h>.
39309 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39310 unconditional.
39311 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39312 conditional code.
39313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39314 not include <kernel-features.h>.
39315 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39316 unconditional.
39317 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39318 conditional code.
39319 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39320 include <kernel-features.h>.
39321 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39322 unconditional.
39323 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39324 conditional code.
39325
39326 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39327
39328 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39329 slight instruction rearrangements per scrollpipe analysis.
39330 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39331
39332 2012-08-20 Roland McGrath <roland@hack.frob.com>
39333
39334 * manual/syslog.texi (syslog; vsyslog, closelog):
39335 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39336 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39337
39338 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39339 DSOCAPS to match condition on defining it.
39340
39341 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39342
39343 * sysdeps/unix/sysv/linux/kernel-features.h
39344 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39346 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39347 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39349 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39350 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39352 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39353 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39354
39355 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39356 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39357
39358 * sysdeps/unix/sysv/linux/kernel-features.h
39359 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39360 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39361 unconditional.
39362 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39363 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39364 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39365 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39366 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39367 Make code unconditional.
39368 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39369 (__mmap64) [!__NR_mmap2]: Likewise.
39370 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39371 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39372 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39373 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39374 [__NR_mmap2]: Make code unconditional.
39375 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39376 (__mmap64) [!__NR_mmap2]: Likewise.
39377
39378 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39379
39380 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39381
39382 2012-08-18 Andreas Jaeger <aj@suse.de>
39383
39384 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39385
39386 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39387
39388 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39389 * include/unistd.h (__have_sock_cloexec): Likewise.
39390 (__have_pipe2): Likewise.
39391 (__have_dup3): Likewise.
39392
39393 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39394
39395 [BZ #9685]
39396 * include/unistd.h (__have_pipe2): Change define into an extern int.
39397 (__have_dup3): Likewise.
39398 * socket/have_sock_cloexec.c: Include fcntl.h.
39399 (__have_pipe2): New variable.
39400 (__have_dup3): Likewise.
39401
39402 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39403
39404 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39405
39406 2012-08-17 Marek Polacek <polacek@redhat.com>
39407
39408 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39409 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39410
39411 2012-08-17 Roland McGrath <roland@hack.frob.com>
39412
39413 * configure.in: Add AC_SUBST for sysheaders.
39414 * configure: Regenerated.
39415 * config.make.in (sysheaders): New substituted variable.
39416
39417 * sysdeps/unix/mkfifo.c: Moved ...
39418 * sysdeps/posix/mkfifo.c: ... here.
39419 * sysdeps/unix/mkfifoat.c: Moved ...
39420 * sysdeps/posix/mkfifoat.c: ... here.
39421
39422 * sysdeps/unix/utime.c: Moved ...
39423 * sysdeps/posix/utime.c: ... here.
39424
39425 * sysdeps/unix/time.c: Moved ...
39426 * sysdeps/posix/time.c: ... here.
39427 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39428 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39429
39430 * sysdeps/unix/nice.c: Moved ...
39431 * sysdeps/posix/nice.c: ... here.
39432
39433 * sysdeps/unix/alarm.c: Moved ...
39434 * sysdeps/posix/alarm.c: ... here.
39435
39436 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39437
39438 2012-08-17 Jeff Law <law@redhat.com>
39439
39440 * intl/Makefile (codeset_mo): New variable.
39441 ($(codeset_mo)): New target.
39442 (tst-codeset.out): Depend on that. Remove explicit rule.
39443 (tst-gettext3.out, tst-gettext5.out): Likewise.
39444 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39445 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39446 * intl/tst-codeset.sh: Remove.
39447 * intl/tst-gettext3.sh: Likewise.
39448 * intl/tst-gettext5.sh: Likewise.
39449
39450 2012-08-17 Roland McGrath <roland@hack.frob.com>
39451
39452 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39453 * sysdeps/unix/syscalls.list: ... here.
39454
39455 * sysdeps/posix/getaddrinfo.c
39456 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39457 (gaiconf_init, gaiconf_reload): Use them.
39458 [!_STATBUF_ST_NSEC]
39459 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39460 Define using time_t rather than struct timespec.
39461
39462 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39463 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39464 Macros removed.
39465 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39466 [!NO_THREADS].
39467 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39468 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39469 Likewise.
39470
39471 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39472 __libc_cleanup_push argument.
39473
39474 * bits/param.h: New file.
39475 * misc/sys/param.h: New file.
39476 * include/sys/param.h: New file.
39477 * misc/Makefile (headers): Add bits/param.h.
39478 * sysdeps/generic/sys/param.h: File removed.
39479 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39480 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39481 * sysdeps/mach/hurd/bits/param.h: New file.
39482 * sysdeps/mach/hurd/sys/param.h: File removed.
39483
39484 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39485 last change.
39486
39487 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39488 [_IO_MTSAFE_IO].
39489 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39490 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39491 New macros.
39492
39493 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39494 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39495 rather than -D_IO_MTSAFE_IO conditionally.
39496 * stdio-common/Makefile (CPPFLAGS): Likewise.
39497 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39498 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39499 Use $(libio-mtsafe).
39500 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39501 of -D_IO_MTSAFE_IO.
39502 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39503 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39504 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39505 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39506 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39507 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39508 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39509 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39510 (CFLAGS-fread_u_chk.c): Likewise.
39511 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39512 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39513 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39514 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39515 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39516 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39517 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39518 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39519 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39520
39521 * libio/Makefile: Test [$(libc-reentrant) = yes]
39522 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39523
39524 * Makeconfig
39525 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39526 * sysdeps/pthread/configure: File removed.
39527 * sysdeps/pthread/Makeconfig: New file.
39528 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39529 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39530
39531 2012-08-16 Gary Benson <gbenson@redhat.com>
39532
39533 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39534 unmapping the first object in a namespace.
39535
39536 2012-08-16 Roland McGrath <roland@hack.frob.com>
39537
39538 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39539 (__internal_setnetgrent): ... this. Add internal_function to
39540 definition. Add libc_hidden_def.
39541 (setnetgrent): Update caller.
39542 (internal_endnetgrent): Renamed to ...
39543 (__internal_endnetgrent): ... this. Add internal_function to
39544 definition. Add libc_hidden_def.
39545 (endnetgrent): Update caller.
39546 (internal_getnetgrent_r): Renamed to ...
39547 (__internal_getnetgrent_r): ... this. Add internal_function to
39548 definition. Add libc_hidden_def.
39549 (__getnetgrent_r): Update caller.
39550 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39551
39552 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39553
39554 * stdlib/longlong.h: Update from GCC.
39555
39556 2012-08-16 Roland McGrath <roland@hack.frob.com>
39557
39558 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39559 on _QL, which is set by umul_ppmm but never used.
39560 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39561 variables, which are set by GMP macros but never used.
39562 * stdio-common/_itowa.c (_itowa): Likewise.
39563 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39564 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39565
39566 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39567
39568 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39569 struct La_sh_regs is not constant.
39570 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39571 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39572 and struct La_sparc64_regs are not constant.
39573
39574 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39575
39576 * sysdeps/unix/sysv/linux/kernel-features.h
39577 (__ASSUME_POSIX_TIMERS): Remove.
39578 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39579 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39580 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39581 Make code unconditional.
39582 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39583 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39584 Make code unconditional.
39585 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39586 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39587 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39588 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39589 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39590 Make code unconditional.
39591 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39592 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39593 (__libc_missing_posix_timers): Remove.
39594
39595 2012-08-15 Roland McGrath <roland@hack.frob.com>
39596
39597 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39598 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39599
39600 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39601
39602 * elf/dl-sym.c: Include <stdlib.h>.
39603
39604 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39605 constants, which avoids warnings in 32-bit builds.
39606
39607 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39608 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39609
39610 * misc/lseek.c: File moved to ...
39611 * io/lseek.c: ... here.
39612
39613 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39614
39615 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39616 shifting LEN more than 31 bits at once.
39617
39618 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39619
39620 [BZ #14195]
39621 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39622 segmentation fault for a case of two empty input strings.
39623 * string/test-strncasecmp.c (check1): Renamed to...
39624 (bz12205): ...this.
39625 (bz14195): Add new testcase for two empty input strings and N > 0.
39626 (test_main): Call new testcase, adapt for renamed function.
39627
39628 2012-08-15 Andreas Jaeger <aj@suse.de>
39629
39630 [BZ #14090]
39631 * crypt/md5test2.c: New test, based on test supplied by Serge
39632 Belyshev <belyshev@depni.sinp.msu.ru>.
39633 * crypt/Makefile (xtests): Add md5test-giant..
39634 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39635
39636 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39637
39638 [BZ #14090]
39639 * crypt/md5.c (md5_process_block): Don't assume the buffer
39640 length is less than 2**32.
39641 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39642 length is less than 2**64.
39643
39644 2012-08-15 Roland McGrath <roland@hack.frob.com>
39645
39646 * string/str-two-way.h: Include <sys/param.h>.
39647 (MAX): Macro removed.
39648
39649 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39650 Move #define and #undef of memmove to just before and after
39651 including <string.h>.
39652
39653 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39654 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39655 and after including <string.h>. Move declarations of
39656 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39657 to before #include "string/memmove.c".
39658
39659 * include/dirent.h: Declare __getdirentries.
39660
39661 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39662 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39663
39664 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39665
39666 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39667 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39668 * sysdeps/i386/configure: Regenerated.
39669 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39670 STABS_CURRENT_FILE, and STABS_FUN.
39671 (END): Remove call to STABS_FUN_END.
39672 (STABS_CURRENT_FILE1): Delete.
39673 (STABS_CURRENT_FILE): Likewise.
39674 (STABS_FUN): Likewise.
39675 (STABS_FUN_END): Likewise.
39676 (STABS_FUN2): Likewise.
39677 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39678 * sysdeps/x86_64/configure: Regenerated.
39679
39680 2012-08-14 Roland McGrath <roland@hack.frob.com>
39681
39682 * elf/dl-open.c: Include <atomic.h>.
39683 * elf/dl-lookup.c: Likewise.
39684
39685 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39686
39687 * sysdeps/unix/sysv/linux/kernel-features.h
39688 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39689 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39690 unconditionally.
39691 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39692 unconditionally.
39693 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39694 condition on __ASSUME_CLONE_THREAD_FLAGS.
39695
39696 2012-08-14 Andreas Jaeger <aj@suse.de>
39697
39698 * sysdeps/i386/fpu/libm-test-ulps: Update.
39699
39700 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39701
39702 * include/atomic.h (atomic_exchange_and_add): Split into ...
39703 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39704 New atomic macros.
39705
39706 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39707
39708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39709
39710 2012-08-13 Jeff Law <law@redhat.com>
39711
39712 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39713 null byte in the output string.
39714
39715 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39716
39717 * sysdeps/unix/sysv/linux/kernel-features.h
39718 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39719 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39720 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39721 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39722 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39723 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39724 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39725
39726 2012-08-09 Jeff Law <law@redhat.com>
39727
39728 [BZ #13939]
39729 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39730 When avoid_arena is set, don't retry in the that arena. Pick the
39731 next one, whatever it might be.
39732 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39733 (arena_lock): Pass in new parameter to arena_get2.
39734 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39735 arena_get2.
39736 (__libc_malloc): Unify retrying after main arena failure with
39737 __libc_memalign version.
39738 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39739
39740 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39741
39742 [BZ #14166]
39743 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39744 to __redirect_strstr.
39745 (__strstr_sse42): Use typeof __redirect_strstr.
39746 (__strstr_ia32): Likewise.
39747 (__libc_strstr): New prototype.
39748 (strstr): Renamed to ...
39749 (__libc_strstr): This.
39750 (strstr): New strong alias of __libc_strstr.
39751 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39752 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39753 __redirect_time.
39754 Include <time.h>.
39755 (__libc_time): New prototype.
39756 (time_ifunc): Replace time with __libc_time.
39757 (time): New strong alias and hidden definition of __libc_time.
39758 (__GI_time): Remove strong alias.
39759 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39760 Include <stddef.h>.
39761 (memmove): Redefined to __redirect_memmove.
39762 (__memmove_sse2): Use typeof __redirect_memmove.
39763 (__memmove_ssse3): Likewise.
39764 (__memmove_ssse3_back): Likewise.
39765 (__libc_memmove): New prototype.
39766 (memmove): Renamed to ...
39767 (__libc_memmove): This.
39768 (memmove): New strong alias of __libc_memmove.
39769
39770 2012-08-08 Mark Salter <msalter@redhat.com>
39771
39772 * elf/elf.h
39773 (R_MN10300_TLS_GD): Define.
39774 (R_MN10300_TLS_LD): Likewise.
39775 (R_MN10300_TLS_LDO): Likewise.
39776 (R_MN10300_TLS_GOTIE): Likewise.
39777 (R_MN10300_TLS_IE): Likewise.
39778 (R_MN10300_TLS_LE): Likewise.
39779 (R_MN10300_TLS_DTPMOD): Likewise.
39780 (R_MN10300_TLS_DTPOFF): Likewise.
39781 (R_MN10300_TLS_TPOFF): Likewise.
39782 (R_MN10300_SYM_DIFF): Likewise.
39783 (R_MN10300_ALIGN): Likewise.
39784 (R_MN10300_NUM): Update.
39785
39786 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39787
39788 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39789 Remove.
39790
39791 2012-08-08 Roland McGrath <roland@hack.frob.com>
39792
39793 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39794
39795 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39796 sysdeps/unix -> sysdeps/posix move.
39797 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39798
39799 2012-08-07 Allan McRae <allan@archlinux.org>
39800
39801 [BZ #14303]
39802 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39803 (SUNOS_CPP): Likewise.
39804 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39805 not found.
39806 (open_input): Call CPP using execvp.
39807
39808 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39809
39810 * sysdeps/unix/sysv/linux/kernel-features.h
39811 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39812 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39813 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39814 (__ASSUME_WAITID_SYSCALL): Likewise.
39815 * sysdeps/unix/sysv/linux/dl-execstack.c
39816 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39817 code unconditional.
39818 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39819 conditional code.
39820 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39821 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39822 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39823 code.
39824 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39825 unconditional.
39826 [__ASSUME_WAITID_SYSCALL]: Likewise.
39827 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39828
39829 2012-08-07 Roland McGrath <roland@hack.frob.com>
39830
39831 * sysdeps/unix/closedir.c: Renamed to ...
39832 * sysdeps/posix/closedir.c: ... here.
39833 * sysdeps/unix/dirfd.c: Renamed to ...
39834 * sysdeps/posix/dirfd.c: ... here.
39835 * sysdeps/unix/dirstream.h: Renamed to ...
39836 * sysdeps/posix/dirstream.h: ... here.
39837 * sysdeps/unix/fdopendir.c: Renamed to ...
39838 * sysdeps/posix/fdopendir.c: ... here.
39839 * sysdeps/unix/opendir.c: Renamed to ...
39840 * sysdeps/posix/opendir.c: ... here.
39841 * sysdeps/unix/readdir.c: Renamed to ...
39842 * sysdeps/posix/readdir.c: ... here.
39843 * sysdeps/unix/readdir_r.c: Renamed to ...
39844 * sysdeps/posix/readdir_r.c: ... here.
39845 * sysdeps/unix/rewinddir.c: Renamed to ...
39846 * sysdeps/posix/rewinddir.c: ... here.
39847 * sysdeps/unix/seekdir.c: Renamed to ...
39848 * sysdeps/posix/seekdir.c: ... here.
39849 * sysdeps/unix/telldir.c: Renamed to ...
39850 * sysdeps/posix/telldir.c: ... here.
39851 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39852 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39853 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39854 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39855
39856 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39857 * bits/fcntl.h: ... here.
39858
39859 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39860 not 0.
39861 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39862 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39863 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39864 (struct flock): Move l_start, l_len to the beginning.
39865 Use __pid_t for l_pid.
39866 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39867 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39868 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39869 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39870 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39871 [__USE_LARGEFILE64] (struct flock64): New type.
39872 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39873
39874 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39875 * bits/dirent.h: ... here.
39876
39877 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39878 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39879
39880 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39881
39882 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39883 Change from 2.6.0 to 2.6.16.
39884 * sysdeps/unix/sysv/linux/configure: Regenerated.
39885 * sysdeps/unix/sysv/linux/kernel-features.h
39886 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39887 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39888 version.
39889 (__ASSUME_UTIMES): Likewise.
39890 (__ASSUME_CLONE_STOPPED): Remove.
39891 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39892 architectures, not kernel version.
39893 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39894 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39895 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39896 (__ASSUME_WAITID_SYSCALL): Likewise.
39897 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39898 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39899 * README: State 2.6.16 as minimum Linux kernel version. Do not
39900 refer to older versions.
39901
39902 2012-08-06 Roland McGrath <roland@hack.frob.com>
39903
39904 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39905 Define alphasort64 as an alias.
39906 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39907 Define versionsort64 as an alias.
39908 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39909 Define scandir64 as an alias.
39910 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39911 Define scandirat64 as an alias.
39912 * dirent/alphasort64.c (alphasort64):
39913 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39914 * dirent/versionsort64.c: Likewise.
39915 * dirent/scandir64.c: Likewise.
39916 * dirent/scandirat64.c: Likewise.
39917 * sysdeps/wordsize-64/alphasort.c: File removed.
39918 * sysdeps/wordsize-64/alphasort64.c: File removed.
39919 * sysdeps/wordsize-64/scandir.c: File removed.
39920 * sysdeps/wordsize-64/scandir64.c: File removed.
39921 * sysdeps/wordsize-64/scandirat.c: File removed.
39922 * sysdeps/wordsize-64/scandirat64.c: File removed.
39923 * sysdeps/wordsize-64/versionsort.c: File removed.
39924 * sysdeps/wordsize-64/versionsort64.c: File removed.
39925 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39927 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39928 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39929 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39930 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39931 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39933
39934 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39936 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39937 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39938 [defined __arch64__ || defined __sparcv9]
39939 (__INO_T_MATCHES_INO64_T): New macro.
39940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39941 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39942 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39943 * sysdeps/unix/sysv/linux/bits/dirent.h
39944 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39945 (_DIRENT_MATCHES_DIRENT64): New macro.
39946
39947 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39948 Define lockf64 as an alias.
39949 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39950 Define fseeko64 as an alias.
39951 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39952 Define ftello64 as an alias.
39953 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39954 Define _IO_fgetpos64 and fgetpos64 as aliases.
39955 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39956 Define _IO_fsetpos64 and fsetpos64 as aliases.
39957 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39958 Conditionalize body on this.
39959 * libio/fseeko64.c: Likewise.
39960 * libio/ftello64.c: Likewise.
39961 * libio/iofgetpos64.c: Likewise.
39962 * libio/iofsetpos64.c: Likewise.
39963 * sysdeps/wordsize-64/lockf.c: File removed.
39964 * sysdeps/wordsize-64/lockf64.c: File removed.
39965 * sysdeps/wordsize-64/fseeko.c: File removed.
39966 * sysdeps/wordsize-64/fseeko64.c: File removed.
39967 * sysdeps/wordsize-64/ftello.c: File removed.
39968 * sysdeps/wordsize-64/ftello64.c: File removed.
39969 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39970 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39971 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39972 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39973 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39975 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39976 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39977 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39978 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39979 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39980 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39981 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39982 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39983
39984 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39986 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39987 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39988 [defined __arch64__ || defined __sparcv9]
39989 (__OFF_T_MATCHES_OFF64_T): New macro.
39990 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39991 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39993 (__OFF_T_MATCHES_OFF64_T): New macro.
39994
39995 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39996
39997 * stdlib/secure-getenv.c (__secure_getenv): Replace
39998 GLIBC_2_16 with GLIBC_2_17.
39999
40000 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40001
40002 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40003 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40004
40005 2012-08-03 David S. Miller <davem@davemloft.net>
40006
40007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40008
40009 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40010
40011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40012 Remove.
40013 (__ASSUME_CORRECT_SI_PID): Likewise.
40014 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40015 (__ASSUME_TMPFS_NAME): Likewise.
40016 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40017 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40018 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40019 (HAVE_AUX_SECURE): Make definition unconditional.
40020 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40021 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40022
40023 2012-08-03 Roland McGrath <roland@hack.frob.com>
40024
40025 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40026 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40027 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40028 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40029 __eloop_threshold instead of SYMLOOP_MAX.
40030
40031 * sysdeps/generic/eloop-threshold.h: New file.
40032 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40033 of MAXSYMLINKS.
40034 * elf/chroot_canon.c (chroot_canon): Likewise.
40035
40036 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40037
40038 [BZ #13717]
40039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40040 Change to 2.6.0 everywhere.
40041 * sysdeps/unix/sysv/linux/configure: Regenerated.
40042 * sysdeps/unix/sysv/linux/kernel-features.h
40043 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40044 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40045 kernel versions.
40046 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40047 (__ASSUME_FUTEX_REQUEUE): Remove.
40048 (__ASSUME_STATFS64): Define unconditionally.
40049 (__ASSUME_AT_SECURE): Likewise.
40050 (__ASSUME_CORRECT_SI_PID): Likewise.
40051 (__ASSUME_TGKILL): Define without depending on kernel version for
40052 i386.
40053 (__ASSUME_UTIMES): Likewise.
40054 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40055 kernel version.
40056 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40057 (__ASSUME_TMPFS_NAME): Likewise.
40058 * README: Update reference to Linux kernel versions.
40059
40060 2012-08-02 Marek Polacek <polacek@redhat.com>
40061
40062 [BZ# 14150]
40063 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40064 libc_cv_asm_type_prefix with %.
40065 * configure: Regenerated.
40066 * include/libc-symbols.h: Remove comment about
40067 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40068 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40069 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40070 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40071 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40072 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40073 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40074 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40075 * elf/tst-unique2mod1.c: Likewise.
40076 * elf/tst-unique1mod2.c: Likewise.
40077 * elf/tst-unique1mod1.c: Likewise.
40078 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40079 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40080 Replace ASM_TYPE_DIRECTIVE with .type.
40081 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40082 * sysdeps/i386/sysdep.h: Likewise.
40083 * sysdeps/x86_64/sysdep.h: Likewise.
40084 * sysdeps/sh/sysdep.h: Likewise.
40085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40086 Do not define ASM_TYPE_DIRECTIVE.
40087 * sysdeps/powerpc/sysdep.h: Likewise.
40088 * sysdeps/powerpc/powerpc32/sysdep.h:
40089 Replace ASM_TYPE_DIRECTIVE with .type.
40090 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40091 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40092 * sysdeps/i386/fpu/e_powf.S: Likewise.
40093 * sysdeps/i386/fpu/e_expl.S: Likewise.
40094 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40095 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40096 * sysdeps/i386/fpu/e_pow.S: Likewise.
40097 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40098 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40099 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40100 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40101 * sysdeps/i386/fpu/e_log2.S: Likewise.
40102 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40103 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40104 * sysdeps/i386/fpu/e_powl.S: Likewise.
40105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40106 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40107 * sysdeps/i386/fpu/e_logl.S: Likewise.
40108 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40109 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40110 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40113 * sysdeps/i386/fpu/e_log.S: Likewise.
40114 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40115 * sysdeps/i386/fpu/e_logf.S: Likewise.
40116 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40117 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40118 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40119 * sysdeps/i386/fpu/e_log10.S: Likewise.
40120 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40122 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40123 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40124 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40125 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40126 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40127 * sysdeps/i386/i686/strtok.S: Likewise.
40128 * sysdeps/i386/i386-mcount.S: Likewise.
40129 * sysdeps/i386/strtok.S: Likewise.
40130 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40132 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40133 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40134 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40135 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40136 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40137 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40138 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40139 * sysdeps/x86_64/_mcount.S: Likewise.
40140 * sysdeps/x86_64/strtok.S: Likewise.
40141 * sysdeps/sh/_mcount.S: Likewise.
40142
40143 2012-08-01 Roland McGrath <roland@hack.frob.com>
40144
40145 * libio/iofopen.c: Include <fcntl.h>.
40146 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40147 (_IO_fopen64, fopen64): Define as aliases.
40148 * libio/iofopen64.c: Include <fcntl.h>.
40149 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40150 Conditionalize body on this.
40151 * sysdeps/wordsize-64/iofopen.c: File removed.
40152 * sysdeps/wordsize-64/iofopen64.c: File removed.
40153
40154 2012-08-01 Marek Polacek <polacek@redhat.com>
40155
40156 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40157 Use dlfcn directly instead of a variable.
40158 (binfmt-subdir): Do not define.
40159 (dlfcn): Likewise.
40160
40161 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40162
40163 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40164 Remove all definitions.
40165 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40166 <kernel-features.h>.
40167 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40168 (miss_F_GETOWN_EX): Remove all definitions.
40169 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40170 macro definition.
40171 [!__ASSUME_FCNTL64]: Remove conditional code.
40172 [__ASSUME_FCNTL64]: Make code unconditional.
40173 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40174 <kernel-features.h>.
40175 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40176 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40177 (lockf64) [__NR_fcntl64]: Make code unconditional.
40178 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40179
40180 * sysdeps/unix/sysv/linux/kernel-features.h
40181 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40182 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40183 Make code unconditional.
40184 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40185 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40187 [__NR_vfork]: Make code unconditional.
40188 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40189 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40191 [__NR_vfork]: Make code unconditional.
40192 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40193 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40194
40195 2012-08-01 Roland McGrath <roland@hack.frob.com>
40196
40197 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40198 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40199
40200 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40201 Define mkstemp64 as an alias.
40202 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40203 Define mkstemps64 as an alias.
40204 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40205 Define mkostemp64 as an alias.
40206 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40207 Define mkostemps64 as an alias.
40208 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40209 Conditionalize body on this.
40210 * misc/mkostemp64.c: Likewise.
40211 * misc/mkostemps64.c: Likewise.
40212 * misc/mkstemps64.c: Likewise.
40213 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40214 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40215 * sysdeps/wordsize-64/mkostemp.c: File removed.
40216 * sysdeps/wordsize-64/mkstemp.c: File removed.
40217 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40219 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40221
40222 [BZ #14138]
40223 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40224 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40225 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40226 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40227
40228 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40229 compat_symbol macros from <shlib-compat.h> rather than the underlying
40230 default_symbol_version and symbol_version macros, so that DEFAULT
40231 lines in shlib-versions are respected.
40232 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40233
40234 2012-08-01 Florian Weimer <fweimer@redhat.com>
40235
40236 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40237 Declare with warn_unused_result.
40238 (setgid, setregid, setegid, setresgid): Likewise.
40239 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40240 Likewise.
40241 * WUR-REPORT: Remove set*id functions.
40242
40243 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40244
40245 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40246
40247 2012-07-31 Roland McGrath <roland@hack.frob.com>
40248
40249 [BZ #10191]
40250 * include/sys/socket.h (__libc_accept, __libc_accept4):
40251 Add attribute_hidden.
40252 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40253
40254 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40255 use of PTR_MANGLE.
40256 * inet/getnetgrent_r.c (setup): Likewise.
40257
40258 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40259
40260 2012-07-31 David S. Miller <davem@davemloft.net>
40261
40262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40263
40264 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40265
40266 [BZ #13629]
40267 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40268 value between 1.0 and 2.0 and smaller part has absolute value less
40269 than 1.0.
40270 * math/s_clog10.c (__clog10): Likewise.
40271 * math/s_clog10f.c (__clog10f): Likewise.
40272 * math/s_clog10l.c (__clog10l): Likewise.
40273 * math/s_clogf.c (__clogf): Likewise.
40274 * math/s_clogl.c (__clogl): Likewise.
40275 * math/libm-test.inc (clog_test): Add more tests.
40276 (clog10_test): Likewise.
40277 * sysdeps/i386/fpu/libm-test-ulps: Update.
40278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40279
40280 2012-07-31 Florian Weimer <fweimer@redhat.com>
40281
40282 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40283 Exit with zero in case no suitable GID is found, and write a
40284 message to standard error.
40285
40286 2012-07-30 Roland McGrath <roland@hack.frob.com>
40287
40288 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40289 rather than to 1.
40290 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40291 (MAXPATHLEN): Removed.
40292 (NOGROUP, NODEV): New macros.
40293 (setbit, clrbit, isset, isclr): New macros.
40294 (howmany, roundup, powerof2): New macros.
40295 (DEV_BSIZE): New macro.
40296
40297 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40298 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40299
40300 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40301 definition on [!__NO_LONG_DOUBLE_MATH].
40302
40303 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40304 PTR_MANGLE and PTR_DEMANGLE.
40305
40306 * socket/accept4.c (accept4): Rename to __libc_accept4.
40307 Define accept4 as a weak alias.
40308
40309 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40310 on [_DIRENT_HAVE_D_TYPE].
40311 * io/ftw.c (ftw_dir): Likewise.
40312
40313 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40314
40315 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40316
40317 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40318 Use the BSD numbers rather than the arbitrary ones we had.
40319 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40320 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40321 (SIGXCPU, SIGXFSZ): New macros.
40322 (_NSIG): Now 32.
40323
40324 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40325 initializer on [_LIBC_REENTRANT].
40326
40327 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40328 definitions inside [_POSIX_MAPPED_FILES].
40329
40330 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40331
40332 * dirent/opendir.c: Include <fcntl.h>.
40333
40334 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40335 (__libc_getspecific): Likewise.
40336 (__libc_key_create): Likewise.
40337
40338 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40339 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40340 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40341 (tmpfile64): Define as alias.
40342 * sysdeps/wordsize-64/tmpfile.c: File removed.
40343 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40344 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40345 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40346
40347 * stdio-common/vfscanf.c: Include <stdbool.h>.
40348 * nss/makedb.c: Likewise.
40349 * stdio-common/_i18n_number.h: Likewise.
40350 * argp/argp-help.c: Likewise.
40351 * posix/wordexp.c: Likewise.
40352 * sysdeps/posix/spawni.c: Likewise.
40353 * nss/nss_files/files-initgroups.c: Likewise.
40354 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40355 * nss/nss_files/files-initgroups.c: Likewise.
40356 * nss/nss_db/db-netgrp.c: Likewise.
40357 * nss/nss_db/db-initgroups.c: Likewise.
40358 * io/fchmodat.c: Include <sys/stat.h>.
40359
40360 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40361 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40362
40363 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40364 [HAVE_MMAP].
40365
40366 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40367 Add multiple inclusion protection.
40368
40369 2012-07-27 David S. Miller <davem@davemloft.net>
40370
40371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40372
40373 2012-07-27 Gary Benson <gbenson@redhat.com>
40374
40375 [BZ #14298]
40376 * elf/rtld.c: Include <stap-probe.h>.
40377 (dl_main): Added static probes "init_start" and "init_complete".
40378 * elf/dl-load.c: Include <stap-probe.h>.
40379 (lose): Take new parameter "nsid".
40380 Added static probe "map_failed".
40381 (_dl_map_object_from_fd): Pass namespace id to lose.
40382 Added static probe "map_start".
40383 (open_verify): Pass namespace id to lose.
40384 * elf/dl-open.c: Include <stap-probe.h>.
40385 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40386 and "reloc_complete".
40387 * elf/dl-close.c: Include <stap-probe.h>.
40388 (_dl_close_worker): Added static probes "unmap_start" and
40389 "unmap_complete".
40390 * elf/rtld-debugger-interface.txt: New file documenting the above.
40391
40392 2012-07-26 Roland McGrath <roland@hack.frob.com>
40393
40394 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40395 rather than a string variable.
40396 * sunrpc/rpc_main.c (h_output): Likewise.
40397 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40398
40399 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40400
40401 * inet/check_native.c: New file.
40402
40403 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40404
40405 [BZ #13629]
40406 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40407 if larger part has absolute value 1.0.
40408 * math/s_clog10.c (__clog10): Likewise.
40409 * math/s_clog10f.c (__clog10f): Likewise.
40410 * math/s_clog10l.c (__clog10l): Likewise.
40411 * math/s_clogf.c (__clogf): Likewise.
40412 * math/s_clogl.c (__clogl): Likewise.
40413 * math/libm-test.inc (clog_test): Add more tests.
40414 (clog10_test): Likewise.
40415 * sysdeps/i386/fpu/libm-test-ulps: Update.
40416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40417
40418 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40419 (pltexit): Likewise.
40420 (La_regs): Likewise.
40421 (La_retval): Likewise.
40422 (int_retval): Likewise.
40423 Update #error for removed macros to refer only to definitions in
40424 tst-audit.h.
40425 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40426 macro.
40427 (pltexit): Likewise.
40428 (La_regs): Likewise.
40429 (La_retval): Likewise.
40430 (int_retval): Likewise.
40431 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40432 macro.
40433 (pltexit): Likewise.
40434 (La_regs): Likewise.
40435 (La_retval): Likewise.
40436 (int_retval): Likewise.
40437 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40438 macro.
40439 (pltexit): Likewise.
40440 (La_regs): Likewise.
40441 (La_retval): Likewise.
40442 (int_retval): Likewise.
40443 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40444 macro.
40445 (pltexit): Likewise.
40446 (La_regs): Likewise.
40447 (La_retval): Likewise.
40448 (int_retval): Likewise.
40449 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40450 macro.
40451 (pltexit): Likewise.
40452 (La_regs): Likewise.
40453 (La_retval): Likewise.
40454 (int_retval): Likewise.
40455 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40456 macro.
40457 (pltexit): Likewise.
40458 (La_regs): Likewise.
40459 (La_retval): Likewise.
40460 (int_retval): Likewise.
40461 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40462 macro definitions in tst-audit.h.
40463 * sysdeps/i386/tst-audit.h: New file.
40464 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40465 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40466 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40467 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40468 * sysdeps/sh/tst-audit.h: Likewise.
40469 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40470 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40471 * sysdeps/x86_64/tst-audit.h: Likewise.
40472
40473 2012-07-26 Andreas Jaeger <aj@suse.de>
40474
40475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40476 ptrace.
40477
40478 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40479 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40480 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40481 PTRACE_O_MASK.
40482 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40483 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40484 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40485
40486 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40487 value.
40488
40489 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40490 _sigsys.
40491 (si_call_addr, si_syscall, si_arch): Define new macro.
40492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40493 _sigsys.
40494 (si_call_addr, si_syscall, si_arch): Define new marcro.
40495 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40496 _sigsys.
40497 (si_call_addr, si_syscall, si_arch): Define new macro.
40498 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40499 _sigsys.
40500 (si_call_addr, si_syscall, si_arch): Define new macro.
40501
40502 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40503
40504 [BZ #13717]
40505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40506 Change to 2.4.21 where previously 2.4.1.
40507 * sysdeps/unix/sysv/linux/configure: Regenerated.
40508 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40509 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40510 Linux kernel version.
40511 (__ASSUME_STD_AUXV): Remove.
40512 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40513 kernel version.
40514 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40515 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40516 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40517 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40518 (__ASSUME_NETLINK_SUPPORT): Likewise.
40519 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40520 (__no_netlink_support): Remove conditional definition.
40521 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40522 Remove.
40523 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40524 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40525 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40526 (if_nameindex_ioctl): Remove.
40527 (if_nameindex_netlink): Do not handle __no_netlink_support.
40528 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40529 code.
40530 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40531 Remove conditional code.
40532 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40533 code.
40534 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40535 unconditional.
40536 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40537 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40538 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40539 Remove.
40540 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40541 [!__ASSUME_STD_AUXV]: Remove conditional code.
40542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40543 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40544 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40546 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40547 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40548 code.
40549 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40551 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40552 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40553 conditional code.
40554 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40556 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40557 code.
40558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40559 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40560 conditional code.
40561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40562 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40563 code unconditional.
40564 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40565 conditional code.
40566 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40567 unconditional.
40568 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40569 conditional code.
40570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40571 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40572 unconditional.
40573 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40574 conditional code.
40575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40576 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40577 code unconditional.
40578 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40579 conditional code.
40580 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40581 unconditional.
40582 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40583 conditional code.
40584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40585 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40586 code unconditional.
40587 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40588 conditional code.
40589 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40590 unconditional.
40591 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40592 conditional code.
40593
40594 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40595
40596 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40597 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40598 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40599 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40600 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40601 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40602 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40603 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40604 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40605 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40606 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40607 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40608 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40609 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40610 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40611 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40612 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40614 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40616 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40617 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40619
40620 2012-07-25 Florian Weimer <fweimer@redhat.com>
40621
40622 * Versions.def: Add GLIBC_2.17.
40623 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40624 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40625 Introduce __libc_secure_getenv.
40626 * stdlib/Versions (2.17): Add secure_getenv
40627 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40628 * stdlib/secure-getenv.c: Rename __secure_getenv to
40629 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40630 symbol __secure_getenv for GLIBC_2.0.
40631 * stdlib/tst-secure-getenv.c: New.
40632 * stdlib/Makefile (tests): Add testcase.
40633 * manual/startup.texi (Environment Access): Document
40634 secure_getenv.
40635 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40636 __libc_secure_getenv.
40637 * inet/ruserpass.c (ruserpass): Likewise.
40638 * malloc/mtrace.c (mtrace): Likewise.
40639 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40640 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40641 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40642 * sysdeps/posix/tempname.c: Likewise. Evaluate
40643 HAVE_SECURE_GETENV.
40644 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40645 __secure_getenv to __libc_secure_getenv.
40646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40648 Likewise.
40649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40650 Likewise.
40651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40658
40659 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40660
40661 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40662 (struct La_i86_retval): Likewise.
40663 (struct La_x86_64_regs): Likewise.
40664 (struct La_x86_64_retval): Likewise.
40665 (struct La_x32_regs): Likewise.
40666 (struct La_x32_retval): Likewise.
40667 (struct La_ppc32_regs): Likewise.
40668 (struct La_ppc32_retval): Likewise.
40669 (struct La_ppc64_regs): Likewise.
40670 (struct La_ppc64_retval): Likewise.
40671 (struct La_sh_regs): Likewise.
40672 (struct La_sh_retval): Likewise.
40673 (struct La_s390_32_regs): Likewise.
40674 (struct La_s390_32_retval): Likewise.
40675 (struct La_s390_64_regs): Likewise.
40676 (struct La_s390_64_retval): Likewise.
40677 (struct La_sparc32_regs): Likewise.
40678 (struct La_sparc32_retval): Likewise.
40679 (struct La_sparc64_regs): Likewise.
40680 (struct La_sparc64_retval): Likewise.
40681 (struct audit_ifaces): Remove architecture-specific pltenter and
40682 pltexit members.
40683 * sysdeps/i386/ldsodefs.h: New file.
40684 * sysdeps/powerpc/ldsodefs.h: Likewise.
40685 * sysdeps/s390/ldsodefs.h: Likewise.
40686 * sysdeps/sh/ldsodefs.h: Likewise.
40687 * sysdeps/sparc/ldsodefs.h: Likewise.
40688 * sysdeps/x86_64/ldsodefs.h: Likewise.
40689
40690 2012-07-25 Marek Polacek <polacek@redhat.com>
40691
40692 [BZ #6808]
40693 * math/libm-test.inc (yn_test): Add another test.
40694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40695 to ERANGE when the result is +-Inf.
40696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40697 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40699 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40700
40701 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40702
40703 * conform/data/time.h-data (NULL): Use macro-constant. Require
40704 equal to 0.
40705 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40706 clock_t.
40707 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40708
40709 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40710
40711 * configure.in <sysdeps resolving>: Correct printing
40712 Implies_before.
40713 * configure: Regenerate.
40714
40715 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40716
40717 * math/w_ilogb.c: Include <limits.h>.
40718 * math/w_ilogbl.c: Likewise.
40719
40720 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40721
40722 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40723 va_copy. Document allowing for unavailable va_copy only as
40724 pre-C99 compatibility.
40725 * manual/string.texi (Copying and Concatenation): Use va_copy
40726 instead of __va_copy in concat example.
40727
40728 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40729
40730 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40731 (__sendto): Use create_address_port. Initialize APORT and deallocate
40732 it if not null.
40733
40734 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40735 with O_NOLINK passed to __file_name_lookup.
40736
40737 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40738 with O_NOLINK passed to __file_name_lookup.
40739
40740 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40741 negative N or less than NGIDS.
40742
40743 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40744 type to string_t. Set ERANGE as errno and return it if NAME is not big
40745 enough. Use memcpy instead of strncpy.
40746
40747 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40748
40749 * elf/Makefile (check-data): Remove.
40750 (localplt.data): New vpath directive.
40751 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40752 instead of $(check-data).
40753 * scripts/data/localplt-generic.data: Move to ...
40754 * sysdeps/generic/localplt.data: ... here.
40755 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40756 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40757 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40759 ... here.
40760 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40762 ... here.
40763 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40765 ... here.
40766 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40768 ... here.
40769 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40771 ... here.
40772 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40774 ... here.
40775
40776 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40777
40778 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40779 PPC32 and PPC64 files.
40780 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40781 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40782
40783 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40784
40785 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40786 __makecontext_ret to ...
40787 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40788 ... here and call exit if uc_link is NULL. New file.
40789 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40790 __makecontext_ret.S.
40791 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40792 __makecontext_ret to ...
40793 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40794 ... here and call exit if uc_link is NULL. New file.
40795 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40796 __makecontext_ret.S.
40797
40798 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40799
40800 * elf/elf.h (R_390_IRELATIVE): New definition.
40801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40802 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40803 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40805 (elf_machine_lazy_rel): Likewise.
40806 * sysdeps/s390/dl-irel.h: New file.
40807 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40808 * sysdeps/s390/s390-64/memset.S: New asm code.
40809 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40810 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40811 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40812 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40813 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40814 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40815 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40816 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40817 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40818 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40819 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40820 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40821 * sysdeps/s390/s390-32/memset.S: New asm code.
40822 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40823
40824 2012-07-17 Marek Polacek <polacek@redhat.com>
40825
40826 [BZ #14349]
40827 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40828 * sysdeps/s390/s390-64/configure.in: Likewise.
40829 * sysdeps/sparc/configure.in: Likewise.
40830 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40831 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40832 * sysdeps/i386/configure.in: Likewise.
40833 * sysdeps/x86_64/configure.in: Likewise.
40834 * sysdeps/sh/configure.in: Likewise.
40835 * sysdeps/s390/s390-32/configure: Regenerated.
40836 * sysdeps/s390/s390-64/configure: Likewise.
40837 * sysdeps/x86_64/configure: Likewise.
40838 * sysdeps/sh/configure: Likewise.
40839 * sysdeps/powerpc/powerpc64/configure: Likewise.
40840 * sysdeps/powerpc/powerpc32/configure: Likewise.
40841 * sysdeps/sparc/configure: Likwise.
40842 * sysdeps/i386/configure: Likewise.
40843
40844 * elf/dl-open.c: Comment fixes.
40845
40846 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40847
40848 * Makefile [CXX] (check-data): Remove.
40849 [CXX] (c++-types.data): New vpath directive.
40850 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40851 vpath. Do not allow for C++ type data being missing.
40852 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40853 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40854 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40855 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40856 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40857 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40858 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40860 ... here.
40861 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40863 ... here.
40864 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40866 ... here.
40867 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40869 ... here.
40870 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40872 ... here.
40873 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40875 ... here.
40876 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40878 ... here.
40879 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40881
40882 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40883 definitions to architecture-specific files.
40884 (TLS_IE): Likewise.
40885 (TLS_LD): Likewise.
40886 (TLS_GD): Likewise.
40887 * sysdeps/i386/tls-macros.h: New file.
40888 * sysdeps/powerpc/tls-macros.h: Likewise.
40889 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40890 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40891 * sysdeps/sh/tls-macros.h: Likewise.
40892 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40893 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40894 * sysdeps/x86_64/tls-macros.h: Likewise.
40895
40896 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40897
40898 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40899 zero value for regular exit case.
40900
40901 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40902 (__start_context): Preserve zero value for regular exit case.
40903
40904 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40905 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40906
40907 * manual/setjmp.texi (setcontext): Clarify normal process
40908 termination when uc_link is the null pointer.
40909 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40910 exit call.
40911
40912 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40913
40914 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40915 preprocessor. Test for each exception mask separately.
40916
40917 2012-07-16 Andreas Jaeger <aj@suse.de>
40918
40919 * po/ru.po: Update from translation team.
40920
40921 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40922
40923 * conform/data/string.h-data (NULL): Use macro-constant. Require
40924 equal to 0.
40925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40926 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40927 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40928 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40930
40931 2012-07-13 Andreas Jaeger <aj@suse.de>
40932
40933 * po/fr.po: Update from translation team.
40934
40935 2012-07-12 Marek Polacek <polacek@redhat.com>
40936
40937 [BZ #14173]
40938 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40940 loop condition.
40941
40942 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40943
40944 [BZ #13717]
40945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40946 Change to 2.4.1 where previously 2.4.0.
40947 * sysdeps/unix/sysv/linux/configure: Regenerated.
40948 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40949 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40950 version.
40951 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40952 (__ASSUME_AT_CLKTCK): Remove.
40953 (__ASSUME_AT_PAGESIZE): Likewise.
40954 (__ASSUME_AT_XID): Likewise.
40955 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40956 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40957 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40958 unconditionally.
40959 (HAVE_AUX_PAGESIZE): Likewise.
40960 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40961 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40962 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40963
40964 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40965
40966 [BZ #14307]
40967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40968 the temporary buffer used to invoke __gethostbyname2_r,
40969 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40970 host_data / struct gaih_addrtuple.
40971 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40972 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40973 header file nss/nsswitch.h.
40974 * nss/nsswitch.h (global scope): Add definition of implementation
40975 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40976 resolv/nss_dns/dns-host.c).
40977
40978 2012-07-11 Andreas Jaeger <aj@suse.de>
40979
40980 * po/fr.po: Update from translation team.
40981
40982 * po/sv.po: Update from translation team
40983 * po/fr.po: Another update from translation team.
40984
40985 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40986
40987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40988 for subnormals or multiply small sinh result by itself.
40989 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40991
40992 2012-07-11 David S. Miller <davem@davemloft.net>
40993
40994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40995
40996 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40997
40998 [BZ #14347]
40999 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41000 (INTERNAL_MARK): Shift it here.
41001
41002 2012-07-10 Marek Polacek <polacek@redhat.com>
41003
41004 [BZ #14151]
41005 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41006 libc_cv_asm_global_directive with .globl.
41007 * configure: Regenerated.
41008 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41009 with .globl.
41010 * sysdeps/i386/configure: Regenerated.
41011 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41012 with .globl.
41013 * sysdeps/x86_64/configure: Regenerated.
41014 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41015 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41016 * elf/tst-unique2mod2.c: Likewise.
41017 * elf/tst-unique2mod1.c: Likewise.
41018 * elf/tst-unique1mod2.c: Likewise.
41019 * elf/tst-unique1mod1.c: Likewise.
41020 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41021 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41023 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41024 * sysdeps/mach/sysdep.h: Likewise.
41025 * sysdeps/i386/sysdep.h: Likewise.
41026 * sysdeps/i386/i386-mcount.S: Likewise.
41027 * sysdeps/x86_64/_mcount.S: Likewise.
41028 * sysdeps/x86_64/sysdep.h: Likewise.
41029 * sysdeps/sh/_mcount.S: Likewise.
41030 * sysdeps/sh/sysdep.h: Likewise.
41031 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41032 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41033 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41035 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41036 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41037 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41038 * locale/localeinfo.h: Likewise.
41039 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41040 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41041
41042 2012-07-09 Roland McGrath <roland@hack.frob.com>
41043
41044 [BZ #14336]
41045 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41046 system".
41047 * manual/message.texi (The Uniforum approach): Likewise.
41048 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41049 (glibc iconv Implementation): Likewise.
41050
41051 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41052
41053 [BZ #14337]
41054 * math/s_clog.c (__clog): Avoid scaling a value down where that
41055 could result in underflow.
41056 * math/s_clog10.c (__clog10): Likewise.
41057 * math/s_clog10f.c (__clog10f): Likewise.
41058 * math/s_clog10l.c (__clog10l): Likewise.
41059 * math/s_clogf.c (__clogf): Likewise.
41060 * math/s_clogl.c (__clogl): Likewise.
41061 * math/libm-test.inc (clog_test): Add more tests.
41062 (clog10_test): Likewise.
41063 * sysdeps/i386/fpu/libm-test-ulps: Update.
41064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41065
41066 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41067
41068 [BZ #14283]
41069 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41070 by 7 not 8 to examine high bit of fractional part.
41071
41072 [BZ #14042]
41073 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41074 for call to __mcount_internal.
41075 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41076 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41077 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41078
41079 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41080
41081 [BZ #14154]
41082 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41083 approximation for values within 0x1p-13f of an odd multiple of
41084 pi/4.
41085 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41086 exception. Add more tests.
41087 * sysdeps/i386/fpu/libm-test-ulps: Update.
41088
41089 [BZ #6778]
41090 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41091 inputs and return -1 for them. Do not check for +Inf in case not
41092 reachable for +Inf.
41093 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41094 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41095 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41096 and return -1 for them. Do not check for +Inf in case not
41097 reachable for +Inf.
41098 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41099 define.
41100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41101 and return -1 for them. Do not check for +Inf in case not
41102 reachable for +Inf.
41103 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41104 spurious underflow.
41105 * sysdeps/i386/fpu/libm-test-ulps: Update.
41106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41107
41108 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41109
41110 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41111
41112 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41113
41114 [BZ #14157]
41115 [BZ #14331]
41116 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41117 could result in spurious underflow. Scale down values above
41118 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41119 * math/s_csqrtf.c (__csqrtf): Likewise.
41120 * math/s_csqrtl.c (__csqrtl): Likewise.
41121 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41122 spurious underflow.
41123 * sysdeps/i386/fpu/libm-test-ulps: Update.
41124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41125
41126 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41127
41128 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41129 xopen-msg.sed.
41130 * catgets/xopen-msg.awk: New file.
41131 * catgets/xopen-msg.sed: Removed.
41132
41133 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41134 po2text.sed.
41135 * intl/po2test.awk: New file.
41136 * intl/po2test.sed: Removed.
41137
41138 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41139
41140 [BZ #14328]
41141 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41142 or multiply small sinh result by itself.
41143 * math/s_ctanf.c (__ctanf): Likewise.
41144 * math/s_ctanh.c (__ctanh): Likewise.
41145 * math/s_ctanhf.c (__ctanhf): Likewise.
41146 * math/s_ctanhl.c (__ctanhl): Likewise.
41147 * math/s_ctanl.c (__ctanl): Likewise.
41148 * math/libm-test.inc (ctan_test_tonearest): New function.
41149 (ctan_test_towardzero): Likewise.
41150 (ctan_test_downward): Likewise.
41151 (ctan_test_upward): Likewise.
41152 (ctanh_test_tonearest): Likewise.
41153 (ctanh_test_towardzero): Likewise.
41154 (ctanh_test_downward): Likewise.
41155 (ctanh_test_upward): Likewise.
41156 (main): Call these new functions.
41157 * sysdeps/i386/fpu/libm-test-ulps: Update.
41158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41159
41160 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41161
41162 * .gitignore: Delete /ports entry.
41163
41164 2012-07-03 Andreas Jaeger <aj@suse.de>
41165
41166 * po/bg.po: Update from translation team.
41167 * po/cs.po: Likewise.
41168 * po/de.po: Likewise.
41169 * po/hr.po: Likewise.
41170 * po/nl.pl: Likewise.
41171 * po/pl.po: Likewise.
41172 * po/vi.po: Likewise.
41173
41174 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41175
41176 * Makeconfig [!+link] (+link-before-libc): New variable.
41177 [!+link] (+link-after-libc): Likewise.
41178 [!+link] (+link-tests): Likewise.
41179 [!+link] (+link): Define in terms of $(+link-before-libc) and
41180 $(+link-after-libc).
41181 [!+link-static] (+link-static-before-libc): New variable.
41182 [!+link-static] (+link-static-after-libc): Likewise.
41183 [!+link-static] (+link-static-tests): Likewise.
41184 [!+link-static] (+link-static): Define in terms of
41185 $(+link-static-before-libc) and $(+link-static-after-libc).
41186 [build-shared] (link-libc-before-gnulib): New variable.
41187 [build-shared] (link-libc-tests): Likewise.
41188 [build-shared] (link-libc): Define in terms of
41189 $(link-libc-before-gnulib).
41190 [!build-shared] (link-libc-tests): New variable.
41191 (link-libc-static-tests): New variable.
41192 [!gnulib] (gnulib-arch): New variable.
41193 [!gnulib] (gnulib-tests): Likewise.
41194 [!gnulib] (static-gnulib-arch): Likewise.
41195 [!gnulib] (static-gnulib-tests): Likewise.
41196 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41197 Define with "=" instead of ":=".
41198 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41199 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41200 * Rules (binaries-all-notests): New variable.
41201 (binaries-all-tests): Likewise.
41202 (binaries-static-notests): Likewise.
41203 (binaries-static-tests): Likewise.
41204 (binaries-all): Define using $(binaries-all-notests) and
41205 $(binaries-all-tests).
41206 (binaries-static): Define using $(binaries-static-notests) and
41207 $(binaries-static-tests).
41208 (binaries-shared-tests): New variable.
41209 (binaries-shared-notests): Likewise.
41210 (binaries-shared): Remove variable.
41211 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41212 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41213 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41214 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41215 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41216 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41217 * elf/Makefile (sln-modules): New variable.
41218 (extra-objs): Add $(sln-modules:=.o).
41219 (ldconfig-modules): Add static-stubs.
41220 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41221 * elf/static-stubs.c: New file.
41222
41223 [BZ #14283]
41224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41225 by 7 not 8 to examine high bit of fractional part. Use volatile
41226 variables when splitting into final array of floats if
41227 __FLT_EVAL_METHOD__ != 0.
41228 * math/libm-test.inc (cos_test): Add another test.
41229 (sin_test): Likewise.
41230 * sysdeps/i386/fpu/libm-test-ulps: Update.
41231
41232 [BZ #14273]
41233 * math/libm-test.inc (cosh_test): Add more tests.
41234
41235 * version.h (RELEASE): Set to "development".
41236 (VERSION): Set to "2.16.90".
41237
41238 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41239
41240 * NEWS: Update copyright. Remove last-updated date.
41241 Mention math library bug fixes and timezone data changes.
41242 * README: Mention GNU/Hurd, x32, and HPPA support status.
41243
41244 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41245
41246 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41247
41248 2012-06-27 Andreas Jaeger <aj@suse.de>
41249
41250 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41251
41252 2012-06-25 Andreas Jaeger <aj@suse.de>
41253
41254 * sysdeps/s390/fpu/libm-test-ulps: Update.
41255
41256 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41257 Thomas Schwinge <thomas@codesourcery.com>
41258
41259 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41260 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41262 fanotify_mark.
41263
41264 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41265
41266 * sysdeps/mach/start.c: Remove file.
41267 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41268 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41269 * sysdeps/sh/init-first.c: Likewise.
41270
41271 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41272 registers for frame unwinding purposes, add CFI directives.
41273 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41275 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41276 Likewise.
41277
41278 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41279 __fortify_fail returning.
41280 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41281
41282 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41283 sysdeps/sh/____longjmp_chk.S.
41284 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41285 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41286 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41287 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41288
41289 * sysdeps/sh/abort-instr.h: New file.
41290 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41291 process in case exit returns.
41292
41293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41294 initialize the GOT register before use.
41295
41296 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41297 calculation of ARGC > 4.
41298
41299 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41300 meaningful names to some local labels.
41301
41302 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41303 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41304
41305 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41306 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41307 (__arch_compare_and_exchange_val_16_acq): Likewise.
41308 (__arch_compare_and_exchange_val_32_acq): Likewise.
41309 (atomic_exchange_and_add): Fix gUSA sequence.
41310 (atomic_add): Likewise.
41311 (atomic_add_negative): Likewise.
41312 (atomic_add_zero): Likewise.
41313 (atomic_bit_test_set): Likewise.
41314
41315 2012-06-22 Andreas Schwab <schwab@redhat.com>
41316
41317 [BZ #13579]
41318 * include/link.h (struct link_map): Add l_free_initfini.
41319 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41320 l_initfini.
41321 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41322 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41323 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41324 set.
41325
41326 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41327
41328 * configure.in: Use AC_LANG_SOURCE.
41329 * configure: Regenerate.
41330
41331 2012-06-22 Roland McGrath <roland@hack.frob.com>
41332
41333 * configure.in (libc_cv_localstatedir): New substituted variable.
41334 * configure: Regenerated.
41335 * config.make.in (localstatedir): New variable, substituted from
41336 libc_cv_localstatedir.
41337 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41338 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41339 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41340 * sysdeps/gnu/configure: Regenerated.
41341
41342 2012-06-21 Jeff Law <law@redhat.com>
41343
41344 [BZ #14277]
41345 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41346 free. Simplify list management for _LIBC case.
41347
41348 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41349
41350 [BZ #14273]
41351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41352 Clear sign bit of 64-bit integer value before comparing against
41353 overflow value.
41354
41355 * sysdeps/mach/configure: Regenerated.
41356
41357 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41358
41359 [BZ #14278]
41360 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41361
41362 2012-06-21 Jeff Law <law@redhat.com>
41363
41364 [BZ #13882]
41365 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41366 uint16_t for elements in the "seen" array to avoid char overflows.
41367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41368 * elf/dl-open.c (dl_open_worker): Likewise.
41369
41370 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41371
41372 * scripts/list-sources.sh: Scan PORTS for translations.
41373 * po/libc.pot: Regenerated.
41374
41375 2012-06-21 Andreas Jaeger <aj@suse.de>
41376
41377 [BZ #12194]
41378 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41379 warning.
41380 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41381 * bits/byteswap-16.h (__bswap_16): Likewise.
41382 * bits/byteswap.h (__bswap_constant_16): Likewise.
41383
41384 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41385
41386 [BZ #14117]
41387 * sysdeps/i386/fpu_control.h: Removed.
41388 * sysdeps/x86_64/fpu_control.h: Moved to ...
41389 * sysdeps/x86/fpu_control.h: Here.
41390
41391 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41392 (_FPU_SETCW): Likewise.
41393
41394 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41395
41396 [BZ #14117]
41397 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41398 * sysdeps/x86/fpu/bits/mathinline.h: This.
41399 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41400
41401 [BZ #14050]
41402 [BZ #14117]
41403 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41404 functions if __x86_64__ is defined.
41405
41406 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41407
41408 * string/endian.h: Add !__ASSEMBLER__ condition for including
41409 conversion interfaces.
41410
41411 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41412
41413 [BZ #14241]
41414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41415 of ABS(x) in calculating zero to negative powers other than odd
41416 integers.
41417 * math/libm-test.inc (pow_test): Add more tests.
41418
41419 2012-06-15 Andreas Jaeger <aj@suse.de>
41420
41421 * manual/contrib.texi (Contributors): Update entry of Liubov
41422 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41423 Machado Filho.
41424
41425 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41426
41427 * string/string.h: Add __wur to GNU version of strerror_r.
41428
41429 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41430
41431 [BZ #14229]
41432 * string/Makefile (tests): Add tst-strtok_r.
41433 * string/tst-strtok_r.c: New file.
41434 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41435 RAX_LP/RDX_LP on SAVE_PTR.
41436
41437 2012-06-14 Roland McGrath <roland@hack.frob.com>
41438
41439 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41440
41441 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41442
41443 * libm_test.inc (csqrt_test): Allow more spurious underflow
41444 exceptions.
41445 (j0_test): Likewise.
41446 (j1_test): Likewise.
41447 (y0_test): Likewise.
41448 (y1_test): Likewise.
41449
41450 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41451
41452 * po/Makefile (libc.pot): Use UTF-8 charset.
41453
41454 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41455
41456 [BZ #14210]
41457 Suppress sign-conversion warning from FD_SET.
41458 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41459 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41460 not unsigned long int.
41461 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41462
41463 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41464
41465 [BZ #14050]
41466 [BZ #14117]
41467 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41468 __extern_always_inline instead of __extern_inline.
41469 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41470 (__signbit): Likewise.
41471 (__signbitl): Support C++ namespace.
41472 (lrintf): New inline function.
41473 (lrint): Likewise.
41474 (llrintf): Likewise.
41475 (llrint): Likewise.
41476 (fmaxf): Likewise.
41477 (fmax): Likewise.
41478 (fminf): Likewise.
41479 (fmin): Likewise.
41480 (rint): Likewise.
41481 (rintf): Likewise.
41482 (ceil): Likewise.
41483 (ceilf): Likewise.
41484 (floor): Likewise.
41485 (floorf): Likewise.
41486 (nearbyint): Likewise.
41487 (nearbyintf): Likewise.
41488
41489 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41490
41491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41492 non-default versions.
41493
41494 2012-06-11 Roland McGrath <roland@hack.frob.com>
41495
41496 [BZ #14218]
41497 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41498
41499 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41500
41501 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41502 (FE_UPWARD, FE_DOWNWARD): Don't define.
41503 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41504 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41505
41506 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41507 reading it.
41508 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41509 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41510
41511 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41512
41513 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41515 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41517
41518 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41519
41520 [BZ #14117]
41521 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41522 * sysdeps/i386/fpu/Implies: New file.
41523 * sysdeps/x86_64/fpu/Implies: Likewise.
41524 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41525 * sysdeps/x86/fpu/bits/fenv.h: This.
41526
41527 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41528 __SSE_MATH__.
41529
41530 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41531
41532 [BZ #14134]
41533 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41534 character 0xffff that matches the last element of the
41535 conversion table.
41536
41537 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41538
41539 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41540 fmodl commit.
41541
41542 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41543
41544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41545 values higher than 25.6283.
41546
41547 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41548
41549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41550 subnormal exponent extraction and add some __builtin_expect.
41551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41552 Fix for subnormal mantissa calculation.
41553
41554 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41555
41556 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41557 cpu2 is -1 and errno is not ENOSYS.
41558
41559 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41560
41561 [BZ #14117]
41562 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41563 * sysdeps/x86/bits/string.h: This.
41564 * sysdeps/x86_64/bits/string.h: Removed.
41565
41566 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41567 if not compiling for x86-64, but compiling for >= i486.
41568
41569 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41570 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41571
41572 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41573 New macro from Linux kernel 3.4.0.
41574 (FP_XSTATE_MAGIC2): Likewise.
41575 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41576 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41577 (struct _fpx_sw_bytes): New struct.
41578 (struct _xsave_hdr): Likewise.
41579 (struct _ymmh_state): Likewise.
41580 (struct _xstate): Likewise.
41581
41582 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41583 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41585 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41587 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41588
41589 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41590 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41591 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41592 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41593 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41594 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41595
41596 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41597
41598 [BZ #13743]
41599 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41600 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41601 (sysdep_headers): Include sys/platform/ppc.h.
41602 * sysdeps/powerpc/test-gettimebase.c: Test for
41603 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41604 * manual/Makefile (appendices): Include platform.texi.
41605 * manual/contrib.texi (Contributors): Update @node pointers.
41606 * manual/maint.texi (Maintenance): Likewise.
41607 (Platform): New node.
41608 * manual/platform.texi: New file. Document the new features.
41609
41610 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41611 Jakub Jelinek <jakub@redhat.com>
41612
41613 [BZ #14188]
41614 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41615 where __builtin_expect is unavailable.
41616
41617 2012-06-03 David S. Miller <davem@davemloft.net>
41618
41619 * stdlib/longlong.h: Updated from GCC.
41620
41621 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41622
41623 [BZ #14042]
41624 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41625 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41626 __mcount_internal.
41627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41628 (GLIBC_2.16): Likewise.
41629
41630 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41631
41632 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41633
41634 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41635
41636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41637 (default-abi): New variable.
41638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41639 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41640 variable.
41641 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41642 Likewise.
41643 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41644 Likewise.
41645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41646 Likewise.
41647
41648 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41649 definition. Document in comment.
41650
41651 2012-06-01 David S. Miller <davem@davemloft.net>
41652
41653 * stdlib/longlong.h: Updated from GCC.
41654
41655 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41656
41657 [BZ #14117]
41658 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41659 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41660 sys/debugreg.h sys/io.h here.
41661 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41662 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41663 sys/io.h.
41664 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41665 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41666 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41667 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41668 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41669 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41670
41671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41672 Define only if __x86_64__ is defined.
41673
41674 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41675
41676 [BZ #14048]
41677 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41678 Use int64_t for variable i.
41679 * math/libm-test.inc (fmod_test): Add more tests.
41680
41681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41682 z computation is not scheduled after fetestexcept.
41683 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41684 Use math_force_eval instead of asm to ensure calculation scheduled
41685 before exception test.
41686 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41687 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41688
41689 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41690
41691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41692 computation is not scheduled after fetestexcept.
41693
41694 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41695
41696 [BZ #14117]
41697 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41698 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41699
41700 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41701
41702 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41704
41705 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41706
41707 [BZ #14117]
41708 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41709 <bits/wordsize.h>.
41710 (__WCHAR_MIN): Support __WORDSIZE == 64.
41711 (__WCHAR_MAX): Likewise.
41712
41713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41714 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41715
41716 [BZ #14183]
41717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41718 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41719
41720 [BZ #14117]
41721 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41722 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41723
41724 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41725 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41726
41727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41728 Defined to 1 if __x86_64__ isn't defined.
41729 (_STAT_VER_LINUX_OLD): New.
41730 (st_atime): Remove duplicate.
41731 (st_mtime): Likewise.
41732 (st_ctime): Likewise.
41733
41734 2012-05-31 David S. Miller <davem@davemloft.net>
41735
41736 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41737 entries.
41738
41739 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41740
41741 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41742 gen-libm-test.pl.
41743
41744 [BZ #14132]
41745 * elf/dl-reloc.c: Include <_itoa.h>.
41746 (_dl_reloc_bad_type): Remove use of INTUSE.
41747 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41748 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41749 * stdio-common/psiginfo.c (psiginfo): Likewise.
41750 * stdio-common/psignal.c (psignal): Likewise.
41751 * string/strsignal.c (strsignal): Likewise.
41752 * include/signal.h (_sys_siglist): Declare hidden proto.
41753 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41754 INTVARDEF with libc_hidden_data_def.
41755 * stdio-common/itoa-udigits.c: Likewise.
41756 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41757 (_itoa_lower_digits_internal): Remove declaration.
41758 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41759 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41760 (_sys_sigabbrev_internal): Remove aliases.
41761 (_sys_siglist): Define hidden alias.
41762
41763 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41764
41765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41766 bits/sysctl.h.
41767
41768 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41769
41770 [BZ #14117]
41771 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41772 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41773
41774 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41775 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41776 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41777 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41778 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41779 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41780
41781 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41782 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41783 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41784
41785 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41786 with __addr.
41787 (insw): Likewise.
41788 (insl): Likewise.
41789 (outsb): Likewise.
41790 (outsw): Likewise.
41791 (outsl): Likewise.
41792
41793 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41795 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41796
41797 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41798 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41800 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41802 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41803
41804 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41805 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41806
41807 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41808 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41809
41810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41812 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41813
41814 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41815 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41816 to ...
41817 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41818
41819 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41820 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41821 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41822
41823 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41824 for x86-64.
41825 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41826
41827 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41828
41829 * math/math.h (M_El): Use two more decimal places.
41830 (M_LOG2El): Likewise.
41831 (M_LOG10El): Likewise.
41832 (M_LN2l): Likewise.
41833 (M_LN10l): Likewise.
41834 (M_PIl): Likewise.
41835 (M_PI_2l): Likewise.
41836 (M_PI_4l): Likewise.
41837 (M_1_PIl): Likewise.
41838 (M_2_PIl): Likewise.
41839 (M_2_SQRTPIl): Likewise.
41840 (M_SQRT2l): Likewise.
41841 (M_SQRT1_2l): Likewise.
41842
41843 2012-05-31 David S. Miller <davem@davemloft.net>
41844
41845 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41846 values between float registers.
41847 * sysdeps/sparc/sparc64/memset.S: Likewise.
41848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41849
41850 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41851
41852 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41853 -D_FORTIFY_SOURCE=1.
41854 (CPPFLAGS-tst-longjmp_chk.c): Define.
41855 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41856 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41857 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41858 CFLAGS-tst-wchar-h.c.
41859
41860 2012-05-31 Marek Polacek <polacek@redhat.com>
41861
41862 [BZ #14132]
41863 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41864 __endmntent_internal): Remove declaration.
41865 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41866 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41867 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41868
41869 2012-05-30 David S. Miller <davem@davemloft.net>
41870
41871 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41872 (___Q_simulate_exceptions): Use real FP ops rather than writing
41873 into the %fsr.
41874 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41875 Likewise.
41876
41877 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41878
41879 [BZ #14117]
41880 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41881 * sysdeps/x86/bits/xtitypes.h: This.
41882
41883 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41884 * sysdeps/x86/bits/wordsize.h: This.
41885
41886 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41887 * sysdeps/x86/bits/huge_vall.h: This.
41888
41889 * sysdeps/i386/bits/select.h: Removed.
41890 * sysdeps/x86_64/bits/select.h: Renamed to ...
41891 * sysdeps/x86/bits/select.h: This.
41892
41893 * sysdeps/i386/bits/setjmp.h: Removed.
41894 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41895 * sysdeps/x86/bits/setjmp.h: This.
41896
41897 * sysdeps/i386/bits/mathdef.h: Removed.
41898 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41899 * sysdeps/x86/bits/mathdef.h: This.
41900
41901 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41902
41903 [BZ #14132]
41904 * include/sys/socket.h (__connect_internal)
41905 (__libc_sa_len_internal): Remove declaration.
41906 (__connect, __libc_sa_len): Declare hidden_proto.
41907 (SA_LEN): Remove use of INTUSE.
41908 * socket/connect.c: Add libc_hidden_def.
41909 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41910 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41911 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41912 alias.
41913 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41914 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41915 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41916 of adding _internal alias.
41917
41918 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41919
41920 [BZ #14117]
41921 * sysdeps/i386/bits/link.h: Removed.
41922 * sysdeps/i386/bits/linkmap.h: Likewise.
41923 * sysdeps/x86_64/bits/link.h: Renamed to ...
41924 * sysdeps/x86/bits/link.h: This.
41925 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41926 * sysdeps/x86/bits/linkmap.h: This.
41927
41928 * sysdeps/i386/bits/endian.h: Removed.
41929 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41930 * sysdeps/x86/bits/endian.h: This.
41931
41932 * sysdeps/i386/bits/byteswap.h: Removed.
41933 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41934 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41935 * sysdeps/x86/bits/byteswap.h: This.
41936 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41937 * sysdeps/x86/bits/byteswap-16.h: This.
41938 * sysdeps/i386/Implies: Add x86.
41939 * sysdeps/x86_64/Implies: Likewise.
41940
41941 2012-05-30 David S. Miller <davem@davemloft.net>
41942
41943 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41944 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41946 (FP_TRAPPING_EXCEPTIONS): Define.
41947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41948 (FP_TRAPPING_EXCEPTIONS): Define.
41949 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41950 subnormals only when inexact has been signalled or underflow
41951 exceptions are enabled.
41952 (_FP_PACK_CANONICAL): Likewise.
41953
41954 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41955
41956 [BZ #14183]
41957 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41958 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41959
41960 2012-05-30 Richard Henderson <rth@twiddle.net>
41961
41962 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41963 with #ifndef NOT_IN_libc.
41964
41965 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41966 marked to avoid plt entry.
41967
41968 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41969
41970 [BZ #14112]
41971 * Makeconfig (default-abi): New macro.
41972 (abi-includes): Likewise.
41973 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41974 $(abi-$(default-abi)-lib-soname) for soname if defined.
41975 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41976 abi-variants.
41977 * Makefile (installed-stubs): Likewise.
41978 * include/stubs-biarch.h: Removed.
41979 * scripts/lib-names.awk: Only handle one library at a time.
41980 * scripts/soversions.awk: Remove WORDSIZE support.
41981 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41982 entries.
41983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41984 Removed.
41985 (syscall-list-default-condition): Likewise.
41986 (syscall-list-default-condition): Likewise.
41987 (syscall-list-includes): Likewise.
41988 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41989 syscall-list-* with abi-*. Handle undefined abi-variants.
41990 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41991 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41992 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41993 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41994 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41995 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41996 Removed.
41997 (syscall-list-32-options): Likewise.
41998 (syscall-list-32-condition): Likewise.
41999 (syscall-list-64-options): Likewise.
42000 (syscall-list-64-condition): Likewise.
42001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42002 macro.
42003 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42004 Renamed to ...
42005 (abi-*): This.
42006 (abi-64-ld-soname): New macro.
42007 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42008 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42009 Renamed to ...
42010 (abi-*): This.
42011 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42012 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42013
42014 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42015
42016 * sysdeps/unix/sysv/linux/kernel-features.h
42017 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42018 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42019 include <kernel-features.h>.
42020 [!__NR_ftruncate64]: Remove conditional code.
42021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42022 [__NR_ftruncate64]: Make code unconditional.
42023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42024 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42025 include <kernel-features.h>.
42026 [!__NR_ftruncate64]: Remove conditional code.
42027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42028 [__NR_ftruncate64]: Make code unconditional.
42029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42031 include <kernel-features.h>.
42032 [!__NR_ftruncate64]: Remove conditional code.
42033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42034 [__NR_ftruncate64]: Make code unconditional.
42035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42037 include <kernel-features.h>.
42038 [!__NR_ftruncate64]: Remove conditional code.
42039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42040 [__NR_ftruncate64]: Make code unconditional.
42041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42042
42043 * configure.in (libc_cv_fpie): Weaken to a compile test using
42044 LIBC_TRY_CC_OPTION.
42045 * configure: Regenerated.
42046
42047 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42048
42049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42053 Refreshed.
42054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42060 Refreshed.
42061
42062 2012-05-27 David S. Miller <davem@davemloft.net>
42063
42064 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42065 (___Q_zero): New.
42066 (__Q_simulate_exceptions): Return void. Change to simulate
42067 exceptions by writing into the %fsr.
42068 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42069 (__Qp_handle_exceptions): Likewise.
42070 (numbers): Delete.
42071 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42072 __Qp_handle_exceptions.
42073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42074 __Qp_handle_exceptions.
42075 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42076 as unused and give dummy FP_RND_NEAREST initializer.
42077 (FP_INHIBIT_RESULTS): Define.
42078 (___Q_simulate_exceptions): Update declaration.
42079 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42080 formatting.
42081 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42082 as unused and give dummy FP_RND_NEAREST initializer.
42083 (__Qp_handle_exceptions): Update declaration.
42084 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42085 formatting.
42086
42087 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42088
42089 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42090 the temporary FPU control word.
42091 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42092 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42093 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42094 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42095 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42096 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42097 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42099 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42100 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42101 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42102
42103 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42104
42105 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42106 fields.
42107
42108 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42109
42110 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42111 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42112 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42113 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42114 Likewise.
42115 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42116 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42117 Likewise.
42118
42119 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42120
42121 * po/h.po: Update from translation team.
42122
42123 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42124
42125 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42126
42127 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42128 handling of denormals.
42129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42130 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42131 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42132 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42136 Likewise.
42137
42138 2012-05-26 Marek Polacek <polacek@redhat.com>
42139
42140 [BZ #14152]
42141 * math/libm-test.inc (fma_test): Don't always expect underflow
42142 exception.
42143
42144 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42145
42146 [BZ #12416]
42147 * elf/tst-execstack.c: Include stackinfo.h.
42148 (do_test): Adjust test case to ensure that pthread_getattr_np
42149 behaviour remains the same after marking stack executable.
42150
42151 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42152
42153 * sysdeps/unix/sysv/linux/kernel-features.h
42154 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42155 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42156 kernel-features.h.
42157 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42158 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42159 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42160 kernel-features.h.
42161 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42162 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42163
42164 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42165
42166 * configure.in: Define the default includes to being none.
42167 * configure: Regenerated.
42168
42169 2012-05-25 Roland McGrath <roland@hack.frob.com>
42170
42171 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42172 * sysdeps/x86_64/setjmp.S: Likewise.
42173 * sysdeps/i386/bsd-setjmp.S: Likewise.
42174 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42175 * sysdeps/i386/setjmp.S: Likewise.
42176 * sysdeps/i386/__longjmp.S: Likewise.
42177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42178 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42179
42180 * include/stap-probe.h: New file.
42181 * configure.in: Handle --enable-systemtap.
42182 * configure: Regenerated.
42183 * config.h.in (USE_STAP_PROBE): New #undef.
42184 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42185 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42186 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42187
42188 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42189
42190 [BZ #13717]
42191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42192 to 2.4.0 where earlier.
42193 * sysdeps/unix/sysv/linux/configure: Regenerated.
42194 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42195 <kernel-features.h>.
42196 [__ASSUME_32BITUIDS]: Make code unconditional.
42197 [!__ASSUME_32BITUIDS]: Remove conditional code.
42198 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42199 <kernel-features.h>.
42200 [__ASSUME_32BITUIDS]: Make code unconditional.
42201 [!__ASSUME_32BITUIDS]: Remove conditional code.
42202 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42203 [__ASSUME_32BITUIDS]: Make code unconditional.
42204 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42205 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42206 <kernel-features.h>.
42207 [__ASSUME_32BITUIDS]: Make code unconditional.
42208 [!__ASSUME_32BITUIDS]: Remove conditional code.
42209 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42210 <kernel-features.h>.
42211 [__ASSUME_32BITUIDS]: Make code unconditional.
42212 [!__ASSUME_32BITUIDS]: Remove conditional code.
42213 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42214 <kernel-features.h>.
42215 [__ASSUME_32BITUIDS]: Make code unconditional.
42216 [!__ASSUME_32BITUIDS]: Remove conditional code.
42217 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42218 <kernel-features.h>.
42219 [__ASSUME_32BITUIDS]: Make code unconditional.
42220 [!__ASSUME_32BITUIDS]: Remove conditional code.
42221 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42222 <kernel-features.h>.
42223 [__ASSUME_32BITUIDS]: Make code unconditional.
42224 [!__ASSUME_32BITUIDS]: Remove conditional code.
42225 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42226 <kernel-features.h>.
42227 [__ASSUME_32BITUIDS]: Make code unconditional.
42228 [!__ASSUME_32BITUIDS]: Remove conditional code.
42229 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42230 <kernel-features.h>.
42231 [__ASSUME_32BITUIDS]: Make code unconditional.
42232 [!__ASSUME_32BITUIDS]: Remove conditional code.
42233 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42234 <kernel-features.h>.
42235 [__ASSUME_32BITUIDS]: Make code unconditional.
42236 [!__ASSUME_32BITUIDS]: Remove conditional code.
42237 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42238 <kernel-features.h>.
42239 [__ASSUME_32BITUIDS]: Make code unconditional.
42240 [!__ASSUME_32BITUIDS]: Remove conditional code.
42241 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42242 <kernel-features.h>.
42243 [__ASSUME_32BITUIDS]: Make code unconditional.
42244 [!__ASSUME_32BITUIDS]: Remove conditional code.
42245 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42246 <kernel-features.h>.
42247 [__NR_setresgid] (__setresgid): Do not declare.
42248 [__ASSUME_32BITUIDS]: Make code unconditional.
42249 [!__ASSUME_32BITUIDS]: Remove conditional code.
42250 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42251 <kernel-features.h>.
42252 [__NR_setresuid] (__setresuid): Do not declare.
42253 [__ASSUME_32BITUIDS]: Make code unconditional.
42254 [!__ASSUME_32BITUIDS]: Remove conditional code.
42255 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42256 <kernel-features.h>.
42257 [__ASSUME_32BITUIDS]: Make code unconditional.
42258 [!__ASSUME_32BITUIDS]: Remove conditional code.
42259 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42260 <kernel-features.h>.
42261 [__ASSUME_32BITUIDS]: Make code unconditional.
42262 [!__ASSUME_32BITUIDS]: Remove conditional code.
42263 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42264 <kernel-features.h>.
42265 [__ASSUME_32BITUIDS]: Make code unconditional.
42266 [!__ASSUME_32BITUIDS]: Remove conditional code.
42267 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42268 <kernel-features.h>.
42269 [__ASSUME_32BITUIDS]: Make code unconditional.
42270 [!__ASSUME_32BITUIDS]: Remove conditional code.
42271 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42272 <kernel-features.h>.
42273 [__ASSUME_32BITUIDS]: Make code unconditional.
42274 [!__ASSUME_32BITUIDS]: Remove conditional code.
42275 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42276 <kernel-features.h>.
42277 [__ASSUME_32BITUIDS]: Make code unconditional.
42278 [!__ASSUME_32BITUIDS]: Remove conditional code.
42279 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42280 <kernel-features.h>.
42281 [__ASSUME_32BITUIDS]: Make code unconditional.
42282 [!__ASSUME_32BITUIDS]: Remove conditional code.
42283 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42284 <kernel-features.h>.
42285 [__ASSUME_32BITUIDS]: Make code unconditional.
42286 [!__ASSUME_32BITUIDS]: Remove conditional code.
42287 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42288 <kernel-features.h>.
42289 [__ASSUME_32BITUIDS]: Make code unconditional.
42290 [!__ASSUME_32BITUIDS]: Remove conditional code.
42291 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42292 <kernel-features.h>.
42293 [__ASSUME_32BITUIDS]: Make code unconditional.
42294 [!__ASSUME_32BITUIDS]: Remove conditional code.
42295 * sysdeps/unix/sysv/linux/kernel-features.h
42296 (__ASSUME_SETRESUID_SYSCALL): Remove.
42297 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42298 (__ASSUME_32BITUIDS): Likewise.
42299 (__ASSUME_LDT_WORKS): Likewise.
42300 (__ASSUME_O_DIRECTORY): Likewise.
42301 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42302 architecture but not kernel version.
42303 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42304 (__ASSUME_MMAP2_SYSCALL): Likewise.
42305 (__ASSUME_STAT64_SYSCALL): Likewise.
42306 (__ASSUME_IPC64): Likewise.
42307 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42308 <kernel-features.h>.
42309 [__ASSUME_32BITUIDS]: Make code unconditional.
42310 [!__ASSUME_32BITUIDS]: Remove conditional code.
42311 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42312 <kernel-features.h>.
42313 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42314 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42315 132096]: Remove conditional code.
42316 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42317 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42318 <kernel-features.h>.
42319 [__ASSUME_32BITUIDS]: Make code unconditional.
42320 [!__ASSUME_32BITUIDS]: Remove conditional code.
42321 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42322 <kernel-features.h>.
42323 [__ASSUME_32BITUIDS]: Make code unconditional.
42324 [!__ASSUME_32BITUIDS]: Remove conditional code.
42325 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42326 <kernel-features.h>.
42327 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42328 unconditional.
42329 (__setresgid): Do not declare.
42330 [__ASSUME_32BITUIDS]: Make code unconditional.
42331 [!__ASSUME_32BITUIDS]: Remove conditional code.
42332 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42333 <kernel-features.h>.
42334 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42335 unconditional.
42336 (__setresuid): Do not declare.
42337 [__ASSUME_32BITUIDS]: Make code unconditional.
42338 [!__ASSUME_32BITUIDS]: Remove conditional code.
42339 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42340 <kernel-features.h>.
42341 [__ASSUME_32BITUIDS]: Make code unconditional.
42342 [!__ASSUME_32BITUIDS]: Remove conditional code.
42343 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42344 <kernel-features.h>.
42345 [__ASSUME_32BITUIDS]: Make code unconditional.
42346 [!__ASSUME_32BITUIDS]: Remove conditional code.
42347
42348 2012-05-25 Richard Henderson <rth@twiddle.net>
42349
42350 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42351 dl_hwcap to ifunc resolver.
42352 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42353 elf_ifunc_invoke.
42354 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42355 dl_hwcap to ifunc resolver.
42356 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42357
42358 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42359
42360 [BZ #14153]
42361 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42362 for |x| <= 2**-26, not 2**-57.
42363 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42364 exception.
42365
42366 2012-05-24 Jeff Law <law@redhat.com>
42367
42368 * stdio-common/Makefile (tests): Add bug25.
42369 * stdio-common/bug25.c: New test.
42370
42371 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42372
42373 [BZ #13576]
42374 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42375 multiple of MALLOC_ALIGNMENT in size.
42376 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42377
42378 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42379
42380 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42381 Require >= 256.
42382 (FILENAME_MAX): Use macro-int-constant.
42383 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42384 (_IOFBF): Use macro-int-constant.
42385 (_IOLBF): Likewise.
42386 (_IONBF): Likewise.
42387 (SEEK_CUR): Likewise.
42388 (SEEK_END): Likewise.
42389 (SEEK_SET): Likewise.
42390 (TMP_MAX): Likewise.
42391 (EOF): Use macro-int-constant. Require < 0.
42392 (NULL): Use macro-constant. Require == 0.
42393 (stdin): Require type to be FILE *.
42394 (stdout): Likewise.
42395 (stderr): Likewise.
42396 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42397 macro-int-constant.
42398 (EXIT_SUCCESS): Likewise.
42399 (NULL): Use macro-constant. Require == 0.
42400 (RAND_MAX): Use macro-int-constant.
42401 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42402 [C99-based standards] (strtof): Require function.
42403 [C99-based standards] (strtold): Likewise.
42404 [C99-based standards] (strtoll): Likewise.
42405 [C99-based standards] (strtoull): Likewise.
42406 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42407 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42408 [ISO || ISO99 || ISO11] (math.h): Likewise.
42409 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42410 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42412
42413 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42414
42415 [BZ #14132]
42416 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42417 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42418 * intl/dgettext.c (DCGETTEXT): Likewise.
42419 * intl/gettext.c (DCGETTEXT): Likewise.
42420 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42421 * posix/regex_internal.h (gettext): Likewise.
42422 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42423 Remove declaration.
42424 * include/argz.h (__argz_count_internal)
42425 (__argz_stringify_internal): Remove declaration.
42426 (__argz_count, __argz_stringify): Declare hidden proto.
42427 * intl/dcgettext.c: Remove use of INTDEF.
42428 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42429 * string/argz-stringify.c: Likewise.
42430 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42431 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42432 Declare hidden proto.
42433 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42434 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42435 Declare hidden proto.
42436 * include/stdio.h (__asprintf_internal): Don't declare.
42437 (__asprintf): Don't define as macro. Declare hidden proto.
42438 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42439 (__fsetlocking): Declare hidden proto.
42440 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42441 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42442 hidden proto.
42443 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42444 (_IO_setlinebuf): Remove use of INTUSE.
42445 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42446 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42447 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42448 Remove declaration.
42449 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42450 (_IO_do_flush): Remove use of INTUSE.
42451 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42452 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42453 (_IO_adjust_column, _IO_least_wmarker)
42454 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42455 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42456 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42457 (_IO_default_doallocate, _IO_wdefault_doallocate)
42458 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42459 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42460 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42461 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42462 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42463 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42464 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42465 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42466 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42467 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42468 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42469 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42470 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42471 proto.
42472 (_IO_flush_all_internal, _IO_adjust_column_internal)
42473 (_IO_default_uflow_internal, _IO_default_finish_internal)
42474 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42475 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42476 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42477 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42478 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42479 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42480 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42481 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42482 (_IO_file_close_internal, _IO_file_close_it_internal)
42483 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42484 (_IO_file_init_internal, _IO_file_attach_internal)
42485 (_IO_file_fopen_internal, _IO_file_read_internal)
42486 (_IO_file_sync_internal, _IO_file_seek_internal)
42487 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42488 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42489 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42490 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42491 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42492 (_IO_list_all_internal, _IO_link_in_internal)
42493 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42494 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42495 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42496 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42497 (_IO_do_write_internal, _IO_padn_internal)
42498 (_IO_getline_info_internal, _IO_getline_internal)
42499 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42500 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42501 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42502 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42503 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42504 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42505 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42506 with libc_hidden_ver, remove use of INTUSE.
42507 * libio/genops.c: Likewise.
42508 * libio/freopen.c: Likewise.
42509 * libio/freopen64.c: Likewise.
42510 * libio/iofclose.c: Likewise.
42511 * libio/iofdopen.c: Likewise.
42512 * libio/iofflush.c: Likewise.
42513 * libio/iofflush_u.c: Likewise.
42514 * libio/iofgets.c: Likewise.
42515 * libio/iofgets_u.c: Likewise.
42516 * libio/iofopen.c: Likewise.
42517 * libio/iofopncook.c: Likewise.
42518 * libio/iofread.c: Likewise.
42519 * libio/iofread_u.c: Likewise.
42520 * libio/ioftell.c: Likewise.
42521 * libio/iofwrite.c: Likewise.
42522 * libio/iogetline.c: Likewise.
42523 * libio/iogets.c: Likewise.
42524 * libio/iogetwline.c: Likewise.
42525 * libio/iopadn.c: Likewise.
42526 * libio/iopopen.c: Likewise.
42527 * libio/ioseekoff.c: Likewise.
42528 * libio/ioseekpos.c: Likewise.
42529 * libio/iosetbuffer.c: Likewise.
42530 * libio/iosetvbuf.c: Likewise.
42531 * libio/ioungetc.c: Likewise.
42532 * libio/ioungetwc.c: Likewise.
42533 * libio/iovdprintf.c: Likewise.
42534 * libio/iovsprintf.c: Likewise.
42535 * libio/iovsscanf.c: Likewise.
42536 * libio/memstream.c: Likewise.
42537 * libio/obprintf.c: Likewise.
42538 * libio/oldfileops.c: Likewise.
42539 * libio/oldiofclose.c: Likewise.
42540 * libio/oldiofdopen.c: Likewise.
42541 * libio/oldiofopen.c: Likewise.
42542 * libio/oldiopopen.c: Likewise.
42543 * libio/oldstdfiles.c: Likewise.
42544 * libio/putc.c: Likewise.
42545 * libio/setbuf.c: Likewise.
42546 * libio/setlinebuf.c: Likewise.
42547 * libio/stdfiles.c: Likewise.
42548 * libio/strops.c: Likewise.
42549 * libio/vasprintf.c: Likewise.
42550 * libio/vscanf.c: Likewise.
42551 * libio/vsnprintf.c: Likewise.
42552 * libio/vswprintf.c: Likewise.
42553 * libio/wfiledoalloc.c: Likewise.
42554 * libio/wfileops.c: Likewise.
42555 * libio/wgenops.c: Likewise.
42556 * libio/wmemstream.c: Likewise.
42557 * libio/wstrops.c: Likewise.
42558 * libio/__fpurge.c: Likewise.
42559 * libio/__fsetlocking.c: Likewise.
42560 * assert/assert.c: Likewise.
42561 * debug/fgets_chk.c: Likewise.
42562 * debug/fgets_u_chk.c: Likewise.
42563 * debug/fread_chk.c: Likewise.
42564 * debug/fread_u_chk.c: Likewise.
42565 * debug/gets_chk.c: Likewise.
42566 * debug/obprintf_chk.c: Likewise.
42567 * debug/vasprintf_chk.c: Likewise.
42568 * debug/vdprintf_chk.c: Likewise.
42569 * debug/vsnprintf_chk.c: Likewise.
42570 * debug/vsprintf_chk.c: Likewise.
42571 * malloc/mtrace.c: Likewise.
42572 * misc/error.c: Likewise.
42573 * misc/syslog.c: Likewise.
42574 * stdio-common/asprintf.c: Likewise.
42575 * stdio-common/fxprintf.c: Likewise.
42576 * stdio-common/getw.c: Likewise.
42577 * stdio-common/isoc99_fscanf.c: Likewise.
42578 * stdio-common/isoc99_scanf.c: Likewise.
42579 * stdio-common/isoc99_vfscanf.c: Likewise.
42580 * stdio-common/isoc99_vscanf.c: Likewise.
42581 * stdio-common/isoc99_vsscanf.c: Likewise.
42582 * stdio-common/printf-prs.c: Likewise.
42583 * stdio-common/printf_fp.c: Likewise.
42584 * stdio-common/printf_fphex.c: Likewise.
42585 * stdio-common/printf_size.c: Likewise.
42586 * stdio-common/putw.c: Likewise.
42587 * stdio-common/scanf.c: Likewise.
42588 * stdio-common/sprintf.c: Likewise.
42589 * stdio-common/tmpfile.c: Likewise.
42590 * stdio-common/vfprintf.c: Likewise.
42591 * stdio-common/vfscanf.c: Likewise.
42592 * stdlib/strfmon_l.c: Likewise.
42593 * sunrpc/openchild.c: Likewise.
42594 * sunrpc/xdr_stdio.c: Likewise.
42595 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42596 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42597
42598 2012-05-24 Roland McGrath <roland@hack.frob.com>
42599
42600 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42601
42602 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42603 in the third column, to generate for the shared library an IFUNC
42604 that uses _dl_vdso_vsym.
42605 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42606 * Makeconfig (object-suffixes-noshared): New variable.
42607
42608 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42609 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42610 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42611 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42612
42613 [BZ #14132]
42614 * include/sys/time.h (__gettimeofday): Remove macro.
42615 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42616 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42617 Remove INTDEF.
42618 (__gettimeofday): Add libc_hidden_def.
42619 (gettimeofday): Add libc_hidden_weak.
42620 * sysdeps/mach/gettimeofday.c: Likewise.
42621 * sysdeps/posix/gettimeofday.c: Likewise.
42622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42623 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42625 (__gettimeofday_internal): Remove strong_alias.
42626 (__gettimeofday): Add libc_hidden_def.
42627 (gettimeofday): Add libc_hidden_weak.
42628 * sysdeps/unix/syscalls.list (gettimeofday):
42629 Remove __gettimeofday_internal alias.
42630
42631 2012-05-24 Daniel Jacobowitz <drow@false.org>
42632 H.J. Lu <hongjiu.lu@intel.com>
42633
42634 [BZ #12495]
42635 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42636 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42637 (largebin_index_32_big): New.
42638 (largebin_index): Use it for 16-byte alignment.
42639 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42640 correction with front_misalign.
42641
42642 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42643
42644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42646 Likewise.
42647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42648 Likewise.
42649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42650 Likewise.
42651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42652 Likewise.
42653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42654 Likewise.
42655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42656 Likewise.
42657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42658 Likewise.
42659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42660 Likewise.
42661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42662 Likewise.
42663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42664 Likewise.
42665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42666 Likewise.
42667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42668 Likewise.
42669
42670 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42671 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42672
42673 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42674
42675 [BZ #10846]
42676 [BZ #14036]
42677 * math/libm-test.inc (exp_test): Add test from bug 14036.
42678 (pow_test): Add test from bug 10846.
42679
42680 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42681 and other flags.
42682 (special_function): Do not include flags in test name.
42683 (parse_args): Likewise.
42684 * sysdeps/i386/fpu/libm-test-ulps: Update.
42685 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42686 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42689
42690 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42691 exceptions.
42692 * math/libm-test.inc ("Philosophy"): Update comment about
42693 exception testing.
42694 (UNDERFLOW_EXCEPTION): New macro.
42695 (UNDERFLOW_EXCEPTION_OK): Likewise.
42696 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42697 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42698 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42699 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42700 (INVALID_EXCEPTION_OK): Update value.
42701 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42702 (OVERFLOW_EXCEPTION_OK): Likewise.
42703 (IGNORE_ZERO_INF_SIGN): Likewise.
42704 (test_exceptions): Handle underflow exceptions.
42705 (acos_test): Update for underflow exception expectations.
42706 (cexp_test): Likewise.
42707 (clog_test): Likewise.
42708 (clog10_test): Likewise.
42709 (csqrt_test): Likewise.
42710 (ctan_test): Likewise.
42711 (ctanh_test): Likewise.
42712 (exp_test): Likewise.
42713 (exp10_test): Likewise.
42714 (exp2_test): Likewise.
42715 (expm1_test): Likewise.
42716 (fma_test): Likewise.
42717 (j0_test): Likewise.
42718 (jn_test): Likewise.
42719 (nexttoward_test): Likewise.
42720 (pow_test): Likewise.
42721 (scalbn_test): Likewise.
42722 (scalbln_test): Likewise.
42723 (tan_test): Likewise.
42724 (y1_test): Likewise.
42725 * sysdeps/i386/fpu/libm-test-ulps: Update.
42726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42727
42728 2012-05-23 David S. Miller <davem@davemloft.net>
42729
42730 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42731 (__libc_sigaction): Remove unused local variables.
42732
42733 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42734
42735 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42736
42737 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42738
42739 mktime: avoid signed integer overflow
42740 * time/mktime.c (__mktime_internal): Do not mishandle the case
42741 where diff == INT_MIN.
42742
42743 mktime: simplify computation of average
42744 * time/mktime.c (ranged_convert): Use new time_t_avg function
42745 instead of rolling our own (probably-slower) code.
42746
42747 mktime: do not assume signed right shift propagates sign bit
42748 * time/mktime.c (isdst_differ): New static function.
42749 (__mktime_internal): No need to normalize tm_isdst now.
42750 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42751 tm_isdst values.
42752
42753 mktime: merge another wrapv change from gnulib
42754 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42755 from some compilers.
42756
42757 mktime: remove incorrect attempt at unusual arithmetics
42758 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42759 The code didn't really work on such machines anyway.
42760 (TYPE_MINIMUM): Assume two's complement.
42761 (twos_complement_arithmetic): Verify that long_int and time_t
42762 are two's complement (or unsigned, in the latter case).
42763
42764 mktime: check signed shifts on long_int and time_t, too
42765 * time/mktime.c (SHR): Check that shifts work as desired
42766 on the types long_int and time_t too, as SHR is used on
42767 such types.
42768
42769 mktime: do not assume 'long' is wide enough
42770 * time/mktime.c (verify): Move decl up.
42771 (long_int): New type.
42772 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42773 to remove assumption in the code that 'long' is wide enough to
42774 store year values. This assumption is not true on x32 and on
42775 some non-glibc platforms.
42776
42777 mktime: merge wrapv change from gnulib
42778 * time/mktime.c (WRAPV): New macro.
42779 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42780 (guess_time_tm, __mktime_internal): Do not assume that signed
42781 integer overflow wraps around; modern compilers generate code
42782 where this assumption is no longer valid.
42783
42784 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42785
42786 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42787 Replace "jmp L(pseudo_end)" with "ret".
42788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42789 Likewise.
42790
42791 2012-05-23 Andreas Jaeger <aj@suse.de>
42792
42793 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42794 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42795
42796 2012-05-23 Andreas Jaeger <aj@suse.de>
42797 Maximilian Attems <max@stro.at>
42798
42799 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42800 New macros.
42801
42802 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42803
42804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42805 code so that pseudo_end is just ret and the stack pointer is
42806 correct also for static library in error case.
42807
42808 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42809
42810 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42811 move to syscalls.list.
42812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42816
42817 * manual/install.texi (Running make install): Do not mention Linux
42818 kernel version for which pt_chown is not needed.
42819 (Linux): Do not mention problems with nscd with 2.0 kernels.
42820 * INSTALL: Regenerated.
42821
42822 2012-05-23 Andreas Jaeger <aj@suse.de>
42823
42824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42825 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42826 macro.
42827 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42829 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42830 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42831 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42832 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42834 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42835 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42837 * sysdeps/unix/sysv/linux/bits/in.h
42838 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42839
42840 2012-05-22 Roland McGrath <roland@hack.frob.com>
42841
42842 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42843 (PREPARE_VERSION): Just use assert instead, it will be elided
42844 under [NDEBUG] anyway.
42845
42846 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42847
42848 * sysdeps/unix/sysv/linux/Makefile: Include
42849 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42850 (sysdep_routines): Remove sysctl.
42851 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42852 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42853 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42854 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42855 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42856
42857 2012-05-22 Andreas Jaeger <aj@suse.de>
42858
42859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42860 that pseudo_end is just ret and the stack pointer is correct also
42861 for static library in error case.
42862
42863 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42864
42865 [BZ #14122]
42866 * nss/nsswitch.c (defconfig_entries): New variable.
42867 (__nss_database_lookup): Don't leak defconfig entries.
42868 (nss_parse_service_list): Don't leak on error paths.
42869 (free_database_entries): New function.
42870 (free_defconfig): New function.
42871 (free_mem): Move common code to free_database_entries.
42872
42873 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42874
42875 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42876 Add arch_prctl.
42877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42878
42879 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42880 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42882 New macro.
42883 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42884 (INTERNAL_SYSCALL_TYPES): Likewise.
42885 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42886 (LOAD_REGS_TYPES_[1-6]): Likewise.
42887 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42888 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42889
42890 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42891
42892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42893 copysignl for GLIBC_2_0.
42894 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42895 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42897 logbl for GLIBC_2_0.
42898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42899 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42900
42901 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42902
42903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42904 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42905
42906 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42907 Use "neg %eax".
42908
42909 * time/mktime.c: Update copyright years.
42910
42911 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42912
42913 mktime: merge comment-quoting-style change from gnulib
42914 * time/mktime.c: Quote 'like this' in comments.
42915 The GNU coding standards suggest that we no longer quote `like this',
42916 as "`" and "'" are typically rendered asymmetrically nowadays.
42917 The typical gnulib style is to quote 'like this' when quoting
42918 code, and "like this" when quoting English.
42919
42920 * time/mktime.c (compile-command): Add "-I.".
42921
42922 mktime: merge mktime-internal.h change from gnulib
42923 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42924
42925 mktime: merge time_r change from gnulib
42926 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42927
42928 mktime: merge DEBUG change from gnulib
42929 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42930 case system <time.h> has a #define.
42931
42932 mktime: merge <sys/types.h> change from gnulib
42933 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42934 since <time.t> is now guaranteed to define time_t.
42935
42936 mktime: merge HAVE_CONFIG_H change from gnulib
42937 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42938
42939 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42940
42941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42942 Use "neg %eax".
42943
42944 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42945 __rlim_t cast.
42946 (struct rusage): Use anonymous union to pad each field to
42947 __syscall_slong_t.
42948
42949 2012-05-21 David S. Miller <davem@davemloft.net>
42950
42951 * Makefules (o-iterator): Remove .s cases.
42952 (compile-command.s): Delete.
42953 (COMPILE.s): Delete.
42954 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42955
42956 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42957
42958 * configure.in (libc_cv_predef_stack_protector): Only consider
42959 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42960 * configure: Regenerated.
42961
42962 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42963
42964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42965 New macro. Use R*LP on int and pointer.
42966 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42967 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42968 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42969 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42970
42971 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42972 [__WORDSIZE_TIME64_COMPAT32] instead of
42973 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42974 (struct utmp): Likewise.
42975 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42976 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42977 Renamed to ...
42978 (__WORDSIZE_TIME64_COMPAT32): This.
42979 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42980 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42981 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42982 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42983 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42984 (__WORDSIZE_TIME64_COMPAT32): New macro.
42985
42986 2012-05-21 Andreas Jaeger <aj@suse.de>
42987
42988 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42989 only if [SHARED]. Add prototype for __wcschr_ia32.
42990
42991 2012-05-21 Roland McGrath <roland@hack.frob.com>
42992
42993 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42994 of %rbp unmolested in the jmp_buf while mangling the low bits.
42995 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42996 unmolested high bits of %rbp while demangling the low bits.
42997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42998
42999 2012-05-21 Andreas Jaeger <aj@suse.de>
43000
43001 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43002 * sunrpc/svc_simple.c: Use it for registerrpc.
43003 * sunrpc/xcrypt.c: Use it for passwd2des.
43004
43005 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43006
43007 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43008
43009 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43010 Don't define if [__SYSCALL_WORDSIZE != 32].
43011 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43012 New macro.
43013
43014 2012-05-21 Bruno Haible <bruno@clisp.org>
43015 Andreas Jaeger <aj@suse.de>
43016
43017 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43018 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43019 inptr and inend for must_buffer_ch.
43020 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43021 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43022 * stdio-common/Makefile (tests): Remove bug15.
43023 (bug15-ENV): Remove macro.
43024 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43025 anymore.
43026
43027 2012-05-19 Andreas Jaeger <aj@suse.de>
43028 Roland McGrath <roland@hack.frob.com>
43029
43030 * manual/contrib.texi: Completely rewritten. It contains now an
43031 alphabetical list of contributors and their contributions.
43032
43033 2012-05-21 Richard Henderson <rth@twiddle.net>
43034
43035 * misc/getauxval.c (__getauxval): Use unsigned long int.
43036 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43037 (getauxval): Use unsigned long int.
43038
43039 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43040
43041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43042
43043 2012-05-21 Roland McGrath <roland@hack.frob.com>
43044
43045 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43046 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43047 __alignof__ (long double).
43048
43049 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43050
43051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43052
43053 2012-05-20 Richard Henderson <rth@twiddle.net>
43054
43055 * misc/getauxval.c: New file.
43056 * misc/sys/auxv.h: New file.
43057 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43058 (routines): Add getauxval.
43059 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43061 * elf/dl-sysdep.c (_dl_auxv): Remove.
43062 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43063 * elf/dl-support.c (_dl_auxv): New variable.
43064 (_dl_aux_init): Initialize it.
43065 * manual/startup.texi (Auxiliary Vector): New node.
43066 * sysdeps/generic/bits/hwcap.h: New file.
43067 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43068 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43069 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43070 * sysdeps/sparc/sysdep.h: ... here. Include it.
43071 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43074 Update.
43075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43083
43084 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43085
43086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43087
43088 2012-05-19 David S. Miller <davem@davemloft.net>
43089
43090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43091
43092 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43093
43094 [BZ #14123]
43095 * math/s_ccosh.c: Include <float.h>
43096 (__ccosh): Avoid internal overflow calculating sinh and cosh
43097 values before multiplying by sin and cos values.
43098 * math/s_ccoshf.c: Likewise.
43099 * math/s_ccoshl.c: Likewise.
43100 * math/s_csin.c: Likewise.
43101 * math/s_csinf.c: Likewise.
43102 * math/s_csinl.c: Likewise.
43103 * math/s_csinh.c: Likewise.
43104 * math/s_csinhf.c: Likewise.
43105 * math/s_csinhl.c: Likewise.
43106 * math/libm-test.inc (ccos_test): Add more tests.
43107 (ccosh_test): Likewise.
43108 (csin_test): Likewise.
43109 (csinh_test): Likewise.
43110 * sysdeps/i386/fpu/libm-test-ulps: Update.
43111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43112
43113 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43114
43115 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43116 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43117
43118 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43119
43120 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43121
43122 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43123 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43124 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43125 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43126 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43127 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43128 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43129 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43130 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43131 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43132 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43133 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43134 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43135 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43136 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43137 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43138 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43139 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43140 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43141 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43142 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43143 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43144 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43145 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43146 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43147 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43148 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43149 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43150 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43151 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43152 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43153
43154 2012-05-18 Andreas Jaeger <aj@suse.de>
43155
43156 * csu/.gitignore: Delete.
43157
43158 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43159
43160 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43161 (timex): Use __syscall_slong_t.
43162
43163 2012-05-18 Andreas Jaeger <aj@suse.de>
43164 Carlos O'Donell <carlos_odonell@mentor.com>
43165
43166 * manual/install.texi (Configuring and compiling): Update
43167 description about files modified in the source directory.
43168 * INSTALL: Regenerated.
43169
43170 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43171
43172 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43173 value. Use "or" to set return value to -1.
43174 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43175 negate return value.
43176
43177 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43178
43179 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43180 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43181 failure if the compiler has Graphite support disabled.
43182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43183 Likewise.
43184 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43185 (CFLAGS-memmove.c): Likewise.
43186 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43187 Likewise.
43188
43189 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43190
43191 * sysdeps/x86_64/x32/_itoa.h: New file.
43192
43193 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43194 getdents system call only if kernel and user dirents have the
43195 same d_ino and d_off.
43196
43197 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43198 LLONG_MAX != LONG_MAX.
43199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43200 (_fitoa_word): Likewise.
43201
43202 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43203 years.
43204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43205 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43207
43208 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43209 include <bits/wordsize.h>. Check __x86_64__ instead of
43210 __WORDSIZE.
43211 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43212 if __x86_64__ is defined. Use anonymous union on fpstate.
43213
43214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43215 anonymous union.
43216
43217 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43218
43219 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43220 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43221 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43222 Refer to _rtld_local_ro instead of _rtld_global_ro.
43223 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43224 Likewise.
43225 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43226 Likewise.
43227 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43228 Likewise.
43229 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43230 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43231 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43232
43233 * sysdeps/powerpc/powerpc32/dl-machine.c
43234 (__elf_machine_runtime_setup) [PROF]: Don't reference
43235 _dl_prof_resolve.
43236
43237 2012-05-18 Andreas Jaeger <aj@suse.de>
43238
43239 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43240 function only available for GCCs before 3.4 since GCC 3.4
43241 introduced a builtin.
43242 (lrint): Likewise.
43243 (llrintf): Likewise.
43244 (llrint): Likewise.
43245 (fmaxf): Likewise.
43246 (fmax): Likewise.
43247 (fminf): Likewise.
43248 (fmin): Likewise.
43249 (rint): Likewise.
43250 (rintf): Likewise.
43251 (nearbyint): Likewise.
43252 (nearbyintf): Likewise.
43253 (ceil): Likewise.
43254 (ceilf): Likewise.
43255 (floor): Likewise.
43256 (floorf): Likewise.
43257
43258 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43259
43260 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43261 on both fields and cast pointer to __syscall_ulong_t.
43262
43263 * bits/types.h (__fsword_t): New type.
43264 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43265 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43267 (__FSWORD_T_TYPE): Likewise.
43268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43269 (__FSWORD_T_TYPE): Likewise.
43270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43271 (__FSWORD_T_TYPE): Likewise.
43272 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43273 (__FSWORD_T_TYPE): Likewise.
43274 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43275 __SWORD_TYPE with __fsword_t.
43276 (statfs64): Likewise.
43277
43278 2012-05-17 David S. Miller <davem@davemloft.net>
43279
43280 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43281
43282 2012-05-17 Andreas Jaeger <aj@suse.de>
43283
43284 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43285 warning.
43286
43287 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43288
43289 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43290
43291 2012-05-17 Andreas Jaeger <aj@suse.de>
43292
43293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43294 when it is used.
43295
43296 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43297
43298 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43299
43300 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43301
43302 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43303 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43304
43305 2012-05-17 Andreas Jaeger <aj@suse.de>
43306 Carlos O'Donell <carlos_odonell@mentor.com>
43307
43308 [BZ #14059]
43309 * sysdeps/x86_64/multiarch/init-arch.h
43310 (bit_YMM_Usable): Rename to...
43311 (bit_AVX_Usable): ... this.
43312 (bit_FMA4_Usable): New macro.
43313 (bit_XMM_state): New macro.
43314 (bit_YMM_state): New macro.
43315 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43316 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43317 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43318 (CPUID_OSXSAVE): New macro.
43319 (CPUID_AVX): New macro.
43320 (CPUID_FMA4): New macro.
43321 (index_YMM_Usable): Rename to...
43322 (index_AVX_Usable): ... this.
43323 (HAS_AVX): Use HAS_ARCH_FEATURE.
43324 (HAS_FMA4): Likewise.
43325 (HAS_YMM_USABLE): Remove.
43326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43327 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43328 are present.
43329 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43330 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43331 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43332 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43333 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43334
43335 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43336
43337 * math/libm-test.c: Support platforms without multiple rounding modes.
43338 * math/bug-nextafter.c: Support platforms without FP exceptions.
43339 * math/bug-nexttoward.c: Likewise.
43340 * math/test-fenv.c: Likewise.
43341 * math/test-misc.c: Likewise.
43342 * stdlib/bug-getcontext.c: Likewise.
43343
43344 2012-05-17 Andreas Jaeger <aj@suse.de>
43345
43346 * manual/examples/search.c (critter_cmp): Change signature to
43347 avoid warnings.
43348 * manual/string.texi (Collation Functions): Likewise.
43349
43350 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43351
43352 * bits/types.h: Fold copyright years.
43353 * bits/typesizes.h: Likewise.
43354 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43358 * time/time.h: Likewise.
43359
43360 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43361
43362 [BZ #208]
43363 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43364 in instead of returning them. Return void.
43365 (__libc_mallinfo): Accumulate over all arenas.
43366 (__malloc_stats): Adjust for change in int_mallinfo interface.
43367
43368 2012-05-16 Roland McGrath <roland@hack.frob.com>
43369
43370 [BZ #10375]
43371 * configure.in (NM): Add AC_CHECK_TOOL for it.
43372 (libc_extra_cflags): New substituted variable.
43373 Check for -fstack-protector being used implicitly.
43374 * configure: Regenerated.
43375 * config.make.in (config-extra-cflags): New variable,
43376 gets @libc_extra_cflags@.
43377 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43378
43379 [BZ #10375]
43380 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43381 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43382 * configure: Regenerated.
43383 * config.make.in (CPPUNDEFS): New substituted variable.
43384 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43385 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43386 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43387
43388 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43389
43390 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43391 (mq_attr): Use __syscall_slong_t.
43392
43393 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43394
43395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43396 Check __x86_64__ instead of __WORDSIZE.
43397 (_STAT_VER_LINUX): Likewise.
43398 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43399 __syscall_ulong_t and __syscall_slong_t.
43400 (stat64): Likewise.
43401
43402 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43403
43404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43405
43406 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43407
43408 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43409
43410 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43411
43412 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43413 __syscall_ulong_t.
43414
43415 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43416 include <bits/wordsize.h>. Check __x86_64__ instead of
43417 __WORDSIZE.
43418 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43419 defined.
43420 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43421
43422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43423 include <bits/wordsize.h>. Check __x86_64__ instead of
43424 __WORDSIZE.
43425 (user_regs_struct): Use "__extension__ unsigned long long"
43426 instead of "unsigned long" if __x86_64__ is defined.
43427 (user): Likewise. Pad after pointer field if __ILP32__ is
43428 defined.
43429
43430 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43431
43432 * configure.in (makeinfo): Require version 4.5 or later. Allow
43433 versions 5 to 9.
43434 * configure: Regenerated.
43435 * manual/install.texi (texinfo): Increase version requirement to
43436 4.5 or later.
43437 * INSTALL: Regenerated.
43438
43439 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43440
43441 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43442
43443 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43444
43445 * sysdeps/x86_64/x32/ffs.c: New file.
43446
43447 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43448 __syscall_ulong_t.
43449 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43450 defined. Use __syscall_ulong_t.
43451 (shminfo): Use __syscall_ulong_t.
43452 (shm_info): Likewise.
43453
43454 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43455 __syscall_ulong_t.
43456
43457 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43458 <bits/wordsize.h>.
43459 (msgqnum_t): Use __syscall_ulong_t.
43460 (msglen_t): Likewise.
43461 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43462 __syscall_ulong_t.
43463
43464 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43465 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43466
43467 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43468
43469 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43470 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43471
43472 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43473 __syscall_slong_t.
43474
43475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43476 include <bits/wordsize.h>. Check __x86_64__ instead of
43477 __WORDSIZE.
43478
43479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43480 "unsigned long long int" if __x86_64__ is defined.
43481 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43482
43483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43484 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43485 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43486
43487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43488 <stdint.h>.
43489 (GET_PC): Cast to uintptr_t first.
43490 (GET_FRAME): Likewise.
43491 (GET_STACK): Likewise.
43492
43493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43494 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43499 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43500 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43501 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43502 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43503 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43504 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43505 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43506 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43507 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43509 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43510 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43511 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43512 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43518 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43519 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43521 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43522
43523 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43524
43525 * Makerules (+depfiles): Also collect depfiles from .oS in
43526 $(extra-objs).
43527 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43528 .oS, $(libnldbl-routines)).
43529
43530 * Makerules (native-compile-mkdep-flags): Define.
43531 * sunrpc/Makefile (extra-objs): Add $(addprefix
43532 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43533 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43534 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43535 calling $(make-target-directory).
43536
43537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43538
43539 * bits/types.h (__snseconds_t): Removed.
43540 * time/time.h (struct timespec): Replace __snseconds_t with
43541 __syscall_slong_t.
43542 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43543 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43544 Likewise.
43545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43546 (__SNSECONDS_T_TYPE): Likewise.
43547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43548 (__SNSECONDS_T_TYPE): Likewise.
43549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43550 (__SNSECONDS_T_TYPE): Likewise.
43551
43552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43553
43554 * sysdeps/mach/hurd/bits/typesizes.h
43555 (__SYSCALL_SLONG_TYPE): New macro.
43556 (__SYSCALL_ULONG_TYPE): Likewise.
43557
43558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43559
43560 * bits/types.h (__syscall_slong_t): New type.
43561 (__syscall_ulong_t): Likewise.
43562
43563 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43564 (__SYSCALL_ULONG_TYPE): Likewise.
43565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43566 (__SYSCALL_SLONG_TYPE): Likewise.
43567 (__SYSCALL_ULONG_TYPE): Likewise.
43568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43569 (__SYSCALL_SLONG_TYPE): Likewise.
43570 (__SYSCALL_ULONG_TYPE): Likewise.
43571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43572 (__SYSCALL_SLONG_TYPE): Likewise.
43573 (__SYSCALL_ULONG_TYPE): Likewise.
43574
43575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43576
43577 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43578 Add sigaltstack-offsets.sym.
43579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43580 <sigaltstack-offsets.h>.
43581 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43582 longjmp_msg pointer.
43583 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43584 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43585 signal stack.
43586 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43587
43588 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43589
43590 * elf/stackguard-macros.h: Remove file.
43591 * sysdeps/generic/stackguard-macros.h: New file.
43592 * sysdeps/i386/stackguard-macros.h: Likewise.
43593 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43594 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43595 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43596 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43597 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43598 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43599 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43600 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43601 <elf/stackguard-macros.h>.
43602
43603 [BZ #14109]
43604 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43605 __aligned__ in attribute.
43606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43607 (gregset_t): Likewise.
43608
43609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43610
43611 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43612 * sysdeps/x86_64/64/Implies-after: Here. New file.
43613 * sysdeps/x86_64/x32/Implies-after: New file.
43614
43615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43616
43617 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43618 and access return value for _dl_profile_fixup. Use R10_LP to
43619 load frame size.
43620
43621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43622
43623 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43624
43625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43626
43627 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43628 * sysdeps/x86_64/x32/sysdep.h: New file.
43629
43630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43631
43632 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43633 * sysdeps/x86_64/setjmp.S: Likewise.
43634
43635 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43636
43637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43638 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43639 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43641 remove unused global constant.
43642
43643 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43644
43645 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43646 include of <not-cancel.h>.
43647
43648 2012-05-15 Roland McGrath <roland@hack.frob.com>
43649
43650 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43651
43652 2012-05-15 Jeff Law <law@redhat.com>
43653 Andreas Jaeger <aj@suse.de>
43654
43655 [BZ #13594]
43656 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43657 out from...
43658 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43659 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43660 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43661 code changing __hst_map_handle.map.
43662
43663 2012-05-15 Roland McGrath <roland@hack.frob.com>
43664
43665 * configure.in (sysnames): Look for Implies-before and Implies-after
43666 files.
43667 * configure: Regenerated.
43668
43669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43670
43671 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43672 8-byte data alignment with LP_SIZE alignment.
43673
43674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43675
43676 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43677 into R10_LP.
43678
43679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43680
43681 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43682
43683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43684
43685 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43686 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43688 Likewise.
43689 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43690
43691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43692
43693 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43694 (stackinfo_sub_sp): Likewise.
43695
43696 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43697
43698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43699 RAX_LP.
43700
43701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43702
43703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43704 into R*_LP.
43705
43706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43707
43708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43709 sizes into R*_LP.
43710
43711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43712
43713 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43714
43715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43716
43717 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43718 into R11_LP and load __x86_64_shared_cache_size_half into
43719 R8_LP.
43720
43721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43722
43723 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43724 R8_LP.
43725
43726 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43727
43728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43729 logb for POWER7.
43730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43731 logbf for POWER7.
43732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43733 logbl for POWER7.
43734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43735 powerpc32/power7/fpu/s_logb.c via #include.
43736 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43737 powerpc32/power7/fpu/s_logbf.c via #include.
43738 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43739 powerpc32/power7/fpu/s_logbl.c via #include.
43740
43741 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43742
43743 * README.libm: Remove file.
43744
43745 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43746
43747 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43748 count for x32. Use R*_LP and omit operand-size suffix.
43749
43750 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43751
43752 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43753 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43754 * sysdeps/x86_64/x32/shlib-versions: New file.
43755
43756 2012-05-14 Roland McGrath <roland@hack.frob.com>
43757
43758 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43759 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43760 Use _dl_fatal_printf instead.
43761
43762 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43763
43764 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43765 set if not set by the user. Do not allow for being unset.
43766 * sysdeps/unix/sysv/linux/configure: Regenerated.
43767
43768 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43769
43770 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43771 the `q' suffix from lea and replace .quad with ASM_ADDR.
43772
43773 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43774
43775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43776 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43777 instead of $17.
43778 (PTR_DEMANGLE): Likewise.
43779
43780 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43781
43782 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43783 (LP_OP): Likewise.
43784 (ASM_ADDR): Likewise.
43785 (RAX_LP): Likewise.
43786 (RBP_LP): Likewise.
43787 (RBX_LP): Likewise.
43788 (RCX_LP): Likewise.
43789 (RDI_LP): Likewise.
43790 (RSI_LP): Likewise.
43791 (RSP_LP): Likewise.
43792 (R8_LP): Likewise.
43793 (R9_LP): Likewise.
43794 (R10_LP): Likewise.
43795 (R10_LP): Likewise.
43796 (R11_LP): Likewise.
43797 (R12_LP): Likewise.
43798 (R13_LP): Likewise.
43799 (R14_LP): Likewise.
43800 (R15_LP): Likewise.
43801
43802 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43803
43804 * sysdeps/x86_64/x32/dl-machine.h: New file.
43805
43806 2012-05-14 Andreas Jaeger <aj@suse.de>
43807
43808 * manual/Makefile (subdir): Remove export of subdir.
43809 (all): Remove target.
43810 (.PHONY): Remove all from list.
43811 (mkinstalldirs): Remove.
43812 (.PHONY): Remove installdirs from list.
43813 ($(inst_infodir)/libc.info): Use make-target-directory.
43814 (installdirs): Remove.
43815 (subdir_%): Remove.
43816 (glibc-targets): Remove.
43817 (lib): Remove.
43818 (stubs): Remove.
43819 ($(objpfx)stubs ../po/manual.pot): Remove.
43820 ($(objpfx)stamp%): Remove.
43821 (make-target-directory): Remove.
43822 (subdir_install): Remove.
43823 (routines): Remove.
43824 (aux): Remove.
43825 (sources): Remove.
43826 (objects): Remove.
43827 (headers): Remove.
43828
43829 [BZ #13750]
43830 * manual/.gitignore: Remove, it's not needed anymore.
43831 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43832 all files in it.
43833 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43834 directory.
43835 (texis): Renamed to $(objpfx)texis.
43836 (texis-path): New, contains path to generated files.
43837 (chapters.%): Use texis-path for complete path, add extra argument
43838 libc-texinfo.sh.
43839 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43840 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43841 (summary,texi, stamp-summary): Use complete path of
43842 files. Generate files in build dir.
43843 (dir-add.texi): Build in build dir.
43844 (libm-err.texi,stamp-libm-err): Likewise.
43845 (version.texi, stamp-version): Likewise.
43846 (.%c.texi): Likewise.
43847 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43848 (mostlyclean): Remove target.
43849 (realclean): Remove target.
43850 (generated): Add new variable with contents from mostlyclean and
43851 realclean, remove entries duplicated in common-mostlyclean, add
43852 stamp-libm-err and stamp-version.
43853 (generated-dirs): Add libc directory.
43854 ($(inst_infodir)/libc.info): Install files from build dir.
43855
43856 * manual/install.texi (Configuring and compiling): Adjust since
43857 the info files are not part of the tar ball anymore.
43858
43859 2012-05-14 Andreas Jaeger <aj@suse.de>
43860
43861 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43862 variable.
43863
43864 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43865
43866 [BZ #13717]
43867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43868 to 2.2.0 where earlier.
43869 * sysdeps/unix/sysv/linux/configure: Regenerated.
43870 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43871 Remove conditional code.
43872 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43873 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43874 Remove conditional code.
43875 [!__NR_lchown]: Likewise.
43876 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43877 [__NR_lchown]: Likewise.
43878 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43879 comment referencing __ASSUME_LCHOWN_SYSCALL.
43880 * sysdeps/unix/sysv/linux/i386/sigaction.c
43881 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43882 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43883 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43884 Remove conditional code.
43885 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43886 (__protocol_available): Remove #if 0 code.
43887 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43888 conditional code.
43889 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43890 * sysdeps/unix/sysv/linux/kernel-features.h
43891 (__ASSUME_GETCWD_SYSCALL): Don't define.
43892 (__ASSUME_REALTIME_SIGNALS): Likewise.
43893 (__ASSUME_PREAD_SYSCALL): Likewise.
43894 (__ASSUME_PWRITE_SYSCALL): Likewise.
43895 (__ASSUME_POLL_SYSCALL): Likewise.
43896 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43897 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43898 non-SPARC.
43899 (__ASSUME_SIOCGIFNAME): Don't define.
43900 (__ASSUME_MSG_NOSIGNAL): Likewise.
43901 (__ASSUME_SENDFILE): Define unconditionally.
43902 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43903 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43904 conditional code.
43905 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43906 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43907 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43908 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43909 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43910 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43911 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43913 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43916 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43919 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43925 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43931 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43936 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43937 Remove conditional code.
43938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43939 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43940 Remove conditional code.
43941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43942 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43943 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43944 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43945 Remove conditional code.
43946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43947 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43948 Remove conditional code.
43949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43950 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43951 Remove conditional code.
43952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43953 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43954 Remove conditional code.
43955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43956 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43957 Remove conditional code.
43958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43959 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43962 * sysdeps/unix/sysv/linux/sigaction.c
43963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43965 * sysdeps/unix/sysv/linux/sigpending.c
43966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43968 * sysdeps/unix/sysv/linux/sigprocmask.c
43969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43971 * sysdeps/unix/sysv/linux/sigsuspend.c
43972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43974 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43975 (__libc_missing_rt_sigs): Remove.
43976 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43977 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43978 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43979 Remove conditional code.
43980 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43981 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43982 return 1.
43983 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43984 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43985 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43986 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43987
43988 2012-05-14 Andreas Jaeger <aj@suse.de>
43989
43990 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43991 it's not used in glibc.
43992 (__coshm1): Likewise.
43993 (__acosh1p): Likewise.
43994 (__sgn): Likewise.
43995
43996 * manual/string.texi (Copying and Concatenation): Add missing
43997 variable in concat example.
43998 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43999
44000 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44001
44002 [BZ #14103]
44003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44004 __builtin_clzl with __builtin_clzll.
44005
44006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44007
44008 [BZ #14104]
44009 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44010 libc_freeres_ptr.
44011
44012 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44013
44014 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44015 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44016 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44017 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44018
44019 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44020
44021 * NEWS: Update ia64 info.
44022
44023 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44024
44025 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44026 used as bcopy.
44027
44028 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44029
44030 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44031 * sysdeps/unix/syscalls.list (dup3): Likewise.
44032 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44033 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44034
44035 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44036
44037 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44038 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44039
44040 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44041
44042 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44043 thread pointer.
44044 (TLS_IE): Use mov/add instead of movq/addq to load thread
44045 pointer.
44046 (TLS_GD_PREFIX): New.
44047 (TLS_GD): Use it.
44048
44049 2012-05-11 David S. Miller <davem@davemloft.net>
44050
44051 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44052 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44053 (_FPU_SETCW): Likewise.
44054
44055 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44056
44057 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44058 is 32-byte aligned.
44059
44060 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44061
44062 [BZ #11837]
44063 * iconvdata/gb18030.c: Update tables.
44064 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44065 characters specially.
44066 (BODY for TO_LOOP): Add encoding of missing ranges.
44067
44068 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44069
44070 [BZ #13673]
44071 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44072 * sysdeps/mach/hurd/dup3.c: Likewise.
44073 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44074 * sysdeps/powerpc/memmove.c:: Likewise.
44075
44076 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44077
44078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44079 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44080
44081 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44082
44083 * elf/elf.h (R_X86_64_RELATIVE64): New.
44084 (R_X86_64_NUM): Updated.
44085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44086 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44087 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44088 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44089 tst-quad1pie tst-quad2pie
44090 (modules-names): Add tst-quadmod1 tst-quadmod2.
44091 ($(objpfx)tst-quad1): New dependency.
44092 ($(objpfx)tst-quad2): Likewise.
44093 ($(objpfx)tst-quad1pie): Likewise.
44094 ($(objpfx)tst-quad2pie): Likewise.
44095 * sysdeps/x86_64/tst-quad1.c: New file.
44096 * sysdeps/x86_64/tst-quad1pie.c: New file.
44097 * sysdeps/x86_64/tst-quad2.c: Likewise.
44098 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44099 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44100 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44101 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44102 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44103
44104 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44105
44106 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44107 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44108 * streams/stropts.h (t_scalar_t): Define type.
44109
44110 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44111 (_PATH_PRESERVE): Set to "/var/lib".
44112 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44113
44114 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44115 instead of int.
44116
44117 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44118 if __dir_mkfile succeeded.
44119
44120 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44121 checking for _hurd_dtablesize. Unlock it right after having
44122 finished _hurd_dtable allocation.
44123
44124 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44125
44126 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44127 * sysdeps/mach/hurd/configure: Regenerated.
44128 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44129 special-casing to...
44130 * sysdeps/gnu/configure.in: ... this new file.
44131 * sysdeps/unix/sysv/linux/configure: Regenerated.
44132 * sysdeps/gnu/configure: New generated file.
44133
44134 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44135 for Linux: use nsec instead of usec, as well as:
44136 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44137 members of type struct timespec.
44138 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44139 New macros.
44140 (struct stat64): Likewise.
44141 (_STATBUF_ST_NSEC): New macro.
44142 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44143
44144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44145 __strtoul_internal rather than strtoul.
44146
44147 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44148
44149 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44150 and reject them.
44151
44152 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44153
44154 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44155 which preserves existing values.
44156 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44157
44158 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44159
44160 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44161 TIMEOUT values. Return EINVAL for NFDS values either negative or
44162 greater than FD_SETSIZE.
44163
44164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44165
44166 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44167 allocated, call __vm_protect to finish enabling the existing space, and
44168 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44169 allocate the remainder.
44170
44171 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44172
44173 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44174 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44175
44176 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44177
44178 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44179 sysdeps/mach/hurd/readlink.c.
44180
44181 * posix/tst-sysconf.c (posix_options): Only use
44182 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44183 _POSIX_SYNCHRONIZED_IO when they are defined
44184 * sysdeps/mach/hurd/bits/posix_opt.h:
44185 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44186 (_XOPEN_REALTIME): Undefine macro.
44187 (_XOPEN_REALTIME_THREADS): Undefine macro.
44188 (_XOPEN_SHM): Undefine macro.
44189 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44190 macro to -1.
44191 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44192 macro to -1.
44193 (_POSIX_ASYNC_IO): Undefine macro.
44194 (_POSIX_PRIORITIZED_IO): Undefine macro.
44195 (_POSIX_SPIN_LOCKS): Define macro to -1.
44196
44197 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44198 SA_NODEFER, SA_RESETHAND.
44199 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44200 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44201 F_DUPFD_CLOEXEC.
44202
44203 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44204
44205 * elf/Makefile (pldd-modules): Define unconditionally.
44206
44207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44208
44209 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44210
44211 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44212
44213 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44214 Return ENOENT when name is empty.
44215 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44216
44217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44218
44219 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44220
44221 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44222
44223 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44224
44225 Fix mlock in all cases except non-readable pages.
44226 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44227 instead of VM_PROT_ALL as parameter to __vm_wire function.
44228
44229 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44230 (__mkdir): When path is `/', just fail with EEXIST.
44231 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44232
44233 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44234
44235 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44236 <sys/uio.h> (for writev).
44237 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44238 and <sys/param.h> (for MIN).
44239
44240 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44241
44242 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44243 REQUESTED_TIME. Properly set the remaining time and return EINTR
44244 if interrupted.
44245
44246 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44247
44248 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44249 Depend on against $(link-rpcuserlibs).
44250
44251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44252
44253 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44254 (__libc_stack_end): Do not use attribute_relro.
44255 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44256 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44257 to libthread-provided value.
44258 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44259 attribute_relro.
44260
44261 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44262
44263 [BZ #3748]
44264 * bits/libc-lock.h (__libc_once_get): New macro.
44265 * sysdeps/mach/bits/libc-lock.h: Likewise.
44266 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44268 instead of using implementation details.
44269
44270 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44271 * libio/freopen.c: Likewise.
44272 * libio/freopen64.c: Likewise.
44273 * misc/syslog.c: Likewise.
44274 * nscd/connections.c: Likewise.
44275 * nscd/netgroupcache.c: Likewise.
44276 * sysdeps/posix/getcwd.c: Likewise.
44277
44278 2012-05-10 Roland McGrath <roland@hack.frob.com>
44279
44280 * math/w_ilogbf.c: Add #include <limits.h>.
44281
44282 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44283
44284 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44285 path instead of returning without unlocking.
44286
44287 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44288 immediate-write ioctls.
44289 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44290
44291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44292
44293 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44294 __builtin_frame_address instead of making assumptions about the
44295 location of the return address relative to DATA. Force early load of
44296 the return address.
44297 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44298 __builtin_frame_address.
44299
44300 dup3 for GNU Hurd.
44301 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44302 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44303 implement dup3 and do some further code clean-ups.
44304 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44305 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44306
44307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44308
44309 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44310
44311 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44312 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44313 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44314 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44315 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44316 d->port.lock.
44317
44318 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44319 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44320 when handler == SIG_ERR, not when handler != SIG_ERR.
44321
44322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44323
44324 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44325 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44326 definitions.
44327
44328 accept4 for GNU Hurd.
44329 * include/sys/socket.h (__libc_accept4): New prototype.
44330 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44331 to implement __libc_accept4.
44332 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44333 __libc_accept4.
44334 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44335
44336 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44337 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44338 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44339 signal-defines.sym.
44340
44341 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44342
44343 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44344
44345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44346
44347 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44348 assertion on O_CLOEXEC flag.
44349 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44350 * hurd/intern-fd.c: Likewise.
44351 * hurd/port2fd.c: Likewise.
44352
44353 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44354
44355 [BZ #3906]
44356 * bits/in.h (IPV6_PKTINFO): Define new macro.
44357 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44358
44359 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44360
44361 [BZ #13954]
44362 [BZ #13955]
44363 [BZ #13956]
44364 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44366 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44367 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44370 * math/libm-test.inc (logb_test) : Additional logb tests.
44371
44372 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44373 Andreas Jaeger <aj@suse.de>
44374
44375 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44376 * configure: Regenerated.
44377 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44378 * config.make.in (link-obsolete-rpc): New substituted variable.
44379 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44380 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44381 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44382 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44383 so that libc.a contains the symbols.
44384 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44385 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44386 * sunrpc/auth_none.c: Likewise.
44387 * sunrpc/auth_unix.c: Likewise.
44388 * sunrpc/authdes_prot.c: Likewise.
44389 * sunrpc/authuxprot.c: Likewise.
44390 * sunrpc/clnt_gen.c: Likewise.
44391 * sunrpc/clnt_perr.c: Likewise.
44392 * sunrpc/clnt_raw.c: Likewise.
44393 * sunrpc/clnt_simp.c: Likewise.
44394 * sunrpc/clnt_tcp.c: Likewise.
44395 * sunrpc/clnt_udp.c: Likewise.
44396 * sunrpc/clnt_unix.c: Likewise.
44397 * sunrpc/des_crypt.c: Likewise.
44398 * sunrpc/des_soft.c: Likewise.
44399 * sunrpc/get_myaddr.c: Likewise.
44400 * sunrpc/key_call.c: Likewise.
44401 * sunrpc/key_prot.c: Likewise.
44402 * sunrpc/netname.c: Likewise.
44403 * sunrpc/pm_getmaps.c: Likewise.
44404 * sunrpc/pm_getport.c: Likewise.
44405 * sunrpc/pmap_clnt.c: Likewise.
44406 * sunrpc/pmap_prot.c: Likewise.
44407 * sunrpc/pmap_prot2.c: Likewise.
44408 * sunrpc/pmap_rmt.c: Likewise.
44409 * sunrpc/publickey.c: Likewise.
44410 * sunrpc/rpc_cmsg.c: Likewise.
44411 * sunrpc/rpc_common.c: Likewise.
44412 * sunrpc/rpc_dtable.c: Likewise.
44413 * sunrpc/rpc_prot.c: Likewise.
44414 * sunrpc/rpc_thread.c: Likewise.
44415 * sunrpc/rtime.c: Likewise.
44416 * sunrpc/svc.c: Likewise.
44417 * sunrpc/svc_auth.c: Likewise.
44418 * sunrpc/svc_raw.c: Likewise.
44419 * sunrpc/svc_run.c: Likewise.
44420 * sunrpc/svc_tcp.c: Likewise.
44421 * sunrpc/svc_udp.c: Likewise.
44422 * sunrpc/svc_unix.c: Likewise.
44423 * sunrpc/svcauth_des.c: Likewise.
44424 * sunrpc/xcrypt.c: Likewise.
44425 * sunrpc/xdr.c: Likewise.
44426 * sunrpc/xdr_array.c: Likewise.
44427 * sunrpc/xdr_float.c: Likewise.
44428 * sunrpc/xdr_intXX_t.c: Likewise.
44429 * sunrpc/xdr_mem.c: Likewise.
44430 * sunrpc/xdr_rec.c: Likewise.
44431 * sunrpc/xdr_ref.c: Likewise.
44432 * sunrpc/xdr_sizeof.c: Likewise.
44433 * sunrpc/xdr_stdio.c: Likewise.
44434
44435 2012-05-10 Roland McGrath <roland@hack.frob.com>
44436
44437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44438 change. Update copyright years.
44439
44440 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44441
44442 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44443
44444 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44445 Joseph Myers <joseph@codesourcery.com>
44446 Paul Pluzhnikov <ppluzhnikov@google.com>
44447
44448 [BZ #14012]
44449 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44450 requiring rpcgen.
44451 [cross-compiling] (extra-libs): Likewise.
44452 [cross-compiling] (extra-libs-others): Likewise.
44453 [cross-compiling] (librpcsvc-routines): Likewise.
44454 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44455 [cross-compiling] (omit-deps): Likewise.
44456 (sunrpc-CPPFLAGS): New variable.
44457 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44458 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44459 (cross-rpcgen-objs): New variable.
44460 (extra-objs): Append $(cross-rpcgen-objs).
44461 ($(cross-rpcgen-objs)): New rule.
44462 ($(objpfx)cross-rpcgen): Likewise.
44463 (rpcgen-cmd): Define to use $(built-program-file). Expand
44464 comment.
44465 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44466 ($(objpfx)x%.stmp): Likewise.
44467 * sunrpc/proto.h [IS_IN_build] (_): Define.
44468 [IS_IN_build] (_libc_intl_domainname): Likewise.
44469
44470 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44471
44472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44473 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44474 and R_X86_64_TPOFF64.
44475
44476 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44477
44478 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44479 sysdeps/unix/sysv/syscalls.list.
44480 (stime): Likewise.
44481 (utime): Likewise.
44482 * sysdeps/unix/sysv/syscalls.list: Remove file.
44483
44484 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44485
44486 [BZ #3440]
44487 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44488 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44489 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44490 (__LC_IDENTIFICATION): Make these macros useful in #if
44491 expressions, as required by C99.
44492
44493 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44494
44495 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44496 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44497 after this.
44498
44499 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44500
44501 * stdlib/longlong.h: Updated from GCC.
44502
44503 2012-05-09 Andreas Jaeger <aj@suse.de>
44504
44505 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44506 default is first entry.
44507 (run_mode): Set type.
44508 (main): Remove informal message about syslog.
44509 (options): Fix typo.
44510
44511 [BZ #14053]
44512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44513 to asm.
44514 (lrint): Likewise.
44515 (llrintf): Likewise.
44516 (llrint): Likewise.
44517 (rint): Likewise.
44518 (rintf): Likewise.
44519 (nearbyint): Likewise.
44520 (nearbyintf): Likewise.
44521
44522 2012-05-09 Andreas Jaeger <aj@suse.de>
44523 Pedro Alves <palves@redhat.com>
44524
44525 * nscd/nscd.c (run_mode): Use enum.
44526 (main): Cleanup coding style issue.
44527
44528 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44529 Andreas Jaeger <aj@suse.de>
44530
44531 * nscd/nscd.c (go_background): Replaced with...
44532 (run_mode): ... this.
44533 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44534 (options): Add -F --foreground.
44535 (main): Implement it.
44536 (parse_opt): Parse it.
44537
44538 2012-05-09 Andreas Jaeger <aj@suse.de>
44539
44540 [BZ #14083]
44541 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44542 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44543 -Wconversion warning.
44544 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44545 Likewise.
44546
44547 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44548
44549 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44550 == 0.
44551 (LC_ALL): Use macro-int-constant.
44552 (LC_COLLATE): Likewise.
44553 (LC_CTYPE): Likewise.
44554 (LC_MESSAGES): Likewise.
44555 (LC_MONETARY): Likewise.
44556 (LC_NUMERIC): Likewise.
44557 (LC_TIME): Likewise.
44558 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44559 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44561 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44562 Specify type.
44563 [C99-based standards] (float_t): Expect type.
44564 [C99-based standards] (double_t): Expect type.
44565 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44566 type.
44567 [C99-based standards] (HUGE_VALL): Likewise.
44568 [C99-based standards] (INFINITY): Likewise.
44569 [C99-based standards] (NAN): Likewise.
44570 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44571 [C99-based standards] (FP_NAN): Likewise.
44572 [C99-based standards] (FP_NORMAL): Likewise.
44573 [C99-based standards] (FP_SUBNORMAL): Likewise.
44574 [C99-based standards] (FP_ZERO): Likewise.
44575 [C99-based standards] (FP_FAST_FMA): Use
44576 optional-macro-int-constant. Specify type. Require == 1.
44577 [C99-based standards] (FP_FAST_FMAF): Likewise.
44578 [C99-based standards] (FP_FAST_FMAL): Likewise.
44579 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44580 [C99-based standards] (FP_ILOGBNAN): Likewise.
44581 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44582 Specify type.
44583 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44584 [C99-based standards] (math_errhandling): Specify type.
44585 [ISO99 || ISO11] (signgam): Do not allow.
44586 [non-C99-based standards] (copysignf): Do not allow.
44587 [non-C99-based standards] (exp2f): Likewise.
44588 [non-C99-based standards] (log2f): Likewise.
44589 [non-C99-based standards] (modff): Allow.
44590 [non-C99-based standards] (erff): Do not allow.
44591 [non-C99-based standards] (erfcf): Likewise.
44592 [non-C99-based standards] (gammaf): Likewise.
44593 [non-C99-based standards] (hypotf): Likewise.
44594 [non-C99-based standards] (j0f): Likewise.
44595 [non-C99-based standards] (j1f): Likewise.
44596 [non-C99-based standards] (jnf): Likewise.
44597 [non-C99-based standards] (lgammaf): Likewise.
44598 [non-C99-based standards] (tgammaf): Likewise.
44599 [non-C99-based standards] (y0f): Likewise.
44600 [non-C99-based standards] (y1f): Likewise.
44601 [non-C99-based standards] (ynf): Likewise.
44602 [non-C99-based standards] (isnanf): Likewise.
44603 [non-C99-based standards] (acoshf): Likewise.
44604 [non-C99-based standards] (asinhf): Likewise.
44605 [non-C99-based standards] (atanhf): Likewise.
44606 [non-C99-based standards] (cbrtf): Likewise.
44607 [non-C99-based standards] (expm1f): Likewise.
44608 [non-C99-based standards] (ilogbf): Likewise.
44609 [non-C99-based standards] (log1pf): Likewise.
44610 [non-C99-based standards] (logbf): Likewise.
44611 [non-C99-based standards] (nextafterf): Likewise.
44612 [non-C99-based standards] (remainderf): Likewise.
44613 [non-C99-based standards] (rintf): Likewise.
44614 [non-C99-based standards] (scalbf): Likewise.
44615 [non-C99-based standards] (copysignl): Likewise.
44616 [non-C99-based standards] (exp2l): Likewise.
44617 [non-C99-based standards] (log2l): Likewise.
44618 [non-C99-based standards] (modfl): Allow.
44619 [non-C99-based standards] (erfl): Do not allow.
44620 [non-C99-based standards] (erfcl): Likewise.
44621 [non-C99-based standards] (gammal): Likewise.
44622 [non-C99-based standards] (hypotl): Likewise.
44623 [non-C99-based standards] (j0l): Likewise.
44624 [non-C99-based standards] (j1l): Likewise.
44625 [non-C99-based standards] (jnl): Likewise.
44626 [non-C99-based standards] (lgammal): Likewise.
44627 [non-C99-based standards] (tgammal): Likewise.
44628 [non-C99-based standards] (y0l): Likewise.
44629 [non-C99-based standards] (y1l): Likewise.
44630 [non-C99-based standards] (ynl): Likewise.
44631 [non-C99-based standards] (isnanl): Likewise.
44632 [non-C99-based standards] (acoshl): Likewise.
44633 [non-C99-based standards] (asinhl): Likewise.
44634 [non-C99-based standards] (atanhl): Likewise.
44635 [non-C99-based standards] (cbrtl): Likewise.
44636 [non-C99-based standards] (expm1l): Likewise.
44637 [non-C99-based standards] (ilogbl): Likewise.
44638 [non-C99-based standards] (log1pl): Likewise.
44639 [non-C99-based standards] (logbl): Likewise.
44640 [non-C99-based standards] (nextafterl): Likewise.
44641 [non-C99-based standards] (remainderl): Likewise.
44642 [non-C99-based standards] (rintl): Likewise.
44643 [non-C99-based standards] (scalbl): Likewise.
44644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44645 [non-C99-based standards] (FP_*): Do not allow.
44646 [C99-based standards] (FP_*): Change to
44647 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44648 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44649 allow.
44650 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44651 (SIG_ERR): Likewise.
44652 [X/Open-based standards] (SIG_HOLD): Likewise.
44653 (SIG_IGN): Likewise.
44654 (SIGABRT): Use macro-int-constant. Specify type. Require
44655 positive value.
44656 (SIGFPE): Likewise.
44657 (SIGILL): Likewise.
44658 (SIGINT): Likewise.
44659 (SIGSEGV): Likewise.
44660 (SIGTER): Likewise.
44661 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44662 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44663 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44664 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44665 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44666 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44667 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44668 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44669 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44670 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44671 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44672 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44673 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44674 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44675 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44676 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44677 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44678 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44679 [X/Open-based standards] (SIGTRAP): Likewise.
44680 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44681 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44682 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44683 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44684 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44685 allow.
44686
44687 2012-05-08 Ian Wienand <ianw@vmware.com>
44688
44689 [BZ #14080]
44690 * time/tzset.c (__tzset_parse_tz): Update default rules for
44691 daylight time changes in the Energy Policy Act of 2005.
44692
44693 2012-05-09 Andreas Jaeger <aj@suse.de>
44694
44695 [BZ #13983]
44696 * elf/ldconfig.c (parse_conf): Change string to make clear that
44697 ldconfig only issued a warning if ld.so.conf does not exist.
44698
44699 2012-05-08 David S. Miller <davem@davemloft.net>
44700
44701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44702 movxtod instead of popping the value on the stack.
44703
44704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44705
44706 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44707
44708 * config.h.in: Add HAVE_ARM_PCS_VFP.
44709
44710 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44711
44712 [BZ #13979]
44713 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44714 checking but the checks are disabled for any reason.
44715
44716 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44717
44718 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44719 and ELF64_R_TYPE with ELFW(R_TYPE).
44720
44721 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44722
44723 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44724 (ulimit): Likewise.
44725
44726 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44727 (settimeofday): Likewise.
44728
44729 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44730
44731 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44732 a struct th_u2 inside the union, and move tu_block/tu_code into
44733 a new th_u3 union of tu_block/tu_code inside of that. Move
44734 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44735 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44736 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44737 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44738 (th_stuff): Change to th_u1.tu_stuff.
44739 (th_data): Define.
44740 (th_msg): Change to th_u1.th_u2.tu_data.
44741
44742 2012-05-07 David S. Miller <davem@davemloft.net>
44743
44744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44745
44746 [BZ #14074]
44747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44748 (SETUP_PIC_REG): Use it.
44749 (SETUP_PIC_REG_LEAF): Use it.
44750
44751 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44752
44753 [BZ #13885]
44754 [BZ #13923]
44755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44756 USE_AS_EXPM1L.
44757 (EXPL_FINITE): Likewise.
44758 (FLDLOG): Likewise.
44759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44760 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44761 e_expl.S.
44762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44763 USE_AS_EXPM1L.
44764 (EXPL_FINITE): Likewise.
44765 (FLDLOG): Likewise.
44766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44767 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44768 e_expl.S.
44769 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44770 test of -max_value argument for long double.
44771 * sysdeps/i386/fpu/libm-test-ulps: Update.
44772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44773
44774 2012-05-06 David S. Miller <davem@davemloft.net>
44775
44776 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44777 quad soft-float symbols whose references which are compiler
44778 generated.
44779 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44780
44781 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44782
44783 [BZ #13884]
44784 [BZ #13914]
44785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44786 USE_AS_EXP10L.
44787 (EXPL_FINITE): Likewise.
44788 (FLDLOG): Likewise.
44789 (c0): Likewise.
44790 (c1): Likewise.
44791 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44792 Adjust comments for base varying.
44793 (__expl_finite): Change alias to EXPL_FINITE.
44794 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44795 e_expl.S.
44796 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44797 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44799 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44801 USE_AS_EXP10L.
44802 (EXPL_FINITE): Likewise.
44803 (FLDLOG): Likewise.
44804 (c0): Likewise.
44805 (c1): Likewise.
44806 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44807 Adjust comments for base varying.
44808 (__expl_finite): Change alias to EXPL_FINITE.
44809 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44810 tests for bugs.
44811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44812
44813 [BZ #14064]
44814 * math/libm-test.inc (check_float_internal): Correct ulp
44815 calculation for subnormal expected results.
44816
44817 2012-05-06 Andreas Jaeger <aj@suse.de>
44818
44819 * Makeconfig (+math-flags): New, set to -frounding-math.
44820 (+cflags): Add +math-flags so that all of glibc gets compiled with
44821 it.
44822
44823 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44824
44825 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44826
44827 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44828 Disable one test.
44829
44830 [BZ #13787]
44831 [BZ #13922]
44832 [BZ #14036]
44833 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44834 (__ieee754_expl): Allow for and saturate large arguments.
44835 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44836 (u_threshold): Likewise.
44837 (__exp): Call __ieee754_exp before checking for overflow and
44838 underflow.
44839 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44840 (u_threshold): Likewise.
44841 (__expf): Call __ieee754_expf before checking for overflow and
44842 underflow.
44843 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44844 (u_threshold): Likewise.
44845 (__expl): Call __ieee754_expl before checking for overflow and
44846 underflow.
44847 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44848 (__ieee754_expl): Allow for and saturate large arguments.
44849 * math/libm-test.inc (exp_test): Add another test. Do not allow
44850 missing overflow exception on overflow.
44851 (expm1_test): Do not allow missing overflow exception on overflow.
44852
44853 * sysdeps/i386/fpu/e_expl.c: Move to ...
44854 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44855 rather than using inline asm.
44856 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44857 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44858 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44859
44860 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44861 (nice): Likewise.
44862 (poll): Likewise.
44863 (signal): Likewise.
44864 (time): Likewise.
44865 (times): Likewise.
44866
44867 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44868
44869 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44870 sysdeps/unix/common/syscalls.list.
44871 (fchmod): Likewise.
44872 (fchown): Likewise.
44873 (ftruncate): Likewise.
44874 (getrusage): Likewise.
44875 (gettimeofday): Likewise.
44876 (setpgid): Likewise.
44877 (setregid): Likewise.
44878 (setreuid): Likewise.
44879 (sigaction): Likewise.
44880 (truncate): Likewise.
44881 (vhangup): Likewise.
44882 * sysdeps/unix/common/syscalls.list: Remove file.
44883 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44884 * sysdeps/unix/sysv/linux/Implies: Likewise.
44885
44886 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44887
44888 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44890 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44891 Moved to ...
44892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44893 Here.
44894 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44895 to ...
44896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44897 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44898 to ...
44899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44900 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44901 to ...
44902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44903 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44904 to ...
44905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44906 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44907 to ...
44908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44910 to ...
44911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44912 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44913 to ...
44914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44915 Here.
44916 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44917 to ...
44918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44919 Here.
44920 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44921 to ...
44922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44924 Moved to ...
44925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44926 Here.
44927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44928 to ...
44929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44930
44931 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44932
44933 * sysdeps/unix/common/bits/dirent.h: Remove file.
44934 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44935
44936 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44937 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44938 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44939 * sysdeps/unix/bsd/isatty.c: Likewise.
44940 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44941 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44942 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44943
44944 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44945
44946 [BZ #13563]
44947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44948 long double comparison inaccuracies.
44949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44951
44952 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44953
44954 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44956
44957 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44958
44959 [BZ #14049]
44960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44961 nonzero digits before rounding a hex value.
44962 * stdlib/tst-strtod.c (tests): Add another test.
44963
44964 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44965
44966 * sysdeps/s390/fpu/libm-test-ulps: Update.
44967
44968 2012-05-03 Andreas Jaeger <aj@suse.de>
44969
44970 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44971 does not get optimized out.
44972 (malloc_opt_barrier): New.
44973
44974 2012-05-03 Andreas Jaeger <aj@suse.de>
44975 Roland McGrath <roland@hack.frob.com>
44976
44977 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44978 intermediate file deletion.
44979 (generated): Add .symlist files.
44980
44981 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44982
44983 [BZ #13775]
44984 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44985 Redirect under this condition.
44986 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44987 [__USE_GNU] (__dprintf_chk): Not under this condition.
44988 [__USE_GNU] (__vdprintf_chk): Likewise.
44989 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44990 under this condition.
44991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44992 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44993 [__USE_XOPEN2K8] (vdprintf): Likewise.
44994 [__USE_GNU] (__dprintf_chk): Not under this condition.
44995 [__USE_GNU] (__vdprintf_chk): Likewise.
44996 [__USE_GNU] (dprintf): Likewise.
44997 [__USE_GNU] (vdprintf): Likewise.
44998
44999 2012-05-03 Roland McGrath <roland@hack.frob.com>
45000
45001 * elf/Makefile (common-generated): Set this instead of generated for
45002 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45003 $(all-built-dso)-derived lists.
45004
45005 2012-05-03 Andreas Jaeger <aj@suse.de>
45006
45007 * sysdeps/i386/fpu/libm-test-ulps: Update.
45008
45009 * FAQ: Removed.
45010 * FAQ.in: Likewise.
45011 * scripts/gen-FAQ.pl: Likewise.
45012 * manual/install.texi (Installation): Point to online location of
45013 FAQ.
45014 * Makefile (files-for-dist): Remove FAQ.
45015 (FAQ): Remove.
45016
45017 2012-05-02 Allan McRae <allan@archlinux.org>
45018
45019 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45020 (LDFLAGS-reldepmod5.so): Likewise.
45021 (LDFLAGS-reldep6mod1.so): Likewise.
45022 (LDFLAGS-reldep6mod4.so): Likewise.
45023 (LDFLAGS-reldep8mod3.so): Likewise.
45024 (LDFLAGS-unload4mod1.so): Likewise.
45025 (LDFLAGS-unload4mod2.so): Likewise.
45026 (LDFLAGS-tst-initorder): Likewise.
45027 (LDFLAGS-tst-initordera2.so): Likewise.
45028 (LDFLAGS-tst-initordera3.so): Likewise.
45029 (LDFLAGS-tst-initordera4.so): Likewise.
45030 (LDFLAGS-tst-initorderb2.so): Likewise.
45031 (LDFLAGS-noload): Likewise.
45032 (LDFLAGS-next): Likewise.
45033 (LDFLAGS-order2mod1.so): Likewise.
45034 (LDFLAGS-order2mod2.so): Likewise.
45035 (LDFLAGS-tst-initorder2): Likewise.
45036 (LDFLAGS-tst-initorder2a.so): Likewise.
45037 (LDFLAGS-tst-initorder2b.so): Likewise.
45038 (LDFLAGS-tst-initorder2c.so): Likewise.
45039 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45040
45041 2012-05-02 David S. Miller <davem@davemloft.net>
45042
45043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45044
45045 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45046
45047 [BZ #14055]
45048 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45049
45050 2012-05-02 Andreas Jaeger <aj@suse.de>
45051
45052 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45053 since we manipulate rounding mode.
45054 (CPPFLAGS-test-idouble.c): Likewise.
45055 (CPPFLAGS-test-ifloat.c): Likewise.
45056 (CFLAGS-test-ldouble.c): Likewise.
45057 (CFLAGS-test-double.c): Likewise.
45058 (CFLAGS-test-float.c): Likewise.
45059 (CFLAGS-test-misc.c): Likewise.
45060 (CFLAGS-test-test-fenv.c): Likewise.
45061
45062 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45063
45064 [BZ #2550]
45065 [BZ #2570]
45066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45067 comparisons to determine direction to adjust input.
45068
45069 2012-05-01 Roland McGrath <roland@hack.frob.com>
45070
45071 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45072 output to the target.
45073
45074 * scripts/localplt.awk: New file.
45075 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45076 (check-localplt-CFLAGS): Variable removed.
45077 ($(all-built-dso:=.jmprel)): New static pattern rule.
45078 (generated): Add those targets.
45079 (localplt-built-dso): New variable.
45080 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45081
45082 * elf/check-localplt.c: File removed.
45083
45084 * scripts/check-execstack.awk: New file.
45085 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45086 (check-execstack-CFLAGS): Variable removed.
45087 ($(objpfx)check-execstack.h): Target removed.
45088 ($(objpfx)execstack-default): New target.
45089 (generated): Add that instead of check-execstack.h.
45090 ($(all-built-dso:=.phdr)): New static pattern rule.
45091 (generated): Add those targets.
45092 * elf/check-execstack.c: File removed.
45093
45094 * scripts/check-textrel.awk: New file.
45095 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45096 (check-textrel-CFLAGS): Variable removed.
45097 (all-built-dso): Use := to define.o
45098 ($(all-built-dso:=.dyn)): New static pattern rule.
45099 (generated): Add those targets.
45100 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45101 * config.make.in (READELF): New substituted variable.
45102 * elf/check-textrel.c: File removed.
45103
45104 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45105
45106 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45107 allow.
45108 * conform/data/ctype.h-data [C99-based standards] (isblank):
45109 Expect function.
45110 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45111 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45113 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45114 Specify type. Require positive value.
45115 (EILSEQ): Likewise.
45116 (ERANGE): Likewise.
45117 [ISO || POSIX] (EILSEQ): Do not expect.
45118 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45119 Specify type. Require positive value.
45120 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45121 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45122 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45123 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45124 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45125 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45126 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45127 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45128 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45129 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45130 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45131 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45132 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45133 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45134 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45135 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45136 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45137 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45138 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45139 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45140 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45141 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45142 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45143 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45144 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45145 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45146 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45147 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45148 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45149 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45150 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45151 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45152 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45153 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45154 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45155 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45156 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45157 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45158 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45159 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45160 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45161 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45162 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45163 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45164 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45165 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45166 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45167 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45168 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45169 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45170 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45171 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45172 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45173 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45174 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45175 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45176 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45177 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45178 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45179 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45180 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45181 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45182 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45183 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45184 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45185 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45186 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45187 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45188 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45189 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45190 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45191 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45192 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45193 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45194 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45195 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45196 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45197 Require >= 2.
45198 (FLT_ROUNDS): Expect as macro, not constant.
45199 (FLT_MANT_DIG): Use macro-int-constant.
45200 (DBL_MANT_DIG): Likewise.
45201 (LDBL_MANT_DIG): Likewise.
45202 (FLT_DIG): Likewise.
45203 (DBL_DIG): Likewise.
45204 (LDBL_DIG): Likewise.
45205 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45206 (DBL_MIN_EXP): Likewise.
45207 (LDBL_MIN_EXP): Likewise.
45208 (FLT_MAX_EXP): Use macro-int-constant.
45209 (DBL_MAX_EXP): Likewise.
45210 (LDBL_MAX_EXP): Likewise.
45211 (FLT_MAX_10_EXP): Likewise.
45212 (DBL_MAX_10_EXP): Likewise.
45213 (LDBL_MAX_10_EXP): Likewise.
45214 (FLT_MAX): Use macro-constant.
45215 (DBL_MAX): Likewise.
45216 (LDBL_MAX): Likewise.
45217 (FLT_EPSILON): Use macro-constant. Give upper bound.
45218 (DBL_EPSILON): Likewise.
45219 (LDBL_EPSILON): Likewise.
45220 (FLT_MIN): Likewise.
45221 (DBL_MIN): Likewise.
45222 (LDBL_MIN): Likewise.
45223 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45224 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45225 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45226 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45227 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45228 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45229 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45230 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45231 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45232 [ISO11] (FLT_TRUE_MIN): Likewise.
45233 [ISO11] (LDBL_TRUE_MIN): Likewise.
45234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45235 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45236 (SCHAR_MIN): Use macro-int-constant. Specify type.
45237 (SCHAR_MAX): Likewise.
45238 (UCHAR_MAX): Likewise.
45239 (CHAR_MIN): Likewise.
45240 (CHAR_MAX): Likewise.
45241 (MB_LEN_MAX): Use macro-int-constant.
45242 (SHRT_MIN): Use macro-int-constant. Specify type.
45243 (SHRT_MAX): Likewise.
45244 (USHRT_MAX): Likewise.
45245 (INT_MAX): Likewise.
45246 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45247 bound negative.
45248 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45249 bound with "U".
45250 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45251 bound with "L".
45252 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45253 bound negative. Suffix upper bound with "L".
45254 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45255 bound with "UL".
45256 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45257 Specify type.
45258 [C99-based standards] (LLONG_MAX): Likewise.
45259 [C99-based standards] (ULLONG_MAX): Likewise.
45260 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45261 == 0.
45262 [ISO11] (max_align_t): Require type.
45263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45264
45265 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45266 from $CFLAGS, without defining away __attribute__ calls.
45267 (checknamespace): Use $CFLAGS_namespace.
45268
45269 * conform/conformtest.pl (@keywords): Only include C99 keywords
45270 for standards based on C99 or C11.
45271
45272 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45273 Disable tests.
45274 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45275 UNIX98]: Likewise.
45276
45277 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45278 usability of symbols in #if.
45279
45280 * conform/conformtest.pl: If macro or constant types start
45281 "promoted:", expect the symbol to be of the following type
45282 promoted by the integer promotions.
45283
45284 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45285 in one place. Also handle "macro-constant".
45286
45287 * conform/conformtest.pl: Only accept expected macro values with
45288 "==". Parse all "macro" lines in one place.
45289 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45290
45291 * conform/conformtest.pl: Handle braced types on "constant" lines
45292 instead of handling "typed-constant".
45293 * conform/data/signal.h-data: Use "constant" instead of
45294 "typed-constant".
45295
45296 * conform/conformtest.pl: Handle "optional-" at start of lines in
45297 one place rather than duplicating several cases. Handle each
45298 format of "macro" line with initial "optional-".
45299
45300 * conform/conformtest.pl: Only accept expected constant or
45301 optional-constant values with "==". Parse all "constant" lines in
45302 one place. Parse all "optional-constant" lines in one place.
45303 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45304 * conform/data/fmtmsg.h-data: Likewise.
45305 * conform/data/netinet/in.h-data: Likewise.
45306 * conform/data/tar.h-data: Likewise.
45307 * conform/data/limits.h-data: Use "==" form on "constant" and
45308 "optional-constant" lines.
45309
45310 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45311 Use -std=c99 for XOPEN2K.
45312 (@knownproblems): Remove.
45313 (newtoken): Don't check %isknown.
45314
45315 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45316 Do not expect macro.
45317 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45318 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45319 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45320 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45321 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45322 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45323 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45324 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45325 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45326 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45327 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45328 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45329 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45330 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45331 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45332 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45333 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45334 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45335 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45336 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45337 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45338 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45339 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45340 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45341 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45342 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45343 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45344 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45345 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45346 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45347 [XPG3] (acosh): Likewise.
45348 [XPG3] (asinh): Likewise.
45349 [XPG3] (atanh): Likewise.
45350 [XPG3] (cbrt): Likewise.
45351 [XPG3] (expm1): Likewise.
45352 [XPG3] (ilogb): Likewise.
45353 [XPG3] (log1p): Likewise.
45354 [XPG3] (logb): Likewise.
45355 [XPG3] (nextafter): Likewise.
45356 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45357 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45358 [XPG3] (remainder): Likewise.
45359 [XPG3] (rint): Likewise.
45360 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45361 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45362 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45363 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45364 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45365 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45366 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45367 [UNIX98 || XOPEN2K] (scalb): Expect.
45368 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45369 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45370 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45371 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45372 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45373 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45374 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45375 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45376 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45377 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45378 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45379 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45380 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45381 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45382 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45383 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45384 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45385 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45386 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45387 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45388 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45389 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45390 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45391 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45392 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45393 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45394 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45395 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45396 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45397 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45398 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45399 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45400 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45401 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45402 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45403 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45404 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45405 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45406 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45407 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45408 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45409 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45410 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45411 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45412 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45413 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45414 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45415 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45416 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45417 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45418 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45419 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45420 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45421 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45422 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45423 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45424 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45425 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45426 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45427 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45428 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45429 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45430 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45431 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45432 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45433 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45434 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45435 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45436 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45437 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45438 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45439 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45440 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45441 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45442 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45443 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45444 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45445 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45446 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45447 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45448 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45449 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45450 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45451 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45452 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45453 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45454 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45455 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45456 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45457 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45458 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45459 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45460 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45461 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45462 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45463 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45464 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45465 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45466 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45467 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45468 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45469 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45470 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45471 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45472 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45473 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45474 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45475 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45476 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45477 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45482 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45483 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45484 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45485 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45486 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45487 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45488 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45500 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45501 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45505
45506 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45507 _XOPEN_SOURCE_EXTENDED for XPG4.
45508
45509 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45510
45511 * Makeconfig (localtime): Remove variable.
45512 (inst_localtime-file): Likewise.
45513
45514 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45515
45516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45517 Update.
45518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45519 Update.
45520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45521 Update.
45522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45523 Update.
45524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45525 Update.
45526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45527 Update.
45528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45529 Update.
45530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45531 Update.
45532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45533 Update.
45534
45535 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45536
45537 [BZ #2550]
45538 [BZ #2570]
45539 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45540 comparisons to determine direction to adjust input.
45541 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45542 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45544 Likewise.
45545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45546 Likewise.
45547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45548 Likewise.
45549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45551 Likewise.
45552 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45553 Likewise.
45554 * math/libm-test.inc (nexttoward_test): Add more tests.
45555
45556 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45557
45558 [BZ #14040]
45559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45560 in version GLIBC_2.1, not GLIBC_2.0.
45561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45562 Likewise.
45563
45564 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45565
45566 [BZ #13942]
45567 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45568 (1 - x) * (1 + x).
45569 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45570 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45571 * math/libm-test.inc (acos_test): Add more tests.
45572 (asin_test): Likewise.
45573 * sysdeps/i386/fpu/libm-test-ulps: Update.
45574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45575
45576 [BZ #14034]
45577 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45578 of square root.
45579 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45580 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45581 * math/libm-test.inc (acos_test_tonearest): New function.
45582 (acos_test_towardzero): Likewise.
45583 (acos_test_downward): Likewise.
45584 (acos_test_upward): Likewise.
45585 (asin_test_tonearest): Likewise.
45586 (asin_test_towardzero): Likewise.
45587 (asin_test_downward): Likewise.
45588 (asin_test_upward): Likewise.
45589 (main): Call the new functions.
45590 * sysdeps/i386/fpu/libm-test-ulps: Update.
45591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45592
45593 [BZ #13884]
45594 [BZ #13924]
45595 * math/e_exp10.c: Include <float.h>.
45596 (__ieee754_exp10): Handle underflow here rather than multiplying
45597 large negative argument by M_LN10.
45598 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45599 of __ieee754_expf.
45600 * math/e_exp10l.c: Include <float.h>.
45601 (__ieee754_exp10l): Handle underflow here rather than multiplying
45602 large negative argument by M_LN10l.
45603 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45604 spurious overflow exception on underflow.
45605
45606 2012-04-29 Marek Polacek <polacek@redhat.com>
45607
45608 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45609 (__fortify_function): New macro.
45610 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45611 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45612 __extern_always_inline.
45613 * libio/bits/stdio2.h: Likewise.
45614 * libio/bits/stdio.h: Likewise.
45615 * string/string.h: Likewise.
45616 * string/bits/string3.h: Likewise.
45617 * include/stdio.h: Likewise.
45618 * stdlib/bits/stdlib.h: Likewise.
45619 * stdlib/stdlib.h: Likewise.
45620 * rt/bits/mqueue2.h: Likewise.
45621 * rt/mqueue.h: Likewise.
45622 * posix/bits/unistd.h: Likewise.
45623 * posix/unistd.h: Likewise.
45624 * io/bits/poll2.h: Likewise.
45625 * io/bits/fcntl2.h: Likewise.
45626 * io/fcntl.h: Likewise.
45627 * io/sys/poll.h: Likewise.
45628 * misc/bits/syslog.h: Likewise.
45629 * misc/bits/syslog-ldbl.h: Likewise.
45630 * misc/sys/syslog.h: Likewise.
45631 * socket/bits/socket2.h: Likewise.
45632 * socket/sys/socket.h: Likewise.
45633 * debug/tst-chk1.c: Likewise.
45634 * wcsmbs/bits/wchar2.h: Likewise.
45635 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45636 * wcsmbs/wchar.h: Likewise.
45637
45638 2012-04-29 Andreas Jaeger <aj@suse.de>
45639
45640 * Makerules (tests): Remove enable-check-abi protection.
45641 (check-abi-warn): Remove.
45642 (check-abi-%): Remove check-abi-warn usage.
45643
45644 * configure.in: Remove check-abi configure option.
45645 * configure: Regenerated.
45646 * config.make.in (enable-check-abi): Remove.
45647
45648 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45649
45650 [BZ #14033]
45651 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45652 double functions to double *_finite functions.
45653
45654 [BZ #13941]
45655 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45656 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45657 LDBL_MIN_EXP.
45658 * stdio-common/Makefile (tests): Add tst-sprintf3.
45659 * stdio-common/tst-sprintf3.c: New file.
45660
45661 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45662 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45663
45664 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45665
45666 * conform/conformtest.pl: Remove duplicate typed-constant
45667 handling.
45668
45669 2012-04-28 David S. Miller <davem@davemloft.net>
45670
45671 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45672 (check-abi-%): Remove AWK script prerequisite and explicit
45673 abilist directory.
45674 (check-abi): Rewrite to just diff the symlist with the abilist.
45675 (config-tls, config-abi-config): Delete, no longer used.
45676 (update-abi-%): Remove AWK script and explicit abilist directory.
45677 (update-abi): Rewrite to simply compare and conditionally copy the
45678 symlist and the sysdep abilist file. Remove update-abi-config
45679 checks.
45680 * abilist/ld.abilist: Remove.
45681 * abilist/libBrokenLocale.abilist: Remove.
45682 * abilist/libanl.abilist: Remove.
45683 * abilist/libcrypt.abilist: Remove.
45684 * abilist/libdl.abilist: Remove.
45685 * abilist/librt.abilist: Remove.
45686 * abilist/libthread_db.abilist: Remove.
45687 * abilist/libutil.abilist: Remove.
45688 * scripts/extract-abilist.awk: Remove.
45689 * scripts/merge-abilist.awk: Remove.
45690 * sysdeps/generic/libcidn.abilist: New file.
45691 * sysdeps/generic/libnss_compat.abilist: New file.
45692 * sysdeps/generic/libnss_db.abilist: New file.
45693 * sysdeps/generic/libnss_dns.abilist: New file.
45694 * sysdeps/generic/libnss_files.abilist: New file.
45695 * sysdeps/generic/libnss_hesiod.abilist: New file.
45696 * sysdeps/generic/libnss_nis.abilist: New file.
45697 * sysdeps/generic/libnss_nisplus.abilist: New file.
45698 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45699 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45700 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45701 file.
45702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45703 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45704 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45705 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45706 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45707 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45708 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45709 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45710 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45711 file.
45712 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45713 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45714 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45715 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45716 file.
45717 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45718 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45719 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45720 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45722 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45723 file.
45724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45725 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45726 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45727 file.
45728 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45730 New file.
45731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45732 New file.
45733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45734 New file.
45735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45736 New file.
45737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45738 New file.
45739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45740 New file.
45741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45742 New file.
45743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45744 New file.
45745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45746 New file.
45747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45748 New file.
45749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45750 New file.
45751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45752 New file.
45753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45754 New file.
45755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45756 file.
45757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45758 New file.
45759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45760 New file.
45761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45762 file.
45763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45764 New file.
45765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45766 New file.
45767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45768 file.
45769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45770 New file.
45771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45772 New file.
45773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45774 New file.
45775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45776 New file.
45777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45778 New file.
45779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45780 New file.
45781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45783 file.
45784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45785 New file.
45786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45787 file.
45788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45789 file.
45790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45791 file.
45792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45793 file.
45794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45795 file.
45796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45797 New file.
45798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45799 file.
45800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45801 file.
45802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45803 New file.
45804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45805 file.
45806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45808 file.
45809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45810 New file.
45811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45812 file.
45813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45814 file.
45815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45816 file.
45817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45818 file.
45819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45820 file.
45821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45822 New file.
45823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45824 file.
45825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45826 file.
45827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45828 New file.
45829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45830 file.
45831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45832 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45833 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45834 file.
45835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45836 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45837 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45838 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45839 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45841 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45843 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45844 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45847 file.
45848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45849 New file.
45850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45851 file.
45852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45853 file.
45854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45855 file.
45856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45857 file.
45858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45859 file.
45860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45861 New file.
45862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45863 New file.
45864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45865 file.
45866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45867 New file.
45868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45869 file.
45870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45872 file.
45873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45874 New file.
45875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45876 file.
45877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45878 file.
45879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45880 file.
45881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45882 file.
45883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45884 file.
45885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45886 New file.
45887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45888 New file.
45889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45890 file.
45891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45892 New file.
45893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45894 file.
45895
45896 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45897
45898 * conform/conformtest.pl: Fix typo in handling typed-constant from
45899 allow-header.
45900
45901 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45902
45903 * README: Cut down references to pre-2.6 Linux kernels and
45904 Linuxthreads. Update lists of configurations in libc and ports
45905 and sort alphabetically. Say "or newer" with Linux kernel version
45906 requirements.
45907
45908 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45909
45910 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45911
45912 [BZ #887]
45913 * math/libm-test.inc (logb_test_downward): New test to expose
45914 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45915 rounding mode.
45916
45917 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45918
45919 [BZ #14027]
45920 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45921 to be done.
45922 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45923 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45924
45925 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45926
45927 * sysdeps/unix/i386/brk.S: Remove file.
45928 * sysdeps/unix/i386/dl-brk.S: Likewise.
45929 * sysdeps/unix/i386/pipe.S: Likewise.
45930 * sysdeps/unix/i386/sigreturn.S: Likewise.
45931 * sysdeps/unix/i386/syscall.S: Likewise.
45932 * sysdeps/unix/i386/vfork.S: Likewise.
45933 * sysdeps/unix/i386/wait.S: Likewise.
45934
45935 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45936 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45937
45938 * configure.in (arm*-none*): Do not allow without
45939 --enable-hacker-mode.
45940 (netbsd*): Remove case setting base_os.
45941 (386bsd*): Likewise.
45942 (freebsd*): Likewise.
45943 (bsdi*): Likewise.
45944 (osf*): Likewise.
45945 (sunos*): Likewise.
45946 (ultrix*): Likewise.
45947 (newsos*): Likewise.
45948 (dynix*): Likewise.
45949 (*bsd*): Likewise.
45950 (sysv*): Likewise.
45951 (isc*): Likewise.
45952 (esix*): Likewise.
45953 (sco*): Likewise.
45954 (minix*): Likewise.
45955 (irix4*): Likewise.
45956 (irix6*): Likewise.
45957 (solaris[2-9]*): Likewise.
45958 (none): Likewise.
45959 * configure: Regenerated.
45960
45961 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45962
45963 [BZ #11521]
45964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45965 overflow or cancellation in calculating denominator.
45966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45968 down expression to avoid unexpected rounding in newer GCCs.
45969 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45970
45971 2012-04-26 David S. Miller <davem@davemloft.net>
45972
45973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45974 long-double compat symbols.
45975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45988
45989 2012-04-25 David S. Miller <davem@davemloft.net>
45990
45991 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45992 HWCAP_* values only after the memory barriers have been defined.
45993 (atomic_full_barrier): Define.
45994 (atomic_read_barrier): Define.
45995 (atomic_write_barrier): Define.
45996
45997 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45998
45999 * shlib-versions: Add libgcc_s version information.
46000 * sysdeps/generic/libgcc_s.h: Remove.
46001 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46002 libgcc_s.h.
46003 * sysdeps/gnu/unwind-resume.c: Likewise.
46004 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46005
46006 2012-04-25 David S. Miller <davem@davemloft.net>
46007
46008 * sysdeps/unix/sparc/brk.S: Delete.
46009 * sysdeps/unix/sparc/dl-brk.S: Delete.
46010 * sysdeps/unix/sparc/pipe.S: Delete.
46011 * sysdeps/unix/sparc/sysdep.S: Delete.
46012 * sysdeps/unix/sparc/sysdep.h: Delete.
46013 * sysdeps/unix/sparc/vfork.S: Delete.
46014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46015 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46017 (ret_ERRVAL, r0, r1, MOVE): Define.
46018 (JUMPTARGET): Remove.
46019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46020 sysdeps/unix/sparc/sysdep.h
46021 (ENTRY, END): Remove.
46022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46023
46024 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46025
46026 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46027 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46028 -DIS_IN_build.
46029
46030 * timezone/README: Update upstream location and email address for
46031 tzcode and tzdata.
46032 * timezone/zdump.c: Update from tzcode 2012b.
46033 * timezone/zic.c: Likewise.
46034
46035 * configure.in (libc_cv_as_needed): Remove test.
46036 * configure: Regenerated.
46037 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46038 conditional definition.
46039 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46040 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46041 * config.make.in (have-as-needed): Remove variable.
46042
46043 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46044 Paul Pluzhnikov <ppluzhnikov@google.com>
46045
46046 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46047 strings correctly.
46048
46049 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46050
46051 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46052 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46053 * sysdeps/sh/strlen.S: Likewise.
46054
46055 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46056
46057 * sysdeps/unix/fork.S: Remove file.
46058 * sysdeps/unix/i386/fork.S: Likewise.
46059 * sysdeps/unix/sparc/fork.S: Likewise.
46060
46061 * sysdeps/unix/system.c: Remove file.
46062 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46063
46064 * sysdeps/unix/getegid.S: Remove file.
46065 * sysdeps/unix/geteuid.S: Likewise.
46066
46067 2012-04-24 Roland McGrath <roland@hack.frob.com>
46068
46069 * scripts/check-localplt.awk: New file.
46070 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46071 of diff.
46072 * scripts/data/localplt-generic.data: Add a comment.
46073
46074 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46075 NODE when __dir_mkfile failed.
46076 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46077 Reported by Ludovic Courtès <ludo@gnu.org>.
46078
46079 2012-04-24 Andreas Jaeger <aj@suse.de>
46080
46081 * Makerules (common-clean): Also remove gen-as-const-headers
46082 files.
46083
46084 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46085
46086 * Makerules (native-compile): Do not change working directory for
46087 build. Use $(OUTPUT_OPTION) in command.
46088 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46089
46090 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46091
46092 [BZ #13886]
46093 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46094 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46095 * math/libm-test.inc (floor_test): Add more tests.
46096 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46097
46098 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46099
46100 * sysdeps/unix/getdents.c: Remove file.
46101 * sysdeps/unix/sysv/getdents.c: Likewise.
46102 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46103
46104 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46105 sysdeps/unix/mman/syscalls.list.
46106 (mmap): Likewise.
46107 (mprotect): Likewise.
46108 (msync): Likewise.
46109 (munmap): Likewise.
46110 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46111 * sysdeps/unix/mman/syscalls.list: Remove.
46112 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46113
46114 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46115 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46116 * configure: Regenerated.
46117 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46118 $(libgcc_s_suffix).
46119 * config.make.in (libgcc_s_suffix): Remove variable.
46120
46121 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46122
46123 * sysdeps/unix/sysv/gethostname.c: Move to ...
46124 * sysdeps/posix/gethostname.c: ... here.
46125
46126 * sysdeps/unix/execve.S: Remove file.
46127
46128 * sysdeps/unix/_exit.S: Remove file.
46129
46130 2012-04-23 Andreas Jaeger <aj@suse.de>
46131
46132 [BZ #13739]
46133 * manual/Makefile: Remove make dist support, there's no
46134 need for a stand-alone documentation tar ball.
46135 (TEXI2DVI): Define always, it's not in Makeconfig.
46136 (dist): Removed.
46137 (tar-it): Removed.
46138 (edition): Removed.
46139 (glibc-doc-$(edition).tar): Removed
46140 (%.Z): Removed.
46141 (%.gz): Removed.
46142 (%.uu): Removed.
46143 (ETAGS): Remove, it's in Makeconfig.
46144 (move-if-change): Remove, it's in Makeconfig.
46145
46146 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46147
46148 [BZ #13970]
46149 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46150 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46151 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46152 (strtod_l, strtof_l, strtold_l): Remove __wur.
46153 It is not necessarily an error to ignore strtol's return value.
46154 One can reliably look at the stored endptr to decide whether
46155 the number had valid syntax.
46156
46157 2012-04-21 Andreas Jaeger <aj@suse.de>
46158
46159 [BZ #13739]
46160 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46161
46162 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46163
46164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46165 * sysdeps/unix/sysv/Versions: Remove file.
46166
46167 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46168
46169 [BZ #13927]
46170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46171
46172 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46173
46174 [BZ #7064]
46175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46176 version from __vm86.
46177
46178 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46179
46180 * sysdeps/unix/common/lxstat.c: Remove file.
46181 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46182
46183 * sysdeps/unix/sysv/Makefile: Remove file.
46184
46185 * sysdeps/unix/sysv/direct.h: Remove file.
46186
46187 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46188 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46189 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46190 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46191 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46192 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46193 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46194
46195 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46196
46197 * sysdeps/unix/xmknod.c: Remove file.
46198 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46199
46200 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46201
46202 * sysdeps/unix/sysv/i386/time.S: Remove file.
46203
46204 * sysdeps/unix/fxstat.c: Remove file.
46205 * sysdeps/unix/xstat.c: Likewise.
46206 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46207
46208 * sysdeps/unix/sysv/sigaction.c: Remove file.
46209
46210 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46211 (sysdep_headers): Remove variable.
46212 [termio.h not in sysdep_headers] (generated): Likewise.
46213 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46214 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46215 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46216 * sysdeps/unix/sysv/tcflow.c: Likewise.
46217 * sysdeps/unix/sysv/tcflush.c: Likewise.
46218 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46219 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46220 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46221 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46222 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46223
46224 * sysdeps/unix/siglist.c: Remove file.
46225
46226 * sysdeps/unix/getppid.S: Remove file.
46227
46228 * sysdeps/unix/mkdir.c: Remove file.
46229 * sysdeps/unix/rmdir.c: Likewise.
46230
46231 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46232
46233 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46234 ERR_MAX value.
46235 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46236 errlist-compat value.
46237
46238 2012-04-18 David S. Miller <davem@davemloft.net>
46239
46240 * sysdeps/generic/memcopy.h (reg_char): Delete.
46241 * debug/strcat_chk.c: Use char, not reg_char.
46242 * debug/strcpy_chk.c: Likewise.
46243 * debug/strncat_chk.c: Likewise.
46244 * debug/strncpy_chk.c: Likewise.
46245 * string/memchr.c: Likewise.
46246 * string/memrchr.c: Likewise.
46247 * string/rawmemchr.c: Likewise.
46248 * string/strcat.c: Likewise.
46249 * string/strchr.c: Likewise.
46250 * string/strchrnul.c: Likewise.
46251 * string/strcmp.c: Likewise.
46252 * string/strcpy.c: Likewise.
46253 * string/strncat.c: Likewise.
46254 * string/strncmp.c: Likewise.
46255 * string/strncpy.c: Likewise.
46256
46257 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46258
46259 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46260 __builtin_memcopy is called when src and dest ranges are known to not
46261 overlap.
46262
46263 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46264
46265 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46266 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46267 fwd_align_merge macro call.
46268 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46269 bwd_align_merge macro call.
46270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46271
46272 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46273
46274 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46275 bwd_align_merge macros.
46276 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46277 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46279
46280 2012-04-18 David S. Miller <davem@davemloft.net>
46281
46282 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46283
46284 2012-04-18 Andreas Jaeger <aj@suse.de>
46285
46286 [BZ# 6794]
46287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46288 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46289 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46290
46291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46292 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46294
46295 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46296 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46297 Adjust for changed ldbl-128 files.
46298
46299 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46300 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46302
46303 2012-04-17 David S. Miller <davem@davemloft.net>
46304
46305 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46306
46307 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46308
46309 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46310 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46311 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46312 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46313 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46314 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46315
46316 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46317
46318 [BZ #6794]
46319 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46320 * math/libm-test.inc: Add ilogb errno and exception tests.
46321 * math/w_ilogb.c: New file: ilogb wrapper.
46322 * math/w_ilogbf.c: New file: ilogbf wrapper.
46323 * math/w_ilogbl.c: New file: ilogbl wrapper.
46324 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46325 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46326 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46327 exception being thrown with 0.0 as argument.
46328 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46329 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46330 exception being thrown with 0.0 as argument.
46331 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46332 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46333 exception being thrown with 0.0 as argument.
46334 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46335 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46336 exception being thrown with 0.0 as argument.
46337 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46338 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46339 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46340 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46342 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46343 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46344 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46345 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46346
46347 2012-04-17 Petr Baudis <pasky@ucw.cz>
46348
46349 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46350 with altivec.
46351
46352 2012-04-16 Marek Polacek <polacek@redhat.com>
46353
46354 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46355
46356 2012-04-16 Marek Polacek <polacek@redhat.com>
46357
46358 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46359 operands of fdivp instruction.
46360
46361 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46362
46363 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46364 * elf/tst-auditmod3b.c: Likewise.
46365 * elf/tst-auditmod4b.c: Likewise.
46366 * elf/tst-auditmod5b.c: Likewise.
46367 * elf/tst-auditmod6b.c: Likewise.
46368 * elf/tst-auditmod6c.c: Likewise.
46369 * elf/tst-auditmod7b.c: Likewise.
46370 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46371 * sysdeps/x86_64/preconfigure.in: Likewise.
46372 * sysdeps/x86_64/preconfigure: Regenerated.
46373
46374 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46375
46376 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46377 __ILP32__.
46378
46379 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46380
46381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46382 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46383
46384 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46385
46386 [BZ #13973]
46387 * locale/iso-639.def: Fix gl language name. Spotted by
46388 Yaron Shahrabani.
46389
46390 2012-04-12 Roland McGrath <roland@hack.frob.com>
46391
46392 [BZ #2074]
46393 * libio/libio.h (__io_write_fn): Update comment.
46394
46395 2012-04-12 Petr Baudis <pasky@ucw.cz>
46396
46397 [BZ #2074]
46398 * stdio.texi (Hook Functions): The user provided writer function
46399 is not allowed to return -1.
46400
46401 2012-04-11 David S. Miller <davem@davemloft.net>
46402
46403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46404
46405 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46406
46407 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46408 Add a leading slash to rtkaio.
46409
46410 2012-04-11 Jim Meyering <meyering@redhat.com>
46411
46412 [BZ #11959]
46413 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46414 It is not necessarily an error to ignore fwrite's return
46415 value. One can reliably use ferror to test for errors after
46416 the fact.
46417
46418 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46419
46420 * bits/types.h (__snseconds_t): New type.
46421 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46422
46423 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46425 (__SNSECONDS_T_TYPE): Likewise.
46426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46427 (__SNSECONDS_T_TYPE): Likewise.
46428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46429 (__SNSECONDS_T_TYPE): Likewise.
46430
46431 2012-04-10 Andreas Jaeger <aj@suse.de>
46432
46433 [BZ #2636]
46434 * manual/time.texi (Processor Time): Return type of times is
46435 elapsed real time since an arbitrary point in the past.
46436 (CPU Time): Move CLK_TCK from here...
46437 (Processor Time): ...to here. Correct description.
46438 * manual/conf.texi (Constants for Sysconf): Correct description of
46439 _SC_CLK_TCK.
46440
46441 2012-04-10 David S. Miller <davem@davemloft.net>
46442
46443 [BZ #13967]
46444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46445 where the is a gap between DT_REL(A) and DT_JMPREL.
46446
46447 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46448
46449 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46450 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46451 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46452
46453 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46454
46455 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46456 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46457 (dl_main): Handle --inhibit-cache.
46458 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46459 _dl_inhibit_cache.
46460 * elf/dl-load.c (_dl_map_object): Use it.
46461 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46462
46463 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46464
46465 [BZ #13872]
46466 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46467 (__ieee754_powl): Saturate large exponents rather than testing for
46468 overflow of y*log2(x).
46469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46470 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46471 exceptions.
46472
46473 [BZ #11521]
46474 * math/s_ctan.c: Include <float.h>.
46475 (__ctan): Avoid internal overflow or cancellation in calculating
46476 denominator.
46477 * math/s_ctanf.c: Likewise.
46478 * math/s_ctanl.c: Likewise.
46479 * math/s_ctanh.c: Likewise.
46480 * math/s_ctanhf.c: Likewise.
46481 * math/s_ctanhl.c: Likewise.
46482 * math/libm-test.inc (ctan_test): Add more tests.
46483 (ctanh_test): Likewise.
46484 * sysdeps/i386/fpu/libm-test-ulps: Update.
46485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46486
46487 2012-04-09 Andreas Jaeger <aj@suse.de>
46488
46489 [BZ #6894]
46490 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46491 is an optional BSD extension.
46492
46493 [BZ #10254]
46494 * manual/stdio.texi (Opening Streams): Document additional fopen
46495 parameters.
46496
46497 2012-04-09 Roland McGrath <roland@hack.frob.com>
46498
46499 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46500 %eax without telling the compiler.
46501
46502 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46503
46504 [BZ # 13963]
46505 * manual/install.texi: Use sourceware.org.
46506
46507 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46508
46509 [BZ #13873]
46510 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46511 (__ieee754_pow): Generate overflow and underflow using huge*huge
46512 and tiny*tiny rather than just returning constant infinity or zero
46513 for large exponents.
46514 * math/libm-test.inc (pow_test): Require overflow exceptions for
46515 applicable cases of large exponents.
46516
46517 [BZ #706]
46518 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46519 (__ieee754_pow): Use iterative multiplication algorithm only for
46520 integer exponents with absolute value below 1024. Check for odd
46521 integer exponents when using algorithm for real exponents.
46522 * math/libm-test.inc (pow_test): Add more tests.
46523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46524
46525 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46526
46527 [BZ #13705]
46528 * math/libm-test.inc (exp_test): Do not allow overflow exception
46529 on underflow test.
46530
46531 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46532
46533 [BZ #13705]
46534 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46535 instead of __kernel_standard_f.
46536
46537 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46538
46539 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46540 * sysdeps/x86_64/memset_chk.S: Likewise.
46541
46542 2012-04-08 Andreas Jaeger <aj@suse.de>
46543
46544 [BZ #10153]
46545 * manual/startup.texi (Environment Access): Describe return value
46546 for putenv and setenv.
46547
46548 [BZ #6895]
46549 * manual/filesys.texi (Directory Entries): Add description for
46550 DT_LNK.
46551
46552 [BZ #6890]
46553 * manual/filesys.texi (Directory Entries): Clarify that it's file
46554 system not operating system in the description of DT_UNKNOWN.
46555
46556 [BZ #6578]
46557 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46558
46559 2012-04-08 Stephen Compall <s11@member.fsf.org>
46560
46561 [BZ #6649]
46562 * manual/llio.texi (Opening and Closing Files): Add cross
46563 reference to explain mode argument.
46564
46565 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46566
46567 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46568 * sysdeps/x86_64/memset_chk.S: Likewise.
46569
46570 2012-04-07 David S. Miller <davem@davemloft.net>
46571
46572 * elf/elf.h (R_SPARC_WDISP10): Define.
46573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46574 R_SPARC_SIZE32.
46575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46576 R_SPARC_SIZE64 and R_SPARC_H34.
46577
46578 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46579
46580 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46581 conditions and remove no longer applicable assertion.
46582
46583 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46584
46585 * bits/byteswap.h: Include <features.h>.
46586 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46587 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46588
46589 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46590
46591 * bits/byteswap.h (__bswap_16): Removed.
46592 Include <bits/byteswap-16.h> to get __bswap_16.
46593 * sysdeps/i386/bits/byteswap.h: Likewise.
46594 * sysdeps/s390/bits/byteswap.h: Likewise.
46595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46596 * bits/byteswap-16.h: New file.
46597 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46598 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46599 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46600 * string/Makefile (headers): Add bits/byteswap-16.h.
46601
46602 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46603
46604 [BZ #13895]
46605 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46606 extra indirection.
46607 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46608 * nss/tst-nss-static.c: New.
46609
46610 2012-04-06 Robert Millan <rmh@gnu.org>
46611
46612 [BZ #6486]
46613 * manual/llio.texi (File Position Primitive): lseek
46614 refers to WHENCE when it really means OFFSET.
46615
46616 2012-04-06 Andreas Jaeger <aj@suse.de>
46617
46618 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46619 strncmp declarations.
46620
46621 * abilist/libc.abilist: Add __poll and __ppoll.
46622
46623 2012-04-05 David S. Miller <davem@davemloft.net>
46624
46625 * scripts/check-local-headers.sh: Accept a host triplet in the
46626 path matched by the exclude regexp.
46627
46628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46629 definition.
46630 * sysdeps/powerpc/powerpc32/dl-machine.h
46631 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46632 * sysdeps/s390/s390-32/dl-machine.h
46633 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46634 * sysdeps/sparc/sparc32/dl-machine.h
46635 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46636 * sysdeps/sparc/sparc64/dl-machine.h
46637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46638
46639 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46640 lazy binding.
46641 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46642 undefined symbol errors.
46643
46644 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46645 DT_NEEDED entries.
46646
46647 2012-04-05 Michael Matz <matz@suse.de>
46648
46649 [BZ #13592]
46650 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46651
46652 2012-04-05 Andreas Jaeger <aj@suse.de>
46653
46654 [BZ #13908]
46655 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46656 comment.
46657
46658 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46659
46660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46661 which ROUND is no valid rounding mode.
46662
46663 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46664
46665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46666 read again.
46667 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46668
46669 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46670
46671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46672 an exception using FPU order intentionally.
46673
46674 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46675
46676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46677 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46678 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46679 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46680
46681 2012-04-05 Simon Josefsson <simon@josefsson.org>
46682
46683 [BZ #12340]
46684 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46685 EINVAL when BUFLEN is too smal.
46686
46687 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46688
46689 [BZ #13553]
46690 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46691 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46692
46693 2012-04-03 Andreas Jaeger <aj@suse.de>
46694
46695 [BZ #13938]
46696 * manual/setjmp.texi (System V contexts): Fix sentence.
46697
46698 [BZ #13926]
46699 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46700 New macro for this case.
46701 [!__GNUC__] (__bswap_64): New inline function for this case.
46702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46703 * bits/byteswap.h: Likewise.
46704 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46705 ull, guard with __GLIBC_HAVE_LONG_LONG.
46706
46707 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46708 __GLIBC_HAVE_LONG_LONG.
46709
46710 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46711 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46712
46713 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46714
46715 [BZ #13691]
46716 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46717 inptr and inend, rather than using last_ch.
46718
46719 2012-04-02 David S. Miller <davem@davemloft.net>
46720
46721 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46722 * stdio-common/printf-parse.h (read_int): Change return type to
46723 'int', return -1 on INT_MAX overflow.
46724 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46725 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46726 overflows INT_MAX. Check for overflow of in-format-string precision
46727 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46728 SIZE_MAX not INT_MAX for integer overflow test.
46729 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46730 skip the construct in the format string but do not record anything.
46731 * stdio-common/bug22.c: Adjust to test both width/prevision
46732 INT_MAX overflow as well as total length INT_MAX overflow. Check
46733 explicitly for proper errno values.
46734
46735 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46736
46737 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46738 CHAR_MAX.
46739 * string/test-strcmp.c [! WIDE]: Likewise.
46740 * time/tst-mktime2.c: Likewise for INT_MAX.
46741 * string/test-string.h: #include <sys/param.h> for MIN.
46742
46743 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46744 * sysdeps/i386/init-first.c (init): Likewise.
46745 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46746 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46747 * sysdeps/sh/init-first.c (init): Likewise.
46748
46749 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46750
46751 * po/ru.po: Update from translation team.
46752 * po/vi.po: Likewise.
46753
46754 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46755
46756 * resolv/nss_dns/dns-host.c: Merge copyright years.
46757
46758 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46759
46760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46761 Optimize memcpy with prefetch if
46762 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46763 src, dst pointers have unequal 16 byte alignments.
46764
46765 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46766
46767 [BZ #13928]
46768 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46769 from a CNAME entry and return the minimum ttl for the query.
46770 (gaih_getanswer_slice): Likewise.
46771
46772 2012-03-30 Jeff Law <law@redhat.com>
46773
46774 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46775 due to long keys.
46776 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46777 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46778
46779 * resolv/nss_dns/dns-host.c: Update copyright year.
46780
46781 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46782
46783 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46784 requests to save a system call. Fix check that all bytes are sent.
46785
46786 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46787 comments for sendmmsg.
46788
46789 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46790
46791 [BZ #13691]
46792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46793 with only 1 character between 0x0041 and 0x01b0.
46794 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46795 * wcsmbs/tst-mbsnrtowcs.c: New file.
46796
46797 2012-03-29 David S. Miller <davem@davemloft.net>
46798
46799 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46800 small copies by hand.
46801
46802 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46803
46804 [BZ #13761]
46805 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46806 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46807 group memberships.
46808
46809 2012-03-28 David S. Miller <davem@davemloft.net>
46810
46811 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46812 that branches into memcpy.
46813 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46815 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46816 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46818 bits.
46819 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46820 implementation too.
46821 * sysdeps/sparc/mempcpy.S: New file.
46822
46823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46824 the IFUNC routine in the libc case.
46825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46826
46827 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46828 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46829 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46830 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46831 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46832 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46833 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46834 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46835
46836 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46837 loop to 256 bytes instead of 64 bytes and fix test signedness.
46838
46839 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46840 * sysdeps/sparc/sparc32/Makefile: rather than here...
46841 * sysdeps/sparc/sparc64/Makefile: and here.
46842
46843 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46844
46845 * malloc/mallocbug.c: Avoid warnings about unused variables.
46846
46847 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46848
46849 [BZ #13760]
46850 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46851 in the right place. Discard and retry query if response is
46852 larger than input buffer size.
46853
46854 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46855
46856 [BZ #369]
46857 [BZ #2678]
46858 [BZ #3866]
46859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46860 x for large integer exponent.
46861 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46862 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46863 sign of result as needed afterwards.
46864 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46866 result for underflowing pow the same as for overflow.
46867 (__kernel_standard_l): Handle powl overflow and underflow here
46868 rather than calling __kernel_standard.
46869 * math/libm-test.inc (pow_test): Add more tests.
46870
46871 [BZ #3868]
46872 [BZ #13879]
46873 [BZ #13910]
46874 [BZ #13911]
46875 [BZ #13912]
46876 [BZ #13913]
46877 [BZ #13915]
46878 [BZ #13916]
46879 [BZ #13917]
46880 [BZ #13918]
46881 [BZ #13919]
46882 [BZ #13920]
46883 [BZ #13921]
46884 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46885 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46886 (__kernel_standard_l): New function.
46887 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46888 __kernel_standard.
46889 * math/w_acosl.c (__acosl): Likewise.
46890 * math/w_asinl.c (__asinl): Likewise.
46891 * math/w_atan2l.c (__atan2l): Likewise.
46892 * math/w_atanhl.c (__atanhl): Likewise.
46893 * math/w_coshl.c (__coshl): Likewise.
46894 * math/w_exp10l.c (__exp10l): Likewise.
46895 * math/w_exp2l.c (__exp2l): Likewise.
46896 * math/w_fmodl.c (__fmodl): Likewise.
46897 * math/w_hypotl.c (__hypotl): Likewise.
46898 * math/w_j0l.c (__j0l, __y0l): Likewise.
46899 * math/w_j1l.c (__j1l, __y1l): Likewise.
46900 * math/w_jnl.c (__jnl, __ynl): Likewise.
46901 * math/w_lgammal.c (__lgammal): Likewise.
46902 * math/w_log10l.c (__log10l): Likewise.
46903 * math/w_log2l.c (__log2l): Likewise.
46904 * math/w_logl.c (__logl): Likewise.
46905 * math/w_powl.c (__powl): Likewise.
46906 * math/w_remainderl.c (__remainderl): Likewise.
46907 * math/w_scalbl.c (sysv_scalbl): Likewise.
46908 * math/w_sinhl.c (__sinhl): Likewise.
46909 * math/w_sqrtl.c (__sqrtl): Likewise.
46910 * math/w_tgammal.c (__tgammal): Likewise.
46911 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46912 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46913 * math/libm-test.inc (acos_test): Add more tests.
46914 (acosh_test): Likewise.
46915 (asin_test): Likewise.
46916 (atanh_test): Likewise.
46917 (exp_test): Likewise.
46918 (exp10_test): Likewise.
46919 (exp2_test): Likewise.
46920 (expm1_test): Likewise.
46921 (lgamma_test): Likewise.
46922 (log_test): Likewise.
46923 (log10_test): Likewise.
46924 (log1p_test): Likewise.
46925 (log2_test): Likewise.
46926 (pow_test): Do not allow some spurious overflow exceptions.
46927 (sqrt_test): Add more tests.
46928 (tgamma_test): Likewise.
46929 (y0_test): Likewise.
46930 (y1_test): Likewise.
46931 (yn_test): Likewise.
46932
46933 2012-03-27 Anton Blanchard <anton@samba.org>
46934
46935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46936 MAP_HUGETLB.
46937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46940
46941 2012-03-27 David S. Miller <davem@davemloft.net>
46942
46943 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46944
46945 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46946 have-as-vis3 check.
46947
46948 2012-03-27 Andreas Jaeger <aj@suse.de>
46949
46950 * sysdeps/x86_64/elf/configure.in: Moved to ...
46951 * sysdeps/x86_64/configure.in: ... here.
46952 * sysdeps/x86_64/elf/start.S: Moved to ...
46953 * sysdeps/x86_64/start.S: ... here.
46954 * sysdeps/x86_64/elf/configure: Delete.
46955
46956 * sysdeps/x86_64/configure.in: Merge contents from
46957 sysdeps/i386/configure.in (without i686 check).
46958
46959 * sysdeps/i386/elf/Versions: Merge into ...
46960 * sysdeps/i386/Versions: ... this.
46961 * sysdeps/i386/elf/Versions: Delete file.
46962 * sysdeps/i386/elf/start.S: Moved to ...
46963 * sysdeps/i386/start.S: ...here.
46964 * sysdeps/i386/elf/configure.in: Merge into...
46965 * sysdeps/i386/configure.in: ...here.
46966 * sysdeps/i386/elf/configure.in: Delete file.
46967 * sysdeps/i386/elf/configure: Delete file.
46968
46969 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46970 * debug/backtracesyms.c: ... here.
46971 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46972 * debug/backtracesymsfd.c: ... here.
46973 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46974 * sysdeps/generic/ifunc-sel.h: ... here.
46975
46976 * sysdeps/unix/i386/start.c: Delete file.
46977 * sysdeps/unix/sparc/start.c: Delete file.
46978 * sysdeps/unix/start.c: Delete file.
46979
46980 * sysdeps/sh/elf/configure.in: Moved to ...
46981 * sysdeps/sh/configure.in: ... here.
46982 * sysdeps/sh/elf/start.S: Moved to ...
46983 * sysdeps/sh/start.S: ... here.
46984 * sysdeps/sh/elf/configure: Delete file.
46985
46986 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46987 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46988 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46989 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46990 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46991 * sysdeps/powerpc/powerpc64/start.S: here.
46992 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46993 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46994 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46995 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46996 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46997
46998 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46999 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47000 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47001 * sysdeps/powerpc/powerpc32/start.S: ... here.
47002 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47003 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47004 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47005
47006 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47007 * sysdeps/powerpc/ifunc-sel.h: ... here.
47008 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47009 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47010
47011 * sysdeps/sparc/elf/configure.in: Moved to ...
47012 * sysdeps/sparc/configure.in: ... here.
47013 * sysdeps/sparc/elf/configure: Delete file.
47014 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47015 * sysdeps/sparc/sparc32/start.S: ... here.
47016 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47017 * sysdeps/sparc/sparc64/start.S: ... here.
47018 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47019 * sysdeps/sparc/sparc32/Makefile: ... this.
47020 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47021 * sysdeps/sparc/sparc64/Makefile: ... this.
47022
47023 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47024 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47025 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47026 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47027 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47028 * sysdeps/s390/s390-32/setjmp.S: ... here.
47029 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47030 * sysdeps/s390/s390-32/configure.in: ... here.
47031 * sysdeps/s390/s390-32/elf/configure: Delete file.
47032 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47033 * sysdeps/s390/s390-32/start.S: ... here.
47034
47035 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47036 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47037 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47038 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47039 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47040 * sysdeps/s390/s390-64/setjmp.S: ... here.
47041 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47042 * sysdeps/s390/s390-64/configure.in: ... here
47043 * sysdeps/s390/s390-64/elf/configure: Delete file.
47044 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47045 * sysdeps/s390/s390-64/start.S: ... here.
47046 * sysdeps/s390/s390-64/elf/configure: Delete.
47047
47048 * configure.in: Remove support for elf directories in sysdeps.
47049
47050 * configure: Regenerated.
47051 * sysdeps/i386/configure: Regenerated.
47052 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47053 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47054 * sysdeps/s390/s390-32/configure: Regenerated.
47055 * sysdeps/s390/s390-64/configure: Regenerated.
47056 * sysdeps/sh/configure: Regenerated.
47057 * sysdeps/sparc/configure: Regenerated.
47058 * sysdeps/x86_64/configure: Regenerated.
47059
47060 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47061
47062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47063
47064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47065 denormal result into account.
47066
47067 2012-03-25 Roland McGrath <roland@hack.frob.com>
47068
47069 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47070 Reported by Allan McRae <allan@archlinux.org>.
47071
47072 2012-03-23 Jeff Law <law@redhat.com>
47073
47074 * nss/getnssent.c (__nss_getent): Fix typo.
47075
47076 2012-03-23 David S. Miller <davem@davemloft.net>
47077
47078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47079
47080 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47081
47082 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47083 to pad to uint64_t for each field.
47084 (dl_tls_index): Replace unsigned long with uint64_t.
47085
47086 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47087 Paul Pluzhnikov <ppluzhnikov@google.com>
47088
47089 [BZ #6528]
47090 * grp/Makefile (otherlibs): Don't set it.
47091 * inet/Makefile (otherlibs): Likewise.
47092 * login/Makefile (otherlibs): Likewise.
47093 * nscd/Makefile (otherlibs): Likewise.
47094 * posix/Makefile (otherlibs): Likewise.
47095 * pwd/Makefile (otherlibs): Likewise.
47096 * rt/Makefile (otherlibs): Likewise.
47097 * sunrpc/Makefile (otherlibs): Likewise.
47098 * nss/Makefile (otherlibs): Likewise.
47099 Add libnss_files to routines and static-only-routines.
47100 ($(objpfx)getent): Remove rule.
47101 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47102 static-only-routines.
47103
47104 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47105
47106 [BZ #13892]
47107 * math/s_cexp.c: Include <float.h>.
47108 (__cexp): Handle exp result overflowing not necessarily
47109 overflowing both real and imaginary parts of result.
47110 * math/s_cexpf.c: Likewise.
47111 * math/s_cexpl.c: Likewise.
47112 * math/libm-test.inc (cexp_test): Add more tests.
47113 * sysdeps/i386/fpu/libm-test-ulps: Update.
47114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47115
47116 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47117
47118 * include/link.h (ELFW): New macro.
47119 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47120 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47121
47122 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47123
47124 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47125 with uint64_t.
47126
47127 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47128
47129 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47130 declaration.
47131 (struct La_x32_retval): Likewise.
47132
47133 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47134
47135 * sysdeps/x86_64/preconfigure.in: New file.
47136 * sysdeps/x86_64/preconfigure: New generated file.
47137
47138 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47139
47140 [BZ #13824]
47141 * math/e_exp2l.c: Include <float.h>.
47142 (__ieee754_exp2l): Handle overflow and underflow cases
47143 separately. Only pass fractional part of argument to
47144 __ieee754_expl.
47145 * math/libm-test.inc (exp2_test): Add more tests.
47146
47147 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47148 negating x to take absolute value.
47149 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47150 Likewise.
47151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47153 Likewise.
47154 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47155 computing low part if x was negated.
47156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47157
47158 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47159
47160 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47161 la_x32_gnu_pltexit.
47162 (pltexit): Cast int_retval to ptrdiff_t.
47163 * elf/tst-auditmod3b.c: Likewise.
47164 * elf/tst-auditmod4b.c: Likewise.
47165 * elf/tst-auditmod5b.c: Likewise.
47166 * elf/tst-auditmod6b.c: Likewise.
47167 * elf/tst-auditmod6c.c: Likewise.
47168 * elf/tst-auditmod7b.c: Likewise.
47169
47170 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47171 and x32_gnu_pltexit.
47172
47173 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47174 __ELF_NATIVE_CLASS.
47175 (La_x32_regs): New macro.
47176 (La_x32_retval): Likewise.
47177 (la_x32_gnu_pltenter): New function prototype.
47178 (la_x32_gnu_pltexit): Likewise.
47179
47180 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47181
47182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47183 exponent.
47184
47185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47186
47187 * configure.in (libc_cv_cc_nofma): Check for option to disable
47188 generation of FMA instructions.
47189 * configure: Regenerate.
47190 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47191 * sysdeps/ieee754/dbl-64/Makefile: New file.
47192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47193 Remove brandred-fma4.
47194 (CFLAGS-brandred-fma4.c): Remove.
47195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47197 define.
47198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47199 define.
47200
47201 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47202
47203 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47204 LLONG_MAX != LONG_MAX.
47205 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47206 (_fitoa_word): Likewise.
47207 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47208 LLONG_MAX != LONG_MAX.
47209 * stdio-common/_itowa.h: Include <_itoa.h>.
47210 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47211 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47212 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47213 only if not defined.
47214 (_ITOA_WORD_TYPE): Likewise.
47215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47216 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47217
47218 2012-03-21 David S. Miller <davem@davemloft.net>
47219
47220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47221
47222 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47223
47224 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47225 of x86_64 when setting libc_cv_slibdir, libdir and
47226 libc_cv_localedir.
47227 * sysdeps/unix/sysv/linux/configure: Regenerated.
47228
47229 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47230
47231 * manual/lang.texi (Old Varargs): Remove section.
47232 (How Variadic): Update menu.
47233 (va_start): Do not mention varargs.h.
47234
47235 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47236 Joseph Myers <joseph@codesourcery.com>
47237
47238 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47239 link test.
47240 * configure: Regenerated.
47241
47242 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47243
47244 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47245 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47246 conformtest.pl
47247
47248 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47249
47250 * NOTES: Remove.
47251 * Makefile (files-for-dist): Remove NOTES.
47252 (NOTES): Remove rule.
47253 * README: Don't refer to NOTES.
47254 * manual/creature.texi: Don't include macros.texi.
47255 * manual/intro.texi (creature.texi): Remove comment referring to
47256 NOTES.
47257
47258 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47259 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47260 * configure: Regenerated.
47261 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47262 LIBC_TRY_CC_OPTION.
47263 (libc_cv_as_i686): Likewise.
47264 (libc_cv_cc_avx): Likewise.
47265 (libc_cv_cc_sse2avx): Likewise.
47266 (libc_cv_cc_fma4): Likewise.
47267 (libc_cv_cc_novzeroupper): Likewise.
47268 * sysdeps/i386/configure: Regenerated.
47269
47270 [BZ #13883]
47271 * sysdeps/i386/fpu/s_cexp.S: Remove.
47272 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47274 * math/libm-test.inc (cexp_test): Add more tests.
47275 * sysdeps/i386/fpu/libm-test-ulps: Update.
47276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47277
47278 2012-03-21 Allan McRae <allan@archlinux.org>
47279
47280 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47281
47282 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47283
47284 [BZ #13871]
47285 * math/w_exp2.c: Do not include <float.h>.
47286 (o_threshold, u_threshold): Remove.
47287 (__exp2): Calculate result before checking finiteness and calling
47288 __kernel_standard.
47289 * math/w_exp2f.c: Likewise.
47290 * math/w_exp2l.c: Likewise.
47291 * math/libm-test.inc (exp2_test): Require overflow exception for
47292 1e6 input.
47293
47294 [BZ #3866]
47295 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47296 range of signed 64-bit integers before using fistpll. Remove
47297 checks for whether integers fit in mantissa bits.
47298 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47299 the range of signed 32-bit integers before using fistpl. Remove
47300 checks for whether integers fit in mantissa bits.
47301 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47302 (__ieee754_powl): Test for y outside the range of signed 64-bit
47303 integers before using fistpll. Reduce 64-bit values to 63-bit
47304 ones as needed.
47305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47306 divide-by-zero is raised for zero to large negative powers.
47307 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47308 (__ieee754_powl): Test for y outside the range of signed 64-bit
47309 integers before using fistpll. Reduce 64-bit values to 63-bit
47310 ones as needed.
47311 * math/libm-test.inc (pow_test): Add more tests.
47312
47313 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47314
47315 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47316 <stdio-common/_itoa.h>.
47317 * debug/segfault.c: Likewise.
47318 * elf/dl-cache.c: Likewise.
47319 * elf/dl-minimal.c: Likewise.
47320 * elf/dl-misc.c: Likewise.
47321 * elf/dl-sysdep.c: Likewise.
47322 * elf/dl-version.c: Likewise.
47323 * elf/rtld.c: Likewise.
47324 * hurd/hurdsock.c: Likewise.
47325 * hurd/lookup-retry.c: Likewise.
47326 * malloc/malloc.c: Likewise.
47327 * malloc/mtrace.c: Likewise.
47328 * nscd/nscd_getgr_r.c: Likewise.
47329 * nscd/nscd_getpw_r.c: Likewise.
47330 * nscd/nscd_getserv_r.c: Likewise.
47331 * posix/getopt_init.c: Likewise.
47332 * posix/wordexp.c: Likewise.
47333 * stdio-common/_itoa.c: Likewise.
47334 * stdio-common/printf_fphex.c: Likewise.
47335 * stdio-common/vfprintf.c: Likewise.
47336 * string/_strerror.c: Likewise.
47337 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47338 * sysdeps/i386/i686/hp-timing.h: Likewise.
47339 * sysdeps/mach/_strerror.c: Likewise.
47340 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47341 * sysdeps/mach/hurd/sethostid.c: Likewise.
47342 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47343 * sysdeps/mach/xpg-strerror.c: Likewise.
47344 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47345 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47346 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47347 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47348 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47349 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47350 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47351 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47352 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47353 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47354 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47355 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47356 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47357 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47358 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47359 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47360 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47361 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47362 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47363 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47364 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47365
47366 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47367
47368 * stdio-common/_itoa.h: Moved to ...
47369 * sysdeps/generic/_itoa.h: Here.
47370
47371 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47372
47373 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47374 instead of "_itoa.h" and "_itowa.h".
47375 * stdio-common/vfprintf.: Likewise.
47376
47377 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47378
47379 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47380 <bits/wordsize.h>.
47381 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47382 (__signbit): Likwise.
47383 (llrintf): Likwise.
47384 (llrint): Likwise.
47385
47386 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47387
47388 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47389 __WORDSIZE != 64.
47390
47391 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47392
47393 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47394 OVERFLOW_EXCEPTION_OK.
47395 * math/libm-test.inc ("Philosophy"): Update comment about
47396 exception testing.
47397 (OVERFLOW_EXCEPTION): Define.
47398 (OVERFLOW_EXCEPTION_OK): Likewise.
47399 (INVALID_EXCEPTION_OK): Renumber.
47400 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47401 (IGNORE_ZERO_INF_SIGN): Likewise.
47402 (test_exceptions): Handle FE_OVERFLOW.
47403 (exp10_test): Expect overflow exceptions.
47404 (exp2_test): Likewise.
47405 (expm1_test): Likewise.
47406 (nextafter_test): Likewise.
47407 (pow_test): Likewise.
47408 (scalbn_test): Likewise.
47409 (scalbln_test): Likewise.
47410
47411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47412
47413 * sysdeps/x86_64/bits/atomic.h
47414 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47415 64bit integer.
47416 (atomic_exchange_acq): Likewise.
47417 (__arch_exchange_and_add_body): Likewise.
47418 (__arch_add_body): Likewise.
47419 (atomic_add_negative): Likewise.
47420 (atomic_add_zero): Likewise.
47421
47422 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47423
47424 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47425 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47426
47427 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47428
47429 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47430 Check __x86_64__ instead of __WORDSIZE.
47431
47432 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47433
47434 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47435
47436 2012-03-19 David S. Miller <davem@davemloft.net>
47437
47438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47439
47440 * sysdeps/sparc/fpu/fenv_private.h: New file.
47441 * sysdeps/sparc/fpu/math_private.h: Use it.
47442 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47443 Remove.
47444 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47445 (libc_feholdexcept_setroundl): Remove.
47446 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47447 Remove.
47448 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47449 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47450
47451 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47452
47453 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47454 int64_t instead of long int.
47455 (INSERT_WORDS64): Likwise.
47456
47457 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47458
47459 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47460 _Unwind_GetCFA return to _Unwind_Ptr first.
47461
47462 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47463
47464 [BZ #13629]
47465 * math/s_clog.c: Include <float.h>.
47466 (__clog): Scale large or subnormal inputs.
47467 * math/s_clogf.c: Likewise.
47468 * math/s_clogl.c: Likewise.
47469 * math/s_clog10.c: Include <float.h>.
47470 (M_LOG10_2): Define.
47471 (__clog10): Scale large or subnormal inputs.
47472 * math/s_clog10f.c: Likewise.
47473 * math/s_clog10l.c: Likewise.
47474 * math/libm-test.inc (clog_test): Add more tests.
47475 (clog10_test): Likewise.
47476 * sysdeps/i386/fpu/libm-test-ulps: Update.
47477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47478
47479 [BZ #11451]
47480 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47481 x and y.
47482 * math/libm-test.inc (atan2_test): Add another test.
47483
47484 * Makerules (common-objdir-compile): Remove.
47485 * sysdeps/unix/Makefile (config-generated): Do not add
47486 $(unix-generated) to variable.
47487 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47488 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47489 Remove rule.
47490 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47491 Likewise.
47492 [generic bits/local_lim.h] (before-compile): Do not append to
47493 variable.
47494 [generic bits/local_lim.h] (common-generated): Likewise.
47495 [generic sys/param.h] (before-compile): Do not append to variable.
47496 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47497 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47498 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47499 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47500 include.
47501 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47502 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47503 [generic sys/param.h] ($(addprefix
47504 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47505 [generic sys/param.h] (common-generated): Do not append to
47506 variable.
47507 [generic sys/param.h] (sysdep_headers): Likewise.
47508 [generic bits/errno.h] (before-compile): Do not append to
47509 variable.
47510 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47511 rule.
47512 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47513 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47514 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47515 [generic bits/errno.h] (common-generated): Do not append to
47516 variable.
47517 [generic bits/ioctls.h] (before-compile): Do not append to
47518 variable.
47519 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47520 rule.
47521 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47522 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47523 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47524 rule.
47525 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47526 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47527 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47528 [generic bits/ioctls.h] (common-generated): Do not append to
47529 variable.
47530 [generic sys/syscall.h] (syscall.h): Remove variable.
47531 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47532 rule.
47533 [generic sys/syscall.h] (before-compile): Do not append to
47534 variable.
47535 [generic sys/syscall.h] (common-generated): Likewise.
47536 * sysdeps/unix/errnos-tmpl.c: Remove file.
47537 * sysdeps/unix/errnos.awk: Likewise.
47538 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47539 * sysdeps/unix/ioctls.awk: Likewise.
47540 * sysdeps/unix/mk-local_lim.c: Likewise.
47541 * sysdeps/unix/snarf-ioctls: Likewise.
47542
47543 2012-03-19 Richard Henderson <rth@twiddle.net>
47544
47545 * sysdeps/i386/fpu/fenv_private.h: New file.
47546 * sysdeps/i386/fpu/math_private.h: Use it.
47547 (math_opt_barrier, math_force_eval): Remove.
47548 (libc_feholdexcept_setround_53bit): Remove.
47549 (libc_feupdateenv_53bit): Remove.
47550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47551 (math_opt_barrier, math_force_eval): Remove.
47552 (libc_feholdexcept): Remove.
47553 (libc_feholdexcept_setround): Remove.
47554 (libc_fetestexcept, libc_fesetenv): Remove.
47555 (libc_feupdateenv_test): Remove.
47556 (libc_feupdateenv, libc_feholdsetround): Remove.
47557 (libc_feresetround): Remove.
47558
47559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47560 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47561
47562 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47563 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47564 (libc_feupdateenv_testl): New.
47565 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47566 (libc_feupdateenv_testf): New.
47567 (libc_feupdateenv): Use libc_feupdateenv_test.
47568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47570
47571 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47572 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47573 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47574 (libc_feresetround_noex): New.
47575 (libc_feresetround_noexf): New.
47576 (libc_feresetround_noexl): New.
47577 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47578 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47579 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47580 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47581 SET_RESTORE_ROUND.
47582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47584 (__cos): Likewise.
47585 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47587 SET_RESTORE_ROUND_NOEX.
47588 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47589 SET_RESTORE_ROUND_NOEXF.
47590 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47591 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47592 (libc_feholdsetroundf): New.
47593 (libc_feresetround, libc_feresetroundf): New.
47594
47595 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47596 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47597 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47598
47599 * sysdeps/generic/math_private.h: Include <fenv.h>.
47600 (default_libc_feholdexcept): New.
47601 (default_libc_feholdexcept_setround): New.
47602 (default_libc_fesetenv, default_libc_feupdateenv): New.
47603 (libc_feholdexcept): Only define if undefined.
47604 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47606 (libc_feholdexcept_setroundl): Likewise.
47607 (libc_feholdexcept_setround_53bit): Likewise.
47608 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47611 (libc_feupdateenv_53bit): Likewise.
47612 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47613 (libc_feholdexcept): Convert from macro to inline function.
47614 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47615 (libc_fesetenv, libc_feupdateenv): Likewise.
47616
47617 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47618 not previously defined.
47619 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47620 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47621 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47622 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47623 * sysdeps/ieee754/flt-32/math_private.h: New file.
47624 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47625 math_private.h below SET_FLOAT_WORD.
47626 (__isnan, __isinf_ns, __finite): Remove.
47627 (__isnanf, __isinf_nsf, __finitef): Remove.
47628
47629 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47630
47631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47632
47633 2012-03-17 David S. Miller <davem@davemloft.net>
47634
47635 [BZ #6471]
47636 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47637 for 2.16.
47638
47639 2012-03-16 David S. Miller <davem@davemloft.net>
47640
47641 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47642 warnings.
47643
47644 [BZ #6471]
47645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47646 properly.
47647 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47648 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47649 sysdep_routines when subdir is sysvipc.
47650 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47651 __getshmlba helper.
47652
47653 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47654
47655 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47656
47657 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47658 [__LP64__].
47659
47660 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47661
47662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47663 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47664 (__lround): Renamed to ...
47665 (__llround): This. Replace long int with long long int.
47666 Define lround functions as aliases of llround functions.
47667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47668
47669 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47670
47671 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47672 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47673 adresses to uintptr_t. Replace "long int" and "unsigned long
47674 int" with "greg_t" on va_arg.
47675
47676 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47677
47678 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47679 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47680
47681 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47682 Move e_machine check before EI_CLASS check. Handle x32
47683 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47684 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47685 SKIP_EM_IA_64 and include
47686 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47687
47688 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47689 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47690 (add_system_dir): New macro.
47691
47692 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47693 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47694
47695 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47696
47697 [BZ #2551]
47698 [BZ #2552]
47699 [BZ #2553]
47700 [BZ #2554]
47701 [BZ #2562]
47702 [BZ #2563]
47703 [BZ #2565]
47704 [BZ #2566]
47705 [BZ #2576]
47706 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47707 (y0): Likewise.
47708 * math/w_j0f.c (j0f): Likewise.
47709 (y0f): Likewise.
47710 * math/w_j0l.c (__j0l): Likewise.
47711 (__y0l): Likewise.
47712 * math/w_j1.c (j1): Likewise.
47713 (y1): Likewise.
47714 * math/w_j1f.c (j1f): Likewise.
47715 (y1f): Likewise.
47716 * math/w_j1l.c (__j1l): Likewise.
47717 (__y1l): Likewise.
47718 * math/w_jn.c (jn): Likewise.
47719 (yn): Likewise.
47720 * math/w_jnf.c (jnf): Likewise.
47721 (ynf): Likewise.
47722 * math/w_jnl.c (__jnl): Likewise.
47723 (__ynl): Likewise.
47724 * math/libm-test.inc (j0_test): Add more tests.
47725 (j1_test): Likewise.
47726 (jn_test): Likewise. Add trailing semicolon to existing test.
47727 (y0_test): Likewise.
47728 (y1_test): Likewise.
47729 * sysdeps/i386/fpu/libm-test-ulps: Update.
47730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47731
47732 [BZ #13851]
47733 [BZ #13854]
47734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47735 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47736 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47738 (__tanl): Set errno for infinite argument.
47739 * sysdeps/i386/fpu/mptan.c: Remove.
47740 * sysdeps/i386/fpu/s_tan.S: Likewise.
47741 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47742 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47743 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47744 * math/libm-test.inc (tan_test): Add more tests and enable more
47745 tests for double and long double.
47746 * sysdeps/i386/fpu/libm-test-ulps: Update.
47747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47748
47749 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47750
47751 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47752 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47753
47754 2012-03-16 Roland McGrath <roland@hack.frob.com>
47755
47756 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47757 * configure.in: Use it for both main tree and add-ons.
47758 * configure: Regenerated.
47759
47760 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47761
47762 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47763
47764 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47765
47766 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47767 in comment.
47768
47769 [BZ #13851]
47770 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47771 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47775 infinite argument.
47776 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47778 != 0 for prec == 2.
47779 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47780 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47781 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47782 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47783 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47784 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47785 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47786 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47787 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47788 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47789 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47790 * math/libm-test.inc (cos_test): Add more tests and enable more
47791 tests for long double.
47792 (sin_test): Likewise.
47793 (sincos_test): Likewise.
47794 * sysdeps/i386/fpu/libm-test-ulps: Update.
47795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47796
47797 2012-03-16 David S. Miller <davem@davemloft.net>
47798
47799 * sysdeps/sparc/fpu/math_private.h: New file.
47800
47801 2012-03-15 David S. Miller <davem@davemloft.net>
47802
47803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47804 file.
47805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47807 file.
47808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47814 sysdep routines.
47815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47816
47817 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47818 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47819
47820 * sysdeps/sparc/sparc-ifunc.h: New file.
47821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47822 sparc-ifunc.h
47823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47825 Likewise.
47826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47827 Likewise.
47828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47832 Likewise.
47833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47838 Likewise.
47839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47840 Likewise.
47841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47865
47866 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47867
47868 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47869 scaling.
47870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47871
47872 2012-03-15 Andreas Jaeger <aj@suse.de>
47873
47874 [BZ #13852]
47875 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47876 ieee754/flt-32 implementation for sin, cos and sincos.
47877 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47878 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47879 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47880 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47881 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47882 ieee754/flt-32 implementation for tan.
47883
47884 * math/libm-test.inc (cos_test): Enable some large input tests for
47885 float as well
47886 (sin_test): Likewise.
47887 (sincos_test): Likewise.
47888 (tan_test): Add tests for large input.
47889
47890 * sysdeps/i386/fpu/libm-test-ulps: Update.
47891
47892 2012-03-15 Andreas Jaeger <aj@suse.de>
47893
47894 [BZ #13658]
47895 * math/libm-test.inc (cos_test): Add more test cases.
47896 (sin_test): Likewise.
47897 (sincos_test): Likewise.
47898
47899 2012-03-15 Andreas Jaeger <aj@suse.de>
47900
47901 [BZ #13837]
47902 * math/libm-test.inc (cos_test): Add a test case for large input
47903 value.
47904 (sin_test): Likewise.
47905 (sincos_test): Likewise.
47906
47907 2012-03-15 Andreas Jaeger <aj@suse.de>
47908 Joseph Myers <joseph@codesourcery.com>
47909
47910 [BZ #13658]
47911 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47912 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47913 * sysdeps/i386/fpu/branred.c: Likewise.
47914 * sysdeps/i386/fpu/dosincos.c: Likewise.
47915 * sysdeps/i386/fpu/mpa.c: Likewise.
47916 * sysdeps/i386/fpu/s_cos.S: Likewise.
47917 * sysdeps/i386/fpu/s_sin.S: Likewise.
47918 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47919 * sysdeps/i386/fpu/sincos32.c: Likewise.
47920
47921 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47922 Define.
47923 (libc_feupdateenv_53bit): Define.
47924 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47925 Define.
47926 (libc_feupdateenv_53bit): Define.
47927
47928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47929 53 bit (without extend i386 double precision).
47930
47931 * math/libm-test.inc (sincos_test): Add tests for large input.
47932 (sin): Likewise.
47933 (cos): Likewise.
47934
47935 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47936
47937 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47938
47939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47940
47941 2012-03-15 David S. Miller <davem@davemloft.net>
47942
47943 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47944 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47945 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47946 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47959 file.
47960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47962 file.
47963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47965 file.
47966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47968 file.
47969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47971 fmin/fmax sysdep routines.
47972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47973
47974 2012-03-14 David S. Miller <davem@davemloft.net>
47975
47976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47996 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47998 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48005 routines.
48006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48007 file.
48008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48010 file.
48011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48013 file.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48016 file.
48017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48019 file.
48020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48022 file.
48023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48024 file.
48025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48026 file.
48027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48028 file.
48029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48030 New file.
48031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48032 file.
48033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48034 file.
48035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48037 file.
48038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48040 file.
48041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48043 file.
48044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48046 VIS3 routines.
48047
48048 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48049 New file.
48050
48051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48052
48053 * sysdeps/sparc/configure.in: New file.
48054 * sysdeps/sparc/configure: Generate.
48055 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48056 * configure: Regenerate.
48057 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48058 * config.make.in (have-as-vis3): New.
48059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48060 available use -Av9d instead of -Av9a.
48061 * sysdeps/sparc/sparc64/Makefile: Likewise.
48062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48064 New file.
48065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48066 file.
48067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48068 New file.
48069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48070 file.
48071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48072 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48073 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48074 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48076
48077 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48078 fzeros/fnegs to load 0x80000000 into a float register instead of
48079 using the stack.
48080 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48081
48082 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48083
48084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48085 bits/syscall.h.
48086 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48087 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48088 ($(inst_includedir)/bits/syscall.h): Remove rule.
48089 ($(objpfx)bits/syscall.d): Include instead of
48090 $(objpfx)syscall-list.d.
48091 (generated): Change syscall-list.h and syscall-list.d to
48092 bits/syscall.h and bits/syscall.d.
48093
48094 2012-03-14 Roland McGrath <roland@hack.frob.com>
48095
48096 [BZ #13846]
48097 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48098
48099 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48100
48101 [BZ #13841]
48102 * math/s_csqrt.c: Include <float.h>.
48103 (__csqrt): Scale large or subnormal inputs.
48104 * math/s_csqrtf.c: Likewise.
48105 * math/s_csqrtl.c: Likewise.
48106 * math/libm-test.inc (csqrt_test): Add more tests.
48107 * sysdeps/i386/fpu/libm-test-ulps: Update.
48108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48109
48110 [BZ #13840]
48111 * math/libm-test.inc (hypot_test): Add more tests.
48112
48113 2012-03-13 David S. Miller <davem@davemloft.net>
48114
48115 [BZ #13840]
48116 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48117 double-precision for the calculation instead of scaling.
48118
48119 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48120
48121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48122 manipulate bits before adding and subtracting TWO52[sx].
48123 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48124 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48125 Likewise.
48126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48127
48128 2012-03-13 David S. Miller <davem@davemloft.net>
48129
48130 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48131 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48133 rtld-global-offsets.h
48134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48135
48136 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48137 large parameters.
48138
48139 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48140
48141 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48142 'err' in the ifdef scope in which it is actually used.
48143
48144 * nss/nss_db/db-init.c: Include string.h
48145
48146 2012-03-12 David S. Miller <davem@davemloft.net>
48147
48148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48149 masking out of the most significant byte of random value used.
48150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48151 Fix coding style in previous change.
48152
48153 * sysdeps/unix/sysv/linux/kernel-features.h
48154 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48155 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48156 expression.
48157 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48158 later.
48159
48160 2012-03-11 David S. Miller <davem@davemloft.net>
48161
48162 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48163 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48165 for 'resultvar' otherwise things get truncated on 64-bit.
48166
48167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48168 Fix masking out of the most significant byte of random value used.
48169
48170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48171
48172 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48173
48174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48175
48176 2012-03-09 David S. Miller <davem@davemloft.net>
48177
48178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48179 variables with appropriate CPP guards.
48180 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48181 from the frame pointer, not the stack pointer. Correct layout
48182 comments. Fix test on resulting framesize and the management of
48183 the outregs buffer for pltexit. Preserve floating point return
48184 values across _dl_call_pltexit call.
48185 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48186 framesize and the management of the outregs buffer for pltexit.
48187 Preserve floating point return values across _dl_call_pltexit
48188 call.
48189 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48190 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48191 (la_sparc64_gnu_pltexit): New functions.
48192 (print_exit): Fix format string for return register value.
48193
48194 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48195
48196 * sunrpc/Makefile (others): Add rpcgen.
48197 ($(objpfx)rpcgen): Remove special build rule and dependency on
48198 libc.
48199 * sunrpc/rpcgen.c: New file.
48200
48201 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48202
48203 [BZ #13673]
48204 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48205 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48206 * sysdeps/i386/crti.S: Likewise.
48207 * sysdeps/i386/crtn.S: Likewise.
48208 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48209 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48210 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48211 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48212 * sysdeps/sh/crti.S: Likewise.
48213 * sysdeps/sh/crtn.S: Likewise.
48214 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48215
48216 [BZ #13673]
48217 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48218 with URL.
48219 * locale/programs/locfile-kw.gperf: Likewise.
48220 * locale/programs/charmap-kw.h: Regenerated.
48221 * locale/programs/locfile-kw.h: Likewise.
48222
48223 [BZ #13673]
48224 * intl/plural.y: Replace FSF snail mail address with URL.
48225 * intl/plural.c: Regenerated.
48226
48227 2012-03-09 Richard Henderson <rth@twiddle.net>
48228
48229 * include/math_private.h: Remove file.
48230 * math/math_private.h: Move file ...
48231 * sysdeps/generic/math_private.h: ... here.
48232
48233 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48234 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48235 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48236
48237 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48238 and <math_private.h>.
48239 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48240 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48241 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48242 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48243 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48244 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48245 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48247 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48250 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48251 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48252 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48253 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48254 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48256 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48257 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48258 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48260 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48261 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48263 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48265 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48269 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48270 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48271 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48272 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48273 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48274 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48275 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48276 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48277 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48279 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48280 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48281 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48282 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48283 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48285 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48286 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48287 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48288 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48289 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48290 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48291 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48293 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48295 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48296 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48298 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48299 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48300 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48302 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48303 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48304 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48305 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48306 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48307 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48309 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48313 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48315 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48318 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48319 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48320 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48321 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48322 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48325 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48326 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48327 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48328 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48329 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48330 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48332 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48333 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48334 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48335 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48336 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48339 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48340 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48341 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48342 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48344 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48345 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48346 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48347 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48348 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48349 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48350 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48351 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48353 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48356 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48358 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48359 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48360 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48361 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48362 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48364 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48366 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48367 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48368 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48369 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48370 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48371 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48372 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48373 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48375 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48376 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48377 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48378 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48379 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48380 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48381 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48382 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48383 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48384 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48385 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48386 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48387 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48388 * sysdeps/ieee754/k_standard.c: Likewise.
48389 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48390 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48391 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48392 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48393 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48394 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48395 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48396 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48397 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48399 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48401 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48402 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48403 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48404 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48405 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48406 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48408 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48409 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48410 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48412 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48413 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48414 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48415 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48416 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48417 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48419 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48420 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48421 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48422 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48423 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48424 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48425 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48426 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48427 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48428 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48429 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48430 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48431 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48432 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48433 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48434 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48435 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48437 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48439 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48440 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48442 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48443 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48444 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48445 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48446 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48447 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48448 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48449 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48450 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48451 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48452 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48457 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48461 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48465 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48466 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48467 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48468 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48469 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48470 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48471 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48472 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48473 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48474 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48475 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48476 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48477 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48479 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48480 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48481 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48482 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48485 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48486 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48487 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48488 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48489 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48490 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48493 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48501 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48502 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48503 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48504 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48506 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48508 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48509 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48510 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48511 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48516 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48517 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48533 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48536 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48537 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48538 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48539 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48549 * sysdeps/ieee754/s_lib_version.c: Likewise.
48550 * sysdeps/ieee754/s_matherr.c: Likewise.
48551 * sysdeps/ieee754/s_signgam.c: Likewise.
48552 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48553 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48554 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48555 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48556 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48557 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48558 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48559 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48560 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48561 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48562 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48563 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48564 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48565 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48566 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48567 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48568 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48571 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48573
48574 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48575
48576 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48577 * sunrpc/rpc_main.c: Likewise.
48578 * sunrpc/rpc_svcout.c: Likewise.
48579
48580 2012-03-09 David S. Miller <davem@davemloft.net>
48581
48582 * include/math_private.h: New file.
48583
48584 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48585
48586 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48587 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48588 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48589 from <bits/socket_type.h>.
48590 (enum __socket_type): Don't define here.
48591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48593 bits/socket_type.h.
48594
48595 [BZ #13566]
48596 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48597 checking __USE_GNU.
48598
48599 * Makerules ($(inst_includedir)/%.h): New rule.
48600 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48601 (install-others): Remove variable setting.
48602 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48603
48604 2012-03-08 Richard Henderson <rth@twiddle.net>
48605
48606 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48607 from macro to inline function; merge with the
48608 !__LIBC_INTERNAL_MATH_INLINES version.
48609 (__ieee754_sqrtf): Likewise.
48610
48611 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48612 to inline function.
48613 (__rintf, __floor, __floorf): Likewise.
48614
48615 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48616 macro to inline function.
48617 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48618
48619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48620 not <math/math_private.h>.
48621
48622 2012-03-08 David S. Miller <davem@davemloft.net>
48623
48624 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48625 copyright year.
48626 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48627
48628 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48629
48630 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48631 normalization.
48632 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48633 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48634
48635 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48636
48637 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48638 be defined individually, they must be defined as a block. Define
48639 S for printing a string instead of hidint the different by using a
48640 macro for adding the 'l'.
48641 * stdio-common/tst-fphex-wide.c: Adjust.
48642
48643 2012-03-07 Marek Polacek <polacek@redhat.com>
48644
48645 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48646
48647 2012-03-08 Marek Polacek <polacek@redhat.com>
48648
48649 [BZ #13806]
48650 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48651 * stdio-common/tst-fphex.c: Define a few macros to make the
48652 test reusable. Use them.
48653 * stdio-common/tst-fphex-wide.c: New file.
48654
48655 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48656
48657 [BZ #6911]
48658 * manual/macros.texi (gnusystems): New macro.
48659 (nongnusystems): Likewise.
48660 (gnulinuxhurdsystems): Likewise.
48661 (gnuhurdsystems): Likewise..
48662 (gnulinuxsystems): Likewise.
48663 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48664 variants of the GNU system, not "GNU system".
48665 * manual/conf.texi: Likewise.
48666 * manual/errno.texi: Likewise. Update example of errno macro
48667 expansion.
48668 * manual/filesys.texi: Likewise.
48669 (getumask): Document as specific to GNU/Hurd.
48670 * manual/install.texi: Likewise. Reword some references to
48671 GNU/Linux.
48672 * manual/intro.texi: Likewise.
48673 * manual/io.texi: Likewise.
48674 (File Name Portability): Detail which constraints are inapplicable
48675 to all GNU systems and which are only inapplicable to GNU/Hurd.
48676 * manual/job.texi: Likewise.
48677 * manual/llio.texi: Likewise.
48678 (O_NOCTTY): Document as present on GNU/Linux.
48679 * manual/maint.texi: Likewise.
48680 * manual/memory.texi: Likewise.
48681 * manual/pattern.texi: Likewise.
48682 * manual/pipe.texi: Likewise.
48683 * manual/process.texi: Likewise.
48684 * manual/resource.texi: Likewise.
48685 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48686 child on GNU/Hurd.
48687 * manual/setjmp.texi: Likewise.
48688 * manual/signal.texi: Likewise.
48689 * manual/startup.texi: Likewise.
48690 * manual/stdio.texi: Likewise.
48691 * manual/terminal.texi: Likewise.
48692 (ONLCR): Document as POSIX.
48693 (OXTABS): Document availability on GNU/Linux as XTABS.
48694 (ONOEOT): Document availability separately from other bits.
48695 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48696 * manual/time.texi: Likewise.
48697 * manual/users.texi: Likewise.
48698 * INSTALL: Regenerated.
48699 * sysdeps/gnu/errlist.c: Regenerated.
48700
48701 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48702 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48703 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48704 puts.
48705 * configure: Regenerated.
48706
48707 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48708
48709 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48710 default includes instead of AC_HEADER_CHECK.
48711 * sysdeps/i386/configure: Regenerated.
48712
48713 [BZ #10716]
48714 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48715 * math/s_cacoshf.c (__cacoshf): Likewise.
48716 * math/s_cacoshl.c (__cacoshl): Likewise.
48717 * math/s_casinh.c (__casinh): Set signs of result from argument.
48718 * math/s_casinhf.c (__casinhf): Likewise.
48719 * math/s_casinhl.c (__casinhl): Likewise.
48720 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48721 (casinh_test): Add more tests.
48722 * sysdeps/i386/fpu/libm-test-ulps: Update.
48723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48724
48725 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48726
48727 * po/zh_TW.po: Update from translation team.
48728
48729 * login/Makefile (distribute): Remove variable.
48730 * catgets/Makefile: Likewise.
48731 * mach/Makefile: Likewise.
48732 * malloc/Makefile: Likewise.
48733 * misc/Makefile: Likewise.
48734 * iconv/Makefile: Likewise.
48735 * nscd/Makefile: Likewise.
48736 * hurd/Makefile: Likewise.
48737 * manual/Makefile: Likewise.
48738 * locale/Makefile: Likewise.
48739 * intl/Makefile: Likewise.
48740 * conform/Makefile: Likewise.
48741 * nss/Makefile: Likewise.
48742 * time/Makefile: Likewise.
48743 * soft-fp/Makefile: Likewise.
48744 * dirent/Makefile: Likewise.
48745 * gmon/Makefile: Likewise.
48746 * po/Makefile: Likewise.
48747 * rt/Makefile: Likewise.
48748 * socket/Makefile: Likewise.
48749 * math/Makefile: Likewise.
48750 * signal/Makefile: Likewise.
48751 * debug/Makefile: Likewise.
48752 * elf/Makefile: Likewise.
48753 * timezone/Makefile: Likewise.
48754 * stdlib/Makefile: Likewise.
48755 * iconvdata/Makefile: Likewise.
48756 * sunrpc/Makefile: Likewise.
48757 * io/Makefile: Likewise.
48758 * argp/Makefile: Likewise.
48759 * inet/Makefile: Likewise.
48760 * hesiod/Makefile: Likewise.
48761 * grp/Makefile: Likewise.
48762 * csu/Makefile: Likewise.
48763 * wctype/Makefile: Likewise.
48764 * crypt/Makefile: Likewise.
48765 * libio/Makefile: Likewise.
48766 * string/Makefile: Likewise.
48767 * nis/Makefile: Likewise.
48768 * resolv/Makefile: Likewise.
48769 * stdio-common/Makefile: Likewise.
48770 * wcsmbs/Makefile: Likewise.
48771 * dlfcn/Makefile: Likewise.
48772 * posix/Makefile: Likewise.
48773
48774 [BZ #6959]
48775 * timezone/Makefile: Don't install timezone files, just the programs
48776 and scripts.
48777
48778 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48779
48780 * nss/databases.def: Add missing gshadow entry.
48781
48782 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48783
48784 2012-03-06 Marek Polacek <polacek@redhat.com>
48785
48786 [BZ #13726]
48787 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48788 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48789 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48790 * stdio-common/tst-long-dbl-fphex.c: New file.
48791
48792 2012-03-06 David S. Miller <davem@davemloft.net>
48793
48794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48795 (set_obp_int): New function.
48796 (get_obp_int): New function.
48797 (__get_clockfreq_via_dev_openprom): Likewise.
48798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48799 Avoid unused variable warnings on 'val' and use builtin_expect.
48800 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48801 __builtin_expect.
48802 (INLINE_CLONE_SYSCALL): Likewise.
48803
48804 2012-03-05 David S. Miller <davem@davemloft.net>
48805
48806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48807
48808 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48809
48810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48811
48812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48813 only for |x| >= 40.
48814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48815
48816 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48817
48818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48819 Replace gettimeofday with __vdso_gettimeofday.
48820
48821 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48822 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48823 __vdso_clock_gettime and __vdso_getcpu.
48824
48825 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48826 time with __vdso_time.
48827
48828 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48829
48830 * manual/lang.texi (size_t): Note types to which size_t may be
48831 equivalent with the GNU C Library, but do not describe when
48832 differences between them are significant.
48833
48834 2012-03-05 Andreas Jaeger <aj@suse.de>
48835
48836 * sysdeps/i386/fpu/libm-test-ulps: Update.
48837
48838 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48839
48840 [BZ #3976]
48841 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48842 (__ieee754_pow): Save and restore rounding mode and use
48843 round-to-nearest for main computations.
48844 * math/libm-test.inc (pow_test_tonearest): New function.
48845 (pow_test_towardzero): Likewise.
48846 (pow_test_downward): Likewise.
48847 (pow_test_upward): Likewise.
48848 (main): Call the new functions.
48849 * sysdeps/i386/fpu/libm-test-ulps: Update.
48850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48851
48852 [BZ #3976]
48853 * math/libm-test.inc (cosh_test_tonearest): New function.
48854 (cosh_test_towardzero): Likewise.
48855 (cosh_test_downward): Likewise.
48856 (cosh_test_upward): Likewise.
48857 (sinh_test_tonearest): Likewise.
48858 (sinh_test_towardzero): Likewise.
48859 (sinh_test_downward): Likewise.
48860 (sinh_test_upward): Likewise.
48861 (main): Call the new functions.
48862 * sysdeps/i386/fpu/libm-test-ulps: Update.
48863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48864
48865 2012-03-05 Tom de Vries <tom@codesourcery.com>
48866
48867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48868 default stack guard is set in last bytes.
48869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48870
48871 2012-03-05 Kees Cook <keescook@chromium.org>
48872
48873 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48874
48875 [BZ #13656]
48876 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48877 possibly allocate from heap instead of stack.
48878 * stdio-common/bug-vfprintf-nargs.c: New file.
48879 * stdio-common/Makefile (tests): Add nargs overflow test.
48880
48881 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48882
48883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48884
48885 2012-03-03 Marek Polacek <polacek@redhat.com>
48886
48887 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48888 * math/math_private.h: Likewise.
48889 * stdlib/tst-strtod.c: Likewise.
48890 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48891 * sysdeps/x86_64/bits/atomic.h: Likewise.
48892
48893 2012-03-02 David S. Miller <davem@davemloft.net>
48894
48895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48899 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48900 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48901 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48902 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48903
48904 2012-03-02 Roland McGrath <roland@hack.frob.com>
48905
48906 [BZ #13792]
48907 * manual/examples/README: New file, says the example source files
48908 can be used under GPL>=2.
48909 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48910 line containing just "*/".
48911 * manual/examples/add.c: Add copyright header (GPL>=2).
48912 * manual/examples/argp-ex1.c: Likewise.
48913 * manual/examples/argp-ex2.c: Likewise.
48914 * manual/examples/argp-ex3.c: Likewise.
48915 * manual/examples/argp-ex4.c: Likewise.
48916 * manual/examples/atexit.c: Likewise.
48917 * manual/examples/db.c: Likewise.
48918 * manual/examples/dir.c: Likewise.
48919 * manual/examples/dir2.c: Likewise.
48920 * manual/examples/execinfo.c: Likewise.
48921 * manual/examples/filecli.c: Likewise.
48922 * manual/examples/filesrv.c: Likewise.
48923 * manual/examples/fmtmsgexpl.c: Likewise.
48924 * manual/examples/genpass.c: Likewise.
48925 * manual/examples/inetcli.c: Likewise.
48926 * manual/examples/inetsrv.c: Likewise.
48927 * manual/examples/isockad.c: Likewise.
48928 * manual/examples/longopt.c: Likewise.
48929 * manual/examples/memopen.c: Likewise.
48930 * manual/examples/memstrm.c: Likewise.
48931 * manual/examples/mkfsock.c: Likewise.
48932 * manual/examples/mkisock.c: Likewise.
48933 * manual/examples/mygetpass.c: Likewise.
48934 * manual/examples/pipe.c: Likewise.
48935 * manual/examples/popen.c: Likewise.
48936 * manual/examples/rprintf.c: Likewise.
48937 * manual/examples/search.c: Likewise.
48938 * manual/examples/select.c: Likewise.
48939 * manual/examples/setjmp.c: Likewise.
48940 * manual/examples/sigh1.c: Likewise.
48941 * manual/examples/sigusr.c: Likewise.
48942 * manual/examples/stpcpy.c: Likewise.
48943 * manual/examples/strdupa.c: Likewise.
48944 * manual/examples/strftim.c: Likewise.
48945 * manual/examples/strncat.c: Likewise.
48946 * manual/examples/subopt.c: Likewise.
48947 * manual/examples/swapcontext.c: Likewise.
48948 * manual/examples/termios.c: Likewise.
48949 * manual/examples/testopt.c: Likewise.
48950 * manual/examples/testpass.c: Likewise.
48951 * manual/examples/timeval_subtract.c: Likewise.
48952
48953 [BZ #13792]
48954 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48955 function to ...
48956 * manual/timeval_subtract.c.texi: ... here, new file.
48957
48958 2012-03-02 David S. Miller <davem@davemloft.net>
48959
48960 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48961
48962 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48963
48964 [BZ #3976]
48965 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48966 (__sin): Save and restore rounding mode and use round-to-nearest
48967 for all computations.
48968 (__cos): Save and restore rounding mode and use round-to-nearest
48969 for all computations.
48970 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48971 <fenv.h>.
48972 (tan): Save and restore rounding mode and use round-to-nearest for
48973 all computations.
48974 * math/libm-test.inc (cos_test_tonearest): New function.
48975 (cos_test_towardzero): Likewise.
48976 (cos_test_downward): Likewise.
48977 (cos_test_upward): Likewise.
48978 (sin_test_tonearest): Likewise.
48979 (sin_test_towardzero): Likewise.
48980 (sin_test_downward): Likewise.
48981 (sin_test_upward): Likewise.
48982 (tan_test_tonearest): Likewise.
48983 (tan_test_towardzero): Likewise.
48984 (tan_test_downward): Likewise.
48985 (tan_test_upward): Likewise.
48986 (main): Call the new functions.
48987 * sysdeps/i386/fpu/libm-test-ulps: Update.
48988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48989
48990 [BZ #10135]
48991 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48992 small n, then large n, before computing and testing k+n.
48993 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48995 Likewise.
48996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48997 Likewise.
48998 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48999 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49001 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49002 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49003 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49004 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49006 * math/libm-test.inc (scalbn_test): Add more tests.
49007 (scalbln_test): Likewise.
49008
49009 * manual/filesys.texi (mode_t): Describe constraints on size and
49010 signedness, not exact equivalence to a particular type.
49011 (ino_t): Likewise.
49012 (ino64_t): Likewise.
49013 (dev_t): Likewise.
49014 (nlink_t): Likewise.
49015 (blkcnt_t): Likewise.
49016 (blkcnt64_t): Likewise.
49017 * manual/llio.texi (off_t): Likewise.
49018
49019 [BZ #3976]
49020 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49021 (__ieee754_exp): Save and restore rounding mode and use
49022 round-to-nearest for all computations.
49023 * math/libm-test.inc (exp_test_tonearest): New function.
49024 (exp_test_towardzero): Likewise.
49025 (exp_test_downward): Likewise.
49026 (exp_test_upward): Likewise.
49027 (main): Call the new functions.
49028 * sysdeps/i386/fpu/libm-test-ulps: Update.
49029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49030
49031 2012-03-01 Chris Demetriou <cgd@google.com>
49032
49033 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49034 have predictable order.
49035
49036 2012-03-01 David S. Miller <davem@davemloft.net>
49037
49038 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49039
49040 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49041 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49042 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49043 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49044
49045 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49046 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49047 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49049 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49050 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49051 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49052 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49053 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49054
49055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49056
49057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49058 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49059 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49060
49061 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49063 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49064 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49065 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49066 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49068 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49069 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49070 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49071 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49072 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49075 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49077 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49078 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49079 * sysdeps/sparc/elf/configure: Regenerated.
49080
49081 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49082
49083 * configure.in (AS, LD): Require binutils 2.20 or later.
49084 * configure: Regenerated.
49085 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49086 as required minimum version.
49087 * INSTALL: Regenerated.
49088
49089 [BZ #2541]
49090 [BZ #4108]
49091 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49092 before squaring exponent.
49093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49094 bottom long double and 27 bits of top long double before squaring
49095 exponent.
49096 * math/libm-test.inc (erfc_test): Add more tests.
49097 * sysdeps/i386/fpu/libm-test-ulps: Update.
49098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49100
49101 2012-03-01 Kai Tietz <ktietz@redhat.com>
49102
49103 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49104 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49105 containing bit-fields.
49106 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49107 * soft-fp/single.h (_FP_UNION_S): Likewise.
49108 * soft-fp/double.h (_FP_UNION_D): Likewise.
49109
49110 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49111
49112 [BZ #13786]
49113 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49114 not include ../strcmp.S.
49115 [USE_AS_STRNCASECMP_L]: Likewise.
49116 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49117 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49118 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49119 (__strncasecmp_l_ia32): Define as alias to
49120 __strncasecmp_l_nonascii.
49121
49122 [BZ #5794]
49123 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49124 * sysdeps/i386/fpu/libm-test-ulps: Update.
49125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49126
49127 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49129
49130 2012-02-29 Jeff Law <law@redhat.com>
49131
49132 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49133 out of bounds read.
49134
49135 2012-02-29 Marek Polacek <polacek@redhat.com>
49136
49137 [BZ #13706]
49138 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49139 * elf/Makefile: Add rules to run tst-unused-dep.out.
49140
49141 2012-02-28 David S. Miller <davem@davemloft.net>
49142
49143 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49144 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49146 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49147 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49148 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49149
49150 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49151
49152 * math/libm-test.inc (llround_test): Move one test from
49153 lround_test. Use TEST_f_L in moved test.
49154 (lround_test): Move misplaced test to llround_test. Add testcase
49155 from bug 2561.
49156
49157 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49158
49159 * sysdeps/x86_64/fpu/e_expf.S: New file.
49160 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49161
49162 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49163
49164 [BZ #13637]
49165 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49166 of remain_len that may cause incomplete multi-byte character and
49167 false match.
49168 * posix/bug-regex33.c: New file.
49169 * posix/Makefile (tests): Add bug-regex33.
49170
49171 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49172
49173 * manual/macros.texi: New file.
49174 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49175 * manual/libc.texinfo: Include macros.texi.
49176 * manual/creatute.texi: Likewise.
49177 * manual/install.texi: Likewise.
49178 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49179 @glibcadj{} in references to the GNU C Library.
49180 * manual/charset.texi: Likewise.
49181 * manual/conf.texi: Likewise.
49182 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49183 when not using those macros.
49184 * manual/creature.texi: Likewise.
49185 * manual/crypt.texi: Likewise.
49186 * manual/errno.texi: Likewise.
49187 * manual/filesys.texi: Likewise.
49188 * manual/header.texi: Likewise.
49189 * manual/install.texi: Likewise.
49190 * manual/intro.texi: Likewise.
49191 * manual/io.texi: Likewise.
49192 * manual/job.texi: Likewise.
49193 * manual/lang.texi: Likewise.
49194 * manual/libc.texiinfo: Likewise.
49195 * manual/llio.texi: Likewise.
49196 * manual/locale.texi: Likewise.
49197 * manual/maint.texi: Likewise.
49198 * manual/math.texi: Likewise.
49199 * manual/memory.texi: Likewise.
49200 * manual/message.texi: Likewise.
49201 * manual/nss.texi: Likewise.
49202 * manual/pattern.texi: Likewise.
49203 * manual/process.texi: Likewise.
49204 * manual/resource.texi: Likewise.
49205 * manual/search.texi: Likewise.
49206 * manual/setjmp.texi: Likewise.
49207 * manual/signal.texi: Likewise.
49208 * manual/socket.texi: Likewise.
49209 * manual/startup.texi: Likewise.
49210 * manual/stdio.texi: Likewise.
49211 * manual/string.texi: Likewise.
49212 * manual/sysinfo.texi: Likewise.
49213 * manual/syslog.texi: Likewise.
49214 * manual/terminal.texi: Likewise.
49215 * manual/time.texi: Likewise.
49216 * manual/users.texi: Likewise.
49217 * INSTALL: Regenerated.
49218 * NOTES: Regenerated.
49219 * sysdeps/gnu/errlist.c: Regenerated.
49220
49221 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49222
49223 * include/dirent.h: Include <dirstream.h> before
49224 <dirent/dirent.h>.
49225
49226 2012-02-28 David S. Miller <davem@davemloft.net>
49227
49228 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49229 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49230 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49231 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49232
49233 2012-02-27 David S. Miller <davem@davemloft.net>
49234
49235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49237 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49238 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49239
49240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49241 frame pointer instead of stack pointer relative arg slot.
49242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49243 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49244 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49245
49246 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49247
49248 [BZ #3992]
49249 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49250
49251 2012-02-27 David S. Miller <davem@davemloft.net>
49252
49253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49257 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49258 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49259 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49260 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49261
49262 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49263
49264 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49265 later. Allow versions 5-9.
49266 * configure: Regenerated.
49267 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49268 required minimum version and 4.6 as recommended version. Do not
49269 mention bugs in GCC 2.7 and 2.8.
49270 * INSTALL: Regenerated.
49271
49272 2012-02-27 David S. Miller <davem@davemloft.net>
49273
49274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49280 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49281 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49282
49283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49284 manipulate bits before adding and subtracting TWO112[sx].
49285 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49286
49287 2012-02-27 Roland McGrath <roland@hack.frob.com>
49288
49289 [BZ #13775]
49290 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49291 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49292 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49293 being in POSIX, because they are in 1003.1-2008.
49294
49295 * rt/tst-aio.c: Include <fcntl.h>.
49296 * rt/tst-aio7.c: Likewise.
49297 * rt/tst-aio64.c: Likewise.
49298
49299 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49300
49301 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49302
49303 * manual/install.texi (--with-headers): Describe headers as
49304 interface headers, not private headers.
49305 (Specific advice for GNU/Linux systems): Describe use of headers
49306 from "make headers_install", not private headers from older
49307 kernels.
49308 * INSTALL: Regenerated.
49309 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49310 Change to 2.6.19.
49311 * sysdeps/unix/sysv/linux/configure: Regenerated.
49312
49313 * manual/llio.texi (fclean): Remove documentation.
49314
49315 * manual/Makefile (libc-texi-generated): New variable. Include
49316 version.texi.
49317 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49318 $(libc-texi-generated), not duplicated list of files.
49319 (version.texi, stamp-version): New rules.
49320 (realclean): Remove $(libc-texi-generated), not individual files
49321 from that list. Do not remove dir-add.texinfo.
49322 * manual/libc.texinfo: Comment out uses of edition numbers and
49323 references to printed manual. Remove last-updated dates.
49324 (EDITION): Comment out.
49325 (ISBN): Likewise.
49326 (VERSION, UPDATED): Remove.
49327 (version.texi): Include.
49328
49329 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49330
49331 * sysdeps/posix/spawni.c: Include <signal.h>.
49332 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49333 * sysdeps/pthread/aio_fsync.c: Likewise.
49334
49335 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49336
49337 * conform/Makefile (tests): Run only when not cross-compiling and
49338 when fast-check is not defined.
49339
49340 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49341 * conform/data/limits.h-data: Fixes for POSIX2008.
49342 * conform/run-conformtest.sh: Run all tests.
49343 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49344 headers.
49345 * include/bits/dlfcn.h: Likewise.
49346 * include/langinfo.h: Likewise.
49347 * include/monetary.h: Likewise.
49348 * include/sys/poll.h: Likewise.
49349
49350 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49351 for __USE_GNU.
49352 * posix/spawn.h: Define __need_sigset_t.
49353 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49354 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49355 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49356 to get sigevent_t only.
49357 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49358 only for __USE_GNU.
49359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49360 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49361 process_vm_writev only for __USE_GNU.
49362 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49363
49364 * conform/Makefile: For now ignore errors from run-conformtest.
49365 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49366 POSIX to avoid namespace pollution. Don't prepend headers.
49367 * conform/data/aio.h-data: Fixes for POSIX testing.
49368 * conform/data/fcntl.h-data: Likewise.
49369 * conform/data/glob.h-data: Likewise.
49370 * conform/data/grp.h-data: Likewise.
49371 * conform/data/pthread.h-data: Likewise.
49372 * conform/data/pwd.h-data: Likewise.
49373 * conform/data/signal.h-data: Likewise.
49374 * conform/data/spawn.h-data: Likewise.
49375 * conform/data/stdio.h-data: Likewise.
49376 * conform/data/stdlib.h-data: Likewise.
49377 * conform/data/stropts.h-data: Likewise.
49378 * conform/data/sys/mman.h-data: Likewise.
49379 * conform/data/sys/stat.h-data: Likewise.
49380 * conform/data/sys/types.h-data: Likewise.
49381 * conform/data/sys/wait.h-data: Likewise.
49382 * conform/data/time.h-data: Likewise.
49383 * conform/data/unistd.h-data: Likewise.
49384 * conform/data/utime.h-data: Likewise.
49385
49386 * io/sys/stat.h: fchmod was always in POSIX.
49387 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49388 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49389 * rt/aio.h: Define __need_timespec before including <time.h>.
49390 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49391 struct. Add forward declaration of pthread_attr_t and use it in
49392 sigevent.
49393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49395 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49396 always remove CLK_TCK definition.
49397
49398 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49399
49400 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49401
49402 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49403
49404 * conform/run-conformtest.sh: New file.
49405 * conform/Makefile: Run run-conformtest for tests.
49406 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49407 support.
49408
49409 * conform/data/uchar.h-data: New file.
49410 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49411 * conform/data/arpa/inet.h-data: Likewise.
49412 * conform/data/assert.h-data: Likewise.
49413 * conform/data/complex.h-data: Likewise.
49414 * conform/data/cpio.h-data: Likewise.
49415 * conform/data/ctype.h-data: Likewise.
49416 * conform/data/dirent.h-data: Likewise.
49417 * conform/data/dlfcn.h-data: Likewise.
49418 * conform/data/errno.h-data: Likewise.
49419 * conform/data/fcntl.h-data: Likewise.
49420 * conform/data/float.h-data: Likewise.
49421 * conform/data/fmtmsg.h-data: Likewise.
49422 * conform/data/fnmatch.h-data: Likewise.
49423 * conform/data/ftw.h-data: Likewise.
49424 * conform/data/glob.h-data: Likewise.
49425 * conform/data/grp.h-data: Likewise.
49426 * conform/data/iconv.h-data: Likewise.
49427 * conform/data/inttypes.h-data: Likewise.
49428 * conform/data/langinfo.h-data: Likewise.
49429 * conform/data/libgen.h-data: Likewise.
49430 * conform/data/limits.h-data: Likewise.
49431 * conform/data/locale.h-data: Likewise.
49432 * conform/data/math.h-data: Likewise.
49433 * conform/data/monetary.h-data: Likewise.
49434 * conform/data/mqueue.h-data: Likewise.
49435 * conform/data/ndbm.h-data: Likewise.
49436 * conform/data/net/if.h-data: Likewise.
49437 * conform/data/netdb.h-data: Likewise.
49438 * conform/data/netinet/in.h-data: Likewise.
49439 * conform/data/nl_types.h-data: Likewise.
49440 * conform/data/poll.h-data: Likewise.
49441 * conform/data/pthread.h-data: Likewise.
49442 * conform/data/pwd.h-data: Likewise.
49443 * conform/data/regex.h-data: Likewise.
49444 * conform/data/sched.h-data: Likewise.
49445 * conform/data/search.h-data: Likewise.
49446 * conform/data/semaphore.h-data: Likewise.
49447 * conform/data/setjmp.h-data: Likewise.
49448 * conform/data/signal.h-data: Likewise.
49449 * conform/data/spawn.h-data: Likewise.
49450 * conform/data/stdarg.h-data: Likewise.
49451 * conform/data/stdio.h-data: Likewise.
49452 * conform/data/stdlib.h-data: Likewise.
49453 * conform/data/string.h-data: Likewise.
49454 * conform/data/strings.h-data: Likewise.
49455 * conform/data/stropts.h-data: Likewise.
49456 * conform/data/sys/ipc.h-data: Likewise.
49457 * conform/data/sys/mman.h-data: Likewise.
49458 * conform/data/sys/msg.h-data: Likewise.
49459 * conform/data/sys/resource.h-data: Likewise.
49460 * conform/data/sys/select.h-data: Likewise.
49461 * conform/data/sys/sem.h-data: Likewise.
49462 * conform/data/sys/shm.h-data: Likewise.
49463 * conform/data/sys/socket.h-data: Likewise.
49464 * conform/data/sys/stat.h-data: Likewise.
49465 * conform/data/sys/statvfs.h-data: Likewise.
49466 * conform/data/sys/time.h-data: Likewise.
49467 * conform/data/sys/timeb.h-data: Likewise.
49468 * conform/data/sys/times.h-data: Likewise.
49469 * conform/data/sys/types.h-data: Likewise.
49470 * conform/data/sys/uio.h-data: Likewise.
49471 * conform/data/sys/un.h-data: Likewise.
49472 * conform/data/sys/utsname.h-data: Likewise.
49473 * conform/data/sys/wait.h-data: Likewise.
49474 * conform/data/syslog.h-data: Likewise.
49475 * conform/data/tar.h-data: Likewise.
49476 * conform/data/termios.h-data: Likewise.
49477 * conform/data/utime.h-data: Likewise.
49478 * conform/data/utmpx.h-data: Likewise.
49479 * conform/data/varargs.h-data: Likewise.
49480 * conform/data/wchar.h-data: Likewise.
49481 * conform/data/wctype.h-data: Likewise.
49482 * conform/data/wordexp.h-data: Likewise.
49483
49484 * include/stropts.h: New file.
49485 * include/uchar.h: New file.
49486 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49487 * include/assert.h: Likewise.
49488 * include/ctype.h: Likewise.
49489 * include/dirent.h: Likewise.
49490 * include/dlfcn.h: Likewise.
49491 * include/fcntl.h: Likewise.
49492 * include/fnmatch.h: Likewise.
49493 * include/glob.h: Likewise.
49494 * include/grp.h: Likewise.
49495 * include/libio.h: Likewise.
49496 * include/locale.h: Likewise.
49497 * include/math.h: Likewise.
49498 * include/net/if.h: Likewise.
49499 * include/netdb.h: Likewise.
49500 * include/netinet/in.h: Likewise.
49501 * include/pthread.h: Likewise.
49502 * include/pwd.h: Likewise.
49503 * include/regex.h: Likewise.
49504 * include/sched.h: Likewise.
49505 * include/search.h: Likewise.
49506 * include/setjmp.h: Likewise.
49507 * include/signal.h: Likewise.
49508 * include/stdio.h: Likewise.
49509 * include/stdlib.h: Likewise.
49510 * include/string.h: Likewise.
49511 * include/sys/cdefs.h: Likewise.
49512 * include/sys/mman.h: Likewise.
49513 * include/sys/msg.h: Likewise.
49514 * include/sys/resource.h: Likewise.
49515 * include/sys/select.h: Likewise.
49516 * include/sys/socket.h: Likewise.
49517 * include/sys/stat.h: Likewise.
49518 * include/sys/statvfs.h: Likewise.
49519 * include/sys/time.h: Likewise.
49520 * include/sys/times.h: Likewise.
49521 * include/sys/uio.h: Likewise.
49522 * include/sys/utsname.h: Likewise.
49523 * include/sys/wait.h: Likewise.
49524 * include/termios.h: Likewise.
49525 * include/time.h: Likewise.
49526 * include/ulimit.h: Likewise.
49527 * include/unistd.h: Likewise.
49528 * include/utime.h: Likewise.
49529 * include/wchar.h: Likewise.
49530 * include/wctype.h: Likewise.
49531 * include/wordexp.h: Likewise.
49532
49533 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49534
49535 * time/time.h: TIME_UTC must be a macro.
49536 Make timespec_get available for ISO C11 only as well.
49537
49538 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49539
49540 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49541 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49542
49543 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49544
49545 * configure.in: Use -o not -a in test for unsupported multi-arch.
49546
49547 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49548
49549 * manual/texinfo.tex: Update to version 2012-01-19.16.
49550
49551 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49552
49553 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49554
49555 2012-02-24 Roland McGrath <roland@hack.frob.com>
49556
49557 [BZ #13738]
49558 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49559 * manual/fdl-1.3.texi: New file.
49560 * manual/fdl-1.1.texi: File removed.
49561
49562 [BZ #13738]
49563 * manual/libc.texinfo (FDL_VERSION): New @set.
49564 Use it for mention of FDL in cover text.
49565 (Documentation License): Use it in @include file name.
49566
49567 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49568 Roland McGrath <roland@hack.frob.com>
49569
49570 [BZ #5461]
49571 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49572 (not LONG_LONG_MAX and LONG_LONG_MIN.
49573 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49574 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49575 name.
49576 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49577
49578 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49579
49580 [BZ #2547]
49581 [BZ #11365]
49582 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49583 manipulate bits before adding and subtracting TWO23[sx].
49584 * math/libm-test.inc (nearbyint_test): Add more tests.
49585
49586 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49587
49588 [BZ #2548]
49589 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49590 bits before adding and subtracting TWO23[sx].
49591 * math/libm-test.inc (rint_test): Add more tests.
49592 (rint_test_tonearest): Likewise.
49593 (rint_test_towardzero): Likewise.
49594 (rint_test_downward): Likewise.
49595 (rint_test_upward: Likewise.
49596
49597 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49598
49599 [BZ #10110]
49600 * include/stdc-predef.h: New file. Extracted from features.h.
49601 * include/features.h: Include stdc-predef.h.
49602 * Makefile (headers): Add stdc-predef.h.
49603 * CONFORMANCE (Compiler limitations): Update.
49604
49605 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49606
49607 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49608
49609 2012-02-21 David S. Miller <davem@davemloft.net>
49610
49611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49612 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49613
49614 2012-02-20 David S. Miller <davem@davemloft.net>
49615
49616 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49617 using a normal save/restore sequence, rather than allocating a
49618 dummy stack frame just to store a frame pointer and restore.
49619 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49620
49621 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49622
49623 * manual/install.texi: Fix stray word in line-wrapped comment.
49624
49625 2012-02-20 David S. Miller <davem@davemloft.net>
49626
49627 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49628 both binutils and gcc support GOTDATA.
49629
49630 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49631 "rd %pc" in the PIC register setup sequences.
49632
49633 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49634 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49635 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49636 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49637 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49640 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49642 (SYSCALL_ERROR_HANDLER): Likewise.
49643 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49644 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49646 (SYSCALL_ERROR_HANDLER): Likewise.
49647
49648 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49649 (HAVE_GCC_GOTDATA): New.
49650 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49651 relocation support in both binutils and gcc.
49652 * sysdeps/sparc/elf/configure: Regenerate.
49653
49654 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49655 * sysdeps/sparc/sparc32/elf/configure: Delete.
49656 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49657 * sysdeps/sparc/sparc64/elf/configure: Delete.
49658 * sysdeps/sparc/elf/configure.in: New file.
49659 * sysdeps/sparc/elf/configure: Generate.
49660
49661 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49662 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49663 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49664 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49665 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49666
49667 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49668
49669 * manual/install.texi: Do not mention specific glibc version
49670 numbers.
49671 * manual/libc.texinfo (VERSION, UPDATED): Update.
49672 (@copying): Use @copyright{} and range of years.
49673
49674 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49675
49676 [BZ #13695]
49677 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49678 [crti.S not in sysdirs] (generated): Do not append.
49679 [crti.S not in sysdirs] (omit-deps): Likewise.
49680 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49681 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49682 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49683 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49684 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49685 Likewise.
49686 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49687 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49688 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49689 * csu/defs.awk: Remove file.
49690 * sysdeps/generic/initfini.c: Likewise.
49691 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49692 variable.
49693 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49694 Likewise.
49695
49696 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49697
49698 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49699 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49700 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49703 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49704 <bits/epoll.h>.
49705 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49706 (__EPOLL_PACKED): Define to empty if not defined by
49707 <bits/epoll.h>.
49708 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49710 bits/epoll.h.
49711
49712 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49713
49714 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49715 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49716 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49718 <bits/timerfd.h>.
49719 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49721 bits/timerfd.h.
49722
49723 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49724
49725 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49726 in C locale.
49727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49728 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49729 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49731
49732 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49733
49734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49735 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49736
49737 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49738
49739 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49740 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49741 defined.
49742 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49743 Likewise.
49744 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49745 entry for 2.16.
49746
49747 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49748
49749 * math/w_acos.c: Use non-signaling floating-point comparisons.
49750 * math/w_acosf.c: Likewise.
49751 * math/w_acosh.c: Likewise.
49752 * math/w_acoshf.c: Likewise.
49753 * math/w_acoshl.c: Likewise.
49754 * math/w_acosl.c: Likewise.
49755 * math/w_asin.c: Likewise.
49756 * math/w_asinf.c: Likewise.
49757 * math/w_asinl.c: Likewise.
49758 * math/w_atanh.c: Likewise.
49759 * math/w_atanhf.c: Likewise.
49760 * math/w_atanhl.c: Likewise.
49761 * math/w_exp2.c: Likewise.
49762 * math/w_exp2f.c: Likewise.
49763 * math/w_exp2l.c: Likewise.
49764 * math/w_j0.c: Likewise.
49765 * math/w_j0f.c: Likewise.
49766 * math/w_j0l.c: Likewise.
49767 * math/w_j1.c: Likewise.
49768 * math/w_j1f.c: Likewise.
49769 * math/w_j1l.c: Likewise.
49770 * math/w_jn.c: Likewise.
49771 * math/w_jnf.c: Likewise.
49772 * math/w_log.c: Likewise.
49773 * math/w_log10.c: Likewise.
49774 * math/w_log10f.c: Likewise.
49775 * math/w_log10l.c: Likewise.
49776 * math/w_log2.c: Likewise.
49777 * math/w_log2f.c: Likewise.
49778 * math/w_log2l.c: Likewise.
49779 * math/w_logf.c: Likewise.
49780 * math/w_logl.c: Likewise.
49781 * math/w_sqrt.c: Likewise.
49782 * math/w_sqrtf.c: Likewise.
49783 * math/w_sqrtl.c: Likewise.
49784 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49785 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49787 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49788 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49789
49790 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49791
49792 [BZ #9739]
49793 * manual/string.texi (strnlen): Use correct parameter name in
49794 equivalent expression.
49795
49796 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49797
49798 [BZ #11174]
49799 * manual/users.texi (seteuid): Consistently use neweuid for
49800 argument name.
49801
49802 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49803
49804 [BZ #13704]
49805 * manual/nss.texi (Services in the NSS configuration): Correct
49806 list of services in example configuration file.
49807
49808 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49809
49810 [BZ #11322]
49811 * manual/arith.texi: Remove statements about negative zero
49812 behaving identically to zero.
49813
49814 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49815
49816 [BZ #5993]
49817 * manual/install.texi: Do not document upgrading from libc5.
49818
49819 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49820
49821 [BZ #4596]
49822 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49823
49824 2012-02-18 David S. Miller <davem@davemloft.net>
49825
49826 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49827 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49828 %o7 across the call.
49829 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49830 instead.
49831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49832 SETUP_PIC_REG_LEAF.
49833 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49834 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49835 * sysdeps/sparc/crtn.S: Likewise.
49836
49837 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49838
49839 * aout/Makefile: Remove.
49840
49841 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49842
49843 [BZ #13058]
49844 * manual/examples/argp-ex1.c (main): Format definition in GNU
49845 style.
49846 * manual/examples/argp-ex2.c (main): Likewise.
49847 * manual/examples/argp-ex3.c (main): Likewise.
49848 * manual/examples/argp-ex4.c (main): Likewise.
49849 * manual/examples/longopt.c (main): Use new-style prototype
49850 definition.
49851 * manual/examples/strncat.c (main): Specify return type and use
49852 (void) for arguments.
49853 * manual/examples/subopt.c (main): Use char **argv argument.
49854
49855 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49856
49857 [BZ #5077]
49858 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49859 rounding modes.
49860
49861 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49862
49863 [BZ #6907]
49864 * manual/string.texi (strchr): Change when strchrnul is
49865 recommended.
49866
49867 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49868
49869 [BZ #174]
49870 * manual/locale.texi (setlocale): Document LOCPATH.
49871
49872 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49873
49874 [BZ #10210]
49875 * manual/process.texi (execle): Move @dots{} before last argument.
49876
49877 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49878
49879 [BZ #12047]
49880 * manual/charset.texi (Generic Charset Conversion): Fix typo
49881 (LC_TYPE -> LC_CTYPE).
49882
49883 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49884
49885 [BZ #5805]
49886 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49887 (scalbnf): Likewise.
49888 (scalbnl): Likewise.
49889 (scalbln): Likewise.
49890 (scalblnf): Likewise.
49891 (scalblnl): Likewise.
49892 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49893 (vwarnx): Likewise.
49894 (verr): Likewise.
49895 (verrx): Likewise.
49896 * manual/filesys.texi (telldir): Use braces around return type.
49897 * manual/llio.texi (mmap): Add space after comma.
49898 (mmap64): Likewise.
49899 * manual/math.texi (jn): Use @var{} on parameter names.
49900 (jnf): Likewise.
49901 (jnl): Likewise.
49902 (yn): Likewise.
49903 (ynf): Likewise.
49904 (ynl): Likewise.
49905 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49906 line.
49907 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49908 "...".
49909 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49910 (sched_get_priority_max): Likewise.
49911 * manual/signal.texi (sigvec): Add space after comma.
49912 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49913 names.
49914 (if_indextoname): Likewise.
49915 (if_freenameindex): Likewise.
49916 (sendto): Use ',' instead of '.' in prototype.
49917 * manual/startup.texi (syscall): Use @dots{} instead of literal
49918 "...".
49919 * manual/stdio.texi (__fpending): Separate initial words of
49920 paragraph from @deftypefun line.
49921 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49922 "...".
49923 (vsyslog): Use @var{} on parameter names.
49924 * manual/terminal.texi (stty): Use @var{} on parameter names.
49925 * manual/users.texi (getutmp): Use @var{} on parameter names.
49926 (getutmpx): Likewise.
49927
49928 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49929
49930 [BZ #6884]
49931 * manual/stdio.texi (fopen): Fix typos in description of
49932 ",ccs=STRING".
49933
49934 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49935
49936 [BZ #4026]
49937 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49938 get clock_id definition.
49939
49940 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49941
49942 [BZ #4822]
49943 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49944 (madvise): Cast every argument to void on its own.
49945
49946 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49947
49948 [BZ #9902]
49949 * manual/startup.texi (Exit Status): Fix typo.
49950
49951 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49952
49953 [BZ #10140]
49954 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49955 * manual/examples/argp-ex2.c: Likewise.
49956 * manual/examples/argp-ex3.c: Likewise.
49957
49958 2012-02-16 Richard Henderson <rth@redhat.com>
49959
49960 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49961 * sysdeps/s390/s390-32/initfini.c: Remove.
49962 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49963 * sysdeps/s390/s390-64/initfini.c: Remove.
49964
49965 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49966
49967 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49968 compiler output for sysdeps/generic/initfini.c.
49969 * sysdeps/sh/elf/initfini.c: Remove file.
49970
49971 2012-02-16 David S. Miller <davem@davemloft.net>
49972
49973 [BZ #11494]
49974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49975
49976 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49977 * sysdeps/sparc/crti.S: New file.
49978 * sysdeps/sparc/crtn.S: New file.
49979 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49980 * sysdeps/sparc/sparc64/Makefile: Likewise.
49981
49982 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49983
49984 [BZ #3335]
49985 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49986
49987 2012-02-15 Roland McGrath <roland@hack.frob.com>
49988
49989 [BZ #4822]
49990 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49991
49992 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49993 (write, read, close): Likewise.
49994 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49995
49996 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49997
49998 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49999 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50000 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50001 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50002 <bits/signalfd.h>.
50003 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50005 bits/signalfd.h.
50006
50007 2012-02-14 Marek Polacek <polacek@redhat.com>
50008
50009 * sysdeps/x86_64/crti.S: New file.
50010 * sysdeps/x86_64/crtn.S: New file.
50011 * sysdeps/x86_64/elf/initfini.c: Remove file.
50012
50013 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50014
50015 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50016 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50017 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50018 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50019 <bits/inotify.h>.
50020 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50022 bits/inotify.h.
50023
50024 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50025
50026 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50027 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50028 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50029 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50030 <bits/eventfd.h>.
50031 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50033 bits/eventfd.h.
50034
50035 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50036
50037 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50038 __feraiseexcept instead of feraiseexcept.
50039
50040 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50041 nanosleep invocations.
50042 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50043 strings, and add error checking for a nanosleep invocations.
50044
50045 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50046
50047 Replace FSF snail mail address with URLs, as per GNU coding standards.
50048 Most of the snail mail addresses were wrong anyway, and omitting
50049 them makes the source code easier to maintain. Almost all of the
50050 changes are to license notices and to locale LC_IDENTIFICATION
50051 addresses, except for this one:
50052 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50053 not its snail mail address.
50054
50055 2012-02-09 Richard Henderson <rth@twiddle.net>
50056
50057 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50058 of kernel-features.h.
50059
50060 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50061
50062 2012-02-08 Marek Polacek <polacek@redhat.com>
50063
50064 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50065 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50066 * sysdeps/gnu/_G_config.h: Likewise.
50067 * sysdeps/generic/_G_config.h: Likewise.
50068
50069 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50070
50071 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50072 tests.
50073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50074
50075 * sysdeps/powerpc/powerpc32/crti.S: New file.
50076 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50077 * sysdeps/powerpc/powerpc64/crti.S: New file.
50078 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50079
50080 * Makeconfig (have-initfini): Don't set.
50081 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50082 * configure.in (nopic_initfini): Don't substitute.
50083 * config.h.in (HAVE_INITFINI): Don't #undef.
50084 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50085 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50086
50087 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50088
50089 Support crti.S and crtn.S provided directly by architectures.
50090 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50091 [crti.S in sysdirs] (omit-deps): Likewise.
50092 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50093 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50094 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50095 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50096 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50097 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50098 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50099 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50100 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50101 compiler output for sysdeps/generic/initfini.c.
50102 * sysdeps/i386/elf/Makefile: Remove file.
50103 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50104
50105 2012-02-07 Marek Polacek <polacek@redhat.com>
50106
50107 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50108 * sysdeps/gnu/_G_config.h: Likewise.
50109 * sysdeps/mach/hurd/_G_config.h: Likewise.
50110
50111 2012-02-07 Marek Polacek <polacek@redhat.com>
50112
50113 * math/Makefile (tests): Add tst-CMPLX2.
50114 * math/tst-CMPLX2.c: New file.
50115
50116 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50117
50118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50119
50120 * math/libm-test.inc (jn_test): Add missing L suffix.
50121
50122 2012-02-06 Marek Polacek <polacek@redhat.com>
50123
50124 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50125 * sysdeps/i386/fpu/e_powf.S: Likewise.
50126 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50127 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50129 * sysdeps/i386/fpu/e_pow.S: Likewise.
50130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50134 * sysdeps/i386/fpu/e_log2.S: Likewise.
50135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50137 * sysdeps/i386/fpu/e_powl.S: Likewise.
50138 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50139 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50140 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50141 * sysdeps/i386/fpu/e_logl.S: Likewise.
50142 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50143 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50144 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50145 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50146 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50147 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50148 * sysdeps/i386/fpu/e_log.S: Likewise.
50149 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50150 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50151 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50152 * sysdeps/i386/fpu/e_logf.S: Likewise.
50153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50154 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50155 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50156 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50157 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50158 * sysdeps/i386/fpu/e_log10.S: Likewise.
50159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50164 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50165 * sysdeps/i386/asm-syntax.h: Likewise.
50166 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50168 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50169 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50170 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50172 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50173 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50174 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50175 * sysdeps/powerpc/sysdep.h: Likewise.
50176 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50177 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50178
50179 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50180
50181 [BZ #411]
50182 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50183
50184 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50185
50186 * sysdeps/i386/sysdep.h: Include <features.h>.
50187 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50188 version.
50189
50190 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50191
50192 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50193 Define.
50194 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50195 LOAD_PIC_REG_STR.
50196
50197 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50198
50199 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50200 (SETUP_PIC_REG): Use GET_PC_THUNK.
50201 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50202 macro.
50203
50204 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50205
50206 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50207 for non-PIC compilation.
50208 (SETUP_PIC_REG): Add .p2align directive.
50209 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50210 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50211 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50212 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50213 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50214 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50215 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50216 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50217 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50218 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50219 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50220 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50221 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50222 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50223 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50224 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50225 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50226 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50227 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50228 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50231 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50232 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50234 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50235 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50236 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50237 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50238 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50239 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50240 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50241 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50242 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50243 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50244 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50245 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50246 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50247 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50248 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50249 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50250
50251 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50252
50253 * math/tst-CMPLX.c: Include <stdio.h>.
50254
50255 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50256
50257 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50258 float.
50259 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50260 * sysdeps/sparc/bits/mathdef.h: Likewise.
50261
50262 2012-01-31 Marek Polacek <polacek@redhat.com>
50263
50264 * libio/libio.h: Don't define _PARAMS.
50265 * locale/programs/config.h: Don't define PARAMS.
50266 * stdlib/strtol_l.c: Likewise.
50267 (__strtol_l): Remove PARAMS from the prototype.
50268
50269 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50270
50271 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50272 names. Just use the correct names. Remove unnecessary wrapper
50273 functions.
50274 * malloc/arena.c: Likewise.
50275 * malloc/hooks.c: Likewise.
50276
50277 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50278 ARENA_TEST says not to. Simplify test for creation of a new arena.
50279 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50280
50281 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50282
50283 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50284 into tail calls.
50285 (update_get_addr): New function.
50286 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50287 GET_ADDR_MODULE parameter.
50288
50289 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50290
50291 * crypt/cert.c: Remove __STDC__ conditionals.
50292 * crypt/crypt-entry.c: Likewise.
50293 * crypt/crypt_util.c: Likewise.
50294 * libio/filedoalloc.c: Likewise.
50295 * libio/fileops.c: Likewise.
50296 * libio/genops.c: Likewise.
50297 * libio/iofclose.c: Likewise.
50298 * libio/iofdopen.c: Likewise.
50299 * libio/iofopen.c: Likewise.
50300 * libio/iofopen64.c: Likewise.
50301 * libio/iogetdelim.c: Likewise.
50302 * libio/iopopen.c: Likewise.
50303 * libio/obprintf.c: Likewise.
50304 * libio/oldfileops.c: Likewise.
50305 * libio/oldiofclose.c: Likewise.
50306 * libio/oldiofdopen.c: Likewise.
50307 * libio/oldiofopen.c: Likewise.
50308 * libio/oldiopopen.c: Likewise.
50309 * libio/wfiledoalloc.c: Likewise.
50310 * libio/wgenops.c: Likewise.
50311 * locale/programs/xmalloc.c: Likewise.
50312 * misc/syslog.c: Likewise.
50313 * stdio-common/xbug.c: Likewise.
50314 * string/memchr.c: Likewise.
50315 * string/memcmp.c: Likewise.
50316 * string/memrchr.c: Likewise.
50317 * string/rawmemchr.c: Likewise.
50318 * sysdeps/posix/getcwd.c: Likewise.
50319 * time/strftime_l.c: Likewise.
50320
50321 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50322
50323 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50324 * config.make.in (config-cflags-sse2avx): Define.
50325 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50326 Fix typo.
50327
50328 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50329
50330 * scripts/config.guess: Update from upstream config git repository.
50331 * scripts/config.sub: Likewise.
50332
50333 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50334
50335 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50336 (EM_NUM): Update.
50337 (R_TILEPRO_*, R_TILEGX_*): New macros.
50338
50339 * scripts/firstversions.awk: Fix bug in version range handling.
50340
50341 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50342
50343 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50344
50345 * include/sys/epoll.h: New file.
50346 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50347 libc_hidden_def.
50348
50349 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50350
50351 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50352 Avoid unnecessary __WORDSIZE == 64 test.
50353 (fmaxf): Use VEX format if possible.
50354 (fmax): Likewise.
50355 (fminf): Likewise.
50356 (fmin): Likewise.
50357
50358 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50359 * math/math_private.h: Remove libc_fegetround* and
50360 libc_fesetround*.
50361 * sysdeps/i386/configure.in: Check for -msse2avx.
50362 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50363 also if SSE2AVX is defined.
50364 Remove libc_fegetround* and libc_fesetround*.
50365 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50366 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50367 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50368 of HAS_YMM_USABLE.
50369 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50370 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50371 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50372 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50373 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50374
50375 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50376
50377 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50378
50379 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50380 size is not set.
50381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50382
50383 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50384
50385 [BZ #13618]
50386 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50387 relocation.
50388 * Makeconfig (libm): Define.
50389 * elf/Makefile: Add rules to build and run tst-relsort1.
50390 * elf/tst-relsort1.c: New file.
50391 * elf/tst-relsort1mod1.c: New file.
50392 * elf/tst-relsort1mod2.c: New file.
50393
50394 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50395
50396 * math/s_ldexp.c: Remove __STDC__ conditionals.
50397 * math/s_ldexpf.c: Likewise.
50398 * math/s_ldexpl.c: Likewise.
50399 * math/s_nextafter.c: Likewise.
50400 * math/s_nexttowardf.c: Likewise.
50401 * math/s_significand.c: Likewise.
50402 * math/s_significandf.c: Likewise.
50403 * math/s_significandl.c: Likewise.
50404 * math/w_jnl.c: Likewise.
50405 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50406 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50407 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50408 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50409 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50410 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50411 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50412 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50413 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50414 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50415 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50416 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50418 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50419 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50420 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50422 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50424 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50426 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50427 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50429 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50430 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50431 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50432 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50433 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50439 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50440 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50441 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50442 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50443 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50444 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50445 * sysdeps/ieee754/k_standard.c: Likewise.
50446 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50447 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50448 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50449 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50450 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50451 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50452 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50453 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50454 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50455 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50456 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50457 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50458 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50459 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50460 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50462 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50463 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50465 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50466 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50467 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50468 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50469 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50470 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50471 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50472 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50475 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50477 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50478 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50481 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50482 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50484 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50485 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50486 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50488 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50489 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50490 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50492 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50493 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50494 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50495 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50496 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50499 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50500 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50501 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50502 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50503 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50504 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50506 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50507 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50510 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50511 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50512 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50513 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50514 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50515 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50516 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50517 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50518 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50519 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50520 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50521 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50523 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50524 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50525 * sysdeps/ieee754/s_matherr.c: Likewise.
50526 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50527 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50530
50531 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50532
50533 * crypt/md5.h: Remove __STDC__ conditionals.
50534 * libio/libioP.h: Likewise.
50535 * locale/programs/config.h: Likewise.
50536 * sysdeps/generic/sysdep.h: Likewise.
50537 * sysdeps/i386/asm-syntax.h: Likewise.
50538 * sysdeps/s390/asm-syntax.h: Likewise.
50539 * sysdeps/unix/sysdep.h: Likewise.
50540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50542
50543 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50544
50545 * libio/libio.h: Remove __STDC__ conditionals.
50546 * malloc/obstack.h: Likewise.
50547 * math/complex.h: Likewise.
50548 * math/math.h: Likewise.
50549 * sysdeps/generic/_G_config.h: Likewise.
50550 * sysdeps/gnu/_G_config.h: Likewise.
50551 * sysdeps/mach/hurd/_G_config.h: Likewise.
50552 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50553 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50554 * sysdeps/sparc/bits/mathdef.h: Likewise.
50555
50556 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50557
50558 [BZ #13583]
50559 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50560 Clean up HAS_* macros.
50561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50562 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50563 possible.
50564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50565 HAS_AVX.
50566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50567 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50568 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50570 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50571
50572 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50573
50574 * elf/tst-unique3.cc (gets): Remove declaration.
50575 * elf/tst-unique3lib.cc (gets): Likewise.
50576 * elf/tst-unique3lib2.cc (gets): Likewise.
50577 * elf/tst-unique4.cc (gets): Likewise.
50578
50579 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50580
50581 * include/stdio.h: Add C++ protection. Add gets declarations and
50582 definitions.
50583 * debug/tst-chk1.c: Don't declare gets here.
50584 * stdio-common/tst-gets.c: Likewise.
50585
50586 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50587
50588 * posix/glob: Remove directory.
50589
50590 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50591
50592 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50593
50594 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50595
50596 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50597 of the non-standard EPFNOSUPPORT.
50598
50599 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50600
50601 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50602 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50603 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50604
50605 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50606
50607 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50608
50609 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50610
50611 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50612 transient errors.
50613 * nscd/grpcache.c (cache_addgr): Likewise.
50614 * nscd/hstcache.c (cache_addhst): Likewise.
50615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50616 * nscd/pwdcache.c (cache_addpw): Likewise.
50617 * nscd/servicescache.c (cache_addserv): Likewise.
50618
50619 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50620
50621 * malloc/malloc.c: Various cleanups.
50622 * malloc/hooks.c: Likewise.
50623
50624 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50625 * stdlib/bug-fmtmsg1.c: New file.
50626
50627 * stdlib/fmtmsg.c (init): Add missing unlock.
50628 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50629
50630 2012-01-12 Marek Polacek <polacek@redhat.com>
50631
50632 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50633 and _GNU_SOURCE.
50634
50635 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50636
50637 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50638 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50639 macro to ensure uniqueness of label name.
50640 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50641 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50642
50643 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50644
50645 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50646
50647 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50648 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50649 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50651
50652 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50653
50654 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50655
50656 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50658 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50659
50660 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50661
50662 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50663 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50666
50667 * math/bits/math-finite.h: Add ldexp support.
50668
50669 2012-01-10 Marek Polacek <polacek@redhat.com>
50670
50671 * locale/programs/localedef.h (show_archive_content): Add noreturn
50672 attribute.
50673
50674 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50675
50676 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50677
50678 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50679
50680 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50681
50682 * io/Makefile (headers): Add bits/poll2.h.
50683
50684 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50685
50686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50687 typo #include statement.
50688
50689 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50690
50691 * include/sys/cdefs.h: Define __attribute_alloc_size.
50692 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50693 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50694 * elf/pldd.c: Likewise.
50695 * iconv/iconv_charmap.c: Likewise.
50696 * iconv/iconvconfig.c: Likewise.
50697 * iconv/strtab.c: Likewise.
50698 * locale/programs/locale.c: Likewise.
50699 * locale/programs/localedef.h: Likewise.
50700 * locale/programs/simple-hash.c: Likewise.
50701 * nscd/nscd.h: Likewise.
50702 * nss/makedb.c: Likewise.
50703 * sysdeps/generic/ldconfig.h: Likewise.
50704 * locale/programs/localedef.c: Remove xmalloc prototype.
50705 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50706
50707 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50708
50709 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50710 appropriate.
50711
50712 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50713
50714 * math/Makefile (tests): Add tst-CMPLX.
50715 * math/tst-CMPLX.c: New file.
50716
50717 * math/complex.h (CMPLXL): Fix typo.
50718
50719 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50720 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50721 GLIBC_2.16.
50722 * debug/tst-chk1.c: Add poll and ppoll tests.
50723 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50724 * include/sys/poll.h: Add hidden proto for ppoll.
50725 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50726 * sysdeps/mach/hurd/ppoll.c: Likewise.
50727 * io/ppoll.c: Likewise.
50728 * debug/poll_chk.c: New file.
50729 * debug/ppoll_chk.c: New file.
50730 * include/bits/poll2.h: New file.
50731 * io/bits/poll2.h: New file.
50732
50733 [BZ #1350]
50734 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50735
50736 * configure.in: static is always set to yes. Remove.
50737 * config.make.in: Don't set build-static.
50738 * Makeconfig: Remove use of build-static.
50739 * dlfcn/Makefile: Likewise.
50740 * elf/Makefile: Likewise.
50741 * math/Makefile: Likewise.
50742 * misc/Makefile: Likewise.
50743 * nptl/Makefile: Likewise.
50744 * sysdeps/mach/hurd/Makefile: Likewise.
50745
50746 * configure.in: PWD_P is not used anymore.
50747 * config.make.in: Remove PWD_P entry.
50748
50749 * configure.in: Remove last remnants of RANLIB.
50750 No need to check for signed size_t anymore.
50751 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50752 and IA-64.
50753 Remove __builtin_expect test because we require at least gcc 3.4.
50754 * aclocal.m4: Likewise.
50755
50756 * wcsmbs/mbrtoc16.c: Implement using towc function.
50757 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50758 * wcsmbs/wcsmbsload.c: Likewise.
50759 * iconv/gconv_simple.c: Likewise.
50760 * iconv/gconv_int.h: Likewise.
50761 * iconv/gconv_builtin.h: Likewise.
50762 * iconv/iconv_prog.c: Remove CHAR16 handling.
50763
50764 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50765
50766 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50767
50768 * configure.in: Remove --with-elf and --enable-bounded options.
50769 Dont set base_machine for ia64. More non-ELF conditions removed.
50770 Remove testing and setting of leading underscore information.
50771 * config.make.in (build-bounded): Set to no.
50772 * config.h.in: Remove NO_UNDERSCORES entry.
50773 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50774 them.
50775 * csu/start.c: Remove !NO_UNDERSCORE code.
50776 * locale/localeinfo.h: Likewise.
50777 * sysdeps/generic/machine-gmon.h: Likewise.
50778 * sysdeps/generic/sysdep.h: Likewise.
50779 * sysdeps/i386/sysdep.h: Likewise.
50780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50781 * sysdeps/mach/sysdep.h: Likewise.
50782 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50784 * sysdeps/sh/sysdep.h: Likewise.
50785 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50786 * sysdeps/unix/i386/sysdep.S: Likewise.
50787 * sysdeps/unix/sparc/start.c: Likewise.
50788 * sysdeps/unix/sparc/sysdep.S: Likewise.
50789 * sysdeps/unix/sparc/sysdep.h: Likewise.
50790 * sysdeps/unix/start.c: Likewise.
50791 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50792 * sysdeps/x86_64/sysdep.h: Likewise.
50793
50794 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50795
50796 [BZ #13553]
50797 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50798 for non-gcc.
50799 * argp/argp-fmtstream.h: Use const instead __const.
50800 * argp/argp.h: Likewise.
50801 * assert/assert.h: Likewise.
50802 * bits/fenv.h: Likewise.
50803 * bits/sched.h: Likewise.
50804 * bits/sigset.h: Likewise.
50805 * bits/sigthread.h: Likewise.
50806 * catgets/nl_types.h: Likewise.
50807 * conform/data/pthread.h-data: Likewise.
50808 * crypt/crypt-private.h: Likewise.
50809 * crypt/crypt.h: Likewise.
50810 * crypt/crypt_util.c: Likewise.
50811 * ctype/ctype.h: Likewise.
50812 * debug/execinfo.h: Likewise.
50813 * debug/mbsnrtowcs_chk.c: Likewise.
50814 * debug/mbsrtowcs_chk.c: Likewise.
50815 * debug/wcsnrtombs_chk.c: Likewise.
50816 * debug/wcsrtombs_chk.c: Likewise.
50817 * debug/wcstombs_chk.c: Likewise.
50818 * dirent/dirent.h: Likewise.
50819 * dlfcn/dlfcn.h: Likewise.
50820 * elf/neededtest4.c: Likewise.
50821 * grp/grp.h: Likewise.
50822 * gshadow/gshadow.h: Likewise.
50823 * iconv/gconv.h: Likewise.
50824 * iconv/gconv_int.h: Likewise.
50825 * iconv/gconv_simple.c: Likewise.
50826 * iconv/iconv.h: Likewise.
50827 * iconv/loop.c: Likewise.
50828 * iconv/skeleton.c: Likewise.
50829 * include/aio.h: Likewise.
50830 * include/aliases.h: Likewise.
50831 * include/argz.h: Likewise.
50832 * include/arpa/inet.h: Likewise.
50833 * include/assert.h: Likewise.
50834 * include/dirent.h: Likewise.
50835 * include/dlfcn.h: Likewise.
50836 * include/execinfo.h: Likewise.
50837 * include/fcntl.h: Likewise.
50838 * include/fenv.h: Likewise.
50839 * include/glob.h: Likewise.
50840 * include/grp.h: Likewise.
50841 * include/libintl.h: Likewise.
50842 * include/mntent.h: Likewise.
50843 * include/netdb.h: Likewise.
50844 * include/pwd.h: Likewise.
50845 * include/rpc/netdb.h: Likewise.
50846 * include/sched.h: Likewise.
50847 * include/search.h: Likewise.
50848 * include/shadow.h: Likewise.
50849 * include/signal.h: Likewise.
50850 * include/stdio.h: Likewise.
50851 * include/stdlib.h: Likewise.
50852 * include/string.h: Likewise.
50853 * include/sys/socket.h: Likewise.
50854 * include/sys/stat.h: Likewise.
50855 * include/sys/statfs.h: Likewise.
50856 * include/sys/statvfs.h: Likewise.
50857 * include/sys/syslog.h: Likewise.
50858 * include/sys/time.h: Likewise.
50859 * include/sys/uio.h: Likewise.
50860 * include/time.h: Likewise.
50861 * include/unistd.h: Likewise.
50862 * include/utmp.h: Likewise.
50863 * include/wchar.h: Likewise.
50864 * include/wctype.h: Likewise.
50865 * inet/aliases.h: Likewise.
50866 * inet/arpa/inet.h: Likewise.
50867 * inet/netinet/ether.h: Likewise.
50868 * inet/netinet/in.h: Likewise.
50869 * intl/libintl.h: Likewise.
50870 * io/bits/fcntl2.h: Likewise.
50871 * io/fcntl.h: Likewise.
50872 * io/ftw.h: Likewise.
50873 * io/sys/poll.h: Likewise.
50874 * io/sys/stat.h: Likewise.
50875 * io/sys/statfs.h: Likewise.
50876 * io/sys/statvfs.h: Likewise.
50877 * io/utime.h: Likewise.
50878 * libio/bits/stdio.h: Likewise.
50879 * libio/bits/stdio2.h: Likewise.
50880 * libio/libio.h: Likewise.
50881 * libio/libioP.h: Likewise.
50882 * libio/stdio.h: Likewise.
50883 * locale/lc-ctype.c: Likewise.
50884 * locale/locale.h: Likewise.
50885 * login/utmp.h: Likewise.
50886 * malloc/arena.c: Likewise.
50887 * malloc/malloc.c: Likewise.
50888 * malloc/malloc.h: Likewise.
50889 * malloc/mcheck.c: Likewise.
50890 * malloc/mtrace.c: Likewise.
50891 * math/bits/mathcalls.h: Likewise.
50892 * math/fenv.h: Likewise.
50893 * math/math_private.h: Likewise.
50894 * misc/bits/error.h: Likewise.
50895 * misc/bits/syslog.h: Likewise.
50896 * misc/err.h: Likewise.
50897 * misc/error.h: Likewise.
50898 * misc/fstab.h: Likewise.
50899 * misc/mntent.h: Likewise.
50900 * misc/regexp.h: Likewise.
50901 * misc/search.h: Likewise.
50902 * misc/sgtty.h: Likewise.
50903 * misc/sys/mman.h: Likewise.
50904 * misc/sys/syslog.h: Likewise.
50905 * misc/sys/uio.h: Likewise.
50906 * misc/sys/xattr.h: Likewise.
50907 * misc/ttyent.h: Likewise.
50908 * nis/rpcsvc/ypclnt.h: Likewise.
50909 * nss/nss.h: Likewise.
50910 * posix/bits/unistd.h: Likewise.
50911 * posix/fnmatch.h: Likewise.
50912 * posix/glob.h: Likewise.
50913 * posix/sched.h: Likewise.
50914 * posix/spawn.h: Likewise.
50915 * posix/sys/wait.h: Likewise.
50916 * posix/unistd.h: Likewise.
50917 * posix/wordexp.h: Likewise.
50918 * pwd/pwd.h: Likewise.
50919 * resolv/netdb.h: Likewise.
50920 * resource/sys/resource.h: Likewise.
50921 * rt/aio.h: Likewise.
50922 * rt/bits/mqueue2.h: Likewise.
50923 * rt/mqueue.h: Likewise.
50924 * shadow/shadow.h: Likewise.
50925 * signal/signal.h: Likewise.
50926 * socket/send.c: Likewise.
50927 * socket/sendto.c: Likewise.
50928 * socket/sys/socket.h: Likewise.
50929 * stdio-common/printf.h: Likewise.
50930 * stdlib/bits/stdlib.h: Likewise.
50931 * stdlib/fmtmsg.h: Likewise.
50932 * stdlib/monetary.h: Likewise.
50933 * stdlib/stdlib.h: Likewise.
50934 * stdlib/ucontext.h: Likewise.
50935 * streams/stropts.h: Likewise.
50936 * string/argz.h: Likewise.
50937 * string/bits/string2.h: Likewise.
50938 * string/string.h: Likewise.
50939 * string/strings.h: Likewise.
50940 * sunrpc/rpc/auth.h: Likewise.
50941 * sunrpc/rpc/auth_des.h: Likewise.
50942 * sunrpc/rpc/clnt.h: Likewise.
50943 * sunrpc/rpc/netdb.h: Likewise.
50944 * sunrpc/rpc/pmap_clnt.h: Likewise.
50945 * sunrpc/rpc/xdr.h: Likewise.
50946 * sysdeps/generic/inttypes.h: Likewise.
50947 * sysdeps/generic/net/if.h: Likewise.
50948 * sysdeps/generic/sys/swap.h: Likewise.
50949 * sysdeps/gnu/net/if.h: Likewise.
50950 * sysdeps/gnu/utmpx.h: Likewise.
50951 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50952 * sysdeps/i386/i486/bits/string.h: Likewise.
50953 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50954 * sysdeps/s390/bits/string.h: Likewise.
50955 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50956 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50957 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50958 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50959 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50960 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50961 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50962 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50963 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50964 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50965 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50966 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50967 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50968 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50969 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50970 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50971 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50973 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50976 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50977 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50978 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50979 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50980 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50981 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50983 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50984 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50985 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50986 * sysvipc/sys/ipc.h: Likewise.
50987 * sysvipc/sys/msg.h: Likewise.
50988 * sysvipc/sys/sem.h: Likewise.
50989 * sysvipc/sys/shm.h: Likewise.
50990 * termios/termios.h: Likewise.
50991 * time/sys/time.h: Likewise.
50992 * time/time.h: Likewise.
50993 * wcsmbs/bits/wchar2.h: Likewise.
50994 * wcsmbs/uchar.h: Likewise.
50995 * wcsmbs/wchar.h: Likewise.
50996 * wctype/wctype.h: Likewise.
50997
50998 [BZ #13551]
50999 * Makeconfig: Remove all but ELF support including AIX support.
51000 * Makerules: Likewise.
51001 * config.h.in: Likewise.
51002 * config.make.in: Likewise.
51003 * configure: Likewise.
51004 * configure.in: Likewise.
51005 * csu/Makefile: Likewise.
51006 * csu/version.c: Likewise.
51007 * debug/Makefile: Likewise.
51008 * dlfcn/Makefile: Likewise.
51009 * elf/Makefile: Likewise.
51010 * extra-lib.mk: Likewise.
51011 * iconv/Makefile: Likewise.
51012 * include/libc-symbols.h: Likewise.
51013 * include/shlib-compat.h: Likewise.
51014 * resolv/Makefile: Likewise.
51015 * resolv/res_libc.c: Likewise.
51016 * rt/Makefile: Likewise.
51017 * sysdeps/i386/asm-syntax.h: Likewise.
51018 * sysdeps/i386/sysdep.h: Likewise.
51019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51020 * sysdeps/mach/sysdep.h: Likewise.
51021 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51022 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51023 * sysdeps/s390/asm-syntax.h: Likewise.
51024 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51026 * sysdeps/sh/sysdep.h: Likewise.
51027 * sysdeps/unix/sparc/sysdep.h: Likewise.
51028 * sysdeps/wordsize-32/divdi3.c: Likewise.
51029 * sysdeps/x86_64/sysdep.h: Likewise.
51030
51031 * argp/Versions: Remove _argp_unlock_xxx.
51032
51033 [BZ #13559]
51034 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51035 * abilist/libBrokenLocale.abilist: Likewise.
51036 * abilist/libanl.abilist: Likewise.
51037 * abilist/libc.abilist: Likewise.
51038 * abilist/libcrypt.abilist: Likewise.
51039 * abilist/libdl.abilist: Likewise.
51040 * abilist/libm.abilist: Likewise.
51041 * abilist/libnsl.abilist: Likewise.
51042 * abilist/libpthread.abilist: Likewise.
51043 * abilist/libresolv.abilist: Likewise.
51044 * abilist/librt.abilist: Likewise.
51045 * abilist/libthread_db.abilist: Likewise.
51046 * abilist/libutil.abilist: Likewise.
51047 * abilist/libnss_db.abilist: New file.
51048
51049 * scripts/abilist.awk: Add support for indirect functions.
51050
51051 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51052
51053 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51054
51055 * shlib-versions: Remove entries for ports architectures.
51056
51057 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51058 files in ports.
51059 * elf/stackguard-macros.h: Remove support for IA-64.
51060 * elf/tst-auditmod1.c: Likewise.
51061 * sysdeps/generic/ldsodefs.h: Likewise.
51062
51063 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51064 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51065 configure files.
51066
51067 [BZ #13552]
51068 * configure.in: Remove --enable-omitfp support.
51069 * FAQ.in: Adjust.
51070 * config.make.in: Likewise.
51071 * Makeconfig: Likewise.
51072 * manual/install.texi: Likewise.
51073
51074 In case anyone cares, the IA-64 architecture could move to ports.
51075 * sysdeps/ia64/*: Removed.
51076 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51077 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51078
51079 [BZ #13555]
51080 * configure.in: Remove entries for unsupported architectures.
51081
51082 [BZ #13533]
51083 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51084 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51085 routines.
51086 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51087 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51088 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51089 fall back to using wcrtomb.
51090 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51091 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51092 renaming.
51093 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51094 * wcsmbs/tst-c16c32-1.c: New file.
51095
51096 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51097 local variable.
51098
51099 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51100
51101 * elf/tst-unique3.cc: Add explicit declaration of gets.
51102 * elf/tst-unique3lib.cc: Likewise.
51103 * elf/tst-unique3lib2.cc: Likewise.
51104 * elf/tst-unique4.cc: Likewise.
51105
51106 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51107
51108 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51109
51110 [BZ #13566]
51111 * assert/assert.h (static_assert): Don't define for C++.
51112 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51113 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51114
51115 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51116
51117 * iconv/loop.c (single loop): Fix assertion in storing of
51118 remaining bytes.
51119
51120 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51121
51122 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51123
51124 * posix/getconf.c: Update copyright year.
51125 * nss/getent.c: Likewise.
51126 * nss/makedb.c: Likewise.
51127 * iconv/iconvconfig.c: Likewise.
51128 * iconv/iconv_prog.c: Likewise.
51129 * elf/ldconfig.c: Likewise.
51130 * elf/pldd.c: Likewise.
51131 * elf/sotruss.ksh: Likewise.
51132 * catgets/gencat.c: Likewise.
51133 * csu/version.c: Likewise.
51134 * elf/ldd.bash.in: Likewise.
51135 * elf/sprof.c (print_version): Likewise.
51136 * locale/programs/locale.c: Likewise.
51137 * locale/programs/localedef.c: Likewise.
51138 * login/programs/pt_chown.c: Likewise.
51139 * nscd/nscd.c (print_version): Likewise.
51140 * debug/xtrace.sh: Likewise.
51141 * malloc/memusage.sh: Likewise.
51142 * malloc/mtrace.pl: Likewise.
51143 * debug/catchsegv.sh: Likewise.
51144
51145 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51146
51147 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51148 pure attribute.
51149
51150 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51151
51152 [BZ #13533]
51153 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51154 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51155 transformations.
51156 * iconv/gconv_int.h: Likewise.
51157 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51158 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51159 from libc for GLIBC_2.16.
51160 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51161 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51162 * wcsmbs/uchar.h: Really define mbstate_t.
51163 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51164 * wcsmbs/c16rtomb.c: New file.
51165 * wcsmbs/mbrtoc16.c: New file.
51166 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51167 for C/POSIX locale.
51168 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51169 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51170
51171 * wcsmbs/wchar.h: Add missing __restrict.
51172
51173 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51174
51175 [BZ #13532]
51176 * time/Makefile (routines): Add timespec_get.
51177 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51178 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51179 timespec for ISO C11.
51180 * time/timespec_get.c: New file.
51181 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51182 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51183
51184 [BZ #13531]
51185 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51186 * stdlib/stdlib.h: Declare aligned_alloc.
51187 * Versions.def: Add GLIBC_2.16 for libc.
51188 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51189
51190 [BZ 13527]
51191 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51192 ISO C11.
51193
51194 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51195 code.
51196
51197 [BZ #13528]
51198 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51199
51200 [BZ #13529]
51201 * assert/assert.h (static_assert): Define.
51202
51203 * version.h: Update for 2.16 development version.
51204
51205 [BZ #13526]
51206 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51207 _ISOC11_SOURCE.
51208
51209 * version.h (RELEASE): Bump for 2.15 release.
51210 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51211
51212 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51213 Patch by Marek Polacek <mpolacek@redhat.com>.
51214
51215 * bits/byteswap.h: Protect long long constants with __extension__.
51216 * sysdeps/i386/bits/byteswap.h: Likewise.
51217 * sysdeps/ia64/bits/byteswap.h: Likewise.
51218 * sysdeps/s390/bits/byteswap.h: Likewise.
51219 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51220
51221 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51222
51223 [BZ #13540]
51224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51225 destination buffer.
51226 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51227
51228 2011-12-23 Marek Polacek <polacek@redhat.com>
51229
51230 * elf/dl-addr.c (determine_info): Add inline keyword.
51231 * elf/tst-auditmod4b.c (check_avx): Likewise.
51232 * elf/tst-auditmod6b.c (check_avx): Likewise.
51233 * elf/tst-auditmod6c.c (check_avx): Likewise.
51234 * elf/tst-auditmod7b.c (check_avx): Likewise.
51235
51236 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51237
51238 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51239 !__SSE_MATH__.
51240
51241 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51242
51243 [BZ #13540]
51244 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51245 processing for last bytes.
51246
51247 2011-08-06 Bruno Haible <bruno@clisp.org>
51248
51249 [BZ #13061]
51250 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51251 U+0385, not to U+1FEE.
51252
51253 [BZ #13062]
51254 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51255 entry for U+00A5 U+0301.
51256
51257 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51258
51259 [BZ #13166]
51260 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51261 buffer for the output is too small.
51262
51263 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51264 optimization.
51265
51266 [BZ #13185]
51267 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51268 SSE flags if possible.
51269
51270 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51271
51272 [BZ #13540]
51273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51274 processing for last bytes.
51275
51276 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51277
51278 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51279 (syscall-list-default-options, syscall-list-default-condition)
51280 (syscall-list-includes): Define.
51281 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51282 list of ABIs and options and #if conditions for each ABI. Do not
51283 handle common syscalls between ABIs specially.
51284 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51285 Remove.
51286 (syscall-list-variants, syscall-list-32bit-options)
51287 (syscall-list-32bit-condition, syscall-list-64bit-options)
51288 (syscall-list-64bit-condition): Define.
51289 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51290 (syscall-list-variants, syscall-list-32bit-options)
51291 (syscall-list-32bit-condition, syscall-list-64bit-options)
51292 (syscall-list-64bit-condition): Define.
51293 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51294 Remove.
51295 (syscall-list-variants, syscall-list-32bit-options)
51296 (syscall-list-32bit-condition, syscall-list-64bit-options)
51297 (syscall-list-64bit-condition): Define.
51298 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51299 Remove.
51300 (syscall-list-variants, syscall-list-32bit-options)
51301 (syscall-list-32bit-condition, syscall-list-64bit-options)
51302 (syscall-list-64bit-condition): Define.
51303
51304 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51305
51306 * locale/iso-639.def: Add brx entry.
51307
51308 [BZ #13328]
51309 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51310 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51311
51312 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51313 __feraiseexcept_renamed.
51314
51315 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51316
51317 [BZ #13538]
51318 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51319 EPOLLET with unsigned values.
51320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51322
51323 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51324 to large cancellation.
51325 * math/s_cacoshf.c: Likewise.
51326 * math/s_cacoshl.c: Likewise.
51327
51328 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51329
51330 [BZ #13305]
51331 [BZ #12786]
51332 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51333 * math/s_cacoshf.c: Likewise.
51334 * math/s_cacoshl.c: Likewise.
51335
51336 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51337
51338 [BZ #13439]
51339 * iconv/gconv.h: Define __GCONV_SWAP.
51340 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51341 * iconvdata/utf-16.c: Likewise.
51342 * iconvdata/utf-32.c: Likewise.
51343
51344 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51345
51346 [BZ #13524]
51347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51348 numerator after shifting it by one limb.
51349
51350 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51351
51352 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51353 under [__USE_EXTERN_INLINES].
51354
51355 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51356
51357 [BZ #13446]
51358 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51359
51360 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51361
51362 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51363 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51364 optimized code.
51365 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51367 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51368 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51369 for strncasecmp/strncasecmp_l compilation.
51370 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51371 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51372
51373 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51374
51375 [BZ #13484]
51376 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51377 of __asm__.
51378
51379 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51380
51381 [BZ #13506]
51382 * time/tzfile.c (__tzfile_read): Check values from file header.
51383
51384 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51385
51386 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51387 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51388 * powerpc/powerpc32/dl-start.S: Likewise.
51389 * powerpc/powerpc32/elf/start.S: Likewise.
51390 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51391 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51392 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51393 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51394 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51395 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51396 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51397 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51398 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51399 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51400 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51401 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51402 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51403 * powerpc/powerpc32/memset.S: Likewise.
51404 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51405 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51406 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51407 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51408 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51409 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51410 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51411 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51412 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51413 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51415 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51416 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51417
51418 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51419
51420 * math/libm-test.inc: Added more nearbyint tests.
51421 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51422 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51425
51426 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51427
51428 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51429 FD_CLOEXEC.
51430
51431 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51432
51433 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51434 Add wcscpy-ssse3 wcscpy-c.
51435 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51436 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51437 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51438 * sysdeps/x86_64/wcschr.S: New file.
51439 * sysdeps/x86_64/wcsrchr.S: New file.
51440 * string/test-strcmp.c: Remove checking of wcscmp function for
51441 wrong alignments.
51442 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51443 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51444 wcsrchr-sse2 wcsrchr-c.
51445 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51446 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51447 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51448 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51449 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51450 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51451 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51452 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51453 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51454 * wcsmbc/wcschr.c (WCSCHR): New macro.
51455
51456 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51457
51458 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51459 * wcsmbs/test-wcsrchr.c: New file.
51460 * string/test-strrchr.c: Add wcsrchr support.
51461 (WIDE): New macro.
51462 * wcsmbs/test-wcscpy.c: New file.
51463 * string/test-strcpy.c: Add wcscpy support.
51464 (WIDE): New macro.
51465
51466 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51467
51468 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51469 the inner loop.
51470
51471 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51472
51473 [BZ #13472]
51474 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51475
51476 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51477
51478 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51479 Minor optimizations.
51480
51481 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51482 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51483 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51484
51485 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51486
51487 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51488 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51489 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51490 for gcc to avoid warnings.
51491 * inet/Makefile (tests): Add tst-checks.
51492 * inet/tst-checks.c: New file.
51493
51494 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51495 warning.
51496
51497 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51498 __wmemcmp_sse2.
51499
51500 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51501 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51502
51503 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51504
51505 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51506
51507 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51508 problem.
51509
51510 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51511
51512 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51513
51514 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51515 conditional on GCC version.
51516 (__arch_compare_and_exchange_val_8_acq)
51517 (__arch_compare_and_exchange_val_16_acq)
51518 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51519 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51520 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51521
51522 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51523
51524 * sysdeps/sh/backtrace.c: New file.
51525
51526 2011-12-02 Andreas Schwab <schwab@redhat.com>
51527
51528 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51529 parenthesis.
51530
51531 2011-12-01 Andreas Schwab <schwab@redhat.com>
51532
51533 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51534 falling back to utime.
51535
51536 2011-11-30 Andreas Schwab <schwab@redhat.com>
51537
51538 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51539 expectations for float.
51540
51541 2011-11-29 Andreas Schwab <schwab@redhat.com>
51542
51543 * locale/weight.h (findidx): Add parameter len.
51544 * locale/weightwc.h (findidx): Likewise.
51545 * posix/fnmatch_loop.c (FCT): Adjust caller.
51546 * posix/regcomp.c (build_equiv_class): Likewise.
51547 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51548 * posix/regexec.c (check_node_accept_bytes): Likewise.
51549 * string/strcoll_l.c (STRCOLL): Likewise.
51550 * string/strxfrm_l.c (STRXFRM): Likewise.
51551
51552 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51553
51554 * Makefile.in: Remove CVSOPT handling.
51555 * configure.in: Remove use of AC_REVISION.
51556 * iconvdata/Makefile (distribute): No need to filter out CVS.
51557 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51558 handling.
51559
51560 2011-11-16 Andreas Schwab <schwab@redhat.com>
51561
51562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51563 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51564 [USE_AS_STRNCASECMP_L]: Likewise.
51565 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51566 NO_TLS_DIRECT_SEG_REFS.
51567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51568 Fix argument offsets for non-PIC.
51569 [USE_AS_STRNCASECMP_L]: Likewise.
51570 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51571 NO_TLS_DIRECT_SEG_REFS.
51572
51573 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51574
51575 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51576 O_CLOEXEC.
51577 * locale/loadlocale.c (_nl_load_locale): Likewise.
51578
51579 2011-11-15 Andreas Schwab <schwab@redhat.com>
51580
51581 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51582 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51584 (SYSCALL_GETTIME): Set errno on error.
51585
51586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51587 count references to noai6ai_cached.
51588
51589 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51590
51591 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51592
51593 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51594 FD_CLOEXEC for /proc/self/maps.
51595
51596 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51597 FD_CLOEXEC for /proc/meminfo.
51598
51599 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51600 gai.conf.
51601
51602 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51603 FD_CLOEXEC for given file.
51604
51605 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51606
51607 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51608 FD_CLOEXEC for /etc/hosts.
51609 (_gethtent): Likewise.
51610
51611 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51612
51613 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51614 cancellation and set FD_CLOEXEC for /etc/netgroup.
51615
51616 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51617 reading /etc/publickey.
51618
51619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51620 allow cancellation when reading /etc/group.
51621
51622 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51623 cancellation.
51624 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51625
51626 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51627 when using data file.
51628
51629 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51630
51631 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51632 (write_nis_obj): Use "c" and "e" in fopen.
51633
51634 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51635
51636 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51637
51638 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51639
51640 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51641
51642 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51643 locale.alias.
51644
51645 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51646
51647 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51648
51649 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51650
51651 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51652 file parsing and set FD_CLOEXEC.
51653
51654 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51655
51656 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51657
51658 2011-11-14 Andreas Schwab <schwab@redhat.com>
51659
51660 * malloc/arena.c (arena_get2): Don't call reused_arena when
51661 _int_new_arena failed.
51662
51663 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51664
51665 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51666 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51669 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51670 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51671 to compile strcasecmp and strncasecmp.
51672 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51673 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51674
51675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51676
51677 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51678
51679 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51680 locale-defines.sym to gen-as-const-headers.
51681 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51682 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51684 to compile strcasecmp and strncasecmp.
51685 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51686 strcasecmp_l and strncasecmp_l.
51687 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51688 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51689 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51690 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51691 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51692 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51693 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51694 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51695 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51696 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51697 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51698
51699 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51700
51701 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51702 result of SYSDEP_GETTIME_CPU to retval.
51703 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51704 parameter list to macro. Remove trailing semicolon. Adjust users.
51705
51706 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51707 variable.
51708
51709 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51710 mantissa words.
51711 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51712
51713 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51714 from unused variable.
51715
51716 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51717 DWARF definitions.
51718 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51719 for assembling.
51720
51721 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51722 over namespaces.
51723
51724 * sunrpc/rpc_prot.c (rejected): Fix case value.
51725
51726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51727 unsigned long long int to avoid warnings in shift.
51728
51729 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51730 of use of trans.
51731 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51732 variable tmp.
51733
51734 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51735 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51736 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51737
51738 * nis/nis_table.c (nis_list): Use variable of correct type for
51739 result of __follow_path call.
51740
51741 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51742
51743 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51744 of math functions ceil, trunc, floor, round, and sqrt, when
51745 avaliable on the platform.
51746 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51747 name clash.
51748 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51749 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51750 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51751
51752 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51753
51754 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51756
51757 2011-11-11 Roland McGrath <roland@hack.frob.com>
51758
51759 * include/unistd.h: Fix __readlink return type.
51760 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51761
51762 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51763
51764 * stdlib/ucontext.h: Undo last change for makecontext.
51765
51766 2011-11-11 Andreas Schwab <schwab@redhat.com>
51767
51768 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51769
51770 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51771 * setjmp/setjmp.h: Mark functions as non-leaf.
51772 * setjmp/bits/setjmp2.h: Likewise.
51773 * stdlib/ucontext.h: Likewise.
51774
51775 2011-11-10 Andreas Schwab <schwab@redhat.com>
51776
51777 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51778 (reused_arena): Don't check arena limit.
51779 (arena_get2): Atomically check arena limit.
51780
51781 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51782
51783 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51784 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51785
51786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51787 instructions.
51788
51789 2011-11-07 Andreas Schwab <schwab@redhat.com>
51790
51791 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51792 handler when locking.
51793
51794 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51795 Fix size of allocated buffer.
51796
51797 2011-11-04 Andreas Schwab <schwab@redhat.com>
51798
51799 [BZ #10103]
51800 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51801 declarations for long double functions.
51802 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51803
51804 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51805
51806 2011-11-03 Andreas Schwab <schwab@redhat.com>
51807
51808 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51809 installed.
51810
51811 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51812 is disabled.
51813
51814 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51815
51816 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51817
51818 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51819
51820 * include/alloca.h (stackinfo_alloca_round): Define.
51821 (extend_alloca): Use it.
51822 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51823 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51824 here.
51825
51826 * scripts/check-local-headers.sh: Ignore libaudit.h.
51827
51828 * nscd/Makefile (extra-objs): Make recursively expanded.
51829
51830 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51831
51832 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51834
51835 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51836 * posix/tst-rfc3484-2.c: Likewise.
51837 * posix/tst-rfc3484-3.c: Likewise.
51838
51839 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51840 process_vm_writev.
51841 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51842 process_vm_writev.
51843 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51844 process_vm_writev from libc using GLIBC_2.15 version.
51845
51846 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51847
51848 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51849
51850 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51851 stack usage.
51852
51853 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51854
51855 [BZ #13367]
51856 * nss/getent.c (initgroups_keys): Show error message in case no group
51857 names are given.
51858
51859 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51860 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51861 __bump_nl_timestamp.
51862 * nscd/connections (nscd_init): When host database is served open
51863 netlink socket and request notification about configuration changes.
51864 (main_loop_poll): Track netlink file descriptor and bump timestamp
51865 in case data becomes available.
51866 (main_loop_epoll): Likewise.
51867 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51868 (database_pers_head): Add extra_data fileds.
51869 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51870 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51871 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51872 Adjust caller.
51873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51874 in6ai data, call __free_in6ai.
51875 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51876 Add -DHAVE_NETLINK.
51877 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51878 interface information. Reuse previous data if netlink timestamp
51879 is not changed.
51880 (__bump_nl_timestamp): New function.
51881 (__free_in6ai): New function.
51882
51883 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51884
51885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51886 close_not_cancel_no_status here.
51887 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51888
51889 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51890
51891 [BZ #13276]
51892 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51893 return value.
51894
51895 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51896 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51897 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51898
51899 2011-07-03 Andreas Jaeger <aj@suse.de>
51900
51901 [BZ #10709]
51902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51903 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51904 * math/libm-test.inc (sin_test): Add test case.
51905
51906 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51907
51908 [BZ #13337]
51909 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51910 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51911
51912 * elf/chroot_canon.c (chroot_canon): Cleanups.
51913
51914 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51915
51916 [BZ #13335]
51917 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51918 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51919
51920 * string/test-strchr.c: Make usable for strchrnul testing.
51921 * string/test-strchrnul.c: New file.
51922 * string/Makefile (strop-tests): Add strchrnul.
51923
51924 * po/it.po: Update from translation team.
51925 * po/es.po: Likewise.
51926
51927 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51928
51929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51930 the three constants needed as parameters. Drop the others.
51931 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51932 __m128i_strloadu_tolower.
51933 Create and initialize variable zero and use it in all the places
51934 where _mm_setzero_si128 was used.
51935
51936 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51937 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51938 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51939 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51940 anymore.
51941 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51942 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51943 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51944 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51945 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51946 __mpranred, __mptan.
51947 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51948 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51949 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51950 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51951 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51952 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51954 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51955 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51956
51957 2011-10-28 Andreas Schwab <schwab@redhat.com>
51958
51959 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51960 redefine if SHARED.
51961 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51962
51963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51964 wide char related routines to wcsmbs subdir.
51965
51966 2011-10-27 Andreas Schwab <schwab@redhat.com>
51967
51968 [BZ #13344]
51969 * misc/sys/cdefs.h (__THROWNL): Define.
51970 * posix/unistd.h: Use __THREADNL instead of __THREAD
51971 for memory synchronization functions.
51972
51973 2011-10-26 Roland McGrath <roland@hack.frob.com>
51974
51975 [BZ #13349]
51976 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51977 doesn't exist.
51978 * manual/stdio.texi (Obstack Streams): Node removed.
51979
51980 2011-10-26 Andreas Schwab <schwab@redhat.com>
51981
51982 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51983 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51984 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51985
51986 * math/math_private.h (math_force_eval): Allow non-addressable
51987 arguments.
51988 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51989
51990 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51991
51992 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51993 file is not needed.
51994
51995 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51999 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52002 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52003 Add AVX variants.
52004 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52005 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52006 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52007 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52008 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52009 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52010 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52011 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52012 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52013 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52014 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52015 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52016 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52017 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52020 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52021 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52022 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52023
52024 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52025 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52026
52027 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52028 place. Use VEX encoding when compiling for AVX.
52029
52030 2011-10-25 Andreas Schwab <schwab@redhat.com>
52031
52032 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52033 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52034
52035 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52036
52037 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52038
52039 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52040 useless if() expression.
52041 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52042 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52045 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52051 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52053 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52054 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52055 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52057 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52058 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52059 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52060
52061 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52062
52063 2011-10-25 Andreas Schwab <schwab@redhat.com>
52064
52065 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52066 condition.
52067 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52068
52069 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52070
52071 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52072 .text section. Avoid duplicate constants.
52073 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52075 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52083 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52084 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52085 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52086 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52087 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52088 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52089 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52090 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52093 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52094 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52095 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52096 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52097 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52098 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52099 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52100 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52102 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52103 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52104 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52105 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52106 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52107 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52108 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52109 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52111 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52112 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52114 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52115 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52117 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52118
52119 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52120
52121 * sysdeps/x86_64/dla.h: Move to ...
52122 * sysdeps/x86_64/fpu/dla.h: ...here.
52123 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52124 situations. Use __builtin_fma only for gcc 4.6 and up.
52125
52126 * config.make.in: Add have-mfma4 entry.
52127 * configure.in: Substitute libc_cv_cc_fma4.
52128 * math/Makefile (dbl-only-routines): Add sincostab.
52129 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52130 Use __sincostab not sincos.
52131 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52132 name is a macro.
52133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52137 using __copysign.
52138 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52139 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52140 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52141 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52142 and __inv.
52143 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52144 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52145 __copysign.
52146 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52147 define aliases when function name is a macro.
52148 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52149 sysdeps/ieee754/dbl-64/sincos.tbl.
52150 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52151 fma4-enabled routines.
52152 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52153 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52154 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52155 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52156 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52157 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52158 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52159 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52161 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52162 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52163 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52164 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52165 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52166 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52167 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52168 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52169 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52170 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52172 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52173 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52174 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52176 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52179 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52180 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52181 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52182
52183 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52184 rename.
52185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52193
52194 2011-10-24 Andreas Schwab <schwab@redhat.com>
52195
52196 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52197
52198 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52199
52200 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52201
52202 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52203 prediction.
52204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52205
52206 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52207 Remove unused variable magic_bits.
52208 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52209
52210 * string/strnlen.c: Define and use STRNLEN macro.
52211 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52212 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52214 * wcsmbs/wcslen.c: Define and use WCSLEN.
52215 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52216 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52217 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52218 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52219 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52220 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52221 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52222
52223 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52224
52225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52226 strnlen-sse2-no-bsf.
52227 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52228 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52229 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52230 Add strnlen support.
52231 (USE_AS_STRNLEN): New macro.
52232 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52233 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52234 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52235 * sysdeps/x86_64/wcslen.S: New file.
52236
52237 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52238
52239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52240 XMM-moves are used for copying on small sizes.
52241
52242 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52243
52244 * wcsmbs/Makefile (strop-tests): Add wcschr.
52245 * wcsmbs/test-wcschr.c: New file.
52246 * string/test-strchr.c: Update.
52247 Add wcschr support.
52248 (WIDE): New macro.
52249
52250 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52251
52252 * wcsmbs/Makefile (strop-tests): Add wcslen.
52253 * wcsmbs/test-wcslen.c: New file.
52254 * string/test-strlen.c: Update.
52255 Add wcslen support.
52256 (WIDE): New macro.
52257
52258 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52259
52260 * po/it.po: Update from translation team.
52261
52262 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52263
52264 * sysdeps/x86_64/wcscmp.S: Update.
52265 Fix wrong comparison semantics.
52266 wcscmp shall use signed comparison not unsigned.
52267 Don't use substraction to avoid overflow bug.
52268 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52269 * wcsmbc/wcscmp.c: Likewise.
52270 * string/test-strcmp.c: Likewise.
52271 Add new tests to check cases with negative values.
52272
52273 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52274
52275 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52276 * sysdeps/x86_64/dla.h: ...here. New file.
52277 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52284 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52286
52287 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52288
52289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52290 __ynl_finite aliases.
52291
52292 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52293
52294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52295
52296 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52297 define DLA_FMA.
52298 [DLA_FMA] (EMULV): Use DLA_FMA.
52299 [DLA_FMA] (MUL12): Use EMULV.
52300 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52301 that are not needed.
52302 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52309
52310 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52311
52312 * math/s_nan.c: Undef __nan.
52313 * math/s_nanf.c: Undef __nanf.
52314 * math/s_nanl.c: Undef __nanl.
52315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52316 "math_private.h".
52317
52318 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52319
52320 * math/s_catan.c: Add branch predictions.
52321 * math/s_catanf.c: Likewise.
52322 * math/s_catanh.c: Likewise.
52323 * math/s_catanhf.c: Likewise.
52324 * math/s_catanhl.c: Likewise.
52325 * math/s_catanl.c: Likewise.
52326 * math/s_cexp.c: Likewise.
52327 * math/s_cexpf.c: Likewise.
52328 * math/s_cexpl.c: Likewise.
52329 * math/s_clog.c: Likewise.
52330 * math/s_clog10.c: Likewise.
52331 * math/s_clog10f.c: Likewise.
52332 * math/s_clog10l.c: Likewise.
52333 * math/s_clogf.c: Likewise.
52334 * math/s_clogl.c: Likewise.
52335 * math/s_csqrt.c: Likewise.
52336 * math/s_csqrtf.c: Likewise.
52337 * math/s_csqrtl.c: Likewise.
52338 * math/s_ctanf.c: Likewise.
52339 * math/s_ctanh.c: Likewise.
52340 * math/s_ctanhf.c: Likewise.
52341 * math/s_ctanhl.c: Likewise.
52342 * math/s_ctanl.c: Likewise.
52343
52344 * math/math_private.h: Define __nan, __nanf, __nanl.
52345 * math/s_cacosh.c: Include <math_private.h>.
52346 * math/s_cacoshl.c: Likewise.
52347 * math/s_casinh.c: Likewise.
52348 * math/s_casinhf.c: Likewise.
52349 * math/s_casinhl.c: Likewise.
52350 * math/s_ccos.c: Rely entire on ccosh.
52351 * math/s_ccosf.c: Rely entire on ccoshf.
52352 * math/s_ccosl.c: Rely entirely on ccoshl.
52353 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52354 Remove tests for FE_INVALID.
52355 * math/s_ccoshf.c: Likewise.
52356 * math/s_ccoshl.c: Likewise.
52357 * math/s_csin.c: Likewise.
52358 * math/s_csinf.c: Likewise.
52359 * math/s_csinh.c Likewise.
52360 * math/s_csinhf.c: Likewise.
52361 * math/s_csinhl.c: Likewise.
52362 * math/s_csinl.c: Likewise.
52363 * math/s_ctan.c: Likewise.
52364 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52365 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52366 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52367
52368 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52369
52370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52371 compilation problems.
52372
52373 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52374 __builtin_expect.
52375
52376 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52377
52378 * sysdeps/i386/configure.in: Test for -mfma4 option.
52379 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52380 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52381 COMMON_CPUID_INDEX_80000001.
52382 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52383 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52384 use it if FMA3 is not supported.
52385 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52386
52387 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52388 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52389
52390 2011-10-20 Andreas Schwab <schwab@redhat.com>
52391
52392 [BZ #12892]
52393 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52394 it would create a cycle with a link time dependency.
52395
52396 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52397
52398 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52399 instruction.
52400 * string/Makefile (strop-tests): Add rawmemchr.
52401 * string/test-rawmemchr.c: New file.
52402
52403 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52404 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52405 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52406 when compiling str{,n}casecmp and when AVX is available. Hook up
52407 new optimized code in initializers.
52408
52409 2011-10-19 Andreas Schwab <schwab@redhat.com>
52410
52411 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52412 __feraiseexcept instead of feraiseexcept.
52413
52414 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52415
52416 * math/math_private.h: Define defaults for libc_fetestexcept and
52417 libc_feupdateenv.
52418 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52419 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52420 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52421 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52422 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52423 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52424 libc_fetestexcept and libc_feupdateenv.
52425
52426 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52427 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52428 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52429 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52430 libc_feholdexcept_setround.
52431
52432 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52433 Add s_nearbyint-c and s_nearbyintf-c.
52434 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52435 nearbyintf inlines.
52436 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52437 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52438 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52439 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52440
52441 * math/math_private.h: Define defaults for libc_fegetround,
52442 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52443 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52444 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52445 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52446 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52447 standard functions.
52448 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52449 Remove comments and hacks for old compiler versions.
52450 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52451 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52452 libc_feholdexceptl.
52453
52454 2011-10-18 Andreas Schwab <schwab@redhat.com>
52455
52456 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52457 (__feraiseexcept_renamed): Add __NTH.
52458 (feraiseexcept): Add __NTH. Rename local variables to fix
52459 namespace violations.
52460
52461 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52462
52463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52464
52465 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52466
52467 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52468 recently added interfaces.
52469 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52470
52471 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52472 about macro parameter expansion.
52473
52474 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52475 __NO_MATH_INLINES is defined. Cleanups.
52476
52477 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52478 and __floorf is target has SSE4.1.
52479 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52480 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52481 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52482 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52483
52484 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52485 name.
52486 (floorf): Likewise.
52487
52488 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52489
52490 2011-10-17 Andreas Schwab <schwab@redhat.com>
52491
52492 * misc/sys/cdefs.h: Fix last change.
52493
52494 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52495 database lookup.
52496
52497 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52498
52499 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52500
52501 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52502 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52507 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52508 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52509 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52510 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52511 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52512 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52513 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52514 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52515 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52516 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52517 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52518 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52519 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52520 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52521 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52522 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52523
52524 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52525 ceil, ceilf, floor, floorf.
52526
52527 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52528 Perform IRELATIVE relocations last.
52529
52530 * elf/do-rel.h: Add another parameter nrelative, replacing the
52531 local variable with the same name. Change name of the function
52532 to end in Rel or Rela (uppercase).
52533 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52534 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52535 elf_dynamic_do_##reloc function.
52536
52537 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52538
52539 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52540 is sufficient, at least on modern CPUs.
52541
52542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52543
52544 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52545 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52546
52547 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52548 __expl_finite.
52549 * math/bits/math-finite.h: Add entries for exp.
52550 * math/e_expl.c: Add __*_finite alias.
52551 * sysdeps/i386/fpu/e_exp.S: Likewise.
52552 * sysdeps/i386/fpu/e_expf.S: Likewise.
52553 * sysdeps/i386/fpu/e_expl.c: Likewise.
52554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52555 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52556 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52557 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52558 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52559 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52560 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52561
52562 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52563 is sufficient, at least on modern CPUs.
52564
52565 * ctype/ctype-info.c (__ctype_init): Define.
52566 * include/ctype.h (__ctype_init): Declare.
52567 (__ctype_b_loc): The variable is always initialized.
52568 (__ctype_toupper_loc): Likewise.
52569 (__ctype_tolower_loc): Likewise.
52570 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52571 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52572
52573 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52574
52575 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52576
52577 * configure.in: Also look in $cxxmachine/include for C++ system
52578 headers.
52579
52580 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52581
52582 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52583 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52584 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52585 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52586 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52587 (USE_AS_WMEMCMP): New macro.
52588 Fixing indents.
52589 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52590 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52591 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52592 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52594 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52595 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52596 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52597 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52598 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52599 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52600 (USE_AS_WMEMCMP): New macro.
52601 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52602 * sysdeps/string/test-memcmp.c: Update.
52603 Fix simple_wmemcmp.
52604 Add new tests.
52605 * wcsmbs/wmemcmp.c: Update.
52606 (WMEMCMP): New macro.
52607 Fix overflow bug.
52608
52609 2011-10-12 Andreas Jaeger <aj@suse.de>
52610
52611 [BZ #13268]
52612 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52613
52614 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52615
52616 * libio/iofwide.c (do_length): Avoid warning.
52617
52618 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52619
52620 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52621
52622 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52623
52624 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52625 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52626 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52627 * sysdeps/i386/i686/fpu/e_log.S: New file.
52628 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52629 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52630
52631 * ctype/ctype.h: Add support for inlined isXXX functions when
52632 compiling C++ code.
52633
52634 2011-10-14 Andreas Schwab <schwab@redhat.com>
52635
52636 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52637
52638 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52639
52640 2011-10-13 Roland McGrath <roland@hack.frob.com>
52641
52642 [BZ #13291]
52643 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52644
52645 2011-10-13 Andreas Schwab <schwab@redhat.com>
52646
52647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52648 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52649 feraiseexcept.
52650
52651 * sysdeps/x86_64/memrchr.S: Check for zero size.
52652
52653 * string/stratcliff.c: Add memrchr tests.
52654
52655 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52656
52657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52658 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52659 rawmemchr-sse2 rawmemchr-sse2-bsf.
52660 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52661 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52662 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52663 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52664 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52665 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52666 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52667 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52668 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52669 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52670 * string/memrchr.c (MEMRCHR): New macro.
52671
52672 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52673
52674 Add integration with gcc's -ffinite-math-only and optimize wrapper
52675 functions in libm.
52676 * Versions.def: Define GLIBC_2.15 version for libm.
52677 * math/Makefile (headers): Add bits/math-finite.h.
52678 * math/bits/math-finite.h: New file.
52679 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52680 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52681 * math/e_acoshl.c: Add __*_finite alias.
52682 * math/e_acosl.c: Likewise.
52683 * math/e_asinl.c: Likewise.
52684 * math/e_atan2l.c: Likewise.
52685 * math/e_atanhl.c: Likewise.
52686 * math/e_coshl.c: Likewise.
52687 * math/e_exp10.c: Likewise.
52688 * math/e_exp10f.c: Likewise.
52689 * math/e_exp10l.c: Likewise.
52690 * math/e_exp2l.c: Likewise.
52691 * math/e_fmodl.c: Likewise.
52692 * math/e_gammal_r.c: Likewise.
52693 * math/e_hypotl.c: Likewise.
52694 * math/e_j0l.c: Likewise.
52695 * math/e_j1l.c: Likewise.
52696 * math/e_jnl.c: Likewise.
52697 * math/e_lgammal_r.c: Likewise.
52698 * math/e_log10l.c: Likewise.
52699 * math/e_log2l.c: Likewise.
52700 * math/e_logl.c: Likewise.
52701 * math/e_powl.c: Likewise.
52702 * math/e_sinhl.c: Likewise.
52703 * math/e_sqrtl.c: Likewise.
52704 * math/e_scalb.c: Completely rewritten and optimized.
52705 * math/e_scalbf.c: Likewise.
52706 * math/e_scalbl.c: Likewise.
52707 * math/w_acos.c: Likewise.
52708 * math/w_acosf.c: Likewise.
52709 * math/w_acosl.c: Likewise.
52710 * math/w_acosh.c: Likewise.
52711 * math/w_acoshf.c: Likewise.
52712 * math/w_acoshl.c: Likewise.
52713 * math/w_asin.c: Likewise.
52714 * math/w_asinf.c: Likewise.
52715 * math/w_asinl.c: Likewise.
52716 * math/w_atan2.c: Likewise.
52717 * math/w_atan2f.c: Likewise.
52718 * math/w_atan2l.c: Likewise.
52719 * math/w_atanh.c: Likewise.
52720 * math/w_atanhf.c: Likewise.
52721 * math/w_atanhl.c: Likewise.
52722 * math/w_exp10.c: Likewise.
52723 * math/w_exp10f.c: Likewise.
52724 * math/w_exp10l.c: Likewise.
52725 * math/w_fmod.c: Likewise.
52726 * math/w_fmodf.c: Likewise.
52727 * math/w_fmodl.c: Likewise.
52728 * math/w_j0.c: Likewise.
52729 * math/w_j0f.c: Likewise.
52730 * math/w_j0l.c: Likewise.
52731 * math/w_j1.c: Likewise.
52732 * math/w_j1f.c: Likewise.
52733 * math/w_j1l.c: Likewise.
52734 * math/w_jn.c: Likewise.
52735 * math/w_jnf.c: Likewise.
52736 * math/w_log.c: Likewise.
52737 * math/w_logf.c: Likewise.
52738 * math/w_logl.c: Likewise.
52739 * math/w_log10.c: Likewise.
52740 * math/w_log10f.c: Likewise.
52741 * math/w_log10l.c: Likewise.
52742 * math/w_log2.c: Likewise.
52743 * math/w_log2f.c: Likewise.
52744 * math/w_log2l.c: Likewise.
52745 * math/w_pow.c: Likewise.
52746 * math/w_powf.c: Likewise.
52747 * math/w_powl.c: Likewise.
52748 * math/w_remainder.c: Likewise.
52749 * math/w_remainderf.c: Likewise.
52750 * math/w_remainderl.c: Likewise.
52751 * math/w_scalb.c: Likewise.
52752 * math/w_scalbf.c: Likewise.
52753 * math/w_scalbl.c: Likewise.
52754 * math/w_sqrt.c: Likewise.
52755 * math/w_sqrtf.c: Likewise.
52756 * math/w_sqrtl.c: Likewise.
52757 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52758 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52759 used.
52760 * math/math_private.h: Declare __kernel_standard_f.
52761 * math/w_cosh.c: Remove cruft and optimize a bit.
52762 * math/w_coshf.c: Likewise.
52763 * math/w_coshl.c: Likewise.
52764 * math/w_exp2.c: Likewise.
52765 * math/w_exp2f.c: Likewise.
52766 * math/w_exp2l.c: Likewise.
52767 * math/w_hypot.c: Likewise.
52768 * math/w_hypotf.c: Likewise.
52769 * math/w_hypotl.c: Likewise.
52770 * math/w_lgamma.c: Likewise.
52771 * math/w_lgamma_r.c: Likewise.
52772 * math/w_lgammaf.c: Likewise.
52773 * math/w_lgammaf_r.c: Likewise.
52774 * math/w_lgammal.c: Likewise.
52775 * math/w_lgammal_r.c: Likewise.
52776 * math/w_sinh.c: Likewise.
52777 * math/w_sinhf.c: Likewise.
52778 * math/w_sinhl.c: Likewise.
52779 * math/w_tgamma.c: Likewise.
52780 * math/w_tgammaf.c: Likewise.
52781 * math/w_tgammal.c: Likewise.
52782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52783 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52784 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52785 Minor optimizations. Pretty printing. Remove cruft.
52786 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52787 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52788 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52789 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52790 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52791 * sysdeps/i386/fpu/e_asin.S: Likewise.
52792 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52793 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52794 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52795 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52796 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52797 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52799 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52800 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52801 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52802 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52803 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52804 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52805 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52806 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52807 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52808 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52809 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52810 * sysdeps/i386/fpu/e_log.S: Likewise.
52811 * sysdeps/i386/fpu/e_log10.S: Likewise.
52812 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52813 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52814 * sysdeps/i386/fpu/e_log2.S: Likewise.
52815 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52816 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52817 * sysdeps/i386/fpu/e_logf.S: Likewise.
52818 * sysdeps/i386/fpu/e_logl.S: Likewise.
52819 * sysdeps/i386/fpu/e_pow.S: Likewise.
52820 * sysdeps/i386/fpu/e_powf.S: Likewise.
52821 * sysdeps/i386/fpu/e_powl.S: Likewise.
52822 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52823 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52824 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52825 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52826 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52828 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52829 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52830 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52831 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52835 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52837 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52840 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52841 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52842 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52851 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52852 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52853 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52854 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52855 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52856 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52857 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52858 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52859 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52860 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52861 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52862 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52863 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52864 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52865 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52866 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52867 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52868 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52869 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52870 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52871 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52872 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52873 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52874 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52876 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52877 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52878 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52879 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52881 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52882 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52883 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52884 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52886 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52887 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52888 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52889 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52890 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52892 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52895 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52896 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52899 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52901 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52902 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52903 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52905 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52908 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52909 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52910 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52911 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52912 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52913 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52914 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52915 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52916 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52917 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52918 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52919 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52920 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52921 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52922 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52923 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52924 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52928 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52929 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52930 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52931 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52932 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52933 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52934 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52936 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52938 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52939 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52941 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52942 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52943 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52944 (__isnanf): Likewise.
52945 (__isinf_ns): Likewise.
52946 (__isinf_nsf): Likewise.
52947 (__finite): Likewise.
52948 (__finitef): Likewise.
52949 (__ieee754_sqrt): Define as macro.
52950 (__ieee754_sqrtf): Define as macro.
52951 (__ieee754_sqrtl): Define as macro.
52952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52953 inlined copy.
52954 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52955 __FINITE_MATH_ONLY__ consistent.
52956 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52957
52958 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52959
52960 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52961 of rawmemchr.
52962
52963 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52964
52965 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52966
52967 * po/ja.po: Update from translation team.
52968
52969 2011-10-08 Roland McGrath <roland@hack.frob.com>
52970
52971 * locale/programs/locarchive.c (prepare_address_space): New function.
52972 (create_archive, enlarge_archive, open_archive): Use it.
52973
52974 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52975 inside [SHARED], where it is used.
52976
52977 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52978
52979 * nss/getent.c (netgroup_keys): Remove unused variable.
52980 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52981
52982 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52983
52984 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52985 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52987 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52988 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52990 * math/Makefile (libm-calls): Add s_isinf_ns.
52991 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52992 * math/multc3.c: Likewise.
52993 * math/s_casin.c: Likewise.
52994 * math/s_casinf.c: Likewise.
52995 * math/s_casinl.c: Likewise.
52996 * math/s_ccos.c: Likewise.
52997 * math/s_ccosf.c: Likewise.
52998 * math/s_ccosl.c: Likewise.
52999 * math/s_ctan.c: Likewise.
53000 * math/s_ctanf.c: Likewise.
53001 * math/s_ctanh.c: Likewise.
53002 * math/s_ctanhf.c: Likewise.
53003 * math/s_ctanhl.c: Likewise.
53004 * math/s_ctanl.c: Likewise.
53005 * math/w_fmod.c: Likewise.
53006 * math/w_fmodf.c: Likewise.
53007 * math/w_fmodl.c: Likewise.
53008 * math/w_remainder.c: Likewise.
53009 * math/w_remainderf.c: Likewise.
53010 * math/w_remainderl.c: Likewise.
53011 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53012 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53014 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53015 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53016 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53017 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53018 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53019
53020 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53021 of the number.
53022 * stdio-common/printf_fphex.c: Likewise.
53023 * stdio-common/printf_size.c: Likewise.
53024
53025 * math/e_exp10.c: Include math_private.h using <...> not "...".
53026 * math/e_exp10f.c: Likewise.
53027 * math/e_exp10l.c: Likewise.
53028 * math/e_exp2l.c: Likewise.
53029 * math/e_j0l.c: Likewise.
53030 * math/e_j1l.c: Likewise.
53031 * math/e_jnl.c: Likewise.
53032 * math/e_lgammal_r.c: Likewise.
53033 * math/e_rem_pio2l.c: Likewise.
53034 * math/e_scalb.c: Likewise.
53035 * math/e_scalbf.c: Likewise.
53036 * math/e_scalbl.c: Likewise.
53037 * math/k_cosl.c: Likewise.
53038 * math/k_sinl.c: Likewise.
53039 * math/k_tanl.c: Likewise.
53040 * math/s_cacoshf.c: Likewise.
53041 * math/s_catan.c: Likewise.
53042 * math/s_catanf.c: Likewise.
53043 * math/s_catanh.c: Likewise.
53044 * math/s_catanhf.c: Likewise.
53045 * math/s_catanhl.c: Likewise.
53046 * math/s_catanl.c: Likewise.
53047 * math/s_ccosh.c: Likewise.
53048 * math/s_ccoshf.c: Likewise.
53049 * math/s_ccoshl.c: Likewise.
53050 * math/s_cexp.c: Likewise.
53051 * math/s_cexpf.c: Likewise.
53052 * math/s_cexpl.c: Likewise.
53053 * math/s_clog.c: Likewise.
53054 * math/s_clog10.c: Likewise.
53055 * math/s_clog10f.c: Likewise.
53056 * math/s_clog10l.c: Likewise.
53057 * math/s_clogf.c: Likewise.
53058 * math/s_clogl.c: Likewise.
53059 * math/s_csin.c: Likewise.
53060 * math/s_csinf.c: Likewise.
53061 * math/s_csinh.c: Likewise.
53062 * math/s_csinhf.c: Likewise.
53063 * math/s_csinhl.c: Likewise.
53064 * math/s_csinl.c: Likewise.
53065 * math/s_csqrt.c: Likewise.
53066 * math/s_csqrtf.c: Likewise.
53067 * math/s_csqrtl.c: Likewise.
53068 * math/s_ctan.c: Likewise.
53069 * math/s_ctanf.c: Likewise.
53070 * math/s_ctanh.c: Likewise.
53071 * math/s_ctanhf.c: Likewise.
53072 * math/s_ctanhl.c: Likewise.
53073 * math/s_ctanl.c: Likewise.
53074 * math/s_ldexp.c: Likewise.
53075 * math/s_ldexpf.c: Likewise.
53076 * math/s_ldexpl.c: Likewise.
53077 * math/s_significand.c: Likewise.
53078 * math/s_significandf.c: Likewise.
53079 * math/s_significandl.c: Likewise.
53080 * math/w_acos.c: Likewise.
53081 * math/w_acosf.c: Likewise.
53082 * math/w_acosh.c: Likewise.
53083 * math/w_acoshf.c: Likewise.
53084 * math/w_acoshl.c: Likewise.
53085 * math/w_acosl.c: Likewise.
53086 * math/w_asin.c: Likewise.
53087 * math/w_asinf.c: Likewise.
53088 * math/w_asinl.c: Likewise.
53089 * math/w_atan2.c: Likewise.
53090 * math/w_atan2f.c: Likewise.
53091 * math/w_atan2l.c: Likewise.
53092 * math/w_atanh.c: Likewise.
53093 * math/w_atanhf.c: Likewise.
53094 * math/w_atanhl.c: Likewise.
53095 * math/w_cosh.c: Likewise.
53096 * math/w_coshf.c: Likewise.
53097 * math/w_coshl.c: Likewise.
53098 * math/w_dremf.c: Likewise.
53099 * math/w_exp10.c: Likewise.
53100 * math/w_exp10f.c: Likewise.
53101 * math/w_exp10l.c: Likewise.
53102 * math/w_exp2.c: Likewise.
53103 * math/w_exp2f.c: Likewise.
53104 * math/w_fmod.c: Likewise.
53105 * math/w_fmodf.c: Likewise.
53106 * math/w_fmodl.c: Likewise.
53107 * math/w_hypot.c: Likewise.
53108 * math/w_hypotf.c: Likewise.
53109 * math/w_hypotl.c: Likewise.
53110 * math/w_j0.c: Likewise.
53111 * math/w_j0f.c: Likewise.
53112 * math/w_j0l.c: Likewise.
53113 * math/w_j1.c: Likewise.
53114 * math/w_j1f.c: Likewise.
53115 * math/w_j1l.c: Likewise.
53116 * math/w_jn.c: Likewise.
53117 * math/w_jnf.c: Likewise.
53118 * math/w_jnl.c: Likewise.
53119 * math/w_lgamma.c: Likewise.
53120 * math/w_lgamma_r.c: Likewise.
53121 * math/w_lgammaf.c: Likewise.
53122 * math/w_lgammaf_r.c: Likewise.
53123 * math/w_lgammal.c: Likewise.
53124 * math/w_lgammal_r.c: Likewise.
53125 * math/w_log.c: Likewise.
53126 * math/w_log10.c: Likewise.
53127 * math/w_log10f.c: Likewise.
53128 * math/w_log10l.c: Likewise.
53129 * math/w_log2.c: Likewise.
53130 * math/w_log2f.c: Likewise.
53131 * math/w_log2l.c: Likewise.
53132 * math/w_logf.c: Likewise.
53133 * math/w_logl.c: Likewise.
53134 * math/w_pow.c: Likewise.
53135 * math/w_powf.c: Likewise.
53136 * math/w_powl.c: Likewise.
53137 * math/w_remainder.c: Likewise.
53138 * math/w_remainderf.c: Likewise.
53139 * math/w_remainderl.c: Likewise.
53140 * math/w_scalb.c: Likewise.
53141 * math/w_scalbf.c: Likewise.
53142 * math/w_scalbl.c: Likewise.
53143 * math/w_sinh.c: Likewise.
53144 * math/w_sinhf.c: Likewise.
53145 * math/w_sinhl.c: Likewise.
53146 * math/w_sqrt.c: Likewise.
53147 * math/w_sqrtf.c: Likewise.
53148 * math/w_sqrtl.c: Likewise.
53149 * math/w_tgamma.c: Likewise.
53150 * math/w_tgammaf.c: Likewise.
53151 * math/w_tgammal.c: Likewise.
53152
53153 * po/ja.po: Update from translation team.
53154
53155 2011-09-29 Andreas Jaeger <aj@suse.de>
53156
53157 [BZ #13179]
53158 * sunrpc/netname.c (netname2host): Fix logic.
53159
53160 [BZ #6779]
53161 [BZ #6783]
53162 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53163 correctly.
53164 * math/w_remainder.c (__remainder): Likewise.
53165 * math/w_remainderf.c (__remainderf): Likewise.
53166 * math/libm-test.inc (remainder_test): Add test cases.
53167
53168 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53169
53170 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53171 sdiv_qrnnd.
53172
53173 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53174
53175 * string/test-memcmp.c: Avoid unncessary #defines.
53176 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53177
53178 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53179
53180 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53181 Use new sse2 version for core i3 - i7 as it's faster
53182 than sse42 version.
53183 (bit_Prefer_PMINUB_for_stringop): New.
53184 * sysdeps/x86_64/rawmemchr.S: Update.
53185 Replace with faster SSE2 version.
53186 * sysdeps/x86_64/memrchr.S: New file.
53187 * sysdeps/x86_64/memchr.S: Update.
53188 Replace with faster SSE2 version.
53189
53190 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53191
53192 * elf/dl-load.c (lose): Add cast to avoid warning.
53193
53194 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53195
53196 * po/ca.po: Update from translation team.
53197
53198 * inet/getnetgrent_r.c: Hook up nscd.
53199 * nscd/Makefile (routines): Add nscd_netgroup.
53200 (nscd-modules): Add netgroupcache.
53201 (CFLAGS-netgroupcache.c): Define.
53202 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53203 (cache_search): Add const to second parameter.
53204 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53205 INNETGR.
53206 (dbs): Add netgrdb entry.
53207 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53208 (verify_persistent_db): Handle netgrdb.
53209 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53210 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53211 GETFDNETGR.
53212 (netgroup_response_header): Define.
53213 (innetgroup_response_header): Define.
53214 (datahead): Add netgroup_response_header and innetgroup_response_header
53215 elements.
53216 * nscd/nscd.conf: Add entries for netgroup cache.
53217 * nscd/nscd.h (dbtype): Add netgrdb.
53218 (_PATH_NSCD_NETGROUP_DB): Define.
53219 (netgroup_iov_disabled): Declare.
53220 (xmalloc, xcalloc, xrealloc): Move declarations here.
53221 (cache_search): Adjust prototype.
53222 Add netgroup-related prototypes.
53223 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53224 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53225 (__nscd_innetgr): Declare.
53226 * nscd/selinux.c (perms): Use access_vector_t as element type and
53227 add netgroup-related initializers.
53228 * nscd/netgroupcache.c: New file.
53229 * nscd/nscd_netgroup.c: New file.
53230 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53231 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53232 For four parameters use innetgr.
53233 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53234 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53235 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53236 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53237
53238 * nscd/connections.c (register_traced_file): Don't register file
53239 for disabled databases.
53240
53241 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53242
53243 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53244
53245 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53246 from tree and freeing node.
53247
53248 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53249
53250 * nss/nsswitch.c (__nss_database_lookup): Handle
53251 nss_parse_service_list out of memory case.
53252
53253 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53254
53255 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53256 out of memory case.
53257
53258 2011-10-04 Andreas Schwab <schwab@redhat.com>
53259
53260 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53261 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53262 pass it down.
53263 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53264 elf_machine_rela, elf_machine_lazy_rel.
53265 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53266 (ELF_DYNAMIC_DO_REL): Likewise.
53267 (ELF_DYNAMIC_DO_RELA): Likewise.
53268 (ELF_DYNAMIC_RELOCATE): Likewise.
53269 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53270 to ELF_DYNAMIC_DO_REL.
53271 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53272 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53273 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53274 elf_machine_rela.
53275 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53276 skip_ifunc, don't call ifunc function if non-zero.
53277 (elf_machine_rela): Likewise.
53278 (elf_machine_lazy_rel): Likewise.
53279 (elf_machine_lazy_rela): Likewise.
53280 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53281 (elf_machine_lazy_rel): Likewise.
53282 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53283 Likewise.
53284 (elf_machine_lazy_rel): Likewise.
53285 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53286 Likewise.
53287 (elf_machine_lazy_rel): Likewise.
53288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53289 (elf_machine_lazy_rel): Likewise.
53290 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53291 (elf_machine_lazy_rel): Likewise.
53292 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53293 (elf_machine_lazy_rel): Likewise.
53294 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53295 (elf_machine_lazy_rel): Likewise.
53296 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53297 (elf_machine_lazy_rel): Likewise.
53298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53299 (elf_machine_lazy_rel): Likewise.
53300
53301 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53302
53303 * nss/nss_files/files-init.c (_nss_files_init): Use static
53304 initialization for all the *_traced_file variables.
53305
53306 2011-09-28 Andreas Schwab <schwab@redhat.com>
53307
53308 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53309
53310 2011-09-27 Roland McGrath <roland@hack.frob.com>
53311
53312 [BZ #13226]
53313 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53314
53315 2011-09-27 Andreas Schwab <schwab@redhat.com>
53316
53317 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53318 Reread the line before reparsing it.
53319
53320 2011-09-26 Andreas Schwab <schwab@redhat.com>
53321
53322 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53323
53324 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53325 Maxim Kuvyrkov <maxim@codesourcery.com>
53326 Joseph Myers <joseph@codesourcery.com>
53327
53328 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53329 if needed for __stack_chk_guard.
53330
53331 2011-09-19 Roland McGrath <roland@hack.frob.com>
53332
53333 * sysdeps/posix/spawni.c (script_execute): Always define it.
53334 It will be optimized away if unused.
53335 (maybe_script_execute): New function.
53336 (__spawni): Call it.
53337
53338 * Makerules: Don't include tls.make.
53339 (config-tls): Always set to thread.
53340 * tls.make.c: File removed.
53341
53342 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53343
53344 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53345 * config.make.in (CPPFLAGS-config): New substituted variable.
53346
53347 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53348
53349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53350
53351 [BZ #13192]
53352 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53353 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53354
53355 2011-09-15 Roland McGrath <roland@hack.frob.com>
53356
53357 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53358 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53360 (CALL_FAIL): Likewise.
53361 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53362 (CALL_FAIL): Macro removed.
53363 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53364
53365 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53366
53367 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53368 for __FINITE_MATH_ONLY__ == 1.
53369
53370 2011-09-15 Andreas Schwab <schwab@redhat.com>
53371
53372 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53373 __ieee754_sqrt instead of sqrt.
53374 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53375 __ieee754_sqrtf instead of sqrtf.
53376 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53377 __floorf instead of floorf.
53378 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53379 __floorf, __truncf instead of floorf, truncf.
53380
53381 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53382
53383 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53384
53385 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53386 __extern_always_inline.
53387 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53388 32-bit.
53389
53390 2011-09-14 Andreas Schwab <schwab@redhat.com>
53391
53392 * elf/rtld.c (dl_main): Also relocate in dependency order when
53393 doing symbol dependency testing.
53394
53395 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53396
53397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53398 Always define `refsym'.
53399
53400 2011-09-13 Andreas Schwab <schwab@redhat.com>
53401
53402 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53403 (__FD_ELT): Renamed from __FDELT.
53404 * misc/bits/select2.h (__FD_ELT): Likewise.
53405 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53406 __FD_MASK instead of __FDELT, __FDMASK.
53407 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53408 Likewise.
53409 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53410 Likewise.
53411
53412 * elf/Makefile (gen-ldd): Fix pattern.
53413
53414 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53415 (init_tls): Likewise.
53416
53417 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53418
53419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53420
53421 2011-09-12 Andreas Schwab <schwab@redhat.com>
53422
53423 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53424 `struct cmsghdr *' instead of `void *'.
53425 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53426 Likewise.
53427
53428 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53429
53430 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53431 if non-absolute.
53432 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53433 ldd_rewrite_script.
53434
53435 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53436
53437 * configure.in: Remove --with-tls option.
53438 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53439 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53440 out in case it is missing.
53441 * sysdeps/ia64/elf/configure.in: Likewise.
53442 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53443 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53444 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53445 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53446 * sysdeps/sh/elf/configure.in: Likewise.
53447 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53448 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53449 * sysdeps/x86_64/elf/configure.in: Likewise.
53450 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53451 * sysdeps/mach/hurd/tls.h: Likewise.
53452
53453 [BZ #13067]
53454 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53455
53456 [BZ #13090]
53457 * configure.in: Fix use of AC_INIT.
53458
53459 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53460
53461 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53462
53463 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53464 __set_errno.
53465 * malloc/hooks.c: Likewise.
53466
53467 [BZ #11929]
53468 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53469 variables statically.
53470 (narenas): Initialize.
53471 (list_lock): Initialize.
53472 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53473 initializtion of main_arena and list_lock. Small cleanups.
53474 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53475 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53476 Add initializers to main_arena and mp_.
53477 (malloc_state): Remove pagesize member. Change all users to use
53478 GLRO(dl_pagesize).
53479
53480 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53481 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53482 is always initialized.
53483
53484 * malloc/malloc.c: Removed unused configurations and dead code.
53485 * malloc/arena.c: Likewise.
53486 * malloc/hooks.c: Likewise.
53487 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53488
53489 * include/tls.h: Removed. USE___THREAD must always be defined.
53490 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53491 * elf/dl-libc.c: Likewise.
53492 * elf/dl-tsd.c: Likewise.
53493 * include/errno.h: Likewise.
53494 * include/netdb.h: Likewise.
53495 * include/resolv.h: Likewise.
53496 * inet/herrno-loc.c: Likewise.
53497 * inet/herrno.c: Likewise.
53498 * malloc/arena.c: Likewise.
53499 * malloc/hooks.c: Likewise.
53500 * malloc/malloc.c: Likewise.
53501 * resolv/res-state.c: Likewise.
53502 * resolv/res_libc.c: Likewise.
53503 * sysdeps/i386/dl-machine.h: Likewise.
53504 * sysdeps/ia64/dl-machine.h: Likewise.
53505 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53506 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53507 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53508 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53509 * sysdeps/sh/dl-machine.h: Likewise.
53510 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53511 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53512 * sysdeps/unix/i386/sysdep.S: Likewise.
53513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53514 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53519 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53523 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53524 * sysdeps/x86_64/dl-machine.h: Likewise.
53525 * tls.make.c: Likewise.
53526
53527 * configure.in: Remove --with-__thread option. Make tests for
53528 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53529 tls_model attribute fail if no support is available. Remove
53530 USE_IN_LIBIO.
53531 * Makeconfig: Adjust for dropped configure option. All features are
53532 now mandatory.
53533 * Makerules: Likewise.
53534 * Versions.def: Likewise.
53535 * argp/argp-fmtstream.c: Likewise.
53536 * argp/argp-fmtstream.h: Likewise.
53537 * argp/argp-help.c: Likewise.
53538 * assert/assert.c: Likewise.
53539 * config.h.in: Likewise.
53540 * config.make.in: Likewise.
53541 * configure: Likewise.
53542 * configure.in: Likewise.
53543 * csu/Versions: Likewise.
53544 * csu/init.c: Likewise.
53545 * elf/tst-audit2.c: Likewise.
53546 * elf/tst-tls10.c: Likewise.
53547 * elf/tst-tls10.h: Likewise.
53548 * elf/tst-tls11.c: Likewise.
53549 * elf/tst-tls12.c: Likewise.
53550 * elf/tst-tls14.c: Likewise.
53551 * elf/tst-tlsmod11.c: Likewise.
53552 * elf/tst-tlsmod12.c: Likewise.
53553 * elf/tst-tlsmod13.c: Likewise.
53554 * elf/tst-tlsmod13a.c: Likewise.
53555 * elf/tst-tlsmod14a.c: Likewise.
53556 * elf/tst-tlsmod15b.c: Likewise.
53557 * elf/tst-tlsmod16a.c: Likewise.
53558 * elf/tst-tlsmod16b.c: Likewise.
53559 * elf/tst-tlsmod7.c: Likewise.
53560 * elf/tst-tlsmod8.c: Likewise.
53561 * elf/tst-tlsmod9.c: Likewise.
53562 * gmon/gmon.c: Likewise.
53563 * grp/fgetgrent_r.c: Likewise.
53564 * grp/putgrent.c: Likewise.
53565 * hurd/fopenport.c: Likewise.
53566 * include/libc-symbols.h: Likewise.
53567 * include/tls.h: Likewise.
53568 * intl/gettextP.h: Likewise.
53569 * intl/loadinfo.h: Likewise.
53570 * locale/global-locale.c: Likewise.
53571 * locale/localeinfo.h: Likewise.
53572 * mach/devstream.c: Likewise.
53573 * malloc/arena.c: Likewise.
53574 * malloc/set-freeres.c: Likewise.
53575 * misc/err.c: Likewise.
53576 * misc/getttyent.c: Likewise.
53577 * misc/mntent_r.c: Likewise.
53578 * posix/getopt.c: Likewise.
53579 * posix/wordexp.c: Likewise.
53580 * pwd/fgetpwent_r.c: Likewise.
53581 * resolv/Versions: Likewise.
53582 * resolv/res_hconf.c: Likewise.
53583 * shadow/fgetspent_r.c: Likewise.
53584 * shadow/putspent.c: Likewise.
53585 * stdio-common/printf_fphex.c: Likewise.
53586 * stdio-common/tmpfile.c: Likewise.
53587 * stdlib/abort.c: Likewise.
53588 * stdlib/fmtmsg.c: Likewise.
53589 * sunrpc/auth_unix.c: Likewise.
53590 * sunrpc/clnt_perr.c: Likewise.
53591 * sunrpc/clnt_tcp.c: Likewise.
53592 * sunrpc/clnt_udp.c: Likewise.
53593 * sunrpc/clnt_unix.c: Likewise.
53594 * sunrpc/openchild.c: Likewise.
53595 * sunrpc/svc_simple.c: Likewise.
53596 * sunrpc/svc_tcp.c: Likewise.
53597 * sunrpc/svc_udp.c: Likewise.
53598 * sunrpc/svc_unix.c: Likewise.
53599 * sunrpc/xdr.c: Likewise.
53600 * sunrpc/xdr_array.c: Likewise.
53601 * sunrpc/xdr_rec.c: Likewise.
53602 * sunrpc/xdr_ref.c: Likewise.
53603 * sunrpc/xdr_stdio.c: Likewise.
53604
53605 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53606
53607 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53608
53609 2011-07-03 Andreas Jaeger <aj@suse.de>
53610
53611 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53612 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53613 regenerate with gen-libm-tests.pl.
53614
53615 2010-05-12 Petr Baudis <pasky@suse.cz>
53616
53617 [BZ #11589]
53618 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53619 around j0() zero points by switching to j1().
53620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53622 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53624
53625 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53626
53627 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53628 instead of 0.
53629 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53630 instead of 0.
53631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53632 Patch in part by Pavel Roskin <proski@gnu.org>.
53633
53634 [BZ #13138]
53635 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53636 realloc.
53637 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53638 Free memory block if necessary.
53639
53640 [BZ #12847]
53641 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53642 be NULL. Don't lock in this case.
53643
53644 2011-09-09 Roland McGrath <roland@hack.frob.com>
53645
53646 * elf/elf.h (ELFOSABI_GNU): New macro.
53647 (ELFOSABI_LINUX): Define to that.
53648
53649 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53650
53651 * string/strncat.c (strncat): Undef the symbol in case it has been
53652 defined in bits/string.h.
53653
53654 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53655
53656 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53657
53658 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53659 link map.
53660
53661 2011-08-17 Andreas Jaeger <aj@suse.de>
53662
53663 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53664
53665 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53666 Ian Lance Taylor <iant@google.com>
53667
53668 * math/libm-test.inc (lround_test): New testcase.
53669 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53670
53671 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53672
53673 * Makefile: Remove support for automatic cvs check-ins.
53674 * Makerules: Likewise.
53675 * config.make.in: Likewise.
53676 * configure.in: Likewise.
53677 * intl/Makefile: Likewise.
53678 * locale/Makefile: Likewise.
53679 * po/Makefile: Likewise.
53680 * posix/Makefile: Likewise.
53681 * sysdeps/gnu/Makefile: Likewise.
53682 * sysdeps/mach/hurd/Makefile: Likewise.
53683 * sysdeps/sparc/sparc32/Makefile: Likewise.
53684
53685 [BZ #13118]
53686 * posix/Makefile (bug-regex32-ENV): Define.
53687 Patch by John Stanley <jpsinthemix@verizon.net>.
53688
53689 * misc/Makefile (headers): Add bits/select2.h.
53690 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53691 * misc/bits/select2.h: New file.
53692 * include/bits/select2.h: New file.
53693 * debug/Makefile (routines): Add fdelt_chk.
53694 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53695 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53696 FD_ISSET.
53697 * debug/fdelt_chk.c: New file.
53698
53699 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53700 * wcsmbs/test-wmemcmp.c: Likewise.
53701 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53702 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53703
53704 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53705
53706 * string/Makefile (strop-tests): Add memcmp.
53707 * string/test-wmemcmp.c: New file.
53708 * string/test-memcmp.c: Add wmemcmp support.
53709
53710 2011-09-08 Roland McGrath <roland@hack.frob.com>
53711
53712 [BZ #13153]
53713 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53714 2011-07-19 change.
53715
53716 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53717 garbage value in a __mach_port_mod_refs call in the cases of the
53718 task-self and thread-self ports.
53719
53720 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53721
53722 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53723
53724 2011-09-08 Andreas Schwab <schwab@redhat.com>
53725
53726 * elf/dl-load.c (lose): Check for non-null L.
53727
53728 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53729
53730 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53731
53732 * elf/dl-libc.c (dlerror_run): Pass back error code from
53733 dl_catch_error.
53734
53735 [BZ #13123]
53736 * elf/dl-load.c (lose): Free l_origin if it is valid.
53737
53738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53739 names.
53740 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53741 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53743 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53744 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53745 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53746
53747 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53748
53749 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53750 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53752 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53753 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53754 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53755 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53756 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53757 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53758 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53759
53760 2011-08-15 Alan Modra <amodra@gmail.com>
53761
53762 [BZ #13092]
53763 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53764 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53765 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53766 ppc_mcount to static-only-routines.
53767 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53768 __mcount_internal.
53769 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53770 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53771
53772 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53773
53774 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53775 for finite and infinity parameters.
53776
53777 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53778
53779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53780 and add nop instructions for throughput optimization.
53781 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53782
53783 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53784
53785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53786 aligned copy for power7 with vector-scalar instructions.
53787 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53788
53789 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53790
53791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53792 AVX check.
53793
53794 2011-09-07 Andreas Schwab <schwab@redhat.com>
53795
53796 [BZ #13144]
53797 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53798 last change.
53799
53800 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53801
53802 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53803 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53804 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53805 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53806 clock_gettime.
53807
53808 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53809
53810 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53811 Forgot to demangle the pointer.
53812
53813 * sysdeps/i386/sysdep.h: Define atom_text_section.
53814 * sysdeps/x86_64/sysdep.h: Likewise.
53815 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53816 section with atom_text_section.
53817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53819 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53821 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53822
53823 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53824 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53825 already be defined. Change to take two parameters and don't assign
53826 result to variable. Adjust all users.
53827 Define INTERNAL_GETTIME if not already defined.
53828 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53829 call.
53830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53831 HAVE_CLOCK_GETTIME_VSYSCALL.
53832 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53833
53834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53835 gettimeofday vsyscall, just use time.
53836
53837 2011-09-06 Andreas Schwab <schwab@redhat.com>
53838
53839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53840 <errno.h>.
53841
53842 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53843
53844 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53845 syscall on x86-64.
53846 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53847 syscall.
53848 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53850 syscall if possible.
53851
53852 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53853
53854 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53855 e_ident. Don't pass to find_mapsXX.
53856 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53857
53858 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53859
53860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53861 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53862 * sysdeps/x86_64/multiarch/strchr.S: Update.
53863 Check bit_slow_BSF bit.
53864 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53865 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53866 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53867
53868 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53869
53870 [BZ #13134]
53871 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53872 before glibc 2.15.
53873 (tryshell): Define.
53874 (__spawni): Change last parameter to be flag. Test
53875 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53876 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53877 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53878 * posix/spawni.c: Likewise.
53879 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53880 * posix/spawnp.c: Likewise. Change normal version to use
53881 SPAWN_XFLAGS_USE_PATH.
53882 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53883 SPAWN_XFLAGS_TRY_SHELL.
53884
53885 [BZ #13150]
53886 * posix/glob.h: Remove gcc 1.x support.
53887
53888 [BZ #13068]
53889 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53890
53891 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53892
53893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53894 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53895 strrchr-sse2-bsf
53896 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53897 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53898 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53899 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53902
53903 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53904
53905 * sysdeps/x86_64/wcscmp.S: New file.
53906
53907 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53908 wcscmp-c wcscmp-sse2
53909 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53910 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53911 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53912 * wcsmbs/wcscmp.c: Allow renaming.
53913
53914 2011-09-05 David S. Miller <davem@davemloft.net>
53915
53916 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53917 stack slot, rather than the struct return pointer slot.
53918 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53919 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53921 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53922
53923 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53924
53925 * po/ja.po: Update from translation team.
53926
53927 [BZ #13144]
53928 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53929 kernel in 64-bit binaries.
53930
53931 2011-09-01 David S. Miller <davem@davemloft.net>
53932
53933 * elf/elf.h (HWCAP_SPARC_*): Move to..
53934 * sysdeps/sparc/sysdep.h: this new file and add new values.
53935 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53936 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53937 _DL_HWCAP_COUNT to 24.
53938 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53939 entries.
53940 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53941 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53942 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53944 instead of magic constants.
53945 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53946
53947 2011-08-31 David S. Miller <davem@davemloft.net>
53948
53949 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53950 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53951 Reimplement to do errno handling inline.
53952 (SYSCALL_ERROR_HANDLER): New macro.
53953 (__SYSCALL_STRING): Do not do errno handling in asm.
53954 (__CLONE_SYSCALL_STRING): Delete.
53955 (__INTERNAL_SYSCALL_STRING): Delete.
53956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53957 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53958 (PSEUDO): Reimplement to do errno handling inline.
53959 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53960 (SYSCALL_ERROR_HANDLER): New macro.
53961 (__SYSCALL_STRING): Do not do errno handling in asm.
53962 (__CLONE_SYSCALL_STRING): Delete.
53963 (__INTERNAL_SYSCALL_STRING): Delete.
53964 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53965 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53966 i386.
53967 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53968 (inline_syscall*): Add 'err' argument.
53969 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53970 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53971 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53972 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53973
53974 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53975 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53976
53977 2011-08-30 Andreas Schwab <schwab@redhat.com>
53978
53979 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53980
53981 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53982
53983 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53984 directive.
53985
53986 2011-08-24 David S. Miller <davem@davemloft.net>
53987
53988 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53989
53990 2011-08-24 Andreas Schwab <schwab@redhat.com>
53991
53992 * elf/Makefile: Add rules to build and run unload8 test.
53993 * elf/unload8.c: New file.
53994 * elf/unload8mod1.c: New file.
53995 * elf/unload8mod1x.c: New file.
53996 * elf/unload8mod2.c: New file.
53997 * elf/unload8mod3.c: New file.
53998
53999 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54000 it wasn't used.
54001
54002 2011-08-23 David S. Miller <davem@davemloft.net>
54003
54004 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54005 subtract stack bias.
54006 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54007 %sp not %fp in calculations.
54008 (_JMPBUF_UNWINDS_ADJ): Likewise.
54009
54010 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54011 (aio_suspend): Call it to force an exception region around the
54012 AIO_MISC_WAIT() invocation.
54013
54014 2011-08-23 Andreas Schwab <schwab@redhat.com>
54015
54016 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54017 backslash.
54018
54019 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54020
54021 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54022 protection macro.
54023 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54024 and <dl-machine.h>.
54025 (Elf64_FuncDesc): Remove.
54026
54027 2011-08-22 David S. Miller <davem@davemloft.net>
54028
54029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54030 sigaltstack check, add missing cfi directives.
54031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54032 missing cfi directives, and sigaltstack handling.
54033
54034 2011-08-16 Andreas Schwab <schwab@redhat.com>
54035
54036 [BZ #11724]
54037 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54038 object is seen twice.
54039 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54040
54041 * elf/Makefile (distribute): Add tst-initorder2.c.
54042 (tests): Add tst-initorder2.
54043 (modules-names): Add tst-initorder2a tst-initorder2b
54044 tst-initorder2c tst-initorder2d. Add rules to build them.
54045 ($(objpfx)tst-initorder2.out): New rule.
54046 * elf/tst-initorder2.c: New file.
54047 * elf/tst-initorder2.exp: New file.
54048
54049 2011-08-22 Andreas Schwab <schwab@redhat.com>
54050
54051 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54052
54053 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54054 dependencies back to end of function.
54055
54056 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54057 $(elfobjdir)/ld.so.
54058
54059 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54060
54061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54062 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54063 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54064 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54065 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54066 of __vdso_gettimeofday.
54067 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54068 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54069 attribute_hidden.
54070 (_libc_vdso_platform_setup): Remove initialization of
54071 __vdso_gettimeofday and __vdso_time.
54072
54073 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54074
54075 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54076 and fgetc_unlocked.
54077 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54078 getc_unlocked.
54079
54080 * elf/dl-open.c (add_to_global): Report additions to the global scope
54081 for LD_DEBUG=scopes.
54082 (dl_open_worker): Also print scope of newly loaded dependencies.
54083 (_dl_show_scope): Indicate if there is no scope.
54084
54085 [BZ #13114]
54086 * stdio-common/Makefile (tests): Add bug24.
54087 * stdio-common/bug24.c: New file.
54088
54089 2011-08-19 Andreas Jaeger <aj@suse.de>
54090
54091 [BZ #13114]
54092 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54093 non-existant file when using close-on-exec mode.
54094
54095 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54096
54097 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54098 the very first instruction.
54099
54100 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54101 the CFI state in the end.
54102 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54103 inclusion of dl-trampoline.h.
54104 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54105
54106 2011-08-19 Andreas Schwab <schwab@redhat.com>
54107
54108 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54109 expectations for long double.
54110
54111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54112 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54113
54114 2011-08-14 David S. Miller <davem@davemloft.net>
54115
54116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54117 artificual limit depends upon the system page size.
54118
54119 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54120
54121 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54122 * resolv/Makefile: Define CFLAGS-libresolv.
54123
54124 2011-08-17 Andreas Schwab <schwab@redhat.com>
54125
54126 * nss/makedb.c (compute_tables): Make variables used in nested
54127 function static.
54128
54129 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54130
54131 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54132 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54133 if buffer was too small.
54134
54135 * elf/pldd.c (main): Attach to all threads in the process.
54136 Rewrite /proc handling to use *at functions.
54137
54138 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54139
54140 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54141 specifies first scope to show.
54142 (dl_open_worker): Update callers. Move printing scope of new
54143 object to before the relocation.
54144 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54145 * sysdeps/generic/ldsodefs.h: Update declaration.
54146
54147 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54148 string for the scope number.
54149
54150 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54151
54152 * nscd/servicescache.c (cache_addserv): Make sure written is always
54153 initialized.
54154
54155 2011-08-14 Roland McGrath <roland@hack.frob.com>
54156
54157 * sysdeps/i386/i486/bits/atomic.h
54158 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54159 statement expression, so as to suppress "set but not used" warning.
54160 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54161
54162 * string/strncat.c (STRNCAT): Use prototype definition.
54163
54164 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54165 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54166 -Iprograms here.
54167 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54168 (localedef-modules): Add localedef.
54169 (locale-modules): Add locale.
54170
54171 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54172 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54173 to avoid a warning.
54174
54175 2011-08-14 David S. Miller <davem@davemloft.net>
54176
54177 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54178 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54179
54180 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54181
54182 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54183 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54184 * elf/rtld.c (dl_main): Set l_name of vDSO.
54185 Call _dl_show_scope when DL_DEBUG_SCOPES.
54186 (process_dl_debug): Recognize scopes flag and also set it for all.
54187 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54188 Declare _dl_show_scope.
54189
54190 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54191 (do_dlopen): Pass caller_dlopen to dl_open.
54192 (__libc_dlopen_mode): Initialize caller_dlopen.
54193
54194 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54195 of libc. Make tolower call locale-independent. Optimize a bit by
54196 using isdigit instead of isalnum.
54197 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54198
54199 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54200
54201 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54202 was a dependency or dynamically loaded.
54203
54204 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54205
54206 * intl/l10nflist.c: Allow architecture-specific pop function.
54207 * sysdeps/x86_64/l10nflist.c: New file.
54208
54209 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54210 classification.
54211
54212 2011-08-10 Andreas Schwab <schwab@redhat.com>
54213
54214 * include/dirent.h: Add libc_hidden_proto for scandirat and
54215 scandirat64. Don't declare __scandirat64.
54216 * dirent/scandirat.c: Add libc_hidden_def.
54217 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54218 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54219
54220 2011-08-10 David S. Miller <davem@davemloft.net>
54221
54222 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54223 enum.
54224 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54225 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54226 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54227
54228 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54229
54230 * Versions.def [libc]: Add GLIBC_2.15.
54231 * dirent/Makefile (routines): Add scandirat and scandirat64.
54232 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54233 GLIBC_2.15.
54234 * dirent/dirent.h: Declare scandirat and scandirat64.
54235 * dirent/scandirat.c: New file.
54236 * dirent/scandirat64.c: New file.
54237 * sysdeps/wordsize-64/scandirat.c: New file.
54238 * sysdeps/wordsize-64/scandirat64.c: New file.
54239 * dirent/opendir.c: Define opendirat.
54240 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54241 using scandirat.
54242 * dirent/scandir64.c: Adjust for scandir.c change.
54243 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54244 __scandirat64, and __scandir_cancel_handler.
54245 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54246 additional parameter and use openat instead of open (outside of ld.so).
54247 Add new __opendir as wrapper around __opendirat.
54248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54249 here without requiring old scandirat implementation.
54250
54251 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54252
54253 * dirent/scandir.c (cancel_handler): Renamed to
54254 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54255 defined. Adjust users.
54256 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54257 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54258
54259 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54260
54261 * string/test-string.h (IMPL): Use __STRING to expand name and then
54262 stringify it.
54263
54264 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54265 of cleanups.
54266
54267 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54268
54269 * string/Makefile: Update.
54270 (strop-tests): Append strncat.
54271 * string/test-wcscmp.c: New file.
54272 New comprehensive test for wcscmp.
54273 * string/test-strcmp.c: Update.
54274 (WIDE): New define.
54275
54276 2011-07-22 Andreas Schwab <schwab@redhat.com>
54277
54278 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54279 line.
54280
54281 2011-07-26 Andreas Schwab <schwab@redhat.com>
54282
54283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54284 encoding to ACE if AI_IDN.
54285
54286 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54287
54288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54289 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54290
54291 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54292
54293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54294 Fix overflow bug in strncat.
54295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54296
54297 * string/test-strncat.c: Update.
54298 Add new tests for checking overflow bugs.
54299
54300 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54301
54302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54303 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54304 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54305 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54307 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54308 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54309 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54310 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54311
54312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54313 (USE_AS_STRCAT): Define.
54314 Add strcat and strncat support.
54315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54316
54317 2011-07-25 Andreas Schwab <schwab@redhat.com>
54318
54319 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54320 __n bigger than INT_MAX+1.
54321 (__strncmp_g): Likewise.
54322
54323 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54324
54325 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54326 * libio/stido.h: Likewise.
54327
54328 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54329 (AF_NFC): Define.
54330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54331 (AF_NFC): Define.
54332
54333 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54334 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54336 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54338
54339 [BZ #13021]
54340 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54341 installed.
54342
54343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54344 typo.
54345 (_dl_x86_64_save_sse): Likewise.
54346
54347 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54348
54349 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54350 OSXSAVE.
54351 (_dl_x86_64_save_sse): Likewise.
54352
54353 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54354
54355 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54356
54357 2011-07-21 Andreas Schwab <schwab@redhat.com>
54358
54359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54360 change.
54361 (_dl_x86_64_save_sse): Use correct AVX check.
54362
54363 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54364
54365 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54366 bug in strncpy/strncat.
54367 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54368
54369 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54370
54371 * string/tester.c (test_strcat): Add tests for different alignments
54372 of source and destination.
54373 (test_strncat): Likewise.
54374
54375 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54376
54377 [BZ #12852]
54378 * posix/glob.c (glob): Check passed in values before using them in
54379 expressions to avoid some overflows.
54380 (glob_in_dir): Likewise.
54381
54382 [BZ #13007]
54383 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54384 check for AVX enablement so that we don't crash with old kernels and
54385 new hardware.
54386 * elf/tst-audit4.c: Add same checks here.
54387 * elf/tst-audit6.c: Likewise.
54388
54389 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54390
54391 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54392
54393 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54394
54395 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54396
54397 * po/cs.po: Update from translation team.
54398 * po/bg.po: Likewise.
54399
54400 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54401
54402 * misc/sys/cdefs.h: Add support for const attribute.
54403 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54404 to gnu_dev_{major,minor,makedev} functions.
54405
54406 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54407
54408 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54409
54410 2011-07-20 Andreas Schwab <schwab@redhat.com>
54411
54412 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54413 strlen results.
54414
54415 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54416
54417 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54418 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54419 register in order to avoid conflicts with the soft frame pointer
54420 being held in r11 when necessary.
54421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54422 (INTERNAL_VSYSCALL_NCS): Likewise.
54423
54424 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54425
54426 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54427 * elf/dl-fini.c (_dl_fini): Adjust caller.
54428 * elf/dl-close.c (_dl_close_worker): Likewise.
54429 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54430
54431 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54432
54433 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54434 "aux_cache->nlibs < 0".
54435
54436 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54437 in the reload-count case.
54438
54439 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54440
54441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54442 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54443 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54444 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54445 * sysdeps/x86_64/multiarch/strcat.S: New file.
54446 * sysdeps/x86_64/multiarch/strncat.S: New file.
54447 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54448 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54449 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54450 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54452 (USE_AS_STRCAT): Define.
54453 Add strcat and strncat support.
54454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54455 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54456 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54457 * string/strncat.c: Update.
54458 (USE_AS_STRNCAT): Define.
54459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54460 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54461 and i7.
54462 * sysdeps/x86_64/multiarch/init-arch.h
54463 (bit_Prefer_PMINUB_for_stringop): New.
54464 (index_Prefer_PMINUB_for_stringop): Likewise.
54465 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54466 bit_Prefer_PMINUB_for_stringop.
54467
54468 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54469
54470 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54471 buffer64.
54472 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54473 of casting of buffer.
54474 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54475 buffer32 and buffer64.
54476 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54477 writes instead of casting of buffer.
54478 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54479 buffer32.
54480 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54481 casting of buffer.
54482
54483 2011-07-19 Andreas Schwab <schwab@redhat.com>
54484
54485 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54486
54487 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54488
54489 * nscd/nscd.c (termination_handler): Don't do anything for a database
54490 if it has not yet been initialized.
54491
54492 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54493
54494 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54495
54496 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54497
54498 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54499
54500 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54501
54502 * po/nl.po: Update from translation team.
54503 * po/sv.po: Likewise.
54504
54505 2011-07-16 Roland McGrath <roland@hack.frob.com>
54506
54507 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54508 now disallowed by GCC.
54509
54510 * configure.in (use-default-link): Default to yes if a test -shared
54511 link meets our qualifications.
54512 * configure: Regenerated.
54513
54514 * config.make.in (output-format): New variable.
54515 * configure.in: Check for ld --print-output-format support.
54516 * configure: Regenerated.
54517 * Makerules ($(common-objpfx)format.lds)
54518 [$(output-format) != unknown]: Just use $(output-format),
54519 instead of the linker-script munging.
54520
54521 2011-07-14 Roland McGrath <roland@hack.frob.com>
54522
54523 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54524 of $(common-objpfx)shlib.lds.
54525 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54526
54527 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54528 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54529
54530 * configure.in (-z relro check): Adjust test code to add a large
54531 writable data section after it.
54532 * configure: Regenerated.
54533
54534 2011-07-11 Roland McGrath <roland@hack.frob.com>
54535
54536 * configure.in (-z relro check): Fix test code to make the variable
54537 truly const.
54538 * configure: Regenerated.
54539
54540 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54541
54542 * nscd/nscd.h (struct traced_file): Define.
54543 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54544 elements. Add traced_files.
54545 (inotify_fd): Declare.
54546 (register_traced_file): Declare.
54547 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54548 (inotify_fd): Export.
54549 (resolv_conf_descr): Remove.
54550 (nscd_init): Move inotify descriptor creation to main.
54551 Don't register files for notification here.
54552 (register_traced_file): New function.
54553 (invalidate_cache): Don't use reset_res to determine whether to call
54554 res_init, go through the list of registered files.
54555 (main_loop_poll): The inotify descriptors are now stored in the
54556 structures for the traced files.
54557 (main_loop_epoll): Likewise
54558 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54559 to __nss_disable_nscd.
54560 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54561 for a database anymore. Check the records for all the registered
54562 files instead.
54563 * nss/Makefile (libnss_files-routines): Add files-init.
54564 (libnss_db-routines): Add db-init.
54565 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54566 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54567 * nss/nss_db/db-init.c: New file.
54568 * nss/nss_files/files-init.c: New file.
54569 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54570 __nss_lookup_function.
54571 (__nss_lookup_function): Call nss_load_library.
54572 (nss_load_all_libraries): New function.
54573 (__nss_disable_nscd): Take parameter with callback function for files
54574 to register. Set is_nscd. Load all the DSOs for the NSS modules
54575 used for the cached services.
54576 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54577 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54578 options for features to all the files in nscd.
54579
54580 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54581
54582 2011-07-10 Roland McGrath <roland@hack.frob.com>
54583
54584 * csu/elf-init.c (__libc_csu_init): Comment typo.
54585
54586 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54587
54588 * po/pl.po: Update from translation team.
54589 * po/ja.po: Likewise.
54590 * po/ru.po: Likewise.
54591 * po/ko.po: Likewise.
54592 * po/fr.po: Likewise.
54593
54594 2011-07-09 Roland McGrath <roland@hack.frob.com>
54595
54596 * configure.in (.ctors/.dtors header and trailer check):
54597 Use an empirical test on a built program.
54598 * configure: Regenerated.
54599
54600 * configure.in (-z relro check): Use an empirical test on a built DSO.
54601 Detect, but do not require, on ia64.
54602 * configure: Regenerated.
54603
54604 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54605 Update tests that use readelf to use $READELF instead.
54606 * configure: Regenerated.
54607
54608 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54609
54610 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54611 if the result is not used.
54612
54613 2011-07-05 Andreas Jaeger <aj@suse.de>
54614
54615 [BZ#9696]
54616 * stdlib/tst-strtod.c: Add testcase.
54617
54618 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54619
54620 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54621 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54622 The latter has a higher limit. Take additional parameter to pass to
54623 the new function.
54624 (__pathconf): Pass file to __statfs_link_max.
54625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54626 __statfs_link_max.
54627 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54628 __statfs_link_max.
54629
54630 [BZ #12868]
54631 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54632 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54633 Handle Lustre.
54634 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54635 (__statfs_filesize_max): Likewise.
54636 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54637
54638 2011-07-05 Andreas Jaeger <aj@suse.de>
54639
54640 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54641
54642 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54643
54644 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54645 `status' variable.
54646 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54647 Likewise.
54648
54649 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54650
54651 * Makefile (strop-tests): Add strncat.
54652 * string/test-strncat.c: New file.
54653
54654 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54655
54656 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54657
54658 2011-06-21 Andreas Jaeger <aj@suse.de>
54659
54660 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54661 Copy rule from iconvdata/Makefile.
54662
54663 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54664
54665 [BZ #12922]
54666 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54667 but no long options are defined, just return 'W'.
54668
54669 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54670
54671 [BZ #9696]
54672 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54673
54674 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54675
54676 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54677 netgroups to read.
54678 (innetgr): Likewise.
54679
54680 2011-07-05 Roland McGrath <roland@hack.frob.com>
54681
54682 * config.make.in (install_root): Default to $(DESTDIR).
54683
54684 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54685
54686 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54687
54688 2011-07-02 Roland McGrath <roland@hack.frob.com>
54689
54690 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54691
54692 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54693 containing directory rather than embedding absolute directory names.
54694
54695 * scripts/check-local-headers.sh: Rewritten using awk.
54696 Match by word, not by line. Print error messages for matches.
54697 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54698
54699 * Makerules [shlib-lds-flags empty]:
54700 ($(common-objpfx)libc_pic.opts): New target.
54701 ($(common-objpfx)libc_pic.os.clean): New target.
54702 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54703
54704 * config.make.in (OBJCOPY): New variable.
54705 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54706 * configure: Regenerated.
54707
54708 * config.make.in (use-default-link): New variable.
54709 * configure.in (use_default_link): Grok --with-default-link to set it.
54710 * configure: Regenerated.
54711 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54712 (shlib-lds, shlib-lds-flags): Define to empty.
54713
54714 * Makerules (shlib-lds): New variable.
54715 (shlib-lds-flags): New variable.
54716 (build-shlib, build-moduile, build-module-asneeded): Use it.
54717 ($(common-objpfx)libc.so): Use $(shlib-lds).
54718 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54719 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54720
54721 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54722 DT_FLAGS/DT_FLAGS_1 with zero flags.
54723
54724 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54725 linker script munging.
54726
54727 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54728
54729 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54730 as 128-bit value.
54731 * crypt/sha512.c (sha512_process_block): Perform total addition using
54732 128-bit if possible.
54733 (__sha512_finish_ctx): Likewise.
54734 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54735 as 64-bit value.
54736 * crypt/sha256.c (SWAP64): Define.
54737 (sha256_process_block): Perform total addition using 64-bit if
54738 possible.
54739 (__sha256_finish_ctx): Likewise.
54740
54741 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54742
54743 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54745 * nscd/hstcache.c (cache_addhst): Likewise.
54746 * nscd/grpcache.c (cache_addgr): Likewise.
54747 * nscd/aicache.c (addhstaiX): Likewise
54748 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54749
54750 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54751
54752 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54754 * nscd/hstcache.c (cache_addhst): Likewise.
54755 * nscd/grpcache.c (cache_addgr): Likewise.
54756 * nscd/aicache.c (addhstaiX): Likewise
54757
54758 2011-07-01 Andreas Schwab <schwab@redhat.com>
54759
54760 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54761 domain only when needed.
54762
54763 2011-06-30 Andreas Schwab <schwab@redhat.com>
54764
54765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54766 is always restored.
54767
54768 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54769
54770 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54771 are re-adding the entry.
54772 * nscd/servicescache.c (cache_addserv): Likewise.
54773
54774 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54775
54776 * sysdeps/generic/dl-irel.h: fix protection against multiple
54777 inclusions.
54778 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54779
54780 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54781
54782 [BZ #12935]
54783 * malloc/memusage.sh: Fix quoting in message.
54784 * debug/xtrace.sh: Likewise.
54785
54786 * configure.in: Remove support for --experimental-malloc option, make
54787 it the default.
54788 * config.make.in: Likewise.
54789 * malloc/Makefile: Likewise.
54790
54791 2011-06-27 Andreas Schwab <schwab@redhat.com>
54792
54793 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54794 two-byte characters.
54795
54796 2011-06-27 Roland McGrath <roland@hack.frob.com>
54797
54798 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54799 AC_CACHE_CHECK invocation.
54800 * configure: Regenerated.
54801
54802 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54803
54804 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54805
54806 [BZ #12350]
54807 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54808 bit from old_res_options.
54809
54810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54811
54812 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54813 value type for setfct.
54814
54815 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54816
54817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54818 __gettimeofday instead of gettimeofday.
54819
54820 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54821
54822 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54823
54824 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54825
54826 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54827
54828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54829 info.
54830
54831 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54832
54833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54834 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54835 strcpy-sse2-unaligned strncpy-sse2-unaligned
54836 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54837 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54838 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54839 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54840 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54841 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54842 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54843 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54844 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54845 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54846 (STRCPY): Support SSE2 and SSSE3 versions.
54847
54848 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54849
54850 [BZ #12874]
54851 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54852 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54853 kernels which artificially limit size of requests.
54854
54855 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54856
54857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54858 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54859 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54860 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54861 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54862 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54863 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54864 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54867 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54868 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54869 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54870 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54871 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54873 Enable unaligned load optimization for Intel Core i3, i5 and i7
54874 processors.
54875 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54876 Define.
54877 (index_Fast_Unaligned_Load): Define.
54878 (HAS_FAST_UNALIGNED_LOAD): Define.
54879
54880 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54881
54882 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54883
54884 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54885
54886 [BZ #12907]
54887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54888 until it is clear that the information is realy needed.
54889 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54890
54891 2011-06-22 Andreas Schwab <schwab@redhat.com>
54892
54893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54894
54895 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54896
54897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54898 /sys/devices/system/cpu/online if it is usable.
54899
54900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54901 reading the information from the /proc filesystem to once a second.
54902
54903 2011-06-21 Andreas Jaeger <aj@suse.de>
54904
54905 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54906 NULL after inclusion of kernel headers.
54907
54908 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54909
54910 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54911 calls to internal_setent.
54912
54913 [BZ #12885]
54914 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54915 addresses using gethostbyname4_r ignore IPv4 addresses.
54916
54917 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54918 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54919
54920 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54921
54922 2011-06-20 David S. Miller <davem@davemloft.net>
54923
54924 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54925 inclusions.
54926 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54927
54928 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54929 (elf_irel): Use it.
54930 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54931 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54932 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54933 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54934 * sysdeps/x86_64/dl-irel.h: Likewise.
54935
54936 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54937 * elf/dl-sym.c: Likewise.
54938
54939 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54940
54941 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54942 need to dereference resplen2.
54943
54944 2011-06-14 Andreas Schwab <schwab@redhat.com>
54945
54946 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54947
54948 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54949
54950 * Makeconfig: Define vardbdir and inst_vardbdir.
54951 * nss/Makefile: Add rules to install db-Makefile.
54952
54953 * nss/nss_db/db-XXX.c: Cleanup.
54954
54955 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54956 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54957 GLIBC_PRIVATE.
54958 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54959 * nss/makedb.c: Implement -g option to specify that value strings
54960 are generated and should not be added to table iterated over for
54961 get*ent calls.
54962 * nss/nss_db/db-initgroups.c: New file.
54963
54964 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54965 interface.
54966
54967 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54968 (internal_getgrouplist): Adjust to name change.
54969 Update use_initgroups_entry if this is not the first call.
54970 * nss/databases.def: Add initgroups entry.
54971
54972 * nss/makedb.c (compute_tables): Check result of multiple hash table
54973 sizes to minimize maximum chain length.
54974
54975 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54976
54977 * Versions.def: Add entry for libnss_db.
54978 * shlib-versions: Likewise.
54979 * nss/Makefile: Add rules to build libnss_db.
54980 * nss/Versions: Add libnss_db information. Organize libnss_files
54981 entries better.
54982 * nss/db-Makefile: Add gshadow support. Change rules for the new
54983 makedb progra. Some minor improvements to generate smaller files.
54984 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54985 here from...
54986 * nss/makedb.c: ...here.
54987 Improve database format to be smaller and require less memory at
54988 runtime.
54989 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54990 db anymore.
54991 * nss/nss_db/db-netgrp.c: Likewise.
54992 * nss/nss_db/db-open.c: Likewise.
54993 * nss/nss_files/flies-XXX.x: Adjust comments.
54994 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54995 * nss/nss_files/files-grp.c: Likewise.
54996 * nss/nss_files/files-hosts.c: Likewise.
54997 * nss/nss_files/files-network.c: Likewise.
54998 * nss/nss_files/files-proto.c: Likewise.
54999 * nss/nss_files/files-pwd.c: Likewise.
55000 * nss/nss_files/files-rpc.c: Likewise.
55001 * nss/nss_files/files-service.c: Likewise.
55002 * nss/nss_files/files-sgrp.c: Likewise.
55003 * nss/nss_files/files-spwd.c: Likewise.
55004 * nss/nss_db/db-alias.c: Removed.
55005 * nss/nss_db/dummy-db.h: Removed.
55006
55007 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55008
55009 * nss/makedb.c: Rewritten to not use database library.
55010 * nss/Makefile: Update to build new makedb program.
55011
55012 2011-06-14 Andreas Jaeger <aj@suse.de>
55013
55014 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55015 memset declaration.
55016
55017 2011-06-10 Andreas Schwab <schwab@redhat.com>
55018
55019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55020 tmpbuf.
55021
55022 2011-06-10 Roland McGrath <roland@hack.frob.com>
55023
55024 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55025 * elf/Makefile ($(objpfx)ld.so): Likewise.
55026
55027 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55028 Don't list ld.so twice in dependencies.
55029
55030 * posix/bug-regex31.c: Include <stdlib.h>.
55031
55032 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55033
55034 * nis/nss_compat/compat-spwd.c
55035 (getspent_next_nss_netgr): Remove unused variable.
55036 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55037
55038 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55039 nonmembers" output to use the right array.
55040
55041 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55042
55043 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55044
55045 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55046 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55047 * catgets/gencat.c (read_input_file): Likewise.
55048 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55049
55050 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55051 variable definition inside #if's controlling its use.
55052
55053 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55054
55055 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55056
55057 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55058
55059 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55060 unreachable code.
55061
55062 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55063
55064 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55065 * configure: Regenerated.
55066
55067 * Makerules: Revert last change.
55068 * elf/Makefile: Likewise.
55069
55070 2011-06-09 Roland McGrath <roland@hack.frob.com>
55071
55072 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55073 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55074 (reloc-link): Likewise.
55075
55076 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55077
55078 * elf/Makefile: Add rules to build pldd.
55079 * elf/pldd.c: New file.
55080 * elf/pldd-xx.c: New file.
55081
55082 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55083
55084 * version.h: Update for 2.15 development version.
55085
55086 2011-06-07 David S. Miller <davem@davemloft.net>
55087
55088 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55089 ifuncs.
55090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55091 elf_machine_lazy_rel): Likewise.
55092 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55094 elf_machine_lazy_rel): Likewise.
55095 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55096 dl_hwcap via passed in argument.
55097 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55098 Likewise.
55099
55100 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55101
55102 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55103
55104 2011-06-06 Roland McGrath <roland@hack.frob.com>
55105
55106 [BZ #12849]
55107 * manual/fdl-1.1.texi: New file, verbatim from:
55108 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55109 * manual/lgpl-2.1.texi: New file, verbatim from:
55110 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55111 * manual/Makefile (licenses): New variable, list those new file names.
55112 (texis): Use it.
55113 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55114
55115 * manual/fdl.texi: File removed.
55116 * manual/lesser.texi: File removed.
55117 * manual/libc.texinfo (Copying, Documentation License):
55118 Use new @include file names, put @appendix directive before @include.
55119
55120 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55121
55122 [BZ #12841]
55123 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55124 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55125 (mq_open): Add __NTH.
55126
55127 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55128
55129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55130 Assume Intel Core i3/i5/i7 processor if AVX is available.
55131
55132 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55133
55134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55135 typo.
55136
55137 2011-05-31 Andreas Schwab <schwab@redhat.com>
55138
55139 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55140 memory. Use alloca_account. Fix memory leak when retrying.
55141
55142 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55143
55144 * version.h (RELEASE): Bump for 2.14 release.
55145 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55146
55147 * config.make.in (RANLIB): Remove entry.
55148
55149 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55150
55151 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55152 (libc.pot): Work around missing support for .ksh extension in xgettext.
55153
55154 [BZ #12684]
55155 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55156 if both request failed.
55157 (send_dg): In case of server errors clear resplen or *resplen2.
55158
55159 [BZ #12454]
55160 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55161 when there are multiple maps.
55162 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55163 (_dl_fini): Remove test here.
55164
55165 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55166
55167 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55168
55169 [BZ #12350]
55170 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55171 bit from old_res_options.
55172 (gaih_inet): Likewise.
55173
55174 [BZ #11099]
55175 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55176 as signed.
55177
55178 * resolv/res_init.c (res_setoptions): Make the code more compact.
55179
55180 [BZ #11558]
55181 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55182 set RES_USEVC.
55183
55184 [BZ #11634]
55185 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55186
55187 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55188
55189 [BZ #11781]
55190 * malloc/malloc.h: Declare malloc hook variables as volatile.
55191
55192 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55193 in last patch.
55194
55195 [BZ #11799]
55196 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55197 raise in the comment.
55198 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55199 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55200 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55201
55202 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55203
55204 [BZ #12811]
55205 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55206 grow the buffers more if it already has to be sufficient.
55207 (build_wcs_upper_buffer): Likewise.
55208 * posix/regexec.c (check_matching): Likewise.
55209 (clean_state_log_if_needed): Likewise.
55210 (extend_buffers): Don't enlarge buffers beyond size of the input
55211 buffer.
55212 Patches mostly by Emil Wojak <emil@wojak.eu>.
55213 * posix/bug-regex32.c: New file.
55214 * posix/Makefile (tests): Add bug-regex32.
55215
55216 * locale/findlocale.c (_nl_find_locale): Return right away if
55217 _nl_explode_name failed.
55218 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55219
55220 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55221
55222 * debug/xtrace.sh: Unify messages.
55223 * malloc/memusage.sh: Likewise.
55224
55225 [BZ #12813]
55226 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55227 time symbol from vDSO. Substitute with vsyscall if not available.
55228 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55229 __vdso_time.
55230
55231 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55232 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55233 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55234 Add sendmmsg and internal_sendmmsg.
55235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55236 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55237 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55238
55239 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55240 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55242
55243 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55244
55245 [BZ #12813]
55246 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55247 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55248 available.
55249 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55250 __vdso_getcpu.
55251
55252 [BZ #12814]
55253 * iconvdata/Makefile (tests): Add bug-iconv9.
55254 * iconvdata/bug-iconv9.c: New file.
55255
55256 2011-05-27 Andreas Schwab <schwab@redhat.com>
55257
55258 [BZ #12814]
55259 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55260
55261 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55262
55263 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55264 (struct user_regs_struct): Change intcs field back to cs.
55265
55266 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55267
55268 * po/ja.po: Update from translation team.
55269
55270 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55271
55272 [BZ #12795]
55273 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55274 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55275
55276 2011-05-20 Andreas Schwab <schwab@redhat.com>
55277
55278 * stdlib/longlong.h: Update from GCC.
55279
55280 2011-05-23 Andreas Schwab <schwab@redhat.com>
55281
55282 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55283 parameter name.
55284 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55285 Add parameter name.
55286 (__sysconf): Pass it down.
55287
55288 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55289
55290 [BZ #12671]
55291 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55292 some situations.
55293 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55294 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55295 add in in __libc_use_alloca calls. Adjust callers.
55296 (glob): Use malloc in some situations.
55297
55298 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55299 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55300 pltexit.
55301
55302 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55303
55304 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55305 and CLOCK_BOOTTIME_ALARM.
55306
55307 [BZ #12782]
55308 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55309 is returned.
55310
55311 * string/_strerror.c (__strerror_r): Print negative errors as signed
55312 numbers.
55313
55314 [BZ #12777]
55315 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55316 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55317 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55318
55319 * configure.in: Fix typo in redirection and correct removal of test
55320 files in two cases.
55321
55322 [BZ #12788]
55323 * locale/setlocale.c (new_composite_name): Fix test to check for
55324 identical name of all categories.
55325
55326 [BZ #12792]
55327 * libio/filedoalloc.c (local_isatty): New function.
55328 (_IO_file_doallocate): Use local_isatty.
55329 * stdio-common/perror.c (perror): In case a new stream is used
55330 forward the stream error.
55331 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55332 error flag.
55333
55334 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55335
55336 [BZ #11869]
55337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55338 alloca.
55339 * include/alloca.h (extend_alloca_account): Define.
55340
55341 [BZ #11857]
55342 * posix/regex.h: Fix comments with documentation of user-accessible
55343 fields after compilation and describe correct free'ing of pattern
55344 after re_compile_pattern.
55345 Patch by Reuben Thomas <rrt@sc3d.org>.
55346
55347 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55348
55349 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55350 and -mno-altivec to prevent the compiler from using Altivec and/or
55351 VSX instructions when the corresponding registers are not available.
55352
55353 2011-05-19 Andreas Schwab <schwab@redhat.com>
55354
55355 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55356
55357 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55358
55359 * libio/freopen.c (freopen): Use __dup2, not dup2.
55360 * libio/freopen64.c (freopen64): Likewise.
55361
55362 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55363
55364 [BZ #12775]
55365 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55366 * math/Makefile (tests): Add test-powl.
55367 (CFLAGS-test-powl.c): Define.
55368 * math/test-powl.c: New file.
55369
55370 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55371
55372 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55373
55374 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55375
55376 [BZ #11837]
55377 * iconvdata/gb18030.c: Update to GB18020-2005.
55378
55379 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55380
55381 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55382 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55383 Patch by Aharon Robbins <arnold@skeeve.com>.
55384
55385 [BZ #11892]
55386 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55387 on the stack.
55388
55389 [BZ #11895]
55390 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55391 through underflows.
55392
55393 [BZ #12766]
55394 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55395 point to strings before performing equality test for error_one_per_line
55396 mode.
55397
55398 [BZ #11697]
55399 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55400
55401 [BZ #11820]
55402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55403 (struct user_fpregs_struct): Avoid __uint*_t types.
55404
55405 [BZ #6420]
55406 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55407 symbol info. Use it instead of calling _dl_addr locally.
55408 (lock_and_info): New function.
55409 (tr_freehook): Call lock_and_info and pass symbol info as additional
55410 parameter to tr_where.
55411 (tr_mallochook): Likewise.
55412 (tr_reallochook): Likewise.
55413 (tr_memalignhook): Likewise.
55414
55415 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55416 used and couldn't be at all thread-safe.
55417
55418 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55419
55420 * libio/freopen.c (freopen): Don't close old file descriptor
55421 before the new one is opened. Instead dup the new file descriptor
55422 to the old one after the new stream is created.
55423 * libio/freopen64.c (freopen64): Likewise.
55424 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55425 * libio/fileops.c (_IO_new_file_close_it): Handle new
55426 _IO_FLAGS2_NOCLOSE flag.
55427 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55428 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55429 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55430 _IO_FLAGS2_NOCLOSE flag.
55431 * include/unistd.h: Add hidden_proto for dup3.
55432 Define __have_dup3.
55433 * io/dup3.c: Define hidden symbol.
55434 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55435
55436 [BZ #7101]
55437 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55438 when an incomplete long option is used.
55439 * posix/tst-getopt_long1.c: New file.
55440 * posix/Makefile (tests): Add tst-getopt_long1.
55441
55442 [BZ #10138]
55443 * scripts/config.guess: Update from autoconf-2.68.
55444 * scripts/config.sub: Likewise.
55445
55446 [BZ #10157]
55447 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55448 tests into ...
55449 (has_cpuclock): ...this. New function.
55450 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55451 macro here based on has_cpuclock code.
55452
55453 [BZ #10149]
55454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55455 First byte (not low byte) is now always NUL.
55456 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55457
55458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55459 Use non-cancelable interfaces.
55460
55461 [BZ #9809]
55462 * locale/iso-639.def: Add entry for Sorani.
55463
55464 [BZ #11901]
55465 * include/stdlib.h: Move include protection to the right place.
55466 Define abort_msg_s. Declare __abort_msg with it.
55467 * stdlib/abort.c (__abort_msg): Adjust type.
55468 * assert/assert.c (__assert_fail_base): New function. Majority
55469 of code from __assert_fail. Allocate memory for __abort_msg with
55470 mmap.
55471 (__assert_fail): Now call __assert_fail_base.
55472 * assert/assert-perr.c: Remove bulk of implementation. Use
55473 __assert_fail_base.
55474 * include/assert.hL Declare __assert_fail_base.
55475 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55476 mmap.
55477 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55478
55479 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55480
55481 [BZ #11952]
55482 [BZ #12453]
55483 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55484 until all modules are registered in the DTV.
55485 * elf/Makefile: Add rules to build and run tst-tls19.
55486 * elf/tst-tls19.c: New file.
55487 * elf/tst-tls19mod1.c: New file.
55488 * elf/tst-tls19mod2.c: New file.
55489 * elf/tst-tls19mod3.c: New file.
55490 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55491
55492 [BZ #12083]
55493 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55494 correctly.
55495
55496 [BZ #12601]
55497 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55498 two-byte sequence errors.
55499 * iconvdata/Makefile (tests): Add bug-iconv8.
55500 * iconvdata/bug-iconv8.c: New file.
55501
55502 [BZ #12626]
55503 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55504 buf2 definition.
55505
55506 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55507
55508 [BZ #12432]
55509 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55510 (dummy_getcfa): New function.
55511 (init): Get _Unwind_GetCFA address, use dummy if not found.
55512 (backtrace_helper): In recursion check, also check whether CFA changes.
55513 (__backtrace): Completely initialize arg.
55514
55515 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55516 storing incomplete byte sequence in state object. Avoid testing for
55517 guaranteed too small input if we know there is enough data available.
55518
55519 2011-05-11 Andreas Schwab <schwab@redhat.com>
55520
55521 * Makeconfig (+link-pie): Indent.
55522 * Rules (binaries-pie): Define if $(have-fpie) and
55523 $(build-shared).
55524 (binaries-shared): Also filter out $(binaries-pie).
55525 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55526 * nscd/Makefile (others-pie): Add nscd.
55527 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55528 ($(objpfx)nscd): Remove command override.
55529 * login/Makefile (others-pie): Add pt_chown.
55530 ($(objpfx)pt_chown): Remove command override.
55531 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55532 remove command overrides.
55533
55534 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55535
55536 * libio/tst_putwc.c: Fix error messages.
55537
55538 [BZ #12724]
55539 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55540 currently writing and seek to current position when not.
55541 * libio/Makefile (tests): Add bug-fclose1.
55542 * libio/bug-fclose1.c: New file.
55543
55544 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55545
55546 [BZ #12511]
55547 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55548 don't set DF_1_NODELETE here.
55549 (do_lookup_x): When entering new entry test for copy relocation
55550 and if necessary set DF_1_NODELETE flag.
55551 * elf/tst-unique4.cc: New file.
55552 * elf/tst-unique4.h: New file.
55553 * elf/tst-unique4lib.cc: New file.
55554 * elf/Makefile: Add rules to build and run tst-unique4.
55555 Patch by Piotr Bury <pbury@goahead.com>.
55556
55557 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55558
55559 [BZ #12052]
55560 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55561
55562 [BZ #12625]
55563 * misc/mntent_r.c (addmntent): Flush the stream after the output
55564
55565 [BZ #12393]
55566 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55567 (is_trusted_path_normalize): Skip initial colon. Append slash
55568 to empty buffer. Duplicate is_trusted_path code but allow
55569 constructed patch to be prefix.
55570 (is_dst): Allow $ORIGIN followed by /.
55571 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55572 Correct testing of result of is_trusted_path_normalize
55573 (decompose_rpath): Fix warning.
55574
55575 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55576
55577 [BZ #11257]
55578 * grp/initgroups.c (internal_getgrouplist): When we found the service
55579 list through the initgroups entry in nsswitch.conf do not always
55580 continue on a successful lookup. Don't always use the
55581 __nss_group_database value if it is set.
55582 * nss/nsswitch.conf (initgroups): Change action for successful db
55583 lookup to continue for compatibility.
55584
55585 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55586
55587 [BZ #11532]
55588 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55589 and CP774 modules.
55590 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55591 and CP774 modules.
55592 * iconvdata/tst-tables.sh: Likewise.
55593 * iconvdata/cp770.c: New file.
55594 * iconvdata/cp771.c: New file.
55595 * iconvdata/cp772.c: New file.
55596 * iconvdata/cp773.c: New file.
55597 * iconvdata/cp774.c: New file.
55598 * iconvdata/testdata/CP770: New file.
55599 * iconvdata/testdata/CP770..UTF8: New file.
55600 * iconvdata/testdata/CP771: New file.
55601 * iconvdata/testdata/CP771..UTF8: New file.
55602 * iconvdata/testdata/CP772: New file.
55603 * iconvdata/testdata/CP772..UTF8: New file.
55604 * iconvdata/testdata/CP773: New file.
55605 * iconvdata/testdata/CP773..UTF8: New file.
55606 * iconvdata/testdata/CP774: New file.
55607 * iconvdata/testdata/CP774..UTF8: New file.
55608
55609 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55610 END CHARMAP line.
55611 * iconvdata/gen-8bit-gap.sh: Likewise.
55612 * iconvdata/gen-8bit.sh: Likewise.
55613
55614 * locale/iso-639.def: Add ary entry.
55615
55616 [BZ #11258]
55617 * locale/C-translit.h.in: Add U20A1 transliteration.
55618
55619 [BZ #12178]
55620 * locale/iso-639.def: Add wae entry.
55621 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55622
55623 [BZ #12545]
55624 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55625 for n.
55626
55627 [BZ #12711]
55628 * locale/C-translit.h.in: Add entry for U20B9.
55629 Patch by pravin.d.s@gmail.com.
55630
55631 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55632
55633 [BZ #12713]
55634 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55635 ENAMETOOLONG use generic getcwd.
55636 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55637 in rtld. Use *stat64.
55638 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55639 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55640 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55641 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55642 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55643 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55644 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55645 __fstatat64 macros.
55646 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55647 * dirent/rewinddir.c: Add libc_hidden_def.
55648 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55649 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55650
55651 * include/dirent.h (__alloc_dir): Add flags parameter.
55652 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55653 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55654 __alloc_dir.
55655 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55656 from fdopendir if O_CLOEXEC is already set.
55657
55658 2011-03-15 Alan Modra <amodra@gmail.com>
55659
55660 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55661 l_tls_firstbyte_offset non-zero. Save padding offset in
55662 l_tls_firstbyte_offset for later use.
55663 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55664 freeing static tls block.
55665
55666 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55667
55668 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55669 where #ifdef was intended. The intent is to prevent ARG_MAX from
55670 being defined by the kernel headers.
55671
55672 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55673
55674 [BZ #12734]
55675 * resolv/resolv.h: Define RES_NOTLDQUERY.
55676 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55677 no-tld-query and set RES_NOTLDQUERY.
55678 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55679 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55680 modern BIND to search name as TLD unless forbidden.
55681
55682 2011-05-07 Petr Baudis <pasky@suse.cz>
55683 Ulrich Drepper <drepper@gmail.com>
55684
55685 [BZ #12393]
55686 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55687 (is_trusted_path): ...to here.
55688 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55689 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55690 using is_trusted_path_normalize() in setuid scripts.
55691
55692 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55693
55694 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55695 __BEGIN/__END_DECLS.
55696
55697 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55698
55699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55700 NSS_STATUS_NOTFOUND if no record was found.
55701
55702 2011-05-05 Andreas Schwab <schwab@redhat.com>
55703
55704 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55705 (headers-not-in-tirpc): Remove rpc/netdb.h
55706 * resolv/netdb.h: Revert last change.
55707
55708 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55709
55710 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55711 circular dependency between libgcc.a and libc.a.
55712
55713 2011-05-05 Andreas Schwab <schwab@redhat.com>
55714
55715 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55716 * nis/Makefile: Don't install rpcsvc/*.
55717 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55718 instead of <rpc/types.h>.
55719 (MAXHOSTNAMELEN): Define.
55720
55721 2011-05-03 Andreas Schwab <schwab@redhat.com>
55722
55723 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55724
55725 2011-04-28 Maciej Babinski <mbabinski@google.com>
55726
55727 [BZ #12714]
55728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55729 gethostbyname4_r when IPv6 results are possible.
55730
55731 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55732
55733 [BZ #12723]
55734 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55735 _PC_PIPE_BUF handling.
55736
55737 2011-04-30 Bruno Haible <bruno@clisp.org>
55738
55739 [BZ #12717]
55740 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55741 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55742 to 'int'.
55743 * inet/getnameinfo.c (getnameinfo): Likewise.
55744
55745 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55746
55747 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55748 to groups setting in database lookup.
55749 * nss/nsswitch.conf: Add initgroups entry.
55750
55751 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55752
55753 [BZ #12685]
55754 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55755 mode string.
55756 Patch by Eric Blake <eblake@redhat.com>.
55757
55758 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55759
55760 * sunrpc/Makefile (need-export-routines): Add svc_run.
55761 (routines): Remove svc_run.
55762 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55763 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55764 * sunrpc/svc_run.c (svc_run): Likewise.
55765 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55766
55767 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55768
55769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55770 problem in reallocation in last patch.
55771
55772 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55773
55774 * sunrpc/Makefile: Move inclusion of Rules.
55775
55776 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55777
55778 * nss/nss_files/files-initgroups.c: New file.
55779 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55780 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55781 _nss_files_initgroups_dyn.
55782
55783 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55784
55785 * elf/elf.h (R_ARM_IRELATIVE): Define.
55786
55787 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55788
55789 * po/ru.po: Update from translation team.
55790
55791 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55792
55793 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55794 dependencies.
55795
55796 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55797
55798 [BZ #12653]
55799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55800 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55803 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55804
55805 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55806
55807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55808 differing bytes.
55809 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55812
55813 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55814
55815 [BZ #12420]
55816 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55817 storing it.
55818 * stdlib/bug-getcontext.c: New file.
55819 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55820
55821 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55822
55823 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55824 instructions into .machine "z9-109".
55825 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55826 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55827
55828 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55829
55830 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55831 between environment variables and auxiliary vector.
55832
55833 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55834
55835 * Makefile: Add rules to build linkobj/libc.so.
55836 * include/libc-symbols.h: Define libc_hidden_nolink.
55837 * include/rpc/auth.h: Mark functions which are to be hidden.
55838 * include/rpc/auth_des.h: Likewise.
55839 * include/rpc/auth_unix.h: Likewise.
55840 * include/rpc/clnt.h: Likewise.
55841 * include/rpc/des_crypt.h: Likewise.
55842 * include/rpc/key_prot.h: Likewise.
55843 * include/rpc/pmap_clnt.h: Likewise.
55844 * include/rpc/pmap_prot.h: Likewise.
55845 * include/rpc/pmap_rmt.h: Likewise.
55846 * include/rpc/rpc_msg.h: Likewise.
55847 * include/rpc/svc.h: Likewise.
55848 * include/rpc/svc_auth.h: Likewise.
55849 * include/rpc/xdr.h: Likewise.
55850 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55851 * nss/Makefile: Likewise.
55852 * sunrpc/Makefile: Don't install headers. Build library with normal
55853 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55854 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55855 for the compat linking library. Remove use of INTDEF/INTUSE.
55856 * sunrpc/auth_none.c: Likewise.
55857 * sunrpc/auth_unix.c: Likewise.
55858 * sunrpc/authdes_prot.c: Likewise.
55859 * sunrpc/authuxprot.c: Likewise.
55860 * sunrpc/clnt_gen.c: Likewise.
55861 * sunrpc/clnt_perr.c: Likewise.
55862 * sunrpc/clnt_raw.c: Likewise.
55863 * sunrpc/clnt_simp.c: Likewise.
55864 * sunrpc/clnt_tcp.c: Likewise.
55865 * sunrpc/clnt_udp.c: Likewise.
55866 * sunrpc/clnt_unix.c: Likewise.
55867 * sunrpc/des_crypt.c: Likewise.
55868 * sunrpc/des_soft.c: Likewise.
55869 * sunrpc/get_myaddr.c: Likewise.
55870 * sunrpc/key_call.c: Likewise.
55871 * sunrpc/key_prot.c: Likewise.
55872 * sunrpc/netname.c: Likewise.
55873 * sunrpc/pm_getmaps.c: Likewise.
55874 * sunrpc/pm_getport.c: Likewise.
55875 * sunrpc/pmap_clnt.c: Likewise.
55876 * sunrpc/pmap_prot.c: Likewise.
55877 * sunrpc/pmap_prot2.c: Likewise.
55878 * sunrpc/pmap_rmt.c: Likewise.
55879 * sunrpc/publickey.c: Likewise.
55880 * sunrpc/rpc_cmsg.c: Likewise.
55881 * sunrpc/rpc_common.c: Likewise.
55882 * sunrpc/rpc_dtable.c: Likewise.
55883 * sunrpc/rpc_prot.c: Likewise.
55884 * sunrpc/rpc_thread.c: Likewise.
55885 * sunrpc/rtime.c: Likewise.
55886 * sunrpc/svc.c: Likewise.
55887 * sunrpc/svc_auth.c: Likewise.
55888 * sunrpc/svc_authux.c: Likewise.
55889 * sunrpc/svc_raw.c: Likewise.
55890 * sunrpc/svc_run.c: Likewise.
55891 * sunrpc/svc_simple.c: Likewise.
55892 * sunrpc/svc_tcp.c: Likewise.
55893 * sunrpc/svc_udp.c: Likewise.
55894 * sunrpc/svc_unix.c: Likewise.
55895 * sunrpc/svcauth_des.c: Likewise.
55896 * sunrpc/xcrypt.c: Likewise.
55897 * sunrpc/xdr.c: Likewise.
55898 * sunrpc/xdr_array.c: Likewise.
55899 * sunrpc/xdr_float.c: Likewise.
55900 * sunrpc/xdr_intXX_t.c: Likewise.
55901 * sunrpc/xdr_mem.c: Likewise.
55902 * sunrpc/xdr_rec.c: Likewise.
55903 * sunrpc/xdr_ref.c: Likewise.
55904 * sunrpc/xdr_sizeof.c: Likewise.
55905 * sunrpc/xdr_stdio.c: Likewise.
55906
55907 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55908
55909 [BZ #12650]
55910 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55911 * sysdeps/ia64/dl-tls.h: Likewise.
55912 * sysdeps/powerpc/dl-tls.h: Likewise.
55913 * sysdeps/s390/dl-tls.h: Likewise.
55914 * sysdeps/sh/dl-tls.h: Likewise.
55915 * sysdeps/sparc/dl-tls.h: Likewise.
55916 * sysdeps/x86_64/dl-tls.h: Likewise.
55917 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55918
55919 2011-03-14 Andreas Schwab <schwab@redhat.com>
55920
55921 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55922 rpath element also skip the following colon.
55923 (expand_dynamic_string_token): Add is_path parameter and pass
55924 down to DL_DST_REQUIRED and _dl_dst_substitute.
55925 (decompose_rpath): Call expand_dynamic_string_token with
55926 non-zero is_path. Ignore empty rpaths.
55927 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55928 with zero is_path.
55929
55930 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55931
55932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55933 Make cancelable.
55934
55935 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55936
55937 [BZ #12655]
55938 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55939 Patch by Filipe David Manana <fdmanana@apache.org>.
55940
55941 2011-04-07 Andreas Schwab <schwab@redhat.com>
55942
55943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55944 Maintain aligned stack.
55945 (CHECK_RSP): Remove unused macro.
55946
55947 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55948
55949 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55951
55952 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55953
55954 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55955
55956 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55957
55958 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55959
55960 [BZ #12518]
55961 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55962 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55963 * sysdeps/x86_64/memmove.c: New file.
55964 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55965 (memcpy): Renamed to ...
55966 (__new_memcpy): This.
55967 (memcpy): Provide GLIBC_2_14 memcpy.
55968 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55969 (memcpy): Provide GLIBC_2_2_5 memcpy.
55970
55971 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55972
55973 [BZ #12631]
55974 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55975
55976 2011-03-30 Andreas Schwab <schwab@redhat.com>
55977
55978 * misc/syncfs.c: New file.
55979 * misc/Makefile (routines): Add syncfs.
55980 * posix/unistd.h: Declare syncfs.
55981 * sysdeps/unix/syscalls.list: Add syncfs.
55982
55983 2011-04-01 Andreas Schwab <schwab@redhat.com>
55984
55985 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55986 open_by_handle_at.
55987 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55988 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55990 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55992 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55993 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55994
55995 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55996
55997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55998 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56004
56005 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56006 sync_file_range.c with -fexceptions.
56007 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56008 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56009 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56010 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56011 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56012 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56013 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56014 sync_file_range as cancellation point
56015 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56016 now a wrapper around __call_sync_file_range with cancellation handling.
56017 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56018 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56019 function name to __call_sync_file_range.
56020 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56021 Add call_sync_file_range.
56022
56023 2011-04-01 Andreas Schwab <schwab@redhat.com>
56024
56025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56026 bits/timex.h.
56027
56028 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56029
56030 * iconv/iconv.h: Fix typo in comment.
56031 * io/fcntl.h: Likewise.
56032 * libio/stdio.h: Likewise.
56033 * posix/spawn.h: Likewise.
56034 * posix/unistd.h: Likewise.
56035 * stdlib/stdlib.h: Likewise.
56036 * time/time.h: Likewise.
56037 * wcsmbs/wchar.h: Likewise.
56038
56039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56040 open_by_handle): Add.
56041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56042 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56043 Augment a few comments.
56044 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56049 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56050 open_by_handle.
56051
56052 * io/fcntl.h (AT_EMPTY_PATH): Define.
56053
56054 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56055
56056 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56057 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56058 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56059 to...
56060 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56061 * Versions.def: Add GLIBC_2.14.
56062 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56063 Export.
56064
56065 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56066
56067 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56068 round counter.
56069 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56070
56071 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56072
56073 [BZ #12597]
56074 * string/test-strncmp.c (do_page_test): New function.
56075 (check2): Likewise.
56076 (test_main): Call check2.
56077 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56078
56079 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56080
56081 [BZ #12587]
56082 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56083 Handle cache information in CPU leaf 4.
56084 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56085
56086 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56087
56088 [BZ #12583]
56089 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56090 character representation.
56091 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56092
56093 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56094
56095 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56096 END(__isnan) to END(__isnanf) to match function entry point/label
56097 EALIGN(__isnanf,...).
56098
56099 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56100
56101 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56102
56103 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56104
56105 [BZ #12510]
56106 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56107 copy from the symbol referenced in the relocation to initialize the
56108 used variable.
56109 Patch by Piotr Bury <pbury@goahead.com>.
56110 * elf/Makefile: Add rules to build and tst-unique3.
56111 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56112 * elf/tst-unique3.cc: New file.
56113 * elf/tst-unique3.h: New file.
56114 * elf/tst-unique3lib.cc: New file.
56115 * elf/tst-unique3lib2.cc: New file.
56116
56117 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56118
56119 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56120
56121 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56122 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56123 to _start.
56124
56125 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56126
56127 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56128 to-be-loaded object along a path to loader is ld.so.
56129
56130 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56131 Ulrich Drepper <drepper@gmail.com>
56132
56133 * sysdeps/x86_64/memset.S: After aligning destination, code
56134 branches to different locations depending on the value of
56135 misalignment, when multiarch is enabled. Fix this.
56136
56137 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56138
56139 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56140 Set _x86_64_preferred_memory_instruction for AMD processsors.
56141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56142 Set bit_Prefer_SSE_for_memop for AMD processors.
56143
56144 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56145
56146 * libio/fmemopen.c (fmemopen): Optimize a bit.
56147
56148 2011-03-03 Andreas Schwab <schwab@redhat.com>
56149
56150 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56151
56152 2011-03-03 Roland McGrath <roland@redhat.com>
56153
56154 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56155
56156 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56157
56158 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56159 __bzero_ultra1 instead of __memset_ultra1.
56160
56161 2011-02-23 Andreas Schwab <schwab@redhat.com>
56162 Ulrich Drepper <drepper@gmail.com>
56163
56164 [BZ #12509]
56165 * include/link.h (struct link_map): Add l_orig_initfini.
56166 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56167 returning unsuccessfully.
56168 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56169 close of a file loaded at startup, restore the original l_initfini
56170 list.
56171 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56172 list, store the pointer.
56173 * elf/Makefile ($(objpfx)noload-mem): New rule.
56174 (noload-ENV): Define.
56175 (tests): Add $(objpfx)noload-mem.
56176 * elf/noload.c: Include <memcheck.h>.
56177 (main): Call mtrace. Close all opened handles.
56178
56179 2011-02-17 Andreas Schwab <schwab@redhat.com>
56180
56181 [BZ #12454]
56182 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56183 dependencies are missing.
56184
56185 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56186
56187 Fix __if_freereq crash: Unlike the generic version which uses free,
56188 Hurd needs munmap.
56189 * sysdeps/mach/hurd/ifreq.h: New file.
56190
56191 2011-01-27 Petr Baudis <pasky@suse.cz>
56192 Ulrich Drepper <drepper@gmail.com>
56193
56194 [BZ 12445]#
56195 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56196 to extend_alloca().
56197 * stdio-common/bug23.c: New file.
56198 * stdio-common/Makefile (tests): Add bug23.
56199
56200 2010-09-28 Andreas Schwab <schwab@redhat.com>
56201 Ulrich Drepper <drepper@gmail.com>
56202
56203 [BZ #12489]
56204 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56205 before performing relro protection. At old place add assertion
56206 to make sure nothing changed.
56207
56208 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56209 Glauber de Oliveira Costa <glommer@gmail.com>
56210
56211 * elf/elf.h: Add new ARM TLS relocs.
56212
56213 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56214
56215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56216 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56217 cast from r3.
56218 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56219 'tests' variable.
56220 * sysdeps/wordsize-64/tst-writev.c: New file.
56221
56222 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56223
56224 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56225 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56226 insns in _dl_start to prevent a TOC reference before relocs are
56227 resolved.
56228
56229 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56230
56231 [BZ #12469]
56232 * Makeconfig: Remove RANLIB definition.
56233 * Makerules: Don't use RANLIB.
56234 * aclocal.m4: Remove ranlib test.
56235 * configure.in: No need to check for ranlib.
56236 * elf/rtld-Rules: Don't use RANLIB.
56237
56238 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56239
56240 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56241 protection macro.
56242 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56243 inclusion protection macro.
56244
56245 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56246 SIGRTMIN and SIGRTMAX and print information in that case only when
56247 SIGRTMIN is defined.
56248
56249 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56250
56251 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56252 arginfo fn returning -1.
56253
56254 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56255 and thousands string is zero terminated.
56256
56257 2011-02-03 Andreas Schwab <schwab@redhat.com>
56258
56259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56260 sysdeps/unix/sysv/linux/bits/socket.h.
56261
56262 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56263
56264 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56265 (__CPU_COUNT): Remove old macros.
56266 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56267 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56268 (__CPU_ALLOC, __CPU_FREE): Add macros.
56269 (__sched_cpualloc, __sched_cpufree): Add declarations.
56270
56271 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56272
56273 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56274 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56275 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56276 (readdhstai): Return value of addhstaiX call.
56277 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56278 (addgrbyX): Return value returned by cache_addgr.
56279 (readdgrbyname): Return value returned by addgrbyX.
56280 (readdgrbygid): Likewise.
56281 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56282 (addpwbyX): Return value returned by cache_addpw.
56283 (readdpwbyname): Return value returned by addhstbyX.
56284 (readdpwbyuid): Likewise.
56285 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56286 (addservbyX): Return value returned by cache_addserv.
56287 (readdservbyname): Return value returned by addservbyX:
56288 (readdservbyport): Likewise.
56289 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56290 (addhstbyX): Return value returned by cache_addhst.
56291 (readdhstbyname): Return value returned by addhstbyX.
56292 (readdhstbyaddr): Likewise.
56293 (readdhstbynamev6): Likewise.
56294 (readdhstbyaddrv6): Likewise.
56295 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56296 (readdinitgroups): Return value returned by addinitgroupsX.
56297 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56298 (prune_cache): Keep track of timeout value of re-added entries.
56299 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56300 * nscd/nscd.h: Adjust prototypes of readd* functions.
56301
56302 2011-02-04 Roland McGrath <roland@redhat.com>
56303
56304 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56305 (nis_stats): Likewise.
56306 * nis/nis_modify.c (nis_modify): Likewise.
56307 * nis/nis_remove.c (nis_remove): Likewise.
56308 * nis/nis_add.c (nis_add): Likewise.
56309
56310 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56311
56312 * posix/fnmatch_loop.c: Add some consts.
56313
56314 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56315
56316 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56317
56318 [BZ #12460]
56319 * config.make.in (config-cflags-novzeroupper): Define.
56320 * configure.in: Substitute libc_cv_cc_novzeroupper.
56321 * elf/Makefile (AVX-CFLAGS): Define.
56322 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56323 (CFLAGS-tst-auditmod4a.c): Likewise.
56324 (CFLAGS-tst-auditmod4b.c): Likewise.
56325 (CFLAGS-tst-auditmod6b.c): Likewise.
56326 (CFLAGS-tst-auditmod6c.c): Likewise.
56327 (CFLAGS-tst-auditmod7b.c): Likewise.
56328 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56329
56330 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56331
56332 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56333 function to the callback.
56334 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56335
56336 2011-02-02 Andreas Schwab <schwab@redhat.com>
56337
56338 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56339 of errno.
56340
56341 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56342
56343 [BZ #11724]
56344 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56345 of constructors.
56346 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56347 of destructors.
56348 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56349
56350 [BZ #11724]
56351 * elf/Makefile: Add rules to build and run new test.
56352 * elf/tst-initorder.c: New file.
56353 * elf/tst-initorder.exp: New file.
56354 * elf/tst-initordera1.c: New file.
56355 * elf/tst-initordera2.c: New file.
56356 * elf/tst-initordera3.c: New file.
56357 * elf/tst-initordera4.c: New file.
56358 * elf/tst-initorderb1.c: New file.
56359 * elf/tst-initorderb2.c: New file.
56360 * elf/tst-order-a1.c: New file.
56361 * elf/tst-order-a2.c: New file.
56362 * elf/tst-order-a3.c: New file.
56363 * elf/tst-order-a4.c: New file.
56364 * elf/tst-order-b1.c: New file.
56365 * elf/tst-order-b2.c: New file.
56366 * elf/tst-order-main.c: New file.
56367 New test case by George Gensure <werkt0@gmail.com>.
56368
56369 2010-10-01 Andreas Schwab <schwab@redhat.com>
56370
56371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56372 decoding ACE if AI_CANONIDN.
56373
56374 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56375
56376 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56377
56378 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56379
56380 * version.h (RELEASE): Bump for 2.13 release.
56381 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56382
56383 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56384
56385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56386 MADV_NOHUGEPAGE.
56387 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56388 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56389 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56390 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56391 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56393
56394 * posix/getconf.c: Update copyright year.
56395 * catgets/gencat.c: Likewise.
56396 * csu/version.c: Likewise.
56397 * debug/catchsegv.sh: Likewise.
56398 * debug/xtrace.sh: Likewise.
56399 * elf/ldconfig.c: Likewise.
56400 * elf/ldd.bash.in: Likewise.
56401 * elf/sprof.c (print_version): Likewise.
56402 * iconv/iconv_prog.c: Likewise.
56403 * iconv/iconvconfig.c: Likewise.
56404 * locale/programs/locale.c: Likewise.
56405 * locale/programs/localedef.c: Likewise.
56406 * malloc/memusage.sh: Likewise.
56407 * malloc/mtrace.pl: Likewise.
56408 * nscd/nscd.c (print_version): Likewise.
56409 * nss/getent.c: Likewise.
56410
56411 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56412 PF_CAIF, and PF_ALG.
56413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56414
56415 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56416
56417 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56418 (modules-names): Use them.
56419 (ifunc-test-modules, ifunc-pie-tests): Define.
56420 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56421 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56422 (test-extras): Likewise.
56423 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56424 $(compile-command.c).
56425 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56426 (all-built-dso): Define.
56427 (check-textrel.out, check-execstack.out): Depend on it.
56428
56429 * configure.in: Don't override --enable-multi-arch.
56430
56431 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56432
56433 [BZ #6812]
56434 * nscd/hstcache.c (tryagain): Define.
56435 (cache_addhst): Return tryagain not notfound for temporary errors.
56436 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56437 failed.
56438
56439 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56440
56441 [BZ #10563]
56442 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56443 to make the syscall.
56444 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56445
56446 [BZ #12378]
56447 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56448 and fall back to matching as normal character if the string ends before
56449 the matching ']' is found. This is what POSIX requires.
56450 * posix/testfnm.c: Adjust test result.
56451 * posix/globtest.sh: Adjust test result. Add new test.
56452 * posix/tst-fnmatch.input: Likewise.
56453 * posix/tst-fnmatch2.c: Add new test.
56454
56455 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56456
56457 * elf/Makefile (check-execstack): Revert last change. Depend on
56458 check-execstack.h.
56459 (check-execstack.h): New target.
56460 (generated): Add check-execstack.h.
56461 * elf/check-execstack.c: Include "check-execstack.h".
56462 (main): Revert last change.
56463 (handle_file): Return zero if GNU_STACK is absent and
56464 DEFAULT_STACK_PERMS doesn't include PF_X.
56465
56466 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56467
56468 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56469 in child fails because the descriptor is already closed.
56470 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56471 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56472 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56473
56474 [BZ #12397]
56475 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56476 syscall.
56477
56478 [BZ #10484]
56479 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56480 temporary buffer used to handle multi lookups locally.
56481 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56482
56483 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56484
56485 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56486 loader is ld.so.
56487
56488 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56489
56490 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56491 alignment for SSE2.
56492
56493 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56494
56495 [BZ #12394]
56496 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56497 characters. When rounding increased number of integer digits recompute
56498 number of groups.
56499 * stdio-common/tst-grouping.c: New file.
56500 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56501
56502 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56503
56504 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56505 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56506
56507 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56508 void.
56509 * bits/select.h: Likewise.
56510
56511 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56512
56513 * po/ja.po: Update from translation team.
56514
56515 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56516
56517 [BZ #11155]
56518 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56519 implementation just like for lxstat, fxstatat, et al.
56520
56521 2010-12-27 Jim Meyering <meyering@redhat.com>
56522
56523 [BZ #12348]
56524 * posix/regexec.c (build_trtable): Return failure indication upon
56525 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56526
56527 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56528
56529 [BZ #12201]
56530 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56531 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56532 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56533 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56534
56535 [BZ #12207]
56536 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56537
56538 [BZ #12204]
56539 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56540 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56541
56542 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56543
56544 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56545 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56546 script has SORT_BY_INIT_PRIORITY.
56547 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56548 NO_CTORS_DTORS_SECTIONS is defined.
56549 * elf/soinit.c: Likewise.
56550 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56551 NO_CTORS_DTORS_SECTIONS is defined.
56552 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56553 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56554 * sysdeps/sh/init-first.c: Likewise.
56555 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56556
56557 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56558
56559 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56560 always use the slow path.
56561
56562 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56563
56564 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56565 similar rule which adds the sysdep directories to the header search in
56566 order to pick up the correct platform stackinfo.h.
56567 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56568 perform test if it is, otherwise return successfully without testing.
56569 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56570 DEFAULT_STACK_PERMS define in stackinfo.h.
56571 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56572 defined in stackinfo.h.
56573 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56574 DEFAULT_STACK_PERMS defined in stackinfo.h.
56575 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56576 * sysdeps/ia64/stackinfo.h: Likewise.
56577 * sysdeps/s390/stackinfo.h: Likewise.
56578 * sysdeps/sh/stackinfo.h: Likewise.
56579 * sysdeps/sparc/stackinfo.h: Likewise.
56580 * sysdeps/x86_64/stackinfo.h: Likewise.
56581 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56582 PF_X for powerpc64. Retain PF_X for powerpc32.
56583
56584 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56585
56586 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56587 accurately.
56588 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56589 GETDENTS_64BIT_ALIGNED.
56590
56591 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56592
56593 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56594
56595 2010-12-10 Andreas Schwab <schwab@redhat.com>
56596
56597 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56598 _GNU_SOURCE.
56599
56600 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56601 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56602 Remove __restrict.
56603 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56604 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56605
56606 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56607
56608 [BZ #11655]
56609 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56610 are initialized.
56611
56612 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56613
56614 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56615
56616 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56617
56618 * po/it.po: Update from translation team.
56619
56620 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56621
56622 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56623 unused codes.
56624
56625 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56626
56627 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56628
56629 2010-11-24 Andreas Schwab <schwab@redhat.com>
56630
56631 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56632 specially.
56633 (gaih_getanswer_slice): Likewise.
56634
56635 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56636
56637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56638
56639 2010-05-31 Petr Baudis <pasky@suse.cz>
56640
56641 [BZ #11149]
56642 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56643 silently even in the chroot mode.
56644
56645 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56646
56647 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56648 last patch a bit. Pretty printing
56649
56650 2010-05-31 Petr Baudis <pasky@suse.cz>
56651
56652 [BZ #10085]
56653 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56654 initialization of skip_initgroups_dyn.
56655
56656 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56657
56658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56659 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56660
56661 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56662
56663 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56664
56665 2010-11-11 Andreas Schwab <schwab@redhat.com>
56666
56667 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56668 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56669 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56670 ($(objpfx)tst-fnmatch-mem): New rule.
56671 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56672 * posix/tst-fnmatch.c (main): Call mtrace.
56673
56674 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56675
56676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56677 Support Intel processor model 6 and model 0x2c.
56678
56679 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56680
56681 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56682 signed comparison.
56683
56684 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56685
56686 [BZ #12205]
56687 * string/test-strncasecmp.c (check_result): New function.
56688 (do_one_test): Use it.
56689 (check1): New function.
56690 (test_main): Use it.
56691 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56692 Support strcasecmp and strncasecmp.
56693
56694 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56695
56696 [BZ #12194]
56697 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56698 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56699
56700 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56701
56702 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56703 IFUNC support.
56704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56705 memset-x86-64.
56706 * sysdeps/x86_64/multiarch/bzero.S: New file.
56707 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56708 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56709 * sysdeps/x86_64/multiarch/memset.S: New file.
56710 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56712 Set bit_Prefer_SSE_for_memop for Intel processors.
56713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56714 Define.
56715 (index_Prefer_SSE_for_memop): Define.
56716 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56717
56718 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56719
56720 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56721 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56722
56723 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56724
56725 [BZ #12191]
56726 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56727 (__x86_64_raw_data_cache_size_half): Likewise.
56728 (__x86_64_raw_shared_cache_size): Likewise.
56729 (__x86_64_raw_shared_cache_size_half): Likewise.
56730
56731 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56732 (__x86_64_raw_data_cache_size_half): Likewise.
56733 (__x86_64_raw_shared_cache_size): Likewise.
56734 (__x86_64_raw_shared_cache_size_half): Likewise.
56735 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56736 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56737 and __x86_64_raw_shared_cache_size_half. Round
56738 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56739 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56740 to multiple of 256 bytes.
56741
56742 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56743
56744 [BZ #12167]
56745 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56746 of inacessible symlinks. Verify result of symlink before returning it.
56747 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56748 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56749
56750 2010-10-28 Erich Ritz <erichritz@gmail.com>
56751
56752 * math/math.h (isinf): Fix typo in comment.
56753
56754 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56755
56756 * po/da.po: Update from translation team.
56757
56758 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56759
56760 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56761 is added to the list.
56762
56763 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56764 Ulrich Drepper <drepper@gmail.com>
56765
56766 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56767 the global list here. Move code to...
56768 (_dl_add_to_namespace_list): ...here. New function.
56769 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56770 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56771 * elf/dl-load.c (lose): Don't remove the element from the list.
56772 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56773 (_dl_map_object): Likewise.
56774
56775 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56776
56777 [BZ #12159]
56778 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56779 into all bytes of SSE register.
56780 Patch by Richard Li <richardpku@gmail.com>.
56781
56782 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56783
56784 [BZ #12140]
56785 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56786 perturbing.
56787
56788 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56789
56790 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56791 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56795 submachine.
56796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56797
56798 2010-10-22 Andreas Schwab <schwab@redhat.com>
56799
56800 * include/dlfcn.h (__RTLD_SECURE): Define.
56801 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56802 mode & __RTLD_SECURE instead.
56803 (open_path): Rename preloaded parameter to secure.
56804 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56805 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56806 * elf/dl-deps.c (openaux): Likewise.
56807 * elf/rtld.c (struct map_args): Remove is_preloaded.
56808 (map_doit): Don't use it.
56809 (dl_main): Likewise.
56810 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56811 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56812
56813 2010-09-09 Andreas Schwab <schwab@redhat.com>
56814
56815 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56816 (sysd-rules-targets): Remove duplicates.
56817 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56818 rtld-%.$o dependency.
56819
56820 2010-10-18 Andreas Schwab <schwab@redhat.com>
56821
56822 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56823 _dl_map_object do it.
56824
56825 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56826
56827 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56828 fast fma builtins, define the macros in the C99 standard.
56829 (FP_FAST_FMAF): Likewise.
56830 (FP_FAST_FMAL): Likewise.
56831 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56832
56833 * bits/mathdef.h: Update copyright year.
56834 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56835
56836 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56837
56838 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56839 builtins, define the macros in the C99 standard.
56840 (FP_FAST_FMAF): Likewise.
56841 (FP_FAST_FMAL): Likewise.
56842 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56843 multiply/add.
56844 (FP_FAST_FMAF): Likewise.
56845
56846 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56847
56848 [BZ #3268]
56849 * math/libm-test.inc (fma_test): Some new testcases.
56850 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56851 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56852 y and infinite z. Do multiplication by C already in long double.
56853 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56855 y and infinite z. Do bitwise or of inexact bit into u.d.
56856 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56857 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56858 * sysdeps/i386/fpu/s_fma.S: Removed.
56859 * sysdeps/i386/fpu/s_fmal.S: Removed.
56860
56861 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56862
56863 [BZ #3268]
56864 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56866 computation is not scheduled after fetestexcept. Fix value
56867 of minimum denormal long double.
56868
56869 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56870
56871 [BZ #3268]
56872 * math/libm-test.inc (fma_test): Add some more tests.
56873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56874 correctly.
56875
56876 2010-10-15 Andreas Schwab <schwab@redhat.com>
56877
56878 * scripts/data/localplt-s390-linux-gnu.data: New file.
56879 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56880
56881 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56882
56883 [BZ #3268]
56884 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56885 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56886 instead of dbl-64.
56887 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56888 inlines.
56889 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56891 if one of x and y is very large and the other is subnormal.
56892 * sysdeps/s390/fpu/s_fmaf.c: New file.
56893 * sysdeps/s390/fpu/s_fma.c: New file.
56894 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56895 * sysdeps/powerpc/fpu/s_fma.S: New file.
56896 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56897 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56898 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56899
56900 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56901
56902 [BZ #3268]
56903 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56904 fma tests.
56905 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56906 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56907 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56908 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56909 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56910 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56911 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56912
56913 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56914
56915 [BZ #12078]
56916 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56917 * posix/bug-regex31.input: Add test case.
56918
56919 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56920
56921 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56922 * posix/bug-regex31.input: New file.
56923
56924 [BZ #12078]
56925 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56926 (parse_sub_exp): Fix last change, use postorder.
56927
56928 * posix/bug-regex31.c: New file.
56929 * posix/Makefile: Add rules to build and run bug-regex31.
56930
56931 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56932
56933 [BZ #12078]
56934 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56935
56936 [BZ #12108]
56937 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56938 to have entries in sys_siglist.
56939
56940 [BZ #12093]
56941 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56942 be NULL.
56943
56944 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56945
56946 [BZ #3268]
56947 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56948 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56949 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56950 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56951 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56952 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56953 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56954 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56955 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56956 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56957 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56958 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56959 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56960 * math/ftestexcept.c (fetestexcept): Likewise.
56961 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56962 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56963 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56964 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56965 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56966 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56967 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56968
56969 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56970
56971 [BZ #12107]
56972 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56973 newline.
56974
56975 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56976
56977 * string/bug-strstr1.c: New file.
56978 * string/Makefile: Add rules to build and run bug-strstr1.
56979
56980 2010-10-05 Eric Blake <eblake@redhat.com>
56981
56982 [BZ #12092]
56983 * string/str-two-way.h (two_way_long_needle): Always clear memory
56984 when skipping input due to the shift table.
56985
56986 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56987
56988 [BZ #12005]
56989 * malloc/mcheck.c: Handle large requests.
56990
56991 [BZ #12077]
56992 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56993 for strncmp and strncasecmp.
56994 * string/stratcliff.c: Add tests for strcmp and strncmp.
56995 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56996
56997 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56998
56999 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57000 __set_fpscr.
57001
57002 2010-09-30 Andreas Jaeger <aj@suse.de>
57003
57004 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57005 (CGROUP_SUPER_MAGIC): Define.
57006 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57007 Handle btrfs and cgroup file systems.
57008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57009 Likewise.
57010
57011 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57012
57013 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57014 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57015
57016 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57017
57018 [BZ #12067]
57019 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57020 trying to locate the ELF header.
57021
57022 2010-09-27 Andreas Schwab <schwab@redhat.com>
57023
57024 [BZ #11611]
57025 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57026 Mask out sign-bit copies when constructing f_fsid.
57027
57028 2010-09-24 Petr Baudis <pasky@suse.cz>
57029
57030 * debug/stack_chk_fail_local.c: Add missing licence exception.
57031 * debug/warning-nop.c: Likewise.
57032
57033 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57034
57035 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57036 implementing getdents64 using getdents syscall, set d_type if
57037 __ASSUME_GETDENTS32_D_TYPE.
57038
57039 2010-09-16 Andreas Schwab <schwab@redhat.com>
57040
57041 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57042 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57043
57044 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57045
57046 [BZ #12037]
57047 * posix/unistd.h: Undo change of feature selection for ftruncate from
57048 2010-01-11.
57049
57050 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57051
57052 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57053 detection.
57054
57055 2010-09-20 Andreas Schwab <schwab@redhat.com>
57056
57057 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57058 fanotify_mark.
57059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57060
57061 2010-09-14 Andreas Schwab <schwab@redhat.com>
57062
57063 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57064 variables after CHECK_SP call.
57065 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57066
57067 2010-09-13 Andreas Schwab <schwab@redhat.com>
57068 Ulrich Drepper <drepper@redhat.com>
57069
57070 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57071 re-relocationg ld.so.
57072 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57073 _dl_init_paths call.
57074 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57075 here anymore.
57076
57077 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57078
57079 * resolv/res_init.c (__res_vinit): Count the default server we added.
57080
57081 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57082 Ulrich Drepper <drepper@redhat.com>
57083
57084 [BZ #11968]
57085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57086 (____longjmp_chk): Use %ebx for saving value across system call.
57087 Add unwind info.
57088
57089 2010-09-06 Andreas Schwab <schwab@redhat.com>
57090
57091 * manual/Makefile: Don't mix pattern rules with normal rules.
57092
57093 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57094
57095 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57096 operation.
57097 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57098 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57099 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57100 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57102 Likewise.
57103
57104 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57105
57106 [BZ #11979]
57107 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57108 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57109
57110 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57111
57112 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57113 * sysdeps/x86_64/addmul_1.S: Likewise.
57114 * sysdeps/x86_64/lshift.S: Likewise.
57115 * sysdeps/x86_64/mul_1.S: Likewise.
57116 * sysdeps/x86_64/rshift.S: Likewise.
57117 * sysdeps/x86_64/sub_n.S: Likewise.
57118 * sysdeps/x86_64/submul_1.S: Likewise.
57119
57120 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57121
57122 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57123 Define __sched_param instead of SCHED_* and sched_param when
57124 <bits/sched.h> is included with __need_schedparam defined.
57125 * bits/sched.h [__need_schedparam]
57126 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57127 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57128 (__defined_schedparam): Define to 1.
57129 (__sched_param): New structure, identical to sched_param.
57130 (__need_schedparam): Undefine.
57131
57132 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57133
57134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57135 (epoll_create1): Declare.
57136
57137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57138
57139 2010-08-31 Andreas Schwab <schwab@redhat.com>
57140
57141 [BZ #7066]
57142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57143 shifting retval into place.
57144
57145 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57146
57147 * nis/rpcsvc/nis.h: Update copyright notice.
57148 * nis/rpcsvc/nis.x: Likewise.
57149 * nis/rpcsvc/nis_callback.h: Likewise.
57150 * nis/rpcsvc/nis_callback.x: Likewise.
57151 * nis/rpcsvc/nis_object.x: Likewise.
57152 * nis/rpcsvc/nis_tags.h: Likewise.
57153 * nis/rpcsvc/yp.h: Likewise.
57154 * nis/rpcsvc/yp.x: Likewise.
57155 * nis/rpcsvc/ypupd.h: Likewise.
57156 * nis/yp_xdr.c: Likewise.
57157 * nis/ypupdate_xdr.c: Likewise.
57158
57159 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57160 mainly the body of pmap_getport. Add parameters to specify timeouts.
57161 (pmap_getport): Use __libc_rpc_getport.
57162 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57163 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57164 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57165
57166 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57167
57168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57169 fanotify_mark.
57170
57171 2010-08-27 Roland McGrath <roland@redhat.com>
57172
57173 * sysdeps/i386/i686/multiarch/Makefile
57174 (CFLAGS-varshift.c): New variable.
57175
57176 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57177
57178 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57179 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57180
57181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57182
57183 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57184
57185 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57186
57187 * sysdeps/x86_64/strlen.S: Unroll the loop.
57188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57189 strlen-sse2 strlen-sse2-bsf.
57190 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57191 __strlen_no_bsf if bit_Slow_BSF is set.
57192 (__strlen_sse42): Removed.
57193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57194 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57195
57196 2010-08-25 Roland McGrath <roland@redhat.com>
57197
57198 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57199 * sysdeps/x86_64/multiarch/varshift.c: New file.
57200 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57201 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57202 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57203 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57204
57205 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57206
57207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57208 strlen-sse2 strlen-sse2-bsf.
57209 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57210 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57211 (__strlen_sse2): Removed.
57212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57215 bit_Slow_BSF for Atom.
57216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57217 (index_Slow_BSF): Define.
57218 (HAS_SLOW_BSF): Define.
57219
57220 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57221
57222 [BZ #10851]
57223 * resolv/res_init.c (__res_vinit): When no server address at all
57224 is given default to loopback.
57225
57226 2010-08-24 Roland McGrath <roland@redhat.com>
57227
57228 * configure.in: Remove config-name.h generation.
57229 * configure: Regenerated.
57230 * config-name.in: File removed.
57231 * scripts/config-uname.sh: New file.
57232 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57233 ($(objdir)config-name.h): New target.
57234
57235 * sunrpc/rpc_parse.h: Avoid nested comment.
57236
57237 2010-08-24 Richard Henderson <rth@redhat.com>
57238 Ulrich Drepper <drepper@redhat.com>
57239 H.J. Lu <hongjiu.lu@intel.com>
57240
57241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57243 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57244 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57245 _mm_alignr_epi8 with _mm_loadu_si128.
57246 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57247 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57248 (__m128i_shift_right): Removed.
57249 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57250 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57251 * sysdeps/x86_64/multiarch/varshift.h: New file.
57252 * sysdeps/x86_64/multiarch/varshift.S: New file.
57253
57254 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57255
57256 * configure.in: Move assembler checks to before sysdep dir checking.
57257
57258 2010-08-20 Petr Baudis <pasky@suse.cz>
57259
57260 * LICENSES: Sync the sunrpc license.
57261
57262 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57263
57264 * sunrpc/auth_des.c: Update copyright notice once again.
57265 * sunrpc/auth_none.c: Likewise.
57266 * sunrpc/auth_unix.c: Likewise.
57267 * sunrpc/authdes_prot.c: Likewise.
57268 * sunrpc/authuxprot.c: Likewise.
57269 * sunrpc/bindrsvprt.c: Likewise.
57270 * sunrpc/clnt_gen.c: Likewise.
57271 * sunrpc/clnt_perr.c: Likewise.
57272 * sunrpc/clnt_raw.c: Likewise.
57273 * sunrpc/clnt_simp.c: Likewise.
57274 * sunrpc/clnt_tcp.c: Likewise.
57275 * sunrpc/clnt_udp.c: Likewise.
57276 * sunrpc/clnt_unix.c: Likewise.
57277 * sunrpc/des_crypt.c: Likewise.
57278 * sunrpc/des_soft.c: Likewise.
57279 * sunrpc/get_myaddr.c: Likewise.
57280 * sunrpc/getrpcport.c: Likewise.
57281 * sunrpc/key_call.c: Likewise.
57282 * sunrpc/key_prot.c: Likewise.
57283 * sunrpc/openchild.c: Likewise.
57284 * sunrpc/pm_getmaps.c: Likewise.
57285 * sunrpc/pm_getport.c: Likewise.
57286 * sunrpc/pmap_clnt.c: Likewise.
57287 * sunrpc/pmap_prot.c: Likewise.
57288 * sunrpc/pmap_prot2.c: Likewise.
57289 * sunrpc/pmap_rmt.c: Likewise.
57290 * sunrpc/rpc/auth.h: Likewise.
57291 * sunrpc/rpc/auth_unix.h: Likewise.
57292 * sunrpc/rpc/clnt.h: Likewise.
57293 * sunrpc/rpc/des_crypt.h: Likewise.
57294 * sunrpc/rpc/key_prot.h: Likewise.
57295 * sunrpc/rpc/netdb.h: Likewise.
57296 * sunrpc/rpc/pmap_clnt.h: Likewise.
57297 * sunrpc/rpc/pmap_prot.h: Likewise.
57298 * sunrpc/rpc/pmap_rmt.h: Likewise.
57299 * sunrpc/rpc/rpc.h: Likewise.
57300 * sunrpc/rpc/rpc_des.h: Likewise.
57301 * sunrpc/rpc/rpc_msg.h: Likewise.
57302 * sunrpc/rpc/svc.h: Likewise.
57303 * sunrpc/rpc/svc_auth.h: Likewise.
57304 * sunrpc/rpc/types.h: Likewise.
57305 * sunrpc/rpc/xdr.h: Likewise.
57306 * sunrpc/rpc_clntout.c: Likewise.
57307 * sunrpc/rpc_cmsg.c: Likewise.
57308 * sunrpc/rpc_common.c: Likewise.
57309 * sunrpc/rpc_cout.c: Likewise.
57310 * sunrpc/rpc_dtable.c: Likewise.
57311 * sunrpc/rpc_hout.c: Likewise.
57312 * sunrpc/rpc_main.c: Likewise.
57313 * sunrpc/rpc_parse.c: Likewise.
57314 * sunrpc/rpc_parse.h: Likewise.
57315 * sunrpc/rpc_prot.c: Likewise.
57316 * sunrpc/rpc_sample.c: Likewise.
57317 * sunrpc/rpc_scan.c: Likewise.
57318 * sunrpc/rpc_scan.h: Likewise.
57319 * sunrpc/rpc_svcout.c: Likewise.
57320 * sunrpc/rpc_tblout.c: Likewise.
57321 * sunrpc/rpc_util.c: Likewise.
57322 * sunrpc/rpc_util.h: Likewise.
57323 * sunrpc/rpcinfo.c: Likewise.
57324 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57325 * sunrpc/rpcsvc/key_prot.x: Likewise.
57326 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57327 * sunrpc/rpcsvc/mount.x: Likewise.
57328 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57329 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57330 * sunrpc/rpcsvc/rex.x: Likewise.
57331 * sunrpc/rpcsvc/rstat.x: Likewise.
57332 * sunrpc/rpcsvc/rusers.x: Likewise.
57333 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57334 * sunrpc/rpcsvc/spray.x: Likewise.
57335 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57336 * sunrpc/rtime.c: Likewise.
57337 * sunrpc/svc.c: Likewise.
57338 * sunrpc/svc_auth.c: Likewise.
57339 * sunrpc/svc_authux.c: Likewise.
57340 * sunrpc/svc_raw.c: Likewise.
57341 * sunrpc/svc_run.c: Likewise.
57342 * sunrpc/svc_simple.c: Likewise.
57343 * sunrpc/svc_tcp.c: Likewise.
57344 * sunrpc/svc_udp.c: Likewise.
57345 * sunrpc/svc_unix.c: Likewise.
57346 * sunrpc/svcauth_des.c: Likewise.
57347 * sunrpc/xcrypt.c: Likewise.
57348 * sunrpc/xdr.c: Likewise.
57349 * sunrpc/xdr_array.c: Likewise.
57350 * sunrpc/xdr_float.c: Likewise.
57351 * sunrpc/xdr_mem.c: Likewise.
57352 * sunrpc/xdr_rec.c: Likewise.
57353 * sunrpc/xdr_ref.c: Likewise.
57354 * sunrpc/xdr_sizeof.c: Likewise.
57355 * sunrpc/xdr_stdio.c: Likewise.
57356
57357 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57358 handling.
57359
57360 2010-08-19 Andreas Schwab <schwab@redhat.com>
57361
57362 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57363
57364 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57365
57366 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57367 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57368 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57369 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57370 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57371 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57372 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57373 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57374 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57375 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57376 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57377 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57378 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57379 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57380
57381 2010-07-26 Anton Blanchard <anton@samba.org>
57382
57383 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57384 * malloc/arena.c (heap_trim): Likewise.
57385
57386 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57387
57388 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57389 here. Not...
57390 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57391 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57392
57393 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57394
57395 * sysdeps/i386/elf/Makefile: New file.
57396
57397 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57398
57399 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57400 from fanotify_init.
57401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57402 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57403
57404 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57405
57406 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57407 of strncasecmp_l.
57408 * sysdeps/multiarch/strcmp.S: Likewise.
57409
57410 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57411
57412 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57413 strncase_l-nonascii.
57414 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57415 Add strncase_l-ssse3.
57416 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57417 * sysdeps/x86_64/strcmp.S: Likewise.
57418 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57419 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57420 * sysdeps/x86_64/strncase.S: New file.
57421 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57422 * sysdeps/x86_64/strncase_l.S: New file.
57423 * string/Makefile (strop-tests): Add strncasecmp.
57424 * string/test-strncasecmp.c: New file.
57425
57426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57427 warning.
57428
57429 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57430 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57431
57432 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57433
57434 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57435
57436 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57437
57438 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57439 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57440 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57441
57442 2010-05-01 Alan Modra <amodra@gmail.com>
57443
57444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57445 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57446 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57447 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57448 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57449 tidying. Don't tail-call __sigjmp_save for static lib.
57450 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57451 save location.
57452 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57453 (CALL_MCOUNT): Add eh info, and nop after bl.
57454 (TAIL_CALL_SYSCALL_ERROR): New macro.
57455 (PSEUDO_RET): Use it.
57456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57457 Correct save location of integer regs and cr.
57458 (_dl_profile_resolve): Correct cr save location. Delete nops
57459 after bl when SHARED. Reduce cfi size a little by better
57460 placement of cfi directives.
57461 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57462 make a stack frame. Instead use parm save area as a temp.
57463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57464 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57466 Don't make a stack frame for parent, use parm save area.
57467 Increase child stack frame to 112 bytes. Don't save unused reg,
57468 and adjust reg usage. Set up cfi on error recovery and
57469 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57471 (__makecontext): Add dummy nop after jump to exit.
57472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57473 Use correct parm save area and cr save, reduce stack frame.
57474 Correct cfi for possible PSEUDO_RET frame setup.
57475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57476 Branch to local label emitted by PSEUDO_RET rather than
57477 __syscall_error.
57478
57479 2010-08-12 Andreas Schwab <schwab@redhat.com>
57480
57481 [BZ #11904]
57482 * locale/programs/locale.c (print_assignment): New function.
57483 (show_locale_vars): Use it.
57484
57485 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57486
57487 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57488 field.
57489 (struct statfs64): Likewise.
57490 (_STATFS_F_FLAGS): Define.
57491 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57492 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57493 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57494 (ST_VALID): Define locally.
57495 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57496 __statvfs_getflags, use the provided value.
57497 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57498 __ASSUME_STATFS_F_FLAGS.
57499
57500 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57501
57502 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57503 Add sys/fanotify.h.
57504 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57505 fanotify_mask for GLIBC_2.13.
57506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57507 fanotify_init and fanotify_mark.
57508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57509 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57510
57511 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57512 Add prlimit.
57513 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57514 prlimit64 for GLIBC_2.13.
57515 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57516 prlimit64.
57517 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57518 syscall.
57519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57520 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57521 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57522 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57523 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57524 add prlimit alias.
57525 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57526
57527 [BZ #11903]
57528 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57529 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57530
57531 * nss/Makefile: Add rules to build and run tst-nss-test1.
57532 * shlib-versions: Add entry for libnss_test1.
57533 * nss/nss_test1.c: New file.
57534 * nss/tst-nss-test1.c: New file.
57535
57536 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57537 (__nss_configure_lookup): Set appropriate entry in
57538 __nss_configure_lookup to true.
57539 * nss/nsswitch.h: Define enum with indeces of databases in
57540 databases and __nss_database_custom arrays. Declare
57541 __nss_database_custom.
57542 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57543 to avoid using nscd when custom rules are installed.
57544 * nss/getXXbyYY_r.c: Likewise.
57545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57546
57547 * nss/nss_files/files-parse.c: Whitespace fixes.
57548
57549 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57550
57551 [BZ #11883]
57552 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57553 * posix/fnmatch_loop.c: Likewise.
57554
57555 2010-07-17 Andi Kleen <ak@linux.intel.com>
57556
57557 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57558 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57559 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57560 * Versions.def [GLIBC_2.13]: Add.
57561
57562 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57563
57564 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57565 Also fail if tpwd after pwuid call is NULL.
57566
57567 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57568
57569 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57570 when converting to ms.
57571
57572 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57573
57574 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57575 EOPNOTSUPP errors with ENOTTY.
57576 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57577 EOPNOTSUPP errors with ENOTTY.
57578
57579 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57580
57581 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57582 Add strcasecmp_l-ssse3.
57583 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57584 strcasecmp.
57585 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57586 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57587 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57588
57589 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57590
57591 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57592
57593 * string/Makefile (strop-tests): Add strcasecmp.
57594 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57595 strcasecmp_l-nonascii.
57596 (gen-as-const-headers): Add locale-defines.sym.
57597 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57598 * sysdeps/x86_64/strcasecmp.S: New file.
57599 * sysdeps/x86_64/strcasecmp_l.S: New file.
57600 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57601 * sysdeps/x86_64/locale-defines.sym: New file.
57602 * string/test-strcasecmp.c: New file.
57603
57604 * string/test-strcasestr.c: Test both ends of the range of characters.
57605 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57606
57607 2010-07-29 Roland McGrath <roland@redhat.com>
57608
57609 [BZ #11856]
57610 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57611
57612 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57613
57614 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57615 for ld.so.
57616
57617 2010-07-27 Andreas Schwab <schwab@redhat.com>
57618
57619 * manual/memory.texi (Malloc Tunable Parameters): Document
57620 M_PERTURB.
57621
57622 2010-07-26 Roland McGrath <roland@redhat.com>
57623
57624 [BZ #11840]
57625 * configure.in (-fgnu89-inline check): Set and substitute
57626 gnu89_inline, not libc_cv_gnu89_inline.
57627 * configure: Regenerated.
57628 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57629
57630 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57631
57632 * string/test-strnlen.c: New file.
57633 * string/Makefile (strop-tests): Add strnlen.
57634 * string/tester.c (test_strnlen): Add a few more test cases.
57635 * string/tst-strlen.c: Better error reporting.
57636
57637 * sysdeps/x86_64/strnlen.S: New file.
57638
57639 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57640
57641 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57642 lower-latency instructions.
57643
57644 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57645
57646 * string/test-strcasestr.c: New file.
57647 * string/test-strstr.c: New file.
57648 * string/Makefile (strop-tests): Add strstr and strcasestr.
57649 * string/str-two-way.h: Don't undefine MAX.
57650 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57651
57652 2010-07-21 Andreas Schwab <schwab@redhat.com>
57653
57654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57655 strcasestr-nonascii.
57656 (CFLAGS-strcasestr-nonascii.c): Define.
57657 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57658 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57659 Remove unused attribute.
57660
57661 2010-07-20 Roland McGrath <roland@redhat.com>
57662
57663 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57664 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57665 ld.so.cache was broken. With it, there is no way to disable dsocaps
57666 like LD_HWCAP_MASK can disable hwcaps.
57667
57668 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57669
57670 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57671
57672 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57673
57674 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57675 call in strcasestr.
57676 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57677 __strcasestr_sse42_nonascii.
57678 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57679 strcasestr-nonascii.c.
57680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57681
57682 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57683
57684 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57685 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57686 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57687 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57688
57689 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57690
57691 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57692 fcntl.
57693
57694 2010-07-06 Andreas Schwab <schwab@redhat.com>
57695
57696 [BZ #11577]
57697 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57698 dl_signal_cerror.
57699
57700 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57701
57702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57703 _PC_PIPE_BUF using F_GETPIPE_SZ.
57704
57705 2010-07-05 Roland McGrath <roland@redhat.com>
57706
57707 * manual/arith.texi (Rounding Functions): Fix rint description
57708 implicit in round description.
57709
57710 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57711
57712 * elf/Makefile: Fix linking for a few tests to make recent linker
57713 happy.
57714
57715 2010-06-30 Andreas Schwab <schwab@redhat.com>
57716
57717 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57718 $(common-objpfx)libc_nonshared.a.
57719
57720 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57721
57722 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57723 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57724 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57726 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57727 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57729 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57744 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57745 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57746 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57747 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57748 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57749 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57750 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57751 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57752 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57753 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57754 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57755 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57770
57771 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57772
57773 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57774 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57775 * string/memmove.c (memmove): Renamed to ...
57776 (MEMMOVE): ...this. Default to memmove.
57777 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57778 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57779 (END_CHK): Define.
57780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57781 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57782 mempcpy-ssse3-back memmove-ssse3-back.
57783 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57785 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57786 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57787 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57788 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57789 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57790 * sysdeps/x86_64/multiarch/memmove.c: New file.
57791 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57792 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57793 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57794 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57795 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57797 Define.
57798 (index_Fast_Copy_Backward): Define.
57799 (HAS_ARCH_FEATURE): Define.
57800 (HAS_FAST_REP_STRING): Define.
57801 (HAS_FAST_COPY_BACKWARD): Define.
57802
57803 2010-06-21 Andreas Schwab <schwab@redhat.com>
57804
57805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57806 Restore proper fallback handling.
57807
57808 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57809
57810 [BZ #11701]
57811 * posix/group_member.c (__group_member): Correct checking loop.
57812
57813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57814 OOM in getpwuid_r correctly. Return error number when the caller
57815 should return, otherwise -1.
57816 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57817 call returning > 0 value.
57818 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57819
57820 2010-06-07 Andreas Schwab <schwab@redhat.com>
57821
57822 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57823 libc_nonshared.a from targets in modules-names.
57824
57825 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57826
57827 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57828 requires it.
57829
57830 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57831
57832 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57833 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57834 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57835 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57836
57837 2010-06-02 Andreas Schwab <schwab@redhat.com>
57838
57839 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57840
57841 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57842
57843 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57844 and F_GETPIPE_SZ.
57845 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57849 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57850 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57851
57852 2010-06-14 Roland McGrath <roland@redhat.com>
57853
57854 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57855
57856 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57857
57858 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57859 __REDIRECT followed by __THROW.
57860 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57861 * posix/getopt.h (getopt): Likewise.
57862
57863 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57864
57865 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57866 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57867 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57868 in AT_FLAGS.
57869 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57870 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57871
57872 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57873
57874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57875
57876 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57877
57878 [BZ #11640]
57879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57880 Properly check family and model.
57881
57882 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57883
57884 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57885
57886 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57887
57888 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57889
57890 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57891
57892 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57893 symbol reference.
57894
57895 2010-05-19 Andreas Schwab <schwab@redhat.com>
57896
57897 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57898 symbol reference.
57899
57900 2010-05-21 Andreas Schwab <schwab@redhat.com>
57901
57902 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57903 and internal_recvmmsg.
57904 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57905 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57906 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57907 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57908
57909 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57910 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57911 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57912
57913 2010-05-20 Andreas Schwab <schwab@redhat.com>
57914
57915 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57916
57917 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57918
57919 POWER7 optimizations.
57920 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57921 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57922
57923 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57924
57925 * version.h: Update for 2.13 development version.
57926
57927 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57928
57929 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57930 exceptions. Return 0.
57931
57932 2010-05-07 Roland McGrath <roland@redhat.com>
57933
57934 * elf/ldconfig.c (main): Add a const.
57935
57936 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57937
57938 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57939 (args_options): Add no-idn option.
57940 (ahosts_keys_int): Add idn_flags to ai_flags.
57941 (parse_option): Handle 'i' option to clear idn_flags.
57942
57943 * malloc/malloc.c (_int_free): Possible race in the most recently
57944 added check. Only act on the data if no current modification
57945 happened.
57946
57947 See ChangeLog.17 for earlier changes.